Skip to content

Commit b565c49

Browse files
authored
Merge branch 'dev' into devops/3415-windows-virus-false-positive
2 parents ff93ea4 + 485135c commit b565c49

File tree

487 files changed

+33323
-3007
lines changed

Some content is hidden

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

487 files changed

+33323
-3007
lines changed

.github/publish-python-sdk.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
#
2+
# This file is intentionally in the wrong dir, will move and add later....
3+
#
4+
5+
# name: publish-python-sdk
6+
7+
# on:
8+
# release:
9+
# types: [published]
10+
# workflow_dispatch:
11+
12+
# jobs:
13+
# publish:
14+
# runs-on: ubuntu-latest
15+
# permissions:
16+
# contents: read
17+
# steps:
18+
# - name: Checkout repository
19+
# uses: actions/checkout@v4
20+
21+
# - name: Setup Bun
22+
# uses: oven-sh/setup-bun@v1
23+
# with:
24+
# bun-version: 1.2.21
25+
26+
# - name: Install dependencies (JS/Bun)
27+
# run: bun install
28+
29+
# - name: Install uv
30+
# shell: bash
31+
# run: curl -LsSf https://astral.sh/uv/install.sh | sh
32+
33+
# - name: Generate Python SDK from OpenAPI (CLI)
34+
# shell: bash
35+
# run: |
36+
# ~/.local/bin/uv run --project packages/sdk/python python packages/sdk/python/scripts/generate.py --source cli
37+
38+
# - name: Sync Python dependencies
39+
# shell: bash
40+
# run: |
41+
# ~/.local/bin/uv sync --dev --project packages/sdk/python
42+
43+
# - name: Set version from release tag
44+
# shell: bash
45+
# run: |
46+
# TAG="${GITHUB_REF_NAME:-}"
47+
# if [ -z "$TAG" ]; then
48+
# TAG="$(git describe --tags --abbrev=0 || echo 0.0.0)"
49+
# fi
50+
# echo "Using version: $TAG"
51+
# VERSION="$TAG" ~/.local/bin/uv run --project packages/sdk/python python - <<'PY'
52+
# import os, re, pathlib
53+
# root = pathlib.Path('packages/sdk/python')
54+
# pt = (root / 'pyproject.toml').read_text()
55+
# version = os.environ.get('VERSION','0.0.0').lstrip('v')
56+
# pt = re.sub(r'(?m)^(version\s*=\s*")[^"]+("\s*)$', f"\\1{version}\\2", pt)
57+
# (root / 'pyproject.toml').write_text(pt)
58+
# # Also update generator config override for consistency
59+
# cfgp = root / 'openapi-python-client.yaml'
60+
# if cfgp.exists():
61+
# cfg = cfgp.read_text()
62+
# cfg = re.sub(r'(?m)^(package_version_override:\s*)\S+$', f"\\1{version}", cfg)
63+
# cfgp.write_text(cfg)
64+
# PY
65+
66+
# - name: Build and publish to PyPI
67+
# env:
68+
# PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
69+
# shell: bash
70+
# run: |
71+
# ~/.local/bin/uv run --project packages/sdk/python python packages/sdk/python/scripts/publish.py

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,17 @@ jobs:
5353
- name: Install OpenCode
5454
run: curl -fsSL https://opencode.ai/install | bash
5555

56+
- name: Setup npm auth
57+
run: |
58+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
59+
5660
- name: Publish
5761
run: |
5862
./script/publish.ts
5963
env:
6064
OPENCODE_BUMP: ${{ inputs.bump }}
6165
OPENCODE_CHANNEL: latest
66+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
6267
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
6368
AUR_KEY: ${{ secrets.AUR_KEY }}
64-
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
6569
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}

.github/workflows/snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- dev
77
- opentui
8+
- v0
89

