Skip to content

Commit 18ad7a3

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into dev
2 parents 4030d25 + c7808a4 commit 18ad7a3

File tree

444 files changed

+11999
-38237
lines changed

Some content is hidden

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

444 files changed

+11999
-38237
lines changed

.github/actions/setup-bun/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ runs:
55
steps:
66
- name: Setup Bun
77
uses: oven-sh/setup-bun@v2
8+
with:
9+
bun-version-file: package.json
810

911
- name: Cache ~/.bun
1012
id: cache-bun

.github/workflows/auto-label-tui.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
contents: read
1212
issues: write
1313
steps:
14-
- name: Add opentui label
14+
- name: Auto-label and assign issues
1515
uses: actions/github-script@v7
1616
with:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -20,10 +20,32 @@ jobs:
2020
const title = issue.title;
2121
const description = issue.body || '';
2222
23+
// Check for "opencode web" keyword
24+
const webPattern = /(opencode web)/i;
25+
const isWebRelated = webPattern.test(title) || webPattern.test(description);
26+
2327
// Check for version patterns like v1.0.x or 1.0.x
2428
const versionPattern = /[v]?1\.0\./i;
29+
const isVersionRelated = versionPattern.test(title) || versionPattern.test(description);
2530
26-
if (versionPattern.test(title) || versionPattern.test(description)) {
31+
if (isWebRelated) {
32+
// Add web label
33+
await github.rest.issues.addLabels({
34+
owner: context.repo.owner,
35+
repo: context.repo.repo,
36+
issue_number: issue.number,
37+
labels: ['web']
38+
});
39+
40+
// Assign to adamdotdevin
41+
await github.rest.issues.addAssignees({
42+
owner: context.repo.owner,
43+
repo: context.repo.repo,
44+
issue_number: issue.number,
45+
assignees: ['adamdotdevin']
46+
});
47+
} else if (isVersionRelated) {
48+
// Only add opentui if NOT web-related
2749
await github.rest.issues.addLabels({
2850
owner: context.repo.owner,
2951
repo: context.repo.repo,

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
- major
1313
- minor
1414
- patch
15+
version:
16+
description: "Override version (optional)"
17+
required: false
18+
type: string
1519

1620
concurrency: ${{ github.workflow }}-${{ github.ref }}
1721

@@ -62,6 +66,7 @@ jobs:
6266
./script/publish.ts
6367
env:
6468
OPENCODE_BUMP: ${{ inputs.bump }}
69+
OPENCODE_VERSION: ${{ inputs.version }}
6570
OPENCODE_CHANNEL: latest
6671
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
6772
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "sync-zed-extension"
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
zed:
10+
name: Release Zed Extension
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- uses: ./.github/actions/setup-bun
18+
19+
- name: Get version tag
20+
id: get_tag
21+
run: |
22+
if [ "${{ github.event_name }}" = "release" ]; then
23+
TAG="${{ github.event.release.tag_name }}"
24+
else
25+
TAG=$(git tag --list 'v[0-9]*.*' --sort=-version:refname | head -n 1)
26+
fi
27+
echo "tag=${TAG}" >> $GITHUB_OUTPUT
28+
echo "Using tag: ${TAG}"
29+
30+
- name: Sync Zed extension
31+
run: |
32+
./script/sync-zed.ts ${{ steps.get_tag.outputs.tag }}
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ node_modules
55
.env
66
.idea
77
.vscode
8+
*~
89
openapi.json
910
playground
1011
tmp
1112
dist
1213
.turbo
14+
**/.serena
15+
.serena/
File renamed without changes.

AGENTS.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@
1717

1818
## Tool Calling
1919

20-
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE. Here is an example illustrating how to execute 3 parallel file reads in this chat environnement:
20+
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE. Here is an example illustrating how to execute 3 parallel file reads in this chat environment:
2121

2222
json
2323
{
24-
"recipient_name": "multi_tool_use.parallel",
25-
"parameters": {
26-
"tool_uses": [
27-
{
28-
"recipient_name": "functions.read",
29-
"parameters": {
30-
"filePath": "path/to/file.tsx"
31-
}
32-
},
33-
{
34-
"recipient_name": "functions.read",
35-
"parameters": {
36-
"filePath": "path/to/file.ts"
37-
}
38-
},
39-
{
40-
"recipient_name": "functions.read",
41-
"parameters": {
42-
"filePath": "path/to/file.md"
43-
}
44-
}
45-
]
46-
}
24+
"recipient_name": "multi_tool_use.parallel",
25+
"parameters": {
26+
"tool_uses": [
27+
{
28+
"recipient_name": "functions.read",
29+
"parameters": {
30+
"filePath": "path/to/file.tsx"
31+
}
32+
},
33+
{
34+
"recipient_name": "functions.read",
35+
"parameters": {
36+
"filePath": "path/to/file.ts"
37+
}
38+
},
39+
{
40+
"recipient_name": "functions.read",
41+
"parameters": {
42+
"filePath": "path/to/file.md"
43+
}
44+
}
45+
]
46+
}
4747
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ curl -fsSL https://opencode.ai/install | bash
2828
npm i -g opencode-ai@latest # or bun/pnpm/yarn
2929
scoop bucket add extras; scoop install extras/opencode # Windows
3030
choco install opencode # Windows
31-
brew install sst/tap/opencode # macOS and Linux
31+
brew install opencode # macOS and Linux
3232
paru -S opencode-bin # Arch Linux
3333
```
3434

STATS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,11 @@
128128
| 2025-10-31 | 626,612 (+8,766) | 564,579 (+9,553) | 1,191,191 (+18,319) |
129129
| 2025-11-01 | 636,100 (+9,488) | 581,806 (+17,227) | 1,217,906 (+26,715) |
130130
| 2025-11-02 | 644,067 (+7,967) | 590,004 (+8,198) | 1,234,071 (+16,165) |
131+
| 2025-11-03 | 653,130 (+9,063) | 597,139 (+7,135) | 1,250,269 (+16,198) |
132+
| 2025-11-04 | 663,912 (+10,782) | 608,056 (+10,917) | 1,271,968 (+21,699) |
133+
| 2025-11-05 | 675,074 (+11,162) | 619,690 (+11,634) | 1,294,764 (+22,796) |
134+
| 2025-11-06 | 686,252 (+11,178) | 630,885 (+11,195) | 1,317,137 (+22,373) |
135+
| 2025-11-07 | 696,646 (+10,394) | 642,146 (+11,261) | 1,338,792 (+21,655) |
136+
| 2025-11-08 | 706,035 (+9,389) | 653,489 (+11,343) | 1,359,524 (+20,732) |
137+
| 2025-11-09 | 713,462 (+7,427) | 660,459 (+6,970) | 1,373,921 (+14,397) |
138+
| 2025-11-10 | 722,288 (+8,826) | 668,225 (+7,766) | 1,390,513 (+16,592) |

0 commit comments

Comments
 (0)