ccjk 12.0.0 → 12.0.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.
Files changed (161) hide show
  1. package/dist/chunks/agent-teams.mjs +17 -18
  2. package/dist/chunks/agent.mjs +105 -102
  3. package/dist/chunks/agents.mjs +87 -77
  4. package/dist/chunks/api-cli.mjs +41 -27
  5. package/dist/chunks/api-providers.mjs +2 -4
  6. package/dist/chunks/api.mjs +22 -11
  7. package/dist/chunks/auto-bootstrap.mjs +3 -5
  8. package/dist/chunks/auto-init.mjs +3 -4
  9. package/dist/chunks/auto-updater.mjs +103 -91
  10. package/dist/chunks/banner.mjs +41 -42
  11. package/dist/chunks/boost.mjs +30 -31
  12. package/dist/chunks/ccjk-agents.mjs +6 -9
  13. package/dist/chunks/ccjk-all.mjs +703 -85
  14. package/dist/chunks/ccjk-config.mjs +6 -6
  15. package/dist/chunks/ccjk-hooks.mjs +20 -9
  16. package/dist/chunks/ccjk-mcp.mjs +64 -52
  17. package/dist/chunks/ccjk-setup.mjs +35 -25
  18. package/dist/chunks/ccjk-skills.mjs +51 -41
  19. package/dist/chunks/ccr.mjs +42 -32
  20. package/dist/chunks/ccu.mjs +16 -12
  21. package/dist/chunks/check-updates.mjs +30 -19
  22. package/dist/chunks/claude-code-config-manager.mjs +25 -10
  23. package/dist/chunks/claude-code-incremental-manager.mjs +65 -51
  24. package/dist/chunks/claude-config.mjs +2 -2
  25. package/dist/chunks/claude-wrapper.mjs +9 -6
  26. package/dist/chunks/cleanup-migration.mjs +1 -1
  27. package/dist/chunks/cli-hook.mjs +10 -3
  28. package/dist/chunks/cloud-sync.mjs +1 -1
  29. package/dist/chunks/codex-config-switch.mjs +58 -45
  30. package/dist/chunks/codex-provider-manager.mjs +29 -16
  31. package/dist/chunks/codex-uninstaller.mjs +5 -6
  32. package/dist/chunks/codex.mjs +89 -89
  33. package/dist/chunks/commands.mjs +28 -29
  34. package/dist/chunks/commands2.mjs +4 -3
  35. package/dist/chunks/commit.mjs +42 -23
  36. package/dist/chunks/completion.mjs +46 -47
  37. package/dist/chunks/config-consolidator.mjs +12 -13
  38. package/dist/chunks/config-switch.mjs +66 -53
  39. package/dist/chunks/config.mjs +10 -10
  40. package/dist/chunks/config2.mjs +53 -42
  41. package/dist/chunks/config3.mjs +107 -93
  42. package/dist/chunks/constants.mjs +2 -4
  43. package/dist/chunks/context-loader.mjs +5 -4
  44. package/dist/chunks/context.mjs +77 -76
  45. package/dist/chunks/convoy-manager.mjs +4 -4
  46. package/dist/chunks/dashboard.mjs +28 -29
  47. package/dist/chunks/doctor.mjs +68 -54
  48. package/dist/chunks/evolution.mjs +37 -38
  49. package/dist/chunks/features.mjs +103 -92
  50. package/dist/chunks/fs-operations.mjs +1 -1
  51. package/dist/chunks/health-alerts.mjs +1 -1
  52. package/dist/chunks/health-check.mjs +1 -1
  53. package/dist/chunks/help.mjs +117 -116
  54. package/dist/chunks/hook-installer.mjs +3 -2
  55. package/dist/chunks/index.mjs +20 -6
  56. package/dist/chunks/index10.mjs +1171 -0
  57. package/dist/chunks/index11.mjs +1008 -0
  58. package/dist/chunks/index12.mjs +193 -0
  59. package/dist/chunks/index13.mjs +218 -0
  60. package/dist/chunks/index14.mjs +663 -0
  61. package/dist/chunks/index2.mjs +19 -10
  62. package/dist/chunks/index3.mjs +19079 -164
  63. package/dist/chunks/index4.mjs +8 -1171
  64. package/dist/chunks/index5.mjs +7479 -884
  65. package/dist/chunks/index6.mjs +160 -184
  66. package/dist/chunks/index7.mjs +3573 -653
  67. package/dist/chunks/index8.mjs +19 -0
  68. package/dist/chunks/index9.mjs +616 -0
  69. package/dist/chunks/init.mjs +173 -173
  70. package/dist/chunks/installer.mjs +92 -82
  71. package/dist/chunks/installer2.mjs +3 -2
  72. package/dist/chunks/interview.mjs +118 -107
  73. package/dist/chunks/json-config.mjs +3 -2
  74. package/dist/chunks/linux.mjs +3863 -0
  75. package/dist/chunks/macos.mjs +69 -0
  76. package/dist/chunks/main.mjs +635 -0
  77. package/dist/chunks/marketplace.mjs +69 -66
  78. package/dist/chunks/mcp-cli.mjs +61 -48
  79. package/dist/chunks/mcp.mjs +140 -127
  80. package/dist/chunks/menu.mjs +85 -85
  81. package/dist/chunks/metrics-display.mjs +41 -40
  82. package/dist/chunks/migrator.mjs +4 -5
  83. package/dist/chunks/monitor.mjs +95 -95
  84. package/dist/chunks/notification.mjs +151 -141
  85. package/dist/chunks/onboarding.mjs +26 -15
  86. package/dist/chunks/package.mjs +1 -1
  87. package/dist/chunks/paradigm.mjs +24 -23
  88. package/dist/chunks/permission-manager.mjs +10 -11
  89. package/dist/chunks/permissions.mjs +72 -57
  90. package/dist/chunks/persistence-manager.mjs +97 -84
  91. package/dist/chunks/persistence.mjs +1 -1
  92. package/dist/chunks/platform.mjs +29 -29
  93. package/dist/chunks/plugin.mjs +104 -105
  94. package/dist/chunks/prompts.mjs +36 -25
  95. package/dist/chunks/providers.mjs +68 -69
  96. package/dist/chunks/quick-actions.mjs +71 -72
  97. package/dist/chunks/quick-provider.mjs +56 -40
  98. package/dist/chunks/quick-setup.mjs +71 -60
  99. package/dist/chunks/remote.mjs +21 -12
  100. package/dist/chunks/session.mjs +116 -103
  101. package/dist/chunks/sessions.mjs +29 -28
  102. package/dist/chunks/silent-updater.mjs +8 -10
  103. package/dist/chunks/simple-config.mjs +13 -10
  104. package/dist/chunks/skill.mjs +8560 -103
  105. package/dist/chunks/skills-sync.mjs +5212 -79
  106. package/dist/chunks/skills.mjs +105 -94
  107. package/dist/chunks/slash-commands.mjs +36 -37
  108. package/dist/chunks/smart-defaults.mjs +7 -3
  109. package/dist/chunks/smart-guide.mjs +1 -1
  110. package/dist/chunks/startup.mjs +2 -4
  111. package/dist/chunks/stats.mjs +41 -42
  112. package/dist/chunks/status.mjs +49 -50
  113. package/dist/chunks/team.mjs +24 -12
  114. package/dist/chunks/thinking.mjs +74 -63
  115. package/dist/chunks/trace.mjs +20 -19
  116. package/dist/chunks/uninstall.mjs +69 -56
  117. package/dist/chunks/update.mjs +39 -28
  118. package/dist/chunks/upgrade-manager.mjs +24 -18
  119. package/dist/chunks/version-checker.mjs +45 -41
  120. package/dist/chunks/vim.mjs +81 -69
  121. package/dist/chunks/windows.mjs +14 -0
  122. package/dist/chunks/workflows.mjs +15 -15
  123. package/dist/chunks/wsl.mjs +129 -0
  124. package/dist/chunks/zero-config.mjs +45 -34
  125. package/dist/cli.mjs +20 -20
  126. package/dist/index.mjs +41 -31
  127. package/dist/shared/ccjk.BAGoDD49.mjs +36 -0
  128. package/dist/shared/ccjk.BBtCGd_g.mjs +899 -0
  129. package/dist/shared/{ccjk.CGcy7cNM.mjs → ccjk.BDKUdmLk.mjs} +1 -1
  130. package/dist/shared/{ccjk.DtMBiwVG.mjs → ccjk.BFxsJM0k.mjs} +1 -1
  131. package/dist/shared/{ccjk.j4uut26D.mjs → ccjk.BIxuVL3_.mjs} +5 -5
  132. package/dist/shared/ccjk.BRZ9ww8S.mjs +142 -0
  133. package/dist/shared/{ccjk.CN0edl87.mjs → ccjk.BSYWk9ML.mjs} +1 -1
  134. package/dist/shared/{ccjk.Dk1HDseQ.mjs → ccjk.BnpWvs9V.mjs} +75 -75
  135. package/dist/shared/ccjk.BoApaI4j.mjs +28 -0
  136. package/dist/shared/{ccjk.DKojSRzw.mjs → ccjk.BrPUmTqm.mjs} +1 -1
  137. package/dist/shared/{ccjk.C10pepYx.mjs → ccjk.BxSmJ8B7.mjs} +1 -1
  138. package/dist/shared/ccjk.Bx_rmYfN.mjs +69 -0
  139. package/dist/shared/ccjk.COweQ1RR.mjs +5 -0
  140. package/dist/shared/{ccjk.BN90X6oc.mjs → ccjk.CePkJq2S.mjs} +17 -17
  141. package/dist/shared/{ccjk.Bvoex4TZ.mjs → ccjk.CfKKcvWy.mjs} +1 -1
  142. package/dist/shared/ccjk.Cjgrln_h.mjs +297 -0
  143. package/dist/shared/ccjk.CxpGa6MC.mjs +2724 -0
  144. package/dist/shared/{ccjk.DfwJOEok.mjs → ccjk.D5MFQT7w.mjs} +1 -1
  145. package/dist/shared/{ccjk.cChAaGgT.mjs → ccjk.DG_o24cZ.mjs} +6 -6
  146. package/dist/shared/{ccjk.bhFAMRyc.mjs → ccjk.DLLw-h4Y.mjs} +32 -32
  147. package/dist/shared/ccjk.DOwtZMk8.mjs +4019 -0
  148. package/dist/shared/{ccjk.BsXQugfY.mjs → ccjk.DTdjs-qK.mjs} +13 -13
  149. package/dist/shared/{ccjk.Bdhyg3X-.mjs → ccjk.DsYaCCx4.mjs} +1 -1
  150. package/dist/shared/ccjk.KfSWcGlE.mjs +38 -0
  151. package/dist/shared/ccjk.RyizuzOI.mjs +21 -0
  152. package/dist/shared/{ccjk.h7_W-wTs.mjs → ccjk.SPoXMvZD.mjs} +1 -1
  153. package/dist/shared/ccjk.T_cX87dY.mjs +15 -0
  154. package/dist/shared/{ccjk.CrB6OYHv.mjs → ccjk._dESH4Rk.mjs} +2 -2
  155. package/dist/shared/ccjk.bQ7Dh1g4.mjs +249 -0
  156. package/dist/shared/{ccjk.CBhIZiPz.mjs → ccjk.hoqrwWdN.mjs} +1 -1
  157. package/dist/shared/{ccjk.BNwRnWYx.mjs → ccjk.s7OCVzdd.mjs} +1230 -33
  158. package/dist/shared/{ccjk.BOIUTf5z.mjs → ccjk.waa2ikKJ.mjs} +8 -9
  159. package/package.json +31 -30
  160. package/dist/shared/ccjk.DHbrGcgg.mjs +0 -13
  161. package/dist/shared/ccjk.DntgA8fQ.mjs +0 -42
