shiva-code 0.8.17 → 0.8.18
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-U3HK6P2V.js → chunk-DG46WHXO.js} +1 -1
- package/dist/{chunk-KZ6JAZDU.js → chunk-GFERWNYV.js} +4 -2
- package/dist/{chunk-VY7OQVQD.js → chunk-SJO5RI7H.js} +1 -1
- package/dist/{client-CFOXLEE7.js → client-KM2D74FI.js} +1 -1
- package/dist/index.js +33 -33
- package/dist/{login-D2YQ37TG.js → login-ZDS66QHS.js} +2 -2
- package/dist/{settings-sync-KO4KWXUA.js → settings-sync-EDYSUTJS.js} +2 -2
- package/package.json +1 -1
|
@@ -86,7 +86,8 @@ var ApiClient = class {
|
|
|
86
86
|
}
|
|
87
87
|
// Project endpoints
|
|
88
88
|
async getProjects() {
|
|
89
|
-
|
|
89
|
+
const response = await this.request("/projects");
|
|
90
|
+
return response.projects || [];
|
|
90
91
|
}
|
|
91
92
|
async getProject(id) {
|
|
92
93
|
return this.request(`/projects/${id}`);
|
|
@@ -361,7 +362,8 @@ var ApiClient = class {
|
|
|
361
362
|
* Get all packages from cloud
|
|
362
363
|
*/
|
|
363
364
|
async getPackages() {
|
|
364
|
-
|
|
365
|
+
const response = await this.request("/packages");
|
|
366
|
+
return response.packages || [];
|
|
365
367
|
}
|
|
366
368
|
/**
|
|
367
369
|
* Sync a package to cloud
|
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-SJO5RI7H.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-DG46WHXO.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-GFERWNYV.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-ZDS66QHS.js");
|
|
329
329
|
await loginCommand2.parseAsync([], { from: "user" });
|
|
330
330
|
return isAuthenticated();
|
|
331
331
|
}
|
|
@@ -6479,7 +6479,7 @@ async function checkProjectExists(path15) {
|
|
|
6479
6479
|
}
|
|
6480
6480
|
}
|
|
6481
6481
|
sessionsCommand.command("push").description("Sessions in Cloud sichern").option("-p, --project <pfad>", "Nur Sessions eines Projekts").action(async (options) => {
|
|
6482
|
-
const { api: api2 } = await import("./client-
|
|
6482
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6483
6483
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6484
6484
|
const { getProjectConfig: getProjectConfig2, getAnalyticsConfig: getAnalyticsConfig2 } = await import("./config-D6M6LI6U.js");
|
|
6485
6485
|
const { createAnalyticsService } = await import("./analytics-7GPP4MT4.js");
|
|
@@ -6548,7 +6548,7 @@ sessionsCommand.command("push").description("Sessions in Cloud sichern").option(
|
|
|
6548
6548
|
}
|
|
6549
6549
|
});
|
|
6550
6550
|
sessionsCommand.command("pull").description("Sessions aus Cloud laden").option("--json", "JSON Output").action(async (options) => {
|
|
6551
|
-
const { api: api2 } = await import("./client-
|
|
6551
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6552
6552
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6553
6553
|
if (!isAuthenticated2()) {
|
|
6554
6554
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6595,7 +6595,7 @@ sessionsCommand.command("pull").description("Sessions aus Cloud laden").option("
|
|
|
6595
6595
|
}
|
|
6596
6596
|
});
|
|
6597
6597
|
sessionsCommand.command("sync").description("Sessions mit Cloud synchronisieren").option("-p, --project <pfad>", "Nur Sessions eines Projekts").action(async (options) => {
|
|
6598
|
-
const { api: api2 } = await import("./client-
|
|
6598
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6599
6599
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6600
6600
|
const { getProjectConfig: getProjectConfig2, getAnalyticsConfig: getAnalyticsConfig2 } = await import("./config-D6M6LI6U.js");
|
|
6601
6601
|
const { createAnalyticsService } = await import("./analytics-7GPP4MT4.js");
|
|
@@ -6657,7 +6657,7 @@ sessionsCommand.command("sync").description("Sessions mit Cloud synchronisieren"
|
|
|
6657
6657
|
log.dim("Sessions werden automatisch mit lokalen Claude Sessions verkn\xFCpft");
|
|
6658
6658
|
});
|
|
6659
6659
|
sessionsCommand.command("delete <sessionId>").description("Session aus Cloud l\xF6schen").action(async (sessionId) => {
|
|
6660
|
-
const { api: api2 } = await import("./client-
|
|
6660
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6661
6661
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6662
6662
|
if (!isAuthenticated2()) {
|
|
6663
6663
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6676,7 +6676,7 @@ sessionsCommand.command("delete <sessionId>").description("Session aus Cloud l\x
|
|
|
6676
6676
|
}
|
|
6677
6677
|
});
|
|
6678
6678
|
sessionsCommand.command("active").description("Aktive Cloud-Sessions anzeigen").option("--json", "JSON Output").action(async (options) => {
|
|
6679
|
-
const { api: api2 } = await import("./client-
|
|
6679
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6680
6680
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6681
6681
|
if (!isAuthenticated2()) {
|
|
6682
6682
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6712,7 +6712,7 @@ sessionsCommand.command("active").description("Aktive Cloud-Sessions anzeigen").
|
|
|
6712
6712
|
}
|
|
6713
6713
|
});
|
|
6714
6714
|
sessionsCommand.command("stats").description("Cloud-Session-Statistiken anzeigen").option("--json", "JSON Output").action(async (options) => {
|
|
6715
|
-
const { api: api2 } = await import("./client-
|
|
6715
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6716
6716
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6717
6717
|
if (!isAuthenticated2()) {
|
|
6718
6718
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6743,7 +6743,7 @@ sessionsCommand.command("stats").description("Cloud-Session-Statistiken anzeigen
|
|
|
6743
6743
|
}
|
|
6744
6744
|
});
|
|
6745
6745
|
sessionsCommand.command("resume <sessionId>").description("Cloud-Session fortsetzen").action(async (sessionId) => {
|
|
6746
|
-
const { api: api2 } = await import("./client-
|
|
6746
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6747
6747
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6748
6748
|
if (!isAuthenticated2()) {
|
|
6749
6749
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -6767,7 +6767,7 @@ sessionsCommand.command("resume <sessionId>").description("Cloud-Session fortset
|
|
|
6767
6767
|
}
|
|
6768
6768
|
});
|
|
6769
6769
|
sessionsCommand.command("export <sessionId>").description("Cloud-Session exportieren").option("-o, --output <file>", "Ausgabedatei").action(async (sessionId, options) => {
|
|
6770
|
-
const { api: api2 } = await import("./client-
|
|
6770
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6771
6771
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6772
6772
|
const { writeFileSync: writeFileSync13 } = await import("fs");
|
|
6773
6773
|
if (!isAuthenticated2()) {
|
|
@@ -6791,7 +6791,7 @@ sessionsCommand.command("export <sessionId>").description("Cloud-Session exporti
|
|
|
6791
6791
|
}
|
|
6792
6792
|
});
|
|
6793
6793
|
sessionsCommand.command("update <sessionId>").description("Cloud-Session aktualisieren").option("--summary <text>", "Session-Zusammenfassung").option("--branch <name>", "Git Branch").action(async (sessionId, options) => {
|
|
6794
|
-
const { api: api2 } = await import("./client-
|
|
6794
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
6795
6795
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6796
6796
|
if (!isAuthenticated2()) {
|
|
6797
6797
|
log.errorWithSuggestion(Errors.NOT_AUTHENTICATED());
|
|
@@ -11881,7 +11881,7 @@ async function resolveSessionId(input) {
|
|
|
11881
11881
|
return null;
|
|
11882
11882
|
}
|
|
11883
11883
|
tagsCommand.command("cloud").description(t("commands.tags.cloudDesc")).option("--json", t("commands.search.jsonOption")).action(async (options) => {
|
|
11884
|
-
const { api: api2 } = await import("./client-
|
|
11884
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
11885
11885
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
11886
11886
|
if (!isAuthenticated2()) {
|
|
11887
11887
|
log.error(t("auth.notLoggedIn"));
|
|
@@ -13887,7 +13887,7 @@ function formatNumber(n) {
|
|
|
13887
13887
|
return String(n);
|
|
13888
13888
|
}
|
|
13889
13889
|
statsCommand.command("sessions").description(t("commands.stats.sessions.description")).option("--json", t("common.jsonOutput")).action(async (options) => {
|
|
13890
|
-
const { api: api2 } = await import("./client-
|
|
13890
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
13891
13891
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13892
13892
|
if (!isAuthenticated2()) {
|
|
13893
13893
|
log.error(t("auth.notLoggedIn"));
|
|
@@ -13949,7 +13949,7 @@ statsCommand.command("sessions").description(t("commands.stats.sessions.descript
|
|
|
13949
13949
|
}
|
|
13950
13950
|
});
|
|
13951
13951
|
statsCommand.command("tokens").description(t("commands.stats.tokens.description")).option("--json", t("common.jsonOutput")).action(async (options) => {
|
|
13952
|
-
const { api: api2 } = await import("./client-
|
|
13952
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
13953
13953
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13954
13954
|
if (!isAuthenticated2()) {
|
|
13955
13955
|
log.error(t("auth.notLoggedIn"));
|
|
@@ -14006,7 +14006,7 @@ statsCommand.command("tokens").description(t("commands.stats.tokens.description"
|
|
|
14006
14006
|
}
|
|
14007
14007
|
});
|
|
14008
14008
|
statsCommand.command("tools").description(t("commands.stats.tools.description")).option("--json", t("common.jsonOutput")).action(async (options) => {
|
|
14009
|
-
const { api: api2 } = await import("./client-
|
|
14009
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
14010
14010
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
14011
14011
|
if (!isAuthenticated2()) {
|
|
14012
14012
|
log.error(t("auth.notLoggedIn"));
|
|
@@ -14060,7 +14060,7 @@ statsCommand.command("tools").description(t("commands.stats.tools.description"))
|
|
|
14060
14060
|
}
|
|
14061
14061
|
});
|
|
14062
14062
|
statsCommand.command("export").description(t("commands.stats.export.description")).option("--start <date>", t("commands.stats.export.startDateOption")).option("--end <date>", t("commands.stats.export.endDateOption")).option("--format <format>", t("commands.stats.export.formatOption"), "json").option("-o, --output <file>", t("commands.stats.export.outputOption")).action(async (options) => {
|
|
14063
|
-
const { api: api2 } = await import("./client-
|
|
14063
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
14064
14064
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
14065
14065
|
const { writeFileSync: writeFileSync13 } = await import("fs");
|
|
14066
14066
|
if (!isAuthenticated2()) {
|
|
@@ -14095,7 +14095,7 @@ statsCommand.command("export").description(t("commands.stats.export.description"
|
|
|
14095
14095
|
}
|
|
14096
14096
|
});
|
|
14097
14097
|
statsCommand.command("track").description(t("commands.stats.track.description")).argument("<type>", t("commands.stats.track.typeArg")).argument("[data]", t("commands.stats.track.dataArg")).action(async (type2, data) => {
|
|
14098
|
-
const { api: api2 } = await import("./client-
|
|
14098
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
14099
14099
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
14100
14100
|
if (!isAuthenticated2()) {
|
|
14101
14101
|
log.error(t("auth.notLoggedIn"));
|
|
@@ -16037,7 +16037,7 @@ workflowCommand.command("start <name>").description(t("commands.workflow.start.d
|
|
|
16037
16037
|
}
|
|
16038
16038
|
});
|
|
16039
16039
|
workflowCommand.command("push").description(t("commands.workflow.push.description")).option("-n, --name <name>", t("commands.workflow.push.nameOption")).action(async (options) => {
|
|
16040
|
-
const { api: api2 } = await import("./client-
|
|
16040
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16041
16041
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16042
16042
|
if (!isAuthenticated2()) {
|
|
16043
16043
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16083,7 +16083,7 @@ workflowCommand.command("push").description(t("commands.workflow.push.descriptio
|
|
|
16083
16083
|
}
|
|
16084
16084
|
});
|
|
16085
16085
|
workflowCommand.command("pull").description(t("commands.workflow.pull.description")).option("-f, --force", t("commands.workflow.pull.forceOption")).option("--json", t("commands.workflow.pull.jsonOption")).action(async (options) => {
|
|
16086
|
-
const { api: api2 } = await import("./client-
|
|
16086
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16087
16087
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16088
16088
|
if (!isAuthenticated2()) {
|
|
16089
16089
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16145,7 +16145,7 @@ workflowCommand.command("pull").description(t("commands.workflow.pull.descriptio
|
|
|
16145
16145
|
}
|
|
16146
16146
|
});
|
|
16147
16147
|
workflowCommand.command("sync").description(t("commands.workflow.sync.description")).action(async () => {
|
|
16148
|
-
const { api: api2 } = await import("./client-
|
|
16148
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16149
16149
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16150
16150
|
if (!isAuthenticated2()) {
|
|
16151
16151
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16198,7 +16198,7 @@ workflowCommand.command("sync").description(t("commands.workflow.sync.descriptio
|
|
|
16198
16198
|
log.tree.item(t("commands.workflow.sync.total", { count: localWorkflows.length + pulledCount }));
|
|
16199
16199
|
});
|
|
16200
16200
|
workflowCommand.command("cloud-delete <name>").description(t("commands.workflow.cloudDelete.description")).action(async (name) => {
|
|
16201
|
-
const { api: api2 } = await import("./client-
|
|
16201
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16202
16202
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16203
16203
|
if (!isAuthenticated2()) {
|
|
16204
16204
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16660,7 +16660,7 @@ hookCommand.command("scan-command").description(t("commands.hook.scanCommand.des
|
|
|
16660
16660
|
}
|
|
16661
16661
|
});
|
|
16662
16662
|
hookCommand.command("push").description(t("commands.hook.push.description")).action(async () => {
|
|
16663
|
-
const { api: api2 } = await import("./client-
|
|
16663
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16664
16664
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16665
16665
|
if (!isAuthenticated2()) {
|
|
16666
16666
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16680,7 +16680,7 @@ hookCommand.command("push").description(t("commands.hook.push.description")).act
|
|
|
16680
16680
|
}
|
|
16681
16681
|
});
|
|
16682
16682
|
hookCommand.command("pull").description(t("commands.hook.pull.description")).option("-f, --force", t("commands.hook.pull.forceOption")).action(async (options) => {
|
|
16683
|
-
const { api: api2 } = await import("./client-
|
|
16683
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16684
16684
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16685
16685
|
if (!isAuthenticated2()) {
|
|
16686
16686
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16712,7 +16712,7 @@ hookCommand.command("pull").description(t("commands.hook.pull.description")).opt
|
|
|
16712
16712
|
}
|
|
16713
16713
|
});
|
|
16714
16714
|
hookCommand.command("sync").description(t("commands.hook.sync.description")).action(async () => {
|
|
16715
|
-
const { api: api2 } = await import("./client-
|
|
16715
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16716
16716
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16717
16717
|
if (!isAuthenticated2()) {
|
|
16718
16718
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16739,7 +16739,7 @@ hookCommand.command("sync").description(t("commands.hook.sync.description")).act
|
|
|
16739
16739
|
}
|
|
16740
16740
|
});
|
|
16741
16741
|
hookCommand.command("cloud-list").description(t("commands.hook.cloudList.description")).option("--event <type>", t("commands.hook.cloudList.eventOption")).option("--json", t("commands.hook.cloudList.jsonOption")).action(async (options) => {
|
|
16742
|
-
const { api: api2 } = await import("./client-
|
|
16742
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16743
16743
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16744
16744
|
const { colors: colors3 } = await import("./logger-G2GKR3YK.js");
|
|
16745
16745
|
if (!isAuthenticated2()) {
|
|
@@ -16788,7 +16788,7 @@ hookCommand.command("cloud-list").description(t("commands.hook.cloudList.descrip
|
|
|
16788
16788
|
}
|
|
16789
16789
|
});
|
|
16790
16790
|
hookCommand.command("cloud-create").description(t("commands.hook.cloudCreate.description")).requiredOption("--event <event>", t("commands.hook.cloudCreate.eventOption")).requiredOption("--command <cmd>", t("commands.hook.cloudCreate.commandOption")).option("--matcher <pattern>", t("commands.hook.cloudCreate.matcherOption")).option("--type <type>", t("commands.hook.cloudCreate.typeOption"), "command").option("--timeout <ms>", t("commands.hook.cloudCreate.timeoutOption")).action(async (options) => {
|
|
16791
|
-
const { api: api2 } = await import("./client-
|
|
16791
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16792
16792
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16793
16793
|
if (!isAuthenticated2()) {
|
|
16794
16794
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16816,7 +16816,7 @@ hookCommand.command("cloud-create").description(t("commands.hook.cloudCreate.des
|
|
|
16816
16816
|
}
|
|
16817
16817
|
});
|
|
16818
16818
|
hookCommand.command("cloud-test").description(t("commands.hook.cloudTest.description")).argument("<hook-id>", t("commands.hook.cloudTest.hookIdArg")).action(async (hookId) => {
|
|
16819
|
-
const { api: api2 } = await import("./client-
|
|
16819
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16820
16820
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16821
16821
|
const { colors: colors3 } = await import("./logger-G2GKR3YK.js");
|
|
16822
16822
|
if (!isAuthenticated2()) {
|
|
@@ -16851,7 +16851,7 @@ hookCommand.command("cloud-test").description(t("commands.hook.cloudTest.descrip
|
|
|
16851
16851
|
}
|
|
16852
16852
|
});
|
|
16853
16853
|
hookCommand.command("cloud-delete").description(t("commands.hook.cloudDelete.description")).argument("<hook-id>", t("commands.hook.cloudDelete.hookIdArg")).option("-y, --yes", t("commands.hook.cloudDelete.yesOption")).action(async (hookId, options) => {
|
|
16854
|
-
const { api: api2 } = await import("./client-
|
|
16854
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16855
16855
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16856
16856
|
if (!isAuthenticated2()) {
|
|
16857
16857
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16886,7 +16886,7 @@ hookCommand.command("cloud-delete").description(t("commands.hook.cloudDelete.des
|
|
|
16886
16886
|
}
|
|
16887
16887
|
});
|
|
16888
16888
|
hookCommand.command("cloud-toggle").description(t("commands.hook.cloudToggle.description")).argument("<hook-id>", t("commands.hook.cloudToggle.hookIdArg")).option("--enable", t("commands.hook.cloudToggle.enableOption")).option("--disable", t("commands.hook.cloudToggle.disableOption")).action(async (hookId, options) => {
|
|
16889
|
-
const { api: api2 } = await import("./client-
|
|
16889
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16890
16890
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16891
16891
|
if (!isAuthenticated2()) {
|
|
16892
16892
|
log.error(t("common.notLoggedIn"));
|
|
@@ -16914,7 +16914,7 @@ hookCommand.command("cloud-toggle").description(t("commands.hook.cloudToggle.des
|
|
|
16914
16914
|
});
|
|
16915
16915
|
hookCommand.command("scan-session").description(t("commands.hook.scanSession.description")).option("--quiet", t("commands.hook.scanSession.quietOption")).option("--redact", t("commands.hook.scanSession.redactOption")).option("--path <path>", t("commands.hook.scanSession.pathOption")).action(async (options) => {
|
|
16916
16916
|
const { detectTokens: detectTokens2, redactTokens, maskToken: maskToken2 } = await import("./token-detection-K6KCIWAU.js");
|
|
16917
|
-
const { api: api2 } = await import("./client-
|
|
16917
|
+
const { api: api2 } = await import("./client-KM2D74FI.js");
|
|
16918
16918
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
16919
16919
|
const { existsSync: existsSync27, readFileSync: readFileSync15, writeFileSync: writeFileSync13, readdirSync: readdirSync7, statSync: statSync8 } = await import("fs");
|
|
16920
16920
|
const { join: join17 } = await import("path");
|
|
@@ -17855,7 +17855,7 @@ program.on("command:*", (operands) => {
|
|
|
17855
17855
|
});
|
|
17856
17856
|
migrateConfig();
|
|
17857
17857
|
try {
|
|
17858
|
-
const { settingsSync: settingsSync2 } = await import("./settings-sync-
|
|
17858
|
+
const { settingsSync: settingsSync2 } = await import("./settings-sync-EDYSUTJS.js");
|
|
17859
17859
|
const settings = settingsSync2.getLocalSettings();
|
|
17860
17860
|
initializeLanguage(settings.language);
|
|
17861
17861
|
} catch {
|