أصلح CI من الكود
سكربت قصير يطلب من OpenCode إصلاح الاختبارات الفاشلة، ثم يشغّلها من جديد.
تحكّم في OpenCode من سكربتاتك ومهام CI وأدواتك. يشغّل SDK OpenCode داخل عمليتك، بإعداداتك ونماذجك، وينشئ عميله المُنمّط الجلسات ويرسل المطالبات ويبث كل حدث.
سكربت قصير يطلب من OpenCode إصلاح الاختبارات الفاشلة، ثم يشغّلها من جديد.
ابثّ الأحداث لترى كل أداة يستدعيها الوكيل لحظة استدعائها.
اربط OpenCode بالروبوتات ولوحات المعلومات وسير العمل ببضعة أسطر.
يشغّل OpenCode داخل عمليتك، بإعداداتك ونماذجك.
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.#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.#60329