@@ -1,14 +1,13 @@
1
- import ansis from 'ansis';
1
+ import a from './index2.mjs';
2
2
  import { existsSync, readFileSync } from 'node:fs';
3
3
  import process__default from 'node:process';
4
- import { join } from 'pathe';
5
4
  import { SETTINGS_FILE } from './constants.mjs';
6
- import { r as runHealthCheck } from '../shared/ccjk.DfwJOEok.mjs';
5
+ import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
6
+ import { r as runHealthCheck } from '../shared/ccjk.D5MFQT7w.mjs';
7
+ import '../shared/ccjk.BAGoDD49.mjs';
7
8
  import 'node:os';
8
- import './index3.mjs';
9
+ import './index5.mjs';
9
10
  import 'node:url';
10
- import 'i18next';
11
- import 'i18next-fs-backend';
12
11
 
13
12
  function analyzeProject(root) {
14
13
  const cwd = process__default.cwd();
@@ -259,7 +258,7 @@ async function executeRecommendation(rec) {
259
258
  if (cmd === "ccjk") {
260
259
  return await runCcjkCommand(args);
261
260
  }
262
- const { x } = await import('tinyexec');
261
+ const { x } = await import('./main.mjs');
263
262
  const result = await x(cmd, args, { throwOnError: false });
264
263
  return {
265
264
  success: result.exitCode === 0,
@@ -297,7 +296,7 @@ async function runCcjkCommand(args) {
297
296
  await doctor({});
298
297
  return { success: true, message: "Doctor check complete" };
299
298
  }
300
- const { x } = await import('tinyexec');
299
+ const { x } = await import('./main.mjs');
301
300
  const result = await x("ccjk", args, { throwOnError: false });
302
301
  return { success: result.exitCode === 0, message: result.exitCode === 0 ? "Done" : "Failed" };
303
302
  } catch (error) {
@@ -305,15 +304,15 @@ async function runCcjkCommand(args) {
305
304
  }
306
305
  }
307
306
  async function boost(options = {}) {
308
- console.log(ansis.cyan.bold("\n\u{1F680} CCJK Boost - One-Click Optimization\n"));
309
- const ora = (await import('ora')).default;
307
+ console.log(a.cyan.bold("\n\u{1F680} CCJK Boost - One-Click Optimization\n"));
308
+ const ora = (await import('./index7.mjs')).default;
310
309
  let spinner = ora("Analyzing your setup...").start();
311
310
  const [report, profile] = await Promise.all([
312
311
  runHealthCheck(),
313
312
  Promise.resolve(analyzeProject())
314
313
  ]);
315
314
  const { skills: recSkills } = getRecommendations(profile);
316
- spinner.succeed(`Current score: ${ansis.bold(String(report.totalScore))}/100 (Grade ${report.grade})`);
315
+ spinner.succeed(`Current score: ${a.bold(String(report.totalScore))}/100 (Grade ${report.grade})`);
317
316
  const actions = [];
318
317
  for (const rec of report.recommendations) {
319
318
  if (rec.command) {
@@ -327,25 +326,25 @@ async function boost(options = {}) {
327
326
  });
328
327
  }
329
328
  if (actions.length === 0) {
330
- console.log(ansis.green("\n\u2728 Your setup is already optimized! Score: ") + ansis.green.bold(`${report.totalScore}/100`));
331
- console.log(ansis.gray('Run "ccjk status" for detailed breakdown.\n'));
329
+ console.log(a.green("\n\u2728 Your setup is already optimized! Score: ") + a.green.bold(`${report.totalScore}/100`));
330
+ console.log(a.gray('Run "ccjk status" for detailed breakdown.\n'));
332
331
  return;
333
332
  }
334
- console.log(ansis.yellow(`
333
+ console.log(a.yellow(`
335
334
  \u{1F4CB} ${actions.length} optimization${actions.length > 1 ? "s" : ""} available:
336
335
  `));
337
- for (const a of actions) {
338
- const priority = a.rec.priority === "high" ? ansis.red("[HIGH]") : ansis.yellow("[MED]");
339
- console.log(` ${priority} ${a.label}`);
340
- if (a.rec.command)
341
- console.log(` ${ansis.gray(a.rec.command)}`);
336
+ for (const a$1 of actions) {
337
+ const priority = a$1.rec.priority === "high" ? a.red("[HIGH]") : a.yellow("[MED]");
338
+ console.log(` ${priority} ${a$1.label}`);
339
+ if (a$1.rec.command)
340
+ console.log(` ${a.gray(a$1.rec.command)}`);
342
341
  }
343
342
  if (options.dryRun) {
344
- console.log(ansis.gray("\n--dry-run: No changes applied.\n"));
343
+ console.log(a.gray("\n--dry-run: No changes applied.\n"));
345
344
  return;
346
345
  }
347
346
  if (!options.yes) {
348
- const { default: inquirer } = await import('inquirer');
347
+ const { default: inquirer } = await import('./index3.mjs').then(function (n) { return n.c; });
349
348
  const { confirm } = await inquirer.prompt([{
350
349
  type: "confirm",
351
350
  name: "confirm",
@@ -353,7 +352,7 @@ async function boost(options = {}) {
353
352
  default: true
354
353
  }]);
355
354
  if (!confirm) {
356
- console.log(ansis.gray("\nCancelled.\n"));
355
+ console.log(a.gray("\nCancelled.\n"));
357
356
  return;
358
357
  }
359
358
  }
@@ -368,7 +367,7 @@ async function boost(options = {}) {
368
367
  spinner.succeed(action.label);
369
368
  applied++;
370
369
  } else {
371
- spinner.warn(`${action.label} ${ansis.gray(`(${result.message})`)}`);
370
+ spinner.warn(`${action.label} ${a.gray(`(${result.message})`)}`);
372
371
  failed++;
373
372
  }
374
373
  } catch {
@@ -381,16 +380,16 @@ async function boost(options = {}) {
381
380
  const newReport = await runHealthCheck();
382
381
  spinner.stop();
383
382
  const delta = newReport.totalScore - report.totalScore;
384
- const deltaStr = delta > 0 ? ansis.green(`+${delta}`) : delta < 0 ? ansis.red(String(delta)) : "\xB10";
385
- console.log(ansis.cyan.bold("\n\u{1F4CA} Results"));
386
- console.log(` Applied: ${ansis.green(String(applied))} Failed: ${failed > 0 ? ansis.red(String(failed)) : ansis.gray("0")}`);
387
- console.log(` Score: ${ansis.bold(String(report.totalScore))} \u2192 ${ansis.bold(String(newReport.totalScore))} (${deltaStr})`);
388
- console.log(` Grade: ${report.grade} \u2192 ${ansis.bold(newReport.grade)}`);
383
+ const deltaStr = delta > 0 ? a.green(`+${delta}`) : delta < 0 ? a.red(String(delta)) : "\xB10";
384
+ console.log(a.cyan.bold("\n\u{1F4CA} Results"));
385
+ console.log(` Applied: ${a.green(String(applied))} Failed: ${failed > 0 ? a.red(String(failed)) : a.gray("0")}`);
386
+ console.log(` Score: ${a.bold(String(report.totalScore))} \u2192 ${a.bold(String(newReport.totalScore))} (${deltaStr})`);
387
+ console.log(` Grade: ${report.grade} \u2192 ${a.bold(newReport.grade)}`);
389
388
  if (newReport.totalScore >= 80) {
390
- console.log(ansis.green("\n \u2728 Excellent setup! Getting the most out of Claude Code.\n"));
389
+ console.log(a.green("\n \u2728 Excellent setup! Getting the most out of Claude Code.\n"));
391
390
  } else {
392
- console.log(ansis.yellow(`
393
- Run ${ansis.cyan("ccjk status")} for remaining recommendations.
391
+ console.log(a.yellow(`
392
+ Run ${a.cyan("ccjk status")} for remaining recommendations.
394
393
  `));
395
394
  }
396
395
  }
@@ -1,18 +1,15 @@
1
1
  import process__default, { cwd } from 'node:process';
2
- import consola from 'consola';
3
- import { P as ProjectAnalyzer, g as getTemplatesClient } from '../shared/ccjk.BNwRnWYx.mjs';
4
- import { i18n } from './index3.mjs';
2
+ import { c as consola, P as ProjectAnalyzer, g as getTemplatesClient } from '../shared/ccjk.s7OCVzdd.mjs';
3
+ import { i18n } from './index5.mjs';
5
4
  import { existsSync, readFileSync, writeFileSync, readdirSync } from 'node:fs';
6
- import { join, dirname } from 'pathe';
7
5
  import { CLAUDE_AGENTS_DIR } from './constants.mjs';
8
- import { w as writeAgentFile } from '../shared/ccjk.Bvoex4TZ.mjs';
6
+ import { j as join, d as dirname } from '../shared/ccjk.bQ7Dh1g4.mjs';
7
+ import { w as writeAgentFile } from '../shared/ccjk.CfKKcvWy.mjs';
9
8
  import { fileURLToPath } from 'node:url';
10
9
  import { e as extractDisplayName, a as extractString } from '../shared/ccjk.AqnXPAzw.mjs';
10
+ import './index8.mjs';
11
11
  import 'tinyglobby';
12
- import 'smol-toml';
13
- import 'ofetch';
14
- import 'i18next';
15
- import 'i18next-fs-backend';
12
+ import '../shared/ccjk.BBtCGd_g.mjs';
16
13
  import 'node:os';
17
14
 
18
15
  const AGENTS_DIR = CLAUDE_AGENTS_DIR;