fix: pin @opencode-ai/sdk to 1.2.6 to fix startup crash

Versions 1.2.7–1.2.9 have a broken npm publish where compiled files
land in dist/src/ but the package exports map references dist/v2/,
causing ERR_MODULE_NOT_FOUND on startup. Pin to 1.2.6 which has the
correct layout.

Closes #64

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lakshmi Narasimhan
2026-02-20 16:35:22 +05:30
co-authored by Claude Sonnet 4.6
parent 5db14ee50c
commit cc7483ea12
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@
"@lezer/markdown": "^1.6.2",
"@lezer/python": "^1.1.18",
"@modelcontextprotocol/sdk": "^1.20.1",
"@opencode-ai/sdk": "^1.1.12",
"@opencode-ai/sdk": "1.2.6",
"@sctg/sentencepiece-js": "^1.1.0",
"@xterm/headless": "^6.0.0",
"ai": "5.0.78",