ccjk 11.1.2 → 11.1.3
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/init.mjs +7 -7
- package/dist/chunks/package.mjs +1 -1
- package/package.json +1 -1
package/dist/chunks/init.mjs
CHANGED
|
@@ -260,11 +260,11 @@ function formatError(error, context) {
|
|
|
260
260
|
function displayError(error, context) {
|
|
261
261
|
const formatted = formatError(error, context);
|
|
262
262
|
console.error();
|
|
263
|
-
console.error(ansis.red
|
|
264
|
-
console.error(
|
|
263
|
+
console.error(ansis.red(formatted.title));
|
|
264
|
+
console.error(formatted.message);
|
|
265
265
|
if (formatted.suggestion) {
|
|
266
266
|
console.error();
|
|
267
|
-
console.error(ansis.yellow("\u{1F4A1} Suggestion:"),
|
|
267
|
+
console.error(ansis.yellow("\u{1F4A1} Suggestion:"), formatted.suggestion);
|
|
268
268
|
}
|
|
269
269
|
if (formatted.command) {
|
|
270
270
|
console.error(ansis.cyan(" Run:"), ansis.green(formatted.command));
|
|
@@ -287,7 +287,7 @@ class ProgressTracker {
|
|
|
287
287
|
}
|
|
288
288
|
start() {
|
|
289
289
|
console.log();
|
|
290
|
-
console.log(ansis.cyan
|
|
290
|
+
console.log(ansis.cyan("\u{1F680} Starting setup..."));
|
|
291
291
|
console.log(ansis.gray(` ${this.totalSteps} steps to complete`));
|
|
292
292
|
console.log();
|
|
293
293
|
}
|
|
@@ -297,19 +297,19 @@ class ProgressTracker {
|
|
|
297
297
|
const progress = Math.round(this.currentStep / this.totalSteps * 100);
|
|
298
298
|
const bar = this.renderProgressBar(progress);
|
|
299
299
|
console.log();
|
|
300
|
-
console.log(ansis.cyan(`[${this.currentStep}/${this.totalSteps}]`),
|
|
300
|
+
console.log(ansis.cyan(`[${this.currentStep}/${this.totalSteps}]`), stepName);
|
|
301
301
|
console.log(ansis.gray(` ${bar} ${progress}%`));
|
|
302
302
|
}
|
|
303
303
|
complete() {
|
|
304
304
|
const duration = ((Date.now() - this.startTime) / 1e3).toFixed(1);
|
|
305
305
|
console.log();
|
|
306
|
-
console.log(ansis.green
|
|
306
|
+
console.log(ansis.green("\u2705 Setup complete!"));
|
|
307
307
|
console.log(ansis.gray(` Completed in ${duration}s`));
|
|
308
308
|
console.log();
|
|
309
309
|
}
|
|
310
310
|
error(message) {
|
|
311
311
|
console.log();
|
|
312
|
-
console.log(ansis.red
|
|
312
|
+
console.log(ansis.red("\u274C Setup failed"));
|
|
313
313
|
console.log(ansis.white(` ${message}`));
|
|
314
314
|
console.log();
|
|
315
315
|
}
|
package/dist/chunks/package.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccjk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "11.1.
|
|
4
|
+
"version": "11.1.3",
|
|
5
5
|
"packageManager": "pnpm@10.17.1",
|
|
6
6
|
"description": "CLI toolkit for Claude Code and Codex setup. Simplifies MCP service installation, API configuration, workflow management, and multi-provider support with guided interactive setup.",
|
|
7
7
|
"author": {
|