opencode/packages/opencode
Kit Langton 248a45801d effect(cli): convert stream.transport to SessionTransport.Service
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.
2026-05-13 19:41:54 -04:00
..
bin
migration
script
specs fix(provider): type model not found errors (#27334) 2026-05-13 22:23:09 +00:00
src effect(cli): convert stream.transport to SessionTransport.Service 2026-05-13 19:41:54 -04:00
test cleanup: make smallOptions rely on variants (#27390) 2026-05-13 18:30:36 -05:00
.gitignore
AGENTS.md
BUN_SHELL_MIGRATION_PLAN.md
bunfig.toml
Dockerfile
drizzle.config.ts
git
package.json sync release versions for v1.14.49 2026-05-13 22:18:40 +00:00
parsers-config.ts
README.md
sst-env.d.ts
tsconfig.json

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.