ccjk 9.12.9 → 9.13.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/chunks/index.mjs +0 -5
- package/dist/chunks/package.mjs +1 -1
- package/dist/cli.mjs +16 -28
- package/package.json +1 -1
package/dist/chunks/index.mjs
CHANGED
|
@@ -154,11 +154,6 @@ async function initI18n(language = "zh-CN") {
|
|
|
154
154
|
// Debugging (disable for clean output)
|
|
155
155
|
debug: false
|
|
156
156
|
});
|
|
157
|
-
for (const ns of NAMESPACES) {
|
|
158
|
-
if (ns !== "common") {
|
|
159
|
-
await i18n.loadNamespaces(ns);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
157
|
}
|
|
163
158
|
function format(template, values) {
|
|
164
159
|
if (!values)
|
package/dist/chunks/package.mjs
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1448,10 +1448,9 @@ async function registerSpecialCommands(cli) {
|
|
|
1448
1448
|
console.log(" ccjk cloud plugins [action] - Plugin marketplace\n");
|
|
1449
1449
|
}
|
|
1450
1450
|
});
|
|
1451
|
-
cli.command("skills-sync [action]", '[DEPRECATED] Use "ccjk cloud skills"').action(async (
|
|
1451
|
+
cli.command("skills-sync [action]", '[DEPRECATED] Use "ccjk cloud skills"').action(async () => {
|
|
1452
1452
|
console.warn('\n\u26A0\uFE0F skills-sync \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk cloud skills" \u66FF\u4EE3\n');
|
|
1453
|
-
|
|
1454
|
-
await skillsSyncMenu(options);
|
|
1453
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk cloud skills\n");
|
|
1455
1454
|
});
|
|
1456
1455
|
cli.command("agents-sync [action]", '[DEPRECATED] Use "ccjk agents"').action(async () => {
|
|
1457
1456
|
console.warn('\n\u26A0\uFE0F agents-sync \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk agents" \u66FF\u4EE3\n');
|
|
@@ -1461,25 +1460,22 @@ async function registerSpecialCommands(cli) {
|
|
|
1461
1460
|
console.log(" ccjk agents install - Install an agent");
|
|
1462
1461
|
console.log(" ccjk agents sync - Sync with cloud\n");
|
|
1463
1462
|
});
|
|
1464
|
-
cli.command("marketplace [action]", '[DEPRECATED] Use "ccjk cloud plugins"').action(async (
|
|
1463
|
+
cli.command("marketplace [action]", '[DEPRECATED] Use "ccjk cloud plugins"').action(async () => {
|
|
1465
1464
|
console.warn('\n\u26A0\uFE0F marketplace \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk cloud plugins" \u66FF\u4EE3\n');
|
|
1466
|
-
|
|
1467
|
-
await marketplaceMenu(action, options);
|
|
1465
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk cloud plugins\n");
|
|
1468
1466
|
});
|
|
1469
1467
|
cli.command("plugin [action] [...args]", "Plugin marketplace (install/search/list)").option("--verbose, -v", "Show verbose output").option("--force, -f", "Force operation").option("--version, -V <version>", "Specify plugin version").action(async (action, args, _options) => {
|
|
1470
1468
|
const { handlePluginCommand } = await import('./chunks/plugin.mjs');
|
|
1471
1469
|
const allArgs = [action, ...args || []].filter(Boolean);
|
|
1472
1470
|
await handlePluginCommand(allArgs);
|
|
1473
1471
|
});
|
|
1474
|
-
cli.command("quick [specFile]", '[DEPRECATED] Use "ccjk interview -d quick"').action(async (
|
|
1472
|
+
cli.command("quick [specFile]", '[DEPRECATED] Use "ccjk interview -d quick"').action(async () => {
|
|
1475
1473
|
console.warn('\n\u26A0\uFE0F quick \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk interview -d quick" \u66FF\u4EE3\n');
|
|
1476
|
-
|
|
1477
|
-
await quickInterview(specFile, {});
|
|
1474
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk interview -d quick\n");
|
|
1478
1475
|
});
|
|
1479
|
-
cli.command("deep [specFile]", '[DEPRECATED] Use "ccjk interview -d deep"').action(async (
|
|
1476
|
+
cli.command("deep [specFile]", '[DEPRECATED] Use "ccjk interview -d deep"').action(async () => {
|
|
1480
1477
|
console.warn('\n\u26A0\uFE0F deep \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk interview -d deep" \u66FF\u4EE3\n');
|
|
1481
|
-
|
|
1482
|
-
await deepInterview(specFile, {});
|
|
1478
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk interview -d deep\n");
|
|
1483
1479
|
});
|
|
1484
1480
|
cli.command("system [action]", "System management (setup/upgrade/info)").alias("sys").action(async (action) => {
|
|
1485
1481
|
const actionStr = action || "info";
|
|
@@ -1518,39 +1514,31 @@ async function registerSpecialCommands(cli) {
|
|
|
1518
1514
|
});
|
|
1519
1515
|
cli.command("setup", '[DEPRECATED] Use "ccjk system setup"').action(async () => {
|
|
1520
1516
|
console.warn('\n\u26A0\uFE0F setup \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk system setup" \u66FF\u4EE3\n');
|
|
1521
|
-
|
|
1522
|
-
await runOnboarding();
|
|
1517
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk system setup\n");
|
|
1523
1518
|
});
|
|
1524
1519
|
cli.command("sync", '[DEPRECATED] Use "ccjk system sync"').action(async () => {
|
|
1525
1520
|
console.warn('\n\u26A0\uFE0F sync \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk system sync" \u66FF\u4EE3\n');
|
|
1526
|
-
|
|
1527
|
-
await quickSync();
|
|
1521
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk system sync\n");
|
|
1528
1522
|
});
|
|
1529
1523
|
cli.command("versions", '[DEPRECATED] Use "ccjk system versions"').action(async () => {
|
|
1530
1524
|
console.warn('\n\u26A0\uFE0F versions \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk system versions" \u66FF\u4EE3\n');
|
|
1531
|
-
|
|
1532
|
-
await checkAllVersions();
|
|
1525
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk system versions\n");
|
|
1533
1526
|
});
|
|
1534
1527
|
cli.command("upgrade", '[DEPRECATED] Use "ccjk system upgrade"').action(async () => {
|
|
1535
1528
|
console.warn('\n\u26A0\uFE0F upgrade \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk system upgrade" \u66FF\u4EE3\n');
|
|
1536
|
-
|
|
1537
|
-
await upgradeAll();
|
|
1529
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk system upgrade\n");
|
|
1538
1530
|
});
|
|
1539
1531
|
cli.command("permissions", '[DEPRECATED] Use "ccjk system permissions"').action(async () => {
|
|
1540
1532
|
console.warn('\n\u26A0\uFE0F permissions \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk system permissions" \u66FF\u4EE3\n');
|
|
1541
|
-
|
|
1542
|
-
displayPermissions();
|
|
1533
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk system permissions\n");
|
|
1543
1534
|
});
|
|
1544
1535
|
cli.command("config-scan", '[DEPRECATED] Use "ccjk system config"').action(async () => {
|
|
1545
1536
|
console.warn('\n\u26A0\uFE0F config-scan \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk system config" \u66FF\u4EE3\n');
|
|
1546
|
-
|
|
1547
|
-
const configs = detectAllConfigs();
|
|
1548
|
-
displayConfigScan(configs);
|
|
1537
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk system config\n");
|
|
1549
1538
|
});
|
|
1550
|
-
cli.command("workspace [dir]", '[DEPRECATED] Use "ccjk system workspace"').action(async (
|
|
1539
|
+
cli.command("workspace [dir]", '[DEPRECATED] Use "ccjk system workspace"').action(async () => {
|
|
1551
1540
|
console.warn('\n\u26A0\uFE0F workspace \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 "ccjk system workspace" \u66FF\u4EE3\n');
|
|
1552
|
-
|
|
1553
|
-
await workspaceDiagnostics(dir);
|
|
1541
|
+
console.log("\u{1F4A1} \u65B0\u547D\u4EE4\uFF1Accjk system workspace\n");
|
|
1554
1542
|
});
|
|
1555
1543
|
cli.command("completion <action> [shell]", "Shell completion management").option("--lang, -l <lang>", "Display language").action(async (action, shell, options) => {
|
|
1556
1544
|
const { completionCommand } = await import('./chunks/completion.mjs');
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccjk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.13.0",
|
|
5
5
|
"packageManager": "pnpm@10.17.1",
|
|
6
6
|
"description": "The missing toolkit for Claude Code. One command setup, 73% token savings, persistent memory, cloud sync, and Agent Teams. Zero config, 10x productivity.",
|
|
7
7
|
"author": {
|