- 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.
- 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>
createTestInstallContext provides auto-answering terminal prompts and
in-memory settings for testing plugin install/configure/uninstall flows.
mockServices provides factory functions for all service interfaces with
sensible defaults and override support.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Provides an in-memory PluginContext for unit-testing plugins with
tracking of registered services, commands, middleware, and emitted
events. Includes executeCommand() helper for dispatching commands.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add adapter-primitives and plugin type exports to the main package,
and create SDK index.ts that re-exports all plugin-facing types and
base classes from openacp.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>