shiva-code 0.8.19 → 0.8.20

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.
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-IKIAW3IT.js";
5
5
  import {
6
6
  api
7
- } from "./chunk-GFERWNYV.js";
7
+ } from "./chunk-FSHFBINT.js";
8
8
  import {
9
9
  clearAuth,
10
10
  getConfig,
@@ -842,6 +842,105 @@ var ApiClient = class {
842
842
  const queryString = queryParams.toString() ? `?${queryParams.toString()}` : "";
843
843
  return this.request(`/analytics/export${queryString}`);
844
844
  }
845
+ // ============================================
846
+ // Package Security Scan Endpoints
847
+ // ============================================
848
+ /**
849
+ * Scan a single package
850
+ */
851
+ async scanPackage(packageName, manager = "npm") {
852
+ return this.request(`/scan/${encodeURIComponent(packageName)}?manager=${manager}`);
853
+ }
854
+ /**
855
+ * Scan multiple packages (max 20)
856
+ */
857
+ async scanPackages(data) {
858
+ return this.request("/scan", {
859
+ method: "POST",
860
+ body: JSON.stringify(data)
861
+ });
862
+ }
863
+ /**
864
+ * Get scan history
865
+ */
866
+ async getScanHistory() {
867
+ return this.request("/scan/history");
868
+ }
869
+ /**
870
+ * Clear scan history
871
+ */
872
+ async clearScanHistory() {
873
+ return this.request("/scan/history", {
874
+ method: "DELETE"
875
+ });
876
+ }
877
+ /**
878
+ * Get scans for a project
879
+ */
880
+ async getProjectScans(projectId) {
881
+ return this.request(`/scan/project/${projectId}`);
882
+ }
883
+ /**
884
+ * Get scan blocklist
885
+ */
886
+ async getScanBlocklist() {
887
+ return this.request("/scan/blocklist");
888
+ }
889
+ /**
890
+ * Add package to blocklist
891
+ */
892
+ async addToScanBlocklist(data) {
893
+ return this.request("/scan/blocklist", {
894
+ method: "POST",
895
+ body: JSON.stringify(data)
896
+ });
897
+ }
898
+ /**
899
+ * Remove package from blocklist
900
+ */
901
+ async removeFromScanBlocklist(id) {
902
+ return this.request(`/scan/blocklist/${id}`, {
903
+ method: "DELETE"
904
+ });
905
+ }
906
+ /**
907
+ * Get scan allowlist
908
+ */
909
+ async getScanAllowlist() {
910
+ return this.request("/scan/allowlist");
911
+ }
912
+ /**
913
+ * Add package to allowlist
914
+ */
915
+ async addToScanAllowlist(data) {
916
+ return this.request("/scan/allowlist", {
917
+ method: "POST",
918
+ body: JSON.stringify(data)
919
+ });
920
+ }
921
+ /**
922
+ * Remove package from allowlist
923
+ */
924
+ async removeFromScanAllowlist(id) {
925
+ return this.request(`/scan/allowlist/${id}`, {
926
+ method: "DELETE"
927
+ });
928
+ }
929
+ /**
930
+ * Get scan configuration
931
+ */
932
+ async getScanConfig() {
933
+ return this.request("/scan/config");
934
+ }
935
+ /**
936
+ * Update scan configuration
937
+ */
938
+ async updateScanConfig(config) {
939
+ return this.request("/scan/config", {
940
+ method: "PUT",
941
+ body: JSON.stringify(config)
942
+ });
943
+ }
845
944
  };
846
945
  var api = new ApiClient();
847
946
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  api
3
- } from "./chunk-GFERWNYV.js";
3
+ } from "./chunk-FSHFBINT.js";
4
4
  import {
5
5
  getExtendedConfig,
6
6
  setClaudeArgs,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  api
3
- } from "./chunk-GFERWNYV.js";
3
+ } from "./chunk-FSHFBINT.js";
4
4
  import "./chunk-OP4HYQZZ.js";
5
5
  import "./chunk-3RG5ZIWI.js";
6
6
  export {
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-SJO5RI7H.js";
67
+ } from "./chunk-FWC7JRKP.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-EHED4N6M.js";
83
+ } from "./chunk-COPMNPUO.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-GFERWNYV.js";
91
+ } from "./chunk-FSHFBINT.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-T7CFS3S7.js");
328
+ const { loginCommand: loginCommand2 } = await import("./login-4VBEZPRP.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-KM2D74FI.js");
6482
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6551
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6598
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6660
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6679
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6715
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6746
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6770
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
6794
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
11884
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
13890
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
13952
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
14009
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
14063
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
14098
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16040
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16086
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16148
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16201
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16663
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16683
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16715
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16742
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16791
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16819
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16854
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16889
+ const { api: api2 } = await import("./client-NFNCAMCG.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-KM2D74FI.js");
16917
+ const { api: api2 } = await import("./client-NFNCAMCG.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-EDYSUTJS.js");
17858
+ const { settingsSync: settingsSync2 } = await import("./settings-sync-2PBEWCPH.js");
17859
17859
  const settings = settingsSync2.getLocalSettings();
17860
17860
  initializeLanguage(settings.language);
17861
17861
  } catch {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  loginCommand
3
- } from "./chunk-EHED4N6M.js";
3
+ } from "./chunk-COPMNPUO.js";
4
4
  import "./chunk-IKIAW3IT.js";
5
- import "./chunk-GFERWNYV.js";
5
+ import "./chunk-FSHFBINT.js";
6
6
  import "./chunk-OP4HYQZZ.js";
7
7
  import "./chunk-3RG5ZIWI.js";
8
8
  export {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  SettingsSyncService,
3
3
  settingsSync
4
- } from "./chunk-SJO5RI7H.js";
5
- import "./chunk-GFERWNYV.js";
4
+ } from "./chunk-FWC7JRKP.js";
5
+ import "./chunk-FSHFBINT.js";
6
6
  import "./chunk-OP4HYQZZ.js";
7
7
  import "./chunk-3RG5ZIWI.js";
8
8
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shiva-code",
3
- "version": "0.8.19",
3
+ "version": "0.8.20",
4
4
  "description": "Makes Claude Code Persistent - Cross-Project Memory CLI",
5
5
  "author": "SHIVA AI",
6
6
  "license": "MIT",