svamp-cli 0.2.272 → 0.2.274

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 (26) hide show
  1. package/dist/{agentCommands-Bpx4k5-9.mjs → agentCommands-iom4Qnpt.mjs} +5 -5
  2. package/dist/{auth-6i4iqmQ6.mjs → auth-C5eN8Hte.mjs} +1 -1
  3. package/dist/{cli-D_rlz1U0.mjs → cli-P3Tx1nrm.mjs} +63 -63
  4. package/dist/cli.mjs +2 -2
  5. package/dist/{commands-Coa5AUr5.mjs → commands-B6LByF-g.mjs} +1 -1
  6. package/dist/{commands-DN-ZJc3M.mjs → commands-C7J1hEg3.mjs} +2 -2
  7. package/dist/{commands-C2zF5GQ2.mjs → commands-CKhDT3cQ.mjs} +41 -18
  8. package/dist/{commands-DZvhiRGC.mjs → commands-CQHlltkU.mjs} +2 -2
  9. package/dist/{commands-CginH27R.mjs → commands-CgrbLgCc.mjs} +1 -1
  10. package/dist/{commands-D1H-lJoD.mjs → commands-D606feNR.mjs} +4 -4
  11. package/dist/{commands-jx07BOIK.mjs → commands-VvErX3uk.mjs} +11 -9
  12. package/dist/{fleet-g2e67_Yp.mjs → fleet-B1PDO1l8.mjs} +2 -2
  13. package/dist/{frpc-DosdqHuk.mjs → frpc-Dzhtizmd.mjs} +73 -32
  14. package/dist/{headlessCli-DHJyqLIl.mjs → headlessCli-1WzEZVMV.mjs} +2 -2
  15. package/dist/index.mjs +1 -1
  16. package/dist/package-BYElq4R_.mjs +64 -0
  17. package/dist/{pinnedClaudeCode-B9O-hKxm.mjs → pinnedClaudeCode-CgEtGkX2.mjs} +1 -1
  18. package/dist/{rpc-CbFNQklQ.mjs → rpc-BMoQLUTg.mjs} +1 -1
  19. package/dist/{rpc-9Zy0N3ge.mjs → rpc-CIs3wZAu.mjs} +1 -1
  20. package/dist/{run-BD6NkC4f.mjs → run-DxoIx34n.mjs} +1 -1
  21. package/dist/{run-DPUt9qXV.mjs → run-l_8UB-9h.mjs} +154 -22
  22. package/dist/{scheduler-9E9vo0X7.mjs → scheduler-uZ__o3N7.mjs} +1 -1
  23. package/dist/{serveCommands-DwjBIACz.mjs → serveCommands-twuwB_gw.mjs} +5 -5
  24. package/dist/{sideband-D-t-OX0C.mjs → sideband-C8myzP2c.mjs} +1 -1
  25. package/package.json +2 -2
  26. package/dist/package-BIPODvcD.mjs +0 -64
@@ -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 { i as shortId } from './run-DPUt9qXV.mjs';
5
+ import { i as shortId } from './run-l_8UB-9h.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-DPUt9qXV.mjs').then(function (n) { return n.al; });
99
+ const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.al; });
100
100
  const desc = sanitizeDescription(description, 240);
