mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 06:49:56 +00:00
Replace the per-input `Layer.fresh` + `makeRuntime` facade with a proper `SessionTransport.Service` exposing a `make(input)` method that returns the transport handle. The layer is now static; per-input state lives inside the handle returned by `svc.make(...)`. Update the runtime.ts caller to yield the service inside `Effect.gen` and wrap the resulting `TransportHandle` in the existing Promise-shaped `SessionTransport` for the Promise-based prompt-queue code. `createSessionTransport(...)` is kept as a thin backward-compatible wrapper for tests. |
||
|---|---|---|
| .. | ||
| bin | ||
| migration | ||
| script | ||
| specs | ||
| src | ||
| test | ||
| .gitignore | ||
| AGENTS.md | ||
| BUN_SHELL_MIGRATION_PLAN.md | ||
| bunfig.toml | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| git | ||
| package.json | ||
| parsers-config.ts | ||
| README.md | ||
| sst-env.d.ts | ||
| tsconfig.json | ||