cloudaxe-opencode/packages/opencode/test/tool
Kit Langton 1dae9c2369 fix: lazy runtime imports in facades to break bundle cycles
All service facades now use @/effect/run (lazy runtime import) instead
of directly importing @/effect/runtime. This breaks the circular
dependency chain that caused "undefined is not an object" crashes in
bun's bundled binary.

- Add src/effect/run.ts with run() and runInstance() lazy wrappers
- Strip all facades to runtime-only functions (no schema re-exports)
- Consumers that need schemas import from service modules directly
- Update specs/effect-migration.md with facade rules and full list
2026-03-20 18:57:23 -04:00
..
__snapshots__ chore: fix test to have deterministic testing (#1401) 2025-07-29 17:54:22 -05:00
fixtures feat: enable GitLab Agent Platform with workflow model discovery (#18014) 2026-03-20 12:55:22 -05:00
apply_patch.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
bash.test.ts fix: lazy runtime imports in facades to break bundle cycles 2026-03-20 18:57:23 -04:00
edit.test.ts fix: lazy runtime imports in facades to break bundle cycles 2026-03-20 18:57:23 -04:00
external-directory.test.ts fix: lazy runtime imports in facades to break bundle cycles 2026-03-20 18:57:23 -04:00
grep.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
question.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
read.test.ts fix: lazy runtime imports in facades to break bundle cycles 2026-03-20 18:57:23 -04:00
registry.test.ts fix: wait for dependencies before loading custom tools and plugins (#12227) 2026-02-05 03:25:43 +00:00
skill.test.ts fix: lazy runtime imports in facades to break bundle cycles 2026-03-20 18:57:23 -04:00
task.test.ts fix: stabilize agent and skill ordering in prompt descriptions (#18261) 2026-03-19 15:04:03 -05:00
truncation.test.ts fix: lazy runtime imports in facades to break bundle cycles 2026-03-20 18:57:23 -04:00
webfetch.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
write.test.ts test(opencode): deflake file and tool timing (#17859) 2026-03-17 00:49:04 +00:00