Kit Langton
0c2b5b2c39
fix(bus): use Fiber.interrupt for clean disposal of subscribeAll
...
Use forkInstance + Fiber.interrupt (which awaits) instead of
runCallbackInstance + interruptUnsafe (fire-and-forget) for
subscribeAll. This ensures the fiber completes before layer
invalidation, allowing the RcMap refCount to drop to 0.
subscribeAll now delivers InstanceDisposed as the last callback
message via Effect.ensuring when the fiber is interrupted during
disposal, but not on manual unsubscribe.
Add priority support to registerDisposer so Bus can interrupt
subscription fibers (priority -1) before layer invalidation
(priority 0).
Add forkInstance helper to effect/runtime that returns a Fiber
instead of an interrupt function.
2026-03-19 08:49:06 -04:00
Kit Langton
009d77c9d8
refactor(format): make formatting explicit instead of bus-driven
...
Replace the implicit Bus.subscribe(File.Event.Edited) formatter with
an explicit Format.run(filepath) call in write/edit/apply_patch tools.
This ensures formatting completes before FileTime stamps and LSP
diagnostics run, rather than relying on the bus to block on subscribers.
- Add Format.run() to the Effect service interface and legacy adapter
- Call Format.run() in write, edit, and apply_patch tools after writes
- Remove Bus subscription from Format layer
2026-03-18 22:09:14 -04:00
Kit Langton
f3cf519d98
feat(bus): migrate Bus to Effect service with PubSub internals
...
Add Bus.Service as a ServiceMap.Service backed by Effect PubSub:
- publish() pushes to per-type + wildcard PubSubs and GlobalBus
- subscribe() returns a typed Stream via Stream.fromPubSub
- subscribeAll() returns a wildcard Stream
Legacy adapters wrap the Effect service:
- publish → runPromiseInstance
- subscribe/subscribeAll → runCallbackInstance with Stream.runForEach
Other changes:
- Register Bus.Service in Instances LayerMap
- Add runCallbackInstance helper to effect/runtime
- Remove unused Bus.once (zero callers)
- Skip PubSub creation on publish when no subscribers exist
- Move subscribe/unsubscribe logging into the Effect service layer
2026-03-18 21:36:04 -04:00
Kit Langton
645c15351b
test(bus): add comprehensive test suite for Bus service
...
Covers publish/subscribe, multiple subscribers, unsubscribe, subscribeAll,
once, GlobalBus forwarding, instance isolation, disposal, and async subscribers.
2026-03-18 21:05:36 -04:00
Kit Langton
f63a2a2636
fix(bus): tighten GlobalBus payload and BusEvent.define types
...
Constrain BusEvent.define to ZodObject instead of ZodType so TS knows
event properties are always a record. Type GlobalBus payload as
{ type: string; properties: Record<string, unknown> } instead of any.
Refactor watcher test to use Bus.subscribe instead of raw GlobalBus
listener, removing hand-rolled event types and unnecessary casts.
2026-03-18 20:57:08 -04:00
Kit Langton
84e62fc662
fix(session): preserve tagged error messages ( #18165 )
2026-03-18 20:36:53 -04:00
Luke Parker
5d2f8d77f9
fix: restore recent test regressions and upgrade effect beta ( #18158 )
2026-03-19 09:54:01 +10:00
Kit Langton
81be544981
feat(filesystem): add AppFileSystem service, migrate Snapshot ( #18138 )
2026-03-18 19:52:43 -04:00
opencode-agent[bot]
773c1192dc
chore: generate
2026-03-18 23:45:03 +00:00
Kit Langton
5ddfe4ada5
chore: type Provider.list() as Record<ProviderID, Info>, delete dead code ( #18123 )
2026-03-18 19:43:12 -04:00
Luke Parker
54ed87d53c
fix(windows): use cross-spawn for shim-backed commands ( #18010 )
2026-03-19 08:49:16 +10:00
Aiden Cline
8ee939c741
tweak: remove unnecessary parts from the fallback system prompt ( #18140 )
2026-03-18 17:27:47 -05:00
opencode-agent[bot]
c3ddc85cca
chore: generate
compliance-close / close-non-compliant (push) Has been cancelled
deploy / deploy (push) Has been cancelled
docs-locale-sync / sync-locales (push) Has been cancelled
generate / generate (push) Has been cancelled
nix-eval / nix-eval (push) Has been cancelled
publish / version (push) Has been cancelled
publish / build-cli (push) Has been cancelled
publish / build-tauri (map[host:blacksmith-4vcpu-ubuntu-2404 target:x86_64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-tauri (map[host:blacksmith-4vcpu-windows-2025 target:x86_64-pc-windows-msvc]) (push) Has been cancelled
publish / build-tauri (map[host:blacksmith-8vcpu-ubuntu-2404-arm target:aarch64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Has been cancelled
publish / build-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Has been cancelled
publish / build-tauri (map[host:windows-2025 target:aarch64-pc-windows-msvc]) (push) Has been cancelled
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:aarch64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Has been cancelled
publish / build-electron (map[host:macos-latest platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Has been cancelled
publish / build-electron (map[host:macos-latest platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Has been cancelled
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Has been cancelled
publish / publish (push) Has been cancelled
test / unit (linux) (push) Has been cancelled
test / unit (windows) (push) Has been cancelled
test / e2e (linux) (push) Has been cancelled
test / e2e (windows) (push) Has been cancelled
typecheck / typecheck (push) Has been cancelled
beta / sync (push) Has been cancelled
containers / build (push) Has been cancelled
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Has been cancelled
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Has been cancelled
nix-hashes / compute-hash (macos-15-intel, x86_64-darwin) (push) Has been cancelled
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Has been cancelled
storybook / storybook build (push) Has been cancelled
nix-hashes / update-hashes (push) Has been cancelled
2026-03-18 17:37:40 +00:00
Kit Langton
a800583aea
refactor(effect): unify service namespaces and align naming ( #18093 )
2026-03-18 13:34:36 -04:00
Aiden Cline
171e69c2fc
feat: integrate support for multi step auth flows for providers that require additional questions ( #18035 )
2026-03-18 11:36:19 -05:00
Aiden Cline
822bb7b336
tweak: update gpt subscription model list ( #18101 )
2026-03-18 10:51:39 -05:00
David Hill
d2194f6dde
Revert "tui: clean up search button in session header by removing magnifying glass icon and excess padding"
...
This reverts commit bfd4787fcd .
2026-03-18 13:52:36 +00:00
David Hill
bfd4787fcd
tui: clean up search button in session header by removing magnifying glass icon and excess padding
2026-03-18 13:49:58 +00:00
Johannes Loher
56102ff642
fix(core): detect vLLM context overflow errors ( #17763 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
2026-03-17 23:52:16 -05:00
opencode-agent[bot]
0292f1b559
chore: generate
2026-03-18 02:01:02 +00:00
Kit Langton
5dfe86dcb1
refactor(truncation): effectify TruncateService, delete Scheduler ( #17957 )
2026-03-17 21:59:54 -04:00
Ariane Emory
4b4dd2b882
fix: Add apply_patch to EDIT_TOOLS filter ( #18009 )
2026-03-17 20:11:42 -05:00
opencode-agent[bot]
bc949af623
chore: generate
2026-03-18 01:05:16 +00:00
Kit Langton
9e7c136de7
refactor(snapshot): effectify SnapshotService ( #17878 )
2026-03-17 21:04:16 -04:00
Kit Langton
fee3c196c5
add prompt schema validation debug logs ( #17812 )
2026-03-17 19:18:16 -04:00
Kyle Altendorf
544315dff7
docs: add describe annotation to snapshot config field ( #17861 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
2026-03-16 22:46:09 -05:00
Luke Parker
cb69501098
test(opencode): deflake file and tool timing ( #17859 )
2026-03-17 00:49:04 +00:00
Kyle Altendorf
a64f604d54
fix(tui): check for selected text instead of any selection in dialog escape handler ( #16779 )
2026-03-17 10:25:03 +10:00
Kit Langton
3849822769
refactor(skill): effectify SkillService as scoped service ( #17849 )
2026-03-16 23:51:07 +00:00
AbigailJixiangyuyu
e9a17e4480
fix(windows): restore /editor support on Windows ( #17146 )
2026-03-17 08:11:02 +10:00
Aiden Cline
68809365df
fix: github copilot enterprise integration ( #17847 )
2026-03-16 17:05:14 -05:00
opencode-agent[bot]
8da511dfa8
chore: generate
2026-03-16 20:19:50 +00:00
Kit Langton
69381f6aea
refactor(file): effectify FileService as scoped service ( #17845 )
2026-03-16 16:18:39 -04:00
Kit Langton
335356280c
refactor(format): effectify FormatService as scoped service ( #17675 )
2026-03-16 15:58:36 -04:00
opencode-agent[bot]
03d84f49c2
chore: generate
2026-03-16 18:24:21 +00:00
Kit Langton
2cbdf04ec9
refactor(file-time): effectify FileTimeService with Semaphore locks ( #17835 )
2026-03-16 18:23:13 +00:00
Kit Langton
e5cbecf17c
fix+refactor(vcs): fix HEAD filter bug and effectify VcsService ( #17829 )
2026-03-16 13:59:11 -04:00
Kit Langton
9e740d9947
stack: effectify-file-watcher-service ( #17827 )
2026-03-16 13:18:40 -04:00
Kit Langton
469c3a4204
refactor(instance): move scoped services to LayerMap ( #17544 )
2026-03-16 12:55:14 -04:00
DS
4cb29967f6
fix(opencode): apply message transforms during compaction ( #17823 )
2026-03-16 11:32:53 -05:00
Johannes Loher
e718db624f
fix(core): consider code: context_length_exceeded as context overflow in API call errors ( #17748 )
2026-03-16 10:25:24 -05:00
Kit Langton
c523aac586
fix(cli): scope active org labels to the active account ( #16957 )
2026-03-16 10:01:42 -04:00
Luke Parker
59c530cc6c
fix(opencode): teach Kit's test what an ID is ( #17745 )
2026-03-16 18:08:27 +10:00
Jason Quense
c2ca1494e5
fix(opencode): preserve prompt tool enables with empty agent permissions ( #17064 )
...
Co-authored-by: jquense <jquense@ramp.com >
2026-03-15 23:01:46 -05:00
opencode
4ee426ba54
release: v1.2.27
2026-03-16 02:33:48 +00:00
Aiden Cline
510374207d
fix: vcs watcher if statement ( #17673 )
2026-03-15 19:20:39 -05:00
Kit Langton
2fc06c5a17
chore(permission): delete legacy permission module ( #17534 )
deploy / deploy (push) Has been cancelled
generate / generate (push) Has been cancelled
nix-eval / nix-eval (push) Has been cancelled
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Has been cancelled
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Has been cancelled
nix-hashes / compute-hash (macos-15-intel, x86_64-darwin) (push) Has been cancelled
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Has been cancelled
publish / version (push) Has been cancelled
storybook / storybook build (push) Has been cancelled
test / unit (linux) (push) Has been cancelled
test / unit (windows) (push) Has been cancelled
typecheck / typecheck (push) Has been cancelled
nix-hashes / update-hashes (push) Has been cancelled
publish / build-cli (push) Has been cancelled
publish / build-tauri (map[host:blacksmith-4vcpu-ubuntu-2404 target:x86_64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-tauri (map[host:blacksmith-4vcpu-windows-2025 target:x86_64-pc-windows-msvc]) (push) Has been cancelled
publish / build-tauri (map[host:blacksmith-8vcpu-ubuntu-2404-arm target:aarch64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Has been cancelled
publish / build-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Has been cancelled
publish / build-tauri (map[host:windows-2025 target:aarch64-pc-windows-msvc]) (push) Has been cancelled
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:aarch64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Has been cancelled
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Has been cancelled
publish / build-electron (map[host:macos-latest platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Has been cancelled
publish / build-electron (map[host:macos-latest platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Has been cancelled
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Has been cancelled
publish / publish (push) Has been cancelled
test / e2e (linux) (push) Has been cancelled
test / e2e (windows) (push) Has been cancelled
2026-03-14 20:56:52 -05:00
Kit Langton
52877d8765
fix(question): clean up pending entry on abort ( #17533 )
2026-03-15 00:49:49 +00:00
Sebastian
8f957b8f90
remove sighup exit ( #17254 )
2026-03-15 00:52:28 +01:00
opencode-agent[bot]
0befa1e57e
chore: generate
2026-03-14 18:29:06 +00:00