feat: Capacium v0.11.0 — Phase 2 Redesign#8
Merged
Conversation
added 8 commits
May 24, 2026 02:09
…tion (CAP-003) Add a new `triggers` list field to the Manifest dataclass supporting event-driven activation of capabilities. Each trigger requires `event` and `action` keys, with six valid event types: file-changed, schedule, webhook, manual, on-install, on-update. Includes validation, round-trip serialization, and comprehensive tests.
Add an optional `pricing` dict field supporting five pricing models: free, freemium, paid, usage-based, donation. Validates that `model` key is required when pricing is set, and that `paid` model includes a positive `price_usd` value. Includes comprehensive tests for all models and edge cases.
…port CAP-001: Add resource kind across CLI, models, taxonomy, registry. Resource manifests don't require MCP config, cap init --kind resource works. CAP-005: New conditions.py with ConditionEvaluator supporting ==, !=, >=, <=, exists/not-exists operators, AND/OR connectors, dotted path resolution. Updates across commands (init, install, publish, search, sign, update) to handle resource kind correctly.
Adds CapabilityAdapter with AdaptationRegistry for converting capabilities between framework formats (MCP, A2A, Claude Desktop). Includes `cap adapt` CLI command with --list-targets, --transport, --command options. 38 tests.
Add CHANGELOG entry for v0.11.0 covering CAP-002 (resource kind schema), CAP-003 (triggers), CAP-004 (pricing), CAP-008 (MCP/A2A exports), and CAP-011 (adaptation layer). Version bump from 0.10.25 to 0.11.0.
CI requires README install examples to match pyproject.toml version. Also fix ruff F401 errors (unused imports in adaptation module).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cap export-mcpandcap export-a2acommands withMCPExporterandA2AExporter(16 tests)cap adaptcommand withAdaptationRegistry(3 built-in targets: mcp-server, a2a-agent, claude-desktop) andCapabilityAdapter(38 tests)ConditionEvaluatortriggers(CAP-003) andpricing(CAP-004) fieldsTest plan
cap export-mcp,cap export-a2a,cap adaptCLI commands