Arregla la CI
Un script corto pide a OpenCode corregir los tests fallidos y los repite.
Controla OpenCode desde tus scripts, jobs de CI y herramientas. El SDK ejecuta OpenCode dentro de tu proceso, con tu configuración y tus modelos, y su cliente tipado crea sesiones, envía prompts y transmite cada evento.
Un script corto pide a OpenCode corregir los tests fallidos y los repite.
Transmite eventos para ver cada herramienta que llama el agente, al momento.
Integra OpenCode en bots, paneles y flujos de trabajo con unas pocas líneas.
Ejecuta OpenCode dentro de tu proceso, con tu configuración y modelos.
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.#61582Enable "experimental": { "artifacts": true } in opencode.json to let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage.#60351
client.experimental.persistentPty.update to rename terminals or clear a user title, and exposed userTitle plus persistent-pty.updated events.#60329experimental.media_blob is enabledAdded lazy loading for stored image references when experimental.media_blob is enabled. Images are downloaded only for previews, while undo, revert, fork, and prompt recall restore referenced attachments safely.#60116
LLMResponse output on AIError.partial when generation, object generation, or a tool loop fails.#60477tool(...), with optional output schemas and executable or declaration-only tools.#60407debug, models, plugins, provider, and user options to the Responses route.#60044execute handler can throw available to the AI client.#60431filename alongside file_url on OpenAI Responses requests.#60382