101
101
  if (!desc) {
102
102
  console.error("Project description is empty.");
@@ -343,7 +343,7 @@ async function sessionBroadcast(action, args) {
343
343
  console.log(`Broadcast sent: ${action}`);
344
344
  }
345
345
  async function connectToMachineService() {
346
- const { connectAndGetMachine } = await import('./commands-D1H-lJoD.mjs');
346
+ const { connectAndGetMachine } = await import('./commands-D606feNR.mjs');
347
347
  return connectAndGetMachine();
348
348
  }
349
349
  function buildInboxMessage(args) {
@@ -421,7 +421,7 @@ async function inboxSend(targetSessionId, opts) {
421
421
  console.error("Message body is required.");
422
422
  process.exit(1);
423
423
  }
424
- const { connectAndResolveSession } = await import('./commands-D1H-lJoD.mjs');
424
+ const { connectAndResolveSession } = await import('./commands-D606feNR.mjs');
425
425
  let server;
426
426
  try {
427
427
  const { targetId, messageId } = await inboxSendCore(
@@ -475,7 +475,7 @@ async function inboxReply(messageId, body) {
475
475
  console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
476
476
  process.exit(1);
477
477
  }
478
- const { connectAndResolveSession } = await import('./commands-D1H-lJoD.mjs');
478
+ const { connectAndResolveSession } = await import('./commands-D606feNR.mjs');
479
479
  const { server: localServer, machine: localMachine } = await connectToMachineService();
480
480
  let localDisconnected = false;
481
481
  const disconnectLocal = async () => {
@@ -1,4 +1,4 @@
1
- import { Y as resolveModel } from './run-DPUt9qXV.mjs';
1
+ import { Y as resolveModel } from './run-l_8UB-9h.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
@@ -1,4 +1,4 @@
1
- import { Z as clearStopMarker, _ as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-DPUt9qXV.mjs';
1
+ import { Z as clearStopMarker, _ as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-l_8UB-9h.mjs';
2
2
  import { ensureSupervisorViaServiceManager, LAUNCHD_LABEL } from './serviceManager-hlOVxkhW.mjs';
3
3
 
4
4
  function flushAndExit(code) {
@@ -33,7 +33,7 @@ const subcommand = args[0];
33
33
  let daemonSubcommand = args[1];
34
34
  async function main() {
35
35
  try {
36
- const { getLoadedConfig } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ai; });
36
+ const { getLoadedConfig } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ai; });
37
37
  getLoadedConfig();
38
38
  } catch {
39
39
  }
@@ -52,7 +52,7 @@ async function main() {
52
52
  }
53
53
  const whenIdle = args.includes("--when-idle");
54
54
  const force = args.includes("--force");
55
- const mod = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.as; });
55
+ const mod = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.as; });
56
56
  if (whenIdle && !force) {
57
57
  if (mod.isDaemonAlive()) {
58
58
  mod.writePendingRestart({ reason: "svamp daemon restart --when-idle" });
@@ -356,7 +356,7 @@ async function main() {
356
356
  console.error("svamp service: Service commands are not available in sandboxed sessions.");
357
357
  process.exit(1);
358
358
  }
359
- const { handleServiceCommand } = await import('./commands-jx07BOIK.mjs');
359
+ const { handleServiceCommand } = await import('./commands-VvErX3uk.mjs');
360
360
  await handleServiceCommand();
361
361
  } else if (subcommand === "serve") {
362
362
  const { isSandboxed: isSandboxedServe } = await import('./sandboxDetect-DNTcbgWD.mjs');
@@ -364,7 +364,7 @@ async function main() {
364
364
  console.error("svamp serve: Serve commands are not available in sandboxed sessions.");
365
365
  process.exit(1);
366
366
  }
367
- const { handleServeCommand } = await import('./serveCommands-DwjBIACz.mjs');
367
+ const { handleServeCommand } = await import('./serveCommands-twuwB_gw.mjs');
368
368
  await handleServeCommand();
369
369
  process.exit(0);
370
370
  } else if (subcommand === "process" || subcommand === "proc") {
@@ -373,7 +373,7 @@ async function main() {
373
373
  console.error("svamp process: Process commands are not available in sandboxed sessions.");
374
374
  process.exit(1);
375
375
  }
376
- const { processCommand } = await import('./commands-DZvhiRGC.mjs');
376
+ const { processCommand } = await import('./commands-CQHlltkU.mjs');
377
377
  let machineId;
378
378
  const processArgs = args.slice(1);
379
379
  const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
@@ -387,18 +387,18 @@ async function main() {
387
387
  }), machineId);
388
388
  process.exit(0);
389
389
  } else if (subcommand === "issue" || subcommand === "issues") {
390
- const { issueCommand } = await import('./commands-DN-ZJc3M.mjs');
390
+ const { issueCommand } = await import('./commands-C7J1hEg3.mjs');
391
391
  await issueCommand(args.slice(1));
392
392
  await flushAndExit(0);
393
393
  } else if (subcommand === "workflow" || subcommand === "workflows") {
394
- const { workflowCommand } = await import('./commands-Coa5AUr5.mjs');
394
+ const { workflowCommand } = await import('./commands-B6LByF-g.mjs');
395
395
  await workflowCommand(args.slice(1));
396
396
  await flushAndExit(0);
397
397
  } else if (subcommand === "wise-agent" || subcommand === "wise") {
398
398
  await handleWiseAgentCommand(args.slice(1));
399
399
  process.exit(0);
400
400
  } else if (subcommand === "feature" || subcommand === "crew") {
401
- const { crewCommand } = await import('./commands-C2zF5GQ2.mjs');
401
+ const { crewCommand } = await import('./commands-CKhDT3cQ.mjs');
402
402
  await crewCommand(args.slice(1));
403
403
  process.exit(0);
404
404
  } else if (subcommand === "--help" || subcommand === "-h") {
@@ -406,7 +406,7 @@ async function main() {
406
406
  } else if (!subcommand || subcommand === "start") {
407
407
  await handleInteractiveCommand();
408
408
  } else if (subcommand === "--version" || subcommand === "-v") {
409
- const pkg = await import('./package-BIPODvcD.mjs').catch(() => ({ default: { version: "unknown" } }));
409
+ const pkg = await import('./package-BYElq4R_.mjs').catch(() => ({ default: { version: "unknown" } }));
410
410
  console.log(`svamp version: ${pkg.default.version}`);
411
411
  } else {
412
412
  console.error(`Unknown command: ${subcommand}`);
@@ -415,7 +415,7 @@ async function main() {
415
415
  }
416
416
  }
417
417
  async function handleInteractiveCommand() {
418
- const { runInteractive } = await import('./run-BD6NkC4f.mjs');
418
+ const { runInteractive } = await import('./run-DxoIx34n.mjs');
419
419
  const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
420
420
  let directory = process.cwd();
421
421
  let resumeSessionId;
@@ -460,7 +460,7 @@ async function handleAgentCommand() {
460
460
  return;
461
461
  }
462
462
  if (agentArgs[0] === "list") {
463
- const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ao; });
463
+ const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ao; });
464
464
  console.log("Known agents:");
