@cleocode/caamp 1.1.2 → 1.2.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/dist/index.d.ts CHANGED
@@ -1651,10 +1651,9 @@ declare function isMarketplaceScoped(input: string): boolean;
1651
1651
  /**
1652
1652
  * Skill catalog - registry pattern for pluggable skill libraries.
1653
1653
  *
1654
- * Projects register their skill library via registerSkillLibrary() or
1655
- * registerSkillLibraryFromPath(). If no library is registered, CAAMP
1656
- * attempts auto-discovery via CAAMP_SKILL_LIBRARY env var or the
1657
- * canonical ~/.agents/skill-library/ location.
1654
+ * Projects MUST register their skill library via registerSkillLibrary() or
1655
+ * registerSkillLibraryFromPath(). CAAMP no longer auto-discovers from
1656
+ * ~/.agents/skill-library/ - explicit registration is required.
1658
1657
  *
1659
1658
  * All public functions delegate to the registered SkillLibrary instance.
1660
1659
  */
@@ -2213,7 +2212,7 @@ declare function getTrackedSkills(): Promise<Record<string, LockEntry>>;
2213
2212
  * Check if a skill has updates available by comparing the installed version
2214
2213
  * against the latest remote commit SHA.
2215
2214
  *
2216
- * Only supports GitHub and GitLab sources. Returns `"unknown"` for local,
2215
+ * Only supports GitHub, GitLab, and library (package-based) sources. Returns `"unknown"` for local,
2217
2216
  * package, or other source types.
2218
2217
  *
2219
2218
  * @param skillName - Name of the installed skill to check
@@ -2233,6 +2232,17 @@ declare function checkSkillUpdate(skillName: string): Promise<{
2233
2232
  latestVersion?: string;
2234
2233
  status: "up-to-date" | "update-available" | "unknown";
2235
2234
  }>;
2235
+ /**
2236
+ * Check for updates across all tracked skills.
2237
+ *
2238
+ * @returns Object mapping skill names to their update status
2239
+ */
2240
+ declare function checkAllSkillUpdates(): Promise<Record<string, {
2241
+ hasUpdate: boolean;
2242
+ currentVersion?: string;
2243
+ latestVersion?: string;
2244
+ status: "up-to-date" | "update-available" | "unknown";
2245
+ }>>;
2236
2246
 
2237
2247
  /**
2238
2248
  * Unified marketplace client
@@ -2671,4 +2681,4 @@ declare function isVerbose(): boolean;
2671
2681
  */
2672
2682
  declare function isQuiet(): boolean;
2673
2683
 
2674
- 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 InjectionTemplate, 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 SkillLibrary, type SkillLibraryDispatchMatrix, type SkillLibraryEntry, type SkillLibraryManifest, type SkillLibraryManifestSkill, type SkillLibraryProfile, type SkillLibraryValidationIssue, type SkillLibraryValidationResult, type SkillMetadata, type SourceType, type TransportType, type ValidationIssue, type ValidationResult, applyMcpInstallWithPolicy, buildInjectionContent, buildLibraryFromFiles, buildServerConfig, catalog, checkAllInjections, checkInjection, checkSkillUpdate, clearRegisteredLibrary, configureProviderGlobalAndProject, deepMerge, detectAllProviders, detectMcpConfigConflicts, detectProjectProviders, detectProvider, discoverSkill, discoverSkills, ensureDir, formatSkillRecommendations, generateInjectionContent, generateSkillsSection, 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, loadLibraryFromModule, normalizeRecommendationCriteria, parseInjectionContent, parseSkillFile, parseSource, rankSkills, readConfig, readLockFile, recommendSkills, recordMcpInstall, recordSkillInstall, registerSkillLibrary, registerSkillLibraryFromPath, removeConfig, removeInjection, removeMcpFromLock, removeMcpServer, removeSkill, removeSkillFromLock, resetDetectionCache, resolveAlias, resolveConfigPath, resolveRegistryTemplatePath, saveLastSelectedAgents, scanDirectory, scanFile, scoreSkillRecommendation, searchSkills, selectProvidersByMinimumPriority, setQuiet, setVerbose, toSarif, tokenizeCriteriaValue, updateInstructionsSingleOperation, validateRecommendationCriteria, validateSkill, writeConfig };
2684
+ 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 InjectionTemplate, 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 SkillLibrary, type SkillLibraryDispatchMatrix, type SkillLibraryEntry, type SkillLibraryManifest, type SkillLibraryManifestSkill, type SkillLibraryProfile, type SkillLibraryValidationIssue, type SkillLibraryValidationResult, type SkillMetadata, type SourceType, type TransportType, type ValidationIssue, type ValidationResult, applyMcpInstallWithPolicy, buildInjectionContent, buildLibraryFromFiles, buildServerConfig, catalog, checkAllInjections, checkAllSkillUpdates, checkInjection, checkSkillUpdate, clearRegisteredLibrary, configureProviderGlobalAndProject, deepMerge, detectAllProviders, detectMcpConfigConflicts, detectProjectProviders, detectProvider, discoverSkill, discoverSkills, ensureDir, formatSkillRecommendations, generateInjectionContent, generateSkillsSection, 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, loadLibraryFromModule, normalizeRecommendationCriteria, parseInjectionContent, parseSkillFile, parseSource, rankSkills, readConfig, readLockFile, recommendSkills, recordMcpInstall, recordSkillInstall, registerSkillLibrary, registerSkillLibraryFromPath, 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
@@ -7,6 +7,7 @@ import {
7
7
  buildServerConfig,
8
8
  catalog_exports,
9
9
  checkAllInjections,
10
+ checkAllSkillUpdates,
10
11
  checkInjection,
11
12
  checkSkillUpdate,
12
13
  clearRegisteredLibrary,
@@ -99,7 +100,7 @@ import {
99
100
  validateRecommendationCriteria,
100
101
  validateSkill,
101
102
  writeConfig
102
- } from "./chunk-7YV3KXEJ.js";
103
+ } from "./chunk-GR47LTXR.js";
103
104
  export {
104
105
  MarketplaceClient,
105
106
  RECOMMENDATION_ERROR_CODES,
@@ -109,6 +110,7 @@ export {
109
110
  buildServerConfig,
110
111
  catalog_exports as catalog,
111
112
  checkAllInjections,
113
+ checkAllSkillUpdates,
112
114
  checkInjection,
113
115
  checkSkillUpdate,
114
116
  clearRegisteredLibrary,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleocode/caamp",
3
- "version": "1.1.2",
3
+ "version": "1.2.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": {
@@ -56,7 +56,7 @@
56
56
  "url": "https://github.com/kryptobaseddev/caamp/issues"
57
57
  },
58
58
  "dependencies": {
59
- "@cleocode/lafs-protocol": "^1.3.2",
59
+ "@cleocode/lafs-protocol": "^1.4.1",
60
60
  "@iarna/toml": "^2.2.5",
61
61
  "commander": "^14.0.0",
62
62
  "gray-matter": "^4.0.3",