shiva-code 0.7.6 → 0.7.7
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 +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1490,7 +1490,7 @@ var syncCommand = new Command4("sync").description("Projekt mit Cloud synchronis
|
|
|
1490
1490
|
const quiet = options.quiet;
|
|
1491
1491
|
if (!isAuthenticated()) {
|
|
1492
1492
|
if (!quiet) log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
1493
|
-
process.exit(1);
|
|
1493
|
+
process.exit(quiet ? 0 : 1);
|
|
1494
1494
|
return;
|
|
1495
1495
|
}
|
|
1496
1496
|
if (options.all) {
|
|
@@ -1500,7 +1500,7 @@ var syncCommand = new Command4("sync").description("Projekt mit Cloud synchronis
|
|
|
1500
1500
|
const projectDir = resolve4(options.dir);
|
|
1501
1501
|
if (!existsSync5(projectDir)) {
|
|
1502
1502
|
if (!quiet) log.error(`Verzeichnis nicht gefunden: ${projectDir}`);
|
|
1503
|
-
process.exit(1);
|
|
1503
|
+
process.exit(quiet ? 0 : 1);
|
|
1504
1504
|
return;
|
|
1505
1505
|
}
|
|
1506
1506
|
const spinner = quiet ? null : ora2("Synchronisiere...").start();
|
|
@@ -1509,7 +1509,7 @@ var syncCommand = new Command4("sync").description("Projekt mit Cloud synchronis
|
|
|
1509
1509
|
scanned = await scanProject(projectDir);
|
|
1510
1510
|
} catch (error) {
|
|
1511
1511
|
spinner?.fail("Fehler beim Scannen");
|
|
1512
|
-
process.exit(1);
|
|
1512
|
+
process.exit(quiet ? 0 : 1);
|
|
1513
1513
|
return;
|
|
1514
1514
|
}
|
|
1515
1515
|
let project = await api.findProjectByPath(scanned.path);
|
|
@@ -1531,7 +1531,7 @@ var syncCommand = new Command4("sync").description("Projekt mit Cloud synchronis
|
|
|
1531
1531
|
} catch (error) {
|
|
1532
1532
|
spinner?.fail("Fehler beim Erstellen");
|
|
1533
1533
|
if (!quiet) log.error(error instanceof Error ? error.message : "Unbekannter Fehler");
|
|
1534
|
-
process.exit(1);
|
|
1534
|
+
process.exit(quiet ? 0 : 1);
|
|
1535
1535
|
return;
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
@@ -1556,7 +1556,7 @@ var syncCommand = new Command4("sync").description("Projekt mit Cloud synchronis
|
|
|
1556
1556
|
} catch (error) {
|
|
1557
1557
|
spinner?.fail("Fehler beim Hochladen");
|
|
1558
1558
|
if (!quiet) log.error(error instanceof Error ? error.message : "Unbekannter Fehler");
|
|
1559
|
-
process.exit(1);
|
|
1559
|
+
process.exit(quiet ? 0 : 1);
|
|
1560
1560
|
return;
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
@@ -1570,7 +1570,7 @@ var syncCommand = new Command4("sync").description("Projekt mit Cloud synchronis
|
|
|
1570
1570
|
} catch (error) {
|
|
1571
1571
|
spinner?.fail("Fehler beim Aktualisieren");
|
|
1572
1572
|
if (!quiet) log.error(error instanceof Error ? error.message : "Unbekannter Fehler");
|
|
1573
|
-
process.exit(1);
|
|
1573
|
+
process.exit(quiet ? 0 : 1);
|
|
1574
1574
|
return;
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
@@ -14291,7 +14291,7 @@ sandboxCommand.command("delete <id>").description("Sandbox l\xF6schen").option("
|
|
|
14291
14291
|
|
|
14292
14292
|
// src/index.ts
|
|
14293
14293
|
var program = new Command39();
|
|
14294
|
-
program.name("shiva").description("SHIVA Code - Control Station for Claude Code").version("0.7.
|
|
14294
|
+
program.name("shiva").description("SHIVA Code - Control Station for Claude Code").version("0.7.7").option("--debug", "Debug-Modus aktivieren").hook("preAction", (thisCommand) => {
|
|
14295
14295
|
const opts = thisCommand.opts();
|
|
14296
14296
|
if (opts.debug) {
|
|
14297
14297
|
enableDebug();
|