Files
anomalyco_opencode/packages/opencode/test
Kit Langton cc412f3014 refactor: migrate Instance ALS reads to InstanceRef in Effect services
Migrate 16 direct Instance.directory/worktree/project reads inside
Effect code to use InstanceState.directory/context helpers that check
the InstanceRef first and fall back to ALS.

- Export InstanceState.directory and InstanceState.context helpers
- bus/index.ts: GlobalBus.emit uses InstanceState.directory
- session/prompt.ts: 5 callsites migrated to InstanceState.context
- session/index.ts: 4 callsites migrated
- session/compaction.ts: 1 callsite migrated
- config/config.ts: 1 callsite migrated
- format/index.ts: 1 callsite migrated
- worktree/index.ts: 5 callsites migrated
- storage/db.ts: Database.effect preserves Instance ALS via Instance.bind
- test/lib/llm-server.ts: add wait/hold/fail SSE stream support
- Remove most provideInstance(dir) wrappers from prompt tests
  (5 remain due to Instance.state sync ALS dependency)
2026-03-31 16:42:16 -04:00
..
2026-03-31 16:42:13 -04:00
2026-03-31 16:42:13 -04:00
2026-03-31 16:42:13 -04:00
2026-03-20 16:11:21 +00:00
2026-03-26 15:49:53 +00:00
2026-03-26 18:42:59 +00:00
2025-11-06 13:03:12 -05:00
2026-03-31 16:42:13 -04:00
2025-12-11 19:20:23 +01:00