hightman 6f77aed353
feat(integrate): add OpenCode session handoff integration (#205)
* feat(integrate): add opencode handoff plugin strategy

Add a plugin-based integration path so OpenCode can hand off sessions bidirectionally while preserving the existing hooks flow for other agents. This enables /openacp:handoff in OpenCode and avoids jq requirements for that integration.

Co-authored-by: Codex <noreply@openai.com>

* fix(integrate): address PR review for opencode strategy

Make integration strategy discriminated and exhaustive, harden OpenCode injected text part shape, and improve plugin install/uninstall idempotency and messaging. Add regression tests for reinstall and empty uninstall paths.
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: 0xmrpeter <0xmrpeter@gmail.com>

---------

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: 0xmrpeter <0xmrpeter@gmail.com>
2026-04-05 10:07:19 +07:00
..

API Reference

Complete reference for CLI commands, REST API, configuration schema, and environment variables.

Section Contents
CLI Commands Every openacp subcommand: usage, options, examples
REST API HTTP endpoints exposed by the local API server
Configuration Schema Full ~/.openacp/config.json field reference
Environment Variables OPENACP_* env vars and their config equivalents

The REST API listens on http://127.0.0.1:21420 by default (configurable via api.port / api.host). All authenticated endpoints require a Bearer token read from ~/.openacp/api-secret. The CLI reads this file automatically; external clients must read it explicitly.