Spec for embedded React + Vite dashboard served from OpenACP API server.
Covers architecture, SSE real-time updates, 5 pages (dashboard, sessions,
agents, config, topics), auth, EventBus design, and error handling.
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>
- 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.
- 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.
- 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 commands for session handoff between Claude CLI and Telegram, allowing users to transfer sessions seamlessly.
- Introduced `adopt` and `integrate` commands in the CLI for managing agent sessions and integrations.
- Enhanced API server to support session adoption and improved agent capabilities reporting.
- Updated documentation to reflect new features and usage instructions for session handoff.
- Added an HTTP API to the OpenACP daemon for managing sessions and topics.
- Introduced `openacp api` CLI commands for creating, canceling, and querying sessions, as well as managing topics.
- Updated the API server to handle new endpoints for session details, health checks, and configuration management.
- Enhanced topic management with cleanup and deletion capabilities.
- Refactored existing CLI commands to align with the new API structure.
This update improves user interaction by allowing session and topic management directly from the command line, enhancing the overall functionality of OpenACP.
- Added `getSessionRecord` method to `SessionManager` for retrieving session data.
- Introduced `skillMsgId` field in `TelegramPlatformData` to persist message IDs across sessions.
- Updated `TelegramAdapter` to restore and persist `skillMsgId` during command handling and cleanup.
- Enhanced session name persistence to ensure it is retained after bot restarts.
- Included verification steps for manual testing of new functionality.
- Upgraded grammY dependency from v1.30.0 to v1.41.1 in package.json and pnpm-lock.yaml.
- Deleted obsolete Telegram streaming redesign implementation and specification documents as they are no longer relevant.
7-task plan for HTTP control API + openacp runtime CLI subcommand.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: ee8edb8efaa5
Spec for HTTP control API embedded in daemon + openacp runtime CLI subcommand.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: d19f152cf90a
Providers:
- ngrok: supports authtoken, domain, region options
- bore: supports server, port, secret options (default: bore.pub)
- tailscale: Funnel provider, resolves hostname via tailscale status
Config backward compatibility:
- Auto-migrate: existing configs without tunnel section get it added
to the file with enabled=true and cloudflare as default provider
- Zod default remains enabled=false for safety
- DEFAULT_CONFIG includes tunnel section for new installations
Resilience:
- EADDRINUSE on tunnel HTTP server warns instead of crashing
- Unknown provider falls back to cloudflare with warning
Docs:
- Tunnel service design spec
- Implementation plan
- Added support for dynamic skill commands in the Telegram adapter, allowing for real-time command updates based on user interactions.
- Implemented methods to send and clean up skill commands, enhancing user experience with pinned messages and command autocomplete.
- Updated command handling to include skill-specific callbacks and keyboard generation for better interaction.
- Refactored existing command setup to accommodate new skill command features.
- Updated logging system to use Pino for structured logging, including session-specific loggers.
- Refactored project structure in CLAUDE.md for better organization and clarity.
- Added new build scripts and commands in README.md for easier usage.
- Improved error handling and logging in core components and Telegram adapter.
- Introduced session log retention and cleanup functionality.
- Updated package.json and pnpm-lock.yaml to include new logging dependencies.
- Auto-detect agents from PATH and node_modules/.bin (prefer claude-agent-acp)
- Validate Telegram bot token and chat ID against API
- Streamlined 3-step setup: Telegram, Agents, Workspace
- Auto-save config and auto-start after setup
- Fix bin entry to use cli.js for proper command routing
- Update setup-guide.md and README.md to match new flow
- Security defaults applied automatically (editable in config)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 605d217b3192
- Use Zod-inferred types instead of non-existent type names
- Add writeNew() and getConfigPath() methods to ConfigManager
- Set enabled: true and note topic IDs are auto-created
- Use command -v instead of which for portability
- Match agent detection to actual binary names (claude-agent-acp)
- Clarify allowedUserIds parsing to string[]
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 6af3b249cdc2
Interactive first-run wizard that guides users through Telegram, agent,
workspace, and security configuration when no config file exists.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 9eb56d895bc1