ccski 1.1.0 → 2.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/dist/index.d.mts CHANGED
@@ -5,6 +5,7 @@ import { z } from "zod";
5
5
  * Skill location types
6
6
  */
7
7
  type SkillLocation = "user" | "project" | "plugin";
8
+ type SkillProvider = "claude" | "codex" | "file";
8
9
  /**
9
10
  * Core skill metadata interface
10
11
  */
@@ -15,6 +16,8 @@ interface SkillMetadata {
15
16
  description: string;
16
17
  /** Whether the skill is disabled (.SKILL.md) */
17
18
  disabled?: boolean;
19
+ /** Provider (claude | codex | file/custom) */
20
+ provider: SkillProvider;
18
21
  /** Location type */
19
22
  location: SkillLocation;
20
23
  /** Absolute path to skill directory */
@@ -59,13 +62,14 @@ interface PluginEntry {
59
62
  installPath: string;
60
63
  gitCommitSha: string;
61
64
  isLocal: boolean;
65
+ scope?: string;
62
66
  }
63
67
  /**
64
68
  * Installed plugins JSON structure
65
69
  */
66
70
  interface InstalledPlugins {
67
71
  version: number;
68
- plugins: Record<string, PluginEntry>;
72
+ plugins: Record<string, PluginEntry | PluginEntry[]>;
69
73
  }
70
74
  //#endregion
71
75
  //#region src/types/errors.d.ts
@@ -89,7 +93,7 @@ declare class SkillNotFoundError extends CcskiError {
89
93
  declare class AmbiguousSkillNameError extends CcskiError {
90
94
  skillName: string;
91
95
  matches: string[];
92
- constructor(skillName: string, matches: string[]);
96
+ constructor(skillName: string, matches: string[], suggestions?: string[]);
93
97
  }
94
98
  /**
95
99
  * Error thrown when skill validation fails
@@ -132,75 +136,134 @@ declare const PluginEntrySchema: z.ZodObject<{
132
136
  installPath: z.ZodString;
133
137
  gitCommitSha: z.ZodString;
134
138
  isLocal: z.ZodBoolean;
135
- }, "strip", z.ZodTypeAny, {
136
- version: string;
137
- installedAt: string;
138
- lastUpdated: string;
139
- installPath: string;
140
- gitCommitSha: string;
141
- isLocal: boolean;
142
- }, {
143
- version: string;
144
- installedAt: string;
145
- lastUpdated: string;
146
- installPath: string;
147
- gitCommitSha: string;
148
- isLocal: boolean;
149
- }>;
139
+ scope: z.ZodOptional<z.ZodString>;
140
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
141
+ version: z.ZodString;
142
+ installedAt: z.ZodString;
143
+ lastUpdated: z.ZodString;
144
+ installPath: z.ZodString;
145
+ gitCommitSha: z.ZodString;
146
+ isLocal: z.ZodBoolean;
147
+ scope: z.ZodOptional<z.ZodString>;
148
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
149
+ version: z.ZodString;
150
+ installedAt: z.ZodString;
151
+ lastUpdated: z.ZodString;
152
+ installPath: z.ZodString;
153
+ gitCommitSha: z.ZodString;
154
+ isLocal: z.ZodBoolean;
155
+ scope: z.ZodOptional<z.ZodString>;
156
+ }, z.ZodTypeAny, "passthrough">>;
150
157
  /**
151
158
  * Schema for installed_plugins.json
152
159
  */
153
160
  declare const InstalledPluginsSchema: z.ZodObject<{
154
161
  version: z.ZodNumber;
155
- plugins: z.ZodRecord<z.ZodString, z.ZodObject<{
162
+ plugins: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
156
163
  version: z.ZodString;
157
164
  installedAt: z.ZodString;
158
165
  lastUpdated: z.ZodString;
159
166
  installPath: z.ZodString;
160
167
  gitCommitSha: z.ZodString;
161
168
  isLocal: z.ZodBoolean;
162
- }, "strip", z.ZodTypeAny, {
163
- version: string;
164
- installedAt: string;
165
- lastUpdated: string;
166
- installPath: string;
167
- gitCommitSha: string;
168
- isLocal: boolean;
169
- }, {
170
- version: string;
171
- installedAt: string;
172
- lastUpdated: string;
173
- installPath: string;
174
- gitCommitSha: string;
175
- isLocal: boolean;
176
- }>>;
169
+ scope: z.ZodOptional<z.ZodString>;
170
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
171
+ version: z.ZodString;
172
+ installedAt: z.ZodString;
173
+ lastUpdated: z.ZodString;
174
+ installPath: z.ZodString;
175
+ gitCommitSha: z.ZodString;
176
+ isLocal: z.ZodBoolean;
177
+ scope: z.ZodOptional<z.ZodString>;
178
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
179
+ version: z.ZodString;
180
+ installedAt: z.ZodString;
181
+ lastUpdated: z.ZodString;
182
+ installPath: z.ZodString;
183
+ gitCommitSha: z.ZodString;
184
+ isLocal: z.ZodBoolean;
185
+ scope: z.ZodOptional<z.ZodString>;
186
+ }, z.ZodTypeAny, "passthrough">>, z.ZodArray<z.ZodObject<{
187
+ version: z.ZodString;
188
+ installedAt: z.ZodString;
189
+ lastUpdated: z.ZodString;
190
+ installPath: z.ZodString;
191
+ gitCommitSha: z.ZodString;
192
+ isLocal: z.ZodBoolean;
193
+ scope: z.ZodOptional<z.ZodString>;
194
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
195
+ version: z.ZodString;
196
+ installedAt: z.ZodString;
197
+ lastUpdated: z.ZodString;
198
+ installPath: z.ZodString;
199
+ gitCommitSha: z.ZodString;
200
+ isLocal: z.ZodBoolean;
201
+ scope: z.ZodOptional<z.ZodString>;
202
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
203
+ version: z.ZodString;
204
+ installedAt: z.ZodString;
205
+ lastUpdated: z.ZodString;
206
+ installPath: z.ZodString;
207
+ gitCommitSha: z.ZodString;
208
+ isLocal: z.ZodBoolean;
209
+ scope: z.ZodOptional<z.ZodString>;
210
+ }, z.ZodTypeAny, "passthrough">>, "many">]>>;
177
211
  }, "strip", z.ZodTypeAny, {
178
212
  version: number;
179
- plugins: Record<string, {
180
- version: string;
181
- installedAt: string;
182
- lastUpdated: string;
183
- installPath: string;
184
- gitCommitSha: string;
185
- isLocal: boolean;
186
- }>;
213
+ plugins: Record<string, z.objectOutputType<{
214
+ version: z.ZodString;
215
+ installedAt: z.ZodString;
216
+ lastUpdated: z.ZodString;
217
+ installPath: z.ZodString;
218
+ gitCommitSha: z.ZodString;
219
+ isLocal: z.ZodBoolean;
220
+ scope: z.ZodOptional<z.ZodString>;
221
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
222
+ version: z.ZodString;
223
+ installedAt: z.ZodString;
224
+ lastUpdated: z.ZodString;
225
+ installPath: z.ZodString;
226
+ gitCommitSha: z.ZodString;
227
+ isLocal: z.ZodBoolean;
228
+ scope: z.ZodOptional<z.ZodString>;
229
+ }, z.ZodTypeAny, "passthrough">[]>;
187
230
  }, {
188
231
  version: number;
189
- plugins: Record<string, {
190
- version: string;
191
- installedAt: string;
192
- lastUpdated: string;
193
- installPath: string;
194
- gitCommitSha: string;
195
- isLocal: boolean;
196
- }>;
232
+ plugins: Record<string, z.objectInputType<{
233
+ version: z.ZodString;
234
+ installedAt: z.ZodString;
235
+ lastUpdated: z.ZodString;
236
+ installPath: z.ZodString;
237
+ gitCommitSha: z.ZodString;
238
+ isLocal: z.ZodBoolean;
239
+ scope: z.ZodOptional<z.ZodString>;
240
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
241
+ version: z.ZodString;
242
+ installedAt: z.ZodString;
243
+ lastUpdated: z.ZodString;
244
+ installPath: z.ZodString;
245
+ gitCommitSha: z.ZodString;
246
+ isLocal: z.ZodBoolean;
247
+ scope: z.ZodOptional<z.ZodString>;
248
+ }, z.ZodTypeAny, "passthrough">[]>;
197
249
  }>;
