Napraw CI z kodu
Skrypt prosi OpenCode o naprawę nieudanych testów i uruchamia je ponownie.
Steruj OpenCode z własnych skryptów, zadań CI i narzędzi. SDK uruchamia OpenCode w Twoim procesie, z Twoją konfiguracją i modelami, a typowany klient tworzy sesje, wysyła prompty i strumieniuje każde zdarzenie.
Skrypt prosi OpenCode o naprawę nieudanych testów i uruchamia je ponownie.
Strumieniuj zdarzenia, by na bieżąco widzieć każde narzędzie, którego używa agent.
Podłącz OpenCode do botów, dashboardów i workflowów w kilku linijkach.
Uruchamia OpenCode w Twoim procesie, z Twoją konfiguracją i modelami.
experimental.mcp.event events from MCP event subscriptionsparentID field.session.generate returns tokens and cost along with textOn a Location that is still loading plugins, agent.list returns the agents loaded so far, and integration.list, usage.limits, vcs.init, rpc.call and artifact.* no longer wait up to 5 seconds. Entries and actions that a plugin provides appear when it finishes loading, so refresh on the matching *.updated event. Model, provider, generate.*, voice.* and websearch.query endpoints still wait.
client.experimental.job.list() and its Effect equivalent for listing background shell, subagent, and image jobs, with session, descendant, kind, and status filters.#60698fetch implementation for OpenCode HTTP, model, web, and remote MCP traffic.#61582