svamp-cli 0.2.165 → 0.2.166

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-KCqpMQJZ.mjs';
5
+ import { w as shortId } from './run-DEfioSLJ.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-KCqpMQJZ.mjs').then(function (n) { return n.a1; });
99
+ const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.a9; });
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-D2Zpi3G8.mjs');
183
+ const { connectAndGetMachine } = await import('./commands-DbEd_EMK.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-D2Zpi3G8.mjs');
261
+ const { connectAndResolveSession } = await import('./commands-DbEd_EMK.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-D2Zpi3G8.mjs');
315
+ const { connectAndResolveSession } = await import('./commands-DbEd_EMK.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-KCqpMQJZ.mjs';
1
+ import { L as resolveModel } from './run-DEfioSLJ.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-KCqpMQJZ.mjs';
1
+ import { e as clearStopMarker, f as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-DEfioSLJ.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-KCqpMQJZ.mjs').then(function (n) { return n.a8; });
37
+ const { getLoadedConfig } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ag; });
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-KCqpMQJZ.mjs').then(function (n) { return n.aa; });
54
+ const { restartDaemon } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ai; });
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-Cc-98Ot6.mjs');
347
+ const { handleServiceCommand } = await import('./commands-BQTA2fC4.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-DMfzU2xe.mjs');
355
+ const { handleServeCommand } = await import('./serveCommands-C_DNG6Z1.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-BCr6iO_n.mjs');
364
+ const { processCommand } = await import('./commands-BLLkJy6f.mjs');
365
365
  let machineId;
366
366
  const processArgs = args.slice(1);
367
367
  const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
@@ -375,22 +375,22 @@ async function main() {
375
375
  }), machineId);
376
376
  process.exit(0);
377
377
  } else if (subcommand === "issue" || subcommand === "issues") {
378
- const { issueCommand } = await import('./commands-BQC2kAm0.mjs');
378
+ const { issueCommand } = await import('./commands-D51uPoPK.mjs');
379
379
  await issueCommand(args.slice(1));
380
380
  process.exit(0);
381
381
  } else if (subcommand === "workflow" || subcommand === "workflows") {
382
- const { workflowCommand } = await import('./commands-mAHn_FPb.mjs');
382
+ const { workflowCommand } = await import('./commands-l8v1VLPp.mjs');
383
383
  await workflowCommand(args.slice(1));
384
384
  process.exit(0);
385
385
  } else if (subcommand === "trigger" || subcommand === "triggers" || subcommand === "routine" || subcommand === "routines") {
386
- const { routineCommand } = await import('./commands-PsObXuzm.mjs');
386
+ const { routineCommand } = await import('./commands-DumGHsHS.mjs');
387
387
  await routineCommand(args.slice(1));
388
388
  process.exit(0);
389
389
  } else if (subcommand === "wise-agent" || subcommand === "wise") {
390
390
  await handleWiseAgentCommand(args.slice(1));
391
391
  process.exit(0);
392
392
  } else if (subcommand === "feature" || subcommand === "crew") {
393
- const { crewCommand } = await import('./commands-DVA2p60j.mjs');
393
+ const { crewCommand } = await import('./commands-Df6MbSt-.mjs');
394
394
  await crewCommand(args.slice(1));
395
395
  process.exit(0);
396
396
  } else if (subcommand === "--help" || subcommand === "-h") {
@@ -398,7 +398,7 @@ async function main() {
398
398
  } else if (!subcommand || subcommand === "start") {
399
399
  await handleInteractiveCommand();
400
400
  } else if (subcommand === "--version" || subcommand === "-v") {
401
- const pkg = await import('./package-1hBv_QRg.mjs').catch(() => ({ default: { version: "unknown" } }));
401
+ const pkg = await import('./package-Cu7Ik_Mk.mjs').catch(() => ({ default: { version: "unknown" } }));
402
402
  console.log(`svamp version: ${pkg.default.version}`);
403
403
  } else {
404
404
  console.error(`Unknown command: ${subcommand}`);
@@ -407,7 +407,7 @@ async function main() {
407
407
  }
408
408
  }
409
409
  async function handleInteractiveCommand() {
410
- const { runInteractive } = await import('./run-Dfj1qf30.mjs');
410
+ const { runInteractive } = await import('./run-D2AdmLLH.mjs');
411
411
  const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
412
412
  let directory = process.cwd();
413
413
  let resumeSessionId;
@@ -452,7 +452,7 @@ async function handleAgentCommand() {
452
452
  return;
453
453
  }
454
454
  if (agentArgs[0] === "list") {
455
- const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a4; });
455
+ const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ac; });
456
456
  console.log("Known agents:");
