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.
- package/dist/chunks/agent-teams.mjs +17 -18
- package/dist/chunks/agent.mjs +105 -102
- package/dist/chunks/agents.mjs +87 -77
- package/dist/chunks/api-cli.mjs +41 -27
- package/dist/chunks/api-providers.mjs +2 -4
- package/dist/chunks/api.mjs +22 -11
- package/dist/chunks/auto-bootstrap.mjs +3 -5
- package/dist/chunks/auto-init.mjs +3 -4
- package/dist/chunks/auto-updater.mjs +103 -91
- package/dist/chunks/banner.mjs +41 -42
- package/dist/chunks/boost.mjs +30 -31
- package/dist/chunks/ccjk-agents.mjs +6 -9
- package/dist/chunks/ccjk-all.mjs +703 -85
- package/dist/chunks/ccjk-config.mjs +6 -6
- package/dist/chunks/ccjk-hooks.mjs +20 -9
- package/dist/chunks/ccjk-mcp.mjs +64 -52
- package/dist/chunks/ccjk-setup.mjs +35 -25
- package/dist/chunks/ccjk-skills.mjs +51 -41
- package/dist/chunks/ccr.mjs +42 -32
- package/dist/chunks/ccu.mjs +16 -12
- package/dist/chunks/check-updates.mjs +30 -19
- package/dist/chunks/claude-code-config-manager.mjs +25 -10
- package/dist/chunks/claude-code-incremental-manager.mjs +65 -51
- package/dist/chunks/claude-config.mjs +2 -2
- package/dist/chunks/claude-wrapper.mjs +9 -6
- package/dist/chunks/cleanup-migration.mjs +1 -1
- package/dist/chunks/cli-hook.mjs +10 -3
- package/dist/chunks/cloud-sync.mjs +1 -1
- package/dist/chunks/codex-config-switch.mjs +58 -45
- package/dist/chunks/codex-provider-manager.mjs +29 -16
- package/dist/chunks/codex-uninstaller.mjs +5 -6
- package/dist/chunks/codex.mjs +89 -89
- package/dist/chunks/commands.mjs +28 -29
- package/dist/chunks/commands2.mjs +4 -3
- package/dist/chunks/commit.mjs +42 -23
- package/dist/chunks/completion.mjs +46 -47
- package/dist/chunks/config-consolidator.mjs +12 -13
- package/dist/chunks/config-switch.mjs +66 -53
- package/dist/chunks/config.mjs +10 -10
- package/dist/chunks/config2.mjs +53 -42
- package/dist/chunks/config3.mjs +107 -93
- package/dist/chunks/constants.mjs +2 -4
- package/dist/chunks/context-loader.mjs +5 -4
- package/dist/chunks/context.mjs +77 -76
- package/dist/chunks/convoy-manager.mjs +4 -4
- package/dist/chunks/dashboard.mjs +28 -29
- package/dist/chunks/doctor.mjs +68 -54
- package/dist/chunks/evolution.mjs +37 -38
- package/dist/chunks/features.mjs +103 -92
- package/dist/chunks/fs-operations.mjs +1 -1
- package/dist/chunks/health-alerts.mjs +1 -1
- package/dist/chunks/health-check.mjs +1 -1
- package/dist/chunks/help.mjs +117 -116
- package/dist/chunks/hook-installer.mjs +3 -2
- package/dist/chunks/index.mjs +20 -6
- package/dist/chunks/index10.mjs +1171 -0
- package/dist/chunks/index11.mjs +1008 -0
- package/dist/chunks/index12.mjs +193 -0
- package/dist/chunks/index13.mjs +218 -0
- package/dist/chunks/index14.mjs +663 -0
- package/dist/chunks/index2.mjs +19 -10
- package/dist/chunks/index3.mjs +19079 -164
- package/dist/chunks/index4.mjs +8 -1171
- package/dist/chunks/index5.mjs +7479 -884
- package/dist/chunks/index6.mjs +160 -184
- package/dist/chunks/index7.mjs +3573 -653
- package/dist/chunks/index8.mjs +19 -0
- package/dist/chunks/index9.mjs +616 -0
- package/dist/chunks/init.mjs +173 -173
- package/dist/chunks/installer.mjs +92 -82
- package/dist/chunks/installer2.mjs +3 -2
- package/dist/chunks/interview.mjs +118 -107
- package/dist/chunks/json-config.mjs +3 -2
- package/dist/chunks/linux.mjs +3863 -0
- package/dist/chunks/macos.mjs +69 -0
- package/dist/chunks/main.mjs +635 -0
- package/dist/chunks/marketplace.mjs +69 -66
- package/dist/chunks/mcp-cli.mjs +61 -48
- package/dist/chunks/mcp.mjs +140 -127
- package/dist/chunks/menu.mjs +85 -85
- package/dist/chunks/metrics-display.mjs +41 -40
- package/dist/chunks/migrator.mjs +4 -5
- package/dist/chunks/monitor.mjs +95 -95
- package/dist/chunks/notification.mjs +151 -141
- package/dist/chunks/onboarding.mjs +26 -15
- package/dist/chunks/package.mjs +1 -1
- package/dist/chunks/paradigm.mjs +24 -23
- package/dist/chunks/permission-manager.mjs +10 -11
- package/dist/chunks/permissions.mjs +72 -57
- package/dist/chunks/persistence-manager.mjs +97 -84
- package/dist/chunks/persistence.mjs +1 -1
- package/dist/chunks/platform.mjs +29 -29
- package/dist/chunks/plugin.mjs +104 -105
- package/dist/chunks/prompts.mjs +36 -25
- package/dist/chunks/providers.mjs +68 -69
- package/dist/chunks/quick-actions.mjs +71 -72
- package/dist/chunks/quick-provider.mjs +56 -40
- package/dist/chunks/quick-setup.mjs +71 -60
- package/dist/chunks/remote.mjs +21 -12
- package/dist/chunks/session.mjs +116 -103
- package/dist/chunks/sessions.mjs +29 -28
- package/dist/chunks/silent-updater.mjs +8 -10
- package/dist/chunks/simple-config.mjs +13 -10
- package/dist/chunks/skill.mjs +8560 -103
- package/dist/chunks/skills-sync.mjs +5212 -79
- package/dist/chunks/skills.mjs +105 -94
- package/dist/chunks/slash-commands.mjs +36 -37
- package/dist/chunks/smart-defaults.mjs +7 -3
- package/dist/chunks/smart-guide.mjs +1 -1
- package/dist/chunks/startup.mjs +2 -4
- package/dist/chunks/stats.mjs +41 -42
- package/dist/chunks/status.mjs +49 -50
- package/dist/chunks/team.mjs +24 -12
- package/dist/chunks/thinking.mjs +74 -63
- package/dist/chunks/trace.mjs +20 -19
- package/dist/chunks/uninstall.mjs +69 -56
- package/dist/chunks/update.mjs +39 -28
- package/dist/chunks/upgrade-manager.mjs +24 -18
- package/dist/chunks/version-checker.mjs +45 -41
- package/dist/chunks/vim.mjs +81 -69
- package/dist/chunks/windows.mjs +14 -0
- package/dist/chunks/workflows.mjs +15 -15
- package/dist/chunks/wsl.mjs +129 -0
- package/dist/chunks/zero-config.mjs +45 -34
- package/dist/cli.mjs +20 -20
- package/dist/index.mjs +41 -31
- package/dist/shared/ccjk.BAGoDD49.mjs +36 -0
- package/dist/shared/ccjk.BBtCGd_g.mjs +899 -0
- package/dist/shared/{ccjk.CGcy7cNM.mjs → ccjk.BDKUdmLk.mjs} +1 -1
- package/dist/shared/{ccjk.DtMBiwVG.mjs → ccjk.BFxsJM0k.mjs} +1 -1
- package/dist/shared/{ccjk.j4uut26D.mjs → ccjk.BIxuVL3_.mjs} +5 -5
- package/dist/shared/ccjk.BRZ9ww8S.mjs +142 -0
- package/dist/shared/{ccjk.CN0edl87.mjs → ccjk.BSYWk9ML.mjs} +1 -1
- package/dist/shared/{ccjk.Dk1HDseQ.mjs → ccjk.BnpWvs9V.mjs} +75 -75
- package/dist/shared/ccjk.BoApaI4j.mjs +28 -0
- package/dist/shared/{ccjk.DKojSRzw.mjs → ccjk.BrPUmTqm.mjs} +1 -1
- package/dist/shared/{ccjk.C10pepYx.mjs → ccjk.BxSmJ8B7.mjs} +1 -1
- package/dist/shared/ccjk.Bx_rmYfN.mjs +69 -0
- package/dist/shared/ccjk.COweQ1RR.mjs +5 -0
- package/dist/shared/{ccjk.BN90X6oc.mjs → ccjk.CePkJq2S.mjs} +17 -17
- package/dist/shared/{ccjk.Bvoex4TZ.mjs → ccjk.CfKKcvWy.mjs} +1 -1
- package/dist/shared/ccjk.Cjgrln_h.mjs +297 -0
- package/dist/shared/ccjk.CxpGa6MC.mjs +2724 -0
- package/dist/shared/{ccjk.DfwJOEok.mjs → ccjk.D5MFQT7w.mjs} +1 -1
- package/dist/shared/{ccjk.cChAaGgT.mjs → ccjk.DG_o24cZ.mjs} +6 -6
- package/dist/shared/{ccjk.bhFAMRyc.mjs → ccjk.DLLw-h4Y.mjs} +32 -32
- package/dist/shared/ccjk.DOwtZMk8.mjs +4019 -0
- package/dist/shared/{ccjk.BsXQugfY.mjs → ccjk.DTdjs-qK.mjs} +13 -13
- package/dist/shared/{ccjk.Bdhyg3X-.mjs → ccjk.DsYaCCx4.mjs} +1 -1
- package/dist/shared/ccjk.KfSWcGlE.mjs +38 -0
- package/dist/shared/ccjk.RyizuzOI.mjs +21 -0
- package/dist/shared/{ccjk.h7_W-wTs.mjs → ccjk.SPoXMvZD.mjs} +1 -1
- package/dist/shared/ccjk.T_cX87dY.mjs +15 -0
- package/dist/shared/{ccjk.CrB6OYHv.mjs → ccjk._dESH4Rk.mjs} +2 -2
- package/dist/shared/ccjk.bQ7Dh1g4.mjs +249 -0
- package/dist/shared/{ccjk.CBhIZiPz.mjs → ccjk.hoqrwWdN.mjs} +1 -1
- package/dist/shared/{ccjk.BNwRnWYx.mjs → ccjk.s7OCVzdd.mjs} +1230 -33
- package/dist/shared/{ccjk.BOIUTf5z.mjs → ccjk.waa2ikKJ.mjs} +8 -9
- package/package.json +31 -30
- package/dist/shared/ccjk.DHbrGcgg.mjs +0 -13
- package/dist/shared/ccjk.DntgA8fQ.mjs +0 -42
package/dist/chunks/boost.mjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import
|
|
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 {
|
|
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 './
|
|
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('
|
|
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('
|
|
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(
|
|
309
|
-
const ora = (await import('
|
|
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: ${
|
|
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(
|
|
331
|
-
console.log(
|
|
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(
|
|
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" ?
|
|
339
|
-
console.log(` ${priority} ${a.label}`);
|
|
340
|
-
if (a.rec.command)
|
|
341
|
-
console.log(` ${
|
|
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(
|
|
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('
|
|
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(
|
|
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} ${
|
|
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 ?
|
|
385
|
-
console.log(
|
|
386
|
-
console.log(` Applied: ${
|
|
387
|
-
console.log(` Score: ${
|
|
388
|
-
console.log(` Grade: ${report.grade} \u2192 ${
|
|
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(
|
|
389
|
+
console.log(a.green("\n \u2728 Excellent setup! Getting the most out of Claude Code.\n"));
|
|
391
390
|
} else {
|
|
392
|
-
console.log(
|
|
393
|
-
Run ${
|
|
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 '
|
|
3
|
-
import {
|
|
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 {
|
|
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 '
|
|
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;
|