svamp-cli 0.2.144 → 0.2.146

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.
@@ -2,7 +2,7 @@ import { existsSync, readFileSync, mkdirSync, writeFileSync, renameSync } from '
2
2
  import { join, dirname } from 'node:path';
3
3
  import os from 'node:os';
4
4
  import { requireNotSandboxed } from './sandboxDetect-DNTcbgWD.mjs';
5
- import { m as shortId } from './run-4FVCBRiz.mjs';
5
+ import { m as shortId } from './run-EWIn-Drp.mjs';
6
6
  import 'os';
7
7
  import 'fs/promises';
8
8
  import 'fs';
@@ -96,7 +96,7 @@ async function sessionSetTitle(title) {
96
96
  }
97
97
  async function sessionSetProjectDescription(description) {
98
98
  const dir = process.cwd();
99
- const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a1; });
99
+ const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a1; });
100
100
  const desc = sanitizeDescription(description, 240);
101
101
  if (!desc) {
102
102
  console.error("Project description is empty.");
@@ -180,7 +180,7 @@ async function sessionBroadcast(action, args) {
180
180
  console.log(`Broadcast sent: ${action}`);
181
181
  }
182
182
  async function connectToMachineService() {
183
- const { connectAndGetMachine } = await import('./commands-Fpw-qO_m.mjs');
183
+ const { connectAndGetMachine } = await import('./commands-C-g9lywx.mjs');
184
184
  return connectAndGetMachine();
185
185
  }
186
186
  function buildInboxMessage(args) {
@@ -258,7 +258,7 @@ async function inboxSend(targetSessionId, opts) {
258
258
  console.error("Message body is required.");
259
259
  process.exit(1);
260
260
  }
261
- const { connectAndResolveSession } = await import('./commands-Fpw-qO_m.mjs');
261
+ const { connectAndResolveSession } = await import('./commands-C-g9lywx.mjs');
262
262
  let server;
263
263
  try {
264
264
  const { targetId, messageId } = await inboxSendCore(
@@ -312,7 +312,7 @@ async function inboxReply(messageId, body) {
312
312
  console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
313
313
  process.exit(1);
314
314
  }
315
- const { connectAndResolveSession } = await import('./commands-Fpw-qO_m.mjs');
315
+ const { connectAndResolveSession } = await import('./commands-C-g9lywx.mjs');
316
316
  const { server: localServer, machine: localMachine } = await connectToMachineService();
317
317
  let localDisconnected = false;
318
318
  const disconnectLocal = async () => {
@@ -1,4 +1,4 @@
1
- import { D as resolveModel } from './run-4FVCBRiz.mjs';
1
+ import { D as resolveModel } from './run-EWIn-Drp.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
package/dist/cli.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { e as clearStopMarker, f as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-4FVCBRiz.mjs';
1
+ import { e as clearStopMarker, f as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-EWIn-Drp.mjs';
2
2
  import { ensureSupervisorViaServiceManager, LAUNCHD_LABEL } from './serviceManager-hlOVxkhW.mjs';
3
3
  import 'os';
4
4
  import 'fs/promises';
@@ -34,7 +34,7 @@ const subcommand = args[0];
34
34
  let daemonSubcommand = args[1];
35
35
  async function main() {
36
36
  try {
37
- const { getLoadedConfig } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a8; });
37
+ const { getLoadedConfig } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a8; });
38
38
  getLoadedConfig();
39
39
  } catch {
40
40
  }
@@ -51,7 +51,7 @@ async function main() {
51
51
  console.error(`svamp daemon restart: ${err.message || err}`);
52
52
  process.exit(1);
53
53
  }
54
- const { restartDaemon } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.aa; });
54
+ const { restartDaemon } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.aa; });
55
55
  await restartDaemon();
56
56
  process.exit(0);
57
57
  }
@@ -344,7 +344,7 @@ async function main() {
344
344
  console.error("svamp service: Service commands are not available in sandboxed sessions.");
345
345
  process.exit(1);
346
346
  }
347
- const { handleServiceCommand } = await import('./commands-CvG0C0NI.mjs');
347
+ const { handleServiceCommand } = await import('./commands-DAaj-lDd.mjs');
348
348
  await handleServiceCommand();