457
457
  for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
458
458
  console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
@@ -464,7 +464,7 @@ async function handleAgentCommand() {
464
464
  console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
465
465
  return;
466
466
  }
467
- const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a4; });
467
+ const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ac; });
468
468
  let cwd = process.cwd();
469
469
  const filteredArgs = [];
470
470
  for (let i = 0; i < agentArgs.length; i++) {
@@ -488,12 +488,12 @@ async function handleAgentCommand() {
488
488
  console.log(`Starting ${config.agentName} agent in ${cwd}...`);
489
489
  let backend;
490
490
  if (KNOWN_MCP_AGENTS[config.agentName]) {
491
- const { CodexMcpBackend } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a5; });
491
+ const { CodexMcpBackend } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ad; });
492
492
  backend = new CodexMcpBackend({ cwd, log: logFn });
493
493
  } else {
494
- const { AcpBackend } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a3; });
495
- const { GeminiTransport } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a6; });
496
- const { DefaultTransport } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a2; });
494
+ const { AcpBackend } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ab; });
495
+ const { GeminiTransport } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ae; });
496
+ const { DefaultTransport } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.aa; });
497
497
  const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
498
498
  backend = new AcpBackend({
499
499
  agentName: config.agentName,
@@ -620,7 +620,7 @@ async function handleSessionCommand() {
620
620
  process.exit(1);
621
621
  }
622
622
  }
623
- 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-D2Zpi3G8.mjs');
623
+ 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-DbEd_EMK.mjs');
624
624
  const parseFlagStr = (flag, shortFlag) => {
625
625
  for (let i = 1; i < sessionArgs.length; i++) {
626
626
  if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
@@ -688,7 +688,7 @@ async function handleSessionCommand() {
688
688
  allowDomain.push(sessionArgs[++i]);
689
689
  }
690
690
  }
691
- const { parseShareArg } = await import('./commands-D2Zpi3G8.mjs');
691
+ const { parseShareArg } = await import('./commands-DbEd_EMK.mjs');
692
692
  const shareEntries = share.map((s) => parseShareArg(s));
693
693
  await sessionSpawn(agent, dir, targetMachineId, {
694
694
  message,
@@ -773,7 +773,7 @@ async function handleSessionCommand() {
773
773
  console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
774
774
  process.exit(1);
775
775
  }
776
- const { sessionEditMessage } = await import('./commands-D2Zpi3G8.mjs');
776
+ const { sessionEditMessage } = await import('./commands-DbEd_EMK.mjs');
777
777
  await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
778
778
  } else if (sessionSubcommand === "refine") {
779
779
  if (!sessionArgs[1] || !sessionArgs[2]) {
@@ -781,7 +781,7 @@ async function handleSessionCommand() {
781
781
  console.error(" Asks the agent to revise its latest reply in place (no extra round).");
782
782
  process.exit(1);
783
783
  }
784
- const { sessionRefineLastReply } = await import('./commands-D2Zpi3G8.mjs');
784
+ const { sessionRefineLastReply } = await import('./commands-DbEd_EMK.mjs');
785
785
  await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
786
786
  } else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
787
787
  if (!sessionArgs[1]) {
@@ -789,7 +789,7 @@ async function handleSessionCommand() {
789
789
  console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
790
790
  process.exit(1);
791
791
  }
792
- const { sessionUndoEdit } = await import('./commands-D2Zpi3G8.mjs');
792
+ const { sessionUndoEdit } = await import('./commands-DbEd_EMK.mjs');
793
793
  await sessionUndoEdit(sessionArgs[1], targetMachineId);
794
794
  } else if (sessionSubcommand === "query") {
795
795
  const dir = sessionArgs[1];
@@ -799,7 +799,7 @@ async function handleSessionCommand() {
799
799
  console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
800
800
  process.exit(1);
801
801
  }
802
- const { sessionQuery } = await import('./commands-D2Zpi3G8.mjs');
802
+ const { sessionQuery } = await import('./commands-DbEd_EMK.mjs');
803
803
  await sessionQuery(dir, prompt, targetMachineId, {
804
804
  timeout: parseFlagInt("--timeout"),
805
805
  json: hasFlag("--json"),
@@ -832,7 +832,7 @@ async function handleSessionCommand() {
832
832
  console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
833
833
  process.exit(1);
834
834
  }
835
- const { sessionApprove } = await import('./commands-D2Zpi3G8.mjs');
835
+ const { sessionApprove } = await import('./commands-DbEd_EMK.mjs');
836
836
  const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
837
837
  await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
838
838
  json: hasFlag("--json")
@@ -842,7 +842,7 @@ async function handleSessionCommand() {
842
842
  console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
843
843
  process.exit(1);
844
844
  }
845
- const { sessionDeny } = await import('./commands-D2Zpi3G8.mjs');
845
+ const { sessionDeny } = await import('./commands-DbEd_EMK.mjs');
846
846
  const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
847
847
  await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
848
848
  json: hasFlag("--json")
@@ -920,7 +920,7 @@ async function handleSessionCommand() {
920
920
  console.error("Usage: svamp session set-title <title>");
921
921
  process.exit(1);
922
922
  }
923
- const { sessionSetTitle } = await import('./agentCommands-BQUIj0L3.mjs');
923
+ const { sessionSetTitle } = await import('./agentCommands-0rtN3zaT.mjs');
924
924
  await sessionSetTitle(title);
925
925
  } else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
926
926
  const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
@@ -928,7 +928,7 @@ async function handleSessionCommand() {
928
928
  console.error("Usage: svamp session set-project-description <text>");
929
929
  process.exit(1);
930
930
  }
931
- const { sessionSetProjectDescription } = await import('./agentCommands-BQUIj0L3.mjs');
931
+ const { sessionSetProjectDescription } = await import('./agentCommands-0rtN3zaT.mjs');
932
932
  await sessionSetProjectDescription(desc);
933
933
  } else if (sessionSubcommand === "set-link") {
934
934
  const url = sessionArgs[1];
@@ -937,7 +937,7 @@ async function handleSessionCommand() {
937
937
  process.exit(1);
938
938
  }
939
939
  const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
940
- const { sessionSetLink } = await import('./agentCommands-BQUIj0L3.mjs');
940
+ const { sessionSetLink } = await import('./agentCommands-0rtN3zaT.mjs');
941
941
  await sessionSetLink(url, label);
942
942
  } else if (sessionSubcommand === "notify") {
943
943
  const message = sessionArgs[1];
@@ -946,7 +946,7 @@ async function handleSessionCommand() {
946
946
  process.exit(1);
947
947
  }
948
948
  const level = parseFlagStr("--level") || "info";
949
- const { sessionNotify } = await import('./agentCommands-BQUIj0L3.mjs');
949
+ const { sessionNotify } = await import('./agentCommands-0rtN3zaT.mjs');
950
950
  await sessionNotify(message, level);
951
951
  } else if (sessionSubcommand === "broadcast") {
952
952
  const action = sessionArgs[1];
@@ -954,7 +954,7 @@ async function handleSessionCommand() {
954
954
  console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
955
955
  process.exit(1);
956
956
  }
957
- const { sessionBroadcast } = await import('./agentCommands-BQUIj0L3.mjs');
957
+ const { sessionBroadcast } = await import('./agentCommands-0rtN3zaT.mjs');
958
958
  await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
959
959
  } else if (sessionSubcommand === "inbox") {
960
960
  const inboxSubcmd = sessionArgs[1];
@@ -965,7 +965,7 @@ async function handleSessionCommand() {
965
965
  process.exit(1);
966
966
  }
967
967
  if (agentSessionId) {
968
- const { inboxSend } = await import('./agentCommands-BQUIj0L3.mjs');
968
+ const { inboxSend } = await import('./agentCommands-0rtN3zaT.mjs');
969
969
  await inboxSend(sessionArgs[2], {
970
970
  body: sessionArgs[3],
971
971
  subject: parseFlagStr("--subject"),
@@ -980,7 +980,7 @@ async function handleSessionCommand() {
980
980
  }
981
981
  } else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
982
982
  if (agentSessionId && !sessionArgs[2]) {
983
- const { inboxList } = await import('./agentCommands-BQUIj0L3.mjs');
983
+ const { inboxList } = await import('./agentCommands-0rtN3zaT.mjs');
984
984
  await inboxList({
985
985
  unread: hasFlag("--unread"),
986
986
  limit: parseFlagInt("--limit"),
@@ -1002,7 +1002,7 @@ async function handleSessionCommand() {
1002
1002
  process.exit(1);
1003
1003
  }
1004
1004
  if (agentSessionId && !sessionArgs[3]) {
1005
- const { inboxList } = await import('./agentCommands-BQUIj0L3.mjs');
1005
+ const { inboxList } = await import('./agentCommands-0rtN3zaT.mjs');
1006
1006
  await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
1007
1007
  } else if (sessionArgs[3]) {
1008
1008
  await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
@@ -1012,7 +1012,7 @@ async function handleSessionCommand() {
1012
1012
  }
1013
1013
  } else if (inboxSubcmd === "reply") {
1014
1014
  if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
1015
- const { inboxReply } = await import('./agentCommands-BQUIj0L3.mjs');
1015
+ const { inboxReply } = await import('./agentCommands-0rtN3zaT.mjs');
1016
1016
  await inboxReply(sessionArgs[2], sessionArgs[3]);
1017
1017
  } else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
1018
1018
  await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
@@ -1048,7 +1048,7 @@ async function handleMachineCommand() {
1048
1048
  return;
1049
1049
  }
1050
1050
  if (machineSubcommand === "share") {
1051
- const { machineShare } = await import('./commands-D2Zpi3G8.mjs');
1051
+ const { machineShare } = await import('./commands-DbEd_EMK.mjs');
1052
1052
  let machineId;
1053
1053
  const shareArgs = [];
1054
1054
  for (let i = 1; i < machineArgs.length; i++) {
@@ -1099,14 +1099,14 @@ async function handleMachineCommand() {
1099
1099
  process.exit(1);
1100
1100
  }
1101
1101
  if (all) {
1102
- const { fleetExec } = await import('./fleet-BgpaxJ3S.mjs');
1102
+ const { fleetExec } = await import('./fleet-Dwk-C37I.mjs');
1103
1103
  await fleetExec(command, { cwd });
1104
1104
  } else {
1105
- const { machineExec } = await import('./commands-D2Zpi3G8.mjs');
1105
+ const { machineExec } = await import('./commands-DbEd_EMK.mjs');
1106
1106
  await machineExec(machineId, command, cwd);
1107
1107
  }
1108
1108
  } else if (machineSubcommand === "info") {
1109
- const { machineInfo } = await import('./commands-D2Zpi3G8.mjs');
1109
+ const { machineInfo } = await import('./commands-DbEd_EMK.mjs');
1110
1110
  let machineId;
1111
1111
  for (let i = 1; i < machineArgs.length; i++) {
1112
1112
  if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
@@ -1126,10 +1126,10 @@ async function handleMachineCommand() {
1126
1126
  level = machineArgs[++i];
1127
1127
  }
1128
1128
  }
1129
- const { machineNotify } = await import('./agentCommands-BQUIj0L3.mjs');
1129
+ const { machineNotify } = await import('./agentCommands-0rtN3zaT.mjs');
1130
1130
  await machineNotify(message, level);
1131
1131
  } else if (machineSubcommand === "ls") {
1132
- const { machineLs } = await import('./commands-D2Zpi3G8.mjs');
1132
+ const { machineLs } = await import('./commands-DbEd_EMK.mjs');
1133
1133
  let machineId;
1134
1134
  let showHidden = false;
1135
1135
  let path;
@@ -1185,20 +1185,20 @@ Examples:
1185
1185
  };
1186
1186
  const hasFlag = (name) => fleetArgs.includes(`--${name}`);
1187
1187
  if (sub === "status") {
1188
- const { fleetStatus } = await import('./fleet-BgpaxJ3S.mjs');
1188
+ const { fleetStatus } = await import('./fleet-Dwk-C37I.mjs');
1189
1189
  await fleetStatus();
1190
1190
  } else if (sub === "upgrade-claude") {
1191
- const { fleetUpgradeClaude } = await import('./fleet-BgpaxJ3S.mjs');
1191
+ const { fleetUpgradeClaude } = await import('./fleet-Dwk-C37I.mjs');
1192
1192
  await fleetUpgradeClaude({ version: flag("version", "-v") });
1193
1193
  } else if (sub === "upgrade-svamp") {
1194
- const { fleetUpgradeSvamp } = await import('./fleet-BgpaxJ3S.mjs');
1194
+ const { fleetUpgradeSvamp } = await import('./fleet-Dwk-C37I.mjs');
1195
1195
  await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self") });
1196
1196
  } else if (sub === "daemon-restart") {
1197
- const { fleetDaemonRestart } = await import('./fleet-BgpaxJ3S.mjs');
1197
+ const { fleetDaemonRestart } = await import('./fleet-Dwk-C37I.mjs');
1198
1198
  await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
1199
1199
  } else if (sub === "push-skill") {
1200
1200
  const name = fleetArgs[1];
1201
- const { fleetPushSkill } = await import('./fleet-BgpaxJ3S.mjs');
1201
+ const { fleetPushSkill } = await import('./fleet-Dwk-C37I.mjs');
1202
1202
  await fleetPushSkill(name);
1203
1203
  } else {
1204
1204
  console.error(`Unknown fleet subcommand: ${sub}`);
@@ -1214,7 +1214,7 @@ async function handleSkillsCommand() {
1214
1214
  await printSkillsHelp();
1215
1215
  return;
1216
1216
  }
1217
- const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-fyFKlqCv.mjs');
1217
+ const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-BaC0EoLm.mjs');
1218
1218
  if (skillsSubcommand === "find" || skillsSubcommand === "search") {
1219
1219
  const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
1220
1220
  if (!query) {
@@ -1261,7 +1261,7 @@ async function loginToHypha() {
1261
1261
  process.exit(1);
1262
1262
  }
1263
1263
  const anchor = anchorArg.replace(/\/+$/, "");
1264
- const { loadInstanceConfig } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a8; });
1264
+ const { loadInstanceConfig } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ag; });
1265
1265
  let cfg = null;
1266
1266
  try {
1267
1267
  cfg = await loadInstanceConfig({ anchor, force: true });
@@ -1372,7 +1372,7 @@ async function logoutFromHypha() {
1372
1372
  } catch {
1373
1373
  }
1374
1374
  try {
1375
- const { clearInstanceConfigCache } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a8; });
1375
+ const { clearInstanceConfigCache } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ag; });
1376
1376
  clearInstanceConfigCache();
1377
1377
  } catch {
1378
1378
  }
@@ -1710,7 +1710,7 @@ async function applyClaudeAuthFlags(argv) {
1710
1710
  "--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
1711
1711
  );
1712
1712
  }
1713
- const mod = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a7; });
1713
+ const mod = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.af; });
1714
1714
  if (hasHypha) {
1715
1715
  let url;
1716
1716
  const hyphaIdx = argv.indexOf("--use-hypha-proxy");
@@ -1764,7 +1764,7 @@ async function applyDaemonShareFlag(argv) {
1764
1764
  }
1765
1765
  }
1766
1766
  if (collected.length === 0) return;
1767
- const { updateEnvFile } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a7; });
1767
+ const { updateEnvFile } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.af; });
1768
1768
  const seen = /* @__PURE__ */ new Set();
