svamp-cli 0.2.174 → 0.2.175

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.
Files changed (25) hide show
  1. package/dist/{agentCommands-XAGMtjRQ.mjs → agentCommands-C4upUtMc.mjs} +5 -5
  2. package/dist/{auth-fEMoSUUD.mjs → auth-BKN98KO4.mjs} +1 -1
  3. package/dist/cli.mjs +61 -61
  4. package/dist/{commands-CPHMhYnp.mjs → commands-BF_Wy2B4.mjs} +1 -1
  5. package/dist/{commands-7wZGSXe5.mjs → commands-BbqjhR4z.mjs} +2 -2
  6. package/dist/{commands-NdHufk_2.mjs → commands-BssfhM-2.mjs} +1 -1
  7. package/dist/{commands-BaGfFhwa.mjs → commands-CSK-jSnk.mjs} +1 -1
  8. package/dist/{commands-3mxZi6dQ.mjs → commands-CkygtYMZ.mjs} +2 -2
  9. package/dist/{commands-BVyi7762.mjs → commands-D03sBXV4.mjs} +2 -2
  10. package/dist/{commands-Di_HYoeZ.mjs → commands-D2lD-S4d.mjs} +5 -5
  11. package/dist/{commands-B3Uk_kN9.mjs → commands-DICHik9Y.mjs} +5 -73
  12. package/dist/{fleet-B2GyUSYJ.mjs → fleet-qUmhLn41.mjs} +1 -1
  13. package/dist/{frpc-BZmO_6PK.mjs → frpc-BDZgTsi8.mjs} +1 -1
  14. package/dist/{headlessCli-Yeuekh99.mjs → headlessCli-BG-PcYjM.mjs} +2 -2
  15. package/dist/index.mjs +1 -1
  16. package/dist/{package-CmQGdoJz.mjs → package-CMB-hfB0.mjs} +2 -2
  17. package/dist/rpc-CQTahguB.mjs +78 -0
  18. package/dist/rpc-gCEvLUNu.mjs +151 -0
  19. package/dist/{run-BROwnG-V.mjs → run-Buov6wz-.mjs} +33 -6
  20. package/dist/{run-BE4jYZdk.mjs → run-DGs1hcvd.mjs} +1 -1
  21. package/dist/{serveCommands-C1Lfx-NW.mjs → serveCommands-C6l8yA9_.mjs} +5 -5
  22. package/dist/{serveManager-BdjeAjgf.mjs → serveManager-B_Bj1AF4.mjs} +2 -2
  23. package/dist/{sideband-CQDEJ2q2.mjs → sideband-BYiyQgZR.mjs} +1 -1
  24. package/dist/store-D2HNe-Kv.mjs +74 -0
  25. package/package.json +2 -2
@@ -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 { x as shortId } from './run-BROwnG-V.mjs';
5
+ import { x as shortId } from './run-Buov6wz-.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-BROwnG-V.mjs').then(function (n) { return n.a4; });
99
+ const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.a4; });
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-NdHufk_2.mjs');
183
+ const { connectAndGetMachine } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
261
+ const { connectAndResolveSession } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
315
+ const { connectAndResolveSession } = await import('./commands-BssfhM-2.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 { N as resolveModel } from './run-BROwnG-V.mjs';
1
+ import { N as resolveModel } from './run-Buov6wz-.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-BROwnG-V.mjs';
1
+ import { e as clearStopMarker, f as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-Buov6wz-.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-BROwnG-V.mjs').then(function (n) { return n.ab; });
37
+ const { getLoadedConfig } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.ab; });
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-BROwnG-V.mjs').then(function (n) { return n.ad; });
54
+ const { restartDaemon } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.ad; });
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-Di_HYoeZ.mjs');
347
+ const { handleServiceCommand } = await import('./commands-D2lD-S4d.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-C1Lfx-NW.mjs');
355
+ const { handleServeCommand } = await import('./serveCommands-C6l8yA9_.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-7wZGSXe5.mjs');
364
+ const { processCommand } = await import('./commands-BbqjhR4z.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-CPHMhYnp.mjs');
378
+ const { issueCommand } = await import('./commands-BF_Wy2B4.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-B3Uk_kN9.mjs');
382
+ const { workflowCommand } = await import('./commands-DICHik9Y.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-3mxZi6dQ.mjs');
386
+ const { routineCommand } = await import('./commands-CkygtYMZ.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-BVyi7762.mjs');
393
+ const { crewCommand } = await import('./commands-D03sBXV4.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-CmQGdoJz.mjs').catch(() => ({ default: { version: "unknown" } }));
401
+ const pkg = await import('./package-CMB-hfB0.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-BE4jYZdk.mjs');
410
+ const { runInteractive } = await import('./run-DGs1hcvd.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-BROwnG-V.mjs').then(function (n) { return n.a7; });
455
+ const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.a7; });
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-BROwnG-V.mjs').then(function (n) { return n.a7; });
467
+ const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.a7; });
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-BROwnG-V.mjs').then(function (n) { return n.a8; });
491
+ const { CodexMcpBackend } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.a8; });
492
492
  backend = new CodexMcpBackend({ cwd, log: logFn });