910
concurrency: ${{ github.workflow }}-${{ github.ref }}
1011

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ If you are unsure if a PR would be accepted, feel free to ask a maintainer or lo
1717
- [`help wanted`](https://github.com/sst/opencode/issues?q=is%3Aissue%20state%3Aopen%20label%3Ahelp-wanted)
1818
- [`good first issue`](https://github.com/sst/opencode/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22)
1919
- [`bug`](https://github.com/sst/opencode/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug)
20+
- [`perf`](https://github.com/sst/opencode/issues?q=is%3Aopen%20is%3Aissue%20label%3A%22perf%22)
2021

2122
> [!NOTE]
2223
> PRs that ignore these guardrails will likely be closed.

STATS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,11 @@
118118
| 2025-10-22 | 557,949 (+9,228) | 491,395 (+11,692) | 1,049,344 (+20,920) |
119119
| 2025-10-23 | 564,716 (+6,767) | 498,736 (+7,341) | 1,063,452 (+14,108) |
120120
| 2025-10-24 | 572,692 (+7,976) | 506,905 (+8,169) | 1,079,597 (+16,145) |
121+
| 2025-10-25 | 578,927 (+6,235) | 516,129 (+9,224) | 1,095,056 (+15,459) |
122+
| 2025-10-26 | 584,409 (+5,482) | 521,179 (+5,050) | 1,105,588 (+10,532) |
123+
| 2025-10-27 | 589,999 (+5,590) | 526,001 (+4,822) | 1,116,000 (+10,412) |
124+
| 2025-10-28 | 595,776 (+5,777) | 532,438 (+6,437) | 1,128,214 (+12,214) |
125+
| 2025-10-29 | 606,259 (+10,483) | 542,064 (+9,626) | 1,148,323 (+20,109) |
126+
| 2025-10-30 | 613,746 (+7,487) | 542,064 (+0) | 1,155,810 (+7,487) |
127+
| 2025-10-30 | 617,846 (+4,100) | 555,026 (+12,962) | 1,172,872 (+17,062) |
128+
| 2025-10-31 | 626,612 (+8,766) | 564,579 (+9,553) | 1,191,191 (+18,319) |

bun.lock

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"packages/console/core": {
3939
"name": "@opencode-ai/console-core",
40-
"version": "0.15.16",
40+
"version": "0.15.30",
4141
"dependencies": {
4242
"@aws-sdk/client-sts": "3.782.0",
4343
"@jsx-email/render": "1.1.1",
@@ -64,7 +64,7 @@
6464
},
6565
"packages/console/function": {
6666
"name": "@opencode-ai/console-function",
67-
"version": "0.15.16",
67+
"version": "0.15.30",
6868
"dependencies": {
6969
"@ai-sdk/anthropic": "2.0.0",
7070
"@ai-sdk/openai": "2.0.2",
@@ -88,7 +88,7 @@
8888
},
8989
"packages/console/mail": {
9090
"name": "@opencode-ai/console-mail",
91-
"version": "0.15.16",
91+
"version": "0.15.30",
9292
"dependencies": {
9393
"@jsx-email/all": "2.2.3",
9494
"@jsx-email/cli": "1.4.3",
@@ -109,12 +109,11 @@
109109
},
110110
"packages/desktop": {
111111
"name": "@opencode-ai/desktop",
112-
"version": "0.15.16",
112+
"version": "0.15.30",
113113
"dependencies": {
114114
"@kobalte/core": "catalog:",
115115
"@opencode-ai/sdk": "workspace:*",
116116
"@opencode-ai/ui": "workspace:*",
117-
"@pierre/precision-diffs": "catalog:",
118117
"@shikijs/transformers": "3.9.2",
119118
"@solid-primitives/active-element": "2.1.3",
120119
"@solid-primitives/event-bus": "1.1.2",
@@ -149,7 +148,7 @@
149148
},
150149
"packages/function": {
151150
"name": "@opencode-ai/function",
152-
"version": "0.15.16",
151+
"version": "0.15.30",
153152
"dependencies": {
154153
"@octokit/auth-app": "8.0.1",
155154
"@octokit/rest": "22.0.0",
@@ -165,7 +164,7 @@
165164
},
166165
"packages/opencode": {
167166
"name": "opencode",
168-
"version": "0.15.16",
167+
"version": "0.15.30",
169168
"bin": {
170169
"opencode": "./bin/opencode",
171170
},
@@ -216,6 +215,10 @@
216215
"@ai-sdk/google-vertex": "3.0.16",
217216
"@octokit/webhooks-types": "7.6.1",
218217
"@opencode-ai/script": "workspace:*",
218+
"@parcel/watcher-darwin-arm64": "2.5.1",
219+
"@parcel/watcher-darwin-x64": "2.5.1",
220+
"@parcel/watcher-linux-arm64-glibc": "2.5.1",
221+
"@parcel/watcher-linux-x64-glibc": "2.5.1",
219222
"@parcel/watcher-win32-x64": "2.5.1",
220223
"@standard-schema/spec": "1.0.0",
221224
"@tsconfig/bun": "catalog:",
@@ -229,7 +232,7 @@
229232
},
230233
"packages/plugin": {
231234
"name": "@opencode-ai/plugin",
232-
"version": "0.15.16",
235+
"version": "0.15.30",
233236
"dependencies": {
234237
"@opencode-ai/sdk": "workspace:*",
235238
"zod": "catalog:",
@@ -249,7 +252,7 @@
249252
},
250253
"packages/sdk/js": {
251254
"name": "@opencode-ai/sdk",
252-
"version": "0.15.16",
255+
"version": "0.15.30",
253256
"devDependencies": {
254257
"@hey-api/openapi-ts": "0.81.0",
255258
"@tsconfig/node22": "catalog:",
@@ -260,7 +263,7 @@
260263
},
261264
"packages/slack": {
262265
"name": "@opencode-ai/slack",
263-
"version": "0.15.16",
266+
"version": "0.15.30",
264267
"dependencies": {
265268
"@opencode-ai/sdk": "workspace:*",
266269
"@slack/bolt": "^3.17.1",
@@ -273,20 +276,27 @@
273276
},
274277
"packages/ui": {
275278
"name": "@opencode-ai/ui",
276-
"version": "0.15.16",
279+
"version": "0.15.30",
277280
"dependencies": {
278281
"@kobalte/core": "catalog:",
279-
"@pierre/precision-diffs": "0.0.2-alpha.1-1",
282+
"@opencode-ai/sdk": "workspace:*",
283+
"@pierre/precision-diffs": "catalog:",
284+
"@shikijs/transformers": "3.9.2",
280285
"@solidjs/meta": "catalog:",
286+
"@typescript/native-preview": "catalog:",
281287
"fuzzysort": "catalog:",
282288
"luxon": "catalog:",
289+
"marked": "16.2.0",
290+
"marked-shiki": "1.2.1",
283291
"remeda": "catalog:",
292+
"shiki": "3.9.2",
284293
"solid-js": "catalog:",
285294
"solid-list": "catalog:",
286295
"virtua": "catalog:",
287296
},
288297
"devDependencies": {
289298
"@tailwindcss/vite": "catalog:",
299+
"@tsconfig/node22": "catalog:",
290300
"@types/bun": "catalog:",
291301
"tailwindcss": "catalog:",
292302
"typescript": "catalog:",
@@ -296,7 +306,7 @@
296306
},
297307
"packages/web": {
298308
"name": "@opencode-ai/web",
299-
"version": "0.15.16",
309+
"version": "0.15.30",
300310
"dependencies": {
301311
"@astrojs/cloudflare": "12.6.3",
302312
"@astrojs/markdown-remark": "6.3.1",
@@ -343,7 +353,7 @@
343353
"@hono/zod-validator": "0.4.2",
344354
"@kobalte/core": "0.13.11",
345355
"@openauthjs/openauth": "0.0.0-20250322224806",
346-
"@pierre/precision-diffs": "0.0.2-alpha.1-1",
356+
"@pierre/precision-diffs": "0.4.1",
347357
"@solidjs/meta": "0.29.4",
348358
"@tailwindcss/vite": "4.1.11",
349359
"@tsconfig/bun": "1.0.9",
@@ -937,7 +947,7 @@
937947

938948
"@petamoriken/float16": ["@petamoriken/[email protected]", "", {}, "sha512-VgffxawQde93xKxT3qap3OH+meZf7VaSB5Sqd4Rqc+FP5alWbpOyan/7tRbOAvynjpG3GpdtAuGU/NdhQpmrog=="],
939949

940-
"@pierre/precision-diffs": ["@pierre/precision-diffs@0.0.2-alpha.1-1", "", { "dependencies": { "@shikijs/core": "3.13.0", "@shikijs/transformers": "3.13.0", "diff": "8.0.2", "fast-deep-equal": "3.1.3", "hast-util-to-html": "9.0.5", "shiki": "3.13.0" } }, "sha512-T43cwB7gMnbM+tp9p73NptUm4uUOfmrP5ihMOAHWQPpzBa/oeTjqZlmEmSQLpT8WKKnWG0lbKZPtlw7l0gW0Vw=="],
950+
"@pierre/precision-diffs": ["@pierre/precision-diffs@0.4.1", "", { "dependencies": { "@shikijs/core": "3.13.0", "@shikijs/transformers": "3.13.0", "diff": "8.0.2", "fast-deep-equal": "3.1.3", "hast-util-to-html": "9.0.5", "shiki": "3.13.0" }, "peerDependencies": { "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" } }, "sha512-AoozHakINGyNJFgbYc/1PlDK0yunrAxbtXEMBe9fdu8RLkNjVtYRTLw7EF2mM/YuVoVRjj2HT/2VJ4a2rMyDOA=="],
941951

942952
"@pkgjs/parseargs": ["@pkgjs/[email protected]", "", {}, "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg=="],
943953

@@ -1075,7 +1085,7 @@
10751085

10761086
"@selderee/plugin-htmlparser2": ["@selderee/[email protected]", "", { "dependencies": { "domhandler": "^5.0.3", "selderee": "^0.11.0" } }, "sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ=="],
10771087

1078-
"@shikijs/core": ["@shikijs/core@3.13.0", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-3P8rGsg2Eh2qIHekwuQjzWhKI4jV97PhvYjYUzGqjvJfqdQPz+nMlfWahU24GZAyW1FxFI1sYjyhfh5CoLmIUA=="],
1088+
"@shikijs/core": ["@shikijs/core@3.9.2", "", { "dependencies": { "@shikijs/types": "3.9.2", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-3q/mzmw09B2B6PgFNeiaN8pkNOixWS726IHmJEpjDAcneDPMQmUg2cweT9cWXY4XcyQS3i6mOOUgQz9RRUP6HA=="],
10791089

10801090
"@shikijs/engine-javascript": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.9.2", "@shikijs/vscode-textmate": "^10.0.2", "oniguruma-to-es": "^4.3.3" } }, "sha512-kUTRVKPsB/28H5Ko6qEsyudBiWEDLst+Sfi+hwr59E0GLHV0h8RfgbQU7fdN5Lt9A8R1ulRiZyTvAizkROjwDA=="],
10811091

@@ -3513,6 +3523,8 @@
35133523

35143524
"@parcel/watcher-wasm/napi-wasm": ["[email protected]", "", { "bundled": true }, "sha512-h/4nMGsHjZDCYmQVNODIrYACVJ+I9KItbG+0si6W/jSjdA9JbWDoU4LLeMXVcEQGHjttI2tuXqDrbGF7qkUHHg=="],
35153525

3526+
"@pierre/precision-diffs/@shikijs/core": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-3P8rGsg2Eh2qIHekwuQjzWhKI4jV97PhvYjYUzGqjvJfqdQPz+nMlfWahU24GZAyW1FxFI1sYjyhfh5CoLmIUA=="],
3527+
35163528
"@pierre/precision-diffs/@shikijs/transformers": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/core": "3.13.0", "@shikijs/types": "3.13.0" } }, "sha512-833lcuVzcRiG+fXvgslWsM2f4gHpjEgui1ipIknSizRuTgMkNZupiXE5/TVJ6eSYfhNBFhBZKkReKWO2GgYmqA=="],
35173529

35183530
"@pierre/precision-diffs/shiki": ["[email protected]", "", { "dependencies": { "@shikijs/core": "3.13.0", "@shikijs/engine-javascript": "3.13.0", "@shikijs/engine-oniguruma": "3.13.0", "@shikijs/langs": "3.13.0", "@shikijs/themes": "3.13.0", "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "sha512-aZW4l8Og16CokuCLf8CF8kq+KK2yOygapU5m3+hoGw0Mdosc6fPitjM+ujYarppj5ZIKGyPDPP1vqmQhr+5/0g=="],
@@ -3525,10 +3537,6 @@
35253537

35263538
"@rollup/pluginutils/estree-walker": ["[email protected]", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="],
35273539

3528-
"@shikijs/core/@shikijs/types": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "sha512-oM9P+NCFri/mmQ8LoFGVfVyemm5Hi27330zuOBp0annwJdKH1kOLndw3zCtAVDehPLg9fKqoEx3Ht/wNZxolfw=="],
3529-
3530-
"@shikijs/transformers/@shikijs/core": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.9.2", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-3q/mzmw09B2B6PgFNeiaN8pkNOixWS726IHmJEpjDAcneDPMQmUg2cweT9cWXY4XcyQS3i6mOOUgQz9RRUP6HA=="],
3531-
35323540
"@slack/bolt/path-to-regexp": ["[email protected]", "", {}, "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA=="],
35333541

35343542
"@slack/oauth/@slack/logger": ["@slack/[email protected]", "", { "dependencies": { "@types/node": ">=12.0.0" } }, "sha512-DTuBFbqu4gGfajREEMrkq5jBhcnskinhr4+AnfJEk48zhVeEv3XnUKGIX98B74kxhYsIMfApGGySTn7V3b5yBA=="],
@@ -3793,8 +3801,6 @@
37933801

37943802
"send/mime": ["[email protected]", "", { "bin": { "mime": "cli.js" } }, "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="],
37953803

3796-
"shiki/@shikijs/core": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.9.2", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-3q/mzmw09B2B6PgFNeiaN8pkNOixWS726IHmJEpjDAcneDPMQmUg2cweT9cWXY4XcyQS3i6mOOUgQz9RRUP6HA=="],
3797-
37983804
"sitemap/sax": ["[email protected]", "", {}, "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg=="],
37993805

38003806
"source-map-support/source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
@@ -3949,6 +3955,8 @@
39493955

39503956
"@esbuild-kit/core-utils/esbuild/@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ=="],
39513957

3958+
"@expressive-code/plugin-shiki/shiki/@shikijs/core": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-3P8rGsg2Eh2qIHekwuQjzWhKI4jV97PhvYjYUzGqjvJfqdQPz+nMlfWahU24GZAyW1FxFI1sYjyhfh5CoLmIUA=="],
3959+
39523960
"@expressive-code/plugin-shiki/shiki/@shikijs/engine-javascript": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "oniguruma-to-es": "^4.3.3" } }, "sha512-Ty7xv32XCp8u0eQt8rItpMs6rU9Ki6LJ1dQOW3V/56PKDcpvfHPnYFbsx5FFUP2Yim34m/UkazidamMNVR4vKg=="],
39533961

39543962
"@expressive-code/plugin-shiki/shiki/@shikijs/engine-oniguruma": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2" } }, "sha512-O42rBGr4UDSlhT2ZFMxqM7QzIU+IcpoTMzb3W7AlziI1ZF7R8eS2M0yt5Ry35nnnTX/LTLXFPUjRFCIW+Operg=="],
@@ -4083,6 +4091,8 @@
40834091

40844092
"@opencode-ai/web/shiki/@shikijs/types": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "sha512-zHC1l7L+eQlDXLnxvM9R91Efh2V4+rN3oMVS2swCBssbj2U/FBwybD1eeLaq8yl/iwT+zih8iUbTBCgGZOYlVg=="],
40854093

4094+
"@pierre/precision-diffs/@shikijs/core/@shikijs/types": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "sha512-oM9P+NCFri/mmQ8LoFGVfVyemm5Hi27330zuOBp0annwJdKH1kOLndw3zCtAVDehPLg9fKqoEx3Ht/wNZxolfw=="],
4095+
40864096
"@pierre/precision-diffs/@shikijs/transformers/@shikijs/types": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "sha512-oM9P+NCFri/mmQ8LoFGVfVyemm5Hi27330zuOBp0annwJdKH1kOLndw3zCtAVDehPLg9fKqoEx3Ht/wNZxolfw=="],
40874097

40884098
"@pierre/precision-diffs/shiki/@shikijs/engine-javascript": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "oniguruma-to-es": "^4.3.3" } }, "sha512-Ty7xv32XCp8u0eQt8rItpMs6rU9Ki6LJ1dQOW3V/56PKDcpvfHPnYFbsx5FFUP2Yim34m/UkazidamMNVR4vKg=="],
@@ -4345,6 +4355,8 @@
43454355

43464356
"@actions/github/@octokit/request/@octokit/types/@octokit/openapi-types": ["@octokit/[email protected]", "", {}, "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg=="],
43474357

4358+
"@astrojs/mdx/@astrojs/markdown-remark/shiki/@shikijs/core": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-3P8rGsg2Eh2qIHekwuQjzWhKI4jV97PhvYjYUzGqjvJfqdQPz+nMlfWahU24GZAyW1FxFI1sYjyhfh5CoLmIUA=="],
4359+
43484360
"@astrojs/mdx/@astrojs/markdown-remark/shiki/@shikijs/engine-javascript": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2", "oniguruma-to-es": "^4.3.3" } }, "sha512-Ty7xv32XCp8u0eQt8rItpMs6rU9Ki6LJ1dQOW3V/56PKDcpvfHPnYFbsx5FFUP2Yim34m/UkazidamMNVR4vKg=="],
43494361

43504362
"@astrojs/mdx/@astrojs/markdown-remark/shiki/@shikijs/engine-oniguruma": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/types": "3.13.0", "@shikijs/vscode-textmate": "^10.0.2" } }, "sha512-O42rBGr4UDSlhT2ZFMxqM7QzIU+IcpoTMzb3W7AlziI1ZF7R8eS2M0yt5Ry35nnnTX/LTLXFPUjRFCIW+Operg=="],

github/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ To test locally:
104104
- `MODEL`: The model used by opencode. Same as the `MODEL` defined in the GitHub workflow.
105105
- `ANTHROPIC_API_KEY`: Your model provider API key. Same as the keys defined in the GitHub workflow.
106106
- `GITHUB_RUN_ID`: Dummy value to emulate GitHub action environment.
107-
- `MOCK_TOKEN`: A GitHub persontal access token. This token is used to verify you have `admin` or `write` access to the test repo. Generate a token [here](https://github.com/settings/personal-access-tokens).
107+
- `MOCK_TOKEN`: A GitHub personal access token. This token is used to verify you have `admin` or `write` access to the test repo. Generate a token [here](https://github.com/settings/personal-access-tokens).
108108
- `MOCK_EVENT`: Mock GitHub event payload (see templates below).
109109
- `/path/to/opencode`: Path to your cloned opencode repo. `bun /path/to/opencode/github/index.ts` runs your local version of `opencode`.
110110

@@ -118,7 +118,7 @@ Replace:
118118
119119
- `"owner":"sst"` with repo owner
120120
- `"repo":"hello-world"` with repo name
121-
- `"actor":"fwang"` with the GitHub username of commentor
121+
- `"actor":"fwang"` with the GitHub username of commenter
122122
- `"number":4` with the GitHub issue id
123123
- `"body":"hey opencode, summarize thread"` with comment body
124124

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@tsconfig/bun": "1.0.9",
2626
"@cloudflare/workers-types": "4.20251008.0",
2727
"@openauthjs/openauth": "0.0.0-20250322224806",
28-
"@pierre/precision-diffs": "0.0.2-alpha.1-1",
28+
"@pierre/precision-diffs": "0.4.1",
2929
"@solidjs/meta": "0.29.4",
3030
"@tailwindcss/vite": "4.1.11",
3131
"diff": "8.0.2",
@@ -53,8 +53,8 @@
5353
"turbo": "2.5.6"
5454
},
5555
"dependencies": {
56-
"@opencode-ai/sdk": "workspace:*",
57-
"@opencode-ai/script": "workspace:*"
56+
"@opencode-ai/script": "workspace:*",
57+
"@opencode-ai/sdk": "workspace:*"
5858
},
5959
"repository": {
6060
"type": "git",
@@ -63,7 +63,7 @@
6363
"license": "MIT",
6464
"prettier": {
6565
"semi": false,
66-
"printWidth": 120
66+
"printWidth": 100
6767
},
6868
"trustedDependencies": [
6969
"esbuild",

0 commit comments

Comments
 (0)