Files
opencode/packages/opencode
Kit Langton 3439521ef0 effectify MCP service: convert remaining Promise code to idiomatic Effect
- fetchFromClient: async function -> Effect.tryPromise + Effect.map
- collectFromConnected: compose directly with Effect fetchFromClient
- closeClient: Effect.promise(.catch) -> Effect.tryPromise + Effect.ignore
- Bus.publish calls: .catch() -> busPublish helper with Effect.tryPromise + Effect.ignore
- startAuth: Effect.promise(async try/catch) -> Effect.tryPromise + Effect.catch
- finishAuth: simplify inner async/await
- create(): eliminate mutable let vars, extract connectRemote/connectLocal
- Extract sanitize helper, CreateResult interface, busPublish helper
- watch callback: use busPublish via Effect.runPromise
- getConfig helper function for repeated Config.get() pattern
2026-03-26 10:39:33 -04:00
..
2026-03-25 14:48:44 +00:00
2026-03-26 10:39:32 -04:00
2026-03-26 00:56:34 +00:00
2026-01-24 12:27:13 -05:00
2026-02-25 01:48:10 -05:00
2026-02-14 04:19:02 +00:00
2026-02-18 13:54:23 -05:00
2026-03-10 16:56:30 +00:00

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.