ccjk 12.2.2 → 12.3.1

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 (135) hide show
  1. package/dist/chunks/agent-teams.mjs +3 -3
  2. package/dist/chunks/agent.mjs +2 -2
  3. package/dist/chunks/agents.mjs +4 -5
  4. package/dist/chunks/api-cli.mjs +5 -5
  5. package/dist/chunks/api-providers.mjs +1 -1
  6. package/dist/chunks/api.mjs +4 -4
  7. package/dist/chunks/auto-bootstrap.mjs +1 -1
  8. package/dist/chunks/auto-fixer.mjs +3 -3
  9. package/dist/chunks/auto-init.mjs +3 -3
  10. package/dist/chunks/auto-updater.mjs +9 -9
  11. package/dist/chunks/banner.mjs +2 -2
  12. package/dist/chunks/boost.mjs +4 -4
  13. package/dist/chunks/ccjk-agents.mjs +3 -3
  14. package/dist/chunks/ccjk-all.mjs +6 -6
  15. package/dist/chunks/ccjk-config.mjs +2 -2
  16. package/dist/chunks/ccjk-hooks.mjs +4 -4
  17. package/dist/chunks/ccjk-mcp.mjs +5 -5
  18. package/dist/chunks/ccjk-setup.mjs +5 -5
  19. package/dist/chunks/ccjk-skills.mjs +5 -5
  20. package/dist/chunks/ccr.mjs +14 -14
  21. package/dist/chunks/ccu.mjs +2 -2
  22. package/dist/chunks/check-updates.mjs +6 -6
  23. package/dist/chunks/claude-code-config-manager.mjs +5 -4
  24. package/dist/chunks/claude-code-incremental-manager.mjs +6 -6
  25. package/dist/chunks/claude-config.mjs +1 -1
  26. package/dist/chunks/claude-wrapper.mjs +1 -1
  27. package/dist/chunks/cli-hook.mjs +9 -10
  28. package/dist/chunks/codex-config-switch.mjs +6 -6
  29. package/dist/chunks/codex-provider-manager.mjs +6 -6
  30. package/dist/chunks/codex-uninstaller.mjs +2 -2
  31. package/dist/chunks/codex.mjs +5 -5
  32. package/dist/chunks/commands.mjs +2 -2
  33. package/dist/chunks/commands2.mjs +1 -1
  34. package/dist/chunks/commit.mjs +2 -2
  35. package/dist/chunks/completion.mjs +2 -2
  36. package/dist/chunks/config-consolidator.mjs +2 -2
  37. package/dist/chunks/config-switch.mjs +7 -7
  38. package/dist/chunks/config.mjs +3 -3
  39. package/dist/chunks/config2.mjs +4 -4
  40. package/dist/chunks/config3.mjs +3 -3
  41. package/dist/chunks/constants.mjs +1 -1
  42. package/dist/chunks/context-opt.mjs +442 -0
  43. package/dist/chunks/convoy-manager.mjs +355 -3
  44. package/dist/chunks/dashboard.mjs +2 -2
  45. package/dist/chunks/doctor.mjs +4 -4
  46. package/dist/chunks/evolution.mjs +2 -2
  47. package/dist/chunks/health-alerts.mjs +530 -4
  48. package/dist/chunks/help.mjs +1 -1
  49. package/dist/chunks/index.mjs +0 -23
  50. package/dist/chunks/index10.mjs +571 -634
  51. package/dist/chunks/index11.mjs +569 -1061
  52. package/dist/chunks/index12.mjs +1076 -914
  53. package/dist/chunks/index13.mjs +951 -135
  54. package/dist/chunks/index14.mjs +184 -209
  55. package/dist/chunks/index15.mjs +218 -0
  56. package/dist/chunks/index2.mjs +24 -19
  57. package/dist/chunks/index3.mjs +12 -19085
  58. package/dist/chunks/index4.mjs +19092 -16
  59. package/dist/chunks/index5.mjs +16 -7602
  60. package/dist/chunks/index6.mjs +7590 -159
  61. package/dist/chunks/index7.mjs +171 -1602
  62. package/dist/chunks/index8.mjs +1602 -19
  63. package/dist/chunks/index9.mjs +15 -612
  64. package/dist/chunks/init.mjs +13 -13
  65. package/dist/chunks/installer.mjs +5 -5
  66. package/dist/chunks/installer2.mjs +1 -1
  67. package/dist/chunks/interview.mjs +4 -4
  68. package/dist/chunks/manager.mjs +1 -1
  69. package/dist/chunks/marketplace.mjs +2 -2
  70. package/dist/chunks/mcp-cli.mjs +9 -9
  71. package/dist/chunks/mcp.mjs +7 -7
  72. package/dist/chunks/memory.mjs +3 -3
  73. package/dist/chunks/menu-hierarchical.mjs +14 -14
  74. package/dist/chunks/menu.mjs +12 -12
  75. package/dist/chunks/metrics-display.mjs +1 -1
  76. package/dist/chunks/migrator.mjs +1 -1
  77. package/dist/chunks/monitor.mjs +2 -2
  78. package/dist/chunks/notification.mjs +4 -4
  79. package/dist/chunks/onboarding-wizard.mjs +2 -2
  80. package/dist/chunks/onboarding.mjs +4 -4
  81. package/dist/chunks/package.mjs +1 -1
  82. package/dist/chunks/paradigm.mjs +1 -1
  83. package/dist/chunks/permission-manager.mjs +2 -2
  84. package/dist/chunks/permissions.mjs +3 -3
  85. package/dist/chunks/persistence-manager.mjs +3 -3
  86. package/dist/chunks/plugin.mjs +2 -2
  87. package/dist/chunks/prompts.mjs +5 -5
  88. package/dist/chunks/providers.mjs +2 -2
  89. package/dist/chunks/quick-actions.mjs +2 -2
  90. package/dist/chunks/quick-provider.mjs +6 -5
  91. package/dist/chunks/quick-setup.mjs +10 -10
  92. package/dist/chunks/remote.mjs +5 -5
  93. package/dist/chunks/session.mjs +2 -2
  94. package/dist/chunks/sessions.mjs +1 -1
  95. package/dist/chunks/silent-updater.mjs +1 -1
  96. package/dist/chunks/simple-config.mjs +1 -1
  97. package/dist/chunks/skill2.mjs +3 -3
  98. package/dist/chunks/skills-sync.mjs +4 -4
  99. package/dist/chunks/skills.mjs +3 -3
  100. package/dist/chunks/slash-commands.mjs +3 -3
  101. package/dist/chunks/startup.mjs +1 -1
  102. package/dist/chunks/stats.mjs +2 -2
  103. package/dist/chunks/status.mjs +2 -2
  104. package/dist/chunks/team.mjs +3 -3
  105. package/dist/chunks/thinking.mjs +4 -4
  106. package/dist/chunks/trace.mjs +2 -2
  107. package/dist/chunks/uninstall.mjs +8 -8
  108. package/dist/chunks/update.mjs +9 -9
  109. package/dist/chunks/upgrade-manager.mjs +3 -3
  110. package/dist/chunks/version-checker.mjs +4 -4
  111. package/dist/chunks/vim.mjs +3 -3
  112. package/dist/chunks/workflows.mjs +1 -1
  113. package/dist/chunks/wsl.mjs +1 -1
  114. package/dist/chunks/zero-config.mjs +3 -3
  115. package/dist/cli.mjs +56 -23
  116. package/dist/index.mjs +5 -5
  117. package/dist/shared/{ccjk.CCcQfbni.mjs → ccjk.B1TwPltj.mjs} +1 -1
  118. package/dist/shared/{ccjk.CePkJq2S.mjs → ccjk.BfIpomdz.mjs} +1 -1
  119. package/dist/shared/{ccjk.D8ZLYSZZ.mjs → ccjk.CXzjn01x.mjs} +1 -1
  120. package/dist/shared/{ccjk.Cjj8SVrn.mjs → ccjk.Cot9p9_n.mjs} +1 -1
  121. package/dist/shared/{ccjk.CvChMYvB.mjs → ccjk.DCw2WnZU.mjs} +1 -1
  122. package/dist/shared/{ccjk.DG_o24cZ.mjs → ccjk.DJdmgr2d.mjs} +1 -1
  123. package/dist/shared/{ccjk.BIxuVL3_.mjs → ccjk.DcKLglJQ.mjs} +2 -2
  124. package/dist/shared/{ccjk.DLLw-h4Y.mjs → ccjk.DfXjf8EC.mjs} +2 -2
  125. package/dist/shared/{ccjk.KpFl2RDA.mjs → ccjk.DpstNaeR.mjs} +3 -3
  126. package/dist/shared/{ccjk.DOBWBkFR.mjs → ccjk.XsJWJuQP.mjs} +5 -5
  127. package/dist/shared/{ccjk._dESH4Rk.mjs → ccjk.dYDLfmph.mjs} +1 -1
  128. package/dist/shared/{ccjk.DS7UESmF.mjs → ccjk.hrRv8G6j.mjs} +4 -4
  129. package/dist/shared/{ccjk.BWFpnOr3.mjs → ccjk.mJpVRDZ8.mjs} +1 -1
  130. package/dist/templates/claude-code/common/settings.json +3 -1
  131. package/package.json +20 -18
  132. package/templates/claude-code/common/settings.json +3 -1
  133. package/dist/chunks/context-loader.mjs +0 -351
  134. package/dist/chunks/context.mjs +0 -372
  135. package/dist/chunks/health-check.mjs +0 -532
