- Updated the documentation to indicate the total number of middleware hooks has increased from 18 to 19.
- Adjusted references in the getting-started-plugin guide to ensure consistency with the updated middleware hook count.
- Corrected the middleware hooks section in the plugin template to reflect the accurate total.
* 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>
- Added `--json` flag descriptions to various CLI commands in the help text.
- Updated command usage examples to include `--json` for machine-readable output.
- Clarified that commands supporting `--json` will output results in a consistent JSON format.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Updated all references from 'dangerous mode' to 'bypass permissions' in CLI commands, API documentation, and internal logic.
- Adjusted command usage and descriptions to reflect the new terminology for clarity and consistency.
- Removed warmup functionality from session management as part of the refactor.
- Added system messages and structured events for agent switching, including "starting", "succeeded", and "failed" statuses.
- Updated the event bus to handle new `session:agentSwitch` events, allowing UIs to display loading and error states during agent transitions.
- Enhanced error handling during agent startup to provide users with clear guidance on resolving issues.
This change improves user experience by providing real-time feedback during agent switches.
- Changed the behavior of the `/archive` command to stop the agent session and permanently delete the Telegram topic without recreating it.
- Updated related tests to reflect the new confirmation messages and ensure accurate descriptions of the archiving process.
- Adjusted the interface and implementation of the `archiveSessionTopic` method to return void instead of a new thread ID, aligning with the new functionality.
This change clarifies the archiving process and ensures that users are aware that the deletion is permanent and cannot be undone.
- Add restart CLI command (stop + start in one step)
- Disable tsup code splitting to prevent ERR_MODULE_NOT_FOUND when
daemon is running during a global npm upgrade (hash-named chunks
get replaced, breaking dynamic imports in the old process)
- Update help, docs, and README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Changed 'plugins' to 'plugin' in installation, configuration, enabling, and disabling commands for uniformity.
- Updated Node.js version requirements in install script to reflect the minimum supported version.
Mark Discord and Slack as "coming soon" in agent-switch docs and chat-commands table since those adapter integrations were reverted. In the rollback path of switchSessionAgent(), attempt agentManager.resume() with the saved fromAgentSessionId before falling back to a fresh spawn, preserving conversation history on rollback when possible.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Documents the /switch command, mid-conversation agent switching behavior,
history label injection, session resume logic, and the agentSwitch.labelHistory
config option. Adds a dedicated feature page and updates chat-commands,
agents, configuration-schema, README, and SUMMARY.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- contributing.md: full step-by-step guide for publishing to registry
- getting-started-plugin.md: brief mention with link after npm publish step
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Updated various links in README.md and documentation files to point to the new GitBook URLs for better accessibility.
- Ensured all references to the Agent Client Protocol (ACP) guide are now linked correctly.
OpenACP is self-hosted so the user and developer are the same person.
Consolidated into one unified quickstart page with a natural flow:
Install → Setup wizard → Start → Chat.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>