Fix CI from code
A short script asks OpenCode to fix failing tests, then runs them again.
Drive OpenCode from your own scripts, CI jobs and tools. The SDK runs OpenCode inside your process, with your config and models, and its typed client creates sessions, sends prompts and streams every event.
A short script asks OpenCode to fix failing tests, then runs them again.
Stream events to see each tool the agent calls, as it happens.
Wire OpenCode into bots, dashboards and workflows with a few lines.
Runs OpenCode inside your process, with your config and models.
OpenCodeWorkerd (@opencode/sdk/workerd and @opencode/sdk/workerd/effect) now exposes fetch, password, cors, workspace, machine-link WebSocket upgrades, Durable Object WebSocket hibernation handlers, and a host imageResizer hook, with demand-driven background timers so Durable Objects can hibernate.#67022#67023#67026#67037@opencode/sdk/workerd@opencode/sdk/workerd: forward your Durable Object's alarm() to opencode.alarm() so idle remote workspaces suspend.#66183#66240