465
465
  for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
466
466
  console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
@@ -472,7 +472,7 @@ async function handleAgentCommand() {
472
472
  console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
473
473
  return;
474
474
  }
475
- const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ao; });
475
+ const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ao; });
476
476
  let cwd = process.cwd();
477
477
  const filteredArgs = [];
478
478
  for (let i = 0; i < agentArgs.length; i++) {
@@ -496,12 +496,12 @@ async function handleAgentCommand() {
496
496
  console.log(`Starting ${config.agentName} agent in ${cwd}...`);
497
497
  let backend;
498
498
  if (KNOWN_CODEX_AGENTS[config.agentName]) {
499
- const { CodexAppServerBackend } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ap; });
499
+ const { CodexAppServerBackend } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ap; });
500
500
  backend = new CodexAppServerBackend({ cwd, log: logFn });
501
501
  } else {
502
- const { AcpBackend } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.an; });
503
- const { GeminiTransport } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.aq; });
504
- const { DefaultTransport } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.am; });
502
+ const { AcpBackend } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.an; });
503
+ const { GeminiTransport } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.aq; });
504
+ const { DefaultTransport } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.am; });
505
505
  const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
506
506
  backend = new AcpBackend({
507
507
  agentName: config.agentName,
@@ -628,7 +628,7 @@ async function handleSessionCommand() {
628
628
  process.exit(1);
629
629
  }
630
630
  }
631
- const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionLoopExtend, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-D1H-lJoD.mjs');
631
+ const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionLoopExtend, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-D606feNR.mjs');
632
632
  const parseFlagStr = (flag, shortFlag) => {
633
633
  for (let i = 1; i < sessionArgs.length; i++) {
634
634
  if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
@@ -696,7 +696,7 @@ async function handleSessionCommand() {
696
696
  allowDomain.push(sessionArgs[++i]);
697
697
  }
698
698
  }
699
- const { parseShareArg } = await import('./commands-D1H-lJoD.mjs');
699
+ const { parseShareArg } = await import('./commands-D606feNR.mjs');
700
700
  const shareEntries = share.map((s) => parseShareArg(s));
701
701
  await sessionSpawn(agent, dir, targetMachineId, {
702
702
  message,
@@ -786,7 +786,7 @@ async function handleSessionCommand() {
786
786
  console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
787
787
  process.exit(1);
788
788
  }
789
- const { sessionEditMessage } = await import('./commands-D1H-lJoD.mjs');
789
+ const { sessionEditMessage } = await import('./commands-D606feNR.mjs');
790
790
  await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
791
791
  } else if (sessionSubcommand === "refine") {
792
792
  if (!sessionArgs[1] || !sessionArgs[2]) {
@@ -794,7 +794,7 @@ async function handleSessionCommand() {
794
794
  console.error(" Asks the agent to revise its latest reply in place (no extra round).");
795
795
  process.exit(1);
796
796
  }
797
- const { sessionRefineLastReply } = await import('./commands-D1H-lJoD.mjs');
797
+ const { sessionRefineLastReply } = await import('./commands-D606feNR.mjs');
798
798
  await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
799
799
  } else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
800
800
  if (!sessionArgs[1]) {
@@ -802,7 +802,7 @@ async function handleSessionCommand() {
802
802
  console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
803
803
  process.exit(1);
804
804
  }
805
- const { sessionUndoEdit } = await import('./commands-D1H-lJoD.mjs');
805
+ const { sessionUndoEdit } = await import('./commands-D606feNR.mjs');
806
806
  await sessionUndoEdit(sessionArgs[1], targetMachineId);
807
807
  } else if (sessionSubcommand === "query") {
808
808
  const dir = sessionArgs[1];
@@ -812,7 +812,7 @@ async function handleSessionCommand() {
812
812
  console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
813
813
  process.exit(1);
814
814
  }
815
- const { sessionQuery } = await import('./commands-D1H-lJoD.mjs');
815
+ const { sessionQuery } = await import('./commands-D606feNR.mjs');
816
816
  await sessionQuery(dir, prompt, targetMachineId, {
817
817
  timeout: parseFlagInt("--timeout"),
818
818
  json: hasFlag("--json"),
@@ -845,7 +845,7 @@ async function handleSessionCommand() {
845
845
  console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
846
846
  process.exit(1);
847
847
  }
848
- const { sessionApprove } = await import('./commands-D1H-lJoD.mjs');
848
+ const { sessionApprove } = await import('./commands-D606feNR.mjs');
849
849
  const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
850
850
  await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
851
851
  json: hasFlag("--json")
@@ -855,7 +855,7 @@ async function handleSessionCommand() {
855
855
  console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
856
856
  process.exit(1);
857
857
  }
858
- const { sessionDeny } = await import('./commands-D1H-lJoD.mjs');
858
+ const { sessionDeny } = await import('./commands-D606feNR.mjs');
859
859
  const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
860
860
  await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
861
861
  json: hasFlag("--json")
@@ -907,7 +907,7 @@ async function handleSessionCommand() {
907
907
  console.error("Usage: svamp session set-title <title>");
908
908
  process.exit(1);
909
909
  }
910
- const { sessionSetTitle } = await import('./agentCommands-Bpx4k5-9.mjs');
910
+ const { sessionSetTitle } = await import('./agentCommands-iom4Qnpt.mjs');
911
911
  await sessionSetTitle(title);
912
912
  } else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
913
913
  const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
@@ -915,7 +915,7 @@ async function handleSessionCommand() {
915
915
  console.error("Usage: svamp session set-project-description <text>");
916
916
  process.exit(1);
917
917
  }
918
- const { sessionSetProjectDescription } = await import('./agentCommands-Bpx4k5-9.mjs');
918
+ const { sessionSetProjectDescription } = await import('./agentCommands-iom4Qnpt.mjs');
919
919
  await sessionSetProjectDescription(desc);
920
920
  } else if (sessionSubcommand === "set-link") {
921
921
  const url = sessionArgs[1];
@@ -924,11 +924,11 @@ async function handleSessionCommand() {
924
924
  process.exit(1);
925
925
  }
926
926
  const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
927
- const { sessionSetLink } = await import('./agentCommands-Bpx4k5-9.mjs');
927
+ const { sessionSetLink } = await import('./agentCommands-iom4Qnpt.mjs');
928
928
  await sessionSetLink(url, label);
929
929
  } else if (sessionSubcommand === "link") {
930
930
  const op = sessionArgs[1];
931
- const lm = await import('./agentCommands-Bpx4k5-9.mjs');
931
+ const lm = await import('./agentCommands-iom4Qnpt.mjs');
932
932
  if (op === "add") {
933
933
  const url = sessionArgs[2];
934
934
  if (!url || url.startsWith("--")) {
@@ -963,7 +963,7 @@ async function handleSessionCommand() {
963
963
  process.exit(1);
964
964
  }
965
965
  const level = parseFlagStr("--level") || "info";
966
- const { sessionNotify } = await import('./agentCommands-Bpx4k5-9.mjs');
966
+ const { sessionNotify } = await import('./agentCommands-iom4Qnpt.mjs');
967
967
  await sessionNotify(message, level);
968
968
  } else if (sessionSubcommand === "broadcast") {
969
969
  const action = sessionArgs[1];
@@ -971,7 +971,7 @@ async function handleSessionCommand() {
971
971
  console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
972
972
  process.exit(1);
973
973
  }
974
- const { sessionBroadcast } = await import('./agentCommands-Bpx4k5-9.mjs');
974
+ const { sessionBroadcast } = await import('./agentCommands-iom4Qnpt.mjs');
975
975
  await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
976
976
  } else if (sessionSubcommand === "inbox") {
977
977
  const inboxSubcmd = sessionArgs[1];
@@ -982,7 +982,7 @@ async function handleSessionCommand() {
982
982
  process.exit(1);
983
983
  }
984
984
  if (agentSessionId) {
985
- const { inboxSend } = await import('./agentCommands-Bpx4k5-9.mjs');
985
+ const { inboxSend } = await import('./agentCommands-iom4Qnpt.mjs');
986
986
  await inboxSend(sessionArgs[2], {
987
987
  body: sessionArgs[3],
988
988
  subject: parseFlagStr("--subject"),
@@ -997,7 +997,7 @@ async function handleSessionCommand() {
997
997
  }
998
998
  } else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
999
999
  if (agentSessionId && !sessionArgs[2]) {
1000
- const { inboxList } = await import('./agentCommands-Bpx4k5-9.mjs');
1000
+ const { inboxList } = await import('./agentCommands-iom4Qnpt.mjs');
1001
1001
  await inboxList({
1002
1002
  unread: hasFlag("--unread"),
1003
1003
  limit: parseFlagInt("--limit"),
@@ -1019,7 +1019,7 @@ async function handleSessionCommand() {
1019
1019
  process.exit(1);
1020
1020
  }
1021
1021
  if (agentSessionId && !sessionArgs[3]) {
1022
- const { inboxList } = await import('./agentCommands-Bpx4k5-9.mjs');
1022
+ const { inboxList } = await import('./agentCommands-iom4Qnpt.mjs');
1023
1023
  await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
1024
1024
  } else if (sessionArgs[3]) {
1025
1025
  await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
@@ -1029,7 +1029,7 @@ async function handleSessionCommand() {
1029
1029
  }
1030
1030
  } else if (inboxSubcmd === "reply") {
1031
1031
  if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
1032
- const { inboxReply } = await import('./agentCommands-Bpx4k5-9.mjs');
1032
+ const { inboxReply } = await import('./agentCommands-iom4Qnpt.mjs');
1033
1033
  await inboxReply(sessionArgs[2], sessionArgs[3]);
1034
1034
  } else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
1035
1035
  await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
@@ -1067,7 +1067,7 @@ async function handleMachineCommand() {
1067
1067
  return;
1068
1068
  }
1069
1069
  if (machineSubcommand === "share") {
1070
- const { machineShare } = await import('./commands-D1H-lJoD.mjs');
1070
+ const { machineShare } = await import('./commands-D606feNR.mjs');
1071
1071
  let machineId;
1072
1072
  const shareArgs = [];
1073
1073
  for (let i = 1; i < machineArgs.length; i++) {
@@ -1118,14 +1118,14 @@ async function handleMachineCommand() {
1118
1118
  process.exit(1);
1119
1119
  }
1120
1120
  if (all) {
1121
- const { fleetExec } = await import('./fleet-g2e67_Yp.mjs');
1121
+ const { fleetExec } = await import('./fleet-B1PDO1l8.mjs');
1122
1122
  await fleetExec(command, { cwd });
1123
1123
  } else {
1124
- const { machineExec } = await import('./commands-D1H-lJoD.mjs');
1124
+ const { machineExec } = await import('./commands-D606feNR.mjs');
1125
1125
  await machineExec(machineId, command, cwd);
1126
1126
  }
1127
1127
  } else if (machineSubcommand === "info") {
1128
- const { machineInfo } = await import('./commands-D1H-lJoD.mjs');
1128
+ const { machineInfo } = await import('./commands-D606feNR.mjs');
1129
1129
  let machineId;
1130
1130
  for (let i = 1; i < machineArgs.length; i++) {
1131
1131
  if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
@@ -1145,10 +1145,10 @@ async function handleMachineCommand() {
1145
1145
  level = machineArgs[++i];
1146
1146
  }
1147
1147
  }
1148
- const { machineNotify } = await import('./agentCommands-Bpx4k5-9.mjs');
1148
+ const { machineNotify } = await import('./agentCommands-iom4Qnpt.mjs');
1149
1149
  await machineNotify(message, level);
1150
1150
  } else if (machineSubcommand === "ls") {
1151
- const { machineLs } = await import('./commands-D1H-lJoD.mjs');
1151
+ const { machineLs } = await import('./commands-D606feNR.mjs');
1152
1152
  let machineId;
1153
1153
  let showHidden = false;
1154
1154
  let path;
@@ -1207,20 +1207,20 @@ Examples:
1207
1207
  };
1208
1208
  const hasFlag = (name) => fleetArgs.includes(`--${name}`);
1209
1209
  if (sub === "status") {
1210
- const { fleetStatus } = await import('./fleet-g2e67_Yp.mjs');
1210
+ const { fleetStatus } = await import('./fleet-B1PDO1l8.mjs');
1211
1211
  await fleetStatus();
1212
1212
  } else if (sub === "upgrade-claude") {
1213
- const { fleetUpgradeClaude } = await import('./fleet-g2e67_Yp.mjs');
1213
+ const { fleetUpgradeClaude } = await import('./fleet-B1PDO1l8.mjs');
1214
1214
  await fleetUpgradeClaude({ version: flag("version", "-v") });
1215
1215
  } else if (sub === "upgrade-svamp") {
1216
- const { fleetUpgradeSvamp } = await import('./fleet-g2e67_Yp.mjs');
1216
+ const { fleetUpgradeSvamp } = await import('./fleet-B1PDO1l8.mjs');
1217
1217
  await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self"), force: hasFlag("force") });
1218
1218
  } else if (sub === "daemon-restart") {
1219
- const { fleetDaemonRestart } = await import('./fleet-g2e67_Yp.mjs');
1219
+ const { fleetDaemonRestart } = await import('./fleet-B1PDO1l8.mjs');
1220
1220
  await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
1221
1221
  } else if (sub === "push-skill") {
1222
1222
  const name = fleetArgs[1];
1223
- const { fleetPushSkill } = await import('./fleet-g2e67_Yp.mjs');
1223
+ const { fleetPushSkill } = await import('./fleet-B1PDO1l8.mjs');
1224
1224
  await fleetPushSkill(name);
1225
1225
  } else {
1226
1226
  console.error(`Unknown fleet subcommand: ${sub}`);
@@ -1236,7 +1236,7 @@ async function handleSkillsCommand() {
1236
1236
  await printSkillsHelp();
1237
1237
  return;
1238
1238
  }
1239
- const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-CginH27R.mjs');
1239
+ const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-CgrbLgCc.mjs');
1240
1240
  if (skillsSubcommand === "find" || skillsSubcommand === "search") {
1241
1241
  const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
1242
1242
  if (!query) {
@@ -1283,7 +1283,7 @@ async function loginToHypha() {
1283
1283
  process.exit(1);
1284
1284
  }
1285
1285
  const anchor = anchorArg.replace(/\/+$/, "");
1286
- const { loadInstanceConfig } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ai; });
1286
+ const { loadInstanceConfig } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ai; });
1287
1287
  let cfg = null;
1288
1288
  try {
1289
1289
  cfg = await loadInstanceConfig({ anchor, force: true });
@@ -1394,7 +1394,7 @@ async function logoutFromHypha() {
1394
1394
  } catch {
1395
1395
  }
1396
1396
  try {
1397
- const { clearInstanceConfigCache } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ai; });
1397
+ const { clearInstanceConfigCache } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ai; });
1398
1398
  clearInstanceConfigCache();
1399
1399
  } catch {
1400
1400
  }
@@ -1733,7 +1733,7 @@ async function applyClaudeAuthFlags(argv) {
1733
1733
  "--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
1734
1734
  );
1735
1735
  }
1736
- const mod = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.aj; });
1736
+ const mod = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.aj; });
1737
1737
  if (hasHypha) {
1738
1738
  let url;
1739
1739
  const hyphaIdx = argv.indexOf("--use-hypha-proxy");
@@ -1787,7 +1787,7 @@ async function applyDaemonShareFlag(argv) {
1787
1787
  }
1788
1788
  }
1789
1789
  if (collected.length === 0) return;
1790
- const { updateEnvFile } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.aj; });
1790
+ const { updateEnvFile } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.aj; });
1791
1791
  const seen = /* @__PURE__ */ new Set();
1792
1792
  const deduped = collected.filter((e) => {
1793
1793
  const k = e.toLowerCase();
@@ -1820,7 +1820,7 @@ async function handleWiseAgentCommand(rest) {
1820
1820
  }
1821
1821
  });
1822
1822
  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(" ");
1823
- const { wiseAskCli } = await import('./commands-D1H-lJoD.mjs');
1823
+ const { wiseAskCli } = await import('./commands-D606feNR.mjs');
1824
1824
  await wiseAskCli(machineId, message, sessionId, { json });
1825
1825
  return;
1826
1826
  }
