- Keep GET /api/tunnel returning { enabled, url, provider } for backward
compat. New list endpoint at GET /api/tunnel/list.
- Re-attach inline keyboard after stop callback so remaining tunnels
keep their Stop buttons.
- Remove unnecessary (config as any) cast for maxUserTunnels.
- Skip system entries in restore() to prevent double-registration.
- Rename stopAll() → shutdown() (kills everything including system).
Add stopAllUser() for user-facing operations.
- Added text processing to strip leading slashes from unrecognized commands in the Telegram adapter to prevent agent subprocesses from hanging.
- Updated session cancellation messages for clarity, changing "Cancel session command" to "Abort prompt command" and adjusting user feedback for session status.
- Modified session resumption logic to allow resuming cancelled sessions while preventing errors from being resumed.
- Implemented abort functionality in the prompt queue to handle ongoing processes more gracefully.
Tunnel Registry:
- Multi-port registry: each port gets its own cloudflared process + URL
- Two entry types: system (file viewer, hidden) and user (managed)
- Persistence to ~/.openacp/tunnels.json with debounced writes
- Restore tunnels on restart (re-spawn with new URLs)
- Max concurrent user tunnels (default: 5, configurable)
- Race condition handling for stop during spawn
- Provider-per-entry from TunnelProvider abstraction
Telegram:
- /tunnel <port> [label] — create tunnel
- /tunnels — list with inline Stop buttons
- /tunnel stop <port> — stop tunnel
- Session destroy auto-stops user tunnels with notification
CLI:
- openacp tunnel add/list/stop/stop-all subcommands
- Calls daemon API endpoints
Daemon API:
- POST /api/tunnel — create tunnel
- GET /api/tunnel — list user tunnels
- DELETE /api/tunnel/:port — stop tunnel
- DELETE /api/tunnel — stop all user tunnels
Agent Integration:
- Tunnel skill installed via openacp integrate claude
- ~/.claude/skills/openacp-tunnel/SKILL.md
- Broad trigger: "expose port", "share app", "preview on phone", etc.
- Product guide updated with tunnel CLI docs
Config:
- Added tunnel.maxUserTunnels (default: 5)
- Generic bi-directional handoff for all agents (not just Claude)
- CLI typo suggestions with fuzzy matching
- Per-agent setup instructions shown after install
- Fix ACP flag stripping and base args in agents run
- Comprehensive test coverage (+410 test cases across 22 new test files)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude was pre-installed before the checkbox was shown, then filtered
out as "already installed", making it invisible. Now installed agents
appear as pre-checked disabled items so users can see Claude is ready.
Fixes#36
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace Claude-only handoff with data-driven integration engine:
- Add AgentIntegrationSpec to define hooks, settings paths, output formats per agent
- Extend AGENT_CAPABILITIES with resume commands for 7 agents (Claude, Cursor, Gemini, Cline, Codex, Kilo, Amp)
- Add integration specs for 4 agents with hooks systems (Claude, Cursor, Gemini, Cline)
- Rewrite integrate.ts as generic engine: generates scripts, merges settings based on spec data
- Support both settings_json (Claude/Gemini/Cline) and hooks_json (Cursor) config formats
- Support both markdown commands (Claude) and skills (Cursor) for handoff triggers
- Auto-integrate handoff on agent install (CLI + Telegram bot)
- Auto-unintegrate on agent uninstall
- Backward compat: Claude keeps CLAUDE_SESSION_ID/CLAUDE_WORKING_DIR variable names
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add "Did you mean: X?" suggestions when users mistype commands, agent
names, config keys, or flags. Uses fastest-levenshtein with prefix and
substring matching for comprehensive typo detection across 7 integration
points: top-level commands, api subcommands, agents subcommands, agent
name lookups, integrate command, config set keys, and doctor flags.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Updated the agent installation process to display setup steps with tap-to-copy commands in Telegram. Introduced a new function to format setup steps, ensuring commands are easily accessible. Adjusted CLI examples for clarity and consistency, emphasizing first-run instructions for certain agents.
Added a new method to enhance installed agents by updating their properties based on registry information. This includes fixing names, versions, registry IDs, and distributions for agents that were migrated with generic or unknown values. Logs a message when changes are made to the installed agents.
Updated CLI command functions to accept and utilize arguments, improving flexibility and usability. Added help messages for install, uninstall, and plugins commands. Enhanced API command help for better user guidance. Improved agent installation logic to ensure the latest package versions are used.
The agents run command was only passing user args, missing the agent's
own args (e.g., package name for npx). Now includes base args while
stripping ACP-specific flags (--acp, acp) so the interactive CLI works.
- Add per-agent setup info for 20+ agents (login commands, API keys, env vars)
- Create docs/guide/agents.md with detailed setup instructions for every agent
- Show setup steps automatically after agent installation (CLI + Telegram)
- Add `openacp agents run` command to execute agent CLI for login/config
- Rewrite CLI help with clear sections and examples
- Update assistant system prompt to use AgentCatalog for agent discovery
- Update product guide with agent management, registry info, and troubleshooting
- Added 'pnpm test:watch' command for watch mode in testing.
- Expanded file structure documentation to include new core and adapter modules.
- Introduced sections on message flow and session state machine for better understanding of architecture.
- Updated CLI commands section with detailed usage for daemon management, configuration, agents, plugins, integrations, diagnostics, and API.
- Add pagination to /agents in Telegram (6 per page, prev/next buttons)
- Show agent descriptions from ACP Registry in both CLI and Telegram
- Deduplicate agent picker logic (handleNew + startInteractiveNewSession)
- Improve CLI install progress with visual progress bar
- Add supported agents table and ACP Registry attribution to README
- Add social links and keywords to package.json and publish script
- Fix na: callback to use topic-first pattern (prevent race condition)
- Add zip-slip protection for binary archive extraction
- Remove duplicate escapeHtml, import from formatting.ts
- Consolidate commandExists into single shared function
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add AgentCatalog service layer that fetches agents from the official ACP
Registry CDN, supports 3 distribution types (npx, uvx, binary), and
manages installed agents in ~/.openacp/agents.json.
- New core modules: agent-catalog, agent-store, agent-installer, agent-dependencies
- Bundle registry snapshot for offline fallback
- Auto-migrate existing config.agents to new agent store on startup
- CLI: openacp agents list/install/uninstall/refresh/info
- Telegram: /agents browser, /install command, per-session agent picker
- Setup flow rewritten to use registry with multi-select
- 28 agents available from registry (Claude, Gemini, Cursor, Copilot, etc.)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Introduced a new 'doctor' command in the CLI for running system diagnostics, including a dry-run option.
- Updated the Telegram adapter to integrate the 'doctor' command into the command structure and menu.
- Enhanced the README with a new section for screenshots showcasing the application interface.
- Introduced a new LICENSE file with the MIT License.
- Updated package.json to specify the license as MIT.
- Modified README.md to reflect the change in license from AGPL-3.0 to MIT.
- Updated the CLI configuration command to support setting values directly via arguments.
- Refactored session management to utilize a unified session creation pipeline, improving code organization and maintainability.
- Introduced new API endpoints for editable configuration fields and improved handling of session state changes.
- Enhanced the Telegram adapter to streamline session creation and management, including better integration with the command structure.
- Added tests for new session creation and configuration updates to ensure reliability.
- Updated the Telegram adapter to minimize API calls by refining terminal status checks.
- Enhanced user experience with additional "Cancel" options in command prompts.
- Improved message chunking logic to better handle long messages and prevent HTML tag breaks.
- Introduced a mechanism to track message truncation for more accurate message management.
- Introduced an interactive flow for creating new sessions, allowing users to select agents and workspaces conversationally.
- Updated the assistant system prompt to include product references and improved guidelines for user interactions.
- Added a new command to clear assistant history and improved error handling during session creation.
- Enhanced workspace input handling to support relative paths and ensure user-friendly prompts.
- Added new commands for cleaning up sessions, including a comprehensive cleanup option that excludes notification and assistant topics.
- Updated message formatting for session status display and improved user feedback during cleanup operations.
- Introduced additional parameters for better session management and command handling in the Telegram adapter.
- Updated session handoff terminology in documentation and code for clarity.
- Introduced new commands for managing sessions and integrations in Telegram.
- Improved session transfer functionality between terminal and Telegram.
- Enhanced message formatting to prevent HTML tag breaks during message splitting.
- Added integration management for agents, allowing installation and uninstallation of session transfer features.
This update improves user experience by streamlining session management and enhancing integration options.
Use getCurrentVersion() which walks up directories to find package.json
instead of hardcoded relative path that fails in global installs.
Bump version to 0.4.6.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>