@cleocode/caamp 0.1.0
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 +85 -0
- package/dist/chunk-63BH7QMR.js +1998 -0
- package/dist/chunk-63BH7QMR.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +941 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +465 -0
- package/dist/index.js +119 -0
- package/dist/index.js.map +1 -0
- package/package.json +70 -0
- package/providers/registry.json +721 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MarketplaceClient,
|
|
3
|
+
buildServerConfig,
|
|
4
|
+
checkAllInjections,
|
|
5
|
+
checkInjection,
|
|
6
|
+
checkSkillUpdate,
|
|
7
|
+
deepMerge,
|
|
8
|
+
detectAllProviders,
|
|
9
|
+
detectProjectProviders,
|
|
10
|
+
detectProvider,
|
|
11
|
+
discoverSkill,
|
|
12
|
+
discoverSkills,
|
|
13
|
+
ensureDir,
|
|
14
|
+
generateInjectionContent,
|
|
15
|
+
getAllProviders,
|
|
16
|
+
getInstalledProviders,
|
|
17
|
+
getInstructionFiles,
|
|
18
|
+
getLastSelectedAgents,
|
|
19
|
+
getNestedValue,
|
|
20
|
+
getProvider,
|
|
21
|
+
getProviderCount,
|
|
22
|
+
getProvidersByInstructFile,
|
|
23
|
+
getProvidersByPriority,
|
|
24
|
+
getProvidersByStatus,
|
|
25
|
+
getRegistryVersion,
|
|
26
|
+
getTrackedMcpServers,
|
|
27
|
+
getTrackedSkills,
|
|
28
|
+
getTransform,
|
|
29
|
+
groupByInstructFile,
|
|
30
|
+
inject,
|
|
31
|
+
injectAll,
|
|
32
|
+
installMcpServer,
|
|
33
|
+
installMcpServerToAll,
|
|
34
|
+
installSkill,
|
|
35
|
+
isMarketplaceScoped,
|
|
36
|
+
listAllMcpServers,
|
|
37
|
+
listCanonicalSkills,
|
|
38
|
+
listMcpServers,
|
|
39
|
+
parseSkillFile,
|
|
40
|
+
parseSource,
|
|
41
|
+
readConfig,
|
|
42
|
+
readLockFile,
|
|
43
|
+
recordMcpInstall,
|
|
44
|
+
recordSkillInstall,
|
|
45
|
+
removeConfig,
|
|
46
|
+
removeInjection,
|
|
47
|
+
removeMcpFromLock,
|
|
48
|
+
removeMcpServer,
|
|
49
|
+
removeSkill,
|
|
50
|
+
removeSkillFromLock,
|
|
51
|
+
resolveAlias,
|
|
52
|
+
resolveConfigPath,
|
|
53
|
+
saveLastSelectedAgents,
|
|
54
|
+
scanDirectory,
|
|
55
|
+
scanFile,
|
|
56
|
+
toSarif,
|
|
57
|
+
validateSkill,
|
|
58
|
+
writeConfig
|
|
59
|
+
} from "./chunk-63BH7QMR.js";
|
|
60
|
+
export {
|
|
61
|
+
MarketplaceClient,
|
|
62
|
+
buildServerConfig,
|
|
63
|
+
checkAllInjections,
|
|
64
|
+
checkInjection,
|
|
65
|
+
checkSkillUpdate,
|
|
66
|
+
deepMerge,
|
|
67
|
+
detectAllProviders,
|
|
68
|
+
detectProjectProviders,
|
|
69
|
+
detectProvider,
|
|
70
|
+
discoverSkill,
|
|
71
|
+
discoverSkills,
|
|
72
|
+
ensureDir,
|
|
73
|
+
generateInjectionContent,
|
|
74
|
+
getAllProviders,
|
|
75
|
+
getInstalledProviders,
|
|
76
|
+
getInstructionFiles,
|
|
77
|
+
getLastSelectedAgents,
|
|
78
|
+
getNestedValue,
|
|
79
|
+
getProvider,
|
|
80
|
+
getProviderCount,
|
|
81
|
+
getProvidersByInstructFile,
|
|
82
|
+
getProvidersByPriority,
|
|
83
|
+
getProvidersByStatus,
|
|
84
|
+
getRegistryVersion,
|
|
85
|
+
getTrackedMcpServers,
|
|
86
|
+
getTrackedSkills,
|
|
87
|
+
getTransform,
|
|
88
|
+
groupByInstructFile,
|
|
89
|
+
inject,
|
|
90
|
+
injectAll,
|
|
91
|
+
installMcpServer,
|
|
92
|
+
installMcpServerToAll,
|
|
93
|
+
installSkill,
|
|
94
|
+
isMarketplaceScoped,
|
|
95
|
+
listAllMcpServers,
|
|
96
|
+
listCanonicalSkills,
|
|
97
|
+
listMcpServers,
|
|
98
|
+
parseSkillFile,
|
|
99
|
+
parseSource,
|
|
100
|
+
readConfig,
|
|
101
|
+
readLockFile,
|
|
102
|
+
recordMcpInstall,
|
|
103
|
+
recordSkillInstall,
|
|
104
|
+
removeConfig,
|
|
105
|
+
removeInjection,
|
|
106
|
+
removeMcpFromLock,
|
|
107
|
+
removeMcpServer,
|
|
108
|
+
removeSkill,
|
|
109
|
+
removeSkillFromLock,
|
|
110
|
+
resolveAlias,
|
|
111
|
+
resolveConfigPath,
|
|
112
|
+
saveLastSelectedAgents,
|
|
113
|
+
scanDirectory,
|
|
114
|
+
scanFile,
|
|
115
|
+
toSarif,
|
|
116
|
+
validateSkill,
|
|
117
|
+
writeConfig
|
|
118
|
+
};
|
|
119
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cleocode/caamp",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Central AI Agent Managed Packages - unified provider registry and package manager for AI coding agents",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"caamp": "./dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"providers",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsup",
|
|
25
|
+
"dev": "tsx src/cli.ts",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:watch": "vitest",
|
|
28
|
+
"typecheck": "tsc --noEmit",
|
|
29
|
+
"lint": "tsc --noEmit",
|
|
30
|
+
"prepublishOnly": "npm run build"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"ai",
|
|
34
|
+
"agent",
|
|
35
|
+
"mcp",
|
|
36
|
+
"skills",
|
|
37
|
+
"cli",
|
|
38
|
+
"claude",
|
|
39
|
+
"cursor",
|
|
40
|
+
"windsurf",
|
|
41
|
+
"codex",
|
|
42
|
+
"gemini"
|
|
43
|
+
],
|
|
44
|
+
"author": "",
|
|
45
|
+
"license": "MIT",
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"commander": "^13.0.0",
|
|
48
|
+
"@clack/prompts": "^0.10.0",
|
|
49
|
+
"picocolors": "^1.1.0",
|
|
50
|
+
"gray-matter": "^4.0.3",
|
|
51
|
+
"simple-git": "^3.27.0",
|
|
52
|
+
"jsonc-parser": "^3.3.1",
|
|
53
|
+
"js-yaml": "^4.1.0",
|
|
54
|
+
"@iarna/toml": "^2.2.5"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"typescript": "^5.7.0",
|
|
58
|
+
"tsup": "^8.3.0",
|
|
59
|
+
"tsx": "^4.19.0",
|
|
60
|
+
"vitest": "^3.0.0",
|
|
61
|
+
"@types/node": "^22.0.0",
|
|
62
|
+
"@types/js-yaml": "^4.0.9"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=18"
|
|
66
|
+
},
|
|
67
|
+
"publishConfig": {
|
|
68
|
+
"access": "public"
|
|
69
|
+
}
|
|
70
|
+
}
|