ccjk 13.3.15 → 13.3.17
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/claude-code-config-manager.mjs +1 -0
- package/dist/chunks/commit.mjs +2 -0
- package/dist/chunks/completion.mjs +1 -0
- package/dist/chunks/help.mjs +1 -0
- package/dist/chunks/impact.mjs +651 -0
- package/dist/chunks/index5.mjs +16 -0
- package/dist/chunks/package.mjs +1 -1
- package/dist/chunks/persistence.mjs +38 -0
- package/dist/chunks/skills-sync.mjs +4 -0
- package/dist/chunks/stats.mjs +4 -223
- package/dist/cli.mjs +22 -0
- package/dist/shared/ccjk.Bb9Mpi2O.mjs +19 -0
- package/dist/shared/ccjk.OTnevPNE.mjs +225 -0
- package/package.json +68 -65
|
@@ -256,6 +256,7 @@ class ClaudeCodeConfigManager {
|
|
|
256
256
|
settings.env.ANTHROPIC_DEFAULT_SONNET_MODEL = profile.defaultSonnetModel;
|
|
257
257
|
if (profile.defaultOpusModel)
|
|
258
258
|
settings.env.ANTHROPIC_DEFAULT_OPUS_MODEL = profile.defaultOpusModel;
|
|
259
|
+
delete settings.model;
|
|
259
260
|
} else {
|
|
260
261
|
clearModelEnv(settings.env);
|
|
261
262
|
}
|
package/dist/chunks/commit.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import a from './index2.mjs';
|
|
2
2
|
import { i as inquirer } from './index3.mjs';
|
|
3
3
|
import { exec as q } from './main.mjs';
|
|
4
|
+
import { s as showImpactReminder } from '../shared/ccjk.Bb9Mpi2O.mjs';
|
|
4
5
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
5
6
|
import 'node:readline';
|
|
6
7
|
import 'stream';
|
|
@@ -129,6 +130,7 @@ async function commit(options = {}) {
|
|
|
129
130
|
try {
|
|
130
131
|
await commitChanges(message);
|
|
131
132
|
console.log(a.green("\n\u2713 Changes committed"));
|
|
133
|
+
showImpactReminder("commit");
|
|
132
134
|
} catch (error) {
|
|
133
135
|
console.log(a.red(`
|
|
134
136
|
\u2717 Commit failed: ${error}`));
|
|
@@ -290,6 +290,7 @@ const COMPLETION_COMMANDS = [
|
|
|
290
290
|
// Other Commands
|
|
291
291
|
{ name: "ccr", description: "Configure Claude Code Router" },
|
|
292
292
|
{ name: "ccu", description: "Claude Code usage analysis" },
|
|
293
|
+
{ name: "impact", description: "Usage impact page with daily token trends", aliases: ["gain"] },
|
|
293
294
|
{ name: "vim", description: "Vim mode configuration" },
|
|
294
295
|
{ name: "workflows", description: "Manage workflows", aliases: ["wf"] },
|
|
295
296
|
{ name: "stats", description: "Usage statistics" },
|
package/dist/chunks/help.mjs
CHANGED
|
@@ -25,6 +25,7 @@ const COMMAND_REFERENCE = [
|
|
|
25
25
|
{ name: "ccjk workflows", alias: "wf", description: "\u7BA1\u7406\u5DE5\u4F5C\u6D41", category: "other", examples: ["ccjk wf"] },
|
|
26
26
|
{ name: "ccjk ccr", description: "CCR \u4EE3\u7406\u7BA1\u7406", category: "other", examples: ["ccjk ccr"] },
|
|
27
27
|
{ name: "ccjk ccu", description: "\u4F7F\u7528\u91CF\u7EDF\u8BA1", category: "other", examples: ["ccjk ccu"] },
|
|
28
|
+
{ name: "ccjk impact", alias: "gain", description: "\u6BCF\u65E5 Token \u6548\u679C\u9875", category: "other", examples: ["ccjk impact", "ccjk impact --days 30"] },
|
|
28
29
|
{ name: "ccjk uninstall", description: "\u5378\u8F7D\u914D\u7F6E", category: "other", examples: ["ccjk uninstall"] }
|
|
29
30
|
];
|
|
30
31
|
const HELP_TOPICS = [
|