shiva-code 0.6.4 → 0.6.5
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.
|
@@ -272,13 +272,24 @@ var ApiClient = class {
|
|
|
272
272
|
* Get all memories across projects
|
|
273
273
|
*/
|
|
274
274
|
async getAllMemories() {
|
|
275
|
-
|
|
275
|
+
const result = await this.request("/memories");
|
|
276
|
+
return result.memories || [];
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Create a new memory (uses /api/memories endpoint)
|
|
280
|
+
*/
|
|
281
|
+
async createMemory(data) {
|
|
282
|
+
return this.request("/memories", {
|
|
283
|
+
method: "POST",
|
|
284
|
+
body: JSON.stringify(data)
|
|
285
|
+
});
|
|
276
286
|
}
|
|
277
287
|
/**
|
|
278
288
|
* Search memories
|
|
279
289
|
*/
|
|
280
290
|
async searchMemories(query) {
|
|
281
|
-
|
|
291
|
+
const result = await this.request(`/memories/search?q=${encodeURIComponent(query)}`);
|
|
292
|
+
return result.memories || [];
|
|
282
293
|
}
|
|
283
294
|
// ============================================
|
|
284
295
|
// Hooks Endpoints (Cloud-managed hooks)
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-LBTCSQAX.js";
|
|
12
12
|
import {
|
|
13
13
|
api
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QQZRCJZK.js";
|
|
15
15
|
import {
|
|
16
16
|
CONFIG_PATH,
|
|
17
17
|
clearAuth,
|
|
@@ -6935,7 +6935,7 @@ async function checkProjectExists(path15) {
|
|
|
6935
6935
|
}
|
|
6936
6936
|
}
|
|
6937
6937
|
sessionsCommand.command("push").description("Sessions in Cloud sichern").option("-p, --project <pfad>", "Nur Sessions eines Projekts").action(async (options) => {
|
|
6938
|
-
const { api: api2 } = await import("./client-
|
|
6938
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
6939
6939
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
6940
6940
|
const { getProjectConfig: getProjectConfig2 } = await import("./config-D6M6LI6U.js");
|
|
6941
6941
|
if (!isAuthenticated2()) {
|
|
@@ -6995,7 +6995,7 @@ sessionsCommand.command("push").description("Sessions in Cloud sichern").option(
|
|
|
6995
6995
|
}
|
|
6996
6996
|
});
|
|
6997
6997
|
sessionsCommand.command("pull").description("Sessions aus Cloud laden").option("--json", "JSON Output").action(async (options) => {
|
|
6998
|
-
const { api: api2 } = await import("./client-
|
|
6998
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
6999
6999
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7000
7000
|
if (!isAuthenticated2()) {
|
|
7001
7001
|
log.error("Nicht angemeldet");
|
|
@@ -7042,7 +7042,7 @@ sessionsCommand.command("pull").description("Sessions aus Cloud laden").option("
|
|
|
7042
7042
|
}
|
|
7043
7043
|
});
|
|
7044
7044
|
sessionsCommand.command("sync").description("Sessions mit Cloud synchronisieren").option("-p, --project <pfad>", "Nur Sessions eines Projekts").action(async (options) => {
|
|
7045
|
-
const { api: api2 } = await import("./client-
|
|
7045
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
7046
7046
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7047
7047
|
const { getProjectConfig: getProjectConfig2 } = await import("./config-D6M6LI6U.js");
|
|
7048
7048
|
if (!isAuthenticated2()) {
|
|
@@ -7095,7 +7095,7 @@ sessionsCommand.command("sync").description("Sessions mit Cloud synchronisieren"
|
|
|
7095
7095
|
log.dim("Sessions werden automatisch mit lokalen Claude Sessions verkn\xFCpft");
|
|
7096
7096
|
});
|
|
7097
7097
|
sessionsCommand.command("delete <sessionId>").description("Session aus Cloud l\xF6schen").action(async (sessionId) => {
|
|
7098
|
-
const { api: api2 } = await import("./client-
|
|
7098
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
7099
7099
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7100
7100
|
if (!isAuthenticated2()) {
|
|
7101
7101
|
log.error("Nicht angemeldet");
|
|
@@ -7114,7 +7114,7 @@ sessionsCommand.command("delete <sessionId>").description("Session aus Cloud l\x
|
|
|
7114
7114
|
}
|
|
7115
7115
|
});
|
|
7116
7116
|
sessionsCommand.command("active").description("Aktive Cloud-Sessions anzeigen").option("--json", "JSON Output").action(async (options) => {
|
|
7117
|
-
const { api: api2 } = await import("./client-
|
|
7117
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
7118
7118
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7119
7119
|
if (!isAuthenticated2()) {
|
|
7120
7120
|
log.error("Nicht angemeldet");
|
|
@@ -7151,7 +7151,7 @@ sessionsCommand.command("active").description("Aktive Cloud-Sessions anzeigen").
|
|
|
7151
7151
|
}
|
|
7152
7152
|
});
|
|
7153
7153
|
sessionsCommand.command("stats").description("Cloud-Session-Statistiken anzeigen").option("--json", "JSON Output").action(async (options) => {
|
|
7154
|
-
const { api: api2 } = await import("./client-
|
|
7154
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
7155
7155
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7156
7156
|
if (!isAuthenticated2()) {
|
|
7157
7157
|
log.error("Nicht angemeldet");
|
|
@@ -7183,7 +7183,7 @@ sessionsCommand.command("stats").description("Cloud-Session-Statistiken anzeigen
|
|
|
7183
7183
|
}
|
|
7184
7184
|
});
|
|
7185
7185
|
sessionsCommand.command("resume <sessionId>").description("Cloud-Session fortsetzen").action(async (sessionId) => {
|
|
7186
|
-
const { api: api2 } = await import("./client-
|
|
7186
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
7187
7187
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7188
7188
|
if (!isAuthenticated2()) {
|
|
7189
7189
|
log.error("Nicht angemeldet");
|
|
@@ -7207,7 +7207,7 @@ sessionsCommand.command("resume <sessionId>").description("Cloud-Session fortset
|
|
|
7207
7207
|
}
|
|
7208
7208
|
});
|
|
7209
7209
|
sessionsCommand.command("export <sessionId>").description("Cloud-Session exportieren").option("-o, --output <file>", "Ausgabedatei").action(async (sessionId, options) => {
|
|
7210
|
-
const { api: api2 } = await import("./client-
|
|
7210
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
7211
7211
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7212
7212
|
const { writeFileSync: writeFileSync11 } = await import("fs");
|
|
7213
7213
|
if (!isAuthenticated2()) {
|
|
@@ -7231,7 +7231,7 @@ sessionsCommand.command("export <sessionId>").description("Cloud-Session exporti
|
|
|
7231
7231
|
}
|
|
7232
7232
|
});
|
|
7233
7233
|
sessionsCommand.command("update <sessionId>").description("Cloud-Session aktualisieren").option("--summary <text>", "Session-Zusammenfassung").option("--branch <name>", "Git Branch").action(async (sessionId, options) => {
|
|
7234
|
-
const { api: api2 } = await import("./client-
|
|
7234
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
7235
7235
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
7236
7236
|
if (!isAuthenticated2()) {
|
|
7237
7237
|
log.error("Nicht angemeldet");
|
|
@@ -11143,24 +11143,22 @@ async function getCloudMemories() {
|
|
|
11143
11143
|
}
|
|
11144
11144
|
const memories = [];
|
|
11145
11145
|
try {
|
|
11146
|
-
const
|
|
11147
|
-
for (const
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
-
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
}
|
|
11163
|
-
}
|
|
11146
|
+
const cloudMemories = await api.getAllMemories();
|
|
11147
|
+
for (const memory of cloudMemories) {
|
|
11148
|
+
memories.push({
|
|
11149
|
+
key: memory.title,
|
|
11150
|
+
// Map title -> key for compatibility
|
|
11151
|
+
value: memory.content,
|
|
11152
|
+
// Map content -> value for compatibility
|
|
11153
|
+
category: memory.tags?.join(", ") || "general",
|
|
11154
|
+
// Map tags -> category
|
|
11155
|
+
source: "cloud",
|
|
11156
|
+
projectName: memory.projectName || "Global",
|
|
11157
|
+
projectPath: "",
|
|
11158
|
+
// Not available from this endpoint
|
|
11159
|
+
projectId: memory.projectId || void 0,
|
|
11160
|
+
memoryId: memory.id
|
|
11161
|
+
});
|
|
11164
11162
|
}
|
|
11165
11163
|
} catch {
|
|
11166
11164
|
}
|
|
@@ -11198,14 +11196,17 @@ async function searchMemories(query, options = {}) {
|
|
|
11198
11196
|
try {
|
|
11199
11197
|
const cloudResults = await api.searchMemories(query);
|
|
11200
11198
|
const cloudMemories = cloudResults.map((m) => ({
|
|
11201
|
-
key: m.
|
|
11202
|
-
|
|
11203
|
-
|
|
11199
|
+
key: m.title,
|
|
11200
|
+
// Map title -> key for compatibility
|
|
11201
|
+
value: m.content,
|
|
11202
|
+
// Map content -> value for compatibility
|
|
11203
|
+
category: m.tags?.join(", ") || "general",
|
|
11204
|
+
// Map tags -> category
|
|
11204
11205
|
source: "cloud",
|
|
11205
|
-
projectName: m.projectName,
|
|
11206
|
+
projectName: m.projectName || "Global",
|
|
11206
11207
|
projectPath: "",
|
|
11207
11208
|
// Not returned by search API
|
|
11208
|
-
projectId: m.projectId,
|
|
11209
|
+
projectId: m.projectId || void 0,
|
|
11209
11210
|
memoryId: m.id
|
|
11210
11211
|
}));
|
|
11211
11212
|
allMemories.push(...cloudMemories);
|
|
@@ -12077,7 +12078,7 @@ async function resolveSessionId(input) {
|
|
|
12077
12078
|
return null;
|
|
12078
12079
|
}
|
|
12079
12080
|
tagsCommand.command("cloud").description("Memory-Tags aus Cloud laden").option("--json", "JSON Output").action(async (options) => {
|
|
12080
|
-
const { api: api2 } = await import("./client-
|
|
12081
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
12081
12082
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
12082
12083
|
if (!isAuthenticated2()) {
|
|
12083
12084
|
log.error("Nicht angemeldet");
|
|
@@ -12587,7 +12588,7 @@ async function handlePreview(filepath) {
|
|
|
12587
12588
|
|
|
12588
12589
|
// src/commands/memory/remember.ts
|
|
12589
12590
|
import { Command as Command27 } from "commander";
|
|
12590
|
-
var rememberCommand = new Command27("remember").description("Memory in der Cloud speichern").argument("<text>", "Der Text der gespeichert werden soll").option("-
|
|
12591
|
+
var rememberCommand = new Command27("remember").description("Memory in der Cloud speichern").argument("<text>", "Der Text der gespeichert werden soll").option("-t, --title <title>", "Titel f\xFCr die Memory").option("-g, --global", "Global speichern (nicht projektgebunden)").option("--tags <tags>", "Komma-separierte Tags").action(async (text, options) => {
|
|
12591
12592
|
if (!isAuthenticated()) {
|
|
12592
12593
|
log.error("Nicht angemeldet");
|
|
12593
12594
|
log.info("Anmelden mit: shiva login");
|
|
@@ -12595,21 +12596,27 @@ var rememberCommand = new Command27("remember").description("Memory in der Cloud
|
|
|
12595
12596
|
}
|
|
12596
12597
|
const projectPath = process.cwd();
|
|
12597
12598
|
const config = getProjectConfig(projectPath);
|
|
12598
|
-
|
|
12599
|
-
|
|
12600
|
-
|
|
12601
|
-
return;
|
|
12599
|
+
let projectId = null;
|
|
12600
|
+
if (!options.global && config.projectId) {
|
|
12601
|
+
projectId = config.projectId;
|
|
12602
12602
|
}
|
|
12603
|
-
const
|
|
12603
|
+
const title = options.title || text.substring(0, 100);
|
|
12604
|
+
const tags = options.tags ? options.tags.split(",").map((t) => t.trim()).filter(Boolean) : [];
|
|
12604
12605
|
try {
|
|
12605
|
-
const result = await api.
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12606
|
+
const result = await api.createMemory({
|
|
12607
|
+
title,
|
|
12608
|
+
content: text,
|
|
12609
|
+
projectId,
|
|
12610
|
+
tags
|
|
12609
12611
|
});
|
|
12610
12612
|
if (result.success) {
|
|
12611
12613
|
log.success("Memory gespeichert!");
|
|
12612
12614
|
log.dim(`ID: ${result.memoryId}`);
|
|
12615
|
+
if (projectId) {
|
|
12616
|
+
log.dim(`Projekt: ${config.projectName || projectId}`);
|
|
12617
|
+
} else {
|
|
12618
|
+
log.dim("Scope: Global");
|
|
12619
|
+
}
|
|
12613
12620
|
} else {
|
|
12614
12621
|
log.error(result.message || "Fehler beim Speichern");
|
|
12615
12622
|
}
|
|
@@ -13780,7 +13787,7 @@ function formatNumber(n) {
|
|
|
13780
13787
|
return String(n);
|
|
13781
13788
|
}
|
|
13782
13789
|
statsCommand.command("sessions").description("Session Analytics (Pro Feature)").option("--json", "JSON Output").action(async (options) => {
|
|
13783
|
-
const { api: api2 } = await import("./client-
|
|
13790
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
13784
13791
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13785
13792
|
if (!isAuthenticated2()) {
|
|
13786
13793
|
log.error("Nicht angemeldet");
|
|
@@ -13832,7 +13839,7 @@ statsCommand.command("sessions").description("Session Analytics (Pro Feature)").
|
|
|
13832
13839
|
}
|
|
13833
13840
|
});
|
|
13834
13841
|
statsCommand.command("tokens").description("Token Usage Analytics (Pro Feature)").option("--json", "JSON Output").action(async (options) => {
|
|
13835
|
-
const { api: api2 } = await import("./client-
|
|
13842
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
13836
13843
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13837
13844
|
if (!isAuthenticated2()) {
|
|
13838
13845
|
log.error("Nicht angemeldet");
|
|
@@ -13880,7 +13887,7 @@ statsCommand.command("tokens").description("Token Usage Analytics (Pro Feature)"
|
|
|
13880
13887
|
}
|
|
13881
13888
|
});
|
|
13882
13889
|
statsCommand.command("tools").description("Tool Usage Analytics (Pro Feature)").option("--json", "JSON Output").action(async (options) => {
|
|
13883
|
-
const { api: api2 } = await import("./client-
|
|
13890
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
13884
13891
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13885
13892
|
if (!isAuthenticated2()) {
|
|
13886
13893
|
log.error("Nicht angemeldet");
|
|
@@ -13924,7 +13931,7 @@ statsCommand.command("tools").description("Tool Usage Analytics (Pro Feature)").
|
|
|
13924
13931
|
}
|
|
13925
13932
|
});
|
|
13926
13933
|
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) => {
|
|
13927
|
-
const { api: api2 } = await import("./client-
|
|
13934
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
13928
13935
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13929
13936
|
const { writeFileSync: writeFileSync11 } = await import("fs");
|
|
13930
13937
|
if (!isAuthenticated2()) {
|
|
@@ -13959,7 +13966,7 @@ statsCommand.command("export").description("Analytics-Daten exportieren (Pro Fea
|
|
|
13959
13966
|
}
|
|
13960
13967
|
});
|
|
13961
13968
|
statsCommand.command("track").description("Analytics Event tracken").argument("<type>", "Event-Typ").argument("[data]", "Event-Daten als JSON").action(async (type2, data) => {
|
|
13962
|
-
const { api: api2 } = await import("./client-
|
|
13969
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
13963
13970
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
13964
13971
|
if (!isAuthenticated2()) {
|
|
13965
13972
|
log.error("Nicht angemeldet");
|
|
@@ -15077,12 +15084,12 @@ hookCommand.command("branch-switch").description("Branch-Wechsel behandeln (f\xF
|
|
|
15077
15084
|
return;
|
|
15078
15085
|
}
|
|
15079
15086
|
const { getCurrentBranch: getCurrentBranch2 } = await import("./api-OEHQTBH7.js");
|
|
15080
|
-
const { getSessionForBranch: getSessionForBranch2, hasShivaDir:
|
|
15087
|
+
const { getSessionForBranch: getSessionForBranch2, hasShivaDir: hasShivaDir3 } = await import("./config-D6M6LI6U.js");
|
|
15081
15088
|
const { findProject: findProject3, findSessionByBranch: findSessionByBranch2, formatRelativeTime: formatRelativeTime3 } = await import("./manager-ZPQWG7E6.js");
|
|
15082
15089
|
const projectPath = process.cwd();
|
|
15083
15090
|
const newBranch = getCurrentBranch2(projectPath);
|
|
15084
15091
|
let sessionInfo = null;
|
|
15085
|
-
if (
|
|
15092
|
+
if (hasShivaDir3(projectPath)) {
|
|
15086
15093
|
const mappedSession = getSessionForBranch2(projectPath, newBranch);
|
|
15087
15094
|
if (mappedSession) {
|
|
15088
15095
|
sessionInfo = {
|
|
@@ -15148,7 +15155,7 @@ hookCommand.command("scan-command").description("Scanne Bash-Befehle auf Package
|
|
|
15148
15155
|
}
|
|
15149
15156
|
});
|
|
15150
15157
|
hookCommand.command("push").description("Hooks in Cloud sichern").action(async () => {
|
|
15151
|
-
const { api: api2 } = await import("./client-
|
|
15158
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15152
15159
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15153
15160
|
if (!isAuthenticated2()) {
|
|
15154
15161
|
log.error("Nicht angemeldet");
|
|
@@ -15168,7 +15175,7 @@ hookCommand.command("push").description("Hooks in Cloud sichern").action(async (
|
|
|
15168
15175
|
}
|
|
15169
15176
|
});
|
|
15170
15177
|
hookCommand.command("pull").description("Hooks aus Cloud laden").option("-f, --force", "Lokale Hooks \xFCberschreiben").action(async (options) => {
|
|
15171
|
-
const { api: api2 } = await import("./client-
|
|
15178
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15172
15179
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15173
15180
|
if (!isAuthenticated2()) {
|
|
15174
15181
|
log.error("Nicht angemeldet");
|
|
@@ -15200,7 +15207,7 @@ hookCommand.command("pull").description("Hooks aus Cloud laden").option("-f, --f
|
|
|
15200
15207
|
}
|
|
15201
15208
|
});
|
|
15202
15209
|
hookCommand.command("sync").description("Hooks mit Cloud synchronisieren").action(async () => {
|
|
15203
|
-
const { api: api2 } = await import("./client-
|
|
15210
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15204
15211
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15205
15212
|
if (!isAuthenticated2()) {
|
|
15206
15213
|
log.error("Nicht angemeldet");
|
|
@@ -15227,7 +15234,7 @@ hookCommand.command("sync").description("Hooks mit Cloud synchronisieren").actio
|
|
|
15227
15234
|
}
|
|
15228
15235
|
});
|
|
15229
15236
|
hookCommand.command("cloud-list").description("Cloud-Hooks auflisten").option("--event <type>", "Nach Event-Typ filtern").option("--json", "JSON Output").action(async (options) => {
|
|
15230
|
-
const { api: api2 } = await import("./client-
|
|
15237
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15231
15238
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15232
15239
|
const { colors: colors3 } = await import("./logger-E7SC5KUO.js");
|
|
15233
15240
|
if (!isAuthenticated2()) {
|
|
@@ -15276,7 +15283,7 @@ hookCommand.command("cloud-list").description("Cloud-Hooks auflisten").option("-
|
|
|
15276
15283
|
}
|
|
15277
15284
|
});
|
|
15278
15285
|
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) => {
|
|
15279
|
-
const { api: api2 } = await import("./client-
|
|
15286
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15280
15287
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15281
15288
|
if (!isAuthenticated2()) {
|
|
15282
15289
|
log.error("Nicht angemeldet");
|
|
@@ -15304,7 +15311,7 @@ hookCommand.command("cloud-create").description("Neuen Cloud-Hook erstellen").re
|
|
|
15304
15311
|
}
|
|
15305
15312
|
});
|
|
15306
15313
|
hookCommand.command("cloud-test").description("Cloud-Hook testen").argument("<hook-id>", "Hook ID").action(async (hookId) => {
|
|
15307
|
-
const { api: api2 } = await import("./client-
|
|
15314
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15308
15315
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15309
15316
|
const { colors: colors3 } = await import("./logger-E7SC5KUO.js");
|
|
15310
15317
|
if (!isAuthenticated2()) {
|
|
@@ -15339,7 +15346,7 @@ hookCommand.command("cloud-test").description("Cloud-Hook testen").argument("<ho
|
|
|
15339
15346
|
}
|
|
15340
15347
|
});
|
|
15341
15348
|
hookCommand.command("cloud-delete").description("Cloud-Hook l\xF6schen").argument("<hook-id>", "Hook ID").option("-y, --yes", "Ohne Best\xE4tigung").action(async (hookId, options) => {
|
|
15342
|
-
const { api: api2 } = await import("./client-
|
|
15349
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15343
15350
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15344
15351
|
if (!isAuthenticated2()) {
|
|
15345
15352
|
log.error("Nicht angemeldet");
|
|
@@ -15374,7 +15381,7 @@ hookCommand.command("cloud-delete").description("Cloud-Hook l\xF6schen").argumen
|
|
|
15374
15381
|
}
|
|
15375
15382
|
});
|
|
15376
15383
|
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) => {
|
|
15377
|
-
const { api: api2 } = await import("./client-
|
|
15384
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15378
15385
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15379
15386
|
if (!isAuthenticated2()) {
|
|
15380
15387
|
log.error("Nicht angemeldet");
|
|
@@ -15551,7 +15558,7 @@ packageCommand.command("start <name>").description("Alle Projekte eines Packages
|
|
|
15551
15558
|
}
|
|
15552
15559
|
});
|
|
15553
15560
|
packageCommand.command("push").description("Packages in Cloud sichern").option("-n, --name <name>", "Nur ein bestimmtes Package").action(async (options) => {
|
|
15554
|
-
const { api: api2 } = await import("./client-
|
|
15561
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15555
15562
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15556
15563
|
if (!isAuthenticated2()) {
|
|
15557
15564
|
log.error("Nicht angemeldet");
|
|
@@ -15597,7 +15604,7 @@ packageCommand.command("push").description("Packages in Cloud sichern").option("
|
|
|
15597
15604
|
}
|
|
15598
15605
|
});
|
|
15599
15606
|
packageCommand.command("pull").description("Packages aus Cloud laden").option("-f, --force", "Lokale Packages \xFCberschreiben").option("--json", "JSON Output").action(async (options) => {
|
|
15600
|
-
const { api: api2 } = await import("./client-
|
|
15607
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15601
15608
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15602
15609
|
if (!isAuthenticated2()) {
|
|
15603
15610
|
log.error("Nicht angemeldet");
|
|
@@ -15659,7 +15666,7 @@ packageCommand.command("pull").description("Packages aus Cloud laden").option("-
|
|
|
15659
15666
|
}
|
|
15660
15667
|
});
|
|
15661
15668
|
packageCommand.command("sync").description("Packages mit Cloud synchronisieren").action(async () => {
|
|
15662
|
-
const { api: api2 } = await import("./client-
|
|
15669
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15663
15670
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15664
15671
|
if (!isAuthenticated2()) {
|
|
15665
15672
|
log.error("Nicht angemeldet");
|
|
@@ -15712,7 +15719,7 @@ packageCommand.command("sync").description("Packages mit Cloud synchronisieren")
|
|
|
15712
15719
|
log.tree.item(`${localPackages.length + pulledCount} Packages total`);
|
|
15713
15720
|
});
|
|
15714
15721
|
packageCommand.command("cloud-delete <name>").description("Package aus Cloud l\xF6schen").action(async (name) => {
|
|
15715
|
-
const { api: api2 } = await import("./client-
|
|
15722
|
+
const { api: api2 } = await import("./client-GIGZFXT5.js");
|
|
15716
15723
|
const { isAuthenticated: isAuthenticated2 } = await import("./config-FGMZONWV.js");
|
|
15717
15724
|
if (!isAuthenticated2()) {
|
|
15718
15725
|
log.error("Nicht angemeldet");
|
|
@@ -16123,7 +16130,7 @@ sandboxCommand.command("delete <id>").description("Sandbox l\xF6schen").option("
|
|
|
16123
16130
|
|
|
16124
16131
|
// src/index.ts
|
|
16125
16132
|
var program = new Command39();
|
|
16126
|
-
program.name("shiva").description("SHIVA Code - Control Station for Claude Code").version("0.6.
|
|
16133
|
+
program.name("shiva").description("SHIVA Code - Control Station for Claude Code").version("0.6.5");
|
|
16127
16134
|
program.addCommand(loginCommand);
|
|
16128
16135
|
program.addCommand(logoutCommand);
|
|
16129
16136
|
program.addCommand(sessionsCommand);
|