mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 06:01:09 +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. |
||
|---|---|---|
| .. | ||
| app | ||
| console | ||
| containers | ||
| core | ||
| desktop | ||
| docs | ||
| enterprise | ||
| extensions/zed | ||
| function | ||
| http-recorder | ||
| identity | ||
| llm | ||
| opencode | ||
| plugin | ||
| script | ||
| sdk | ||
| slack | ||
| storybook | ||
| ui | ||
| web | ||