349
349
  } else if (subcommand === "serve") {
350
350
  const { isSandboxed: isSandboxedServe } = await import('./sandboxDetect-DNTcbgWD.mjs');
@@ -352,7 +352,7 @@ async function main() {
352
352
  console.error("svamp serve: Serve commands are not available in sandboxed sessions.");
353
353
  process.exit(1);
354
354
  }
355
- const { handleServeCommand } = await import('./serveCommands-BIEWgKB8.mjs');
355
+ const { handleServeCommand } = await import('./serveCommands-BrctGwlB.mjs');
356
356
  await handleServeCommand();
357
357
  process.exit(0);
358
358
  } else if (subcommand === "process" || subcommand === "proc") {
@@ -361,7 +361,7 @@ async function main() {
361
361
  console.error("svamp process: Process commands are not available in sandboxed sessions.");
362
362
  process.exit(1);
363
363
  }
364
- const { processCommand } = await import('./commands-C5gbnP4S.mjs');
364
+ const { processCommand } = await import('./commands-Dm4Jn8EO.mjs');
365
365
  let machineId;
366
366
  const processArgs = args.slice(1);
367
367
  const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
@@ -374,15 +374,19 @@ async function main() {
374
374
  return true;
375
375
  }), machineId);
376
376
  process.exit(0);
377
+ } else if (subcommand === "issue" || subcommand === "issues") {
378
+ const { issueCommand } = await import('./commands-CnTCySqf.mjs');
379
+ await issueCommand(args.slice(1));
380
+ process.exit(0);
377
381
  } else if (subcommand === "trigger" || subcommand === "triggers" || subcommand === "routine" || subcommand === "routines") {
378
- const { routineCommand } = await import('./commands-CbVXQCul.mjs');
382
+ const { routineCommand } = await import('./commands-DGdTNagn.mjs');
379
383
  await routineCommand(args.slice(1));
380
384
  process.exit(0);
381
385
  } else if (subcommand === "wise-agent" || subcommand === "wise") {
382
386
  await handleWiseAgentCommand(args.slice(1));
383
387
  process.exit(0);
384
388
  } else if (subcommand === "feature" || subcommand === "crew") {
385
- const { crewCommand } = await import('./commands-DdQDwlts.mjs');
389
+ const { crewCommand } = await import('./commands-BnfINAHT.mjs');
386
390
  await crewCommand(args.slice(1));
387
391
  process.exit(0);
388
392
  } else if (subcommand === "--help" || subcommand === "-h") {
@@ -390,7 +394,7 @@ async function main() {
390
394
  } else if (!subcommand || subcommand === "start") {
391
395
  await handleInteractiveCommand();
392
396
  } else if (subcommand === "--version" || subcommand === "-v") {
393
- const pkg = await import('./package-CJz438K-.mjs').catch(() => ({ default: { version: "unknown" } }));
397
+ const pkg = await import('./package-Bk1uInz9.mjs').catch(() => ({ default: { version: "unknown" } }));
394
398
  console.log(`svamp version: ${pkg.default.version}`);
395
399
  } else {
396
400
  console.error(`Unknown command: ${subcommand}`);
@@ -399,7 +403,7 @@ async function main() {
399
403
  }
400
404
  }
401
405
  async function handleInteractiveCommand() {
402
- const { runInteractive } = await import('./run-B6-d3Gc7.mjs');
406
+ const { runInteractive } = await import('./run-DePAEN5V.mjs');
403
407
  const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
404
408
  let directory = process.cwd();
405
409
  let resumeSessionId;
@@ -444,7 +448,7 @@ async function handleAgentCommand() {
444
448
  return;
445
449
  }
446
450
  if (agentArgs[0] === "list") {
447
- const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a4; });
451
+ const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a4; });
448
452
  console.log("Known agents:");
449
453
  for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
450
454
  console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
@@ -456,7 +460,7 @@ async function handleAgentCommand() {
456
460
  console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
457
461
  return;
458
462
  }
459
- const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a4; });
463
+ const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a4; });
460
464
  let cwd = process.cwd();
461
465
  const filteredArgs = [];
462
466
  for (let i = 0; i < agentArgs.length; i++) {
@@ -480,12 +484,12 @@ async function handleAgentCommand() {
480
484
  console.log(`Starting ${config.agentName} agent in ${cwd}...`);
481
485
  let backend;
482
486
  if (KNOWN_MCP_AGENTS[config.agentName]) {
483
- const { CodexMcpBackend } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a5; });
487
+ const { CodexMcpBackend } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a5; });
484
488
  backend = new CodexMcpBackend({ cwd, log: logFn });
