Kit Langton
2a4dedc210
feat(id): brand PermissionID, PtyID, QuestionID, and ToolID ( #17042 )
2026-03-12 01:49:57 +00:00
Luke Parker
547eb7676d
feat(windows): add arm64 release targets for cli and desktop ( #16696 )
2026-03-12 00:25:09 +00:00
Kit Langton
090f636354
feat(id): brand PartID through Drizzle and Zod schemas ( #16966 )
2026-03-11 23:40:50 +00:00
Kit Langton
16a6d6feba
feat(id): brand WorkspaceID through Drizzle and Zod schemas ( #16964 )
2026-03-11 23:30:17 +00:00
John Mylchreest
f1c3a44190
fix: resolve symlinks in Instance cache to prevent duplicate contexts ( #16651 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-03-11 23:26:54 +00:00
Kit Langton
cb67465675
feat(id): brand SessionID through Drizzle and Zod schemas ( #16953 )
2026-03-11 23:16:56 +00:00
Dax Raad
604ab1bde1
core: restore plugin serverUrl getter so plugins can connect to local server
2026-03-11 17:41:51 -04:00
Noam Bressler
440405dbdd
fix: re-enable snapshot in acp ( #14918 )
2026-03-11 16:18:40 -05:00
Aiden Cline
f96e2d4222
tweak: adjust skill presentation to be a little less token heavy ( #17098 )
2026-03-11 16:03:15 -05:00
Kit Langton
dbc00aa8e0
feat(id): brand ProjectID through Drizzle and Zod schemas ( #16948 )
2026-03-11 16:44:26 -04:00
Dax Raad
04954a9620
Merge remote-tracking branch 'origin/opencode-2-0' into opencode-2-0
2026-03-11 14:32:38 -04:00
Dax Raad
fb63fd79a3
cleanup
2026-03-11 14:29:35 -04:00
Dax Raad
2e04b66eab
sync
2026-03-11 14:29:03 -04:00
Dax Raad
f0b7c8c374
refactor(npm): inline pkgPath and lockPath variables
2026-03-11 14:29:03 -04:00
Dax Raad
be6f59035a
unbreak
2026-03-11 14:29:03 -04:00
Dax Raad
27ab51f490
sync
2026-03-11 14:29:03 -04:00
Dax Raad
bca723e8fe
core: enable running in non-Bun environments by using standard Node.js APIs for OAuth servers and retry logic
2026-03-11 14:29:03 -04:00
Dax Raad
1ac39718d8
sync
2026-03-11 14:29:03 -04:00
Dax Raad
190319fb56
core: cleaner error output and more flexible custom tool directories
...
- Removed debug console.log when dependency installation fails so users see clean warning messages instead of raw error dumps
- Fixed database connection cleanup to prevent resource leaks between sessions
- Added support for loading custom tools from both .opencode/tool (singular) and .opencode/tools (plural) directories, matching common naming conventions
2026-03-11 14:29:03 -04:00
Dax Raad
3154f0a61c
core: return structured server info with stop method from workspace server
...
- Enables graceful server shutdown for workspace management
- Removes unsupported serverUrl getter that threw errors in plugin context
2026-03-11 14:29:03 -04:00
Dax Raad
4cba56171b
sync
2026-03-11 14:29:03 -04:00
Dax Raad
66342acd31
core: bundle database migrations into node build and auto-start server on port 1338
2026-03-11 14:29:03 -04:00
Dax Raad
88dae67549
refactor(server): replace Bun serve with Hono node adapters
2026-03-11 14:29:03 -04:00
Dax Raad
0ec42582f3
core: add Node.js runtime support
...
Enable running opencode on Node.js by adding platform-specific database adapters and replacing Bun-specific shell execution with cross-platform Process utility.
2026-03-11 14:29:02 -04:00
Luke Parker
4f82248a68
fix: work around Bun/Windows UV_FS_O_FILEMAP incompatibility in tar ( #16853 )
2026-03-11 14:29:02 -04:00
Dax Raad
5e069aab97
tui: fix Windows plugin loading by using direct paths instead of file URLs
2026-03-11 14:29:02 -04:00
Dax Raad
5325b2ec99
core: fix custom tool loading to properly resolve module paths
2026-03-11 14:29:02 -04:00
Dax Raad
2a98920922
sync
2026-03-11 14:29:02 -04:00
Dax Raad
5ea92ea6cb
sync
2026-03-11 14:29:02 -04:00
Dax Raad
a18528a7ee
sync
2026-03-11 14:29:02 -04:00
Dax Raad
ced125a974
core: log npm install errors to console for debugging dependency failures
2026-03-11 14:29:02 -04:00
Dax Raad
655fe20beb
sync
2026-03-11 14:29:02 -04:00
Dax Raad
dd0c258e23
core: fix CLI tools from npm packages not being accessible after install on Windows
2026-03-11 14:29:02 -04:00
Dax Raad
791e27d289
sync
2026-03-11 14:29:02 -04:00
Dax Raad
fac0aec69f
tui: export sessions using consistent Filesystem API instead of Bun.write
2026-03-11 14:29:02 -04:00
Dax Raad
ca26e639f6
core: fix npm dependency installation on Windows CI by disabling bin links when symlink permissions are restricted
2026-03-11 14:29:02 -04:00
Dax Raad
0b5d54f2cb
core: enable npm bin links on non-Windows platforms to allow plugin executables to work while keeping them disabled on Windows CI where symlink permissions are restricted
2026-03-11 14:29:02 -04:00
Dax Raad
1b408cf06b
core: fix dependency installation failures behind corporate proxies or in CI by disabling Bun cache when network interception is detected
2026-03-11 14:29:02 -04:00
Dax Raad
8e102d19ed
core: disable npm bin links to fix package installation in sandboxed environments
2026-03-11 14:29:02 -04:00
Dax Raad
721b2406e9
core: dynamically resolve formatter executable paths at runtime
...
Formatters now determine their executable location when enabled rather than
using hardcoded paths. This ensures formatters work correctly regardless
of how the tool was installed or where executables are located on the system.
2026-03-11 14:29:01 -04:00
Dax Raad
4a6a18cd79
sync
2026-03-11 14:28:37 -04:00
Dax
c10b5880cc
Update packages/opencode/src/util/which.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-11 14:28:37 -04:00
Dax
e6bf83084c
Update packages/opencode/src/npm/index.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-11 14:28:37 -04:00
Dax Raad
870a5731ac
refactor: lsp server and core improvements
2026-03-11 14:28:24 -04:00
Kit Langton
981c7b9e37
refactor(account): tighten effect-based account flows ( #17072 )
2026-03-11 18:18:58 +00:00
Johannes Loher
2aae0d3493
fix(core): read stdout and stderr in PackageRegistry.info before waiting for the process to exit ( #16998 )
2026-03-11 13:10:45 -05:00
Aiden Cline
0f6bc8ae71
tweak: adjust way skills are presented to agent to increase likelyhood of skill invocations. ( #17053 )
2026-03-11 10:24:55 -05:00
Luke Parker
7910ce5d36
fix: guard Npm.which() against infinite loop when .bin is empty ( #16961 )
2026-03-11 09:34:58 -04:00
opencode-agent[bot]
7ec398d855
chore: generate
2026-03-11 03:34:02 +00:00
Luke Parker
4ab35d2c5c
fix(electron): hide Windows background consoles ( #16842 )
...
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-03-11 13:33:06 +10:00
SOUMITRA-SAHA
b4ae030fc2
fix: add GOOGLE_VERTEX_LOCATION env var support for Vertex AI ( #16922 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-10 22:32:39 -05:00
Kit Langton
a1b06d63c9
fix(account): resilient orgs fetch ( #16944 )
2026-03-11 00:39:07 +00:00
Aiden Cline
5acfdd1c5d
chore: kill old copilot 403 message that was used for old plugin migration ( #16904 )
2026-03-10 16:20:41 -05:00
Dax Raad
cb5674edc7
sync
2026-03-10 17:00:15 -04:00
Dax Raad
b99de4118e
refactor(npm): inline pkgPath and lockPath variables
2026-03-10 16:59:01 -04:00
Dax Raad
040700dbc4
unbreak
2026-03-10 16:07:25 -04:00
Dax Raad
4d5da9697e
sync
2026-03-10 16:02:40 -04:00
Dax Raad
a28648f530
core: enable running in non-Bun environments by using standard Node.js APIs for OAuth servers and retry logic
2026-03-10 16:02:40 -04:00
Dax Raad
4d81e2d4d9
sync
2026-03-10 16:02:40 -04:00
Dax Raad
21e72cbf42
core: cleaner error output and more flexible custom tool directories
...
- Removed debug console.log when dependency installation fails so users see clean warning messages instead of raw error dumps
- Fixed database connection cleanup to prevent resource leaks between sessions
- Added support for loading custom tools from both .opencode/tool (singular) and .opencode/tools (plural) directories, matching common naming conventions
2026-03-10 16:02:40 -04:00
Dax Raad
5f277d1e62
core: return structured server info with stop method from workspace server
...
- Enables graceful server shutdown for workspace management
- Removes unsupported serverUrl getter that threw errors in plugin context
2026-03-10 16:02:40 -04:00
Dax Raad
d4e51e04b3
sync
2026-03-10 16:02:40 -04:00
Dax Raad
070c1679e4
core: bundle database migrations into node build and auto-start server on port 1338
2026-03-10 16:02:40 -04:00
Dax Raad
406d216cd2
refactor(server): replace Bun serve with Hono node adapters
2026-03-10 16:02:40 -04:00
Dax Raad
5dc8b4ef29
core: add Node.js runtime support
...
Enable running opencode on Node.js by adding platform-specific database adapters and replacing Bun-specific shell execution with cross-platform Process utility.
2026-03-10 16:02:39 -04:00
Luke Parker
2f41d89163
fix: work around Bun/Windows UV_FS_O_FILEMAP incompatibility in tar ( #16853 )
2026-03-10 16:02:39 -04:00
Dax Raad
b2eae867a1
tui: fix Windows plugin loading by using direct paths instead of file URLs
2026-03-10 16:02:39 -04:00
Dax Raad
3c2fda4d91
core: fix custom tool loading to properly resolve module paths
2026-03-10 16:02:39 -04:00
Dax Raad
2678ceb45e
sync
2026-03-10 16:02:39 -04:00
Dax Raad
58a4cd00b6
sync
2026-03-10 16:02:39 -04:00
Dax Raad
0faa191b6d
sync
2026-03-10 16:02:39 -04:00
Dax Raad
58cf092105
core: log npm install errors to console for debugging dependency failures
2026-03-10 16:02:39 -04:00
Dax Raad
0ff8bfe1d9
sync
2026-03-10 16:02:39 -04:00
Dax Raad
ceb79c786a
core: fix CLI tools from npm packages not being accessible after install on Windows
2026-03-10 16:02:39 -04:00
Dax Raad
b1a15d559b
sync
2026-03-10 16:02:39 -04:00
Dax Raad
124a8abf9b
tui: export sessions using consistent Filesystem API instead of Bun.write
2026-03-10 16:02:39 -04:00
Dax Raad
85c2bb342b
core: fix npm dependency installation on Windows CI by disabling bin links when symlink permissions are restricted
2026-03-10 16:02:39 -04:00
Dax Raad
4c57e39466
core: enable npm bin links on non-Windows platforms to allow plugin executables to work while keeping them disabled on Windows CI where symlink permissions are restricted
2026-03-10 16:02:39 -04:00
Dax Raad
0cdd4e4e16
core: fix dependency installation failures behind corporate proxies or in CI by disabling Bun cache when network interception is detected
2026-03-10 16:02:39 -04:00
Dax Raad
a9b01be0c2
core: disable npm bin links to fix package installation in sandboxed environments
2026-03-10 16:02:39 -04:00
Dax Raad
528daf5490
core: dynamically resolve formatter executable paths at runtime
...
Formatters now determine their executable location when enabled rather than
using hardcoded paths. This ensures formatters work correctly regardless
of how the tool was installed or where executables are located on the system.
2026-03-10 16:02:39 -04:00
Dax Raad
0e176d3ac3
sync
2026-03-10 16:02:39 -04:00
Dax
27f359852e
Update packages/opencode/src/util/which.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-10 16:02:39 -04:00
Dax
173128d431
Update packages/opencode/src/npm/index.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-10 16:02:39 -04:00
Dax Raad
656fa191c1
refactor: lsp server and core improvements
2026-03-10 16:02:39 -04:00
opencode-agent[bot]
94c128f73b
chore: generate
2026-03-10 16:56:30 +00:00
Dax
613562f504
core: make account login upgrades safe while adding multi-account workspace auth ( #15487 )
...
Co-authored-by: Kit Langton <kit.langton@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 12:53:47 -04:00
Adam
9c4325bcf8
fix(core): don't permit access to system directories ( #16891 )
2026-03-10 11:32:05 -05:00
James Long
a4330a225d
feat(core): allow passing workspaceID into session create endpoint ( #16798 )
2026-03-10 11:12:51 -04:00
James Long
69ddc91c35
fix(core): a chunk timeout when processing llm stream ( #16366 )
2026-03-10 11:12:14 -04:00
James Long
4c4aed5a87
fix(core): make worktrees read the project id from local workspace ( #16795 )
2026-03-10 11:11:28 -04:00
opencode-agent[bot]
5a40158abf
chore: generate
2026-03-10 15:07:35 +00:00
Jérôme Benoit
4dce485854
fix(opencode): add thinking variants support for SAP AI provider ( #14958 )
...
Co-authored-by: Test <test@test.com>
Co-authored-by: Stephen Collings <stevoland@gmail.com>
2026-03-10 10:05:45 -05:00
Sebastian
3500bf64b8
upgrade opentui to v0.1.87 ( #16772 )
2026-03-10 11:03:05 +01:00
opencode-agent[bot]
4f982ddb94
chore: generate
2026-03-10 02:02:18 +00:00
adam jones
ff3bb7424d
fix(mcp): fix OAuth auto-connect failing on first connection ( #15547 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-09 21:01:19 -05:00
Dax Raad
89d6f60d25
refactor(server): extract createApp function for server initialization
...
- Replace Server.App() with Server.Default() for internal server access
- Extract server app creation into Server.createApp(opts) for testability
- Move CORS whitelist from module-level variable to function parameter
- Update all tests to use Server.Default() instead of Server.App()
2026-03-09 17:13:52 -04:00
opencode-agent[bot]
d9a97249c0
chore: generate
2026-03-09 20:15:31 +00:00
James Long
86cef16940
fix(core): put workspace routing behind OPENCODE_EXPERIMENTAL_WORKSPACES flag ( #16775 )
2026-03-09 16:14:19 -04:00
Dax Raad
39ef7fc90e
Merge remote-tracking branch 'origin/dev' into dev
2026-03-09 15:30:15 -04:00
Dax Raad
37ae0a4051
refactor: replace bun semver with npm semver package
2026-03-09 15:29:55 -04:00
Kyle Altendorf
b312928e9f
fix(tui): wait for model store before auto-submitting --prompt ( #7476 )
2026-03-09 14:22:38 -05:00
Dax
2f2856e20a
refactor(opencode): replace Bun shell in core flows ( #16286 )
2026-03-09 15:19:50 -04:00
Dax Raad
831eb6881b
refactor: change pathToFileURL imports from bun to url module
2026-03-09 14:52:25 -04:00
James Long
f20ee2fad2
fix(tui): handle error when creating a session ( #16767 )
2026-03-09 12:13:32 -04:00
Stephen Collings
8b9710e56c
fix: Multiple jdtls LSPs eating memory in java monorepos ( #12123 )
2026-03-09 16:09:43 +00:00
opencode
c6262f9d40
release: v1.2.24
2026-03-09 16:09:34 +00:00
James Long
366b8a8034
feat(tui): add initial support for workspaces into the tui ( #16230 )
2026-03-09 10:28:04 -04:00
Armin Pašalić
ef9bc4ec9e
feat(gitlab): send context-1m-2025-08-07 beta header to enable 1M context window ( #16153 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-09 09:22:00 -05:00
Jack
5838b58913
add copilot gpt-5.4 xhigh support ( #16294 )
2026-03-09 22:07:12 +08:00
opencode
2712244ad3
release: v1.2.23
2026-03-09 13:50:43 +00:00
Eric Clemmons
18fb19da3b
fix(opencode): pass missing auth headers in run --attach ( #16097 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-03-09 07:32:13 +00:00
Dax Raad
7d7837e5b6
disable fallback to free nano for small model
2026-03-08 19:27:15 -04:00
opencode
1db292f4df
release: v1.2.22
2026-03-08 22:34:59 +00:00
Sebastian
49a3a9fe36
guard tui exit ( #16640 )
2026-03-08 23:14:41 +01:00
Luke Parker
e51ed460a6
fix(tui): canonicalize cwd after chdir ( #16641 )
2026-03-09 07:57:48 +10:00
Shoubhit Dash
050f99ec54
test: make process cwd check cross-platform ( #16594 )
2026-03-08 06:56:45 -05:00
tobwen
13a68f3de3
fix(opencode): avoid TTY corruption from double cleanup ( #16565 )
...
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-03-08 13:55:33 +05:30
Nate Williams
fdad35aaa7
fix(tui): fix broken /mcp toggling ( #16431 )
...
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-03-08 13:31:09 +05:30
Dax
a2ce4eb650
test: remove unused Ripgrep.search coverage ( #16554 )
2026-03-07 21:40:57 -05:00
Dax Raad
e30678a088
test: normalize ripgrep path assertion on windows
2026-03-07 19:47:57 -05:00
opencode-agent[bot]
771b29a857
chore: generate
2026-03-08 00:31:35 +00:00
Dax Raad
e6d1aae33a
test: lock in process, ripgrep, and installation helpers
2026-03-07 19:30:32 -05:00
Dax Raad
523f792b48
core: update database path test to verify correct channel-based filename
...
The test now validates that the database file is named according to the current installation channel (latest/beta get 'opencode.db', others get sanitized names). This ensures users' data is stored in the correct location based on their update channel.
2026-03-07 18:53:29 -05:00
Dax Raad
2230c3c401
core: allow beta channel to share database with stable channel
2026-03-07 18:53:29 -05:00
Dax Raad
a965a06259
core: add OPENCODE_SKIP_MIGRATIONS flag to bypass database migrations
...
Allows users to skip automatic database migrations by setting the
OPENCODE_SKIP_MIGRATIONS environment variable. Useful for testing
scenarios or when manually managing database state.
2026-03-07 16:17:00 -05:00
opencode
a52d640c8c
release: v1.2.21
2026-03-07 18:00:39 +00:00
Quan Ran
be9b4d1bcd
fix(opencode): preserve original line endings in 'edit' tool ( #9443 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-03-07 07:42:54 +00:00
Nate Williams
5b5b791d75
fix(tui): fix broken /export toggling ( #16443 )
2026-03-07 12:52:17 +05:30
Luke Parker
8a95be492d
fix(windows): git path resolution for modified files across Git Bash, MSYS2, and Cygwin ( #16422 )
2026-03-07 15:42:14 +10:00
opencode-agent[bot]
c42c5a0cc6
chore: generate
2026-03-07 04:54:05 +00:00
kikuchan
b2c2478d9d
fix(pty): pty session handle leak ( #15599 )
2026-03-07 14:53:11 +10:00
Luke Parker
4c7fe60493
fix(opencode): sanitize preview database filenames ( #16430 )
2026-03-07 04:34:29 +00:00
James Long
a2634337b8
fix(core): log stack trace when schema validation fails ( #16401 )
2026-03-06 17:04:22 -05:00
Dax Raad
7417c869fc
fix issue with migration
2026-03-06 16:44:49 -05:00
Adam
7a071eff5c
chore: fix test
2026-03-06 15:27:49 -06:00
Shoubhit Dash
d6e0f47361
feat: add project git init api ( #16383 )
2026-03-06 13:39:50 -06:00
Dax Raad
5e699c9426
chore(storage): update drizzle and channel db handling
2026-03-06 10:58:19 -05:00
Shoubhit Dash
1d9dcd2a27
share: speed up share loads ( #16165 )
2026-03-06 06:49:15 -06:00
Luis Felipe Cordeiro Sena
b7605add58
fix(app): enable auto-accept keybind regardless of permission config ( #16259 )
2026-03-06 04:49:12 -06:00
opencode
6c7d968c44
release: v1.2.20
2026-03-06 07:29:34 +00:00
Dax
326c70184d
fix: restore Bun stdin reads for prompt input ( #16300 )
2026-03-06 02:08:10 -05:00
Luke Parker
aec6ca71fa
fix(git): stop leaking fsmonitor daemons e.g. 60GB+ of commited memory after running tests ( #16249 )
2026-03-06 15:42:08 +10:00
Dax
74effa8eec
refactor(opencode): replace Bun.which with npm which ( #15012 )
2026-03-06 05:18:29 +00:00
opencode
cb411248bf
release: v1.2.19
2026-03-06 04:29:10 +00:00
Sadık
46d7d2fdc0
feat: add "gpt-5.4" to codex allowed models list ( #16274 )
2026-03-05 23:03:01 -05:00
Dax Raad
d68afcaa55
refactor: replace Bun.stderr and Bun.color with Node.js equivalents
2026-03-05 22:20:16 -05:00
Dax Raad
bf35a865ba
refactor: replace Bun.connect with net.createConnection
2026-03-05 22:17:08 -05:00
Dax Raad
6733a5a822
fix: use sha1 for hash instead of unsupported xxhash3-xxh64
2026-03-05 22:12:10 -05:00
Dax Raad
7e28098365
refactor: use node:stream/consumers for stdin reading
2026-03-05 22:08:50 -05:00