svamp-cli 0.2.223 → 0.2.224

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 (24) hide show
  1. package/dist/{agentCommands-Be_5WSKW.mjs → agentCommands-BignK4hn.mjs} +5 -5
  2. package/dist/{auth-CKjLWEcA.mjs → auth-tP-DHfsI.mjs} +1 -1
  3. package/dist/cli.mjs +61 -61
  4. package/dist/{commands-CK3ZbA0p.mjs → commands-1IupY9qh.mjs} +6 -6
  5. package/dist/{commands-DGD5uSeq.mjs → commands-Bpq8_9OU.mjs} +2 -2
  6. package/dist/{commands-Dw2YesDl.mjs → commands-C1VIwqOH.mjs} +1 -1
  7. package/dist/{commands-DeBy9HEU.mjs → commands-CA8AMvq-.mjs} +1 -1
  8. package/dist/{commands-ClmIatXG.mjs → commands-DMoXgLUh.mjs} +1 -1
  9. package/dist/{commands-B_XZmurW.mjs → commands-DqvzIDMK.mjs} +13 -1
  10. package/dist/{commands-DzwKn57T.mjs → commands-ez1xdcH5.mjs} +2 -2
  11. package/dist/{fleet-CPm4Bm3m.mjs → fleet-B6Rh4mje.mjs} +1 -1
  12. package/dist/{frpc-C2eRCDNy.mjs → frpc-vpwKk0kV.mjs} +1 -1
  13. package/dist/{headlessCli-Bt3ZIoTG.mjs → headlessCli-C51w8i7T.mjs} +2 -2
  14. package/dist/index.mjs +1 -1
  15. package/dist/{package-BL4Hd940.mjs → package-CzzAMi8h.mjs} +1 -1
  16. package/dist/{rpc-CrjSXvID.mjs → rpc-CcQQrbBO.mjs} +1 -1
  17. package/dist/{rpc-CekroPL2.mjs → rpc-D7QFTk_g.mjs} +1 -1
  18. package/dist/{run-DUquoPkl.mjs → run-BZrPFG_w.mjs} +1 -1
  19. package/dist/{run-BqvXq2yD.mjs → run-C-9ZtEi4.mjs} +77 -19
  20. package/dist/{scheduler-agjaeQjl.mjs → scheduler-jlX6Mkxf.mjs} +1 -1
  21. package/dist/{serveCommands-Bc4ZhEqi.mjs → serveCommands-Dhrv-HAD.mjs} +5 -5
  22. package/dist/{serveManager-Ddqi1kbZ.mjs → serveManager-DtBN8E9D.mjs} +2 -2
  23. package/dist/{sideband-lLT0D1PF.mjs → sideband-DxH9bMhv.mjs} +1 -1
  24. package/package.json +1 -1
@@ -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 { A as shortId } from './run-BqvXq2yD.mjs';
5
+ import { A as shortId } from './run-C-9ZtEi4.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-BqvXq2yD.mjs').then(function (n) { return n.a8; });
99
+ const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-C-9ZtEi4.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.");
@@ -327,7 +327,7 @@ async function sessionBroadcast(action, args) {
327
327
  console.log(`Broadcast sent: ${action}`);
328
328
  }
329
329
  async function connectToMachineService() {
330
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
330
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
331
331
  return connectAndGetMachine();
332
332
  }
333
333
  function buildInboxMessage(args) {
@@ -405,7 +405,7 @@ async function inboxSend(targetSessionId, opts) {
405
405
  console.error("Message body is required.");
406
406
  process.exit(1);
407
407
  }
408
- const { connectAndResolveSession } = await import('./commands-B_XZmurW.mjs');
408
+ const { connectAndResolveSession } = await import('./commands-DqvzIDMK.mjs');
409
409
  let server;
410
410
  try {
411
411
  const { targetId, messageId } = await inboxSendCore(
@@ -459,7 +459,7 @@ async function inboxReply(messageId, body) {
459
459
  console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
460
460
  process.exit(1);
461
461
  }
462
- const { connectAndResolveSession } = await import('./commands-B_XZmurW.mjs');
462
+ const { connectAndResolveSession } = await import('./commands-DqvzIDMK.mjs');
463
463
  const { server: localServer, machine: localMachine } = await connectToMachineService();
464
464
  let localDisconnected = false;
465
465
  const disconnectLocal = async () => {
@@ -1,4 +1,4 @@
1
- import { P as resolveModel } from './run-BqvXq2yD.mjs';
1
+ import { P as resolveModel } from './run-C-9ZtEi4.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-BqvXq2yD.mjs';
1
+ import { e as clearStopMarker, f as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-C-9ZtEi4.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-BqvXq2yD.mjs').then(function (n) { return n.ae; });
37
+ const { getLoadedConfig } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.af; });
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-BqvXq2yD.mjs').then(function (n) { return n.ag; });
54
+ const { restartDaemon } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.ah; });
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-CK3ZbA0p.mjs');
347
+ const { handleServiceCommand } = await import('./commands-1IupY9qh.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-Bc4ZhEqi.mjs');
355
+ const { handleServeCommand } = await import('./serveCommands-Dhrv-HAD.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-DGD5uSeq.mjs');
364
+ const { processCommand } = await import('./commands-Bpq8_9OU.mjs');
365
365
  let machineId;
366
366
  const processArgs = args.slice(1);
367
367
  const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
@@ -375,18 +375,18 @@ 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-DeBy9HEU.mjs');
378
+ const { issueCommand } = await import('./commands-CA8AMvq-.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-ClmIatXG.mjs');
382
+ const { workflowCommand } = await import('./commands-DMoXgLUh.mjs');
383
383
  await workflowCommand(args.slice(1));
384
384
  process.exit(0);
385
385
  } else if (subcommand === "wise-agent" || subcommand === "wise") {
386
386
  await handleWiseAgentCommand(args.slice(1));
387
387
  process.exit(0);
388
388
  } else if (subcommand === "feature" || subcommand === "crew") {
389
- const { crewCommand } = await import('./commands-DzwKn57T.mjs');
389
+ const { crewCommand } = await import('./commands-ez1xdcH5.mjs');
390
390
  await crewCommand(args.slice(1));
391
391
  process.exit(0);
392
392
  } else if (subcommand === "--help" || subcommand === "-h") {
@@ -394,7 +394,7 @@ async function main() {
394
394
  } else if (!subcommand || subcommand === "start") {
395
395
  await handleInteractiveCommand();
396
396
  } else if (subcommand === "--version" || subcommand === "-v") {
397
- const pkg = await import('./package-BL4Hd940.mjs').catch(() => ({ default: { version: "unknown" } }));
397
+ const pkg = await import('./package-CzzAMi8h.mjs').catch(() => ({ default: { version: "unknown" } }));
398
398
  console.log(`svamp version: ${pkg.default.version}`);
399
399
  } else {
400
400
  console.error(`Unknown command: ${subcommand}`);
@@ -403,7 +403,7 @@ async function main() {
403
403
  }
404
404
  }
405
405
  async function handleInteractiveCommand() {
406
- const { runInteractive } = await import('./run-DUquoPkl.mjs');
406
+ const { runInteractive } = await import('./run-BZrPFG_w.mjs');
407
407
  const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
408
408
  let directory = process.cwd();
409
409
  let resumeSessionId;
@@ -448,7 +448,7 @@ async function handleAgentCommand() {
448
448
  return;
449
449
  }
450
450
  if (agentArgs[0] === "list") {
451
- const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.ab; });
451
+ const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.ac; });
452
452
  console.log("Known agents:");
453
453
  for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
454
454
  console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
@@ -460,7 +460,7 @@ async function handleAgentCommand() {
460
460
  console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
461
461
  return;
462
462
  }