485
489
  } else {
486
- const { AcpBackend } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a3; });
487
- const { GeminiTransport } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a6; });
488
- const { DefaultTransport } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a2; });
490
+ const { AcpBackend } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a3; });
491
+ const { GeminiTransport } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a6; });
492
+ const { DefaultTransport } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a2; });
489
493
  const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
490
494
  backend = new AcpBackend({
491
495
  agentName: config.agentName,
@@ -612,7 +616,7 @@ async function handleSessionCommand() {
612
616
  process.exit(1);
613
617
  }
614
618
  }
615
- const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionChecklist, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-Fpw-qO_m.mjs');
619
+ const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionChecklist, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-C-g9lywx.mjs');
616
620
  const parseFlagStr = (flag, shortFlag) => {
617
621
  for (let i = 1; i < sessionArgs.length; i++) {
618
622
  if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
@@ -680,7 +684,7 @@ async function handleSessionCommand() {
680
684
  allowDomain.push(sessionArgs[++i]);
681
685
  }
682
686
  }
683
- const { parseShareArg } = await import('./commands-Fpw-qO_m.mjs');
687
+ const { parseShareArg } = await import('./commands-C-g9lywx.mjs');
684
688
  const shareEntries = share.map((s) => parseShareArg(s));
685
689
  await sessionSpawn(agent, dir, targetMachineId, {
686
690
  message,
@@ -765,7 +769,7 @@ async function handleSessionCommand() {
765
769
  console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
766
770
  process.exit(1);
767
771
  }
768
- const { sessionEditMessage } = await import('./commands-Fpw-qO_m.mjs');
772
+ const { sessionEditMessage } = await import('./commands-C-g9lywx.mjs');
769
773
  await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
770
774
  } else if (sessionSubcommand === "refine") {
771
775
  if (!sessionArgs[1] || !sessionArgs[2]) {
@@ -773,7 +777,7 @@ async function handleSessionCommand() {
773
777
  console.error(" Asks the agent to revise its latest reply in place (no extra round).");
774
778
  process.exit(1);
775
779
  }
776
- const { sessionRefineLastReply } = await import('./commands-Fpw-qO_m.mjs');
780
+ const { sessionRefineLastReply } = await import('./commands-C-g9lywx.mjs');
777
781
  await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
778
782
  } else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
779
783
  if (!sessionArgs[1]) {
@@ -781,7 +785,7 @@ async function handleSessionCommand() {
781
785
  console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
782
786
  process.exit(1);
783
787
  }
784
- const { sessionUndoEdit } = await import('./commands-Fpw-qO_m.mjs');
788
+ const { sessionUndoEdit } = await import('./commands-C-g9lywx.mjs');
785
789
  await sessionUndoEdit(sessionArgs[1], targetMachineId);
786
790
  } else if (sessionSubcommand === "query") {
787
791
  const dir = sessionArgs[1];
@@ -791,7 +795,7 @@ async function handleSessionCommand() {
791
795
  console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
792
796
  process.exit(1);
793
797
  }
794
- const { sessionQuery } = await import('./commands-Fpw-qO_m.mjs');
798
+ const { sessionQuery } = await import('./commands-C-g9lywx.mjs');
795
799
  await sessionQuery(dir, prompt, targetMachineId, {
796
800
  timeout: parseFlagInt("--timeout"),
797
801
  json: hasFlag("--json"),
@@ -824,7 +828,7 @@ async function handleSessionCommand() {
824
828
  console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
825
829
  process.exit(1);
826
830
  }
827
- const { sessionApprove } = await import('./commands-Fpw-qO_m.mjs');
831
+ const { sessionApprove } = await import('./commands-C-g9lywx.mjs');
828
832
  const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
829
833
  await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
830
834
  json: hasFlag("--json")
@@ -834,7 +838,7 @@ async function handleSessionCommand() {
834
838
  console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
835
839
  process.exit(1);
836
840
  }
837
- const { sessionDeny } = await import('./commands-Fpw-qO_m.mjs');
841
+ const { sessionDeny } = await import('./commands-C-g9lywx.mjs');
838
842
  const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
839
843
  await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
840
844
  json: hasFlag("--json")
@@ -912,7 +916,7 @@ async function handleSessionCommand() {
912
916
  console.error("Usage: svamp session set-title <title>");
913
917
  process.exit(1);
914
918
  }
915
- const { sessionSetTitle } = await import('./agentCommands-CcEqWqKV.mjs');
919
+ const { sessionSetTitle } = await import('./agentCommands-OSscKEu_.mjs');
916
920
  await sessionSetTitle(title);
917
921
  } else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
918
922
  const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
@@ -920,7 +924,7 @@ async function handleSessionCommand() {
920
924
  console.error("Usage: svamp session set-project-description <text>");
921
925
  process.exit(1);
922
926
  }
923
- const { sessionSetProjectDescription } = await import('./agentCommands-CcEqWqKV.mjs');
927
+ const { sessionSetProjectDescription } = await import('./agentCommands-OSscKEu_.mjs');
924
928
  await sessionSetProjectDescription(desc);
925
929
  } else if (sessionSubcommand === "set-link") {
926
930
  const url = sessionArgs[1];
@@ -929,7 +933,7 @@ async function handleSessionCommand() {
929
933
  process.exit(1);
930
934
  }
931
935
  const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
932
- const { sessionSetLink } = await import('./agentCommands-CcEqWqKV.mjs');
936
+ const { sessionSetLink } = await import('./agentCommands-OSscKEu_.mjs');
933
937
  await sessionSetLink(url, label);
934
938
  } else if (sessionSubcommand === "notify") {
935
939
  const message = sessionArgs[1];
@@ -938,7 +942,7 @@ async function handleSessionCommand() {
938
942
  process.exit(1);
939
943
  }
940
944
  const level = parseFlagStr("--level") || "info";
941
- const { sessionNotify } = await import('./agentCommands-CcEqWqKV.mjs');
945
+ const { sessionNotify } = await import('./agentCommands-OSscKEu_.mjs');
942
946
  await sessionNotify(message, level);
943
947
  } else if (sessionSubcommand === "broadcast") {
944
948
  const action = sessionArgs[1];
@@ -946,7 +950,7 @@ async function handleSessionCommand() {
946
950
  console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
947
951
  process.exit(1);
948
952
  }
949
- const { sessionBroadcast } = await import('./agentCommands-CcEqWqKV.mjs');
953
+ const { sessionBroadcast } = await import('./agentCommands-OSscKEu_.mjs');
950
954
  await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
951
955
  } else if (sessionSubcommand === "inbox") {
952
956
  const inboxSubcmd = sessionArgs[1];
@@ -957,7 +961,7 @@ async function handleSessionCommand() {
957
961
  process.exit(1);
958
962
  }
959
963
  if (agentSessionId) {
960
- const { inboxSend } = await import('./agentCommands-CcEqWqKV.mjs');
964
+ const { inboxSend } = await import('./agentCommands-OSscKEu_.mjs');
961
965
  await inboxSend(sessionArgs[2], {
962
966
  body: sessionArgs[3],
963
967
  subject: parseFlagStr("--subject"),
@@ -972,7 +976,7 @@ async function handleSessionCommand() {
972
976
  }
973
977
  } else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
974
978
  if (agentSessionId && !sessionArgs[2]) {
975
- const { inboxList } = await import('./agentCommands-CcEqWqKV.mjs');
979
+ const { inboxList } = await import('./agentCommands-OSscKEu_.mjs');
976
980
  await inboxList({
977
981
  unread: hasFlag("--unread"),
978
982
  limit: parseFlagInt("--limit"),
@@ -994,7 +998,7 @@ async function handleSessionCommand() {
994
998
  process.exit(1);
995
999
  }
996
1000
  if (agentSessionId && !sessionArgs[3]) {
997
- const { inboxList } = await import('./agentCommands-CcEqWqKV.mjs');
1001
+ const { inboxList } = await import('./agentCommands-OSscKEu_.mjs');
998
1002
  await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
999
1003
  } else if (sessionArgs[3]) {
1000
1004
  await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
@@ -1004,7 +1008,7 @@ async function handleSessionCommand() {
1004
1008
  }
1005
1009
  } else if (inboxSubcmd === "reply") {
1006
1010
  if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
1007
- const { inboxReply } = await import('./agentCommands-CcEqWqKV.mjs');
1011
+ const { inboxReply } = await import('./agentCommands-OSscKEu_.mjs');
1008
1012
  await inboxReply(sessionArgs[2], sessionArgs[3]);
1009
1013
  } else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
1010
1014
  await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
@@ -1040,7 +1044,7 @@ async function handleMachineCommand() {
1040
1044
  return;
1041
1045
  }
1042
1046
  if (machineSubcommand === "share") {
1043
- const { machineShare } = await import('./commands-Fpw-qO_m.mjs');
1047
+ const { machineShare } = await import('./commands-C-g9lywx.mjs');
1044
1048
  let machineId;
1045
1049
  const shareArgs = [];
1046
1050
  for (let i = 1; i < machineArgs.length; i++) {
@@ -1091,14 +1095,14 @@ async function handleMachineCommand() {
1091
1095
  process.exit(1);
1092
1096
  }
1093
1097
  if (all) {
1094
- const { fleetExec } = await import('./fleet-B8iKiJyy.mjs');
1098
+ const { fleetExec } = await import('./fleet-CCHM-ooo.mjs');
1095
1099
  await fleetExec(command, { cwd });
1096
1100
  } else {
1097
- const { machineExec } = await import('./commands-Fpw-qO_m.mjs');
1101
+ const { machineExec } = await import('./commands-C-g9lywx.mjs');
1098
1102
  await machineExec(machineId, command, cwd);
1099
1103
  }
1100
1104
  } else if (machineSubcommand === "info") {
1101
- const { machineInfo } = await import('./commands-Fpw-qO_m.mjs');
1105
+ const { machineInfo } = await import('./commands-C-g9lywx.mjs');
1102
1106
  let machineId;
1103
1107
  for (let i = 1; i < machineArgs.length; i++) {
1104
1108
  if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
@@ -1118,10 +1122,10 @@ async function handleMachineCommand() {
1118
1122
  level = machineArgs[++i];
1119
1123
  }
1120
1124
  }
1121
- const { machineNotify } = await import('./agentCommands-CcEqWqKV.mjs');
1125
+ const { machineNotify } = await import('./agentCommands-OSscKEu_.mjs');
1122
1126
  await machineNotify(message, level);
1123
1127
  } else if (machineSubcommand === "ls") {
1124
- const { machineLs } = await import('./commands-Fpw-qO_m.mjs');
1128
+ const { machineLs } = await import('./commands-C-g9lywx.mjs');
1125
1129
  let machineId;
1126
1130
  let showHidden = false;
1127
1131
  let path;
@@ -1177,20 +1181,20 @@ Examples:
1177
1181
  };
1178
1182
  const hasFlag = (name) => fleetArgs.includes(`--${name}`);
1179
1183
  if (sub === "status") {
1180
- const { fleetStatus } = await import('./fleet-B8iKiJyy.mjs');
1184
+ const { fleetStatus } = await import('./fleet-CCHM-ooo.mjs');
1181
1185
  await fleetStatus();
1182
1186
  } else if (sub === "upgrade-claude") {
1183
- const { fleetUpgradeClaude } = await import('./fleet-B8iKiJyy.mjs');
1187
+ const { fleetUpgradeClaude } = await import('./fleet-CCHM-ooo.mjs');
1184
1188
  await fleetUpgradeClaude({ version: flag("version", "-v") });
1185
1189
  } else if (sub === "upgrade-svamp") {
1186
- const { fleetUpgradeSvamp } = await import('./fleet-B8iKiJyy.mjs');
1190
+ const { fleetUpgradeSvamp } = await import('./fleet-CCHM-ooo.mjs');
1187
1191
  await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self") });
1188
1192
  } else if (sub === "daemon-restart") {
1189
- const { fleetDaemonRestart } = await import('./fleet-B8iKiJyy.mjs');
1193
+ const { fleetDaemonRestart } = await import('./fleet-CCHM-ooo.mjs');
1190
1194
  await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
1191
1195
  } else if (sub === "push-skill") {
1192
1196
  const name = fleetArgs[1];
1193
- const { fleetPushSkill } = await import('./fleet-B8iKiJyy.mjs');
1197
+ const { fleetPushSkill } = await import('./fleet-CCHM-ooo.mjs');
1194
1198
  await fleetPushSkill(name);
1195
1199
  } else {
1196
1200
  console.error(`Unknown fleet subcommand: ${sub}`);
@@ -1206,7 +1210,7 @@ async function handleSkillsCommand() {
1206
1210
  await printSkillsHelp();
1207
1211
  return;
1208
1212
  }
1209
- const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-DujeUMvp.mjs');
1213
+ const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-2-F0PDaF.mjs');
1210
1214
  if (skillsSubcommand === "find" || skillsSubcommand === "search") {
1211
1215
  const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
1212
1216
  if (!query) {
@@ -1253,7 +1257,7 @@ async function loginToHypha() {
1253
1257
  process.exit(1);
1254
1258
  }
1255
1259
  const anchor = anchorArg.replace(/\/+$/, "");
1256
- const { loadInstanceConfig } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a8; });
1260
+ const { loadInstanceConfig } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a8; });
1257
1261
  let cfg = null;
1258
1262
  try {
1259
1263
  cfg = await loadInstanceConfig({ anchor, force: true });
@@ -1364,7 +1368,7 @@ async function logoutFromHypha() {
1364
1368
  } catch {
1365
1369
  }
1366
1370
  try {
1367
- const { clearInstanceConfigCache } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a8; });
1371
+ const { clearInstanceConfigCache } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a8; });
1368
1372
  clearInstanceConfigCache();
1369
1373
  } catch {
1370
1374
  }
@@ -1702,7 +1706,7 @@ async function applyClaudeAuthFlags(argv) {
1702
1706
  "--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
1703
1707
  );
1704
1708
  }
1705
- const mod = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a7; });
1709
+ const mod = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a7; });
1706
1710
  if (hasHypha) {
1707
1711
  let url;
1708
1712
  const hyphaIdx = argv.indexOf("--use-hypha-proxy");
@@ -1756,7 +1760,7 @@ async function applyDaemonShareFlag(argv) {
1756
1760
  }
1757
1761
  }
1758
1762
  if (collected.length === 0) return;
1759
- const { updateEnvFile } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a7; });
1763
+ const { updateEnvFile } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a7; });
1760
1764
  const seen = /* @__PURE__ */ new Set();
