- Guard against missing --channel value in CLI with clear error message
- Replace InstanceType<any> with proper IChannelAdapter type
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The API endpoint accepted `channel` but the CLI `openacp api new` didn't
pass it through. Add --channel flag to CLI and update Discord/Telegram
assistant prompts to include --channel so sessions are created on the
correct platform.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 27c1f141d0c1
Session creation always used the first registered adapter. Add optional
`channel` field so callers can target a specific platform (e.g. discord).
Falls back to first-adapter behavior when omitted for backward compat.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Semver strips leading zeros, so 2026.0327.1 becomes 2026.327.1
on npm. Adopt this as the canonical format.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- CLAUDE.md: fully rewritten in English, updated project layout
- integrate.ts: remove non-English text from trigger examples
- assistant.ts: translate example text to English
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When plugin API/architecture changes, plugin template files
(especially claude-md.ts and plugin-guide.ts) must be updated
to reflect current API.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Plugin registry updates should go through PR → validate → auto-merge,
same flow as community plugins. Each plugin repo handles its own
registry PR via CI.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
After publishing to npm, CI clones plugin-registry repo,
updates version in all built-in plugin entries, rebuilds
registry.json + README, and pushes. Requires REGISTRY_PAT secret.
Co-Authored-By: Claude Opus 4.6 (1M context) <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>
- Deleted the usage plugin and its associated tests, including usage tracking and budget management.
- Removed references to usage-related methods and types from core components.
- Updated session handling to emit usage events via the event bus instead of directly interacting with the usage store.
- Adjusted tests to reflect the removal of usage tracking and ensure proper event emission.
GitHub-based community plugin registry with auto-merge PRs,
daily version sync from npm, CLI search + smart install,
and verified badge system.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Modified session command handlers to return a 'silent' response type instead of text, allowing for better integration with adapter-specific logic.
- Adjusted command registration for 'new', 'status', 'list', 'newchat', 'resume', 'summary', and 'handoff' commands to reflect this change.
- Updated command name extraction logic in the command registry to improve clarity and functionality.
- Enhanced tests to verify the new silent response behavior for session commands.
- Changed Twitter handle from Open_ACP to openacp_ai in README.md and build-publish.ts.
- Ensured consistency across documentation and scripts for social media links.
- Added a logger for each plugin to improve migration error reporting.
- Updated the lifecycle manager to append to the existing load order during hot-reloads.
- Implemented abort functionality in the terminal for silent migrations to prevent interactive prompts.
- Enhanced the plugin context to ensure proper logging behavior.
These changes aim to improve the robustness of plugin management and migration processes.
install() needs terminal/settings (InstallContext), not PluginContext.
Test template now uses createTestInstallContext with auto-answer prompts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Was using hardcoded fallback '0.6.10' and fragile require path.
Now uses the same version detection as CLI --version command.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SDK needs dist/index.d.ts from CLI tsc build. In CI, build:publish
runs after fresh install with no dist/. Now build-publish.ts auto-runs
tsc if dist/index.d.ts missing, and CI runs pnpm build first.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- SDK peerDependencies: @openacp/cli (not workspace name)
- build-publish.ts builds and prepares both packages
- GitHub Actions publishes both on tag push
- SDK version synced with CLI version
- Template string deps excluded from build verification
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New `openacp dev <plugin-path>` command that:
- Compiles TypeScript if tsconfig.json exists
- Starts tsc --watch in background for live compilation
- Loads the dev plugin via DevPluginLoader after core plugins boot
- Watches dist/ directory for changes with debounced hot-reload
- Supports --no-watch and --verbose flags
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Loads plugins from local directories by importing dist/index.js. Uses
temp file copy strategy to bust Node.js ESM module cache, enabling
reliable hot-reload during development.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Interactive scaffold generator that creates a complete plugin project with
src/index.ts (all hooks), test template, package.json, tsconfig.json, and
config files. Uses @openacp/plugin-sdk for imports.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>