250
+ /**
251
+ * Schema for Claude settings.json (subset we care about)
252
+ */
253
+ declare const ClaudeSettingsSchema: z.ZodObject<{
254
+ enabledPlugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
255
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
256
+ enabledPlugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
257
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
258
+ enabledPlugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
259
+ }, z.ZodTypeAny, "passthrough">>;
198
260
  /**
199
261
  * Infer TypeScript types from Zod schemas
200
262
  */
201
263
  type SkillFrontmatterType = z.infer<typeof SkillFrontmatterSchema>;
202
264
  type PluginEntryType = z.infer<typeof PluginEntrySchema>;
203
265
  type InstalledPluginsType = z.infer<typeof InstalledPluginsSchema>;
266
+ type ClaudeSettingsType = z.infer<typeof ClaudeSettingsSchema>;
204
267
  //#endregion
205
268
  //#region src/core/parser.d.ts
206
269
  /**
@@ -233,14 +296,15 @@ declare function validateSkillFile(filePath: string): {
233
296
  };
234
297
  //#endregion
235
298
  //#region src/core/discovery.d.ts
236
- /**
237
- * Skill directories in priority order (highest to lowest)
238
- */
239
- declare const SKILL_DIRECTORIES: readonly [".agent/skills", ".claude/skills", `${string}/.agent/skills`, `${string}/.claude/skills`];
299
+ declare function getDefaultSkillDirectories(userDir: string): ReadonlyArray<{
300
+ path: string;
301
+ provider: SkillProvider;
302
+ }>;
240
303
  interface DiscoveryDiagnostics {
241
304
  scannedDirectories: string[];
242
305
  warnings: string[];
243
306
  conflicts: string[];
307
+ byProvider: Record<SkillProvider, number>;
244
308
  }