463
- const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.ab; });
463
+ const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.ac; });
464
464
  let cwd = process.cwd();
465
465
  const filteredArgs = [];
466
466
  for (let i = 0; i < agentArgs.length; i++) {
@@ -484,12 +484,12 @@ async function handleAgentCommand() {
484
484
  console.log(`Starting ${config.agentName} agent in ${cwd}...`);
485
485
  let backend;
486
486
  if (KNOWN_MCP_AGENTS[config.agentName]) {
487
- const { CodexMcpBackend } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.ac; });
487
+ const { CodexMcpBackend } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.ad; });
488
488
  backend = new CodexMcpBackend({ cwd, log: logFn });
489
489
  } else {
490
- const { AcpBackend } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.aa; });
491
- const { GeminiTransport } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.ad; });
492
- const { DefaultTransport } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.a9; });
490
+ const { AcpBackend } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.ab; });
491
+ const { GeminiTransport } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.ae; });
492
+ const { DefaultTransport } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.aa; });
493
493
  const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
494
494
  backend = new AcpBackend({
495
495
  agentName: config.agentName,
@@ -616,7 +616,7 @@ async function handleSessionCommand() {
616
616
  process.exit(1);
617
617
  }
618
618
  }
619
- 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-B_XZmurW.mjs');
619
+ 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-DqvzIDMK.mjs');
620
620
  const parseFlagStr = (flag, shortFlag) => {
621
621
  for (let i = 1; i < sessionArgs.length; i++) {
622
622
  if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
@@ -684,7 +684,7 @@ async function handleSessionCommand() {
684
684
  allowDomain.push(sessionArgs[++i]);
685
685
  }
686
686
  }
687
- const { parseShareArg } = await import('./commands-B_XZmurW.mjs');
687
+ const { parseShareArg } = await import('./commands-DqvzIDMK.mjs');
688
688
  const shareEntries = share.map((s) => parseShareArg(s));
689
689
  await sessionSpawn(agent, dir, targetMachineId, {
690
690
  message,
@@ -771,7 +771,7 @@ async function handleSessionCommand() {
771
771
  console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
772
772
  process.exit(1);
773
773
  }
774
- const { sessionEditMessage } = await import('./commands-B_XZmurW.mjs');
774
+ const { sessionEditMessage } = await import('./commands-DqvzIDMK.mjs');
775
775
  await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
776
776
  } else if (sessionSubcommand === "refine") {
777
777
  if (!sessionArgs[1] || !sessionArgs[2]) {
@@ -779,7 +779,7 @@ async function handleSessionCommand() {
779
779
  console.error(" Asks the agent to revise its latest reply in place (no extra round).");
780
780
  process.exit(1);
781
781
  }
782
- const { sessionRefineLastReply } = await import('./commands-B_XZmurW.mjs');
782
+ const { sessionRefineLastReply } = await import('./commands-DqvzIDMK.mjs');
783
783
  await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
784
784
  } else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
785
785
  if (!sessionArgs[1]) {
@@ -787,7 +787,7 @@ async function handleSessionCommand() {
787
787
  console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
788
788
  process.exit(1);
789
789
  }
790
- const { sessionUndoEdit } = await import('./commands-B_XZmurW.mjs');
790
+ const { sessionUndoEdit } = await import('./commands-DqvzIDMK.mjs');
791
791
  await sessionUndoEdit(sessionArgs[1], targetMachineId);
792
792
  } else if (sessionSubcommand === "query") {
793
793
  const dir = sessionArgs[1];
@@ -797,7 +797,7 @@ async function handleSessionCommand() {
797
797
  console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
798
798
  process.exit(1);
799
799
  }
800
- const { sessionQuery } = await import('./commands-B_XZmurW.mjs');
800
+ const { sessionQuery } = await import('./commands-DqvzIDMK.mjs');
801
801
  await sessionQuery(dir, prompt, targetMachineId, {
802
802
  timeout: parseFlagInt("--timeout"),
803
803
  json: hasFlag("--json"),
@@ -830,7 +830,7 @@ async function handleSessionCommand() {
830
830
  console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
831
831
  process.exit(1);
832
832
  }
833
- const { sessionApprove } = await import('./commands-B_XZmurW.mjs');
833
+ const { sessionApprove } = await import('./commands-DqvzIDMK.mjs');
834
834
  const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
835
835
  await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
836
836
  json: hasFlag("--json")
@@ -840,7 +840,7 @@ async function handleSessionCommand() {
840
840
  console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
841
841
  process.exit(1);
842
842
  }
843
- const { sessionDeny } = await import('./commands-B_XZmurW.mjs');
843
+ const { sessionDeny } = await import('./commands-DqvzIDMK.mjs');
844
844
  const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
845
845
  await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
846
846
  json: hasFlag("--json")
@@ -885,7 +885,7 @@ async function handleSessionCommand() {
885
885
  console.error("Usage: svamp session set-title <title>");
886
886
  process.exit(1);
887
887
  }
888
- const { sessionSetTitle } = await import('./agentCommands-Be_5WSKW.mjs');
888
+ const { sessionSetTitle } = await import('./agentCommands-BignK4hn.mjs');
889
889
  await sessionSetTitle(title);
890
890
  } else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
891
891
  const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
@@ -893,7 +893,7 @@ async function handleSessionCommand() {
893
893
  console.error("Usage: svamp session set-project-description <text>");
894
894
  process.exit(1);
895
895
  }
896
- const { sessionSetProjectDescription } = await import('./agentCommands-Be_5WSKW.mjs');
896
+ const { sessionSetProjectDescription } = await import('./agentCommands-BignK4hn.mjs');
897
897
  await sessionSetProjectDescription(desc);
898
898
  } else if (sessionSubcommand === "set-link") {
899
899
  const url = sessionArgs[1];
@@ -902,11 +902,11 @@ async function handleSessionCommand() {
902
902
  process.exit(1);
903
903
  }
904
904
  const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
905
- const { sessionSetLink } = await import('./agentCommands-Be_5WSKW.mjs');
905
+ const { sessionSetLink } = await import('./agentCommands-BignK4hn.mjs');
906
906
  await sessionSetLink(url, label);
907
907
  } else if (sessionSubcommand === "link") {
908
908
  const op = sessionArgs[1];
909
- const lm = await import('./agentCommands-Be_5WSKW.mjs');
909
+ const lm = await import('./agentCommands-BignK4hn.mjs');
910
910
  if (op === "add") {
911
911
  const url = sessionArgs[2];
912
912
  if (!url || url.startsWith("--")) {
@@ -941,7 +941,7 @@ async function handleSessionCommand() {
941
941
  process.exit(1);
942
942
  }
943
943
  const level = parseFlagStr("--level") || "info";
944
- const { sessionNotify } = await import('./agentCommands-Be_5WSKW.mjs');
944
+ const { sessionNotify } = await import('./agentCommands-BignK4hn.mjs');
945
945
  await sessionNotify(message, level);
946
946
  } else if (sessionSubcommand === "broadcast") {
947
947
  const action = sessionArgs[1];
@@ -949,7 +949,7 @@ async function handleSessionCommand() {
949
949
  console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
950
950
  process.exit(1);
951
951
  }
952
- const { sessionBroadcast } = await import('./agentCommands-Be_5WSKW.mjs');
952
+ const { sessionBroadcast } = await import('./agentCommands-BignK4hn.mjs');
953
953
  await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
954
954
  } else if (sessionSubcommand === "inbox") {
955
955
  const inboxSubcmd = sessionArgs[1];
@@ -960,7 +960,7 @@ async function handleSessionCommand() {
960
960
  process.exit(1);
961
961
  }
962
962
  if (agentSessionId) {
963
- const { inboxSend } = await import('./agentCommands-Be_5WSKW.mjs');
963
+ const { inboxSend } = await import('./agentCommands-BignK4hn.mjs');
964
964
  await inboxSend(sessionArgs[2], {
965
965
  body: sessionArgs[3],
966
966
  subject: parseFlagStr("--subject"),
@@ -975,7 +975,7 @@ async function handleSessionCommand() {
975
975
  }
976
976
  } else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
977
977
  if (agentSessionId && !sessionArgs[2]) {
978
- const { inboxList } = await import('./agentCommands-Be_5WSKW.mjs');
978
+ const { inboxList } = await import('./agentCommands-BignK4hn.mjs');
979
979
  await inboxList({
980
980
  unread: hasFlag("--unread"),
981
981
  limit: parseFlagInt("--limit"),
@@ -997,7 +997,7 @@ async function handleSessionCommand() {
997
997
  process.exit(1);
998
998
  }
999
999
  if (agentSessionId && !sessionArgs[3]) {
1000
- const { inboxList } = await import('./agentCommands-Be_5WSKW.mjs');
1000
+ const { inboxList } = await import('./agentCommands-BignK4hn.mjs');
1001
1001
  await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
1002
1002
  } else if (sessionArgs[3]) {
1003
1003
  await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
@@ -1007,7 +1007,7 @@ async function handleSessionCommand() {
1007
1007
  }
1008
1008
  } else if (inboxSubcmd === "reply") {
1009
1009
  if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
1010
- const { inboxReply } = await import('./agentCommands-Be_5WSKW.mjs');
1010
+ const { inboxReply } = await import('./agentCommands-BignK4hn.mjs');
1011
1011
  await inboxReply(sessionArgs[2], sessionArgs[3]);
1012
1012
  } else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
1013
1013
  await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
@@ -1045,7 +1045,7 @@ async function handleMachineCommand() {
1045
1045
  return;
1046
1046
  }
1047
1047
  if (machineSubcommand === "share") {
1048
- const { machineShare } = await import('./commands-B_XZmurW.mjs');
1048
+ const { machineShare } = await import('./commands-DqvzIDMK.mjs');
1049
1049
  let machineId;
1050
1050
  const shareArgs = [];
1051
1051
  for (let i = 1; i < machineArgs.length; i++) {
@@ -1096,14 +1096,14 @@ async function handleMachineCommand() {
1096
1096
  process.exit(1);
1097
1097
  }
1098
1098
  if (all) {
1099
- const { fleetExec } = await import('./fleet-CPm4Bm3m.mjs');
1099
+ const { fleetExec } = await import('./fleet-B6Rh4mje.mjs');
1100
1100
  await fleetExec(command, { cwd });
1101
1101
  } else {
1102
- const { machineExec } = await import('./commands-B_XZmurW.mjs');
1102
+ const { machineExec } = await import('./commands-DqvzIDMK.mjs');
1103
1103
  await machineExec(machineId, command, cwd);
1104
1104
  }
1105
1105
  } else if (machineSubcommand === "info") {
1106
- const { machineInfo } = await import('./commands-B_XZmurW.mjs');
1106
+ const { machineInfo } = await import('./commands-DqvzIDMK.mjs');
1107
1107
  let machineId;
1108
1108
  for (let i = 1; i < machineArgs.length; i++) {
1109
1109
  if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
@@ -1123,10 +1123,10 @@ async function handleMachineCommand() {
1123
1123
  level = machineArgs[++i];
1124
1124
  }
1125
1125
  }
1126
- const { machineNotify } = await import('./agentCommands-Be_5WSKW.mjs');
1126
+ const { machineNotify } = await import('./agentCommands-BignK4hn.mjs');
1127
1127
  await machineNotify(message, level);
1128
1128
  } else if (machineSubcommand === "ls") {
1129
- const { machineLs } = await import('./commands-B_XZmurW.mjs');
1129
+ const { machineLs } = await import('./commands-DqvzIDMK.mjs');
1130
1130
  let machineId;
1131
1131
  let showHidden = false;
1132
1132
  let path;
@@ -1182,20 +1182,20 @@ Examples:
1182
1182
  };
1183
1183
  const hasFlag = (name) => fleetArgs.includes(`--${name}`);
1184
1184
  if (sub === "status") {
1185
- const { fleetStatus } = await import('./fleet-CPm4Bm3m.mjs');
1185
+ const { fleetStatus } = await import('./fleet-B6Rh4mje.mjs');
1186
1186
  await fleetStatus();
1187
1187
  } else if (sub === "upgrade-claude") {
1188
- const { fleetUpgradeClaude } = await import('./fleet-CPm4Bm3m.mjs');
1188
+ const { fleetUpgradeClaude } = await import('./fleet-B6Rh4mje.mjs');
1189
1189
  await fleetUpgradeClaude({ version: flag("version", "-v") });
1190
1190
  } else if (sub === "upgrade-svamp") {
1191
- const { fleetUpgradeSvamp } = await import('./fleet-CPm4Bm3m.mjs');
1191
+ const { fleetUpgradeSvamp } = await import('./fleet-B6Rh4mje.mjs');
1192
1192
  await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self") });
1193
1193
  } else if (sub === "daemon-restart") {
1194
- const { fleetDaemonRestart } = await import('./fleet-CPm4Bm3m.mjs');
1194
+ const { fleetDaemonRestart } = await import('./fleet-B6Rh4mje.mjs');
1195
1195
  await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
1196
1196
  } else if (sub === "push-skill") {
1197
1197
  const name = fleetArgs[1];
1198
- const { fleetPushSkill } = await import('./fleet-CPm4Bm3m.mjs');
1198
+ const { fleetPushSkill } = await import('./fleet-B6Rh4mje.mjs');
1199
1199
  await fleetPushSkill(name);
1200
1200
  } else {
1201
1201
  console.error(`Unknown fleet subcommand: ${sub}`);
@@ -1211,7 +1211,7 @@ async function handleSkillsCommand() {
1211
1211
  await printSkillsHelp();
1212
1212
  return;
1213
1213
  }
1214
- const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-Dw2YesDl.mjs');
1214
+ const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-C1VIwqOH.mjs');
1215
1215
  if (skillsSubcommand === "find" || skillsSubcommand === "search") {
1216
1216
  const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
1217
1217
  if (!query) {
@@ -1258,7 +1258,7 @@ async function loginToHypha() {
1258
1258
  process.exit(1);
1259
1259
  }
1260
1260
  const anchor = anchorArg.replace(/\/+$/, "");
1261
- const { loadInstanceConfig } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.ae; });
1261
+ const { loadInstanceConfig } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.af; });
1262
1262
  let cfg = null;
1263
1263
  try {
1264
1264
  cfg = await loadInstanceConfig({ anchor, force: true });
@@ -1369,7 +1369,7 @@ async function logoutFromHypha() {
1369
1369
  } catch {
1370
1370
  }
1371
1371
  try {
1372
- const { clearInstanceConfigCache } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.ae; });
1372
+ const { clearInstanceConfigCache } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.af; });
1373
1373
  clearInstanceConfigCache();
1374
1374
  } catch {
1375
1375
  }
@@ -1707,7 +1707,7 @@ async function applyClaudeAuthFlags(argv) {
1707
1707
  "--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
1708
1708
  );
1709
1709
  }
1710
- const mod = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.a7; });
1710
+ const mod = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.a8; });
1711
1711
  if (hasHypha) {
1712
1712
  let url;
1713
1713
  const hyphaIdx = argv.indexOf("--use-hypha-proxy");
@@ -1761,7 +1761,7 @@ async function applyDaemonShareFlag(argv) {
1761
1761
  }
1762
1762
  }
1763
1763
  if (collected.length === 0) return;
1764
- const { updateEnvFile } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.a7; });
1764
+ const { updateEnvFile } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.a8; });
1765
1765
  const seen = /* @__PURE__ */ new Set();
1766
1766
  const deduped = collected.filter((e) => {
1767
1767
  const k = e.toLowerCase();
@@ -1794,7 +1794,7 @@ async function handleWiseAgentCommand(rest) {
1794
1794
  }
1795
1795
  });
1796
1796
  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(" ");
1797
- const { wiseAskCli } = await import('./commands-B_XZmurW.mjs');
1797
+ const { wiseAskCli } = await import('./commands-DqvzIDMK.mjs');
1798
1798
  await wiseAskCli(machineId, message, sessionId, { json });
1799
1799
  return;
1800
1800
  }
