svamp-cli 0.2.282 → 0.2.283
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/adminCommands-BfRJD2aA.mjs +205 -0
- package/dist/{agentCommands-C2SA3m-H.mjs → agentCommands-B23M4vER.mjs} +5 -5
- package/dist/{auth-Ei72rgtQ.mjs → auth-DPZSnISj.mjs} +1 -1
- package/dist/{cli-AqDROKlD.mjs → cli-yOuFbsef.mjs} +74 -67
- package/dist/cli.mjs +2 -2
- package/dist/{commands-CUO72eBO.mjs → commands-BABblJRp.mjs} +1 -1
- package/dist/{commands-CDl7rl3f.mjs → commands-BHO7rzSh.mjs} +1 -1
- package/dist/{commands-C6TKdbzy.mjs → commands-BqaOHWym.mjs} +7 -7
- package/dist/{commands-DJLs9f1R.mjs → commands-CRA262P3.mjs} +2 -2
- package/dist/{commands-COekL2o8.mjs → commands-Cp8G-iuw.mjs} +2 -2
- package/dist/{commands-BrWafMO7.mjs → commands-DDf0W30g.mjs} +2 -2
- package/dist/{commands-Cx74j8ot.mjs → commands-DqsoW-S0.mjs} +1 -1
- package/dist/{fleet-Dy9ZJ6vm.mjs → fleet-BxhHefua.mjs} +1 -1
- package/dist/{frpc-DjLzbAcP.mjs → frpc-BsR6aGNJ.mjs} +1 -1
- package/dist/{headlessCli-DttVTkeB.mjs → headlessCli-B-aMhdKx.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{notifyCommands-DfQLR_b_.mjs → notifyCommands-CfnthGpX.mjs} +1 -1
- package/dist/{package-D2hm0uj4.mjs → package-COj14J00.mjs} +1 -1
- package/dist/{rpc-ChQ7ArYi.mjs → rpc-B5BRaVsS.mjs} +1 -1
- package/dist/{rpc-zvlrNata.mjs → rpc-BjrKqEib.mjs} +1 -1
- package/dist/{run-D8PHZBGS.mjs → run-CRTzyKbn.mjs} +30 -99
- package/dist/{run-dVUrVaoC.mjs → run-DWJenrBe.mjs} +1 -1
- package/dist/{scheduler-CntyA8uK.mjs → scheduler-QYMtbUDe.mjs} +1 -1
- package/dist/{serveCommands-DcoJVqwb.mjs → serveCommands-Cj3MLbZb.mjs} +5 -5
- package/dist/{sideband-CpVC-tM4.mjs → sideband-CKmZxwY6.mjs} +1 -1
- package/package.json +1 -1
- package/dist/adminCommands-ChJ_O-_h.mjs +0 -100
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as clearStopMarker, a2 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-CRTzyKbn.mjs';
|
|
2
2
|
import { ensureSupervisorViaServiceManager, LAUNCHD_LABEL } from './serviceManager-hlOVxkhW.mjs';
|
|
3
3
|
|
|
4
4
|
function flushAndExit(code) {
|
|
@@ -33,7 +33,7 @@ const subcommand = args[0];
|
|
|
33
33
|
let daemonSubcommand = args[1];
|
|
34
34
|
async function main() {
|
|
35
35
|
try {
|
|
36
|
-
const { getLoadedConfig } = await import('./run-
|
|
36
|
+
const { getLoadedConfig } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.am; });
|
|
37
37
|
getLoadedConfig();
|
|
38
38
|
} catch {
|
|
39
39
|
}
|
|
@@ -52,7 +52,7 @@ async function main() {
|
|
|
52
52
|
}
|
|
53
53
|
const whenIdle = args.includes("--when-idle");
|
|
54
54
|
const force = args.includes("--force");
|
|
55
|
-
const mod = await import('./run-
|
|
55
|
+
const mod = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.aw; });
|
|
56
56
|
if (whenIdle && !force) {
|
|
57
57
|
if (mod.isDaemonAlive()) {
|
|
58
58
|
mod.writePendingRestart({ reason: "svamp daemon restart --when-idle" });
|
|
@@ -356,7 +356,7 @@ async function main() {
|
|
|
356
356
|
console.error("svamp service: Service commands are not available in sandboxed sessions.");
|
|
357
357
|
process.exit(1);
|
|
358
358
|
}
|
|
359
|
-
const { handleServiceCommand } = await import('./commands-
|
|
359
|
+
const { handleServiceCommand } = await import('./commands-BqaOHWym.mjs');
|
|
360
360
|
await handleServiceCommand();
|
|
361
361
|
} else if (subcommand === "serve") {
|
|
362
362
|
const { isSandboxed: isSandboxedServe } = await import('./sandboxDetect-DNTcbgWD.mjs');
|
|
@@ -364,7 +364,7 @@ async function main() {
|
|
|
364
364
|
console.error("svamp serve: Serve commands are not available in sandboxed sessions.");
|
|
365
365
|
process.exit(1);
|
|
366
366
|
}
|
|
367
|
-
const { handleServeCommand } = await import('./serveCommands-
|
|
367
|
+
const { handleServeCommand } = await import('./serveCommands-Cj3MLbZb.mjs');
|
|
368
368
|
await handleServeCommand();
|
|
369
369
|
process.exit(0);
|
|
370
370
|
} else if (subcommand === "process" || subcommand === "proc") {
|
|
@@ -373,7 +373,7 @@ async function main() {
|
|
|
373
373
|
console.error("svamp process: Process commands are not available in sandboxed sessions.");
|
|
374
374
|
process.exit(1);
|
|
375
375
|
}
|
|
376
|
-
const { processCommand } = await import('./commands-
|
|
376
|
+
const { processCommand } = await import('./commands-DDf0W30g.mjs');
|
|
377
377
|
let machineId;
|
|
378
378
|
const processArgs = args.slice(1);
|
|
379
379
|
const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
|
|
@@ -387,22 +387,22 @@ async function main() {
|
|
|
387
387
|
}), machineId);
|
|
388
388
|
process.exit(0);
|
|
389
389
|
} else if (subcommand === "issue" || subcommand === "issues") {
|
|
390
|
-
const { issueCommand } = await import('./commands-
|
|
390
|
+
const { issueCommand } = await import('./commands-CRA262P3.mjs');
|
|
391
391
|
await issueCommand(args.slice(1));
|
|
392
392
|
await flushAndExit(0);
|
|
393
393
|
} else if (subcommand === "workflow" || subcommand === "workflows") {
|
|
394
|
-
const { workflowCommand } = await import('./commands-
|
|
394
|
+
const { workflowCommand } = await import('./commands-DqsoW-S0.mjs');
|
|
395
395
|
await workflowCommand(args.slice(1));
|
|
396
396
|
await flushAndExit(0);
|
|
397
397
|
} else if (subcommand === "wise-agent" || subcommand === "wise") {
|
|
398
398
|
await handleWiseAgentCommand(args.slice(1));
|
|
399
399
|
process.exit(0);
|
|
400
400
|
} else if (subcommand === "feature" || subcommand === "crew") {
|
|
401
|
-
const { crewCommand } = await import('./commands-
|
|
401
|
+
const { crewCommand } = await import('./commands-Cp8G-iuw.mjs');
|
|
402
402
|
await crewCommand(args.slice(1));
|
|
403
403
|
process.exit(0);
|
|
404
404
|
} else if (subcommand === "notify") {
|
|
405
|
-
const { notifyUser } = await import('./notifyCommands-
|
|
405
|
+
const { notifyUser } = await import('./notifyCommands-CfnthGpX.mjs');
|
|
406
406
|
const rest = args.slice(1);
|
|
407
407
|
let email;
|
|
408
408
|
const o = {};
|
|
@@ -419,7 +419,7 @@ async function main() {
|
|
|
419
419
|
} else if (subcommand === "admin") {
|
|
420
420
|
const adminSub = args[1];
|
|
421
421
|
if (adminSub === "set-collection-config") {
|
|
422
|
-
const { setCollectionConfig } = await import('./adminCommands-
|
|
422
|
+
const { setCollectionConfig } = await import('./adminCommands-BfRJD2aA.mjs');
|
|
423
423
|
const rest = args.slice(2);
|
|
424
424
|
let alias;
|
|
425
425
|
let configJson;
|
|
@@ -428,12 +428,19 @@ async function main() {
|
|
|
428
428
|
else if (!rest[i].startsWith("-") && !alias) alias = rest[i];
|
|
429
429
|
}
|
|
430
430
|
await setCollectionConfig(alias, configJson);
|
|
431
|
+
} else if (adminSub === "create-system-collections") {
|
|
432
|
+
const { createSystemCollections } = await import('./adminCommands-BfRJD2aA.mjs');
|
|
433
|
+
await createSystemCollections();
|
|
434
|
+
} else if (adminSub === "migrate-collection-children") {
|
|
435
|
+
const { migrateCollectionChildren } = await import('./adminCommands-BfRJD2aA.mjs');
|
|
436
|
+
const rest = args.slice(2).filter((a) => !a.startsWith("-"));
|
|
437
|
+
await migrateCollectionChildren(rest[0], rest[1]);
|
|
431
438
|
} else {
|
|
432
|
-
console.error("Usage
|
|
439
|
+
console.error("Usage:\n svamp admin create-system-collections\n svamp admin set-collection-config <alias> --config '<json>'\n svamp admin migrate-collection-children <fromId> <toId>");
|
|
433
440
|
}
|
|
434
441
|
process.exit(0);
|
|
435
442
|
} else if (subcommand === "events") {
|
|
436
|
-
const { listEvents, ackEvent } = await import('./notifyCommands-
|
|
443
|
+
const { listEvents, ackEvent } = await import('./notifyCommands-CfnthGpX.mjs');
|
|
437
444
|
const sub = args[1];
|
|
438
445
|
const rest = args.slice(2);
|
|
439
446
|
let email;
|
|
@@ -454,7 +461,7 @@ async function main() {
|
|
|
454
461
|
} else if (!subcommand || subcommand === "start") {
|
|
455
462
|
await handleInteractiveCommand();
|
|
456
463
|
} else if (subcommand === "--version" || subcommand === "-v") {
|
|
457
|
-
const pkg = await import('./package-
|
|
464
|
+
const pkg = await import('./package-COj14J00.mjs').catch(() => ({ default: { version: "unknown" } }));
|
|
458
465
|
console.log(`svamp version: ${pkg.default.version}`);
|
|
459
466
|
} else {
|
|
460
467
|
console.error(`Unknown command: ${subcommand}`);
|
|
@@ -463,7 +470,7 @@ async function main() {
|
|
|
463
470
|
}
|
|
464
471
|
}
|
|
465
472
|
async function handleInteractiveCommand() {
|
|
466
|
-
const { runInteractive } = await import('./run-
|
|
473
|
+
const { runInteractive } = await import('./run-DWJenrBe.mjs');
|
|
467
474
|
const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
|
|
468
475
|
let directory = process.cwd();
|
|
469
476
|
let resumeSessionId;
|
|
@@ -508,7 +515,7 @@ async function handleAgentCommand() {
|
|
|
508
515
|
return;
|
|
509
516
|
}
|
|
510
517
|
if (agentArgs[0] === "list") {
|
|
511
|
-
const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-
|
|
518
|
+
const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.as; });
|
|
512
519
|
console.log("Known agents:");
|
|
513
520
|
for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
|
|
514
521
|
console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
|
|
@@ -520,7 +527,7 @@ async function handleAgentCommand() {
|
|
|
520
527
|
console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
|
|
521
528
|
return;
|
|
522
529
|
}
|
|
523
|
-
const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-
|
|
530
|
+
const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.as; });
|
|
524
531
|
let cwd = process.cwd();
|
|
525
532
|
const filteredArgs = [];
|
|
526
533
|
for (let i = 0; i < agentArgs.length; i++) {
|
|
@@ -544,12 +551,12 @@ async function handleAgentCommand() {
|
|
|
544
551
|
console.log(`Starting ${config.agentName} agent in ${cwd}...`);
|
|
545
552
|
let backend;
|
|
546
553
|
if (KNOWN_CODEX_AGENTS[config.agentName]) {
|
|
547
|
-
const { CodexAppServerBackend } = await import('./run-
|
|
554
|
+
const { CodexAppServerBackend } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.at; });
|
|
548
555
|
backend = new CodexAppServerBackend({ cwd, log: logFn });
|
|
549
556
|
} else {
|
|
550
|
-
const { AcpBackend } = await import('./run-
|
|
551
|
-
const { GeminiTransport } = await import('./run-
|
|
552
|
-
const { DefaultTransport } = await import('./run-
|
|
557
|
+
const { AcpBackend } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.ar; });
|
|
558
|
+
const { GeminiTransport } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.au; });
|
|
559
|
+
const { DefaultTransport } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.aq; });
|
|
553
560
|
const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
|
|
554
561
|
backend = new AcpBackend({
|
|
555
562
|
agentName: config.agentName,
|
|
@@ -676,7 +683,7 @@ async function handleSessionCommand() {
|
|
|
676
683
|
process.exit(1);
|
|
677
684
|
}
|
|
678
685
|
}
|
|
679
|
-
const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionLoopExtend, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-
|
|
686
|
+
const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionLoopExtend, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-BABblJRp.mjs');
|
|
680
687
|
const parseFlagStr = (flag, shortFlag) => {
|
|
681
688
|
for (let i = 1; i < sessionArgs.length; i++) {
|
|
682
689
|
if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
|
|
@@ -744,7 +751,7 @@ async function handleSessionCommand() {
|
|
|
744
751
|
allowDomain.push(sessionArgs[++i]);
|
|
745
752
|
}
|
|
746
753
|
}
|
|
747
|
-
const { parseShareArg } = await import('./commands-
|
|
754
|
+
const { parseShareArg } = await import('./commands-BABblJRp.mjs');
|
|
748
755
|
const shareEntries = share.map((s) => parseShareArg(s));
|
|
749
756
|
await sessionSpawn(agent, dir, targetMachineId, {
|
|
750
757
|
message,
|
|
@@ -834,7 +841,7 @@ async function handleSessionCommand() {
|
|
|
834
841
|
console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
|
|
835
842
|
process.exit(1);
|
|
836
843
|
}
|
|
837
|
-
const { sessionEditMessage } = await import('./commands-
|
|
844
|
+
const { sessionEditMessage } = await import('./commands-BABblJRp.mjs');
|
|
838
845
|
await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
839
846
|
} else if (sessionSubcommand === "refine") {
|
|
840
847
|
if (!sessionArgs[1] || !sessionArgs[2]) {
|
|
@@ -842,7 +849,7 @@ async function handleSessionCommand() {
|
|
|
842
849
|
console.error(" Asks the agent to revise its latest reply in place (no extra round).");
|
|
843
850
|
process.exit(1);
|
|
844
851
|
}
|
|
845
|
-
const { sessionRefineLastReply } = await import('./commands-
|
|
852
|
+
const { sessionRefineLastReply } = await import('./commands-BABblJRp.mjs');
|
|
846
853
|
await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
|
|
847
854
|
} else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
|
|
848
855
|
if (!sessionArgs[1]) {
|
|
@@ -850,7 +857,7 @@ async function handleSessionCommand() {
|
|
|
850
857
|
console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
|
|
851
858
|
process.exit(1);
|
|
852
859
|
}
|
|
853
|
-
const { sessionUndoEdit } = await import('./commands-
|
|
860
|
+
const { sessionUndoEdit } = await import('./commands-BABblJRp.mjs');
|
|
854
861
|
await sessionUndoEdit(sessionArgs[1], targetMachineId);
|
|
855
862
|
} else if (sessionSubcommand === "query") {
|
|
856
863
|
const dir = sessionArgs[1];
|
|
@@ -860,7 +867,7 @@ async function handleSessionCommand() {
|
|
|
860
867
|
console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
|
|
861
868
|
process.exit(1);
|
|
862
869
|
}
|
|
863
|
-
const { sessionQuery } = await import('./commands-
|
|
870
|
+
const { sessionQuery } = await import('./commands-BABblJRp.mjs');
|
|
864
871
|
await sessionQuery(dir, prompt, targetMachineId, {
|
|
865
872
|
timeout: parseFlagInt("--timeout"),
|
|
866
873
|
json: hasFlag("--json"),
|
|
@@ -893,7 +900,7 @@ async function handleSessionCommand() {
|
|
|
893
900
|
console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
|
|
894
901
|
process.exit(1);
|
|
895
902
|
}
|
|
896
|
-
const { sessionApprove } = await import('./commands-
|
|
903
|
+
const { sessionApprove } = await import('./commands-BABblJRp.mjs');
|
|
897
904
|
const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
898
905
|
await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
|
|
899
906
|
json: hasFlag("--json")
|
|
@@ -903,7 +910,7 @@ async function handleSessionCommand() {
|
|
|
903
910
|
console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
|
|
904
911
|
process.exit(1);
|
|
905
912
|
}
|
|
906
|
-
const { sessionDeny } = await import('./commands-
|
|
913
|
+
const { sessionDeny } = await import('./commands-BABblJRp.mjs');
|
|
907
914
|
const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
908
915
|
await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
|
|
909
916
|
json: hasFlag("--json")
|
|
@@ -955,7 +962,7 @@ async function handleSessionCommand() {
|
|
|
955
962
|
console.error("Usage: svamp session set-title <title>");
|
|
956
963
|
process.exit(1);
|
|
957
964
|
}
|
|
958
|
-
const { sessionSetTitle } = await import('./agentCommands-
|
|
965
|
+
const { sessionSetTitle } = await import('./agentCommands-B23M4vER.mjs');
|
|
959
966
|
await sessionSetTitle(title);
|
|
960
967
|
} else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
|
|
961
968
|
const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
@@ -963,7 +970,7 @@ async function handleSessionCommand() {
|
|
|
963
970
|
console.error("Usage: svamp session set-project-description <text>");
|
|
964
971
|
process.exit(1);
|
|
965
972
|
}
|
|
966
|
-
const { sessionSetProjectDescription } = await import('./agentCommands-
|
|
973
|
+
const { sessionSetProjectDescription } = await import('./agentCommands-B23M4vER.mjs');
|
|
967
974
|
await sessionSetProjectDescription(desc);
|
|
968
975
|
} else if (sessionSubcommand === "set-link") {
|
|
969
976
|
const url = sessionArgs[1];
|
|
@@ -972,11 +979,11 @@ async function handleSessionCommand() {
|
|
|
972
979
|
process.exit(1);
|
|
973
980
|
}
|
|
974
981
|
const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
975
|
-
const { sessionSetLink } = await import('./agentCommands-
|
|
982
|
+
const { sessionSetLink } = await import('./agentCommands-B23M4vER.mjs');
|
|
976
983
|
await sessionSetLink(url, label);
|
|
977
984
|
} else if (sessionSubcommand === "link") {
|
|
978
985
|
const op = sessionArgs[1];
|
|
979
|
-
const lm = await import('./agentCommands-
|
|
986
|
+
const lm = await import('./agentCommands-B23M4vER.mjs');
|
|
980
987
|
if (op === "add") {
|
|
981
988
|
const url = sessionArgs[2];
|
|
982
989
|
if (!url || url.startsWith("--")) {
|
|
@@ -1011,7 +1018,7 @@ async function handleSessionCommand() {
|
|
|
1011
1018
|
process.exit(1);
|
|
1012
1019
|
}
|
|
1013
1020
|
const level = parseFlagStr("--level") || "info";
|
|
1014
|
-
const { sessionNotify } = await import('./agentCommands-
|
|
1021
|
+
const { sessionNotify } = await import('./agentCommands-B23M4vER.mjs');
|
|
1015
1022
|
await sessionNotify(message, level);
|
|
1016
1023
|
} else if (sessionSubcommand === "broadcast") {
|
|
1017
1024
|
const action = sessionArgs[1];
|
|
@@ -1019,7 +1026,7 @@ async function handleSessionCommand() {
|
|
|
1019
1026
|
console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
|
|
1020
1027
|
process.exit(1);
|
|
1021
1028
|
}
|
|
1022
|
-
const { sessionBroadcast } = await import('./agentCommands-
|
|
1029
|
+
const { sessionBroadcast } = await import('./agentCommands-B23M4vER.mjs');
|
|
1023
1030
|
await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
|
|
1024
1031
|
} else if (sessionSubcommand === "inbox") {
|
|
1025
1032
|
const inboxSubcmd = sessionArgs[1];
|
|
@@ -1030,7 +1037,7 @@ async function handleSessionCommand() {
|
|
|
1030
1037
|
process.exit(1);
|
|
1031
1038
|
}
|
|
1032
1039
|
if (agentSessionId) {
|
|
1033
|
-
const { inboxSend } = await import('./agentCommands-
|
|
1040
|
+
const { inboxSend } = await import('./agentCommands-B23M4vER.mjs');
|
|
1034
1041
|
await inboxSend(sessionArgs[2], {
|
|
1035
1042
|
body: sessionArgs[3],
|
|
1036
1043
|
subject: parseFlagStr("--subject"),
|
|
@@ -1045,7 +1052,7 @@ async function handleSessionCommand() {
|
|
|
1045
1052
|
}
|
|
1046
1053
|
} else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
|
|
1047
1054
|
if (agentSessionId && !sessionArgs[2]) {
|
|
1048
|
-
const { inboxList } = await import('./agentCommands-
|
|
1055
|
+
const { inboxList } = await import('./agentCommands-B23M4vER.mjs');
|
|
1049
1056
|
await inboxList({
|
|
1050
1057
|
unread: hasFlag("--unread"),
|
|
1051
1058
|
limit: parseFlagInt("--limit"),
|
|
@@ -1067,7 +1074,7 @@ async function handleSessionCommand() {
|
|
|
1067
1074
|
process.exit(1);
|
|
1068
1075
|
}
|
|
1069
1076
|
if (agentSessionId && !sessionArgs[3]) {
|
|
1070
|
-
const { inboxList } = await import('./agentCommands-
|
|
1077
|
+
const { inboxList } = await import('./agentCommands-B23M4vER.mjs');
|
|
1071
1078
|
await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
|
|
1072
1079
|
} else if (sessionArgs[3]) {
|
|
1073
1080
|
await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
@@ -1077,7 +1084,7 @@ async function handleSessionCommand() {
|
|
|
1077
1084
|
}
|
|
1078
1085
|
} else if (inboxSubcmd === "reply") {
|
|
1079
1086
|
if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
|
|
1080
|
-
const { inboxReply } = await import('./agentCommands-
|
|
1087
|
+
const { inboxReply } = await import('./agentCommands-B23M4vER.mjs');
|
|
1081
1088
|
await inboxReply(sessionArgs[2], sessionArgs[3]);
|
|
1082
1089
|
} else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
|
|
1083
1090
|
await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
|
|
@@ -1115,7 +1122,7 @@ async function handleMachineCommand() {
|
|
|
1115
1122
|
return;
|
|
1116
1123
|
}
|
|
1117
1124
|
if (machineSubcommand === "share") {
|
|
1118
|
-
const { machineShare } = await import('./commands-
|
|
1125
|
+
const { machineShare } = await import('./commands-BABblJRp.mjs');
|
|
1119
1126
|
let machineId;
|
|
1120
1127
|
const shareArgs = [];
|
|
1121
1128
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
@@ -1166,14 +1173,14 @@ async function handleMachineCommand() {
|
|
|
1166
1173
|
process.exit(1);
|
|
1167
1174
|
}
|
|
1168
1175
|
if (all) {
|
|
1169
|
-
const { fleetExec } = await import('./fleet-
|
|
1176
|
+
const { fleetExec } = await import('./fleet-BxhHefua.mjs');
|
|
1170
1177
|
await fleetExec(command, { cwd });
|
|
1171
1178
|
} else {
|
|
1172
|
-
const { machineExec } = await import('./commands-
|
|
1179
|
+
const { machineExec } = await import('./commands-BABblJRp.mjs');
|
|
1173
1180
|
await machineExec(machineId, command, cwd);
|
|
1174
1181
|
}
|
|
1175
1182
|
} else if (machineSubcommand === "info") {
|
|
1176
|
-
const { machineInfo } = await import('./commands-
|
|
1183
|
+
const { machineInfo } = await import('./commands-BABblJRp.mjs');
|
|
1177
1184
|
let machineId;
|
|
1178
1185
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
1179
1186
|
if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
|
|
@@ -1193,10 +1200,10 @@ async function handleMachineCommand() {
|
|
|
1193
1200
|
level = machineArgs[++i];
|
|
1194
1201
|
}
|
|
1195
1202
|
}
|
|
1196
|
-
const { machineNotify } = await import('./agentCommands-
|
|
1203
|
+
const { machineNotify } = await import('./agentCommands-B23M4vER.mjs');
|
|
1197
1204
|
await machineNotify(message, level);
|
|
1198
1205
|
} else if (machineSubcommand === "ls") {
|
|
1199
|
-
const { machineLs } = await import('./commands-
|
|
1206
|
+
const { machineLs } = await import('./commands-BABblJRp.mjs');
|
|
1200
1207
|
let machineId;
|
|
1201
1208
|
let showHidden = false;
|
|
1202
1209
|
let path;
|
|
@@ -1255,20 +1262,20 @@ Examples:
|
|
|
1255
1262
|
};
|
|
1256
1263
|
const hasFlag = (name) => fleetArgs.includes(`--${name}`);
|
|
1257
1264
|
if (sub === "status") {
|
|
1258
|
-
const { fleetStatus } = await import('./fleet-
|
|
1265
|
+
const { fleetStatus } = await import('./fleet-BxhHefua.mjs');
|
|
1259
1266
|
await fleetStatus();
|
|
1260
1267
|
} else if (sub === "upgrade-claude") {
|
|
1261
|
-
const { fleetUpgradeClaude } = await import('./fleet-
|
|
1268
|
+
const { fleetUpgradeClaude } = await import('./fleet-BxhHefua.mjs');
|
|
1262
1269
|
await fleetUpgradeClaude({ version: flag("version", "-v") });
|
|
1263
1270
|
} else if (sub === "upgrade-svamp") {
|
|
1264
|
-
const { fleetUpgradeSvamp } = await import('./fleet-
|
|
1271
|
+
const { fleetUpgradeSvamp } = await import('./fleet-BxhHefua.mjs');
|
|
1265
1272
|
await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self"), force: hasFlag("force") });
|
|
1266
1273
|
} else if (sub === "daemon-restart") {
|
|
1267
|
-
const { fleetDaemonRestart } = await import('./fleet-
|
|
1274
|
+
const { fleetDaemonRestart } = await import('./fleet-BxhHefua.mjs');
|
|
1268
1275
|
await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
|
|
1269
1276
|
} else if (sub === "push-skill") {
|
|
1270
1277
|
const name = fleetArgs[1];
|
|
1271
|
-
const { fleetPushSkill } = await import('./fleet-
|
|
1278
|
+
const { fleetPushSkill } = await import('./fleet-BxhHefua.mjs');
|
|
1272
1279
|
await fleetPushSkill(name);
|
|
1273
1280
|
} else {
|
|
1274
1281
|
console.error(`Unknown fleet subcommand: ${sub}`);
|
|
@@ -1284,7 +1291,7 @@ async function handleSkillsCommand() {
|
|
|
1284
1291
|
await printSkillsHelp();
|
|
1285
1292
|
return;
|
|
1286
1293
|
}
|
|
1287
|
-
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-
|
|
1294
|
+
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-BHO7rzSh.mjs');
|
|
1288
1295
|
if (skillsSubcommand === "find" || skillsSubcommand === "search") {
|
|
1289
1296
|
const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
1290
1297
|
if (!query) {
|
|
@@ -1331,7 +1338,7 @@ async function loginToHypha() {
|
|
|
1331
1338
|
process.exit(1);
|
|
1332
1339
|
}
|
|
1333
1340
|
const anchor = anchorArg.replace(/\/+$/, "");
|
|
1334
|
-
const { loadInstanceConfig } = await import('./run-
|
|
1341
|
+
const { loadInstanceConfig } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.am; });
|
|
1335
1342
|
let cfg = null;
|
|
1336
1343
|
try {
|
|
1337
1344
|
cfg = await loadInstanceConfig({ anchor, force: true });
|
|
@@ -1442,7 +1449,7 @@ async function logoutFromHypha() {
|
|
|
1442
1449
|
} catch {
|
|
1443
1450
|
}
|
|
1444
1451
|
try {
|
|
1445
|
-
const { clearInstanceConfigCache } = await import('./run-
|
|
1452
|
+
const { clearInstanceConfigCache } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.am; });
|
|
1446
1453
|
clearInstanceConfigCache();
|
|
1447
1454
|
} catch {
|
|
1448
1455
|
}
|
|
@@ -1781,7 +1788,7 @@ async function applyClaudeAuthFlags(argv) {
|
|
|
1781
1788
|
"--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
|
|
1782
1789
|
);
|
|
1783
1790
|
}
|
|
1784
|
-
const mod = await import('./run-
|
|
1791
|
+
const mod = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.an; });
|
|
1785
1792
|
if (hasHypha) {
|
|
1786
1793
|
let url;
|
|
1787
1794
|
const hyphaIdx = argv.indexOf("--use-hypha-proxy");
|
|
@@ -1835,7 +1842,7 @@ async function applyDaemonShareFlag(argv) {
|
|
|
1835
1842
|
}
|
|
1836
1843
|
}
|
|
1837
1844
|
if (collected.length === 0) return;
|
|
1838
|
-
const { updateEnvFile } = await import('./run-
|
|
1845
|
+
const { updateEnvFile } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.an; });
|
|
1839
1846
|
const seen = /* @__PURE__ */ new Set();
|
|
1840
1847
|
const deduped = collected.filter((e) => {
|
|
1841
1848
|
const k = e.toLowerCase();
|
|
@@ -1868,7 +1875,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1868
1875
|
}
|
|
1869
1876
|
});
|
|
1870
1877
|
const message = rest.slice(1).map((a, idx) => ({ a, idx: idx + 1 })).filter(({ a, idx }) => !a.startsWith("-") && !consumed.has(String(idx))).map(({ a }) => a).join(" ");
|
|
1871
|
-
const { wiseAskCli } = await import('./commands-
|
|
1878
|
+
const { wiseAskCli } = await import('./commands-BABblJRp.mjs');
|
|
1872
1879
|
await wiseAskCli(machineId, message, sessionId, { json });
|
|
1873
1880
|
return;
|
|
1874
1881
|
}
|
|
@@ -1880,7 +1887,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1880
1887
|
}
|
|
1881
1888
|
return void 0;
|
|
1882
1889
|
};
|
|
1883
|
-
const { runWiseVoiceCli } = await import('./headlessCli-
|
|
1890
|
+
const { runWiseVoiceCli } = await import('./headlessCli-B-aMhdKx.mjs');
|
|
1884
1891
|
await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
|
|
1885
1892
|
return;
|
|
1886
1893
|
}
|
|
@@ -1898,7 +1905,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1898
1905
|
const mode = valueOf(["--mode"]);
|
|
1899
1906
|
const mission = valueOf(["--mission"]);
|
|
1900
1907
|
const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
|
|
1901
|
-
const { wiseJoinMeetingCli } = await import('./commands-
|
|
1908
|
+
const { wiseJoinMeetingCli } = await import('./commands-BABblJRp.mjs');
|
|
1902
1909
|
await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
|
|
1903
1910
|
return;
|
|
1904
1911
|
}
|
|
@@ -1910,7 +1917,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1910
1917
|
}
|
|
1911
1918
|
return void 0;
|
|
1912
1919
|
};
|
|
1913
|
-
const { wiseLeaveMeetingCli } = await import('./commands-
|
|
1920
|
+
const { wiseLeaveMeetingCli } = await import('./commands-BABblJRp.mjs');
|
|
1914
1921
|
await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
|
|
1915
1922
|
return;
|
|
1916
1923
|
}
|
|
@@ -1934,7 +1941,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1934
1941
|
}
|
|
1935
1942
|
});
|
|
1936
1943
|
const text = rest.slice(1).map((a, idx) => ({ a, idx: idx + 1 })).filter(({ a, idx }) => !a.startsWith("-") && !consumed.has(String(idx))).map(({ a }) => a).join(" ");
|
|
1937
|
-
const { wiseAnnounceCli } = await import('./commands-
|
|
1944
|
+
const { wiseAnnounceCli } = await import('./commands-BABblJRp.mjs');
|
|
1938
1945
|
await wiseAnnounceCli(machineId, text, sessionId, { json });
|
|
1939
1946
|
return;
|
|
1940
1947
|
}
|
|
@@ -1946,7 +1953,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1946
1953
|
}
|
|
1947
1954
|
return void 0;
|
|
1948
1955
|
};
|
|
1949
|
-
const { wiseMeetingsCli } = await import('./commands-
|
|
1956
|
+
const { wiseMeetingsCli } = await import('./commands-BABblJRp.mjs');
|
|
1950
1957
|
await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
|
|
1951
1958
|
return;
|
|
1952
1959
|
}
|
|
@@ -1996,7 +2003,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
1996
2003
|
return;
|
|
1997
2004
|
}
|
|
1998
2005
|
const authArgs = rest.slice(1);
|
|
1999
|
-
const mod = await import('./auth-
|
|
2006
|
+
const mod = await import('./auth-DPZSnISj.mjs');
|
|
2000
2007
|
let action;
|
|
2001
2008
|
try {
|
|
2002
2009
|
action = mod.parseWiseAgentAuthArgs(authArgs);
|
|
@@ -2006,7 +2013,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2006
2013
|
return;
|
|
2007
2014
|
}
|
|
2008
2015
|
if (action) {
|
|
2009
|
-
const { updateEnvFile } = await import('./run-
|
|
2016
|
+
const { updateEnvFile } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.an; });
|
|
2010
2017
|
const updates = mod.buildWiseAgentEnvUpdates(action);
|
|
2011
2018
|
updateEnvFile(updates);
|
|
2012
2019
|
for (const [k, v] of Object.entries(updates)) {
|
|
@@ -2020,7 +2027,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2020
2027
|
}
|
|
2021
2028
|
async function handleDaemonAuthCommand(argv) {
|
|
2022
2029
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2023
|
-
const mod = await import('./run-
|
|
2030
|
+
const mod = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.an; });
|
|
2024
2031
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2025
2032
|
console.log(`
|
|
2026
2033
|
svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
|
|
@@ -2094,8 +2101,8 @@ one step: --use-hypha-proxy / --use-claude-login / --anthropic-base-url URL --an
|
|
|
2094
2101
|
}
|
|
2095
2102
|
async function handleDaemonCodexAuthCommand(argv) {
|
|
2096
2103
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2097
|
-
const { updateEnvFile } = await import('./run-
|
|
2098
|
-
const { resolveCodexProvider } = await import('./run-
|
|
2104
|
+
const { updateEnvFile } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.an; });
|
|
2105
|
+
const { resolveCodexProvider } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.ao; });
|
|
2099
2106
|
const redact = (k) => k && k.length > 10 ? `${k.slice(0, 6)}\u2026${k.slice(-4)}` : k ? "***" : "(unset)";
|
|
2100
2107
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2101
2108
|
console.log(`
|
|
@@ -2427,7 +2434,7 @@ Examples:
|
|
|
2427
2434
|
async function printSkillsHelp() {
|
|
2428
2435
|
let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
|
|
2429
2436
|
try {
|
|
2430
|
-
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-
|
|
2437
|
+
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.av; });
|
|
2431
2438
|
browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
|
|
2432
2439
|
} catch {
|
|
2433
2440
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
|
2
2
|
import { execSync, execFileSync } from 'node:child_process';
|
|
3
3
|
import { basename, resolve, join, isAbsolute } from 'node:path';
|
|
4
4
|
import os from 'node:os';
|
|
5
|
-
import {
|
|
5
|
+
import { a3 as formatHandle, a4 as normalizeAllowedUser, a5 as loadSecurityContextConfig, a6 as resolveSecurityContext, a7 as buildSecurityContextFromFlags, a8 as mergeSecurityContexts, c as connectToHypha, a9 as buildSessionShareUrl, aa as computeOutboundHop, i as shortId, ab as registerAwaitingReply, ac as buildMachineShareUrl, ad as parseHandle, ae as handleMatchesMetadata } from './run-CRTzyKbn.mjs';
|
|
6
6
|
import 'os';
|
|
7
7
|
import 'fs/promises';
|
|
8
8
|
import 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os from 'os';
|
|
2
2
|
import fs__default from 'fs';
|
|
3
3
|
import { resolve, join, relative } from 'path';
|
|
4
|
-
import {
|
|
4
|
+
import { Q as parseFrontmatter, T as getSkillsServer, U as getSkillsWorkspaceName, V as getSkillsCollectionName, W as fetchWithTimeout, X as searchSkills, Y as SKILLS_DIR, Z as getSkillInfo, _ as downloadSkillFile, $ as listSkillFiles } from './run-CRTzyKbn.mjs';
|
|
5
5
|
import 'fs/promises';
|
|
6
6
|
import 'url';
|
|
7
7
|
import 'child_process';
|
|
@@ -60,7 +60,7 @@ async function serviceExpose(args) {
|
|
|
60
60
|
process.exit(1);
|
|
61
61
|
}
|
|
62
62
|
if (foreground) {
|
|
63
|
-
const { runFrpcTunnel } = await import('./frpc-
|
|
63
|
+
const { runFrpcTunnel } = await import('./frpc-BsR6aGNJ.mjs');
|
|
64
64
|
await runFrpcTunnel(name, ports, void 0, {
|
|
65
65
|
group,
|
|
66
66
|
groupKey,
|
|
@@ -70,7 +70,7 @@ async function serviceExpose(args) {
|
|
|
70
70
|
});
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
73
|
+
const { connectAndGetMachine } = await import('./commands-BABblJRp.mjs');
|
|
74
74
|
const { server, machine } = await connectAndGetMachine();
|
|
75
75
|
try {
|
|
76
76
|
const status = await machine.tunnelStart({
|
|
@@ -92,7 +92,7 @@ async function serviceExpose(args) {
|
|
|
92
92
|
console.log(` port ${port}: ${url}`);
|
|
93
93
|
}
|
|
94
94
|
if (process.env.SVAMP_SESSION_ID) {
|
|
95
|
-
const { autoAddSessionLink } = await import('./agentCommands-
|
|
95
|
+
const { autoAddSessionLink } = await import('./agentCommands-B23M4vER.mjs');
|
|
96
96
|
let added = 0;
|
|
97
97
|
for (const [port, url] of urlEntries) {
|
|
98
98
|
const label = urlEntries.length > 1 ? `${name}:${port}` : name;
|
|
@@ -129,7 +129,7 @@ async function serviceServe(args) {
|
|
|
129
129
|
console.log(`Serving ${resolvedDir}`);
|
|
130
130
|
const servePort = 18080;
|
|
131
131
|
const http = await import('http');
|
|
132
|
-
const { serveStaticMount } = await import('./run-
|
|
132
|
+
const { serveStaticMount } = await import('./run-CRTzyKbn.mjs').then(function (n) { return n.al; });
|
|
133
133
|
const server = http.createServer((req, res) => {
|
|
134
134
|
const u = new URL(req.url || "/", "http://127.0.0.1");
|
|
135
135
|
let rel = u.pathname;
|
|
@@ -140,7 +140,7 @@ async function serviceServe(args) {
|
|
|
140
140
|
server.once("error", reject);
|
|
141
141
|
server.listen(servePort, "127.0.0.1", () => resolve());
|
|
142
142
|
});
|
|
143
|
-
const { runFrpcTunnel } = await import('./frpc-
|
|
143
|
+
const { runFrpcTunnel } = await import('./frpc-BsR6aGNJ.mjs');
|
|
144
144
|
void server;
|
|
145
145
|
await runFrpcTunnel(name, [servePort]);
|
|
146
146
|
} catch (err) {
|
|
@@ -150,7 +150,7 @@ async function serviceServe(args) {
|
|
|
150
150
|
}
|
|
151
151
|
async function serviceList(_args) {
|
|
152
152
|
try {
|
|
153
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
153
|
+
const { connectAndGetMachine } = await import('./commands-BABblJRp.mjs');
|
|
154
154
|
const { server, machine } = await connectAndGetMachine();
|
|
155
155
|
try {
|
|
156
156
|
const tunnels = await machine.tunnelList({});
|
|
@@ -190,7 +190,7 @@ async function serviceDelete(args) {
|
|
|
190
190
|
process.exit(1);
|
|
191
191
|
}
|
|
192
192
|
try {
|
|
193
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
193
|
+
const { connectAndGetMachine } = await import('./commands-BABblJRp.mjs');
|
|
194
194
|
const { server, machine } = await connectAndGetMachine();
|
|
195
195
|
try {
|
|
196
196
|
await machine.tunnelStop({ name });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { execSync } from 'node:child_process';
|
|
2
2
|
import { existsSync, readFileSync } from 'node:fs';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { f as flushAndExit } from './cli-
|
|
5
|
-
import { j as resolveProjectRoot, q as searchIssues, o as listIssues, l as resumeIssue, p as pauseIssue, m as addComment, u as updateIssue, k as getIssue, t as isVisibleTo, H as summarize, n as addIssue } from './run-
|
|
4
|
+
import { f as flushAndExit } from './cli-yOuFbsef.mjs';
|
|
5
|
+
import { j as resolveProjectRoot, q as searchIssues, o as listIssues, l as resumeIssue, p as pauseIssue, m as addComment, u as updateIssue, k as getIssue, t as isVisibleTo, H as summarize, n as addIssue } from './run-CRTzyKbn.mjs';
|
|
6
6
|
import './serviceManager-hlOVxkhW.mjs';
|
|
7
7
|
import 'os';
|
|
8
8
|
import 'fs/promises';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
2
|
import { resolve } from 'node:path';
|
|
3
|
-
import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-
|
|
3
|
+
import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-BABblJRp.mjs';
|
|
4
4
|
import { execFileSync } from 'node:child_process';
|
|
5
|
-
import { u as updateIssue, m as addComment, n as addIssue, i as shortId } from './run-
|
|
5
|
+
import { u as updateIssue, m as addComment, n as addIssue, i as shortId } from './run-CRTzyKbn.mjs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'os';
|
|
8
8
|
import 'fs/promises';
|