1769
1769
  const deduped = collected.filter((e) => {
1770
1770
  const k = e.toLowerCase();
@@ -1797,7 +1797,7 @@ async function handleWiseAgentCommand(rest) {
1797
1797
  }
1798
1798
  });
1799
1799
  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(" ");
1800
- const { wiseAskCli } = await import('./commands-D2Zpi3G8.mjs');
1800
+ const { wiseAskCli } = await import('./commands-DbEd_EMK.mjs');
1801
1801
  await wiseAskCli(machineId, message, sessionId, { json });
1802
1802
  return;
1803
1803
  }
@@ -1809,7 +1809,7 @@ async function handleWiseAgentCommand(rest) {
1809
1809
  }
1810
1810
  return void 0;
1811
1811
  };
1812
- const { runWiseVoiceCli } = await import('./headlessCli-BQKqriom.mjs');
1812
+ const { runWiseVoiceCli } = await import('./headlessCli-B7MIr4r2.mjs');
1813
1813
  await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
1814
1814
  return;
1815
1815
  }
@@ -1827,7 +1827,7 @@ async function handleWiseAgentCommand(rest) {
1827
1827
  const mode = valueOf(["--mode"]);
1828
1828
  const mission = valueOf(["--mission"]);
1829
1829
  const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
1830
- const { wiseJoinMeetingCli } = await import('./commands-D2Zpi3G8.mjs');
1830
+ const { wiseJoinMeetingCli } = await import('./commands-DbEd_EMK.mjs');
1831
1831
  await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
1832
1832
  return;
1833
1833
  }
