Kit Langton
9e26c3a00d
effect: introduce defineService and drop per-call Effect.provide
...
Wave A migrated TuiConfig/Installation callers to
`AppRuntime.runPromise(svc.use(fn).pipe(Effect.provide(svc.layer)))`,
which couples every call site to the service's layer construction.
`defineService(Service, layer)` composes `makeRuntime` on top of an
existing service so the service exposes its own runPromise/runFork/etc.
Each per-service runtime shares the global memoMap, so dependencies are
still built once.
Call sites collapse from:
await AppRuntime.runPromise(
TuiConfig.Service.use((svc) => svc.get()).pipe(Effect.provide(TuiConfig.layer)),
)
to:
await TuiConfig.runPromise((svc) => svc.get())
Same shape applied to Installation. No per-method async wrappers.
2026-05-12 19:32:23 -04:00
Kit Langton
9f290d4381
effect(cli): kill TuiConfig/Installation/SessionCompaction facades
...
Remove makeRuntime + async facade exports from TuiConfig, Installation, and
SessionCompaction. Migrate production callers to AppRuntime.runPromise with
yielded services, and route tests through dedicated mockable hooks where
they previously spied on the facade.
2026-05-12 16:29:18 -04:00
Frank
b9e7cbf13c
sync
2026-05-12 16:06:19 -04:00
Kit Langton
3f74abc6cd
test: simplify Effect migration follow-ups ( #27136 )
2026-05-12 20:00:54 +00:00
Kit Langton
e0d0fe1ff7
test(bus): migrate integration tests to Effect runner ( #27132 )
2026-05-12 19:58:54 +00:00
opencode-agent[bot]
f7dbb4dac4
chore: generate
2026-05-12 19:48:35 +00:00
Kit Langton
c5849e56cc
test(project): migrate project tests to Effect runner ( #27134 )
2026-05-12 19:47:17 +00:00
opencode-agent[bot]
e46ab34d27
chore: generate
2026-05-12 19:44:26 +00:00
Kit Langton
1d4613006a
test(project): migrate instance tests to Effect runner ( #27130 )
2026-05-12 19:41:46 +00:00
Kit Langton
71040c54aa
test(plugin): migrate loader shared tests to Effect runner ( #27129 )
2026-05-12 19:41:44 +00:00
Kit Langton
fec78154b5
test(bus): migrate bus tests to Effect runner ( #27131 )
2026-05-12 19:41:24 +00:00
Kit Langton
3e2ec192cf
test(question): remove WithInstance bridge ( #27128 )
2026-05-12 19:40:01 +00:00
Kit Langton
ec960da42a
test(skill): migrate discovery tests to Effect runner ( #27127 )
2026-05-12 19:39:03 +00:00
Shoubhit Dash
45de4975de
refactor(core): resolve default agent info ( #27125 )
2026-05-13 01:08:30 +05:30
Kit Langton
e540daabc4
test(agent): migrate plan bypass tests to Effect runner ( #27119 )
2026-05-12 14:56:01 -04:00
opencode-agent[bot]
f3c91c5f96
chore: generate
2026-05-12 18:52:25 +00:00
Kit Langton
549b146ea6
Stabilize session event tests ( #27117 )
2026-05-12 18:51:18 +00:00
Kit Langton
3c7569d852
test(tool): migrate external directory tests to Effect runner ( #27122 )
2026-05-12 18:50:56 +00:00
Kit Langton
8f1ded9e08
test(file): migrate ripgrep tests to Effect runner ( #27120 )
2026-05-12 18:50:26 +00:00
Kit Langton
b668af29dd
test(git): migrate git tests to Effect runner ( #27121 )
2026-05-12 18:50:07 +00:00
Kit Langton
ec30ff9120
test(agent): migrate agent tests to Effect runner ( #27118 )
2026-05-12 18:49:30 +00:00
opencode-agent[bot]
a3714d4399
chore: update nix node_modules hashes
2026-05-12 18:27:42 +00:00
Kit Langton
822eec0d62
Fix runner cancel completion ( #27115 )
2026-05-12 14:22:56 -04:00
Kit Langton
3974520742
Migrate UI cancel error to tagged error ( #27112 )
2026-05-12 18:09:00 +00:00
Kit Langton
fda37b3609
Remove Zod from app global SDK ( #27111 )
2026-05-12 14:02:12 -04:00
Kit Langton
6b950b666a
Remove Zod from core dependencies ( #27107 )
2026-05-12 13:51:08 -04:00
Kit Langton
bc4fdb8370
Remove unused app ID schema ( #27105 )
2026-05-12 13:09:23 -04:00
Kit Langton
2b9af91568
Remove Zod from core log ( #27102 )
2026-05-12 13:08:57 -04:00
Kit Langton
53a3f95088
Make core fn Zod import type-only ( #27103 )
2026-05-12 12:58:50 -04:00
Dax Raad
5a4596c879
core: Wait 3 days before installing new package versions to reduce supply chain risk
2026-05-12 12:50:32 -04:00
opencode-agent[bot]
0ce614a280
chore: generate
2026-05-12 16:46:35 +00:00
Kit Langton
e8125e9b42
test(server): migrate session list tests to Effect runner ( #27101 )
2026-05-12 16:45:05 +00:00
Kit Langton
a7b5041674
test(file): migrate fsmonitor tests to Effect runner ( #27099 )
2026-05-12 16:44:04 +00:00
Kit Langton
a16789dfdd
test(tool): migrate apply patch tests to Effect runner ( #27100 )
2026-05-12 16:43:33 +00:00
Kit Langton
8115004c73
test(file): migrate path traversal tests to Effect runner ( #27098 )
2026-05-12 16:42:49 +00:00
Kit Langton
ec4fdaf8e9
test(tool): migrate tool define tests to Effect runner ( #27097 )
2026-05-12 16:42:19 +00:00
Shoubhit Dash
3dc2c1d81c
fix(session): preserve usage update timestamps ( #27094 )
2026-05-12 22:10:28 +05:30
Kit Langton
d658e1e350
Remove local MCP Zod schema ( #27095 )
2026-05-12 12:38:27 -04:00
opencode-agent[bot]
30e3fa1de9
chore: generate
2026-05-12 16:33:06 +00:00
Aiden Cline
23f8b3eb3e
fix: annotate Effect log metadata ( #27093 )
2026-05-12 11:31:18 -05:00
Kit Langton
c7d8b0d565
Delete named schema error wrapper ( #27066 )
2026-05-12 12:04:28 -04:00
Kit Langton
257fcafc83
test(tool): migrate edit concurrency test ( #26983 )
2026-05-12 11:52:31 -04:00
Kit Langton
04aafe2bfc
test(provider): migrate more config-backed cases ( #27067 )
2026-05-12 14:19:49 +00:00
opencode-agent[bot]
0fd0facc44
chore: generate
2026-05-12 13:31:03 +00:00
Kit Langton
0de3b67cc0
test(tool): migrate shell tests to Effect runner ( #26968 )
2026-05-12 13:28:46 +00:00
Kit Langton
28f38fc871
Remove Zod from named errors ( #26982 )
2026-05-12 09:20:15 -04:00
Shoubhit Dash
8feb4a31c7
feat(core): add background job service ( #27033 )
2026-05-12 15:22:38 +05:30
Simon Klee
8f05bbfaa6
prompt: fix cursor math for wide characters ( #27017 )
...
String.length counts code points, not display columns, so CJK
characters and emoji that occupy two terminal cells caused
misaligned cursors, broken mention triggers, and incorrect
history restoration offsets.
Use Bun.stringWidth for now, we need an alternative for this.
Fix #26716
Close #26922
2026-05-12 11:45:28 +02:00
Brendan Allan
d276d96cdf
fix(app): remember selected model variant when switching sessions/projects ( #27029 )
2026-05-12 17:44:50 +08:00
Luke Parker
caf1151cb5
refactor(app): centralize sync query options ( #25941 )
...
Co-authored-by: Brendan Allan <git@brendonovich.dev >
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com >
2026-05-12 16:40:21 +08:00