493
493
  } else {
494
- const { AcpBackend } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.a6; });
495
- const { GeminiTransport } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.a9; });
496
- const { DefaultTransport } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.a5; });
494
+ const { AcpBackend } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.a6; });
495
+ const { GeminiTransport } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.a9; });
496
+ const { DefaultTransport } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.a5; });
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, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-NdHufk_2.mjs');
623
+ const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
691
+ const { parseShareArg } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
776
+ const { sessionEditMessage } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
784
+ const { sessionRefineLastReply } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
792
+ const { sessionUndoEdit } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
802
+ const { sessionQuery } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
835
+ const { sessionApprove } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
845
+ const { sessionDeny } = await import('./commands-BssfhM-2.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")
@@ -884,7 +884,7 @@ async function handleSessionCommand() {
884
884
  console.error("Usage: svamp session set-title <title>");
885
885
  process.exit(1);
886
886
  }
887
- const { sessionSetTitle } = await import('./agentCommands-XAGMtjRQ.mjs');
887
+ const { sessionSetTitle } = await import('./agentCommands-C4upUtMc.mjs');
888
888
  await sessionSetTitle(title);
889
889
  } else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
890
890
  const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
@@ -892,7 +892,7 @@ async function handleSessionCommand() {
892
892
  console.error("Usage: svamp session set-project-description <text>");
893
893
  process.exit(1);
894
894
  }
895
- const { sessionSetProjectDescription } = await import('./agentCommands-XAGMtjRQ.mjs');
895
+ const { sessionSetProjectDescription } = await import('./agentCommands-C4upUtMc.mjs');
896
896
  await sessionSetProjectDescription(desc);
