@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/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,144 @@
|
|
|
2
2
|
* CAAMP - Central AI Agent Managed Packages
|
|
3
3
|
* Core type definitions
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* Skill entry from the `@cleocode/ct-skills` skills.json catalog.
|
|
7
|
+
*
|
|
8
|
+
* Mirrors the `SkillEntry` type from `@cleocode/ct-skills/index.d.ts`.
|
|
9
|
+
*/
|
|
10
|
+
interface CtSkillEntry {
|
|
11
|
+
/** Skill name (e.g. `"ct-research-agent"`). */
|
|
12
|
+
name: string;
|
|
13
|
+
/** Human-readable description. */
|
|
14
|
+
description: string;
|
|
15
|
+
/** Semantic version string. */
|
|
16
|
+
version: string;
|
|
17
|
+
/** Relative path within the skills library. */
|
|
18
|
+
path: string;
|
|
19
|
+
/** File references used by the skill. */
|
|
20
|
+
references: string[];
|
|
21
|
+
/** Whether this is a core skill. */
|
|
22
|
+
core: boolean;
|
|
23
|
+
/** Skill category tier. */
|
|
24
|
+
category: "core" | "recommended" | "specialist" | "composition" | "meta";
|
|
25
|
+
/** Numeric tier (0-3). */
|
|
26
|
+
tier: number;
|
|
27
|
+
/** Associated protocol name, or `null`. */
|
|
28
|
+
protocol: string | null;
|
|
29
|
+
/** Direct dependency skill names. */
|
|
30
|
+
dependencies: string[];
|
|
31
|
+
/** Shared resource names this skill uses. */
|
|
32
|
+
sharedResources: string[];
|
|
33
|
+
/** Compatible agent/context types. */
|
|
34
|
+
compatibility: string[];
|
|
35
|
+
/** SPDX license identifier. */
|
|
36
|
+
license: string;
|
|
37
|
+
/** Arbitrary metadata. */
|
|
38
|
+
metadata: Record<string, unknown>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Validation result from ct-skills frontmatter validation.
|
|
42
|
+
*/
|
|
43
|
+
interface CtValidationResult {
|
|
44
|
+
/** Whether the skill passed validation (no error-level issues). */
|
|
45
|
+
valid: boolean;
|
|
46
|
+
/** Individual validation issues. */
|
|
47
|
+
issues: CtValidationIssue[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A single validation issue from ct-skills.
|
|
51
|
+
*/
|
|
52
|
+
interface CtValidationIssue {
|
|
53
|
+
/** Severity level. */
|
|
54
|
+
level: "error" | "warn";
|
|
55
|
+
/** Field that triggered the issue. */
|
|
56
|
+
field: string;
|
|
57
|
+
/** Human-readable message. */
|
|
58
|
+
message: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Profile definition from ct-skills profiles.
|
|
62
|
+
*/
|
|
63
|
+
interface CtProfileDefinition {
|
|
64
|
+
/** Profile name (e.g. `"minimal"`, `"core"`, `"recommended"`, `"full"`). */
|
|
65
|
+
name: string;
|
|
66
|
+
/** Human-readable description. */
|
|
67
|
+
description: string;
|
|
68
|
+
/** Name of parent profile to extend. */
|
|
69
|
+
extends?: string;
|
|
70
|
+
/** Skill names included in this profile. */
|
|
71
|
+
skills: string[];
|
|
72
|
+
/** Whether to include _shared resources. */
|
|
73
|
+
includeShared?: boolean;
|
|
74
|
+
/** Protocol names to include. */
|
|
75
|
+
includeProtocols: string[];
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Dispatch matrix from ct-skills manifest.json.
|
|
79
|
+
*/
|
|
80
|
+
interface CtDispatchMatrix {
|
|
81
|
+
/** Task type to skill mapping. */
|
|
82
|
+
by_task_type: Record<string, string>;
|
|
83
|
+
/** Keyword to skill mapping. */
|
|
84
|
+
by_keyword: Record<string, string>;
|
|
85
|
+
/** Protocol to skill mapping. */
|
|
86
|
+
by_protocol: Record<string, string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Full manifest structure from ct-skills.
|
|
90
|
+
*/
|
|
91
|
+
interface CtManifest {
|
|
92
|
+
/** JSON schema reference. */
|
|
93
|
+
$schema: string;
|
|
94
|
+
/** Metadata. */
|
|
95
|
+
_meta: Record<string, unknown>;
|
|
96
|
+
/** Dispatch matrix for skill routing. */
|
|
97
|
+
dispatch_matrix: CtDispatchMatrix;
|
|
98
|
+
/** Manifest skill entries. */
|
|
99
|
+
skills: CtManifestSkill[];
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Skill entry within the ct-skills manifest.
|
|
103
|
+
*/
|
|
104
|
+
interface CtManifestSkill {
|
|
105
|
+
/** Skill name. */
|
|
106
|
+
name: string;
|
|
107
|
+
/** Version. */
|
|
108
|
+
version: string;
|
|
109
|
+
/** Description. */
|
|
110
|
+
description: string;
|
|
111
|
+
/** Path within library. */
|
|
112
|
+
path: string;
|
|
113
|
+
/** Tags. */
|
|
114
|
+
tags: string[];
|
|
115
|
+
/** Status. */
|
|
116
|
+
status: string;
|
|
117
|
+
/** Tier. */
|
|
118
|
+
tier: number;
|
|
119
|
+
/** Token budget. */
|
|
120
|
+
token_budget: number;
|
|
121
|
+
/** References. */
|
|
122
|
+
references: string[];
|
|
123
|
+
/** Capabilities. */
|
|
124
|
+
capabilities: {
|
|
125
|
+
inputs: string[];
|
|
126
|
+
outputs: string[];
|
|
127
|
+
dependencies: string[];
|
|
128
|
+
dispatch_triggers: string[];
|
|
129
|
+
compatible_subagent_types: string[];
|
|
130
|
+
chains_to: string[];
|
|
131
|
+
dispatch_keywords: {
|
|
132
|
+
primary: string[];
|
|
133
|
+
secondary: string[];
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
/** Constraints. */
|
|
137
|
+
constraints: {
|
|
138
|
+
max_context_tokens: number;
|
|
139
|
+
requires_session: boolean;
|
|
140
|
+
requires_epic: boolean;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
5
143
|
/**
|
|
6
144
|
* Supported configuration file formats.
|
|
7
145
|
*
|
|
@@ -949,6 +1087,12 @@ interface MarketplaceAdapter {
|
|
|
949
1087
|
search(query: string, limit?: number): Promise<MarketplaceResult[]>;
|
|
950
1088
|
getSkill(scopedName: string): Promise<MarketplaceResult | null>;
|
|
951
1089
|
}
|
|
1090
|
+
/**
|
|
1091
|
+
* Normalized marketplace record returned by all adapters.
|
|
1092
|
+
*
|
|
1093
|
+
* This model captures a single skill listing with enough information
|
|
1094
|
+
* for search display and install resolution to GitHub sources.
|
|
1095
|
+
*/
|
|
952
1096
|
interface MarketplaceResult {
|
|
953
1097
|
name: string;
|
|
954
1098
|
scopedName: string;
|
|
@@ -1326,6 +1470,7 @@ declare function getProviderCount(): number;
|
|
|
1326
1470
|
*/
|
|
1327
1471
|
declare function getRegistryVersion(): string;
|
|
1328
1472
|
|
|
1473
|
+
type PathScope = "project" | "global";
|
|
1329
1474
|
interface PlatformLocations {
|
|
1330
1475
|
home: string;
|
|
1331
1476
|
config: string;
|
|
@@ -1339,6 +1484,58 @@ declare function getAgentsHome(): string;
|
|
|
1339
1484
|
declare function getProjectAgentsDir(projectRoot?: string): string;
|
|
1340
1485
|
declare function getCanonicalSkillsDir(): string;
|
|
1341
1486
|
declare function getLockFilePath(): string;
|
|
1487
|
+
/**
|
|
1488
|
+
* Get the MCP directory within `.agents/`.
|
|
1489
|
+
*
|
|
1490
|
+
* @param scope - `"global"` for `~/.agents/mcp/`, `"project"` for `<project>/.agents/mcp/`
|
|
1491
|
+
* @param projectDir - Project root (defaults to `process.cwd()`)
|
|
1492
|
+
*/
|
|
1493
|
+
declare function getAgentsMcpDir(scope?: PathScope, projectDir?: string): string;
|
|
1494
|
+
/**
|
|
1495
|
+
* Get the MCP servers.json path within `.agents/`.
|
|
1496
|
+
*
|
|
1497
|
+
* Per the `.agents/` standard (Section 9), this is the canonical MCP
|
|
1498
|
+
* server registry that should be checked before legacy per-provider configs.
|
|
1499
|
+
*
|
|
1500
|
+
* @param scope - `"global"` for `~/.agents/mcp/servers.json`, `"project"` for `<project>/.agents/mcp/servers.json`
|
|
1501
|
+
* @param projectDir - Project root (defaults to `process.cwd()`)
|
|
1502
|
+
*/
|
|
1503
|
+
declare function getAgentsMcpServersPath(scope?: PathScope, projectDir?: string): string;
|
|
1504
|
+
/**
|
|
1505
|
+
* Get the primary AGENTS.md instruction file path within `.agents/`.
|
|
1506
|
+
*
|
|
1507
|
+
* @param scope - `"global"` for `~/.agents/AGENTS.md`, `"project"` for `<project>/.agents/AGENTS.md`
|
|
1508
|
+
* @param projectDir - Project root (defaults to `process.cwd()`)
|
|
1509
|
+
*/
|
|
1510
|
+
declare function getAgentsInstructFile(scope?: PathScope, projectDir?: string): string;
|
|
1511
|
+
/**
|
|
1512
|
+
* Get the config.toml path within `.agents/`.
|
|
1513
|
+
*
|
|
1514
|
+
* @param scope - `"global"` for `~/.agents/config.toml`, `"project"` for `<project>/.agents/config.toml`
|
|
1515
|
+
* @param projectDir - Project root (defaults to `process.cwd()`)
|
|
1516
|
+
*/
|
|
1517
|
+
declare function getAgentsConfigPath(scope?: PathScope, projectDir?: string): string;
|
|
1518
|
+
/**
|
|
1519
|
+
* Get the wiki directory within `.agents/`.
|
|
1520
|
+
*
|
|
1521
|
+
* @param scope - `"global"` or `"project"`
|
|
1522
|
+
* @param projectDir - Project root (defaults to `process.cwd()`)
|
|
1523
|
+
*/
|
|
1524
|
+
declare function getAgentsWikiDir(scope?: PathScope, projectDir?: string): string;
|
|
1525
|
+
/**
|
|
1526
|
+
* Get the spec directory within `.agents/`.
|
|
1527
|
+
*
|
|
1528
|
+
* @param scope - `"global"` or `"project"`
|
|
1529
|
+
* @param projectDir - Project root (defaults to `process.cwd()`)
|
|
1530
|
+
*/
|
|
1531
|
+
declare function getAgentsSpecDir(scope?: PathScope, projectDir?: string): string;
|
|
1532
|
+
/**
|
|
1533
|
+
* Get the links directory within `.agents/`.
|
|
1534
|
+
*
|
|
1535
|
+
* @param scope - `"global"` or `"project"`
|
|
1536
|
+
* @param projectDir - Project root (defaults to `process.cwd()`)
|
|
1537
|
+
*/
|
|
1538
|
+
declare function getAgentsLinksDir(scope?: PathScope, projectDir?: string): string;
|
|
1342
1539
|
declare function resolveRegistryTemplatePath(template: string): string;
|
|
1343
1540
|
|
|
1344
1541
|
/**
|
|
@@ -1386,6 +1583,99 @@ declare function parseSource(input: string): ParsedSource;
|
|
|
1386
1583
|
*/
|
|
1387
1584
|
declare function isMarketplaceScoped(input: string): boolean;
|
|
1388
1585
|
|
|
1586
|
+
/**
|
|
1587
|
+
* ESM adapter for @cleocode/ct-skills (CommonJS module)
|
|
1588
|
+
*
|
|
1589
|
+
* Wraps the ct-skills library API with typed exports for use in CAAMP's
|
|
1590
|
+
* ESM codebase. Uses createRequire() for CJS interop.
|
|
1591
|
+
*/
|
|
1592
|
+
|
|
1593
|
+
/** All skill entries from skills.json */
|
|
1594
|
+
declare function getSkills(): CtSkillEntry[];
|
|
1595
|
+
/** Parsed manifest.json dispatch registry */
|
|
1596
|
+
declare function getManifest(): CtManifest;
|
|
1597
|
+
/** List all skill names */
|
|
1598
|
+
declare function listSkills(): string[];
|
|
1599
|
+
/** Get skill metadata from skills.json by name */
|
|
1600
|
+
declare function getSkill(name: string): CtSkillEntry | undefined;
|
|
1601
|
+
/** Resolve absolute path to a skill's SKILL.md file */
|
|
1602
|
+
declare function getSkillPath(name: string): string;
|
|
1603
|
+
/** Resolve absolute path to a skill's directory */
|
|
1604
|
+
declare function getSkillDir(name: string): string;
|
|
1605
|
+
/** Read a skill's SKILL.md content as a string */
|
|
1606
|
+
declare function readSkillContent(name: string): string;
|
|
1607
|
+
/** Get all skills where core === true */
|
|
1608
|
+
declare function getCoreSkills(): CtSkillEntry[];
|
|
1609
|
+
/** Get skills filtered by category */
|
|
1610
|
+
declare function getSkillsByCategory(category: CtSkillEntry["category"]): CtSkillEntry[];
|
|
1611
|
+
/** Get direct dependency names for a skill */
|
|
1612
|
+
declare function getSkillDependencies(name: string): string[];
|
|
1613
|
+
/** Resolve full dependency tree for a set of skill names (includes transitive deps) */
|
|
1614
|
+
declare function resolveDependencyTree(names: string[]): string[];
|
|
1615
|
+
/** List available profile names */
|
|
1616
|
+
declare function listProfiles(): string[];
|
|
1617
|
+
/** Get a profile definition by name */
|
|
1618
|
+
declare function getProfile(name: string): CtProfileDefinition | undefined;
|
|
1619
|
+
/** Resolve a profile to its full skill list (follows extends, resolves deps) */
|
|
1620
|
+
declare function resolveProfile(name: string): string[];
|
|
1621
|
+
/** List available shared resource names */
|
|
1622
|
+
declare function listSharedResources(): string[];
|
|
1623
|
+
/** Get absolute path to a shared resource file */
|
|
1624
|
+
declare function getSharedResourcePath(name: string): string | undefined;
|
|
1625
|
+
/** Read a shared resource file content */
|
|
1626
|
+
declare function readSharedResource(name: string): string | undefined;
|
|
1627
|
+
/** List available protocol names */
|
|
1628
|
+
declare function listProtocols(): string[];
|
|
1629
|
+
/** Get absolute path to a protocol file */
|
|
1630
|
+
declare function getProtocolPath(name: string): string | undefined;
|
|
1631
|
+
/** Read a protocol file content */
|
|
1632
|
+
declare function readProtocol(name: string): string | undefined;
|
|
1633
|
+
/** Validate a single skill's frontmatter */
|
|
1634
|
+
declare function validateSkillFrontmatter(name: string): CtValidationResult;
|
|
1635
|
+
/** Validate all skills */
|
|
1636
|
+
declare function validateAll(): Map<string, CtValidationResult>;
|
|
1637
|
+
/** Get the dispatch matrix from manifest.json */
|
|
1638
|
+
declare function getDispatchMatrix(): CtDispatchMatrix;
|
|
1639
|
+
/** Package version from ct-skills package.json */
|
|
1640
|
+
declare function getVersion(): string;
|
|
1641
|
+
/** Absolute path to the ct-skills package root directory */
|
|
1642
|
+
declare function getLibraryRoot(): string;
|
|
1643
|
+
/**
|
|
1644
|
+
* Check if @cleocode/ct-skills is available.
|
|
1645
|
+
* Returns false if the package is not installed.
|
|
1646
|
+
*/
|
|
1647
|
+
declare function isCatalogAvailable(): boolean;
|
|
1648
|
+
|
|
1649
|
+
declare const catalog_getCoreSkills: typeof getCoreSkills;
|
|
1650
|
+
declare const catalog_getDispatchMatrix: typeof getDispatchMatrix;
|
|
1651
|
+
declare const catalog_getLibraryRoot: typeof getLibraryRoot;
|
|
1652
|
+
declare const catalog_getManifest: typeof getManifest;
|
|
1653
|
+
declare const catalog_getProfile: typeof getProfile;
|
|
1654
|
+
declare const catalog_getProtocolPath: typeof getProtocolPath;
|
|
1655
|
+
declare const catalog_getSharedResourcePath: typeof getSharedResourcePath;
|
|
1656
|
+
declare const catalog_getSkill: typeof getSkill;
|
|
1657
|
+
declare const catalog_getSkillDependencies: typeof getSkillDependencies;
|
|
1658
|
+
declare const catalog_getSkillDir: typeof getSkillDir;
|
|
1659
|
+
declare const catalog_getSkillPath: typeof getSkillPath;
|
|
1660
|
+
declare const catalog_getSkills: typeof getSkills;
|
|
1661
|
+
declare const catalog_getSkillsByCategory: typeof getSkillsByCategory;
|
|
1662
|
+
declare const catalog_getVersion: typeof getVersion;
|
|
1663
|
+
declare const catalog_isCatalogAvailable: typeof isCatalogAvailable;
|
|
1664
|
+
declare const catalog_listProfiles: typeof listProfiles;
|
|
1665
|
+
declare const catalog_listProtocols: typeof listProtocols;
|
|
1666
|
+
declare const catalog_listSharedResources: typeof listSharedResources;
|
|
1667
|
+
declare const catalog_listSkills: typeof listSkills;
|
|
1668
|
+
declare const catalog_readProtocol: typeof readProtocol;
|
|
1669
|
+
declare const catalog_readSharedResource: typeof readSharedResource;
|
|
1670
|
+
declare const catalog_readSkillContent: typeof readSkillContent;
|
|
1671
|
+
declare const catalog_resolveDependencyTree: typeof resolveDependencyTree;
|
|
1672
|
+
declare const catalog_resolveProfile: typeof resolveProfile;
|
|
1673
|
+
declare const catalog_validateAll: typeof validateAll;
|
|
1674
|
+
declare const catalog_validateSkillFrontmatter: typeof validateSkillFrontmatter;
|
|
1675
|
+
declare namespace catalog {
|
|
1676
|
+
export { catalog_getCoreSkills as getCoreSkills, catalog_getDispatchMatrix as getDispatchMatrix, catalog_getLibraryRoot as getLibraryRoot, catalog_getManifest as getManifest, catalog_getProfile as getProfile, catalog_getProtocolPath as getProtocolPath, catalog_getSharedResourcePath as getSharedResourcePath, catalog_getSkill as getSkill, catalog_getSkillDependencies as getSkillDependencies, catalog_getSkillDir as getSkillDir, catalog_getSkillPath as getSkillPath, catalog_getSkills as getSkills, catalog_getSkillsByCategory as getSkillsByCategory, catalog_getVersion as getVersion, catalog_isCatalogAvailable as isCatalogAvailable, catalog_listProfiles as listProfiles, catalog_listProtocols as listProtocols, catalog_listSharedResources as listSharedResources, catalog_listSkills as listSkills, catalog_readProtocol as readProtocol, catalog_readSharedResource as readSharedResource, catalog_readSkillContent as readSkillContent, catalog_resolveDependencyTree as resolveDependencyTree, catalog_resolveProfile as resolveProfile, catalog_validateAll as validateAll, catalog_validateSkillFrontmatter as validateSkillFrontmatter };
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1389
1679
|
/**
|
|
1390
1680
|
* Local skill discovery
|
|
1391
1681
|
*
|
|
@@ -1595,11 +1885,25 @@ declare function resolveConfigPath(provider: Provider, scope: "project" | "globa
|
|
|
1595
1885
|
* ```
|
|
1596
1886
|
*/
|
|
1597
1887
|
declare function listMcpServers(provider: Provider, scope: "project" | "global", projectDir?: string): Promise<McpServerEntry[]>;
|
|
1888
|
+
/**
|
|
1889
|
+
* List MCP servers from the `.agents/mcp/servers.json` standard location.
|
|
1890
|
+
*
|
|
1891
|
+
* Per the `.agents/` standard (Section 9), this file is the canonical
|
|
1892
|
+
* provider-agnostic MCP server registry. It should be checked before
|
|
1893
|
+
* per-provider legacy config files.
|
|
1894
|
+
*
|
|
1895
|
+
* @param scope - `"global"` for `~/.agents/mcp/servers.json`, `"project"` for project-level
|
|
1896
|
+
* @param projectDir - Project directory (defaults to `process.cwd()`)
|
|
1897
|
+
* @returns Array of MCP server entries found in the `.agents/` servers.json
|
|
1898
|
+
*/
|
|
1899
|
+
declare function listAgentsMcpServers(scope: "project" | "global", projectDir?: string): Promise<McpServerEntry[]>;
|
|
1598
1900
|
/**
|
|
1599
1901
|
* List MCP servers across all given providers, deduplicating by config path.
|
|
1600
1902
|
*
|
|
1601
|
-
*
|
|
1602
|
-
*
|
|
1903
|
+
* Per the `.agents/` standard (Section 9.4), checks `.agents/mcp/servers.json`
|
|
1904
|
+
* first, then falls back to per-provider legacy config files. Multiple providers
|
|
1905
|
+
* may share the same config file; this function ensures each config file is read
|
|
1906
|
+
* only once to avoid duplicate entries.
|
|
1603
1907
|
*
|
|
1604
1908
|
* @param providers - Array of providers to query
|
|
1605
1909
|
* @param scope - Whether to read project or global config
|
|
@@ -2183,4 +2487,4 @@ declare function isVerbose(): boolean;
|
|
|
2183
2487
|
*/
|
|
2184
2488
|
declare function isQuiet(): boolean;
|
|
2185
2489
|
|
|
2186
|
-
export { type AuditFinding, type AuditResult, type AuditRule, type AuditSeverity, type BatchInstallOptions, type BatchInstallResult, type CaampLockFile, type ConfigFormat, type ConflictPolicy, type DetectionCacheOptions, type DetectionResult, type DualScopeConfigureOptions, type DualScopeConfigureResult, type GlobalOptions, type InjectionCheckResult, type InjectionStatus, type InstallResult, type InstructionUpdateSummary, type LockEntry, MarketplaceClient, type MarketplaceResult, type MarketplaceSearchResult, type MarketplaceSkill, type McpBatchOperation, type McpConflict, type McpConflictCode, type McpPlanApplyResult, type McpServerConfig, type McpServerEntry, type NormalizedRecommendationCriteria, type ParsedSource, type Provider, type ProviderPriority, type ProviderStatus, RECOMMENDATION_ERROR_CODES, type RankedSkillRecommendation, type RecommendSkillsResult, type RecommendationCriteriaInput, type RecommendationErrorCode, type RecommendationOptions, type RecommendationReason, type RecommendationReasonCode, type RecommendationScoreBreakdown, type RecommendationValidationIssue, type RecommendationValidationResult, type RecommendationWeights, type SkillBatchOperation, type SkillEntry, type SkillInstallResult, type SkillMetadata, type SourceType, type TransportType, type ValidationIssue, type ValidationResult, applyMcpInstallWithPolicy, buildServerConfig, checkAllInjections, checkInjection, checkSkillUpdate, configureProviderGlobalAndProject, deepMerge, detectAllProviders, detectMcpConfigConflicts, detectProjectProviders, detectProvider, discoverSkill, discoverSkills, ensureDir, formatSkillRecommendations, generateInjectionContent, getAgentsHome, getAllProviders, getCanonicalSkillsDir, getInstalledProviders, getInstructionFiles, getLastSelectedAgents, getLockFilePath, getNestedValue, getPlatformLocations, getProjectAgentsDir, getProvider, getProviderCount, getProvidersByInstructFile, getProvidersByPriority, getProvidersByStatus, getRegistryVersion, getTrackedMcpServers, getTrackedSkills, getTransform, groupByInstructFile, inject, injectAll, installBatchWithRollback, installMcpServer, installMcpServerToAll, installSkill, isMarketplaceScoped, isQuiet, isVerbose, listAllMcpServers, listCanonicalSkills, listMcpServers, normalizeRecommendationCriteria, parseSkillFile, parseSource, rankSkills, readConfig, readLockFile, recommendSkills, recordMcpInstall, recordSkillInstall, removeConfig, removeInjection, removeMcpFromLock, removeMcpServer, removeSkill, removeSkillFromLock, resetDetectionCache, resolveAlias, resolveConfigPath, resolveRegistryTemplatePath, saveLastSelectedAgents, scanDirectory, scanFile, scoreSkillRecommendation, searchSkills, selectProvidersByMinimumPriority, setQuiet, setVerbose, toSarif, tokenizeCriteriaValue, updateInstructionsSingleOperation, validateRecommendationCriteria, validateSkill, writeConfig };
|
|
2490
|
+
export { type AuditFinding, type AuditResult, type AuditRule, type AuditSeverity, type BatchInstallOptions, type BatchInstallResult, type CaampLockFile, type ConfigFormat, type ConflictPolicy, type CtDispatchMatrix, type CtManifest, type CtManifestSkill, type CtProfileDefinition, type CtSkillEntry, type CtValidationIssue, type CtValidationResult, type DetectionCacheOptions, type DetectionResult, type DualScopeConfigureOptions, type DualScopeConfigureResult, type GlobalOptions, type InjectionCheckResult, type InjectionStatus, type InstallResult, type InstructionUpdateSummary, type LockEntry, MarketplaceClient, type MarketplaceResult, type MarketplaceSearchResult, type MarketplaceSkill, type McpBatchOperation, type McpConflict, type McpConflictCode, type McpPlanApplyResult, type McpServerConfig, type McpServerEntry, type NormalizedRecommendationCriteria, type ParsedSource, type Provider, type ProviderPriority, type ProviderStatus, RECOMMENDATION_ERROR_CODES, type RankedSkillRecommendation, type RecommendSkillsResult, type RecommendationCriteriaInput, type RecommendationErrorCode, type RecommendationOptions, type RecommendationReason, type RecommendationReasonCode, type RecommendationScoreBreakdown, type RecommendationValidationIssue, type RecommendationValidationResult, type RecommendationWeights, type SkillBatchOperation, type SkillEntry, type SkillInstallResult, type SkillMetadata, type SourceType, type TransportType, type ValidationIssue, type ValidationResult, applyMcpInstallWithPolicy, buildServerConfig, catalog, checkAllInjections, checkInjection, checkSkillUpdate, configureProviderGlobalAndProject, deepMerge, detectAllProviders, detectMcpConfigConflicts, detectProjectProviders, detectProvider, discoverSkill, discoverSkills, ensureDir, formatSkillRecommendations, generateInjectionContent, getAgentsConfigPath, getAgentsHome, getAgentsInstructFile, getAgentsLinksDir, getAgentsMcpDir, getAgentsMcpServersPath, getAgentsSpecDir, getAgentsWikiDir, getAllProviders, getCanonicalSkillsDir, getInstalledProviders, getInstructionFiles, getLastSelectedAgents, getLockFilePath, getNestedValue, getPlatformLocations, getProjectAgentsDir, getProvider, getProviderCount, getProvidersByInstructFile, getProvidersByPriority, getProvidersByStatus, getRegistryVersion, getTrackedMcpServers, getTrackedSkills, getTransform, groupByInstructFile, inject, injectAll, installBatchWithRollback, installMcpServer, installMcpServerToAll, installSkill, isMarketplaceScoped, isQuiet, isVerbose, listAgentsMcpServers, listAllMcpServers, listCanonicalSkills, listMcpServers, normalizeRecommendationCriteria, parseSkillFile, parseSource, rankSkills, readConfig, readLockFile, recommendSkills, recordMcpInstall, recordSkillInstall, removeConfig, removeInjection, removeMcpFromLock, removeMcpServer, removeSkill, removeSkillFromLock, resetDetectionCache, resolveAlias, resolveConfigPath, resolveRegistryTemplatePath, saveLastSelectedAgents, scanDirectory, scanFile, scoreSkillRecommendation, searchSkills, selectProvidersByMinimumPriority, setQuiet, setVerbose, toSarif, tokenizeCriteriaValue, updateInstructionsSingleOperation, validateRecommendationCriteria, validateSkill, writeConfig };
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
RECOMMENDATION_ERROR_CODES,
|
|
4
4
|
applyMcpInstallWithPolicy,
|
|
5
5
|
buildServerConfig,
|
|
6
|
+
catalog_exports,
|
|
6
7
|
checkAllInjections,
|
|
7
8
|
checkInjection,
|
|
8
9
|
checkSkillUpdate,
|
|
@@ -17,7 +18,14 @@ import {
|
|
|
17
18
|
ensureDir,
|
|
18
19
|
formatSkillRecommendations,
|
|
19
20
|
generateInjectionContent,
|
|
21
|
+
getAgentsConfigPath,
|
|
20
22
|
getAgentsHome,
|
|
23
|
+
getAgentsInstructFile,
|
|
24
|
+
getAgentsLinksDir,
|
|
25
|
+
getAgentsMcpDir,
|
|
26
|
+
getAgentsMcpServersPath,
|
|
27
|
+
getAgentsSpecDir,
|
|
28
|
+
getAgentsWikiDir,
|
|
21
29
|
getAllProviders,
|
|
22
30
|
getCanonicalSkillsDir,
|
|
23
31
|
getInstalledProviders,
|
|
@@ -46,6 +54,7 @@ import {
|
|
|
46
54
|
isMarketplaceScoped,
|
|
47
55
|
isQuiet,
|
|
48
56
|
isVerbose,
|
|
57
|
+
listAgentsMcpServers,
|
|
49
58
|
listAllMcpServers,
|
|
50
59
|
listCanonicalSkills,
|
|
51
60
|
listMcpServers,
|
|
@@ -82,12 +91,13 @@ import {
|
|
|
82
91
|
validateRecommendationCriteria,
|
|
83
92
|
validateSkill,
|
|
84
93
|
writeConfig
|
|
85
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-YCSZGZ5W.js";
|
|
86
95
|
export {
|
|
87
96
|
MarketplaceClient,
|
|
88
97
|
RECOMMENDATION_ERROR_CODES,
|
|
89
98
|
applyMcpInstallWithPolicy,
|
|
90
99
|
buildServerConfig,
|
|
100
|
+
catalog_exports as catalog,
|
|
91
101
|
checkAllInjections,
|
|
92
102
|
checkInjection,
|
|
93
103
|
checkSkillUpdate,
|
|
@@ -102,7 +112,14 @@ export {
|
|
|
102
112
|
ensureDir,
|
|
103
113
|
formatSkillRecommendations,
|
|
104
114
|
generateInjectionContent,
|
|
115
|
+
getAgentsConfigPath,
|
|
105
116
|
getAgentsHome,
|
|
117
|
+
getAgentsInstructFile,
|
|
118
|
+
getAgentsLinksDir,
|
|
119
|
+
getAgentsMcpDir,
|
|
120
|
+
getAgentsMcpServersPath,
|
|
121
|
+
getAgentsSpecDir,
|
|
122
|
+
getAgentsWikiDir,
|
|
106
123
|
getAllProviders,
|
|
107
124
|
getCanonicalSkillsDir,
|
|
108
125
|
getInstalledProviders,
|
|
@@ -131,6 +148,7 @@ export {
|
|
|
131
148
|
isMarketplaceScoped,
|
|
132
149
|
isQuiet,
|
|
133
150
|
isVerbose,
|
|
151
|
+
listAgentsMcpServers,
|
|
134
152
|
listAllMcpServers,
|
|
135
153
|
listCanonicalSkills,
|
|
136
154
|
listMcpServers,
|
package/dist/index.js.map
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleocode/caamp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Central AI Agent Managed Packages - unified provider registry and package manager for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"author": "",
|
|
49
49
|
"license": "MIT",
|
|
50
50
|
"dependencies": {
|
|
51
|
+
"@cleocode/ct-skills": "^2.0.0",
|
|
51
52
|
"@cleocode/lafs-protocol": "^0.1.1",
|
|
52
53
|
"@iarna/toml": "^2.2.5",
|
|
53
54
|
"commander": "^14.0.0",
|
package/providers/registry.json
CHANGED
|
@@ -967,30 +967,6 @@
|
|
|
967
967
|
"status": "active",
|
|
968
968
|
"agentSkillsCompatible": false
|
|
969
969
|
},
|
|
970
|
-
"sweep": {
|
|
971
|
-
"id": "sweep",
|
|
972
|
-
"toolName": "Sweep",
|
|
973
|
-
"vendor": "Sweep AI",
|
|
974
|
-
"agentFlag": "sweep",
|
|
975
|
-
"aliases": ["sweep-ai"],
|
|
976
|
-
"pathGlobal": "",
|
|
977
|
-
"pathProject": "",
|
|
978
|
-
"instructFile": "AGENTS.md",
|
|
979
|
-
"configKey": "mcpServers",
|
|
980
|
-
"configFormat": "json",
|
|
981
|
-
"configPathGlobal": "",
|
|
982
|
-
"configPathProject": "sweep.yaml",
|
|
983
|
-
"pathSkills": "",
|
|
984
|
-
"pathProjectSkills": "",
|
|
985
|
-
"detection": {
|
|
986
|
-
"methods": []
|
|
987
|
-
},
|
|
988
|
-
"supportedTransports": [],
|
|
989
|
-
"supportsHeaders": false,
|
|
990
|
-
"priority": "low",
|
|
991
|
-
"status": "planned",
|
|
992
|
-
"agentSkillsCompatible": false
|
|
993
|
-
},
|
|
994
970
|
"codegen": {
|
|
995
971
|
"id": "codegen",
|
|
996
972
|
"toolName": "Codegen",
|
|
@@ -1117,31 +1093,6 @@
|
|
|
1117
1093
|
"status": "active",
|
|
1118
1094
|
"agentSkillsCompatible": true
|
|
1119
1095
|
},
|
|
1120
|
-
"supermaven": {
|
|
1121
|
-
"id": "supermaven",
|
|
1122
|
-
"toolName": "Supermaven",
|
|
1123
|
-
"vendor": "Supermaven",
|
|
1124
|
-
"agentFlag": "supermaven",
|
|
1125
|
-
"aliases": [],
|
|
1126
|
-
"pathGlobal": "$HOME/.supermaven",
|
|
1127
|
-
"pathProject": ".supermaven",
|
|
1128
|
-
"instructFile": "AGENTS.md",
|
|
1129
|
-
"configKey": "mcpServers",
|
|
1130
|
-
"configFormat": "json",
|
|
1131
|
-
"configPathGlobal": "$HOME/.supermaven/mcp.json",
|
|
1132
|
-
"configPathProject": ".supermaven/mcp.json",
|
|
1133
|
-
"pathSkills": "$HOME/.supermaven/skills",
|
|
1134
|
-
"pathProjectSkills": ".supermaven/skills",
|
|
1135
|
-
"detection": {
|
|
1136
|
-
"methods": ["directory"],
|
|
1137
|
-
"directories": ["$HOME/.supermaven"]
|
|
1138
|
-
},
|
|
1139
|
-
"supportedTransports": ["stdio"],
|
|
1140
|
-
"supportsHeaders": false,
|
|
1141
|
-
"priority": "low",
|
|
1142
|
-
"status": "planned",
|
|
1143
|
-
"agentSkillsCompatible": false
|
|
1144
|
-
},
|
|
1145
1096
|
"gemini-code-assist": {
|
|
1146
1097
|
"id": "gemini-code-assist",
|
|
1147
1098
|
"toolName": "Gemini Code Assist",
|