@@ -1806,7 +1806,7 @@ async function handleWiseAgentCommand(rest) {
1806
1806
  }
1807
1807
  return void 0;
1808
1808
  };
1809
- const { runWiseVoiceCli } = await import('./headlessCli-Bt3ZIoTG.mjs');
1809
+ const { runWiseVoiceCli } = await import('./headlessCli-C51w8i7T.mjs');
1810
1810
  await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
1811
1811
  return;
1812
1812
  }
@@ -1824,7 +1824,7 @@ async function handleWiseAgentCommand(rest) {
1824
1824
  const mode = valueOf(["--mode"]);
1825
1825
  const mission = valueOf(["--mission"]);
1826
1826
  const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
1827
- const { wiseJoinMeetingCli } = await import('./commands-B_XZmurW.mjs');
1827
+ const { wiseJoinMeetingCli } = await import('./commands-DqvzIDMK.mjs');
1828
1828
  await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
1829
1829
  return;
1830
1830
  }
@@ -1836,7 +1836,7 @@ async function handleWiseAgentCommand(rest) {
1836
1836
  }
1837
1837
  return void 0;
1838
1838
  };
1839
- const { wiseLeaveMeetingCli } = await import('./commands-B_XZmurW.mjs');
1839
+ const { wiseLeaveMeetingCli } = await import('./commands-DqvzIDMK.mjs');
1840
1840
  await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