897
897
  } else if (sessionSubcommand === "set-link") {
898
898
  const url = sessionArgs[1];
@@ -901,7 +901,7 @@ async function handleSessionCommand() {
901
901
  process.exit(1);
902
902
  }
903
903
  const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
904
- const { sessionSetLink } = await import('./agentCommands-XAGMtjRQ.mjs');
904
+ const { sessionSetLink } = await import('./agentCommands-C4upUtMc.mjs');
905
905
  await sessionSetLink(url, label);
906
906
  } else if (sessionSubcommand === "notify") {
907
907
  const message = sessionArgs[1];
@@ -910,7 +910,7 @@ async function handleSessionCommand() {
910
910
  process.exit(1);
911
911
  }
912
912
  const level = parseFlagStr("--level") || "info";
913
- const { sessionNotify } = await import('./agentCommands-XAGMtjRQ.mjs');
913
+ const { sessionNotify } = await import('./agentCommands-C4upUtMc.mjs');
914
914
  await sessionNotify(message, level);
915
915
  } else if (sessionSubcommand === "broadcast") {
916
916
  const action = sessionArgs[1];
@@ -918,7 +918,7 @@ async function handleSessionCommand() {
918
918
  console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
919
919
  process.exit(1);
920
920
  }
921
- const { sessionBroadcast } = await import('./agentCommands-XAGMtjRQ.mjs');
921
+ const { sessionBroadcast } = await import('./agentCommands-C4upUtMc.mjs');
922
922
  await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
923
923
  } else if (sessionSubcommand === "inbox") {
924
924
  const inboxSubcmd = sessionArgs[1];
@@ -929,7 +929,7 @@ async function handleSessionCommand() {
929
929
  process.exit(1);
930
930
  }
931
931
  if (agentSessionId) {
932
- const { inboxSend } = await import('./agentCommands-XAGMtjRQ.mjs');
932
+ const { inboxSend } = await import('./agentCommands-C4upUtMc.mjs');
933
933
  await inboxSend(sessionArgs[2], {
934
934
  body: sessionArgs[3],
935
935
  subject: parseFlagStr("--subject"),
@@ -944,7 +944,7 @@ async function handleSessionCommand() {
944
944
  }
945
945
  } else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
946
946
  if (agentSessionId && !sessionArgs[2]) {
947
- const { inboxList } = await import('./agentCommands-XAGMtjRQ.mjs');
947
+ const { inboxList } = await import('./agentCommands-C4upUtMc.mjs');
948
948
  await inboxList({
949
949
  unread: hasFlag("--unread"),
950
950
  limit: parseFlagInt("--limit"),
@@ -966,7 +966,7 @@ async function handleSessionCommand() {
966
966
  process.exit(1);
967
967
  }
968
968
  if (agentSessionId && !sessionArgs[3]) {
969
- const { inboxList } = await import('./agentCommands-XAGMtjRQ.mjs');
969
+ const { inboxList } = await import('./agentCommands-C4upUtMc.mjs');
970
970
  await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
971
971
  } else if (sessionArgs[3]) {
972
972
  await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
@@ -976,7 +976,7 @@ async function handleSessionCommand() {
976
976
  }
977
977
  } else if (inboxSubcmd === "reply") {
978
978
  if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
979
- const { inboxReply } = await import('./agentCommands-XAGMtjRQ.mjs');
979
+ const { inboxReply } = await import('./agentCommands-C4upUtMc.mjs');
980
980
  await inboxReply(sessionArgs[2], sessionArgs[3]);
981
981
  } else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
982
982
  await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
@@ -1012,7 +1012,7 @@ async function handleMachineCommand() {
1012
1012
  return;
1013
1013
  }
1014
1014
  if (machineSubcommand === "share") {
1015
- const { machineShare } = await import('./commands-NdHufk_2.mjs');
1015
+ const { machineShare } = await import('./commands-BssfhM-2.mjs');
1016
1016
  let machineId;
1017
1017
  const shareArgs = [];
1018
1018
  for (let i = 1; i < machineArgs.length; i++) {
@@ -1063,14 +1063,14 @@ async function handleMachineCommand() {
1063
1063
  process.exit(1);
1064
1064
  }
1065
1065
  if (all) {
1066
- const { fleetExec } = await import('./fleet-B2GyUSYJ.mjs');
1066
+ const { fleetExec } = await import('./fleet-qUmhLn41.mjs');
1067
1067
  await fleetExec(command, { cwd });
1068
1068
  } else {
1069
- const { machineExec } = await import('./commands-NdHufk_2.mjs');
1069
+ const { machineExec } = await import('./commands-BssfhM-2.mjs');
1070
1070
  await machineExec(machineId, command, cwd);
1071
1071
  }
1072
1072
  } else if (machineSubcommand === "info") {
1073
- const { machineInfo } = await import('./commands-NdHufk_2.mjs');
1073
+ const { machineInfo } = await import('./commands-BssfhM-2.mjs');
1074
1074
  let machineId;
1075
1075
  for (let i = 1; i < machineArgs.length; i++) {
1076
1076
  if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
@@ -1090,10 +1090,10 @@ async function handleMachineCommand() {
1090
1090
  level = machineArgs[++i];
1091
1091
  }
1092
1092
  }
1093
- const { machineNotify } = await import('./agentCommands-XAGMtjRQ.mjs');
1093
+ const { machineNotify } = await import('./agentCommands-C4upUtMc.mjs');
1094
1094
  await machineNotify(message, level);
1095
1095
  } else if (machineSubcommand === "ls") {
1096
- const { machineLs } = await import('./commands-NdHufk_2.mjs');
1096
+ const { machineLs } = await import('./commands-BssfhM-2.mjs');
1097
1097
  let machineId;
1098
1098
  let showHidden = false;
1099
1099
  let path;
@@ -1149,20 +1149,20 @@ Examples:
1149
1149
  };
1150
1150
  const hasFlag = (name) => fleetArgs.includes(`--${name}`);
1151
1151
  if (sub === "status") {
1152
- const { fleetStatus } = await import('./fleet-B2GyUSYJ.mjs');
1152
+ const { fleetStatus } = await import('./fleet-qUmhLn41.mjs');
1153
1153
  await fleetStatus();
1154
1154
  } else if (sub === "upgrade-claude") {
1155
- const { fleetUpgradeClaude } = await import('./fleet-B2GyUSYJ.mjs');
1155
+ const { fleetUpgradeClaude } = await import('./fleet-qUmhLn41.mjs');
1156
1156
  await fleetUpgradeClaude({ version: flag("version", "-v") });
1157
1157
  } else if (sub === "upgrade-svamp") {
1158
- const { fleetUpgradeSvamp } = await import('./fleet-B2GyUSYJ.mjs');
1158
+ const { fleetUpgradeSvamp } = await import('./fleet-qUmhLn41.mjs');
1159
1159
  await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self") });
1160
1160
  } else if (sub === "daemon-restart") {
1161
- const { fleetDaemonRestart } = await import('./fleet-B2GyUSYJ.mjs');
1161
+ const { fleetDaemonRestart } = await import('./fleet-qUmhLn41.mjs');
1162
1162
  await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
1163
1163
  } else if (sub === "push-skill") {
1164
1164
  const name = fleetArgs[1];
1165
- const { fleetPushSkill } = await import('./fleet-B2GyUSYJ.mjs');
1165
+ const { fleetPushSkill } = await import('./fleet-qUmhLn41.mjs');
1166
1166
  await fleetPushSkill(name);
1167
1167
  } else {
1168
1168
  console.error(`Unknown fleet subcommand: ${sub}`);
@@ -1178,7 +1178,7 @@ async function handleSkillsCommand() {
1178
1178
  await printSkillsHelp();
1179
1179
  return;
1180
1180
  }
1181
- const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-BaGfFhwa.mjs');
1181
+ const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-CSK-jSnk.mjs');
1182
1182
  if (skillsSubcommand === "find" || skillsSubcommand === "search") {
1183
1183
  const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
1184
1184
  if (!query) {
@@ -1225,7 +1225,7 @@ async function loginToHypha() {
1225
1225
  process.exit(1);
1226
1226
  }
1227
1227
  const anchor = anchorArg.replace(/\/+$/, "");
1228
- const { loadInstanceConfig } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.ab; });
1228
+ const { loadInstanceConfig } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.ab; });
1229
1229
  let cfg = null;
1230
1230
  try {
1231
1231
  cfg = await loadInstanceConfig({ anchor, force: true });
@@ -1336,7 +1336,7 @@ async function logoutFromHypha() {
1336
1336
  } catch {
1337
1337
  }
1338
1338
  try {
1339
- const { clearInstanceConfigCache } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.ab; });
1339
+ const { clearInstanceConfigCache } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.ab; });
1340
1340
  clearInstanceConfigCache();
1341
1341
  } catch {
1342
1342
  }
@@ -1674,7 +1674,7 @@ async function applyClaudeAuthFlags(argv) {
1674
1674
  "--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
1675
1675
  );
1676
1676
  }
1677
- const mod = await import('./run-BROwnG-V.mjs').then(function (n) { return n.aa; });
1677
+ const mod = await import('./run-Buov6wz-.mjs').then(function (n) { return n.aa; });
1678
1678
  if (hasHypha) {
1679
1679
  let url;
1680
1680
  const hyphaIdx = argv.indexOf("--use-hypha-proxy");
@@ -1728,7 +1728,7 @@ async function applyDaemonShareFlag(argv) {
1728
1728
  }
1729
1729
  }
1730
1730
  if (collected.length === 0) return;
1731
- const { updateEnvFile } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.aa; });
1731
+ const { updateEnvFile } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.aa; });
1732
1732
  const seen = /* @__PURE__ */ new Set();