@@ -1839,7 +1839,7 @@ async function handleWiseAgentCommand(rest) {
1839
1839
  }
1840
1840
  return void 0;
1841
1841
  };
1842
- const { wiseLeaveMeetingCli } = await import('./commands-D2Zpi3G8.mjs');
1842
+ const { wiseLeaveMeetingCli } = await import('./commands-DbEd_EMK.mjs');
1843
1843
  await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
1844
1844
  return;
1845
1845
  }
@@ -1863,7 +1863,7 @@ async function handleWiseAgentCommand(rest) {
1863
1863
  }
1864
1864
  });
1865
1865
  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(" ");
1866
- const { wiseAnnounceCli } = await import('./commands-D2Zpi3G8.mjs');
1866
+ const { wiseAnnounceCli } = await import('./commands-DbEd_EMK.mjs');
1867
1867
  await wiseAnnounceCli(machineId, text, sessionId, { json });
1868
1868
  return;
1869
1869
  }
@@ -1875,7 +1875,7 @@ async function handleWiseAgentCommand(rest) {
1875
1875
  }
1876
1876
  return void 0;
1877
1877
  };
1878
- const { wiseMeetingsCli } = await import('./commands-D2Zpi3G8.mjs');
1878
+ const { wiseMeetingsCli } = await import('./commands-DbEd_EMK.mjs');
1879
1879
  await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