1841
1841
  return;
1842
1842
  }
@@ -1860,7 +1860,7 @@ async function handleWiseAgentCommand(rest) {
1860
1860
  }
1861
1861
  });
1862
1862
  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(" ");
1863
- const { wiseAnnounceCli } = await import('./commands-B_XZmurW.mjs');
1863
+ const { wiseAnnounceCli } = await import('./commands-DqvzIDMK.mjs');
1864
1864
  await wiseAnnounceCli(machineId, text, sessionId, { json });
1865
1865
  return;
1866
1866
  }
@@ -1872,7 +1872,7 @@ async function handleWiseAgentCommand(rest) {
1872
1872
  }
1873
1873
  return void 0;
1874
1874
  };
1875
- const { wiseMeetingsCli } = await import('./commands-B_XZmurW.mjs');
1875
+ const { wiseMeetingsCli } = await import('./commands-DqvzIDMK.mjs');
1876
1876
  await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
1877
1877
  return;
1878
1878
  }
@@ -1922,7 +1922,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1922
1922
  return;
1923
1923
  }
1924
1924
  const authArgs = rest.slice(1);
1925
- const mod = await import('./auth-CKjLWEcA.mjs');
1925
+ const mod = await import('./auth-tP-DHfsI.mjs');
1926
1926
  let action;
1927
1927
  try {
1928
1928
  action = mod.parseWiseAgentAuthArgs(authArgs);
@@ -1932,7 +1932,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1932
1932
  return;
1933
1933
  }
1934
1934
  if (action) {
1935
- const { updateEnvFile } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.a7; });
1935
+ const { updateEnvFile } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.a8; });
1936
1936
  const updates = mod.buildWiseAgentEnvUpdates(action);
1937
1937
  updateEnvFile(updates);
1938
1938
  for (const [k, v] of Object.entries(updates)) {
@@ -1946,7 +1946,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1946
1946
  }