@@ -1832,7 +1832,7 @@ async function handleWiseAgentCommand(rest) {
1832
1832
  }
1833
1833
  return void 0;
1834
1834
  };
1835
- const { runWiseVoiceCli } = await import('./headlessCli-DHJyqLIl.mjs');
1835
+ const { runWiseVoiceCli } = await import('./headlessCli-1WzEZVMV.mjs');
1836
1836
  await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
1837
1837
  return;
1838
1838
  }
@@ -1850,7 +1850,7 @@ async function handleWiseAgentCommand(rest) {
1850
1850
  const mode = valueOf(["--mode"]);
1851
1851
  const mission = valueOf(["--mission"]);
1852
1852
  const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
1853
- const { wiseJoinMeetingCli } = await import('./commands-D1H-lJoD.mjs');
1853
+ const { wiseJoinMeetingCli } = await import('./commands-D606feNR.mjs');
1854
1854
  await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
1855
1855
  return;
1856
1856
  }
@@ -1862,7 +1862,7 @@ async function handleWiseAgentCommand(rest) {
1862
1862
  }
1863
1863
  return void 0;
1864
1864
  };
1865
- const { wiseLeaveMeetingCli } = await import('./commands-D1H-lJoD.mjs');
1865
+ const { wiseLeaveMeetingCli } = await import('./commands-D606feNR.mjs');
1866
1866
  await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
