Kit Langton
e4fbf5c657
fix(mcp): use Effect.timeoutOrElse for transport connect timeout
...
Replace withTimeout (Promise.race) with Effect.timeoutOrElse so that
fiber interruption properly triggers acquireUseRelease cleanup. The
Promise.race approach left the underlying connect promise dangling,
which prevented the release function from running on some platforms.
2026-03-26 11:19:10 -04:00
Kit Langton
3439521ef0
effectify MCP service: convert remaining Promise code to idiomatic Effect
...
- fetchFromClient: async function -> Effect.tryPromise + Effect.map
- collectFromConnected: compose directly with Effect fetchFromClient
- closeClient: Effect.promise(.catch) -> Effect.tryPromise + Effect.ignore
- Bus.publish calls: .catch() -> busPublish helper with Effect.tryPromise + Effect.ignore
- startAuth: Effect.promise(async try/catch) -> Effect.tryPromise + Effect.catch
- finishAuth: simplify inner async/await
- create(): eliminate mutable let vars, extract connectRemote/connectLocal
- Extract sanitize helper, CreateResult interface, busPublish helper
- watch callback: use busPublish via Effect.runPromise
- getConfig helper function for repeated Config.get() pattern
2026-03-26 10:39:33 -04:00
Kit Langton
7965300ce5
refactor(mcp): convert create/defs/tryConnect to Effect-native patterns
...
Replace the async tryConnect helper with connectTransport using
Effect.acquireUseRelease for guaranteed transport cleanup on failure.
Convert create() from async function to Effect.gen and defs() to
return an Effect. Callers now yield* directly instead of wrapping
in Effect.promise.
2026-03-26 10:39:33 -04:00
Kit Langton
ebdecf2ec7
fix(mcp): close transport on failed/timed-out connections
...
When withTimeout rejects during MCP connect, the transport (and its
child process for stdio servers) was never closed. Extract a tryConnect
helper that ensures transport.close() is always called on failure,
eliminating process/connection leaks in all connect paths.
Fixes #19168
2026-03-26 10:39:33 -04:00
Kit Langton
4342ef6c97
review test
2026-03-26 10:39:32 -04:00
opencode-agent[bot]
1d363fa19f
chore: generate
2026-03-26 14:16:07 +00:00
Shoubhit Dash
1b028d0632
revert: roll back git-backed review modes ( #19295 )
2026-03-26 10:14:57 -04:00
Aiden Cline
d500a8432a
fix: ensure enterprise url is set properly during auth flow ( #19212 )
2026-03-25 23:59:53 -05:00
Frank
2d502d6ffe
go: do not respect disabled zen models
2026-03-26 00:47:23 -04:00
Frank
2ad190e482
wip: zen
2026-03-26 00:47:23 -04:00
Frank
16742af7f3
wip: zen
2026-03-26 00:47:23 -04:00
Luke Parker
1a4a6eabe2
fix(opencode): image paste on Windows Terminal 1.25+ with kitty keyboard ( #17674 )
2026-03-26 12:00:38 +10:00
Kit Langton
ba244a6e62
test: restore 5 workers on Windows e2e ( #19188 )
2026-03-25 21:28:18 -04:00
Vladimir Glafirov
7cb690d7e5
fix: bump gitlab-ai-provider to 5.3.3 for DWS tool approval support ( #19185 )
2026-03-26 01:17:51 +00:00
opencode-agent[bot]
31ad6e85ba
chore: generate
2026-03-26 00:56:34 +00:00
Kit Langton
ea04b23745
skill: use Effect.cached for load deduplication ( #19165 )
2026-03-26 00:55:43 +00:00
Kit Langton
f54e4b60cc
file: use Effect.cached for scan deduplication ( #19164 )
2026-03-25 20:19:58 -04:00
Kit Langton
97c15a087d
effectify Bus service: migrate to Effect PubSub + InstanceState ( #18579 )
2026-03-25 20:19:24 -04:00
Kit Langton
b90de755f9
fix+refactor(mcp): lifecycle tests, cancelPending fix, Effect migration ( #19042 )
2026-03-25 20:15:05 -04:00
Kit Langton
8864fdce2f
fix: Windows e2e stability (CrossSpawnSpawner, snapshot isolation, session race guards) ( #19163 )
2026-03-25 19:49:14 -04:00
Adam
5179b87aef
fix(app): agent normalization ( #19169 )
2026-03-25 20:56:10 +00:00
Ariane Emory
66a56551be
fix(task): respect agent permission config for todowrite tool ( #19125 )
2026-03-25 15:18:52 -05:00
André Cruz
7123aad5a8
fix(opencode): classify ZlibError from Bun fetch as retryable instead of unknown ( #19104 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-25 13:08:40 -05:00
Adam
d6fc5f414b
chore: storybook tweaks
2026-03-25 11:30:41 -05:00
Aiden Cline
77fc88c8ad
chore: remove dead code for todoread tool ( #19128 )
2026-03-25 16:21:42 +00:00
Adam
cafc2b204b
chore: cleanup
2026-03-25 11:15:34 -05:00
opencode-agent[bot]
fac0dd8862
chore: generate
2026-03-25 15:40:53 +00:00
Shoubhit Dash
73e107250d
feat: restore git-backed review modes with effectful git service ( #18900 )
2026-03-25 21:09:53 +05:30
Adam
b746aec493
chore: storybook tweaks
2026-03-25 10:20:19 -05:00
Aiden Cline
ad40b65b0b
chore: bump modelcontextprotocol/sdk to 1.27.1 ( #19064 )
2026-03-25 10:00:39 -05:00
opencode-agent[bot]
971383661a
chore: generate
2026-03-25 14:48:44 +00:00
James Long
b0017bf1b9
feat(core): initial implementation of syncing ( #17814 )
2026-03-25 10:47:40 -04:00
Adam
0c0c6f3bdb
chore(app): markdown playground in storyboard
2026-03-25 09:14:35 -05:00
Adam
b480a38d31
chore(app): markdown playground in storyboard
2026-03-25 09:14:35 -05:00
Adam
4167e25c7e
fix(app): opencode web server url
2026-03-25 06:41:00 -05:00
Adam
1041ae91d1
Reapply "fix(app): startup efficiency"
...
This reverts commit 898456a25c .
2026-03-25 06:25:57 -05:00
Adam
898456a25c
Revert "fix(app): startup efficiency"
2026-03-25 06:25:05 -05:00
Adam
53d0b58ebf
fix(app): hash inline script for csp
2026-03-25 05:59:06 -05:00
Adam
2b0baf97bd
Reapply "fix(app): more startup efficiency ( #18985 )"
...
This reverts commit cbe1337f24 .
2026-03-25 05:59:06 -05:00
Adam
0dbfefa080
Reapply "fix(app): startup efficiency ( #18854 )"
...
This reverts commit a379eb3867 .
2026-03-25 05:59:05 -05:00
Shoubhit Dash
d1c49ba210
fix(app): move message navigation off cmd+arrow ( #18728 )
2026-03-25 05:24:55 -05:00
Brendan Allan
3ea72aec21
app: pre-warm project globalSync state when navigate project via keybind ( #19088 )
2026-03-25 17:32:49 +08:00
Brendan Allan
9717383823
electron: remove file extension from electron-store wrapper ( #19082 )
2026-03-25 07:57:27 +00:00
Brendan Allan
5d9e780029
electron: add createDirectory to open directory picker ( #19071 )
2026-03-25 06:25:51 +00:00
Aiden Cline
71693cc24b
tweak: only spawn lsp servers for files in current instance (or cwd if instance is global) ( #19058 )
2026-03-25 00:31:29 -05:00
Dax
0a80ef4278
fix(opencode): avoid snapshotting files over 2MB ( #19043 )
2026-03-25 04:43:48 +00:00
Kit Langton
4647aa80ac
effectify Worktree service ( #18679 )
2026-03-24 20:26:21 -04:00
Adam
a379eb3867
Revert "fix(app): startup efficiency ( #18854 )"
...
This reverts commit 546748a461 .
2026-03-24 18:36:37 -05:00
Adam
cbe1337f24
Revert "fix(app): more startup efficiency ( #18985 )"
...
This reverts commit 98b3340cee .
2026-03-24 18:36:25 -05:00
Kit Langton
50f6aa3763
fix(opencode): skip typechecking generated models snapshot ( #19018 )
2026-03-24 19:11:45 -04:00