1947
1947
  async function handleDaemonAuthCommand(argv) {
1948
1948
  const sub = (argv[0] || "status").toLowerCase();
1949
- const mod = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.a7; });
1949
+ const mod = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.a8; });
1950
1950
  if (sub === "--help" || sub === "-h" || sub === "help") {
1951
1951
  console.log(`
1952
1952
  svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
@@ -2259,7 +2259,7 @@ Examples:
2259
2259
  async function printSkillsHelp() {
2260
2260
  let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
2261
2261
  try {
2262
- const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-BqvXq2yD.mjs').then(function (n) { return n.af; });
2262
+ const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-C-9ZtEi4.mjs').then(function (n) { return n.ag; });
2263
2263
  browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
2264
2264
  } catch {
2265
2265
  }
@@ -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-C2eRCDNy.mjs');
61
+ const { runFrpcTunnel } = await import('./frpc-vpwKk0kV.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-B_XZmurW.mjs');
71
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
72
72
  const { server, machine } = await connectAndGetMachine();
73
73
  try {
74
74
  const status = await machine.tunnelStart({
@@ -87,7 +87,7 @@ async function serviceExpose(args) {
87
87
  console.log(` port ${port}: ${url}`);
88
88
  }
89
89
  if (process.env.SVAMP_SESSION_ID) {
90
- const { autoAddSessionLink } = await import('./agentCommands-Be_5WSKW.mjs');
90
+ const { autoAddSessionLink } = await import('./agentCommands-BignK4hn.mjs');
91
91
  let added = 0;
92
92
  for (const [port, url] of urlEntries) {
93
93
  const label = urlEntries.length > 1 ? `${name}:${port}` : name;
@@ -133,7 +133,7 @@ async function serviceServe(args) {
133
133
  };
134
134
  process.on("SIGINT", cleanup);
135
135
  process.on("SIGTERM", cleanup);
136
- const { runFrpcTunnel } = await import('./frpc-C2eRCDNy.mjs');
136
+ const { runFrpcTunnel } = await import('./frpc-vpwKk0kV.mjs');
137
137
  await runFrpcTunnel(name, [caddyPort]);
138
138
  } catch (err) {
139
139
  console.error(`Error serving directory: ${err.message}`);
@@ -142,7 +142,7 @@ async function serviceServe(args) {
142
142
  }
143
143
  async function serviceList(_args) {
144
144
  try {
145
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
145
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
146
146
  const { server, machine } = await connectAndGetMachine();
147
147
  try {
148
148
  const tunnels = await machine.tunnelList({});
@@ -182,7 +182,7 @@ async function serviceDelete(args) {
182
182
  process.exit(1);
183
183
  }
184
184
  try {
185
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
185
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
186
186
  const { server, machine } = await connectAndGetMachine();
187
187
  try {
188
188
  await machine.tunnelStop({ name });
@@ -1,11 +1,11 @@
1
1
  import { writeFileSync, readFileSync } from 'fs';
2
2
  import { resolve } from 'path';
3
- import { connectAndGetMachine } from './commands-B_XZmurW.mjs';
3
+ import { connectAndGetMachine } from './commands-DqvzIDMK.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-BqvXq2yD.mjs';
8
+ import './run-C-9ZtEi4.mjs';
9
9
  import 'os';
10
10
  import 'fs/promises';
11
11
  import 'url';
@@ -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 { F as parseFrontmatter, G as getSkillsServer, H as getSkillsWorkspaceName, I as getSkillsCollectionName, J as fetchWithTimeout, K as searchSkills, L as SKILLS_DIR, M as getSkillInfo, N as downloadSkillFile, O as listSkillFiles } from './run-BqvXq2yD.mjs';
4
+ import { F as parseFrontmatter, G as getSkillsServer, H as getSkillsWorkspaceName, I as getSkillsCollectionName, J as fetchWithTimeout, K as searchSkills, L as SKILLS_DIR, M as getSkillInfo, N as downloadSkillFile, O as listSkillFiles } from './run-C-9ZtEi4.mjs';
5
5
  import 'fs/promises';
6
6
  import 'url';
7
7
  import 'child_process';
@@ -1,7 +1,7 @@
1
1
  import { execSync } from 'node:child_process';
2
2
  import { existsSync, readFileSync } from 'node:fs';
3
3
  import { join } from 'node:path';
4
- import { m as resolveProjectRoot, w as searchIssues, v as listIssues, o as resumeIssue, p as pauseIssue, q as addComment, u as updateIssue, n as getIssue, x as isVisibleTo, z as summarize, t as addIssue } from './run-BqvXq2yD.mjs';
4
+ import { m as resolveProjectRoot, w as searchIssues, v as listIssues, o as resumeIssue, p as pauseIssue, q as addComment, u as updateIssue, n as getIssue, x as isVisibleTo, z as summarize, t as addIssue } from './run-C-9ZtEi4.mjs';
5
5
  import 'os';
6
6
  import 'fs/promises';
7
7
  import 'fs';
@@ -1,5 +1,5 @@
1
1
  import { spawnSync } from 'node:child_process';
2
- import { m as resolveProjectRoot } from './run-BqvXq2yD.mjs';
2
+ import { m as resolveProjectRoot } from './run-C-9ZtEi4.mjs';
3
3
  import { c as workflowSteps, s as setWorkflowEnabled, i as isWorkflowEnabled, r as removeWorkflow, g as getWorkflow, l as listWorkflows, a as saveWorkflow, b as rawWorkflow } from './store-BTs0H_y0.mjs';
4
4
  import 'os';
5
5
  import 'fs/promises';
@@ -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 { 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 computeOutboundHop, A as shortId, _ as buildMachineShareUrl, $ as parseHandle, a0 as handleMatchesMetadata } from './run-BqvXq2yD.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 computeOutboundHop, A as shortId, _ as registerAwaitingReply, $ as buildMachineShareUrl, a0 as parseHandle, a1 as handleMatchesMetadata } from './run-C-9ZtEi4.mjs';
6
6
  import 'os';
7
7
  import 'fs/promises';
8
8
  import 'fs';
@@ -1834,6 +1834,12 @@ async function sendCore(machine, fullId, message, opts) {
1834
1834
  ...hop.threadId ? { threadId: hop.threadId } : {}
1835
1835
  };
1836
1836
  const result = await machine.sessionRPC(fullId, "sendInboxMessage", { message: inboxMessage });
1837
+ if (callerSessionId) {
1838
+ try {
1839
+ registerAwaitingReply(callerSessionId, hop.threadId || inboxMessage.messageId);
1840
+ } catch {
1841
+ }
1842
+ }
1837
1843
  let waitResult;
1838
1844
  if (shouldWait) {
1839
1845
  const timeoutMs = (opts?.timeout || 300) * 1e3;
@@ -2614,6 +2620,12 @@ async function sessionInboxSend(sessionIdPartial, body, machineId, opts) {
2614
2620
  threadId: opts?.threadId || hop.threadId
2615
2621
  };
2616
2622
  const result = await machine.sessionRPC(fullId, "sendInboxMessage", { message });
2623
+ if (callerSessionId) {
2624
+ try {
2625
+ registerAwaitingReply(callerSessionId, opts?.threadId || hop.threadId || message.messageId);
2626
+ } catch {
2627
+ }
2628
+ }
2617
2629
  if (opts?.json) {
2618
2630
  console.log(formatJson({ sessionId: fullId, messageId: result.messageId, sent: true }));
2619
2631
  } else {
@@ -1,8 +1,8 @@
1
1
  import { existsSync } from 'node:fs';
2
2
  import { resolve } from 'node:path';
3
- import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-B_XZmurW.mjs';
3
+ import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-DqvzIDMK.mjs';
4
4
  import { execSync } from 'node:child_process';
5
- import { u as updateIssue, q as addComment, t as addIssue, A as shortId } from './run-BqvXq2yD.mjs';
5
+ import { u as updateIssue, q as addComment, t as addIssue, A as shortId } from './run-C-9ZtEi4.mjs';
6
6
  import 'node:os';
7
7
  import 'os';
8
8
  import 'fs/promises';
@@ -1,7 +1,7 @@
1
1
  import { existsSync, readFileSync } from 'node:fs';
2
2
  import { join } from 'node:path';
3
3
  import os from 'node:os';
4
- import { c as connectToHypha } from './run-BqvXq2yD.mjs';
4
+ import { c as connectToHypha } from './run-C-9ZtEi4.mjs';
5
5
  import { PINNED_CLAUDE_CODE_VERSION } from './pinnedClaudeCode-VIupR1NK.mjs';
6
6
  import 'os';
7
7
  import 'fs/promises';
@@ -4,7 +4,7 @@ import { mkdirSync, writeFileSync, unlinkSync, existsSync, chmodSync, readFileSy
4
4
  import { join } from 'path';
5
5
  import { homedir, platform, arch } from 'os';
6
6
  import { randomUUID, createHash } from 'crypto';
7
- import { h as getFrpsSubdomainHost, i as getFrpsServerPort, j as getFrpsServerAddr } from './run-BqvXq2yD.mjs';
7
+ import { h as getFrpsSubdomainHost, i as getFrpsServerPort, j as getFrpsServerAddr } from './run-C-9ZtEi4.mjs';
8
8
  import 'fs/promises';
9
9
  import 'url';
10
10
  import 'node:crypto';
@@ -1,5 +1,5 @@
1
- import { P as resolveModel, a1 as describeMisconfiguration, a2 as buildMachineDeps } from './run-BqvXq2yD.mjs';
2
- import { handleRealtimeEvent, initMachineVoiceSession } from './sideband-lLT0D1PF.mjs';
1
+ import { P as resolveModel, a2 as describeMisconfiguration, a3 as buildMachineDeps } from './run-C-9ZtEi4.mjs';
2
+ import { handleRealtimeEvent, initMachineVoiceSession } from './sideband-DxH9bMhv.mjs';
3
3
  import { WebSocket } from 'ws';
4
4
  import { execSync, spawn } from 'child_process';
5
5
  import 'os';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as connectToHypha, a as createSessionStore, d as daemonStatus, g as getHyphaServerUrl, r as registerMachineService, s as startDaemon, b as stopDaemon } from './run-BqvXq2yD.mjs';
1
+ export { c as connectToHypha, a as createSessionStore, d as daemonStatus, g as getHyphaServerUrl, r as registerMachineService, s as startDaemon, b as stopDaemon } from './run-C-9ZtEi4.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
@@ -1,5 +1,5 @@
1
1
  var name = "svamp-cli";
2
- var version = "0.2.223";
2
+ var version = "0.2.224";
3
3
  var description = "Svamp CLI — AI workspace daemon on Hypha Cloud";
4
4
  var author = "Amun AI AB";
5
5
  var license = "SEE LICENSE IN LICENSE";
@@ -1,4 +1,4 @@
1
- import { m as resolveProjectRoot } from './run-BqvXq2yD.mjs';
1
+ import { m as resolveProjectRoot } from './run-C-9ZtEi4.mjs';
2
2
  import { g as getWorkflow, s as setWorkflowEnabled, r as removeWorkflow, a as saveWorkflow, b as rawWorkflow, l as listWorkflows } from './store-BTs0H_y0.mjs';
3
3
  import { g as getRun, l as listRuns, r as runWorkflow } from './runStore-CtptN7US.mjs';
4
4
  import 'os';
@@ -1,4 +1,4 @@
1
- import { m as resolveProjectRoot, u as updateIssue, n as getIssue, o as resumeIssue, p as pauseIssue, q as addComment, t as addIssue, v as listIssues, w as searchIssues, x as isVisibleTo } from './run-BqvXq2yD.mjs';
1
+ import { m as resolveProjectRoot, u as updateIssue, n as getIssue, o as resumeIssue, p as pauseIssue, q as addComment, t as addIssue, v as listIssues, w as searchIssues, x as isVisibleTo } from './run-C-9ZtEi4.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
@@ -1,4 +1,4 @@
1
- import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import { a3 as applyClaudeProxyEnv, a4 as composeSessionId, a5 as generateFriendlyName, c as connectToHypha, a as createSessionStore, r as registerMachineService, a6 as generateHookSettings } from './run-BqvXq2yD.mjs';
1
+ import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import { a4 as applyClaudeProxyEnv, a5 as composeSessionId, a6 as generateFriendlyName, c as connectToHypha, a as createSessionStore, r as registerMachineService, a7 as generateHookSettings } from './run-C-9ZtEi4.mjs';
2
2
  import os from 'node:os';
3
3
  import { resolve, join } from 'node:path';
4
4
  import { existsSync, readFileSync, watch } from 'node:fs';
@@ -2912,7 +2912,7 @@ async function registerMachineService(server, machineId, metadata, daemonState,
2912
2912
  const tunnels = handlers.tunnels;
2913
2913
  if (!tunnels) throw new Error("Tunnel management not available");
2914
2914
  if (tunnels.has(params.name)) throw new Error(`Tunnel '${params.name}' already running`);
2915
- const { FrpcTunnel } = await import('./frpc-C2eRCDNy.mjs');
2915
+ const { FrpcTunnel } = await import('./frpc-vpwKk0kV.mjs');
2916
2916
  const tunnel = new FrpcTunnel({
2917
2917
  name: params.name,
2918
2918
  ports: params.ports,
@@ -3359,7 +3359,7 @@ QUESTION: ${params.question || "Summarize this concisely."}` }
3359
3359
  }