1867
1867
  return;
1868
1868
  }
@@ -1886,7 +1886,7 @@ async function handleWiseAgentCommand(rest) {
1886
1886
  }
1887
1887
  });
1888
1888
  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(" ");
1889
- const { wiseAnnounceCli } = await import('./commands-D1H-lJoD.mjs');
1889
+ const { wiseAnnounceCli } = await import('./commands-D606feNR.mjs');
1890
1890
  await wiseAnnounceCli(machineId, text, sessionId, { json });
1891
1891
  return;
1892
1892
  }
@@ -1898,7 +1898,7 @@ async function handleWiseAgentCommand(rest) {
1898
1898
  }
1899
1899
  return void 0;
1900
1900
  };
1901
- const { wiseMeetingsCli } = await import('./commands-D1H-lJoD.mjs');
1901
+ const { wiseMeetingsCli } = await import('./commands-D606feNR.mjs');
1902
1902
  await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
1903
1903
  return;
1904
1904
  }
@@ -1948,7 +1948,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1948
1948
  return;
1949
1949
  }
1950
1950
  const authArgs = rest.slice(1);
1951
- const mod = await import('./auth-6i4iqmQ6.mjs');
1951
+ const mod = await import('./auth-C5eN8Hte.mjs');
1952
1952
  let action;