1761
1765
  const deduped = collected.filter((e) => {
1762
1766
  const k = e.toLowerCase();
@@ -1789,7 +1793,7 @@ async function handleWiseAgentCommand(rest) {
1789
1793
  }
1790
1794
  });
1791
1795
  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(" ");
1792
- const { wiseAskCli } = await import('./commands-Fpw-qO_m.mjs');
1796
+ const { wiseAskCli } = await import('./commands-C-g9lywx.mjs');
1793
1797
  await wiseAskCli(machineId, message, sessionId, { json });
1794
1798
  return;
1795
1799
  }
@@ -1801,7 +1805,7 @@ async function handleWiseAgentCommand(rest) {
1801
1805
  }
1802
1806
  return void 0;
1803
1807
  };
1804
- const { runWiseVoiceCli } = await import('./headlessCli-Dziw5C0a.mjs');
1808
+ const { runWiseVoiceCli } = await import('./headlessCli-DBt1SifE.mjs');
1805
1809
  await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
1806
1810
  return;
1807
1811
  }
@@ -1817,7 +1821,7 @@ async function handleWiseAgentCommand(rest) {
1817
1821
  const sessionId = rest.includes("--global") ? void 0 : valueOf(["--session", "-s"]);
1818
1822
  const json = rest.includes("--json");
1819
1823
  const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
1820
- const { wiseJoinMeetingCli } = await import('./commands-Fpw-qO_m.mjs');
1824
+ const { wiseJoinMeetingCli } = await import('./commands-C-g9lywx.mjs');
1821
1825
  await wiseJoinMeetingCli(machineId, url, sessionId, { json });
1822
1826
  return;
1823
1827
  }
