ccsini 0.1.36 → 0.1.37
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/index.js +15 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28018,7 +28018,7 @@ var {
|
|
|
28018
28018
|
} = import__.default;
|
|
28019
28019
|
|
|
28020
28020
|
// src/version.ts
|
|
28021
|
-
var VERSION = "0.1.
|
|
28021
|
+
var VERSION = "0.1.37";
|
|
28022
28022
|
|
|
28023
28023
|
// src/commands/init.ts
|
|
28024
28024
|
init_source();
|
|
@@ -30412,7 +30412,7 @@ function registerSessionsCommand(program2) {
|
|
|
30412
30412
|
// src/commands/menu.ts
|
|
30413
30413
|
init_source();
|
|
30414
30414
|
init_dist16();
|
|
30415
|
-
var LOGO = source_default.
|
|
30415
|
+
var LOGO = source_default.hex("#FFA500").bold(`
|
|
30416
30416
|
\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557
|
|
30417
30417
|
\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551
|
|
30418
30418
|
\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551
|
|
@@ -30432,20 +30432,21 @@ async function showInteractiveMenu(program2) {
|
|
|
30432
30432
|
console.log(TAGLINE);
|
|
30433
30433
|
const configDir = getConfigDir();
|
|
30434
30434
|
const initialized = await configExists(configDir);
|
|
30435
|
+
const fmt = (cmd, desc) => `${source_default.bold(cmd.padEnd(16))} ${source_default.dim(desc)}`;
|
|
30435
30436
|
const choices = initialized ? [
|
|
30436
|
-
{ name: "Sync Push
|
|
30437
|
-
{ name: "Sync Pull
|
|
30438
|
-
{ name: "Sync Status
|
|
30439
|
-
{ name: "Sessions
|
|
30440
|
-
{ name: "Doctor
|
|
30441
|
-
{ name: "Hooks Fix
|
|
30442
|
-
{ name: "Help
|
|
30443
|
-
{ name: "Exit", value: [] }
|
|
30437
|
+
{ name: fmt("Sync Push", "Push local changes to cloud"), value: ["sync", "push"] },
|
|
30438
|
+
{ name: fmt("Sync Pull", "Pull changes from cloud"), value: ["sync", "pull"] },
|
|
30439
|
+
{ name: fmt("Sync Status", "Show sync status"), value: ["sync", "status"] },
|
|
30440
|
+
{ name: fmt("Sessions", "Configure session sync"), value: ["sessions", "status"] },
|
|
30441
|
+
{ name: fmt("Doctor", "Check system health"), value: ["doctor"] },
|
|
30442
|
+
{ name: fmt("Hooks Fix", "Repair broken hooks"), value: ["hooks", "fix"] },
|
|
30443
|
+
{ name: fmt("Help", "Show all commands"), value: ["--help"] },
|
|
30444
|
+
{ name: source_default.dim("Exit"), value: [] }
|
|
30444
30445
|
] : [
|
|
30445
|
-
{ name: "Setup
|
|
30446
|
-
{ name: "Doctor
|
|
30447
|
-
{ name: "Help
|
|
30448
|
-
{ name: "Exit", value: [] }
|
|
30446
|
+
{ name: fmt("Setup", "Connect this device"), value: ["init"] },
|
|
30447
|
+
{ name: fmt("Doctor", "Check system health"), value: ["doctor"] },
|
|
30448
|
+
{ name: fmt("Help", "Show all commands"), value: ["--help"] },
|
|
30449
|
+
{ name: source_default.dim("Exit"), value: [] }
|
|
30449
30450
|
];
|
|
30450
30451
|
try {
|
|
30451
30452
|
const { action } = await dist_default12.prompt([
|