3360
3360
  const deps = buildSessionDeps(rpc, { cwd, ownerEmail: owner });
3361
3361
  const sender = { name: context?.user?.email || context?.user?.id || "user", kind: "user", verified: true };
3362
- const { toolsForRole } = await import('./sideband-lLT0D1PF.mjs');
3362
+ const { toolsForRole } = await import('./sideband-DxH9bMhv.mjs');
3363
3363
  const r2 = await runWiseAgent({ message: params.message, sender, config: { tools: toolsForRole(role2) }, deps, transport, model: resolved.model });
3364
3364
  return fmt(r2);
3365
3365
  }
@@ -3458,7 +3458,7 @@ QUESTION: ${params.question || "Summarize this concisely."}` }
3458
3458
  if (r.error || !r.sender) return { error: r.error || "unauthorized" };
3459
3459
  const callId = "call_" + Math.random().toString(16).slice(2, 12);
3460
3460
  const rendered = renderMessage(c, { sender: r.sender, body: { message: kwargs.message }, callId });
3461
- const { queryCore } = await import('./commands-B_XZmurW.mjs');
3461
+ const { queryCore } = await import('./commands-DqvzIDMK.mjs');
3462
3462
  const timeout = c.reply?.timeout_sec || 120;
3463
3463
  let result;
3464
3464
  try {
@@ -3694,6 +3694,48 @@ function readInboundContext(sessionId) {
3694
3694
  return null;
3695
3695
  }
3696
3696
  }
3697
+ const AWAIT_TTL_MS = num("SVAMP_INBOX_AWAIT_TTL_MS", 60 * 6e4);
3698
+ const AWAIT_MAX = num("SVAMP_INBOX_AWAIT_MAX", 200);
3699
+ function awaitPath(sessionId) {
3700
+ return join(SVAMP_HOME$2, "awaiting", `${sessionId}.json`);
3701
+ }
3702
+ function readAwaiting(sessionId) {
3703
+ try {
3704
+ const p = awaitPath(sessionId);
3705
+ if (!existsSync(p)) return {};
3706
+ const m = JSON.parse(readFileSync(p, "utf-8"));
3707
+ return m && typeof m === "object" ? m : {};
3708
+ } catch {
3709
+ return {};
3710
+ }
3711
+ }
3712
+ function writeAwaiting(sessionId, map) {
3713
+ try {
3714
+ mkdirSync(join(SVAMP_HOME$2, "awaiting"), { recursive: true });
3715
+ writeFileSync(awaitPath(sessionId), JSON.stringify(map));
3716
+ } catch {
3717
+ }
3718
+ }
3719
+ function registerAwaitingReply(sessionId, threadId, now = Date.now()) {
3720
+ if (!sessionId || !threadId) return;
3721
+ const map = readAwaiting(sessionId);
3722
+ for (const k of Object.keys(map)) if (now - map[k] > AWAIT_TTL_MS) delete map[k];
3723
+ map[threadId] = now;
3724
+ const keys = Object.keys(map);
3725
+ if (keys.length > AWAIT_MAX) {
3726
+ keys.sort((a, b) => map[a] - map[b]).slice(0, keys.length - AWAIT_MAX).forEach((k) => delete map[k]);
3727
+ }
3728
+ writeAwaiting(sessionId, map);
3729
+ }
3730
+ function takeAwaitingReply(sessionId, threadId, now = Date.now()) {
3731
+ if (!sessionId || !threadId) return false;
3732
+ const map = readAwaiting(sessionId);
3733
+ const at = map[threadId];
3734
+ if (typeof at !== "number") return false;
3735
+ delete map[threadId];
3736
+ writeAwaiting(sessionId, map);
3737
+ return now - at <= AWAIT_TTL_MS;
3738
+ }
3697
3739
  function computeOutboundHop(sessionId) {
3698
3740
  if (!sessionId) return { hopCount: 0, fromInboxTurn: false };
3699
3741
  const ctx = readInboundContext(sessionId);
@@ -3739,18 +3781,27 @@ function senderIsHuman(message) {
3739
3781
  function senderKey(message) {
3740
3782
  return message.fromSession || message.from || "unknown";
3741
3783
  }
3742
- function classifyInbound(message, now = Date.now()) {
3784
+ function classifyInbound(message, now = Date.now(), opts) {
3743
3785
  const hop = message.hopCount ?? 0;
3744
3786
  const human = senderIsHuman(message);
3745
- if (!human && !message.channel && hop > MAX_AGENT_HOPS) {
3787
+ const self = !!opts?.self;
3788
+ const openThreadReply = !!opts?.openThreadReply;
3789
+ if (!human && !self && !message.channel && hop > MAX_AGENT_HOPS) {
3746
3790
  return { action: "silent", reason: `loop-guard: hop ${hop} > ${MAX_AGENT_HOPS}` };
3747
3791
  }
3748
- if (message.urgency !== "urgent") {
3749
- return { action: "queue", reason: "non-urgent" };
3792
+ if (human || self) {
3793
+ const tripped2 = recordWake(now);
3794
+ return { action: "wake", reason: self ? "always-wake (self)" : "always-wake (human)", breakerTripped: tripped2 };
3750
3795
  }
3751
- if (human) {
3796
+ if (openThreadReply) {
3797
+ if (isBreakerOpenAt(now)) {
3798
+ return { action: "queue", reason: "open-thread reply (breaker open)" };
3799
+ }
3752
3800
  const tripped2 = recordWake(now);
3753
- return { action: "wake", reason: "urgent (human)", breakerTripped: tripped2 };
3801
+ return { action: "wake", reason: "open-thread reply", breakerTripped: tripped2 };
3802
+ }
3803
+ if (message.urgency !== "urgent") {
3804
+ return { action: "queue", reason: "non-urgent" };
3754
3805
  }
3755
3806
  if (isBreakerOpenAt(now)) {
3756
3807
  return { action: "queue", reason: "circuit-breaker-open" };
@@ -11482,6 +11533,13 @@ function parseLoopBudget(raw) {
11482
11533
  if (Number.isFinite(tph) && tph > 0) out.max_tokens_per_hour = tph;
11483
11534
  return out.max_runtime_sec || out.max_tokens || out.max_tokens_per_hour ? out : void 0;
11484
11535
  }
11536
+ function classifyOptsForMessage(sessionId, message, ownerEmail) {
11537
+ const fromVal = message.from || "";
11538
+ const senderEmail = message.verified && fromVal.includes("@") ? fromVal.replace(/^user:/, "").toLowerCase() : void 0;
11539
+ const self = !!(ownerEmail && senderEmail && senderEmail === String(ownerEmail).toLowerCase());
11540
+ const openThreadReply = takeAwaitingReply(sessionId, message.threadId);
11541
+ return { self, openThreadReply };
11542
+ }
11485
11543
  function buildGoalCondition(o) {
11486
11544
  const parts = [];
11487
11545
  if (o.task) parts.push(o.task.trim());
@@ -12174,7 +12232,7 @@ async function startDaemon(options) {
12174
12232
  saveExposedTunnels(list);
12175
12233
  }
12176
12234
  async function createExposedTunnel(spec) {
12177
- const { FrpcTunnel } = await import('./frpc-C2eRCDNy.mjs');
12235
+ const { FrpcTunnel } = await import('./frpc-vpwKk0kV.mjs');
12178
12236
  const tunnel = new FrpcTunnel({
12179
12237
  name: spec.name,
12180
12238
  ports: spec.ports,
@@ -12194,7 +12252,7 @@ async function startDaemon(options) {
12194
12252
  return tunnel;
12195
12253
  }
12196
12254
  const tunnelRecreateState = /* @__PURE__ */ new Map();
12197
- const { ServeManager } = await import('./serveManager-Ddqi1kbZ.mjs');
12255
+ const { ServeManager } = await import('./serveManager-DtBN8E9D.mjs');
12198
12256
  const serveManager = new ServeManager(SVAMP_HOME, (msg) => logger.log(`[SERVE] ${msg}`), hyphaServerUrl);
12199
12257
  ensureAutoInstalledSkills(logger).catch(() => {
12200
12258
  });
@@ -13999,7 +14057,7 @@ ${capturedError}${buildClaudeErrorHint(capturedError)}`;
13999
14057
  },
