Files
anomalyco_opencode/packages/opencode
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
..
2026-03-25 14:48:44 +00:00
2026-01-24 12:27:13 -05:00
2026-02-25 01:48:10 -05:00
2026-02-14 04:19:02 +00:00
2025-05-30 20:48:36 -04:00
2026-02-18 13:54:23 -05:00
2026-03-10 16:56:30 +00:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.