@cleocode/caamp 0.4.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -10
- package/dist/{chunk-6HQDRJLS.js → chunk-YCSZGZ5W.js} +387 -149
- package/dist/chunk-YCSZGZ5W.js.map +1 -0
- package/dist/cli.d.ts +0 -0
- package/dist/cli.js +240 -36
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +307 -3
- package/dist/index.js +19 -1
- package/dist/index.js.map +0 -0
- package/package.json +2 -1
- package/providers/registry.json +0 -49
- package/dist/chunk-6HQDRJLS.js.map +0 -1
package/README.md
CHANGED
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
<a href="https://www.npmjs.com/package/@cleocode/caamp"><img src="https://img.shields.io/npm/v/@cleocode/caamp?color=blue" alt="npm version" /></a>
|
|
7
7
|
<a href="https://github.com/kryptobaseddev/caamp/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@cleocode/caamp" alt="license" /></a>
|
|
8
8
|
<img src="https://img.shields.io/node/v/@cleocode/caamp" alt="node version" />
|
|
9
|
-
<img src="https://img.shields.io/badge/providers-
|
|
9
|
+
<img src="https://img.shields.io/badge/providers-44-green" alt="providers" />
|
|
10
10
|
<img src="https://img.shields.io/badge/TypeScript-strict-blue" alt="typescript" />
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
13
|
# CAAMP - Central AI Agent Managed Packages
|
|
14
14
|
|
|
15
|
-
**One CLI to manage Skills, MCP servers, and instruction files across
|
|
15
|
+
**One CLI to manage Skills, MCP servers, and instruction files across 44 AI coding agents.**
|
|
16
16
|
|
|
17
17
|
CAAMP is a unified provider registry and package manager for AI coding agents. It replaces the need to manually configure each agent's MCP servers, skills, and instruction files individually -- handling the differences in config formats (JSON, JSONC, YAML, TOML), config keys (`mcpServers`, `mcp_servers`, `extensions`, `mcp`, `servers`, `context_servers`), and file paths across all supported providers.
|
|
18
18
|
|
|
19
|
-
CAAMP adopts
|
|
19
|
+
CAAMP adopts LAFS for agent-facing output contracts. Protocol authority lives in the standalone LAFS repository and package.
|
|
20
20
|
|
|
21
21
|
## Install
|
|
22
22
|
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
detectAllProviders,
|
|
55
55
|
} from "@cleocode/caamp";
|
|
56
56
|
|
|
57
|
-
// Get all
|
|
57
|
+
// Get all registered providers
|
|
58
58
|
const providers = getAllProviders();
|
|
59
59
|
|
|
60
60
|
// Detect which agents are installed on this system
|
|
@@ -71,7 +71,7 @@ See [API Reference](docs/API-REFERENCE.md) for full programmatic API documentati
|
|
|
71
71
|
### Providers
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
caamp providers list # List all
|
|
74
|
+
caamp providers list # List all supported providers
|
|
75
75
|
caamp providers list --tier high # Filter by priority tier
|
|
76
76
|
caamp providers detect # Auto-detect installed providers
|
|
77
77
|
caamp providers detect --project # Detect project-level configs
|
|
@@ -85,6 +85,8 @@ caamp skills install <source> # Install from GitHub/URL/marketplace
|
|
|
85
85
|
caamp skills remove [name] # Remove skill(s) + symlinks
|
|
86
86
|
caamp skills list [-g] # List installed skills
|
|
87
87
|
caamp skills find [query] # Search marketplace (agentskills.in + skills.sh)
|
|
88
|
+
caamp skills find [query] --recommend --top 5 # Ranked recommendations + CHOOSE flow
|
|
89
|
+
caamp skills find [query] --recommend --json # LAFS envelope JSON for agent consumers
|
|
88
90
|
caamp skills init [name] # Create new SKILL.md template
|
|
89
91
|
caamp skills validate [path] # Validate SKILL.md format
|
|
90
92
|
caamp skills audit [path] # Security scan (46+ rules, SARIF output)
|
|
@@ -92,6 +94,18 @@ caamp skills check # Check for available updates
|
|
|
92
94
|
caamp skills update # Update all outdated skills
|
|
93
95
|
```
|
|
94
96
|
|
|
97
|
+
Recommendation criteria flags:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
--must-have <term> # repeatable and comma-delimited
|
|
101
|
+
--prefer <term> # soft preference signal
|
|
102
|
+
--exclude <term> # hard exclusion signal
|
|
103
|
+
--details # expanded JSON evidence fields
|
|
104
|
+
--select <index> # select from ranked CHOOSE list
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
LAFS canonical spec: https://github.com/kryptobaseddev/lafs-protocol/blob/main/lafs.md
|
|
108
|
+
|
|
95
109
|
### MCP Servers
|
|
96
110
|
|
|
97
111
|
```bash
|
|
@@ -115,6 +129,7 @@ caamp instructions update # Update all instruction file injections
|
|
|
115
129
|
```bash
|
|
116
130
|
caamp config show <provider> # Show provider config contents
|
|
117
131
|
caamp config path <provider> # Show config file path
|
|
132
|
+
caamp doctor # Diagnose configuration and health issues
|
|
118
133
|
```
|
|
119
134
|
|
|
120
135
|
### Advanced (LAFS-compliant wrappers)
|
|
@@ -141,13 +156,13 @@ caamp advanced configure -a claude-code --global-mcp-file ./global-mcp.json --pr
|
|
|
141
156
|
|
|
142
157
|
## Supported Providers
|
|
143
158
|
|
|
144
|
-
CAAMP supports **
|
|
159
|
+
CAAMP supports **44 AI coding agents** across 3 priority tiers:
|
|
145
160
|
|
|
146
161
|
| Priority | Providers |
|
|
147
162
|
|----------|-----------|
|
|
148
163
|
| **High** | Claude Code, Cursor, Windsurf |
|
|
149
|
-
| **Medium** | Codex CLI, Gemini CLI, GitHub Copilot, OpenCode, Cline, Kimi, VS Code, Zed, Claude Desktop |
|
|
150
|
-
| **Low** | Roo, Continue, Goose, Antigravity, Kiro, Amp, Trae, Aide, Pear AI, Void AI, Cody, Kilo Code, Qwen Code, OpenHands, CodeBuddy, CodeStory, Aider,
|
|
164
|
+
| **Medium** | Codex CLI, Gemini CLI, GitHub Copilot, OpenCode, Cline, Kimi, VS Code, Zed, Claude Desktop, Amazon Q Developer, GitHub Copilot CLI |
|
|
165
|
+
| **Low** | Roo, Continue, Goose, Antigravity, Kiro, Amp, Trae, Aide, Pear AI, Void AI, Cody, Kilo Code, Qwen Code, OpenHands, CodeBuddy, CodeStory, Aider, Tabnine, Augment, JetBrains AI, Devin, Replit Agent, Mentat, Sourcery, Blackbox AI, Double, Codegen, SWE-Agent, Forge, Gemini Code Assist |
|
|
151
166
|
|
|
152
167
|
### Config Key Mapping
|
|
153
168
|
|
|
@@ -186,7 +201,7 @@ Each provider uses a different key name for MCP server configuration:
|
|
|
186
201
|
└─────────────────────────────────────────────────┘
|
|
187
202
|
```
|
|
188
203
|
|
|
189
|
-
- **Provider Registry**: Single `providers/registry.json` with all
|
|
204
|
+
- **Provider Registry**: Single `providers/registry.json` with all provider definitions
|
|
190
205
|
- **Format Handlers**: JSON, JSONC (comment-preserving), YAML, TOML
|
|
191
206
|
- **Skills Model**: Canonical copy + symlinks (install once, link to all agents)
|
|
192
207
|
- **MCP Transforms**: Per-agent config shape transforms for Goose, Zed, OpenCode, Codex, Cursor
|
|
@@ -199,11 +214,18 @@ Each provider uses a different key name for MCP server configuration:
|
|
|
199
214
|
| [API Reference](docs/API-REFERENCE.md) | Full library API (signatures and examples) |
|
|
200
215
|
| [Advanced CLI](docs/ADVANCED-CLI.md) | LAFS-compliant advanced command wrappers and input/output schemas |
|
|
201
216
|
| [Advanced Recipes](docs/ADVANCED-RECIPES.md) | Production TypeScript patterns for tier filtering, rollback, conflict handling, and dual-scope operations |
|
|
217
|
+
| [Provider Configuration Guide](docs/PROVIDER-CONFIGURATION.md) | Config keys, formats, scopes, and provider mapping guidance |
|
|
218
|
+
| [Migration Guide](docs/MIGRATION-v1.md) | Upgrade notes for moving to v1.0.0 |
|
|
219
|
+
| [Troubleshooting](docs/TROUBLESHOOTING.md) | Common failure modes and remediation steps |
|
|
220
|
+
| [CLI Help Examples](docs/CLI-HELP-EXAMPLES.md) | `--help` command examples for every command group |
|
|
221
|
+
| [Contributing](CONTRIBUTING.md) | Development workflow and PR expectations |
|
|
222
|
+
| [Security Policy](SECURITY.md) | Private vulnerability disclosure process |
|
|
202
223
|
| [Generated API Docs](docs/api/) | Auto-generated from TSDoc (run `npm run docs:api`) |
|
|
203
224
|
| [Vision & Architecture](claudedocs/VISION.md) | Project vision, design philosophy, and architecture |
|
|
204
225
|
| [Product Requirements](claudedocs/PRD.md) | Full PRD with user stories and feature requirements |
|
|
205
226
|
| [Technical Specification](claudedocs/specs/CAAMP-SPEC.md) | RFC 2119 spec covering all subsystems |
|
|
206
|
-
| [LAFS Specification](lafs.md) |
|
|
227
|
+
| [LAFS Specification](https://github.com/kryptobaseddev/lafs-protocol/blob/main/lafs.md) | Canonical cross-language LLM-agent-first protocol |
|
|
228
|
+
| [LAFS Compliance Profile](docs/LAFS-COMPLIANCE.md) | CAAMP-specific LAFS adoption scope and compliance mapping |
|
|
207
229
|
| [Gap Analysis & Roadmap](claudedocs/GAP-ANALYSIS.md) | Current state vs plan, v0.2.0+ roadmap |
|
|
208
230
|
|
|
209
231
|
## Contributing
|