1733
1733
  const deduped = collected.filter((e) => {
1734
1734
  const k = e.toLowerCase();
@@ -1761,7 +1761,7 @@ async function handleWiseAgentCommand(rest) {
1761
1761
  }
1762
1762
  });
1763
1763
  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(" ");
1764
- const { wiseAskCli } = await import('./commands-NdHufk_2.mjs');
1764
+ const { wiseAskCli } = await import('./commands-BssfhM-2.mjs');
1765
1765
  await wiseAskCli(machineId, message, sessionId, { json });
1766
1766
  return;
1767
1767
  }
@@ -1773,7 +1773,7 @@ async function handleWiseAgentCommand(rest) {
1773
1773
  }
1774
1774
  return void 0;
1775
1775
  };
1776
- const { runWiseVoiceCli } = await import('./headlessCli-Yeuekh99.mjs');
1776
+ const { runWiseVoiceCli } = await import('./headlessCli-BG-PcYjM.mjs');
1777
1777
  await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
1778
1778
  return;
1779
1779
  }
@@ -1791,7 +1791,7 @@ async function handleWiseAgentCommand(rest) {
1791
1791
  const mode = valueOf(["--mode"]);
1792
1792
  const mission = valueOf(["--mission"]);
1793
1793
  const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
1794
- const { wiseJoinMeetingCli } = await import('./commands-NdHufk_2.mjs');
1794
+ const { wiseJoinMeetingCli } = await import('./commands-BssfhM-2.mjs');
1795
1795
  await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
1796
1796
  return;
1797
1797
  }
