แก้ CI จากโค้ด
สคริปต์สั้นๆ ขอให้ OpenCode แก้เทสต์ที่ล้มเหลว แล้วรันเทสต์อีกครั้ง
ควบคุม OpenCode จากสคริปต์ งาน CI และเครื่องมือของคุณเอง SDK รัน OpenCode ภายในโปรเซสของคุณด้วยการตั้งค่าและโมเดลของคุณ และไคลเอนต์แบบมีชนิดข้อมูลจะสร้างเซสชัน ส่งพรอมต์ และสตรีมทุกอีเวนต์
สคริปต์สั้นๆ ขอให้ OpenCode แก้เทสต์ที่ล้มเหลว แล้วรันเทสต์อีกครั้ง
สตรีมอีเวนต์เพื่อดูเครื่องมือแต่ละตัวที่เอเจนต์เรียกใช้ ทันทีที่เกิดขึ้น
เชื่อม OpenCode เข้ากับบอต แดชบอร์ด และเวิร์กโฟลว์ด้วยโค้ดไม่กี่บรรทัด
รัน OpenCode ภายในโปรเซสของคุณ ด้วยการตั้งค่าและโมเดลของคุณ
Enable "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.#60382SessionInfo.time.busy for the latest execution’s start timeif and until inputs for client.experimental.schedule.create, plus schedule check results and output fields.#60137