shiva-code 0.8.13 → 0.8.14
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/{chunk-VVP3NTOY.js → chunk-7UG2ACTZ.js} +1 -1
- package/dist/{chunk-KB6M24M3.js → chunk-KZ6JAZDU.js} +8 -0
- package/dist/{chunk-FAMO57BL.js → chunk-VY7OQVQD.js} +1 -1
- package/dist/{client-H3JXPT5B.js → client-CFOXLEE7.js} +1 -1
- package/dist/index.js +64 -39
- package/dist/{login-KKEDZS7J.js → login-KNCK5IEX.js} +2 -2
- package/dist/{settings-sync-WVIRHPCR.js → settings-sync-KO4KWXUA.js} +2 -2
- package/package.json +1 -1
|
@@ -119,6 +119,14 @@ var ApiClient = class {
|
|
|
119
119
|
method: "DELETE"
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Delete a memory by its ID directly (works for both global and project memories)
|
|
124
|
+
*/
|
|
125
|
+
async deleteMemoryById(memoryId) {
|
|
126
|
+
return this.request(`/memories/${memoryId}`, {
|
|
127
|
+
method: "DELETE"
|
|
128
|
+
});
|
|
129
|
+
}
|
|
122
130
|
async connectProjects(projectA, projectB, connectionType) {
|
|
123
131
|
return this.request("/projects/connect", {
|
|
124
132
|
method: "POST",
|
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-HIQO2DBA.js";
|
|
65
65
|
import {
|
|
66
66
|
settingsSync
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-VY7OQVQD.js";
|
|
68
68
|
import {
|
|
69
69
|
LANGUAGE_NAMES,
|
|
70
70
|
SUPPORTED_LANGUAGES,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
t,
|
|
81
81
|
tArray,
|
|
82
82
|
twoFactorService
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-7UG2ACTZ.js";
|
|
84
84
|
import {
|
|
85
85
|
colors,
|
|
86
86
|
log
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
import {
|
|
89
89
|
api,
|
|
90
90
|
enableDebug
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-KZ6JAZDU.js";
|
|
92
92
|
import {
|
|
93
93
|
CONFIG_PATH,
|
|
94
94
|
clearAuth,
|
|
@@ -325,7 +325,7 @@ async function promptLogin() {
|
|
|
325
325
|
console.log("");
|
|
326
326
|
console.log(" " + colors.cyan("\u2192") + " \xD6ffne Browser...");
|
|
327
327
|
console.log("");
|
|
328
|
-
const { loginCommand: loginCommand2 } = await import("./login-
|
|
328
|
+
const { loginCommand: loginCommand2 } = await import("./login-KNCK5IEX.js");
|
|
329
329
|
await loginCommand2.parseAsync([], { from: "user" });
|
|
330
330
|
return isAuthenticated();
|
|
331
331
|
}
|
|
@@ -6417,7 +6417,7 @@ async function checkProjectExists(path15) {
|
|
|
6417
6417
|
}
|
|
6418
6418
|
}
|
|
6419
6419
|
sessionsCommand.command("push").description("Sessions in Cloud sichern").option("-p, --project <pfad>", "Nur Sessions eines Projekts").action(async (options) => {
|
|
6420
|
-
const { api: api2 } = await import("./client-
|
|
6420
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6421
6421
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6422
6422
|
const { getProjectConfig: getProjectConfig2, getAnalyticsConfig: getAnalyticsConfig2 } = await import("./config-D6M6LI6U.js");
|
|
6423
6423
|
const { createAnalyticsService } = await import("./analytics-6WNUPA56.js");
|
|
@@ -6486,7 +6486,7 @@ sessionsCommand.command("push").description("Sessions in Cloud sichern").option(
|
|
|
6486
6486
|
}
|
|
6487
6487
|
});
|
|
6488
6488
|
sessionsCommand.command("pull").description("Sessions aus Cloud laden").option("--json", "JSON Output").action(async (options) => {
|
|
6489
|
-
const { api: api2 } = await import("./client-
|
|
6489
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6490
6490
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6491
6491
|
if (!isAuthenticated2()) {
|
|
6492
6492
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6533,7 +6533,7 @@ sessionsCommand.command("pull").description("Sessions aus Cloud laden").option("
|
|
|
6533
6533
|
}
|
|
6534
6534
|
});
|
|
6535
6535
|
sessionsCommand.command("sync").description("Sessions mit Cloud synchronisieren").option("-p, --project <pfad>", "Nur Sessions eines Projekts").action(async (options) => {
|
|
6536
|
-
const { api: api2 } = await import("./client-
|
|
6536
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6537
6537
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6538
6538
|
const { getProjectConfig: getProjectConfig2, getAnalyticsConfig: getAnalyticsConfig2 } = await import("./config-D6M6LI6U.js");
|
|
6539
6539
|
const { createAnalyticsService } = await import("./analytics-6WNUPA56.js");
|
|
@@ -6595,7 +6595,7 @@ sessionsCommand.command("sync").description("Sessions mit Cloud synchronisieren"
|
|
|
6595
6595
|
log.dim("Sessions werden automatisch mit lokalen Claude Sessions verkn\xFCpft");
|
|
6596
6596
|
});
|
|
6597
6597
|
sessionsCommand.command("delete <sessionId>").description("Session aus Cloud l\xF6schen").action(async (sessionId) => {
|
|
6598
|
-
const { api: api2 } = await import("./client-
|
|
6598
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6599
6599
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6600
6600
|
if (!isAuthenticated2()) {
|
|
6601
6601
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6614,7 +6614,7 @@ sessionsCommand.command("delete <sessionId>").description("Session aus Cloud l\x
|
|
|
6614
6614
|
}
|
|
6615
6615
|
});
|
|
6616
6616
|
sessionsCommand.command("active").description("Aktive Cloud-Sessions anzeigen").option("--json", "JSON Output").action(async (options) => {
|
|
6617
|
-
const { api: api2 } = await import("./client-
|
|
6617
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6618
6618
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6619
6619
|
if (!isAuthenticated2()) {
|
|
6620
6620
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6650,7 +6650,7 @@ sessionsCommand.command("active").description("Aktive Cloud-Sessions anzeigen").
|
|
|
6650
6650
|
}
|
|
6651
6651
|
});
|
|
6652
6652
|
sessionsCommand.command("stats").description("Cloud-Session-Statistiken anzeigen").option("--json", "JSON Output").action(async (options) => {
|
|
6653
|
-
const { api: api2 } = await import("./client-
|
|
6653
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6654
6654
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6655
6655
|
if (!isAuthenticated2()) {
|
|
6656
6656
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6681,7 +6681,7 @@ sessionsCommand.command("stats").description("Cloud-Session-Statistiken anzeigen
|
|
|
6681
6681
|
}
|
|
6682
6682
|
});
|
|
6683
6683
|
sessionsCommand.command("resume <sessionId>").description("Cloud-Session fortsetzen").action(async (sessionId) => {
|
|
6684
|
-
const { api: api2 } = await import("./client-
|
|
6684
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6685
6685
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6686
6686
|
if (!isAuthenticated2()) {
|
|
6687
6687
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6705,7 +6705,7 @@ sessionsCommand.command("resume <sessionId>").description("Cloud-Session fortset
|
|
|
6705
6705
|
}
|
|
6706
6706
|
});
|
|
6707
6707
|
sessionsCommand.command("export <sessionId>").description("Cloud-Session exportieren").option("-o, --output <file>", "Ausgabedatei").action(async (sessionId, options) => {
|
|
6708
|
-
const { api: api2 } = await import("./client-
|
|
6708
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6709
6709
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6710
6710
|
const { writeFileSync: writeFileSync13 } = await import("fs");
|
|
6711
6711
|
if (!isAuthenticated2()) {
|
|
@@ -6729,7 +6729,7 @@ sessionsCommand.command("export <sessionId>").description("Cloud-Session exporti
|
|
|
6729
6729
|
}
|
|
6730
6730
|
});
|
|
6731
6731
|
sessionsCommand.command("update <sessionId>").description("Cloud-Session aktualisieren").option("--summary <text>", "Session-Zusammenfassung").option("--branch <name>", "Git Branch").action(async (sessionId, options) => {
|
|
6732
|
-
const { api: api2 } = await import("./client-
|
|
6732
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
6733
6733
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6734
6734
|
if (!isAuthenticated2()) {
|
|
6735
6735
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -11012,12 +11012,24 @@ async function deleteMemory(projectPath, key, options = {}) {
|
|
|
11012
11012
|
}
|
|
11013
11013
|
if (!options.localOnly && isAuthenticated()) {
|
|
11014
11014
|
try {
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
const
|
|
11015
|
+
if (options.memoryId) {
|
|
11016
|
+
result.cloud = await deleteCloudMemoryById(options.memoryId);
|
|
11017
|
+
} else {
|
|
11018
|
+
const allMemories = await api.getAllMemories();
|
|
11019
|
+
const memory = allMemories.find((m) => m.title === key || m.content === key);
|
|
11019
11020
|
if (memory) {
|
|
11020
|
-
result.cloud = await
|
|
11021
|
+
result.cloud = await deleteCloudMemoryById(memory.id);
|
|
11022
|
+
} else {
|
|
11023
|
+
const projects = await api.getProjects();
|
|
11024
|
+
const project = projects.find((p) => p.path === projectPath);
|
|
11025
|
+
if (project?.memories) {
|
|
11026
|
+
const projectMemory = project.memories.find(
|
|
11027
|
+
(m) => m.key === key || m.title === key
|
|
11028
|
+
);
|
|
11029
|
+
if (projectMemory) {
|
|
11030
|
+
result.cloud = await deleteCloudMemory(project.id, projectMemory.id);
|
|
11031
|
+
}
|
|
11032
|
+
}
|
|
11021
11033
|
}
|
|
11022
11034
|
}
|
|
11023
11035
|
} catch {
|
|
@@ -11025,6 +11037,17 @@ async function deleteMemory(projectPath, key, options = {}) {
|
|
|
11025
11037
|
}
|
|
11026
11038
|
return result;
|
|
11027
11039
|
}
|
|
11040
|
+
async function deleteCloudMemoryById(memoryId) {
|
|
11041
|
+
if (!isAuthenticated()) {
|
|
11042
|
+
return false;
|
|
11043
|
+
}
|
|
11044
|
+
try {
|
|
11045
|
+
await api.deleteMemoryById(memoryId);
|
|
11046
|
+
return true;
|
|
11047
|
+
} catch {
|
|
11048
|
+
return false;
|
|
11049
|
+
}
|
|
11050
|
+
}
|
|
11028
11051
|
async function deleteAllProjectMemories(projectPath) {
|
|
11029
11052
|
const result = { local: 0, cloud: 0 };
|
|
11030
11053
|
const claudeMdPath = path7.join(projectPath, "CLAUDE.md");
|
|
@@ -11293,7 +11316,9 @@ async function handleDeleteBySearch(query, projectPath, options) {
|
|
|
11293
11316
|
try {
|
|
11294
11317
|
const deleteResult = await deleteMemory(memory.projectPath, memory.key, {
|
|
11295
11318
|
localOnly: options.localOnly,
|
|
11296
|
-
cloudOnly: options.cloudOnly
|
|
11319
|
+
cloudOnly: options.cloudOnly,
|
|
11320
|
+
memoryId: memory.memoryId
|
|
11321
|
+
// Pass the memory ID for direct deletion
|
|
11297
11322
|
});
|
|
11298
11323
|
if (deleteResult.local || deleteResult.cloud) {
|
|
11299
11324
|
deleted++;
|
|
@@ -11815,7 +11840,7 @@ async function resolveSessionId(input) {
|
|
|
11815
11840
|
return null;
|
|
11816
11841
|
}
|
|
11817
11842
|
tagsCommand.command("cloud").description("Memory-Tags aus Cloud laden").option("--json", "JSON Output").action(async (options) => {
|
|
11818
|
-
const { api: api2 } = await import("./client-
|
|
11843
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
11819
11844
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
11820
11845
|
if (!isAuthenticated2()) {
|
|
11821
11846
|
log.error("Nicht angemeldet");
|
|
@@ -13821,7 +13846,7 @@ function formatNumber(n) {
|
|
|
13821
13846
|
return String(n);
|
|
13822
13847
|
}
|
|
13823
13848
|
statsCommand.command("sessions").description("Session Analytics (Pro Feature)").option("--json", "JSON Output").action(async (options) => {
|
|
13824
|
-
const { api: api2 } = await import("./client-
|
|
13849
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
13825
13850
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13826
13851
|
if (!isAuthenticated2()) {
|
|
13827
13852
|
log.error("Nicht angemeldet");
|
|
@@ -13873,7 +13898,7 @@ statsCommand.command("sessions").description("Session Analytics (Pro Feature)").
|
|
|
13873
13898
|
}
|
|
13874
13899
|
});
|
|
13875
13900
|
statsCommand.command("tokens").description("Token Usage Analytics (Pro Feature)").option("--json", "JSON Output").action(async (options) => {
|
|
13876
|
-
const { api: api2 } = await import("./client-
|
|
13901
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
13877
13902
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13878
13903
|
if (!isAuthenticated2()) {
|
|
13879
13904
|
log.error("Nicht angemeldet");
|
|
@@ -13921,7 +13946,7 @@ statsCommand.command("tokens").description("Token Usage Analytics (Pro Feature)"
|
|
|
13921
13946
|
}
|
|
13922
13947
|
});
|
|
13923
13948
|
statsCommand.command("tools").description("Tool Usage Analytics (Pro Feature)").option("--json", "JSON Output").action(async (options) => {
|
|
13924
|
-
const { api: api2 } = await import("./client-
|
|
13949
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
13925
13950
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13926
13951
|
if (!isAuthenticated2()) {
|
|
13927
13952
|
log.error("Nicht angemeldet");
|
|
@@ -13965,7 +13990,7 @@ statsCommand.command("tools").description("Tool Usage Analytics (Pro Feature)").
|
|
|
13965
13990
|
}
|
|
13966
13991
|
});
|
|
13967
13992
|
statsCommand.command("export").description("Analytics-Daten exportieren (Pro Feature)").option("--start <date>", "Start-Datum (YYYY-MM-DD)").option("--end <date>", "End-Datum (YYYY-MM-DD)").option("--format <format>", "Format: json, csv", "json").option("-o, --output <file>", "Ausgabedatei").action(async (options) => {
|
|
13968
|
-
const { api: api2 } = await import("./client-
|
|
13993
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
13969
13994
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13970
13995
|
const { writeFileSync: writeFileSync13 } = await import("fs");
|
|
13971
13996
|
if (!isAuthenticated2()) {
|
|
@@ -14000,7 +14025,7 @@ statsCommand.command("export").description("Analytics-Daten exportieren (Pro Fea
|
|
|
14000
14025
|
}
|
|
14001
14026
|
});
|
|
14002
14027
|
statsCommand.command("track").description("Analytics Event tracken").argument("<type>", "Event-Typ").argument("[data]", "Event-Daten als JSON").action(async (type2, data) => {
|
|
14003
|
-
const { api: api2 } = await import("./client-
|
|
14028
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
14004
14029
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
14005
14030
|
if (!isAuthenticated2()) {
|
|
14006
14031
|
log.error("Nicht angemeldet");
|
|
@@ -15980,7 +16005,7 @@ hookCommand.command("scan-command").description("Scanne Bash-Befehle auf Package
|
|
|
15980
16005
|
}
|
|
15981
16006
|
});
|
|
15982
16007
|
hookCommand.command("push").description("Hooks in Cloud sichern").action(async () => {
|
|
15983
|
-
const { api: api2 } = await import("./client-
|
|
16008
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
15984
16009
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15985
16010
|
if (!isAuthenticated2()) {
|
|
15986
16011
|
log.error("Nicht angemeldet");
|
|
@@ -16000,7 +16025,7 @@ hookCommand.command("push").description("Hooks in Cloud sichern").action(async (
|
|
|
16000
16025
|
}
|
|
16001
16026
|
});
|
|
16002
16027
|
hookCommand.command("pull").description("Hooks aus Cloud laden").option("-f, --force", "Lokale Hooks \xFCberschreiben").action(async (options) => {
|
|
16003
|
-
const { api: api2 } = await import("./client-
|
|
16028
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16004
16029
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16005
16030
|
if (!isAuthenticated2()) {
|
|
16006
16031
|
log.error("Nicht angemeldet");
|
|
@@ -16032,7 +16057,7 @@ hookCommand.command("pull").description("Hooks aus Cloud laden").option("-f, --f
|
|
|
16032
16057
|
}
|
|
16033
16058
|
});
|
|
16034
16059
|
hookCommand.command("sync").description("Hooks mit Cloud synchronisieren").action(async () => {
|
|
16035
|
-
const { api: api2 } = await import("./client-
|
|
16060
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16036
16061
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16037
16062
|
if (!isAuthenticated2()) {
|
|
16038
16063
|
log.error("Nicht angemeldet");
|
|
@@ -16059,7 +16084,7 @@ hookCommand.command("sync").description("Hooks mit Cloud synchronisieren").actio
|
|
|
16059
16084
|
}
|
|
16060
16085
|
});
|
|
16061
16086
|
hookCommand.command("cloud-list").description("Cloud-Hooks auflisten").option("--event <type>", "Nach Event-Typ filtern").option("--json", "JSON Output").action(async (options) => {
|
|
16062
|
-
const { api: api2 } = await import("./client-
|
|
16087
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16063
16088
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16064
16089
|
const { colors: colors3 } = await import("./logger-G6MRCCCU.js");
|
|
16065
16090
|
if (!isAuthenticated2()) {
|
|
@@ -16108,7 +16133,7 @@ hookCommand.command("cloud-list").description("Cloud-Hooks auflisten").option("-
|
|
|
16108
16133
|
}
|
|
16109
16134
|
});
|
|
16110
16135
|
hookCommand.command("cloud-create").description("Neuen Cloud-Hook erstellen").requiredOption("--event <event>", "Event-Typ (PreToolUse, PostToolUse, etc.)").requiredOption("--command <cmd>", "Auszuf\xFChrender Befehl").option("--matcher <pattern>", "Tool-Matcher Pattern").option("--type <type>", "Hook-Typ (command, script)", "command").option("--timeout <ms>", "Timeout in Millisekunden").action(async (options) => {
|
|
16111
|
-
const { api: api2 } = await import("./client-
|
|
16136
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16112
16137
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16113
16138
|
if (!isAuthenticated2()) {
|
|
16114
16139
|
log.error("Nicht angemeldet");
|
|
@@ -16136,7 +16161,7 @@ hookCommand.command("cloud-create").description("Neuen Cloud-Hook erstellen").re
|
|
|
16136
16161
|
}
|
|
16137
16162
|
});
|
|
16138
16163
|
hookCommand.command("cloud-test").description("Cloud-Hook testen").argument("<hook-id>", "Hook ID").action(async (hookId) => {
|
|
16139
|
-
const { api: api2 } = await import("./client-
|
|
16164
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16140
16165
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16141
16166
|
const { colors: colors3 } = await import("./logger-G6MRCCCU.js");
|
|
16142
16167
|
if (!isAuthenticated2()) {
|
|
@@ -16171,7 +16196,7 @@ hookCommand.command("cloud-test").description("Cloud-Hook testen").argument("<ho
|
|
|
16171
16196
|
}
|
|
16172
16197
|
});
|
|
16173
16198
|
hookCommand.command("cloud-delete").description("Cloud-Hook l\xF6schen").argument("<hook-id>", "Hook ID").option("-y, --yes", "Ohne Best\xE4tigung").action(async (hookId, options) => {
|
|
16174
|
-
const { api: api2 } = await import("./client-
|
|
16199
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16175
16200
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16176
16201
|
if (!isAuthenticated2()) {
|
|
16177
16202
|
log.error("Nicht angemeldet");
|
|
@@ -16206,7 +16231,7 @@ hookCommand.command("cloud-delete").description("Cloud-Hook l\xF6schen").argumen
|
|
|
16206
16231
|
}
|
|
16207
16232
|
});
|
|
16208
16233
|
hookCommand.command("cloud-toggle").description("Cloud-Hook aktivieren/deaktivieren").argument("<hook-id>", "Hook ID").option("--enable", "Hook aktivieren").option("--disable", "Hook deaktivieren").action(async (hookId, options) => {
|
|
16209
|
-
const { api: api2 } = await import("./client-
|
|
16234
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16210
16235
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16211
16236
|
if (!isAuthenticated2()) {
|
|
16212
16237
|
log.error("Nicht angemeldet");
|
|
@@ -16234,7 +16259,7 @@ hookCommand.command("cloud-toggle").description("Cloud-Hook aktivieren/deaktivie
|
|
|
16234
16259
|
});
|
|
16235
16260
|
hookCommand.command("scan-session").description("Session nach sensiblen Tokens scannen (f\xFCr Stop Hook)").option("--quiet", "Keine Ausgabe (f\xFCr Hook)").option("--redact", "Tokens in Session-History maskieren").option("--path <path>", "Session-Datei Pfad").action(async (options) => {
|
|
16236
16261
|
const { detectTokens: detectTokens2, redactTokens, maskToken: maskToken2 } = await import("./token-detection-K6KCIWAU.js");
|
|
16237
|
-
const { api: api2 } = await import("./client-
|
|
16262
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16238
16263
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16239
16264
|
const { existsSync: existsSync27, readFileSync: readFileSync15, writeFileSync: writeFileSync13, readdirSync: readdirSync7, statSync: statSync8 } = await import("fs");
|
|
16240
16265
|
const { join: join17 } = await import("path");
|
|
@@ -16499,7 +16524,7 @@ packageCommand.command("start <name>").description("Alle Projekte eines Packages
|
|
|
16499
16524
|
}
|
|
16500
16525
|
});
|
|
16501
16526
|
packageCommand.command("push").description("Packages in Cloud sichern").option("-n, --name <name>", "Nur ein bestimmtes Package").action(async (options) => {
|
|
16502
|
-
const { api: api2 } = await import("./client-
|
|
16527
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16503
16528
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16504
16529
|
if (!isAuthenticated2()) {
|
|
16505
16530
|
log.error("Nicht angemeldet");
|
|
@@ -16545,7 +16570,7 @@ packageCommand.command("push").description("Packages in Cloud sichern").option("
|
|
|
16545
16570
|
}
|
|
16546
16571
|
});
|
|
16547
16572
|
packageCommand.command("pull").description("Packages aus Cloud laden").option("-f, --force", "Lokale Packages \xFCberschreiben").option("--json", "JSON Output").action(async (options) => {
|
|
16548
|
-
const { api: api2 } = await import("./client-
|
|
16573
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16549
16574
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16550
16575
|
if (!isAuthenticated2()) {
|
|
16551
16576
|
log.error("Nicht angemeldet");
|
|
@@ -16607,7 +16632,7 @@ packageCommand.command("pull").description("Packages aus Cloud laden").option("-
|
|
|
16607
16632
|
}
|
|
16608
16633
|
});
|
|
16609
16634
|
packageCommand.command("sync").description("Packages mit Cloud synchronisieren").action(async () => {
|
|
16610
|
-
const { api: api2 } = await import("./client-
|
|
16635
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16611
16636
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16612
16637
|
if (!isAuthenticated2()) {
|
|
16613
16638
|
log.error("Nicht angemeldet");
|
|
@@ -16660,7 +16685,7 @@ packageCommand.command("sync").description("Packages mit Cloud synchronisieren")
|
|
|
16660
16685
|
log.tree.item(`${localPackages.length + pulledCount} Packages total`);
|
|
16661
16686
|
});
|
|
16662
16687
|
packageCommand.command("cloud-delete <name>").description("Package aus Cloud l\xF6schen").action(async (name) => {
|
|
16663
|
-
const { api: api2 } = await import("./client-
|
|
16688
|
+
const { api: api2 } = await import("./client-CFOXLEE7.js");
|
|
16664
16689
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16665
16690
|
if (!isAuthenticated2()) {
|
|
16666
16691
|
log.error("Nicht angemeldet");
|
|
@@ -17471,7 +17496,7 @@ program.on("command:*", (operands) => {
|
|
|
17471
17496
|
});
|
|
17472
17497
|
migrateConfig();
|
|
17473
17498
|
try {
|
|
17474
|
-
const { settingsSync: settingsSync2 } = await import("./settings-sync-
|
|
17499
|
+
const { settingsSync: settingsSync2 } = await import("./settings-sync-KO4KWXUA.js");
|
|
17475
17500
|
const settings = settingsSync2.getLocalSettings();
|
|
17476
17501
|
initializeLanguage(settings.language);
|
|
17477
17502
|
} catch {
|