@@ -1803,7 +1803,7 @@ async function handleWiseAgentCommand(rest) {
1803
1803
  }
1804
1804
  return void 0;
1805
1805
  };
1806
- const { wiseLeaveMeetingCli } = await import('./commands-NdHufk_2.mjs');
1806
+ const { wiseLeaveMeetingCli } = await import('./commands-BssfhM-2.mjs');
1807
1807
  await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
1808
1808
  return;
1809
1809
  }
@@ -1827,7 +1827,7 @@ async function handleWiseAgentCommand(rest) {
1827
1827
  }
1828
1828
  });
1829
1829
  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(" ");
1830
- const { wiseAnnounceCli } = await import('./commands-NdHufk_2.mjs');
1830
+ const { wiseAnnounceCli } = await import('./commands-BssfhM-2.mjs');
1831
1831
  await wiseAnnounceCli(machineId, text, sessionId, { json });
1832
1832
  return;
1833
1833
  }
@@ -1839,7 +1839,7 @@ async function handleWiseAgentCommand(rest) {
1839
1839
  }
1840
1840
  return void 0;
1841
1841
  };
1842
- const { wiseMeetingsCli } = await import('./commands-NdHufk_2.mjs');
1842
+ const { wiseMeetingsCli } = await import('./commands-BssfhM-2.mjs');
1843
1843
  await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
1844
1844
  return;
1845
1845
  }
@@ -1889,7 +1889,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1889
1889
  return;
1890
1890
  }
1891
1891
  const authArgs = rest.slice(1);
1892
- const mod = await import('./auth-fEMoSUUD.mjs');
1892
+ const mod = await import('./auth-BKN98KO4.mjs');
1893
1893
  let action;
1894
1894
  try {
1895
1895
  action = mod.parseWiseAgentAuthArgs(authArgs);
@@ -1899,7 +1899,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1899
1899
  return;
1900
1900
  }
1901
1901
  if (action) {
1902
- const { updateEnvFile } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.aa; });
1902
+ const { updateEnvFile } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.aa; });
1903
1903
  const updates = mod.buildWiseAgentEnvUpdates(action);
1904
1904
  updateEnvFile(updates);
1905
1905
  for (const [k, v] of Object.entries(updates)) {
@@ -1913,7 +1913,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1913
1913
  }
