Skip to content

Commit f292115

Browse files
authored
Merge pull request #19 from lacymorrow/LAC-912/upstream-sync-2026-05-11
chore: upstream sync 2026-05-11
2 parents c311498 + 55f9ce5 commit f292115

3,466 files changed

Lines changed: 734888 additions & 150250 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.local.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(go install:*)",
5+
"Bash(lash:*)",
6+
"Read(//Users/lacy/.nvm/versions/node/v22.18.0/lib/node_modules/lash-cli/**)",
7+
"Bash(npm run build:*)",
8+
"Bash(npm run:*)",
9+
"Bash(find:*)",
10+
"Bash(bun run:*)",
11+
"Bash(./dist/lash-darwin-arm64:*)",
12+
"Bash(./packages/opencode/dist/lash-darwin-arm64 --version)",
13+
"Bash(git add:*)",
14+
"Bash(git commit:*)",
15+
"Bash(git push:*)",
16+
"Read(//Users/lacy/go/bin/**)",
17+
"Bash(/Users/lacy/go/bin/lash:*)",
18+
"Bash(npm uninstall:*)",
19+
"Bash(echo $PATH)",
20+
"Bash(export:*)",
21+
"Bash(brew install:*)",
22+
"Bash(brew list:*)",
23+
"Bash(brew info:*)",
24+
"Bash(git -C /Users/lacy/repo/lash status)"
25+
],
26+
"deny": [],
27+
"ask": []
28+
}
29+
}

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# web + desktop packages
22
packages/app/ @adamdotdevin
33
packages/tauri/ @adamdotdevin
4+
packages/desktop/src-tauri/ @brendonovich
45
packages/desktop/ @adamdotdevin

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Bug report
22
description: Report an issue that should be fixed
3-
labels: ["bug"]
43
body:
54
- type: textarea
65
id: description

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
blank_issues_enabled: true
1+
blank_issues_enabled: false
22
contact_links:
33
- name: 💬 Discord Community
44
url: https://discord.gg/opencode

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: 🚀 Feature Request
22
description: Suggest an idea, feature, or enhancement
3-
labels: [discussion]
43
title: "[FEATURE]:"
54

65
body:

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Question
22
description: Ask a question
3-
labels: ["question"]
43
body:
54
- type: textarea
65
id: question

.github/TEAM_MEMBERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ nexxeln
1313
R44VC0RP
1414
rekram1-node
1515
RhysSullivan
16+
simonklee
1617
thdxr
18+
vimtor
Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,58 @@
11
name: "Setup Bun"
22
description: "Setup Bun with caching and install dependencies"
3+
inputs:
4+
install-flags:
5+
description: "Additional flags to pass to 'bun install'"
6+
required: false
7+
default: ""
38
runs:
49
using: "composite"
510
steps:
11+
- name: Get baseline download URL
12+
id: bun-url
13+
shell: bash
14+
run: |
15+
if [ "$RUNNER_ARCH" = "X64" ]; then
16+
V=$(node -p "require('./package.json').packageManager.split('@')[1]")
17+
case "$RUNNER_OS" in
18+
macOS) OS=darwin ;;
19+
Linux) OS=linux ;;
20+
Windows) OS=windows ;;
21+
esac
22+
echo "url=https://github.com/oven-sh/bun/releases/download/bun-v${V}/bun-${OS}-x64-baseline.zip" >> "$GITHUB_OUTPUT"
23+
fi
24+
625
- name: Setup Bun
726
uses: oven-sh/setup-bun@v2
827
with:
9-
bun-version-file: package.json
28+
bun-version-file: ${{ !steps.bun-url.outputs.url && 'package.json' || '' }}
29+
bun-download-url: ${{ steps.bun-url.outputs.url }}
30+
31+
- name: Get cache directory
32+
id: cache
33+
shell: bash
34+
run: echo "dir=$(bun pm cache)" >> "$GITHUB_OUTPUT"
1035

11-
- name: Cache ~/.bun
12-
id: cache-bun
36+
- name: Cache Bun dependencies
1337
uses: actions/cache@v4
1438
with:
15-
path: ~/.bun
16-
key: ${{ runner.os }}-bun-${{ hashFiles('package.json') }}-${{ hashFiles('bun.lockb', 'bun.lock') }}
39+
path: ${{ steps.cache.outputs.dir }}
40+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
1741
restore-keys: |
18-
${{ runner.os }}-bun-${{ hashFiles('package.json') }}-
42+
${{ runner.os }}-bun-
43+
44+
- name: Install setuptools for distutils compatibility
45+
run: python3 -m pip install setuptools || pip install setuptools || true
46+
shell: bash
1947

2048
- name: Install dependencies
21-
run: bun install
49+
run: |
50+
# Workaround for patched peer variants
51+
# e.g. ./patches/ for standard-openapi
52+
# https://github.com/oven-sh/bun/issues/28147
53+
if [ "$RUNNER_OS" = "Windows" ]; then
54+
bun install --linker hoisted ${{ inputs.install-flags }}
55+
else
56+
bun install ${{ inputs.install-flags }}
57+
fi
2258
shell: bash
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "Setup Git Committer"
2+
description: "Create app token and configure git user"
3+
inputs:
4+
opencode-app-id:
5+
description: "OpenCode GitHub App ID"
6+
required: true
7+
opencode-app-secret:
8+
description: "OpenCode GitHub App private key"
9+
required: true
10+
outputs:
11+
token:
12+
description: "GitHub App token"
13+
value: ${{ steps.apptoken.outputs.token }}
14+
app-slug:
15+
description: "GitHub App slug"
16+
value: ${{ steps.apptoken.outputs.app-slug }}
17+
runs:
18+
using: "composite"
19+
steps:
20+
- name: Create app token
21+
id: apptoken
22+
uses: actions/create-github-app-token@v2
23+
with:
24+
app-id: ${{ inputs.opencode-app-id }}
25+
private-key: ${{ inputs.opencode-app-secret }}
26+
owner: ${{ github.repository_owner }}
27+
28+
- name: Configure git user
29+
run: |
30+
slug="${{ steps.apptoken.outputs.app-slug }}"
31+
git config --global user.name "${slug}[bot]"
32+
git config --global user.email "${slug}[bot]@users.noreply.github.com"
33+
shell: bash
34+
35+
- name: Clear checkout auth
36+
run: |
37+
git config --local --unset-all http.https://github.com/.extraheader || true
38+
shell: bash
39+
40+
- name: Configure git remote
41+
run: |
42+
git remote set-url origin https://x-access-token:${{ steps.apptoken.outputs.token }}@github.com/${{ github.repository }}
43+
shell: bash

.github/pull.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: "1"
2+
rules:
3+
- base: lash
4+
upstream: anomalyco/opencode:dev
5+
mergeMethod: merge
6+
assignees:
7+
- lacymorrow

0 commit comments

Comments
 (0)