@juho0719/cckit 0.2.6 → 0.2.7
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/agents-AEKT67A6.js +9 -0
- package/dist/{chunk-T5VPG46W.js → chunk-3GUKEMND.js} +0 -5
- package/dist/{chunk-33CGM7PI.js → chunk-3Y26YU4R.js} +3 -7
- package/dist/{chunk-4NEXS2FY.js → chunk-5XOKKPAA.js} +0 -5
- package/dist/{chunk-6COBMJZ6.js → chunk-E3INXQNO.js} +1 -5
- package/dist/{chunk-ZBGGTONN.js → chunk-EYY2IZ7N.js} +3 -7
- package/dist/{chunk-H4YDYF2X.js → chunk-ID643AV4.js} +3 -7
- package/dist/{chunk-FLBB3OH4.js → chunk-K25UZZVG.js} +0 -5
- package/dist/{chunk-MSCXXA2X.js → chunk-KEENFBLL.js} +2 -6
- package/dist/{chunk-7VVGOZDZ.js → chunk-SW3OJLHC.js} +1 -5
- package/dist/{chunk-VN5S6JGZ.js → chunk-W63UKEIT.js} +0 -5
- package/dist/{chunk-52Q6TDAH.js → chunk-W7RWPDBH.js} +3 -7
- package/dist/claudemd-KKQ2DL7P.js +7 -0
- package/dist/cli-DABSKXWN.js +477 -0
- package/dist/commands-P5LILVZ5.js +9 -0
- package/dist/hooks-A2WQ2LGG.js +9 -0
- package/dist/index.js +17 -21
- package/dist/mcps-67Q7TBGW.js +6 -0
- package/dist/{paths-B754SP2D.js → paths-FT6KBIRD.js} +1 -2
- package/dist/{registry-6CLDID6R.js → registry-KRLOB4TH.js} +2 -3
- package/dist/rules-EFSJ3L3A.js +9 -0
- package/dist/skills-ULMW3UCM.js +8 -0
- package/dist/{uninstall-cli-XU7E26JX.js → uninstall-cli-GLYJG5V2.js} +2 -14
- package/package.json +2 -1
- package/dist/agents-LI3AHTTX.js +0 -10
- package/dist/chunk-TLOORH3N.js +0 -50
- package/dist/claudemd-NWG63O2G.js +0 -8
- package/dist/cli-KHRWBZPV.js +0 -2735
- package/dist/commands-UAOYWGUX.js +0 -10
- package/dist/hooks-NONUWI6V.js +0 -10
- package/dist/mcps-ISPG3F7T.js +0 -7
- package/dist/rules-GZEAGCSL.js +0 -10
- package/dist/skills-ML3QLXUK.js +0 -9
package/dist/index.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
init_esm_shims
|
|
4
|
-
} from "./chunk-TLOORH3N.js";
|
|
5
2
|
|
|
6
3
|
// src/index.ts
|
|
7
|
-
init_esm_shims();
|
|
8
4
|
import { readFileSync } from "fs";
|
|
9
5
|
import { fileURLToPath } from "url";
|
|
10
6
|
import { dirname, join } from "path";
|
|
@@ -40,7 +36,7 @@ Options:
|
|
|
40
36
|
async function installAll(scope) {
|
|
41
37
|
const chalk = (await import("chalk")).default;
|
|
42
38
|
const ora = (await import("ora")).default;
|
|
43
|
-
const { getGlobalDir, getProjectDir } = await import("./paths-
|
|
39
|
+
const { getGlobalDir, getProjectDir } = await import("./paths-FT6KBIRD.js");
|
|
44
40
|
const { join: join2 } = await import("path");
|
|
45
41
|
const targetDir = scope === "global" ? getGlobalDir() : getProjectDir();
|
|
46
42
|
console.log(chalk.cyan(`
|
|
@@ -64,20 +60,20 @@ Installing all to ${targetDir}...
|
|
|
64
60
|
{ installMcps },
|
|
65
61
|
{ installClaudemd }
|
|
66
62
|
] = await Promise.all([
|
|
67
|
-
import("./registry-
|
|
68
|
-
import("./registry-
|
|
69
|
-
import("./registry-
|
|
70
|
-
import("./registry-
|
|
71
|
-
import("./registry-
|
|
72
|
-
import("./registry-
|
|
73
|
-
import("./registry-
|
|
74
|
-
import("./agents-
|
|
75
|
-
import("./skills-
|
|
76
|
-
import("./commands-
|
|
77
|
-
import("./hooks-
|
|
78
|
-
import("./rules-
|
|
79
|
-
import("./mcps-
|
|
80
|
-
import("./claudemd-
|
|
63
|
+
import("./registry-KRLOB4TH.js"),
|
|
64
|
+
import("./registry-KRLOB4TH.js"),
|
|
65
|
+
import("./registry-KRLOB4TH.js"),
|
|
66
|
+
import("./registry-KRLOB4TH.js"),
|
|
67
|
+
import("./registry-KRLOB4TH.js"),
|
|
68
|
+
import("./registry-KRLOB4TH.js"),
|
|
69
|
+
import("./registry-KRLOB4TH.js"),
|
|
70
|
+
import("./agents-AEKT67A6.js"),
|
|
71
|
+
import("./skills-ULMW3UCM.js"),
|
|
72
|
+
import("./commands-P5LILVZ5.js"),
|
|
73
|
+
import("./hooks-A2WQ2LGG.js"),
|
|
74
|
+
import("./rules-EFSJ3L3A.js"),
|
|
75
|
+
import("./mcps-67Q7TBGW.js"),
|
|
76
|
+
import("./claudemd-KKQ2DL7P.js")
|
|
81
77
|
]);
|
|
82
78
|
const [agents, skills, commands, hooks, ruleCategories, mcps, claudemds] = await Promise.all([
|
|
83
79
|
getAgents(),
|
|
@@ -128,7 +124,7 @@ async function main() {
|
|
|
128
124
|
return;
|
|
129
125
|
}
|
|
130
126
|
if (args.includes("--uninstall") || args.includes("-u")) {
|
|
131
|
-
const { runUninstallCli } = await import("./uninstall-cli-
|
|
127
|
+
const { runUninstallCli } = await import("./uninstall-cli-GLYJG5V2.js");
|
|
132
128
|
await runUninstallCli();
|
|
133
129
|
return;
|
|
134
130
|
}
|
|
@@ -138,7 +134,7 @@ async function main() {
|
|
|
138
134
|
await installAll(scope);
|
|
139
135
|
return;
|
|
140
136
|
}
|
|
141
|
-
const { runCli } = await import("./cli-
|
|
137
|
+
const { runCli } = await import("./cli-DABSKXWN.js");
|
|
142
138
|
await runCli();
|
|
143
139
|
}
|
|
144
140
|
main().catch((err) => {
|
|
@@ -6,9 +6,8 @@ import {
|
|
|
6
6
|
getMcpServers,
|
|
7
7
|
getRuleCategories,
|
|
8
8
|
getSkills
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-TLOORH3N.js";
|
|
9
|
+
} from "./chunk-E3INXQNO.js";
|
|
10
|
+
import "./chunk-5XOKKPAA.js";
|
|
12
11
|
export {
|
|
13
12
|
getAgents,
|
|
14
13
|
getClaudemdItems,
|
|
@@ -6,24 +6,19 @@ import {
|
|
|
6
6
|
getMcpServers,
|
|
7
7
|
getRuleCategories,
|
|
8
8
|
getSkills
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E3INXQNO.js";
|
|
10
10
|
import {
|
|
11
11
|
getAssetsDir,
|
|
12
12
|
getGlobalDir,
|
|
13
13
|
getProjectDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
init_esm_shims
|
|
17
|
-
} from "./chunk-TLOORH3N.js";
|
|
14
|
+
} from "./chunk-5XOKKPAA.js";
|
|
18
15
|
|
|
19
16
|
// src/uninstall-cli.ts
|
|
20
|
-
init_esm_shims();
|
|
21
17
|
import { checkbox, select, confirm } from "@inquirer/prompts";
|
|
22
18
|
import chalk from "chalk";
|
|
23
19
|
import ora from "ora";
|
|
24
20
|
|
|
25
21
|
// src/scanner.ts
|
|
26
|
-
init_esm_shims();
|
|
27
22
|
import { readdir, readFile, access } from "fs/promises";
|
|
28
23
|
import { constants } from "fs";
|
|
29
24
|
import { join } from "path";
|
|
@@ -138,7 +133,6 @@ async function getInstalledMcps(scope) {
|
|
|
138
133
|
}
|
|
139
134
|
|
|
140
135
|
// src/uninstallers/agents.ts
|
|
141
|
-
init_esm_shims();
|
|
142
136
|
import { join as join2 } from "path";
|
|
143
137
|
import { rm, access as access2 } from "fs/promises";
|
|
144
138
|
import { constants as constants2 } from "fs";
|
|
@@ -155,7 +149,6 @@ async function uninstallAgents(agents, targetDir) {
|
|
|
155
149
|
}
|
|
156
150
|
|
|
157
151
|
// src/uninstallers/skills.ts
|
|
158
|
-
init_esm_shims();
|
|
159
152
|
import { join as join3 } from "path";
|
|
160
153
|
import { rm as rm2, access as access3 } from "fs/promises";
|
|
161
154
|
import { constants as constants3 } from "fs";
|
|
@@ -172,7 +165,6 @@ async function uninstallSkills(skills, targetDir) {
|
|
|
172
165
|
}
|
|
173
166
|
|
|
174
167
|
// src/uninstallers/commands.ts
|
|
175
|
-
init_esm_shims();
|
|
176
168
|
import { join as join4 } from "path";
|
|
177
169
|
import { rm as rm3, access as access4 } from "fs/promises";
|
|
178
170
|
import { constants as constants4 } from "fs";
|
|
@@ -189,7 +181,6 @@ async function uninstallCommands(commands, targetDir) {
|
|
|
189
181
|
}
|
|
190
182
|
|
|
191
183
|
// src/uninstallers/hooks.ts
|
|
192
|
-
init_esm_shims();
|
|
193
184
|
import { join as join5 } from "path";
|
|
194
185
|
import { rm as rm4, readFile as readFile2, writeFile, access as access5 } from "fs/promises";
|
|
195
186
|
import { constants as constants5 } from "fs";
|
|
@@ -237,7 +228,6 @@ async function uninstallHooks(hooks, targetDir) {
|
|
|
237
228
|
}
|
|
238
229
|
|
|
239
230
|
// src/uninstallers/rules.ts
|
|
240
|
-
init_esm_shims();
|
|
241
231
|
import { readdir as readdir2, rm as rm5 } from "fs/promises";
|
|
242
232
|
import { join as join6 } from "path";
|
|
243
233
|
async function uninstallRules(categories, targetDir) {
|
|
@@ -276,7 +266,6 @@ async function uninstallRules(categories, targetDir) {
|
|
|
276
266
|
}
|
|
277
267
|
|
|
278
268
|
// src/uninstallers/mcps.ts
|
|
279
|
-
init_esm_shims();
|
|
280
269
|
import { join as join7 } from "path";
|
|
281
270
|
import { readFile as readFile3, writeFile as writeFile2, access as access6 } from "fs/promises";
|
|
282
271
|
import { constants as constants6 } from "fs";
|
|
@@ -305,7 +294,6 @@ async function uninstallMcps(serverNames, scope) {
|
|
|
305
294
|
}
|
|
306
295
|
|
|
307
296
|
// src/uninstallers/claudemd.ts
|
|
308
|
-
init_esm_shims();
|
|
309
297
|
import { readFile as readFile4, writeFile as writeFile3, access as access7 } from "fs/promises";
|
|
310
298
|
import { constants as constants7 } from "fs";
|
|
311
299
|
import { join as join8 } from "path";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juho0719/cckit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Claude Code Harness Installer - Interactive CLI for installing Claude Code agents, skills, commands, hooks, rules, and MCP servers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"author": "",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
|
+
"@inquirer/core": "^10.0.0",
|
|
27
28
|
"@inquirer/prompts": "^7.0.0",
|
|
28
29
|
"chalk": "^5.0.0",
|
|
29
30
|
"ora": "^8.0.0"
|
package/dist/agents-LI3AHTTX.js
DELETED
package/dist/chunk-TLOORH3N.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __esm = (fn, res) => function __init() {
|
|
14
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
15
|
-
};
|
|
16
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
17
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
18
|
-
};
|
|
19
|
-
var __copyProps = (to, from, except, desc) => {
|
|
20
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
-
for (let key of __getOwnPropNames(from))
|
|
22
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
23
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
24
|
-
}
|
|
25
|
-
return to;
|
|
26
|
-
};
|
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
28
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
29
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
30
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
31
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
32
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
33
|
-
mod
|
|
34
|
-
));
|
|
35
|
-
|
|
36
|
-
// node_modules/tsup/assets/esm_shims.js
|
|
37
|
-
import path from "path";
|
|
38
|
-
import { fileURLToPath } from "url";
|
|
39
|
-
var init_esm_shims = __esm({
|
|
40
|
-
"node_modules/tsup/assets/esm_shims.js"() {
|
|
41
|
-
"use strict";
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
export {
|
|
46
|
-
__require,
|
|
47
|
-
__commonJS,
|
|
48
|
-
__toESM,
|
|
49
|
-
init_esm_shims
|
|
50
|
-
};
|