ccski 2.3.1 → 2.3.2
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 +22 -0
- package/dist/cli.mjs +1 -1
- package/dist/{esm-CCJbAK42.mjs → esm-CWBkGBbQ.mjs} +2 -2
- package/dist/{esm-CCJbAK42.mjs.map → esm-CWBkGBbQ.mjs.map} +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{server-y5_8eQ5a.mjs → server-DwuqhC__.mjs} +8 -7
- package/dist/server-DwuqhC__.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/server-y5_8eQ5a.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ Documentation site: https://jixoai-labs.github.io/ccski/
|
|
|
12
12
|
- [Core CLI commands](#core-cli-commands)
|
|
13
13
|
- [Install examples](#install-examples)
|
|
14
14
|
- [Enable/disable](#enabledisable)
|
|
15
|
+
- [Discovery roots and priority](#discovery-roots-and-priority)
|
|
15
16
|
- [More](#more)
|
|
16
17
|
- [Acknowledgements](#acknowledgements)
|
|
17
18
|
- [API Reference](#api-reference)
|
|
@@ -87,6 +88,27 @@ ccski enable -i
|
|
|
87
88
|
ccski disable --all
|
|
88
89
|
```
|
|
89
90
|
|
|
91
|
+
### Discovery roots and priority
|
|
92
|
+
|
|
93
|
+
By default ccski scans shared and agent-specific skill roots in the workspace and user
|
|
94
|
+
home directory. Built-in agent roots include `.claude/skills`, `.codex/skills`,
|
|
95
|
+
`.gemini/skills`, and `.openclaw/skills`; ccski also discovers shallow dynamic
|
|
96
|
+
agent roots such as `.<agent>/skills`.
|
|
97
|
+
|
|
98
|
+
When `auto` selection sees the same skill name in multiple roots, ccski keeps every
|
|
99
|
+
copy internally but chooses one by source priority:
|
|
100
|
+
|
|
101
|
+
1. `--skill-dir` custom roots
|
|
102
|
+
2. `<workspace>/.<agent>/skills`
|
|
103
|
+
3. `<workspace>/.agents/skills`
|
|
104
|
+
4. `<workspace>/skills`
|
|
105
|
+
5. `~/.<agent>/skills`
|
|
106
|
+
6. `~/.agents/skills`
|
|
107
|
+
7. Claude plugin skills
|
|
108
|
+
|
|
109
|
+
If two copies have the same source priority, the newer `SKILL.md` or `.SKILL.md`
|
|
110
|
+
mtime wins. If mtimes also tie, provider ordering is deterministic.
|
|
111
|
+
|
|
90
112
|
## More
|
|
91
113
|
|
|
92
114
|
- Programmatic API is available from the package export; see [API Reference](#api-reference) (or the docs site) for usage examples.
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { x as __require } from "./create-prompt-CIJV_96B.mjs";
|
|
3
|
-
import { $ as AmbiguousSkillNameError, A as highlight, C as formatSkillLabel, D as error, E as duplicateBadge, F as tone, I as warn, L as containsCaseInsensitive, M as renderList, N as setColorEnabled, O as formatBytes, P as success, R as rankStrings, S as SkillRegistry, T as dim, U as compareSkillProviders, W as providerNamesFromSkills, _ as listSkills, a as InstallCancelledError, b as computeDuplicateGroups, f as validateSkill, g as resolveSkill, h as getSkillInfo, i as toggleSkills, j as info, k as heading, l as installSkills, n as MultiSelectError, nt as SkillNotFoundError, o as MultiSkillSelectionError, p as searchSkills, r as ToggleCancelledError, s as createConsoleInstallOutput, t as startMCPServer, u as registerInstallCleanupHandlers, v as buildRegistryOptions, w as colors, x as parseFilters, y as applyFilters } from "./server-
|
|
3
|
+
import { $ as AmbiguousSkillNameError, A as highlight, C as formatSkillLabel, D as error, E as duplicateBadge, F as tone, I as warn, L as containsCaseInsensitive, M as renderList, N as setColorEnabled, O as formatBytes, P as success, R as rankStrings, S as SkillRegistry, T as dim, U as compareSkillProviders, W as providerNamesFromSkills, _ as listSkills, a as InstallCancelledError, b as computeDuplicateGroups, f as validateSkill, g as resolveSkill, h as getSkillInfo, i as toggleSkills, j as info, k as heading, l as installSkills, n as MultiSelectError, nt as SkillNotFoundError, o as MultiSkillSelectionError, p as searchSkills, r as ToggleCancelledError, s as createConsoleInstallOutput, t as startMCPServer, u as registerInstallCleanupHandlers, v as buildRegistryOptions, w as colors, x as parseFilters, y as applyFilters } from "./server-DwuqhC__.mjs";
|
|
4
4
|
import { readFileSync, statSync } from "node:fs";
|
|
5
5
|
import { readFileSync as readFileSync$1, readdirSync as readdirSync$1, statSync as statSync$1, writeFile } from "fs";
|
|
6
6
|
import { homedir } from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as __toESM, d as useState, h as isEnterKey, i as useKeypress, o as usePrefix, s as makeTheme, t as createPrompt, v as isTabKey } from "./create-prompt-CIJV_96B.mjs";
|
|
2
|
-
import { d as Separator } from "./server-
|
|
2
|
+
import { d as Separator } from "./server-DwuqhC__.mjs";
|
|
3
3
|
|
|
4
4
|
//#region node_modules/.pnpm/@inquirer+confirm@5.1.21_@types+node@22.19.1/node_modules/@inquirer/confirm/dist/esm/index.js
|
|
5
5
|
function getBooleanValue(value, defaultValue) {
|
|
@@ -43,4 +43,4 @@ var esm_default = createPrompt((config, done) => {
|
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
45
|
export { esm_default as confirm };
|
|
46
|
-
//# sourceMappingURL=esm-
|
|
46
|
+
//# sourceMappingURL=esm-CWBkGBbQ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esm-
|
|
1
|
+
{"version":3,"file":"esm-CWBkGBbQ.mjs","names":[],"sources":["../node_modules/.pnpm/@inquirer+confirm@5.1.21_@types+node@22.19.1/node_modules/@inquirer/confirm/dist/esm/index.js"],"sourcesContent":["import { createPrompt, useState, useKeypress, isEnterKey, isTabKey, usePrefix, makeTheme, } from '@inquirer/core';\nfunction getBooleanValue(value, defaultValue) {\n let answer = defaultValue !== false;\n if (/^(y|yes)/i.test(value))\n answer = true;\n else if (/^(n|no)/i.test(value))\n answer = false;\n return answer;\n}\nfunction boolToString(value) {\n return value ? 'Yes' : 'No';\n}\nexport default createPrompt((config, done) => {\n const { transformer = boolToString } = config;\n const [status, setStatus] = useState('idle');\n const [value, setValue] = useState('');\n const theme = makeTheme(config.theme);\n const prefix = usePrefix({ status, theme });\n useKeypress((key, rl) => {\n if (status !== 'idle')\n return;\n if (isEnterKey(key)) {\n const answer = getBooleanValue(value, config.default);\n setValue(transformer(answer));\n setStatus('done');\n done(answer);\n }\n else if (isTabKey(key)) {\n const answer = boolToString(!getBooleanValue(value, config.default));\n rl.clearLine(0); // Remove the tab character.\n rl.write(answer);\n setValue(answer);\n }\n else {\n setValue(rl.line);\n }\n });\n let formattedValue = value;\n let defaultValue = '';\n if (status === 'done') {\n formattedValue = theme.style.answer(value);\n }\n else {\n defaultValue = ` ${theme.style.defaultAnswer(config.default === false ? 'y/N' : 'Y/n')}`;\n }\n const message = theme.style.message(config.message, status);\n return `${prefix} ${message}${defaultValue} ${formattedValue}`;\n});\n"],"x_google_ignoreList":[0],"mappings":";;;;AACA,SAAS,gBAAgB,OAAO,cAAc;CAC1C,IAAI,SAAS,iBAAiB;AAC9B,KAAI,YAAY,KAAK,MAAM,CACvB,UAAS;UACJ,WAAW,KAAK,MAAM,CAC3B,UAAS;AACb,QAAO;;AAEX,SAAS,aAAa,OAAO;AACzB,QAAO,QAAQ,QAAQ;;AAE3B,kBAAe,cAAc,QAAQ,SAAS;CAC1C,MAAM,EAAE,cAAc,iBAAiB;CACvC,MAAM,CAAC,QAAQ,aAAa,SAAS,OAAO;CAC5C,MAAM,CAAC,OAAO,YAAY,SAAS,GAAG;CACtC,MAAM,QAAQ,UAAU,OAAO,MAAM;CACrC,MAAM,SAAS,UAAU;EAAE;EAAQ;EAAO,CAAC;AAC3C,cAAa,KAAK,OAAO;AACrB,MAAI,WAAW,OACX;AACJ,MAAI,WAAW,IAAI,EAAE;GACjB,MAAM,SAAS,gBAAgB,OAAO,OAAO,QAAQ;AACrD,YAAS,YAAY,OAAO,CAAC;AAC7B,aAAU,OAAO;AACjB,QAAK,OAAO;aAEP,SAAS,IAAI,EAAE;GACpB,MAAM,SAAS,aAAa,CAAC,gBAAgB,OAAO,OAAO,QAAQ,CAAC;AACpE,MAAG,UAAU,EAAE;AACf,MAAG,MAAM,OAAO;AAChB,YAAS,OAAO;QAGhB,UAAS,GAAG,KAAK;GAEvB;CACF,IAAI,iBAAiB;CACrB,IAAI,eAAe;AACnB,KAAI,WAAW,OACX,kBAAiB,MAAM,MAAM,OAAO,MAAM;KAG1C,gBAAe,IAAI,MAAM,MAAM,cAAc,OAAO,YAAY,QAAQ,QAAQ,MAAM;AAG1F,QAAO,GAAG,OAAO,GADD,MAAM,MAAM,QAAQ,OAAO,SAAS,OAAO,GAC7B,aAAa,GAAG;EAChD"}
|
package/dist/index.d.mts
CHANGED
|
@@ -217,9 +217,10 @@ declare const SKILL_SOURCE_PRIORITIES: {
|
|
|
217
217
|
readonly plugin: 0;
|
|
218
218
|
readonly "user-shared": 100;
|
|
219
219
|
readonly "user-agent": 200;
|
|
220
|
-
readonly "workspace-
|
|
221
|
-
readonly "workspace-
|
|
222
|
-
readonly
|
|
220
|
+
readonly "workspace-root": 300;
|
|
221
|
+
readonly "workspace-shared": 400;
|
|
222
|
+
readonly "workspace-agent": 500;
|
|
223
|
+
readonly custom: 600;
|
|
223
224
|
};
|
|
224
225
|
type SkillSourceKind = keyof typeof SKILL_SOURCE_PRIORITIES;
|
|
225
226
|
/**
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/diagnostics.ts","../src/types/errors.ts","../src/types/schemas.ts","../src/types/skill.ts","../src/core/parser.ts","../src/core/skill-roots.ts","../src/core/discovery.ts","../src/core/plugins.ts","../src/core/registry.ts","../src/utils/registry-options.ts","../src/api/types.ts","../src/api/list.ts","../src/api/info.ts","../src/api/search.ts","../src/api/validate.ts","../src/api/install.ts","../src/api/toggle.ts","../src/utils/filters.ts","../src/mcp/server.ts"],"sourcesContent":[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;;;;;;;;;;;;;;;;;;;;;IAfL,WAAA,aAAA;IAAA,WAAA,aAAA;IAejB,YAAA,aAGX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,sBAAoB,CAAA,CAAA;;;;;;;;;;KASrB,oBAAA,GAAuB,CAAA,CAAE,aAAa;KACtC,eAAA,GAAkB,CAAA,CAAE,aAAa;KACjC,oBAAA,GAAuB,CAAA,CAAE,aAAa;KACtC,kBAAA,GAAqB,CAAA,CAAE,aAAa;;;;;;AFhDpC,KGGA,aAAA,GHHkB,MAAA,GAAA,SAAA,GAAA,QAAA;AAElB,cGGC,wBHHe,EAAA,SAAA,CAAA,QAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAEX,KGUL,oBAAA,GHVoB,CAAA,OGUW,wBHVX,CAAA,CAAA,MAAA,CAAA;AACpB,KGUA,aAAA,GAAgB,oBHVhB,GAAA,CAAA,MAAA,GAAA,CAAA,CAAA,CAAA;AACF,cGWG,uBHXH,EAAA;EAGE,SAAA,MAAA,EAAA,CAAA;EAAM,SAAA,aAAA,EAAA,GAAA;EAGF,SAAA,YAAA,EAAmB,GAAA;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/diagnostics.ts","../src/types/errors.ts","../src/types/schemas.ts","../src/types/skill.ts","../src/core/parser.ts","../src/core/skill-roots.ts","../src/core/discovery.ts","../src/core/plugins.ts","../src/core/registry.ts","../src/utils/registry-options.ts","../src/api/types.ts","../src/api/list.ts","../src/api/info.ts","../src/api/search.ts","../src/api/validate.ts","../src/api/install.ts","../src/api/toggle.ts","../src/utils/filters.ts","../src/mcp/server.ts"],"sourcesContent":[],"mappings":";;;KAAY,kBAAA;KAEA,gBAAA;UAEK,eAAA;EAJL,QAAA,EAKA,kBALkB;EAElB,MAAA,EAIF,gBAJkB;EAEX,IAAA,EAAA,MA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gBuB7B,OhBvB6B,CgBuBrB,ahBvBqB,CAAA;AACpB,cgB0EC,gBAAA,SAAyB,KAAA,ChB1E1B;EACF,OAAA,EAAA,MAAA;EAGE,WAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA;;AAGI,cgB6EH,oBAAA,SAA6B,KAAA,ChB7EqB;QgB8EpC;oBAAA;;;;AfvFd,KgBwBD,WAAA,GhBxBY,SAAa,GAAA,UAAA,GAAA,KAAA;;;ADDzB,UkBoBK,gBAAA,SAAyB,oBlBpBd,CAAA;EAEX,WAAA,CAAA,EAAA,OAAe;EACpB,eAAA,CAAA,EAAA,MAAA;EACF,SAAA,CAAA,EAAA,OAAA,GAAA,KAAA,GAAA,MAAA;EAGE,IAAA,CAAA,EAAA,MAAA;EAAM,IAAA,CAAA,EAAA,MAAA;EAGF,OAAA,CAAA,EAAA,MAAA,EAAA;;UkBkBN;;AjB3BV;AAaA;AAaA;AAiBa,iBiBVS,cAAA,CjBUe,OAAU,CAAA,EiBVD,gBjBUC,CAAA,EiBVuB,OjBUvB,CAAA,IAAA,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./create-prompt-CIJV_96B.mjs";
|
|
2
|
-
import { $ as AmbiguousSkillNameError, B as loadSkill, G as parseSkillFile, H as getDefaultSkillDirectories, J as SKILL_SOURCE_PRIORITIES, K as validateSkillFile, Q as SkillFrontmatterSchema, S as SkillRegistry, V as scanSkillDirectory, X as InstalledPluginsSchema, Y as ClaudeSettingsSchema, Z as PluginEntrySchema, _ as listSkills, a as InstallCancelledError, c as installSkillDir, et as CcskiError, f as validateSkill, h as getSkillInfo, i as toggleSkills, it as diagnosticToWarning, l as installSkills, m as searchSkillsDetailed, n as MultiSelectError, nt as SkillNotFoundError, o as MultiSkillSelectionError, p as searchSkills, q as BUILT_IN_SKILL_PROVIDERS, r as ToggleCancelledError, rt as ValidationError, s as createConsoleInstallOutput, t as startMCPServer, tt as ParseError, u as registerInstallCleanupHandlers, z as discoverSkills } from "./server-
|
|
2
|
+
import { $ as AmbiguousSkillNameError, B as loadSkill, G as parseSkillFile, H as getDefaultSkillDirectories, J as SKILL_SOURCE_PRIORITIES, K as validateSkillFile, Q as SkillFrontmatterSchema, S as SkillRegistry, V as scanSkillDirectory, X as InstalledPluginsSchema, Y as ClaudeSettingsSchema, Z as PluginEntrySchema, _ as listSkills, a as InstallCancelledError, c as installSkillDir, et as CcskiError, f as validateSkill, h as getSkillInfo, i as toggleSkills, it as diagnosticToWarning, l as installSkills, m as searchSkillsDetailed, n as MultiSelectError, nt as SkillNotFoundError, o as MultiSkillSelectionError, p as searchSkills, q as BUILT_IN_SKILL_PROVIDERS, r as ToggleCancelledError, rt as ValidationError, s as createConsoleInstallOutput, t as startMCPServer, tt as ParseError, u as registerInstallCleanupHandlers, z as discoverSkills } from "./server-DwuqhC__.mjs";
|
|
3
3
|
|
|
4
4
|
export { AmbiguousSkillNameError, BUILT_IN_SKILL_PROVIDERS, CcskiError, ClaudeSettingsSchema, InstallCancelledError, InstalledPluginsSchema, MultiSkillSelectionError, ParseError, PluginEntrySchema, SKILL_SOURCE_PRIORITIES, SkillFrontmatterSchema, SkillNotFoundError, SkillRegistry, ToggleCancelledError, MultiSelectError as ToggleMultiSelectError, ValidationError, createConsoleInstallOutput, diagnosticToWarning, discoverSkills, getDefaultSkillDirectories, getSkillInfo, installSkillDir, installSkills, listSkills, loadSkill, parseSkillFile, registerInstallCleanupHandlers, scanSkillDirectory, searchSkills, searchSkillsDetailed, startMCPServer, toggleSkills, validateSkill, validateSkillFile };
|
|
@@ -3698,9 +3698,10 @@ const SKILL_SOURCE_PRIORITIES = {
|
|
|
3698
3698
|
plugin: 0,
|
|
3699
3699
|
"user-shared": 100,
|
|
3700
3700
|
"user-agent": 200,
|
|
3701
|
-
"workspace-
|
|
3702
|
-
"workspace-
|
|
3703
|
-
|
|
3701
|
+
"workspace-root": 300,
|
|
3702
|
+
"workspace-shared": 400,
|
|
3703
|
+
"workspace-agent": 500,
|
|
3704
|
+
custom: 600
|
|
3704
3705
|
};
|
|
3705
3706
|
|
|
3706
3707
|
//#endregion
|
|
@@ -12152,7 +12153,7 @@ function getDefaultSkillDirectories(userDir, workspaceDir = process.cwd()) {
|
|
|
12152
12153
|
return uniqueByPath([
|
|
12153
12154
|
...builtInAgentRoots(workspace, "project", "workspace-agent"),
|
|
12154
12155
|
...discoverDynamicAgentRoots(workspace, "project", "workspace-agent"),
|
|
12155
|
-
sharedRoot(join(workspace, "skills"), "project", "workspace-
|
|
12156
|
+
sharedRoot(join(workspace, "skills"), "project", "workspace-root"),
|
|
12156
12157
|
sharedRoot(join(workspace, ".agents", "skills"), "project", "workspace-shared"),
|
|
12157
12158
|
...legacySharedRoot(workspace, "project", "workspace-shared"),
|
|
12158
12159
|
...builtInAgentRoots(user, "user", "user-agent"),
|
|
@@ -14397,7 +14398,7 @@ var InteractiveCommandBuilder = class InteractiveCommandBuilder {
|
|
|
14397
14398
|
console.log(`${tone.bold("Command:")}`);
|
|
14398
14399
|
console.log(` ${tone.accent(this.buildFull())}`);
|
|
14399
14400
|
console.log();
|
|
14400
|
-
const { confirm } = await import("./esm-
|
|
14401
|
+
const { confirm } = await import("./esm-CWBkGBbQ.mjs");
|
|
14401
14402
|
return confirm({
|
|
14402
14403
|
message: "Proceed?",
|
|
14403
14404
|
default: true
|
|
@@ -15971,7 +15972,7 @@ async function confirmToggle(mode, cmdBuilder, selected, conflicts, force, outpu
|
|
|
15971
15972
|
output.log(`${tone.bold("Command:")}`);
|
|
15972
15973
|
output.log(` ${tone.accent(cmdBuilder.buildFull())}`);
|
|
15973
15974
|
output.log();
|
|
15974
|
-
const { confirm } = await import("./esm-
|
|
15975
|
+
const { confirm } = await import("./esm-CWBkGBbQ.mjs");
|
|
15975
15976
|
return confirm({
|
|
15976
15977
|
message: "Proceed?",
|
|
15977
15978
|
default: true
|
|
@@ -34594,4 +34595,4 @@ function formatSkillContent(skill) {
|
|
|
34594
34595
|
|
|
34595
34596
|
//#endregion
|
|
34596
34597
|
export { AmbiguousSkillNameError as $, highlight as A, loadSkill as B, formatSkillLabel as C, error$1 as D, duplicateBadge as E, tone as F, parseSkillFile as G, getDefaultSkillDirectories as H, warn as I, SKILL_SOURCE_PRIORITIES as J, validateSkillFile as K, containsCaseInsensitive as L, renderList as M, setColorEnabled as N, formatBytes as O, success as P, SkillFrontmatterSchema as Q, rankStrings as R, SkillRegistry as S, dim as T, compareSkillProviders as U, scanSkillDirectory as V, providerNamesFromSkills as W, InstalledPluginsSchema as X, ClaudeSettingsSchema as Y, PluginEntrySchema as Z, listSkills as _, InstallCancelledError as a, computeDuplicateGroups as b, installSkillDir as c, Separator as d, CcskiError as et, validateSkill as f, resolveSkill as g, getSkillInfo as h, toggleSkills as i, diagnosticToWarning as it, info as j, heading as k, installSkills as l, searchSkillsDetailed as m, MultiSelectError as n, SkillNotFoundError as nt, MultiSkillSelectionError as o, searchSkills as p, BUILT_IN_SKILL_PROVIDERS as q, ToggleCancelledError as r, ValidationError$2 as rt, createConsoleInstallOutput as s, startMCPServer as t, ParseError as tt, registerInstallCleanupHandlers as u, buildRegistryOptions as v, colors$1 as w, parseFilters as x, applyFilters as y, discoverSkills as z };
|
|
34597
|
-
//# sourceMappingURL=server-
|
|
34598
|
+
//# sourceMappingURL=server-DwuqhC__.mjs.map
|