1880
1880
  return;
1881
1881
  }
@@ -1925,7 +1925,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1925
1925
  return;
1926
1926
  }
1927
1927
  const authArgs = rest.slice(1);
1928
- const mod = await import('./auth-Nb44v13A.mjs');
1928
+ const mod = await import('./auth-tsCGoeiF.mjs');
1929
1929
  let action;
1930
1930
  try {
1931
1931
  action = mod.parseWiseAgentAuthArgs(authArgs);
@@ -1935,7 +1935,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1935
1935
  return;
1936
1936
  }
1937
1937
  if (action) {
1938
- const { updateEnvFile } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a7; });
1938
+ const { updateEnvFile } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.af; });
1939
1939
  const updates = mod.buildWiseAgentEnvUpdates(action);
1940
1940
  updateEnvFile(updates);
1941
1941
  for (const [k, v] of Object.entries(updates)) {
@@ -1949,7 +1949,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1949
1949
  }
1950
1950
  async function handleDaemonAuthCommand(argv) {
1951
1951
  const sub = (argv[0] || "status").toLowerCase();
1952
- const mod = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a7; });
1952
+ const mod = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.af; });
1953
1953
  if (sub === "--help" || sub === "-h" || sub === "help") {
1954
1954
  console.log(`
1955
1955
  svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
@@ -2262,7 +2262,7 @@ Examples:
2262
2262
  async function printSkillsHelp() {
2263
2263
  let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
2264
2264
  try {
2265
- const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-KCqpMQJZ.mjs').then(function (n) { return n.a9; });
2265
+ const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-DEfioSLJ.mjs').then(function (n) { return n.ah; });
2266
2266
  browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
2267
2267
  } catch {
2268
2268
  }
@@ -1,11 +1,11 @@
1
1
  import { writeFileSync, readFileSync } from 'fs';
2
2
  import { resolve } from 'path';
3
- import { connectAndGetMachine } from './commands-D2Zpi3G8.mjs';
3
+ import { connectAndGetMachine } from './commands-DbEd_EMK.mjs';
4
4
  import 'node:fs';
5
5
  import 'node:child_process';
6
6
  import 'node:path';
7
7
  import 'node:os';
8
- import './run-KCqpMQJZ.mjs';
8
+ import './run-DEfioSLJ.mjs';
9
9
  import 'os';
10
10
  import 'fs/promises';
11
11
  import 'url';
@@ -58,7 +58,7 @@ async function serviceExpose(args) {
58
58
  process.exit(1);
59
59
  }
60
60
  if (foreground) {
61
- const { runFrpcTunnel } = await import('./frpc-BbpARLqP.mjs');
61
+ const { runFrpcTunnel } = await import('./frpc-B6KtYbVe.mjs');
62
62
  await runFrpcTunnel(name, ports, void 0, {
63
63
  group,
64
64
  groupKey,
@@ -68,7 +68,7 @@ async function serviceExpose(args) {
68
68
  });
69
69
  return;
70
70
  }
71
- const { connectAndGetMachine } = await import('./commands-D2Zpi3G8.mjs');
71
+ const { connectAndGetMachine } = await import('./commands-DbEd_EMK.mjs');
72
72
  const { server, machine } = await connectAndGetMachine();
73
73
  try {
74
74
  const status = await machine.tunnelStart({
@@ -123,7 +123,7 @@ async function serviceServe(args) {
123
123
  };
124
124
  process.on("SIGINT", cleanup);
125
125
  process.on("SIGTERM", cleanup);
126
- const { runFrpcTunnel } = await import('./frpc-BbpARLqP.mjs');
126
+ const { runFrpcTunnel } = await import('./frpc-B6KtYbVe.mjs');
127
127
  await runFrpcTunnel(name, [caddyPort]);
128
128
  } catch (err) {
129
129
  console.error(`Error serving directory: ${err.message}`);
@@ -132,7 +132,7 @@ async function serviceServe(args) {
132
132
  }
133
133
  async function serviceList(_args) {
134
134
  try {
135
- const { connectAndGetMachine } = await import('./commands-D2Zpi3G8.mjs');
135
+ const { connectAndGetMachine } = await import('./commands-DbEd_EMK.mjs');
136
136
  const { server, machine } = await connectAndGetMachine();
137
137
  try {
138
138
  const tunnels = await machine.tunnelList({});
@@ -172,7 +172,7 @@ async function serviceDelete(args) {
172
172
  process.exit(1);
173
173
  }
174
174
  try {
175
- const { connectAndGetMachine } = await import('./commands-D2Zpi3G8.mjs');
175
+ const { connectAndGetMachine } = await import('./commands-DbEd_EMK.mjs');
176
176
  const { server, machine } = await connectAndGetMachine();
177
177
  try {
178
178
  await machine.tunnelStop({ name });
@@ -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-KCqpMQJZ.mjs';
4
+ import { x as parseFrontmatter, y as getSkillsServer, z as getSkillsWorkspaceName, A as getSkillsCollectionName, B as fetchWithTimeout, C as searchSkills, D as SKILLS_DIR, E as getSkillInfo, F as downloadSkillFile, G as listSkillFiles } from './run-DEfioSLJ.mjs';
5
5
  import 'fs/promises';
6
6
  import 'url';
7
7
  import 'child_process';
@@ -1,7 +1,25 @@
1
1
  import { execSync } from 'node:child_process';
2
- import { r as resolveProjectRoot, s as searchIssues, l as listIssues, a as addComment, u as updateIssue, g as getIssue, b as summarize, c as addIssue } from './store-BQxdRyuI.mjs';
2
+ import { m as resolveProjectRoot, n as searchIssues, o as listIssues, p as addComment, u as updateIssue, q as getIssue, t as summarize, v as addIssue } from './run-DEfioSLJ.mjs';
3
+ import 'os';
4
+ import 'fs/promises';
5
+ import 'fs';
6
+ import 'path';
7
+ import 'url';
8
+ import 'child_process';
9
+ import 'crypto';
10
+ import 'node:crypto';
3
11
  import 'node:fs';
12
+ import 'util';
4
13
  import 'node:path';
14
+ import 'node:events';
15
+ import 'node:os';
16
+ import '@agentclientprotocol/sdk';
17
+ import '@modelcontextprotocol/sdk/client/index.js';
18
+ import '@modelcontextprotocol/sdk/client/stdio.js';
19
+ import '@modelcontextprotocol/sdk/types.js';
20
+ import 'zod';
21
+ import 'node:fs/promises';
22
+ import 'node:util';
5
23
 
6
24
  const STATUS_GLYPH = {
7
25
  backlog: "\u25CB",
@@ -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-KCqpMQJZ.mjs';
5
+ import { Q as formatHandle, T as normalizeAllowedUser, U as loadSecurityContextConfig, V as resolveSecurityContext, W as buildSecurityContextFromFlags, X as mergeSecurityContexts, c as connectToHypha, Y as buildSessionShareUrl, Z as validateChecklist, _ as computeOutboundHop, w as shortId, $ as buildMachineShareUrl, a0 as summarize, a1 as newItem, a2 as parseHandle, a3 as handleMatchesMetadata } from './run-DEfioSLJ.mjs';
6
6
  import 'os';
7
7
  import 'fs/promises';
8
8
  import 'fs';