245
309
  interface DiscoveryResult {
246
310
  skills: SkillMetadata[];
@@ -249,15 +313,23 @@ interface DiscoveryResult {
249
313
  /**
250
314
  * Options for skill discovery
251
315
  */
316
+ interface CustomDirScopeEntry {
317
+ path: string;
318
+ scope?: string;
319
+ }
252
320
  interface DiscoveryOptions {
253
321
  /** Additional custom directories to scan */
254
- customDirs?: string[];
322
+ customDirs?: Array<string | CustomDirScopeEntry>;
323
+ /** Provider to tag custom directories with (defaults to "file") */
324
+ customProvider?: SkillProvider;
255
325
  /** Skip plugin skills */
256
326
  skipPlugins?: boolean;
257
327
  /** Whether to scan built-in directories (.agent/.claude). Defaults to true. */
258
328
  scanDefaultDirs?: boolean;
259
329
  /** Include disabled skills (.SKILL.md) in results */
260
330
  includeDisabled?: boolean;
331
+ /** Base directory used for user-level default roots; defaults to OS home */
332
+ userDir?: string;
261
333
  }
262
334
  interface ScanOptions {
263
335
  location?: SkillLocation;
@@ -273,7 +345,7 @@ declare function scanSkillDirectory(dirPath: string, {
273
345
  recursive,
274
346
  diagnostics,
275
347
  includeDisabled
276
- }: ScanOptions): SkillMetadata[];
348
+ }: ScanOptions, provider: SkillProvider, userDir?: string, scope?: string): SkillMetadata[];
277
349
  /**
278
350
  * Discover all skills from standard directories
279
351
  */
@@ -287,6 +359,8 @@ declare function loadSkill(metadata: SkillMetadata): Skill;
287
359
  interface PluginDiscoveryOptions {
288
360
  pluginsFile?: string;
289
361
  pluginsRoot?: string;
362
+ settingsFile?: string;
363
+ userDir?: string;
290
364
  }
291
365
  //#endregion
292
366
  //#region src/core/registry.d.ts
@@ -323,12 +397,14 @@ declare class SkillRegistry {
323
397
  * Get suggestions for similar skill names (fuzzy matching)
324
398
  */
325
399
  private getSuggestions;
400
+ private formatNameWithProvider;
326
401
  /**
327
402
  * Get diagnostic information
328
403
  */
329
404
  getDiagnostics(): {
330
405
  totalSkills: number;
331
406
  byLocation: Record<string, number>;
407
+ byProvider: Record<string, number>;
332
408
  directoriesScanned: string[];
333
409
  pluginSources: string[];
334
410
  warnings: string[];
@@ -336,5 +412,5 @@ declare class SkillRegistry {
336
412
  };
337
413
  }
338
414
  //#endregion
339
- export { AmbiguousSkillNameError, CcskiError, DiscoveryDiagnostics, DiscoveryOptions, DiscoveryResult, InstalledPlugins, InstalledPluginsSchema, InstalledPluginsType, ParseError, ParseResult, PluginEntry, PluginEntrySchema, PluginEntryType, SKILL_DIRECTORIES, Skill, SkillFrontmatter, SkillFrontmatterSchema, SkillFrontmatterType, SkillLocation, SkillMetadata, SkillNotFoundError, SkillRegistry, SkillRegistryOptions, ValidationError, discoverSkills, loadSkill, parseSkillFile, scanSkillDirectory, validateSkillFile };
415
+ export { AmbiguousSkillNameError, CcskiError, ClaudeSettingsSchema, ClaudeSettingsType, DiscoveryDiagnostics, DiscoveryOptions, DiscoveryResult, InstalledPlugins, InstalledPluginsSchema, InstalledPluginsType, ParseError, ParseResult, PluginEntry, PluginEntrySchema, PluginEntryType, Skill, SkillFrontmatter, SkillFrontmatterSchema, SkillFrontmatterType, SkillLocation, SkillMetadata, SkillNotFoundError, SkillProvider, SkillRegistry, SkillRegistryOptions, ValidationError, discoverSkills, getDefaultSkillDirectories, loadSkill, parseSkillFile, scanSkillDirectory, validateSkillFile };
340
416
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/skill.ts","../src/types/errors.ts","../src/types/schemas.ts","../src/core/parser.ts","../src/core/discovery.ts","../src/core/plugins.ts","../src/core/registry.ts"],"sourcesContent":[],"mappings":";;;;;;AAGY,KAAA,aAAA,GAAa,MAAA,GAAA,SAAA,GAAA,QAAA;AAKzB;AA4BA;AAUA;AASiB,UA/CA,aAAA,CA+CW;EAYX;;;;EChEJ;EAaA,QAAA,CAAA,EAAA,OAAA;EAaA;EAeA,QAAA,ED5BD,aC4BiB;EAchB;;;;ECrDA;;;;;;;;;;;;;;AAQA,UFuBI,KAAA,SAAc,aEhB7B,CAAA;;;;;;;;;AAP4B,UFiCb,gBAAA,CEjCa;EAYjB,IAAA,EAAA,MAAA;;;;;;;UF8BI,WAAA;;;;;;;;;;AEtBjB;AACY,UFiCK,gBAAA,CEjC4B;EACjC,OAAA,EAAA,MAAA;WFkCD,eAAe;;;;;;;AAlEd,cCAC,UAAA,SAAmB,KAAA,CDAP;EAKR,SAAA,WAAa,EAAA,MAQlB,EAAA;EAoBK,WAAM,CAAA,OAAA,EAAQ,MAAA,EAAA,WAAa,CAAA,EAAA,MAAA,EAAA;AAU5C;AASA;AAYA;;cCnDa,kBAAA,SAA2B,UAAA;;EAb3B,WAAA,CAAA,SAAW,EAAA,MAAQ,EAAK,WAAA,CAAA,EAAA,MAAA,EAAA;AAarC;AAaA;AAeA;AAcA;cA7Ba,uBAAA,SAAgC,UAAA;;;ECxBhC,WAAA,CAAA,SAAA,EAAA,MAGG,EAAA,OAAA,EAAA,MAAA,EAAA;;;;;cDoCH,eAAA,SAAwB,UAAA;;;;;;;;ACvCF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AAA,EAAA;IAAA,aAAA,EAAA,MAAA,EAAA;IAYjB,QAAA,EAAA,MAAA,EAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/skill.ts","../src/types/errors.ts","../src/types/schemas.ts","../src/core/parser.ts","../src/core/discovery.ts","../src/core/plugins.ts","../src/core/registry.ts"],"sourcesContent":[],"mappings":";;;;;;AAGY,KAAA,aAAA,GAAa,MAAA,GAAA,SAAA,GAAA,QAAA;AACb,KAAA,aAAA,GAAa,QAAA,GAAA,OAAA,GAAA,MAAA;AAKzB;AA8BA;AAUA;AASiB,UAjDA,aAAA,CAiDW;EAaX;EAES,IAAA,EAAA,MAAA;EAAc;EAA7B,WAAA,EAAA,MAAA;EAAM;;;YAxDL;ECdC;EAaA,QAAA,EDGD,aCHoB;EAanB;EAiBA,IAAA,EAAA,MAAA;EAcA;;;;ECvDA;;;;;;;;;;;;AAAsB,UFkClB,KAAA,SAAc,aElCI,CAAA;EAAA;EAQtB,OAAA,EAAA,MAAA;;;;;;;UFoCI,gBAAA;;;;;;;;UASA,WAAA;;;;;;;;;;;;UAaA,gBAAA;;WAEN,eAAe,cAAc;;;;;;;AAtE5B,cCAC,UAAA,SAAmB,KAAA,CDAP;EACb,SAAA,WAAa,EAAA,MAAA,EAAA;EAKR,WAAA,CAAA,OAAa,EAAA,MAAA,EAQlB,WAEA,CAFA,EAEA,MAAA,EAAA;AAoBZ;AAUA;AASA;AAaA;AAE0B,cCzDb,kBAAA,SAA2B,UAAA,CDyDd;EAAc,SAAA,EAAA,MAAA;EAA7B,WAAA,CAAA,SAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EAAA,MAAA,EAAA;;;;;ACtEE,cA0BA,uBAAA,SAAgC,UAAA,CA1BR;EAaxB,SAAA,EAAA,MAAA;EAaA,OAAA,EAAA,MAAA,EAAA;EAiBA,WAAA,CAAA,SAAgB,EAAA,MAAA,EAAQ,OAAA,EAAA,MAAU,EAAA,EAAA,WAAA,CAAA,EAAA,MAA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;;;;ACtEX;AAaA;EAaa,MAAA,CAAA,CAAA,EK0ED,aL1EC,EAAA;EAiBA;AAcb;;sBKkDsB;;AJzGtB;;;;;;sBIyJsB;;;;;;EJzJa;;AAQnC;;;gBI0KgB;gBACA"}
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { B as CcskiError, C as PluginEntrySchema, H as SkillNotFoundError, S as InstalledPluginsSchema, U as ValidationError, V as ParseError, a as discoverSkills, b as parseSkillFile, i as SKILL_DIRECTORIES, o as loadSkill, s as scanSkillDirectory, t as SkillRegistry, w as SkillFrontmatterSchema, x as validateSkillFile, z as AmbiguousSkillNameError } from "./registry-DtGaEhsM.mjs";
1
+ import { A as SkillFrontmatterSchema, D as ClaudeSettingsSchema, E as validateSkillFile, G as AmbiguousSkillNameError, J as SkillNotFoundError, K as CcskiError, O as InstalledPluginsSchema, T as parseSkillFile, Y as ValidationError, c as getDefaultSkillDirectories, k as PluginEntrySchema, l as loadSkill, q as ParseError, s as discoverSkills, t as SkillRegistry, u as scanSkillDirectory } from "./registry-DNMfmLqa.mjs";
2
2
 
3
- export { AmbiguousSkillNameError, CcskiError, InstalledPluginsSchema, ParseError, PluginEntrySchema, SKILL_DIRECTORIES, SkillFrontmatterSchema, SkillNotFoundError, SkillRegistry, ValidationError, discoverSkills, loadSkill, parseSkillFile, scanSkillDirectory, validateSkillFile };
3
+ export { AmbiguousSkillNameError, CcskiError, ClaudeSettingsSchema, InstalledPluginsSchema, ParseError, PluginEntrySchema, SkillFrontmatterSchema, SkillNotFoundError, SkillRegistry, ValidationError, discoverSkills, getDefaultSkillDirectories, loadSkill, parseSkillFile, scanSkillDirectory, validateSkillFile };