1953
1953
  try {
1954
1954
  action = mod.parseWiseAgentAuthArgs(authArgs);
@@ -1958,7 +1958,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1958
1958
  return;
1959
1959
  }
1960
1960
  if (action) {
1961
- const { updateEnvFile } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.aj; });
1961
+ const { updateEnvFile } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.aj; });
1962
1962
  const updates = mod.buildWiseAgentEnvUpdates(action);
1963
1963
  updateEnvFile(updates);
1964
1964
  for (const [k, v] of Object.entries(updates)) {
@@ -1972,7 +1972,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
1972
1972
  }
1973
1973
  async function handleDaemonAuthCommand(argv) {
1974
1974
  const sub = (argv[0] || "status").toLowerCase();
1975
- const mod = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.aj; });
1975
+ const mod = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.aj; });
1976
1976
  if (sub === "--help" || sub === "-h" || sub === "help") {
1977
1977
  console.log(`
1978
1978
  svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
@@ -2046,8 +2046,8 @@ one step: --use-hypha-proxy / --use-claude-login / --anthropic-base-url URL --an
2046
2046
  }
2047
2047
  async function handleDaemonCodexAuthCommand(argv) {
2048
2048
  const sub = (argv[0] || "status").toLowerCase();
2049
- const { updateEnvFile } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.aj; });
2050
- const { resolveCodexProvider } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ak; });
2049
+ const { updateEnvFile } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.aj; });
2050
+ const { resolveCodexProvider } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ak; });
2051
2051
  const redact = (k) => k && k.length > 10 ? `${k.slice(0, 6)}\u2026${k.slice(-4)}` : k ? "***" : "(unset)";
2052
2052
  if (sub === "--help" || sub === "-h" || sub === "help") {
2053
2053
  console.log(`
@@ -2379,7 +2379,7 @@ Examples:
2379
2379
  async function printSkillsHelp() {
2380
2380
  let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
2381
2381
  try {
2382
- const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-DPUt9qXV.mjs').then(function (n) { return n.ar; });
2382
+ const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-l_8UB-9h.mjs').then(function (n) { return n.ar; });
2383
2383
  browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
2384
2384
  } catch {
2385
2385
  }
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import './run-DPUt9qXV.mjs';
1
+ import './run-l_8UB-9h.mjs';
2
2
  import './serviceManager-hlOVxkhW.mjs';
3
- import './cli-D_rlz1U0.mjs';
3
+ import './cli-P3Tx1nrm.mjs';
4
4
  import 'os';
5
5
  import 'fs/promises';
6
6
  import 'fs';
@@ -1,5 +1,5 @@
1
1
  import { spawnSync } from 'node:child_process';
2
- import { j as resolveProjectRoot, I as workflowSteps, z as setWorkflowEnabled, E as isWorkflowEnabled, A as removeWorkflow, x as getWorkflow, D as listWorkflows, B as saveWorkflow, C as rawWorkflow } from './run-DPUt9qXV.mjs';
2
+ import { j as resolveProjectRoot, I as workflowSteps, z as setWorkflowEnabled, E as isWorkflowEnabled, A as removeWorkflow, x as getWorkflow, D as listWorkflows, B as saveWorkflow, C as rawWorkflow } from './run-l_8UB-9h.mjs';
3
3
  import 'os';
4
4
  import 'fs/promises';
5
5
  import 'fs';
@@ -1,8 +1,8 @@
1
1
  import { execSync } from 'node:child_process';
2
2
  import { existsSync, readFileSync } from 'node:fs';
3
3
  import { join } from 'node:path';
4
- import { f as flushAndExit } from './cli-D_rlz1U0.mjs';
5
- import { j as resolveProjectRoot, q as searchIssues, o as listIssues, l as resumeIssue, p as pauseIssue, m as addComment, u as updateIssue, k as getIssue, t as isVisibleTo, H as summarize, n as addIssue } from './run-DPUt9qXV.mjs';
4
+ import { f as flushAndExit } from './cli-P3Tx1nrm.mjs';
5
+ import { j as resolveProjectRoot, q as searchIssues, o as listIssues, l as resumeIssue, p as pauseIssue, m as addComment, u as updateIssue, k as getIssue, t as isVisibleTo, H as summarize, n as addIssue } from './run-l_8UB-9h.mjs';
6
6
  import './serviceManager-hlOVxkhW.mjs';
7
7
  import 'os';
8
8
  import 'fs/promises';