@@ -1,12 +1,364 @@
1
+ import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'node:fs';
2
+ import { glob } from 'tinyglobby';
3
+ import { e as executionTracer } from '../shared/ccjk.BfIpomdz.mjs';
4
+ import { f as fsParadigm } from '../shared/ccjk.BxSmJ8B7.mjs';
5
+ import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
1
6
  import 'node:child_process';
2
- import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'node:fs';
3
7
  import 'node:fs/promises';
4
8
  import { homedir } from 'node:os';
5
9
  import 'node:path';
6
10
  import { EventEmitter } from 'node:events';
7
11
  import { n as nanoid } from '../shared/ccjk.BoApaI4j.mjs';
8
12
  import { x as K } from './main.mjs';
9
- import { j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
13
+
14
+ const DEPTH_TOKEN_BUDGETS = {
15
+ L0: 100,
16
+ // Abstract summary only
17
+ L1: 2e3,
18
+ // Overview
19
+ L2: Number.POSITIVE_INFINITY
20
+ // Full content
21
+ };
22
+ const PHASE_BUDGET_MULTIPLIERS = {
23
+ exploring: 2,
24
+ executing: 0.6,
25
+ generating: 0.4,
26
+ reviewing: 1.2,
27
+ idle: 1
28
+ };
29
+ const CHARS_PER_TOKEN = 4;
30
+ function estimateTokens(text) {
31
+ return Math.ceil(text.length / CHARS_PER_TOKEN);
32
+ }
33
+ function truncateToDepth(content, depth) {
34
+ if (depth === "L2") return content;
35
+ const maxChars = DEPTH_TOKEN_BUDGETS[depth] * CHARS_PER_TOKEN;
36
+ if (content.length <= maxChars) return content;
37
+ if (depth === "L0") {
38
+ const firstPara = content.split(/\n\n/)[0];
39
+ return firstPara.length <= maxChars ? firstPara : content.slice(0, maxChars);
40
+ }
41
+ return `${content.slice(0, maxChars)}
42
+ ... (truncated, use L2 for full content)`;
43
+ }
44
+ class ContextLoader {
45
+ cache = /* @__PURE__ */ new Map();
46
+ defaultMaxSize = 1e5;
47
+ // 100KB default
48
+ defaultTokenBudget = 8e3;
49
+ // ~32KB at 4 chars/token
50
+ /**
51
+ * Resolve effective depth from options.
52
+ * If depth is explicit, use it. Otherwise derive from tokenBudget.
53
+ */
54
+ resolveDepth(tokenBudget, explicitDepth) {
55
+ if (explicitDepth) return explicitDepth;
56
+ if (tokenBudget <= DEPTH_TOKEN_BUDGETS.L0) return "L0";
57
+ if (tokenBudget <= DEPTH_TOKEN_BUDGETS.L1) return "L1";
58
+ return "L2";
59
+ }
60
+ /**
61
+ * Load context hierarchically with OpenViking-style tiered depth control.
62
+ * Pass tokenBudget to automatically select L0/L1/L2 depth.
63
+ */
64
+ async load(options = {}) {
65
+ const {
66
+ projectRoot = process.cwd(),
67
+ maxSize = this.defaultMaxSize,
68
+ tokenBudget,
69
+ depth: explicitDepth,
70
+ layers = ["project", "domain", "task", "execution"],
71
+ task
72
+ } = options;
73
+ const phaseMultiplier = options.taskPhase ? PHASE_BUDGET_MULTIPLIERS[options.taskPhase] ?? 1 : 1;
74
+ const effectiveBudget = Math.round((tokenBudget ?? this.defaultTokenBudget) * phaseMultiplier);
75
+ const depth = this.resolveDepth(effectiveBudget, explicitDepth);
76
+ const cacheKey = this.getCacheKey(projectRoot, layers, task?.id, depth);
77
+ const cached = this.cache.get(cacheKey);
78
+ if (cached && Date.now() - cached.loadedAt < 6e4) {
79
+ executionTracer.logEvent("context-load", {
80
+ source: "cache",
81
+ layers: layers.length,
82
+ size: cached.totalSize,
83
+ tokens: cached.totalTokens,
84
+ depth
85
+ });
86
+ return cached;
87
+ }
88
+ const context = {
89
+ layers: /* @__PURE__ */ new Map(),
90
+ totalSize: 0,
91
+ totalTokens: 0,
92
+ loadedAt: Date.now(),
93
+ depth
94
+ };
95
+ for (const layer of layers) {
96
+ const entries = await this.loadLayer(layer, projectRoot, task, depth);
97
+ if (entries.length > 0) {
98
+ context.layers.set(layer, entries);
99
+ context.totalSize += entries.reduce((sum, e) => sum + e.content.length, 0);
100
+ context.totalTokens += entries.reduce((sum, e) => sum + e.tokenEstimate, 0);
101
+ }
102
+ if (context.totalSize > maxSize || context.totalTokens > effectiveBudget) {
103
+ break;
104
+ }
105
+ }
106
+ this.cache.set(cacheKey, context);
107
+ executionTracer.logEvent("context-load", {
108
+ source: "fresh",
109
+ layers: context.layers.size,
110
+ size: context.totalSize,
111
+ tokens: context.totalTokens,
112
+ depth
113
+ });
114
+ return context;
115
+ }
116
+ /**
117
+ * Load a specific context layer
118
+ */
119
+ async loadLayer(layer, projectRoot, task, depth = "L2") {
120
+ switch (layer) {
121
+ case "project":
122
+ return this.loadProjectContext(projectRoot, depth);
123
+ case "domain":
124
+ return this.loadDomainContext(projectRoot, task, depth);
125
+ case "task":
126
+ return this.loadTaskContext(task, depth);
127
+ case "execution":
128
+ return this.loadExecutionContext(task, depth);
129
+ default:
130
+ return [];
131
+ }
132
+ }
133
+ /**
134
+ * Load project-level context
135
+ * - README.md
136
+ * - CLAUDE.md
137
+ * - package.json
138
+ * - tsconfig.json
139
+ */
140
+ async loadProjectContext(projectRoot, depth = "L2") {
141
+ const entries = [];
142
+ const files = ["README.md", "CLAUDE.md", "package.json", "tsconfig.json"];
143
+ for (const file of files) {
144
+ const path = join(projectRoot, file);
145
+ if (existsSync(path)) {
146
+ const raw = readFileSync(path, "utf-8");
147
+ const content = truncateToDepth(raw, depth);
148
+ entries.push({
149
+ layer: "project",
150
+ source: file,
151
+ content,
152
+ priority: 100,
153
+ depth,
154
+ tokenEstimate: estimateTokens(content),
155
+ metadata: { path }
156
+ });
157
+ }
158
+ }
159
+ return entries;
160
+ }
161
+ /**
162
+ * Load domain-specific context
163
+ * Based on task type/domain, load relevant files
164
+ */
165
+ async loadDomainContext(projectRoot, task, depth = "L2") {
166
+ if (!task) return [];
167
+ const entries = [];
168
+ const structure = await fsParadigm.detect(projectRoot);
169
+ const domain = this.inferDomain(task);
170
+ if (!domain) {
171
+ const sourceFiles = fsParadigm.getFilesByRole(structure, "source");
172
+ for (const file of sourceFiles.slice(0, 3)) {
173
+ try {
174
+ const raw = readFileSync(file, "utf-8");
175
+ const content = truncateToDepth(raw, depth);
176
+ entries.push({
177
+ layer: "domain",
178
+ source: file.replace(projectRoot, ""),
179
+ content,
180
+ priority: 75,
181
+ depth,
182
+ tokenEstimate: estimateTokens(content),
183
+ metadata: { paradigm: structure.paradigm, path: file }
184
+ });
185
+ } catch {
186
+ }
187
+ }
188
+ return entries;
189
+ }
190
+ const patterns = this.getDomainPatterns(domain, structure.paradigm);
191
+ for (const pattern of patterns) {
192
+ const files = await glob([pattern], {
193
+ cwd: projectRoot,
194
+ absolute: true,
195
+ ignore: ["**/node_modules/**", "**/dist/**", "**/.git/**"]
196
+ });
197
+ for (const file of files.slice(0, 5)) {
198
+ try {
199
+ const raw = readFileSync(file, "utf-8");
200
+ const content = truncateToDepth(raw, depth);
201
+ entries.push({
202
+ layer: "domain",
203
+ source: file.replace(projectRoot, ""),
204
+ content,
205
+ priority: 80,
206
+ depth,
207
+ tokenEstimate: estimateTokens(content),
208
+ metadata: { domain, paradigm: structure.paradigm, path: file }
209
+ });
210
+ } catch {
211
+ }
212
+ }
213
+ }
214
+ return entries;
215
+ }
216
+ /**
217
+ * Load task-specific context
218
+ */
219
+ async loadTaskContext(task, depth = "L2") {
220
+ if (!task) return [];
221
+ const entries = [];
222
+ if (task.description) {
223
+ const content = truncateToDepth(task.description, depth);
224
+ entries.push({
225
+ layer: "task",
226
+ source: "task-description",
227
+ content,
228
+ priority: 90,
229
+ depth,
230
+ tokenEstimate: estimateTokens(content),
231
+ metadata: { taskId: task.id }
232
+ });
233
+ }
234
+ if (task.input && depth !== "L0") {
235
+ const content = truncateToDepth(JSON.stringify(task.input, null, 2), depth);
236
+ entries.push({
237
+ layer: "task",
238
+ source: "task-input",
239
+ content,
240
+ priority: 85,
241
+ depth,
242
+ tokenEstimate: estimateTokens(content),
243
+ metadata: { taskId: task.id }
244
+ });
245
+ }
246
+ return entries;
247
+ }
248
+ /**
249
+ * Load execution-specific context
250
+ * - Recent errors
251
+ * - Previous attempts
252
+ * - Related task outputs
253
+ */
254
+ async loadExecutionContext(task, depth = "L2") {
255
+ if (!task) return [];
256
+ const entries = [];
257
+ if (task.output && depth !== "L0") {
258
+ const content = truncateToDepth(JSON.stringify(task.output, null, 2), depth);
259
+ entries.push({
260
+ layer: "execution",
261
+ source: "previous-output",
262
+ content,
263
+ priority: 70,
264
+ depth,
265
+ tokenEstimate: estimateTokens(content),
266
+ metadata: { taskId: task.id }
267
+ });
268
+ }
269
+ return entries;
270
+ }
271
+ /**
272
+ * Infer domain from task
273
+ */
274
+ inferDomain(task) {
275
+ const text = `${task.name} ${task.description || ""}`.toLowerCase();
276
+ const domains = {
277
+ api: ["api", "endpoint", "route", "controller"],
278
+ ui: ["ui", "component", "view", "page", "frontend"],
279
+ database: ["database", "db", "schema", "migration", "model"],
280
+ auth: ["auth", "login", "user", "permission", "session"],
281
+ test: ["test", "spec", "e2e", "unit", "integration"],
282
+ config: ["config", "settings", "env", "setup"]
283
+ };
284
+ for (const [domain, keywords] of Object.entries(domains)) {
285
+ if (keywords.some((kw) => text.includes(kw))) {
286
+ return domain;
287
+ }
288
+ }
289
+ return null;
290
+ }
291
+ /**
292
+ * Get file patterns for a domain (paradigm-aware)
293
+ */
294
+ getDomainPatterns(domain, paradigm) {
295
+ const basePatterns = {
296
+ api: ["**/api/**/*.ts", "**/routes/**/*.ts", "**/controllers/**/*.ts"],
297
+ ui: ["**/components/**/*.{tsx,vue}", "**/pages/**/*.{tsx,vue}", "**/views/**/*.{tsx,vue}"],
298
+ database: ["**/models/**/*.ts", "**/schema/**/*.ts", "**/migrations/**/*.ts"],
299
+ auth: ["**/auth/**/*.ts", "**/middleware/auth*.ts"],
300
+ test: ["**/*.test.ts", "**/*.spec.ts"],
301
+ config: ["**/config/**/*.ts", "**/*.config.ts"]
302
+ };
303
+ let patterns = basePatterns[domain] || [];
304
+ if (paradigm === "monorepo") {
305
+ patterns = patterns.map((p) => `packages/*/${p}`);
306
+ } else if (paradigm === "fullstack") {
307
+ if (domain === "ui") {
308
+ patterns = patterns.map((p) => `client/${p}`);
309
+ } else if (domain === "api") {
310
+ patterns = patterns.map((p) => `server/${p}`);
311
+ }
312
+ }
313
+ return patterns;
314
+ }
315
+ /**
316
+ * Get cache key
317
+ */
318
+ getCacheKey(projectRoot, layers, taskId, depth = "L2") {
319
+ return `${projectRoot}:${layers.join(",")}:${taskId || "none"}:${depth}`;
320
+ }
321
+ /**
322
+ * Clear cache
323
+ */
324
+ clearCache() {
325
+ this.cache.clear();
326
+ }
327
+ /**
328
+ * Format context for LLM consumption
329
+ */
330
+ formatForLLM(context) {
331
+ const sections = [];
332
+ sections.push(`<!-- context depth=${context.depth} tokens\u2248${context.totalTokens} -->
333
+ `);
334
+ const layerOrder = ["project", "domain", "task", "execution"];
335
+ for (const layer of layerOrder) {
336
+ const entries = context.layers.get(layer);
337
+ if (!entries || entries.length === 0) continue;
338
+ sections.push(`# ${layer.toUpperCase()} CONTEXT
339
+ `);
340
+ const sorted = entries.sort((a, b) => b.priority - a.priority);
341
+ for (const entry of sorted) {
342
+ sections.push(`## ${entry.source} [${entry.depth}]
343
+ `);
344
+ sections.push(entry.content);
345
+ sections.push("\n");
346
+ }
347
+ }
348
+ return sections.join("\n");
349
+ }
350
+ }
351
+ const contextLoader = new ContextLoader();
352
+ async function loadContextAtDepth(depth, options = {}) {
353
+ return contextLoader.load({ ...options, depth });
354
+ }
355
+
356
+ const contextLoader$1 = {
357
+ __proto__: null,
358
+ ContextLoader: ContextLoader,
359
+ contextLoader: contextLoader,
360
+ loadContextAtDepth: loadContextAtDepth
361
+ };
10
362
 
11
363
  function detectTaskPhase(history) {
12
364
  if (history.length === 0) return "idle";
@@ -982,4 +1334,4 @@ const convoyManager = {
982
1334
  getGlobalConvoyManager: getGlobalConvoyManager
983
1335
  };
984
1336
 
985
- export { SessionIntelligence as S, getGlobalStateManager as a, gitBackedState as b, convoyManager as c, getGlobalConvoyManager as g };
1337
+ export { SessionIntelligence as S, getGlobalStateManager as a, contextLoader$1 as b, contextLoader as c, gitBackedState as d, convoyManager as e, getGlobalConvoyManager as g };
@@ -1,8 +1,8 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { existsSync, statSync } from 'node:fs';
3
3
  import { homedir } from 'node:os';
4
4
  import process__default from 'node:process';
5
- import { i18n } from './index5.mjs';
5
+ import { i18n } from './index6.mjs';
6
6
  import { createHash } from 'node:crypto';
7
7
  import { exec as q } from './main.mjs';
8
8
  import { n as normalize, j as join } from '../shared/ccjk.bQ7Dh1g4.mjs';
@@ -1,15 +1,15 @@
1
1
  import { existsSync, mkdirSync, statSync, writeFileSync, readFileSync, copyFileSync, readdirSync } from 'node:fs';
2
2
  import process__default from 'node:process';
3
- import a from './index2.mjs';
4
- import { i as inquirer } from './index3.mjs';
3
+ import a from './index3.mjs';
4
+ import { i as inquirer } from './index4.mjs';
5
5
  import { getApiProviderPresets } from './api-providers.mjs';
6
6
  import { SETTINGS_FILE, CLAUDE_DIR } from './constants.mjs';
7
- import { i18n } from './index5.mjs';
7
+ import { i18n } from './index6.mjs';
8
8
  import { g as getPermissionManager } from '../shared/ccjk.SPoXMvZD.mjs';
9
9
  import { e as commandExists } from './platform.mjs';
10
10
  import { P as ProviderHealthMonitor } from '../shared/ccjk.J8YiPsOw.mjs';
11
11
  import { platform, userInfo, homedir } from 'node:os';
12
- import ora from './index7.mjs';
12
+ import ora from './index8.mjs';
13
13
  import { exec as q } from './main.mjs';
14
14
  import { STATUS } from './banner.mjs';
15
15
  import { writeFileAtomic } from './fs-operations.mjs';
@@ -1,6 +1,6 @@
1
- import a from './index2.mjs';
1
+ import a from './index3.mjs';
2
2
  import { getCloudBaseUrl } from './constants.mjs';
3
- import { i18n } from './index5.mjs';
3
+ import { i18n } from './index6.mjs';
4
4
  import '../shared/ccjk.BAGoDD49.mjs';
5
5
  import 'node:os';
6
6
  import '../shared/ccjk.bQ7Dh1g4.mjs';