@@ -1829,7 +1833,7 @@ async function handleWiseAgentCommand(rest) {
1829
1833
  }
1830
1834
  return void 0;
1831
1835
  };
1832
- const { wiseLeaveMeetingCli } = await import('./commands-Fpw-qO_m.mjs');
1836
+ const { wiseLeaveMeetingCli } = await import('./commands-C-g9lywx.mjs');
1833
1837
  await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
1834
1838
  return;
1835
1839
  }
@@ -1841,7 +1845,7 @@ async function handleWiseAgentCommand(rest) {
1841
1845
  }
1842
1846
  return void 0;
1843
1847
  };
1844
- const { wiseMeetingsCli } = await import('./commands-Fpw-qO_m.mjs');
1848
+ const { wiseMeetingsCli } = await import('./commands-C-g9lywx.mjs');
1845
1849
  await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
1846
1850
  return;
1847
1851
  }
@@ -1886,7 +1890,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1886
1890
  return;
1887
1891
  }
1888
1892
  const authArgs = rest.slice(1);
1889
- const mod = await import('./auth-Cn-pDzkt.mjs');
1893
+ const mod = await import('./auth-DXr8WGEh.mjs');
1890
1894
  let action;
1891
1895
  try {
1892
1896
  action = mod.parseWiseAgentAuthArgs(authArgs);
@@ -1896,7 +1900,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1896
1900
  return;
1897
1901
  }