1914
1914
  async function handleDaemonAuthCommand(argv) {
1915
1915
  const sub = (argv[0] || "status").toLowerCase();
1916
- const mod = await import('./run-BROwnG-V.mjs').then(function (n) { return n.aa; });
1916
+ const mod = await import('./run-Buov6wz-.mjs').then(function (n) { return n.aa; });
1917
1917
  if (sub === "--help" || sub === "-h" || sub === "help") {
1918
1918
  console.log(`
1919
1919
  svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
@@ -2226,7 +2226,7 @@ Examples:
2226
2226
  async function printSkillsHelp() {
2227
2227
  let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
2228
2228
  try {
2229
- const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-BROwnG-V.mjs').then(function (n) { return n.ac; });
2229
+ const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-Buov6wz-.mjs').then(function (n) { return n.ac; });
2230
2230
  browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
2231
2231
  } catch {
2232
2232
  }
@@ -1,5 +1,5 @@
1
1
  import { execSync } from 'node:child_process';
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-BROwnG-V.mjs';
2
+ import { m as resolveProjectRoot, t as searchIssues, q as listIssues, o as addComment, u as updateIssue, n as getIssue, v as summarize, p as addIssue } from './run-Buov6wz-.mjs';
3
3
  import 'os';
4
4
  import 'fs/promises';
5
5
  import 'fs';
@@ -1,11 +1,11 @@
1
1
  import { writeFileSync, readFileSync } from 'fs';
2
2
  import { resolve } from 'path';
3
- import { connectAndGetMachine } from './commands-NdHufk_2.mjs';
3
+ import { connectAndGetMachine } from './commands-BssfhM-2.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-BROwnG-V.mjs';
8
+ import './run-Buov6wz-.mjs';
9
9
  import 'os';
10
10
  import 'fs/promises';
11
11
  import 'url';
@@ -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 { O as formatHandle, P as normalizeAllowedUser, Q as loadSecurityContextConfig, T as resolveSecurityContext, U as buildSecurityContextFromFlags, V as mergeSecurityContexts, c as connectToHypha, W as buildSessionShareUrl, X as computeOutboundHop, x as shortId, Y as buildMachineShareUrl, Z as parseHandle, _ as handleMatchesMetadata } from './run-BROwnG-V.mjs';
5
+ import { O as formatHandle, P as normalizeAllowedUser, Q as loadSecurityContextConfig, T as resolveSecurityContext, U as buildSecurityContextFromFlags, V as mergeSecurityContexts, c as connectToHypha, W as buildSessionShareUrl, X as computeOutboundHop, x as shortId, Y as buildMachineShareUrl, Z as parseHandle, _ as handleMatchesMetadata } from './run-Buov6wz-.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 { y as parseFrontmatter, z as getSkillsServer, A as getSkillsWorkspaceName, B as getSkillsCollectionName, C as fetchWithTimeout, D as searchSkills, E as SKILLS_DIR, F as getSkillInfo, G as downloadSkillFile, H as listSkillFiles } from './run-BROwnG-V.mjs';
4
+ import { D as parseFrontmatter, E as getSkillsServer, F as getSkillsWorkspaceName, G as getSkillsCollectionName, H as fetchWithTimeout, I as searchSkills, J as SKILLS_DIR, K as getSkillInfo, L as downloadSkillFile, M as listSkillFiles } from './run-Buov6wz-.mjs';
5
5
  import 'fs/promises';
6
6
  import 'url';
7
7
  import 'child_process';
@@ -1,7 +1,7 @@
1
1
  import { execFileSync } from 'node:child_process';
2
2
  import { randomUUID } from 'node:crypto';
3
3
  import { createServer } from 'node:http';
4
- import { R as RoutineStore, w as RoutineRunner } from './run-BROwnG-V.mjs';
4
+ import { R as RoutineStore, w as RoutineRunner } from './run-Buov6wz-.mjs';
5
5
  import 'os';
6
6
  import 'fs/promises';
7
7
  import 'fs';
@@ -75,7 +75,7 @@ Criteria: ${res.criteria || "(none)"}
75
75
  urgency: "normal",
76
76
  hopCount: 1
77
77
  };
78
- const { connectAndGetMachine } = await import('./commands-NdHufk_2.mjs');
78
+ const { connectAndGetMachine } = await import('./commands-BssfhM-2.mjs');
79
79
  const { server, machine } = await connectAndGetMachine();
80
80
  try {
81
81
  await machine.sessionRPC(reportTo, "sendInboxMessage", { message });
@@ -1,7 +1,7 @@
1
1
  import { existsSync } from 'node:fs';
2
- import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-NdHufk_2.mjs';
2
+ import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-BssfhM-2.mjs';
3
3
  import { execSync } from 'node:child_process';
4
- import { u as updateIssue, p as addComment, v as addIssue, x as shortId } from './run-BROwnG-V.mjs';
4
+ import { u as updateIssue, o as addComment, p as addIssue, x as shortId } from './run-Buov6wz-.mjs';
5
5
  import 'node:path';
6
6
  import 'node:os';
7
7
  import 'os';
@@ -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-BZmO_6PK.mjs');
61
+ const { runFrpcTunnel } = await import('./frpc-BDZgTsi8.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-NdHufk_2.mjs');
71
+ const { connectAndGetMachine } = await import('./commands-BssfhM-2.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-BZmO_6PK.mjs');
126
+ const { runFrpcTunnel } = await import('./frpc-BDZgTsi8.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-NdHufk_2.mjs');
135
+ const { connectAndGetMachine } = await import('./commands-BssfhM-2.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-NdHufk_2.mjs');
175
+ const { connectAndGetMachine } = await import('./commands-BssfhM-2.mjs');
176
176
  const { server, machine } = await connectAndGetMachine();
177
177
  try {
178
178
  await machine.tunnelStop({ name });