14000
14058
  onInboxMessage: (message) => {
14001
14059
  if (trackedSession?.stopped) return;
14002
- const decision = classifyInbound(message);
14060
+ const decision = classifyInbound(message, Date.now(), classifyOptsForMessage(sessionId, message, sessionMetadata?.sharing?.owner));
14003
14061
  logger.log(`[Session ${sessionId}] Inbox message (urgency: ${message.urgency || "normal"}, hop: ${message.hopCount ?? 0}, from: ${message.from || "unknown"}) \u2192 ${decision.action} (${decision.reason})`);
14004
14062
  if (decision.breakerTripped) {
14005
14063
  logger.error(`[Session ${sessionId}] Inbox circuit breaker TRIPPED \u2014 cross-agent wake rate too high; auto-waking paused.`);
@@ -14095,11 +14153,11 @@ ${capturedError}${buildClaudeErrorHint(capturedError)}`;
14095
14153
  });
14096
14154
  },
14097
14155
  onIssue: async (params) => {
14098
- const { issueRpc } = await import('./rpc-CekroPL2.mjs');
14156
+ const { issueRpc } = await import('./rpc-D7QFTk_g.mjs');
14099
14157
  return issueRpc(params?.cwd || directory, params || {}, { notifySession: notifyIssueOwner, rekickLoopOwner });
14100
14158
  },
14101
14159
  onWorkflow: async (params) => {
14102
- const { workflowRpc } = await import('./rpc-CrjSXvID.mjs');
14160
+ const { workflowRpc } = await import('./rpc-CcQQrbBO.mjs');
14103
14161
  return workflowRpc(params?.cwd || directory, params || {});
14104
14162
  },
14105
14163
  onRipgrep: async (args, cwd) => {
@@ -14505,7 +14563,7 @@ ${capturedError}${buildClaudeErrorHint(capturedError)}`;
14505
14563
  },
14506
14564
  onInboxMessage: (message) => {
14507
14565
  if (acpStopped) return;
14508
- const decision = classifyInbound(message);
14566
+ const decision = classifyInbound(message, Date.now(), classifyOptsForMessage(sessionId, message, sessionMetadata?.sharing?.owner));
14509
14567
  logger.log(`[${agentName} Session ${sessionId}] Inbox message (urgency: ${message.urgency || "normal"}, hop: ${message.hopCount ?? 0}, from: ${message.from || "unknown"}) \u2192 ${decision.action} (${decision.reason})`);
14510
14568
  if (decision.breakerTripped) {
14511
14569
  logger.error(`[${agentName} Session ${sessionId}] Inbox circuit breaker TRIPPED \u2014 auto-waking paused.`);
@@ -14632,11 +14690,11 @@ ${capturedError}${buildClaudeErrorHint(capturedError)}`;
14632
14690
  });
14633
14691
  },
14634
14692
  onIssue: async (params) => {
14635
- const { issueRpc } = await import('./rpc-CekroPL2.mjs');
14693
+ const { issueRpc } = await import('./rpc-D7QFTk_g.mjs');
14636
14694
  return issueRpc(params?.cwd || directory, params || {}, { notifySession: notifyIssueOwner, rekickLoopOwner });
14637
14695
  },
14638
14696
  onWorkflow: async (params) => {
14639
- const { workflowRpc } = await import('./rpc-CrjSXvID.mjs');
14697
+ const { workflowRpc } = await import('./rpc-CcQQrbBO.mjs');
14640
14698
  return workflowRpc(params?.cwd || directory, params || {});
14641
14699
  },
14642
14700
  onRipgrep: async (args, cwd) => {
@@ -15410,7 +15468,7 @@ ${capturedError}${buildClaudeErrorHint(capturedError)}`;
15410
15468
  const PING_TIMEOUT_MS = 15e3;
15411
15469
  const POST_RECONNECT_GRACE_MS = 2e4;
15412
15470
  const RECONNECT_JITTER_MS = 2500;
15413
- const { WorkflowScheduler } = await import('./scheduler-agjaeQjl.mjs');
15471
+ const { WorkflowScheduler } = await import('./scheduler-jlX6Mkxf.mjs');
15414
15472
  const workflowScheduler = new WorkflowScheduler({
15415
15473
  projectRoots: () => {
15416
15474
  const dirs = /* @__PURE__ */ new Set();
@@ -15989,4 +16047,4 @@ var run = /*#__PURE__*/Object.freeze({
15989
16047
  writeStopMarker: writeStopMarker
15990
16048
  });
15991
16049
 
15992
- export { parseHandle as $, shortId as A, loadMachineContext as B, buildMachineInstructions as C, machineToolsForRole as D, buildMachineTools as E, parseFrontmatter as F, getSkillsServer as G, getSkillsWorkspaceName as H, getSkillsCollectionName as I, fetchWithTimeout as J, searchSkills as K, SKILLS_DIR as L, getSkillInfo as M, downloadSkillFile as N, listSkillFiles as O, resolveModel as P, formatHandle as Q, READ_ONLY_TOOLS as R, ServeAuth as S, normalizeAllowedUser as T, loadSecurityContextConfig as U, resolveSecurityContext as V, buildSecurityContextFromFlags as W, mergeSecurityContexts as X, buildSessionShareUrl as Y, computeOutboundHop as Z, buildMachineShareUrl as _, createSessionStore as a, handleMatchesMetadata as a0, describeMisconfiguration as a1, buildMachineDeps as a2, applyClaudeProxyEnv as a3, composeSessionId as a4, generateFriendlyName as a5, generateHookSettings as a6, claudeAuth as a7, projectInfo as a8, DefaultTransport$1 as a9, acpBackend as aa, acpAgentConfig as ab, codexMcpBackend as ac, GeminiTransport$1 as ad, instanceConfig as ae, api as af, run as ag, stopDaemon as b, connectToHypha as c, daemonStatus as d, clearStopMarker as e, stopMarkerExists as f, getHyphaServerUrl$1 as g, getFrpsSubdomainHost as h, getFrpsServerPort as i, getFrpsServerAddr as j, getHyphaServerUrl as k, hasCookieToken as l, resolveProjectRoot as m, getIssue as n, resumeIssue as o, pauseIssue as p, addComment as q, registerMachineService as r, startDaemon as s, addIssue as t, updateIssue as u, listIssues as v, searchIssues as w, isVisibleTo as x, cronMatches as y, summarize as z };
16050
+ export { buildMachineShareUrl as $, shortId as A, loadMachineContext as B, buildMachineInstructions as C, machineToolsForRole as D, buildMachineTools as E, parseFrontmatter as F, getSkillsServer as G, getSkillsWorkspaceName as H, getSkillsCollectionName as I, fetchWithTimeout as J, searchSkills as K, SKILLS_DIR as L, getSkillInfo as M, downloadSkillFile as N, listSkillFiles as O, resolveModel as P, formatHandle as Q, READ_ONLY_TOOLS as R, ServeAuth as S, normalizeAllowedUser as T, loadSecurityContextConfig as U, resolveSecurityContext as V, buildSecurityContextFromFlags as W, mergeSecurityContexts as X, buildSessionShareUrl as Y, computeOutboundHop as Z, registerAwaitingReply as _, createSessionStore as a, parseHandle as a0, handleMatchesMetadata as a1, describeMisconfiguration as a2, buildMachineDeps as a3, applyClaudeProxyEnv as a4, composeSessionId as a5, generateFriendlyName as a6, generateHookSettings as a7, claudeAuth as a8, projectInfo as a9, DefaultTransport$1 as aa, acpBackend as ab, acpAgentConfig as ac, codexMcpBackend as ad, GeminiTransport$1 as ae, instanceConfig as af, api as ag, run as ah, stopDaemon as b, connectToHypha as c, daemonStatus as d, clearStopMarker as e, stopMarkerExists as f, getHyphaServerUrl$1 as g, getFrpsSubdomainHost as h, getFrpsServerPort as i, getFrpsServerAddr as j, getHyphaServerUrl as k, hasCookieToken as l, resolveProjectRoot as m, getIssue as n, resumeIssue as o, pauseIssue as p, addComment as q, registerMachineService as r, startDaemon as s, addIssue as t, updateIssue as u, listIssues as v, searchIssues as w, isVisibleTo as x, cronMatches as y, summarize as z };
@@ -1,4 +1,4 @@
1
- import { m as resolveProjectRoot, y as cronMatches } from './run-BqvXq2yD.mjs';
1
+ import { m as resolveProjectRoot, y as cronMatches } from './run-C-9ZtEi4.mjs';
2
2
  import { l as listWorkflows, i as isWorkflowEnabled, w as workflowCrons } from './store-BTs0H_y0.mjs';
3
3
  import { r as runWorkflow } from './runStore-CtptN7US.mjs';
4
4
  import 'os';
@@ -54,7 +54,7 @@ async function handleServeCommand() {
54
54
  }
55
55
  }
56
56
  async function serveAdd(args, machineId) {
57
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
57
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
58
58
  const pos = positionalArgs(args);
59
59
  const name = pos[0];
60
60
  if (!name) {
@@ -93,7 +93,7 @@ async function serveAdd(args, machineId) {
93
93
  }
94
94
  }
95
95
  async function serveApply(args, machineId) {
96
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
96
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
97
97
  const fs = await import('fs');
98
98
  const yaml = await import('yaml');
99
99
  const file = positionalArgs(args)[0];
@@ -182,7 +182,7 @@ async function serveApply(args, machineId) {
182
182
  }
183
183
  }
184
184
  async function serveRemove(args, machineId) {
185
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
185
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
186
186
  const pos = positionalArgs(args);
187
187
  const name = pos[0];
188
188
  if (!name) {
@@ -202,7 +202,7 @@ async function serveRemove(args, machineId) {
202
202
  }
203
203
  }
204
204
  async function serveList(args, machineId) {
205
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
205
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
206
206
  const all = hasFlag(args, "--all", "-a");
207
207
  const json = hasFlag(args, "--json");
208
208
  const sessionId = getFlag(args, "--session");
@@ -235,7 +235,7 @@ async function serveList(args, machineId) {
235
235
  }
236
236
  }
237
237
  async function serveInfo(machineId) {
238
- const { connectAndGetMachine } = await import('./commands-B_XZmurW.mjs');
238
+ const { connectAndGetMachine } = await import('./commands-DqvzIDMK.mjs');
239
239
  const { machine, server } = await connectAndGetMachine(machineId);
240
240
  try {
241
241
  const info = await machine.serveInfo();
@@ -4,7 +4,7 @@ import * as fs from 'fs';
4
4
  import * as http from 'http';
5
5
  import * as net from 'net';
6
6
  import * as path from 'path';
7
- import { k as getHyphaServerUrl, S as ServeAuth, l as hasCookieToken } from './run-BqvXq2yD.mjs';
7
+ import { k as getHyphaServerUrl, S as ServeAuth, l as hasCookieToken } from './run-C-9ZtEi4.mjs';
8
8
  import 'os';
9
9
  import 'fs/promises';
10
10
  import 'url';
@@ -733,7 +733,7 @@ class ServeManager {
733
733
  const mount = this.mounts.get(mountName);
734
734
  const subdomainOverride = mount?.access === "link" && mount.linkToken ? /* @__PURE__ */ new Map([[this.port, buildLinkSubdomain(subdomainSafe, mount.linkToken)]]) : void 0;
735
735
  try {
736
- const { FrpcTunnel } = await import('./frpc-C2eRCDNy.mjs');
736
+ const { FrpcTunnel } = await import('./frpc-vpwKk0kV.mjs');
737
737
  let tunnel;
738
738
  tunnel = new FrpcTunnel({
739
739
  name: tunnelName,
@@ -1,4 +1,4 @@
1
- import { R as READ_ONLY_TOOLS, B as loadMachineContext, C as buildMachineInstructions, D as machineToolsForRole, E as buildMachineTools } from './run-BqvXq2yD.mjs';
1
+ import { R as READ_ONLY_TOOLS, B as loadMachineContext, C as buildMachineInstructions, D as machineToolsForRole, E as buildMachineTools } from './run-C-9ZtEi4.mjs';
2
2
  import 'node:child_process';
3
3
  import 'os';
4
4
  import 'fs/promises';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svamp-cli",
3
- "version": "0.2.223",
3
+ "version": "0.2.224",
4
4
  "description": "Svamp CLI — AI workspace daemon on Hypha Cloud",
5
5
  "author": "Amun AI AB",
6
6
  "license": "SEE LICENSE IN LICENSE",