Commit Graph

10 Commits

Author SHA1 Message Date
Kit Langton 0c510b0e61 refactor(lsp): effectify LSP service with InstanceState
Migrate LSP from Instance.state() to Effect Service/Layer/InstanceState
pattern with makeRunPromise and async facades.

- InstanceState for per-directory lifecycle with ScopedCache
- Effect.fn tracing on all 14 service methods
- Effect.fnUntraced for internal helpers (getClients, runForFile, runForAll)
- addFinalizer for client shutdown on instance disposal
- No changes to server.ts, client.ts, launch.ts, or language.ts
- No consumer changes — all 15+ callers use unchanged async facades
2026-03-25 12:31:51 -04:00
Kit Langton 4647aa80ac effectify Worktree service (#18679) 2026-03-24 20:26:21 -04:00
Kit Langton 539b01f20f effectify Project service (#18808) 2026-03-24 14:04:22 -04:00
Kit Langton fe53af4819 effectify ToolRegistry service (#18571) 2026-03-22 01:06:01 +00:00
opencode-agent[bot] e82c5a9a28 chore: generate 2026-03-22 00:51:19 +00:00
Kit Langton 3236f228fb effectify Plugin service (#18570) 2026-03-22 00:50:22 +00:00
Kit Langton 0e0e7a4a4b effectify Command service (#18568) 2026-03-22 00:21:41 +00:00
Kit Langton 10a3d6c54e effectify SessionStatus service (#18565) 2026-03-21 23:55:07 +00:00
Kit Langton 38e0dc9ccd Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
Kit Langton a800583aea refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00