1898
1902
  if (action) {
1899
- const { updateEnvFile } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a7; });
1903
+ const { updateEnvFile } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a7; });
1900
1904
  const updates = mod.buildWiseAgentEnvUpdates(action);
1901
1905
  updateEnvFile(updates);
1902
1906
  for (const [k, v] of Object.entries(updates)) {
@@ -1910,7 +1914,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1910
1914
  }
1911
1915
  async function handleDaemonAuthCommand(argv) {
1912
1916
  const sub = (argv[0] || "status").toLowerCase();
1913
- const mod = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a7; });
1917
+ const mod = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a7; });
1914
1918
  if (sub === "--help" || sub === "-h" || sub === "help") {
1915
1919
  console.log(`
1916
1920
  svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
@@ -2223,7 +2227,7 @@ Examples:
2223
2227
  async function printSkillsHelp() {
2224
2228
  let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
2225
2229
  try {
2226
- const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-4FVCBRiz.mjs').then(function (n) { return n.a9; });
2230
+ const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-EWIn-Drp.mjs').then(function (n) { return n.a9; });
2227
2231
  browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
2228
2232
  } catch {
2229
2233
  }
@@ -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 { p as parseFrontmatter, n as getSkillsServer, o as getSkillsWorkspaceName, q as getSkillsCollectionName, t as fetchWithTimeout, u as searchSkills, v as SKILLS_DIR, w as getSkillInfo, x as downloadSkillFile, y as listSkillFiles } from './run-4FVCBRiz.mjs';
4
+ import { p as parseFrontmatter, n as getSkillsServer, o as getSkillsWorkspaceName, q as getSkillsCollectionName, t as fetchWithTimeout, u as searchSkills, v as SKILLS_DIR, w as getSkillInfo, x as downloadSkillFile, y as listSkillFiles } from './run-EWIn-Drp.mjs';
5
5
  import 'fs/promises';
6
6
  import 'url';
7
7
  import 'child_process';
@@ -1,7 +1,7 @@
1
1
  import { existsSync } from 'node:fs';
2
- import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-Fpw-qO_m.mjs';
2
+ import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-C-g9lywx.mjs';
3
3
  import { execSync } from 'node:child_process';
4
- import { m as shortId } from './run-4FVCBRiz.mjs';
4
+ import { m as shortId } from './run-EWIn-Drp.mjs';
5
5
  import 'node:path';
6
6
  import 'node:os';
7
7
  import 'os';
@@ -2,7 +2,7 @@ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
2
2
  import { execSync } from 'node:child_process';
3
3
  import { basename, resolve, join, isAbsolute } from 'node:path';
4
4
  import os from 'node:os';
5
- import { I as formatHandle, J as normalizeAllowedUser, K as loadSecurityContextConfig, L as resolveSecurityContext, M as buildSecurityContextFromFlags, N as mergeSecurityContexts, c as connectToHypha, O as buildSessionShareUrl, P as validateChecklist, Q as computeOutboundHop, m as shortId, T as buildMachineShareUrl, U as summarize, V as newItem, W as parseHandle, X as handleMatchesMetadata } from './run-4FVCBRiz.mjs';
5
+ import { I as formatHandle, J as normalizeAllowedUser, K as loadSecurityContextConfig, L as resolveSecurityContext, M as buildSecurityContextFromFlags, N as mergeSecurityContexts, c as connectToHypha, O as buildSessionShareUrl, P as validateChecklist, Q as computeOutboundHop, m as shortId, T as buildMachineShareUrl, U as summarize, V as newItem, W as parseHandle, X as handleMatchesMetadata } from './run-EWIn-Drp.mjs';
6
6
  import 'os';
7
7
  import 'fs/promises';
8
8
  import 'fs';