svamp-cli 0.2.317 → 0.2.318

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 (27) hide show
  1. package/dist/{adminCommands-fJVu-h9l.mjs → adminCommands-_az3eIOd.mjs} +1 -1
  2. package/dist/{agentCommands-DdOSpUEW.mjs → agentCommands-CI_sYhy6.mjs} +5 -5
  3. package/dist/{auth-B2XK13r-.mjs → auth-7Og-RZ50.mjs} +1 -1
  4. package/dist/{cli-DGVQaDbd.mjs → cli-D3_a7yin.mjs} +76 -76
  5. package/dist/cli.mjs +2 -2
  6. package/dist/{commands-I9jHLkrI.mjs → commands-B9niiK4o.mjs} +1 -1
  7. package/dist/{commands-C4p4v9eO.mjs → commands-C5bo2-Pk.mjs} +2 -2
  8. package/dist/{commands-DUdStLKb.mjs → commands-CDL2fp9I.mjs} +2 -2
  9. package/dist/{commands-ino-Gtcu.mjs → commands-CwvpWFl7.mjs} +8 -8
  10. package/dist/{commands-wQYdc5EK.mjs → commands-DRYk0mQr.mjs} +1 -1
  11. package/dist/{commands-DEsDSuMW.mjs → commands-DaYsK7Af.mjs} +2 -2
  12. package/dist/{commands-Bx2JkNft.mjs → commands-DxJHm9r0.mjs} +1 -1
  13. package/dist/{commands-CoBMjrtP.mjs → commands-eS7P4neN.mjs} +2 -2
  14. package/dist/{fleet-NRi2YMso.mjs → fleet-BXfUlehy.mjs} +1 -1
  15. package/dist/{headlessCli-DpTQ00fL.mjs → headlessCli-CR9fW45i.mjs} +2 -2
  16. package/dist/index.mjs +1 -1
  17. package/dist/{notifyCommands-BFRuzxXP.mjs → notifyCommands-DUr9QjLt.mjs} +1 -1
  18. package/dist/{package-DN_Oa_OT.mjs → package-CDjOkJPh.mjs} +3 -3
  19. package/dist/{rpc-Cx6KsBYC.mjs → rpc-CaKQ3aCj.mjs} +1 -1
  20. package/dist/{rpc-CclCeDcu.mjs → rpc-DX7_LzZf.mjs} +1 -1
  21. package/dist/{run-DKhnAl2f.mjs → run-BuZDMLWU.mjs} +1 -1
  22. package/dist/{run-RA4Vr6lj.mjs → run-CC2ckdDX.mjs} +1101 -260
  23. package/dist/{scheduler-Wzzed1CU.mjs → scheduler-B11LcOId.mjs} +1 -1
  24. package/dist/{serveCommands-DQeSesYI.mjs → serveCommands-DtPbaNdu.mjs} +5 -5
  25. package/dist/{sideband-gQ7oQEsx.mjs → sideband-C0CGbTIK.mjs} +1 -1
  26. package/package.json +3 -3
  27. package/dist/frpc-CNZJM3qC.mjs +0 -775
@@ -1,4 +1,4 @@
1
- import { c as connectToHypha, N as computeCollectionConfigUpdate, O as SYSTEM_COLLECTION_CONFIG } from './run-RA4Vr6lj.mjs';
1
+ import { c as connectToHypha, K as computeCollectionConfigUpdate, L as SYSTEM_COLLECTION_CONFIG } from './run-CC2ckdDX.mjs';
2
2
  import { existsSync, readFileSync } from 'node:fs';
3
3
  import { join } from 'node:path';
4
4
  import os from 'node:os';
@@ -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-RA4Vr6lj.mjs';
5
+ import { e as shortId } from './run-CC2ckdDX.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-RA4Vr6lj.mjs').then(function (n) { return n.au; });
99
+ const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.as; });
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-wQYdc5EK.mjs');
346
+ const { connectAndGetMachine } = await import('./commands-DRYk0mQr.mjs');
347
347
  return connectAndGetMachine();
348
348
  }
349
349
  function buildInboxMessage(args) {
@@ -426,7 +426,7 @@ async function inboxSend(targetSessionId, opts) {
426
426
  console.error("Message body is required.");
427
427
  process.exit(1);
428
428
  }
429
- const { connectAndResolveSession } = await import('./commands-wQYdc5EK.mjs');
429
+ const { connectAndResolveSession } = await import('./commands-DRYk0mQr.mjs');
430
430
  let server;
431
431
  try {
432
432
  const { targetId, messageId } = await inboxSendCore(
@@ -481,7 +481,7 @@ async function inboxReply(messageId, body, opts) {
481
481
  console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
482
482
  process.exit(1);
483
483
  }
484
- const { connectAndResolveSession } = await import('./commands-wQYdc5EK.mjs');
484
+ const { connectAndResolveSession } = await import('./commands-DRYk0mQr.mjs');
485
485
  const { server: localServer, machine: localMachine } = await connectToMachineService();
486
486
  let localDisconnected = false;
487
487
  const disconnectLocal = async () => {
@@ -1,4 +1,4 @@
1
- import { a3 as resolveModel } from './run-RA4Vr6lj.mjs';
1
+ import { a0 as resolveModel } from './run-CC2ckdDX.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
@@ -1,4 +1,4 @@
1
- import { a4 as clearStopMarker, a5 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-RA4Vr6lj.mjs';
1
+ import { a1 as clearStopMarker, a2 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-CC2ckdDX.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-RA4Vr6lj.mjs').then(function (n) { return n.ar; });
36
+ const { getLoadedConfig } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.an; });
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-RA4Vr6lj.mjs').then(function (n) { return n.aE; });
55
+ const mod = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aC; });
56
56
  if (whenIdle && !force) {
57
57
  if (mod.isDaemonAlive()) {
58
58
  mod.writePendingRestart({ reason: "svamp daemon restart --when-idle" });
@@ -359,7 +359,7 @@ async function main() {
359
359
  console.error("svamp service: Service commands are not available in sandboxed sessions.");
360
360
  process.exit(1);
361
361
  }
362
- const { handleServiceCommand } = await import('./commands-ino-Gtcu.mjs');
362
+ const { handleServiceCommand } = await import('./commands-CwvpWFl7.mjs');
363
363
  await handleServiceCommand();
364
364
  } else if (subcommand === "serve") {
365
365
  const { isSandboxed: isSandboxedServe } = await import('./sandboxDetect-DNTcbgWD.mjs');
@@ -367,7 +367,7 @@ async function main() {
367
367
  console.error("svamp serve: Serve commands are not available in sandboxed sessions.");
368
368
  process.exit(1);
369
369
  }
370
- const { handleServeCommand } = await import('./serveCommands-DQeSesYI.mjs');
370
+ const { handleServeCommand } = await import('./serveCommands-DtPbaNdu.mjs');
371
371
  await handleServeCommand();
372
372
  process.exit(0);
373
373
  } else if (subcommand === "process" || subcommand === "proc") {
@@ -376,7 +376,7 @@ async function main() {
376
376
  console.error("svamp process: Process commands are not available in sandboxed sessions.");
377
377
  process.exit(1);
378
378
  }
379
- const { processCommand } = await import('./commands-DUdStLKb.mjs');
379
+ const { processCommand } = await import('./commands-CDL2fp9I.mjs');
380
380
  let machineId;
381
381
  const processArgs = args.slice(1);
382
382
  const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
@@ -390,26 +390,26 @@ async function main() {
390
390
  }), machineId);
391
391
  process.exit(0);
392
392
  } else if (subcommand === "outpost") {
393
- const { outpostCommand } = await import('./commands-C4p4v9eO.mjs');
393
+ const { outpostCommand } = await import('./commands-C5bo2-Pk.mjs');
394
394
  await outpostCommand(args.slice(1));
395
395
  process.exit(0);
396
396
  } else if (subcommand === "issue" || subcommand === "issues") {
397
- const { issueCommand } = await import('./commands-DEsDSuMW.mjs');
397
+ const { issueCommand } = await import('./commands-DaYsK7Af.mjs');
398
398
  await issueCommand(args.slice(1));
399
399
  await flushAndExit(0);
400
400
  } else if (subcommand === "workflow" || subcommand === "workflows") {
401
- const { workflowCommand } = await import('./commands-I9jHLkrI.mjs');
401
+ const { workflowCommand } = await import('./commands-B9niiK4o.mjs');
402
402
  await workflowCommand(args.slice(1));
403
403
  await flushAndExit(0);
404
404
  } else if (subcommand === "wise-agent" || subcommand === "wise") {
405
405
  await handleWiseAgentCommand(args.slice(1));
406
406
  process.exit(0);
407
407
  } else if (subcommand === "feature" || subcommand === "crew") {
408
- const { crewCommand } = await import('./commands-CoBMjrtP.mjs');
408
+ const { crewCommand } = await import('./commands-eS7P4neN.mjs');
409
409
  await crewCommand(args.slice(1));
410
410
  process.exit(0);
411
411
  } else if (subcommand === "notify") {
412
- const { notifyUser } = await import('./notifyCommands-BFRuzxXP.mjs');
412
+ const { notifyUser } = await import('./notifyCommands-DUr9QjLt.mjs');
413
413
  const rest = args.slice(1);
414
414
  let email;
415
415
  const o = {};
@@ -426,7 +426,7 @@ async function main() {
426
426
  } else if (subcommand === "admin") {
427
427
  const adminSub = args[1];
428
428
  if (adminSub === "set-collection-config") {
429
- const { setCollectionConfig } = await import('./adminCommands-fJVu-h9l.mjs');
429
+ const { setCollectionConfig } = await import('./adminCommands-_az3eIOd.mjs');
430
430
  const rest = args.slice(2);
431
431
  let alias;
432
432
  let configJson;
@@ -436,10 +436,10 @@ async function main() {
436
436
  }
437
437
  await setCollectionConfig(alias, configJson);
438
438
  } else if (adminSub === "create-system-collections") {
439
- const { createSystemCollections } = await import('./adminCommands-fJVu-h9l.mjs');
439
+ const { createSystemCollections } = await import('./adminCommands-_az3eIOd.mjs');
440
440
  await createSystemCollections();
441
441
  } else if (adminSub === "migrate-collection-children") {
442
- const { migrateCollectionChildren } = await import('./adminCommands-fJVu-h9l.mjs');
442
+ const { migrateCollectionChildren } = await import('./adminCommands-_az3eIOd.mjs');
443
443
  const rest = args.slice(2).filter((a) => !a.startsWith("-"));
444
444
  await migrateCollectionChildren(rest[0], rest[1]);
445
445
  } else {
@@ -447,7 +447,7 @@ async function main() {
447
447
  }
448
448
  process.exit(0);
449
449
  } else if (subcommand === "events") {
450
- const { listEvents, ackEvent } = await import('./notifyCommands-BFRuzxXP.mjs');
450
+ const { listEvents, ackEvent } = await import('./notifyCommands-DUr9QjLt.mjs');
451
451
  const sub = args[1];
452
452
  const rest = args.slice(2);
453
453
  let email;
@@ -468,7 +468,7 @@ async function main() {
468
468
  } else if (!subcommand || subcommand === "start") {
469
469
  await handleInteractiveCommand();
470
470
  } else if (subcommand === "--version" || subcommand === "-v") {
471
- const pkg = await import('./package-DN_Oa_OT.mjs').catch(() => ({ default: { version: "unknown" } }));
471
+ const pkg = await import('./package-CDjOkJPh.mjs').catch(() => ({ default: { version: "unknown" } }));
472
472
  console.log(`svamp version: ${pkg.default.version}`);
473
473
  } else {
474
474
  console.error(`Unknown command: ${subcommand}`);
@@ -477,7 +477,7 @@ async function main() {
477
477
  }
478
478
  }
479
479
  async function handleInteractiveCommand() {
480
- const { runInteractive } = await import('./run-DKhnAl2f.mjs');
480
+ const { runInteractive } = await import('./run-BuZDMLWU.mjs');
481
481
  const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
482
482
  let directory = process.cwd();
483
483
  let resumeSessionId;
@@ -522,7 +522,7 @@ async function handleAgentCommand() {
522
522
  return;
523
523
  }
524
524
  if (agentArgs[0] === "list") {
525
- const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.ax; });
525
+ const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.av; });
526
526
  console.log("Known agents:");
527
527
  for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
528
528
  console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
@@ -534,7 +534,7 @@ async function handleAgentCommand() {
534
534
  console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
535
535
  return;
536
536
  }
537
- const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.ax; });
537
+ const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.av; });
538
538
  let cwd = process.cwd();
539
539
  const filteredArgs = [];
540
540
  for (let i = 0; i < agentArgs.length; i++) {
@@ -558,18 +558,18 @@ async function handleAgentCommand() {
558
558
  console.log(`Starting ${config.agentName} agent in ${cwd}...`);
559
559
  let backend;
560
560
  if (KNOWN_CODEX_AGENTS[config.agentName]) {
561
- const { CodexAppServerBackend } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.ay; });
561
+ const { CodexAppServerBackend } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aw; });
562
562
  backend = new CodexAppServerBackend({ cwd, log: logFn });
563
563
  } else {
564
- const { AcpBackend } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.aw; });
565
- const { GeminiTransport } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.az; });
566
- const { KimiTransport } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.aA; });
567
- const { DefaultTransport } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.av; });
564
+ const { AcpBackend } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.au; });
565
+ const { GeminiTransport } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.ax; });
566
+ const { KimiTransport } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.ay; });
567
+ const { DefaultTransport } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.at; });
568
568
  const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : config.agentName === "kimi" ? new KimiTransport() : new DefaultTransport(config.agentName);
569
569
  let acpEnv;
570
570
  if (config.agentName === "kimi") {
571
- const { ensureKimiProviderConfigured } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.aC; });
572
- const { kimiSpawnEnv } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.aB; });
571
+ const { ensureKimiProviderConfigured } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aA; });
572
+ const { kimiSpawnEnv } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.az; });
573
573
  await ensureKimiProviderConfigured(process.env, config.command, logFn);
574
574
  acpEnv = kimiSpawnEnv(process.env);
575
575
  }
@@ -699,7 +699,7 @@ async function handleSessionCommand() {
699
699
  process.exit(1);
700
700
  }
701
701
  }
702
- 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-wQYdc5EK.mjs');
702
+ 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-DRYk0mQr.mjs');
703
703
  const parseFlagStr = (flag, shortFlag) => {
704
704
  for (let i = 1; i < sessionArgs.length; i++) {
705
705
  if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
@@ -773,7 +773,7 @@ async function handleSessionCommand() {
773
773
  console.warn(" --allow-write / a securityContext allowedDirectories, or keep the");
774
774
  console.warn(" sensitive path outside the workspace.");
775
775
  }
776
- const { parseShareArg } = await import('./commands-wQYdc5EK.mjs');
776
+ const { parseShareArg } = await import('./commands-DRYk0mQr.mjs');
777
777
  const shareEntries = share.map((s) => parseShareArg(s));
778
778
  await sessionSpawn(agent, dir, targetMachineId, {
779
779
  message,
@@ -864,7 +864,7 @@ async function handleSessionCommand() {
864
864
  console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
865
865
  process.exit(1);
866
866
  }
867
- const { sessionEditMessage } = await import('./commands-wQYdc5EK.mjs');
867
+ const { sessionEditMessage } = await import('./commands-DRYk0mQr.mjs');
868
868
  await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
869
869
  } else if (sessionSubcommand === "refine") {
870
870
  if (!sessionArgs[1] || !sessionArgs[2]) {
@@ -872,7 +872,7 @@ async function handleSessionCommand() {
872
872
  console.error(" Asks the agent to revise its latest reply in place (no extra round).");
873
873
  process.exit(1);
874
874
  }
875
- const { sessionRefineLastReply } = await import('./commands-wQYdc5EK.mjs');
875
+ const { sessionRefineLastReply } = await import('./commands-DRYk0mQr.mjs');
876
876
  await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
877
877
  } else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
878
878
  if (!sessionArgs[1]) {
@@ -880,7 +880,7 @@ async function handleSessionCommand() {
880
880
  console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
881
881
  process.exit(1);
882
882
  }
883
- const { sessionUndoEdit } = await import('./commands-wQYdc5EK.mjs');
883
+ const { sessionUndoEdit } = await import('./commands-DRYk0mQr.mjs');
884
884
  await sessionUndoEdit(sessionArgs[1], targetMachineId);
885
885
  } else if (sessionSubcommand === "query") {
886
886
  const dir = sessionArgs[1];
@@ -890,7 +890,7 @@ async function handleSessionCommand() {
890
890
  console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
891
891
  process.exit(1);
892
892
  }
893
- const { sessionQuery } = await import('./commands-wQYdc5EK.mjs');
893
+ const { sessionQuery } = await import('./commands-DRYk0mQr.mjs');
894
894
  await sessionQuery(dir, prompt, targetMachineId, {
895
895
  timeout: parseFlagInt("--timeout"),
896
896
  json: hasFlag("--json"),
@@ -923,7 +923,7 @@ async function handleSessionCommand() {
923
923
  console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
924
924
  process.exit(1);
925
925
  }
926
- const { sessionApprove } = await import('./commands-wQYdc5EK.mjs');
926
+ const { sessionApprove } = await import('./commands-DRYk0mQr.mjs');
927
927
  const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
928
928
  await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
929
929
  json: hasFlag("--json")
@@ -933,7 +933,7 @@ async function handleSessionCommand() {
933
933
  console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
934
934
  process.exit(1);
935
935
  }
936
- const { sessionDeny } = await import('./commands-wQYdc5EK.mjs');
936
+ const { sessionDeny } = await import('./commands-DRYk0mQr.mjs');
937
937
  const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
938
938
  await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
939
939
  json: hasFlag("--json")
@@ -985,7 +985,7 @@ async function handleSessionCommand() {
985
985
  console.error("Usage: svamp session set-title <title>");
986
986
  process.exit(1);
987
987
  }
988
- const { sessionSetTitle } = await import('./agentCommands-DdOSpUEW.mjs');
988
+ const { sessionSetTitle } = await import('./agentCommands-CI_sYhy6.mjs');
989
989
  await sessionSetTitle(title);
990
990
  } else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
991
991
  const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
@@ -993,7 +993,7 @@ async function handleSessionCommand() {
993
993
  console.error("Usage: svamp session set-project-description <text>");
994
994
  process.exit(1);
995
995
  }
996
- const { sessionSetProjectDescription } = await import('./agentCommands-DdOSpUEW.mjs');
996
+ const { sessionSetProjectDescription } = await import('./agentCommands-CI_sYhy6.mjs');
997
997
  await sessionSetProjectDescription(desc);
998
998
  } else if (sessionSubcommand === "set-link") {
999
999
  const url = sessionArgs[1];
@@ -1002,11 +1002,11 @@ async function handleSessionCommand() {
1002
1002
  process.exit(1);
1003
1003
  }
1004
1004
  const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
1005
- const { sessionSetLink } = await import('./agentCommands-DdOSpUEW.mjs');
1005
+ const { sessionSetLink } = await import('./agentCommands-CI_sYhy6.mjs');
1006
1006
  await sessionSetLink(url, label);
1007
1007
  } else if (sessionSubcommand === "link") {
1008
1008
  const op = sessionArgs[1];
1009
- const lm = await import('./agentCommands-DdOSpUEW.mjs');
1009
+ const lm = await import('./agentCommands-CI_sYhy6.mjs');
1010
1010
  if (op === "add") {
1011
1011
  const url = sessionArgs[2];
1012
1012
  if (!url || url.startsWith("--")) {
@@ -1041,7 +1041,7 @@ async function handleSessionCommand() {
1041
1041
  process.exit(1);
1042
1042
  }
1043
1043
  const level = parseFlagStr("--level") || "info";
1044
- const { sessionNotify } = await import('./agentCommands-DdOSpUEW.mjs');
1044
+ const { sessionNotify } = await import('./agentCommands-CI_sYhy6.mjs');
1045
1045
  await sessionNotify(message, level);
1046
1046
  } else if (sessionSubcommand === "broadcast") {
1047
1047
  const action = sessionArgs[1];
@@ -1049,7 +1049,7 @@ async function handleSessionCommand() {
1049
1049
  console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
1050
1050
  process.exit(1);
1051
1051
  }
1052
- const { sessionBroadcast } = await import('./agentCommands-DdOSpUEW.mjs');
1052
+ const { sessionBroadcast } = await import('./agentCommands-CI_sYhy6.mjs');
1053
1053
  await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
1054
1054
  } else if (sessionSubcommand === "inbox") {
1055
1055
  const inboxSubcmd = sessionArgs[1];
@@ -1060,7 +1060,7 @@ async function handleSessionCommand() {
1060
1060
  process.exit(1);
1061
1061
  }
1062
1062
  if (agentSessionId) {
1063
- const { inboxSend } = await import('./agentCommands-DdOSpUEW.mjs');
1063
+ const { inboxSend } = await import('./agentCommands-CI_sYhy6.mjs');
1064
1064
  await inboxSend(sessionArgs[2], {
1065
1065
  body: sessionArgs[3],
1066
1066
  subject: parseFlagStr("--subject"),
@@ -1077,7 +1077,7 @@ async function handleSessionCommand() {
1077
1077
  }
1078
1078
  } else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
1079
1079
  if (agentSessionId && !sessionArgs[2]) {
1080
- const { inboxList } = await import('./agentCommands-DdOSpUEW.mjs');
1080
+ const { inboxList } = await import('./agentCommands-CI_sYhy6.mjs');
1081
1081
  await inboxList({
1082
1082
  unread: hasFlag("--unread"),
1083
1083
  limit: parseFlagInt("--limit"),
@@ -1099,7 +1099,7 @@ async function handleSessionCommand() {
1099
1099
  process.exit(1);
1100
1100
  }
1101
1101
  if (agentSessionId && !sessionArgs[3]) {
1102
- const { inboxList } = await import('./agentCommands-DdOSpUEW.mjs');
1102
+ const { inboxList } = await import('./agentCommands-CI_sYhy6.mjs');
1103
1103
  await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
1104
1104
  } else if (sessionArgs[3]) {
1105
1105
  await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
@@ -1109,7 +1109,7 @@ async function handleSessionCommand() {
1109
1109
  }
1110
1110
  } else if (inboxSubcmd === "reply") {
1111
1111
  if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
1112
- const { inboxReply } = await import('./agentCommands-DdOSpUEW.mjs');
1112
+ const { inboxReply } = await import('./agentCommands-CI_sYhy6.mjs');
1113
1113
  await inboxReply(sessionArgs[2], sessionArgs[3]);
1114
1114
  } else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
1115
1115
  await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
@@ -1147,7 +1147,7 @@ async function handleMachineCommand() {
1147
1147
  return;
1148
1148
  }
1149
1149
  if (machineSubcommand === "share") {
1150
- const { machineShare } = await import('./commands-wQYdc5EK.mjs');
1150
+ const { machineShare } = await import('./commands-DRYk0mQr.mjs');
1151
1151
  let machineId;
1152
1152
  const shareArgs = [];
1153
1153
  for (let i = 1; i < machineArgs.length; i++) {
@@ -1198,14 +1198,14 @@ async function handleMachineCommand() {
1198
1198
  process.exit(1);
1199
1199
  }
1200
1200
  if (all) {
1201
- const { fleetExec } = await import('./fleet-NRi2YMso.mjs');
1201
+ const { fleetExec } = await import('./fleet-BXfUlehy.mjs');
1202
1202
  await fleetExec(command, { cwd });
1203
1203
  } else {
1204
- const { machineExec } = await import('./commands-wQYdc5EK.mjs');
1204
+ const { machineExec } = await import('./commands-DRYk0mQr.mjs');
1205
1205
  await machineExec(machineId, command, cwd);
1206
1206
  }
1207
1207
  } else if (machineSubcommand === "info") {
1208
- const { machineInfo } = await import('./commands-wQYdc5EK.mjs');
1208
+ const { machineInfo } = await import('./commands-DRYk0mQr.mjs');
1209
1209
  let machineId;
1210
1210
  for (let i = 1; i < machineArgs.length; i++) {
1211
1211
  if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
@@ -1234,10 +1234,10 @@ async function handleMachineCommand() {
1234
1234
  console.error("Usage: svamp machine notify <message> [--level info|warning|error]");
1235
1235
  process.exit(1);
1236
1236
  }
1237
- const { machineNotify } = await import('./agentCommands-DdOSpUEW.mjs');
1237
+ const { machineNotify } = await import('./agentCommands-CI_sYhy6.mjs');
1238
1238
  await machineNotify(message, level);
1239
1239
  } else if (machineSubcommand === "ls") {
1240
- const { machineLs } = await import('./commands-wQYdc5EK.mjs');
1240
+ const { machineLs } = await import('./commands-DRYk0mQr.mjs');
1241
1241
  let machineId;
1242
1242
  let showHidden = false;
1243
1243
  let path;
@@ -1303,26 +1303,26 @@ Examples:
1303
1303
  };
1304
1304
  const hasFlag = (name) => fleetArgs.includes(`--${name}`);
1305
1305
  if (sub === "status") {
1306
- const { fleetStatus } = await import('./fleet-NRi2YMso.mjs');
1306
+ const { fleetStatus } = await import('./fleet-BXfUlehy.mjs');
1307
1307
  await fleetStatus();
1308
1308
  } else if (sub === "upgrade-claude") {
1309
- const { fleetUpgradeClaude } = await import('./fleet-NRi2YMso.mjs');
1309
+ const { fleetUpgradeClaude } = await import('./fleet-BXfUlehy.mjs');
1310
1310
  await fleetUpgradeClaude({ version: flag("version", "-v") });
1311
1311
  } else if (sub === "upgrade-codex") {
1312
- const { fleetUpgradeCodex } = await import('./fleet-NRi2YMso.mjs');
1312
+ const { fleetUpgradeCodex } = await import('./fleet-BXfUlehy.mjs');
1313
1313
  await fleetUpgradeCodex({ version: flag("version", "-v") });
1314
1314
  } else if (sub === "upgrade-kimi") {
1315
- const { fleetUpgradeKimi } = await import('./fleet-NRi2YMso.mjs');
1315
+ const { fleetUpgradeKimi } = await import('./fleet-BXfUlehy.mjs');
1316
1316
  await fleetUpgradeKimi({ version: flag("version", "-v") });
1317
1317
  } else if (sub === "upgrade-svamp") {
1318
- const { fleetUpgradeSvamp } = await import('./fleet-NRi2YMso.mjs');
1318
+ const { fleetUpgradeSvamp } = await import('./fleet-BXfUlehy.mjs');
1319
1319
  await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self"), force: hasFlag("force") });
1320
1320
  } else if (sub === "daemon-restart") {
1321
- const { fleetDaemonRestart } = await import('./fleet-NRi2YMso.mjs');
1321
+ const { fleetDaemonRestart } = await import('./fleet-BXfUlehy.mjs');
1322
1322
  await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
1323
1323
  } else if (sub === "push-skill") {
1324
1324
  const name = fleetArgs[1];
1325
- const { fleetPushSkill } = await import('./fleet-NRi2YMso.mjs');
1325
+ const { fleetPushSkill } = await import('./fleet-BXfUlehy.mjs');
1326
1326
  await fleetPushSkill(name);
1327
1327
  } else {
1328
1328
  console.error(`Unknown fleet subcommand: ${sub}`);
@@ -1338,7 +1338,7 @@ async function handleSkillsCommand() {
1338
1338
  await printSkillsHelp();
1339
1339
  return;
1340
1340
  }
1341
- const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-Bx2JkNft.mjs');
1341
+ const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-DxJHm9r0.mjs');
1342
1342
  if (skillsSubcommand === "find" || skillsSubcommand === "search") {
1343
1343
  const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
1344
1344
  if (!query) {
@@ -1385,7 +1385,7 @@ async function loginToHypha() {
1385
1385
  process.exit(1);
1386
1386
  }
1387
1387
  const anchor = anchorArg.replace(/\/+$/, "");
1388
- const { loadInstanceConfig } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.ar; });
1388
+ const { loadInstanceConfig } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.an; });
1389
1389
  let cfg = null;
1390
1390
  try {
1391
1391
  cfg = await loadInstanceConfig({ anchor, force: true });
@@ -1500,7 +1500,7 @@ async function logoutFromHypha() {
1500
1500
  } catch {
1501
1501
  }
1502
1502
  try {
1503
- const { clearInstanceConfigCache } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.ar; });
1503
+ const { clearInstanceConfigCache } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.an; });
1504
1504
  clearInstanceConfigCache();
1505
1505
  } catch {
1506
1506
  }
@@ -1853,7 +1853,7 @@ async function applyClaudeAuthFlags(argv) {
1853
1853
  "--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
1854
1854
  );
1855
1855
  }
1856
- const mod = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.as; });
1856
+ const mod = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aq; });
1857
1857
  if (hasHypha) {
1858
1858
  let url;
1859
1859
  const hyphaIdx = argv.indexOf("--use-hypha-proxy");
@@ -1907,7 +1907,7 @@ async function applyDaemonShareFlag(argv) {
1907
1907
  }
1908
1908
  }
1909
1909
  if (collected.length === 0) return;
1910
- const { updateEnvFile } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.as; });
1910
+ const { updateEnvFile } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aq; });
1911
1911
  const seen = /* @__PURE__ */ new Set();
1912
1912
  const deduped = collected.filter((e) => {
1913
1913
  const k = e.toLowerCase();
@@ -1940,7 +1940,7 @@ async function handleWiseAgentCommand(rest) {
1940
1940
  }
1941
1941
  });
1942
1942
  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(" ");
1943
- const { wiseAskCli } = await import('./commands-wQYdc5EK.mjs');
1943
+ const { wiseAskCli } = await import('./commands-DRYk0mQr.mjs');
1944
1944
  await wiseAskCli(machineId, message, sessionId, { json });
1945
1945
  return;
1946
1946
  }
@@ -1952,7 +1952,7 @@ async function handleWiseAgentCommand(rest) {
1952
1952
  }
1953
1953
  return void 0;
1954
1954
  };
1955
- const { runWiseVoiceCli } = await import('./headlessCli-DpTQ00fL.mjs');
1955
+ const { runWiseVoiceCli } = await import('./headlessCli-CR9fW45i.mjs');
1956
1956
  await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
1957
1957
  return;
1958
1958
  }
@@ -1970,7 +1970,7 @@ async function handleWiseAgentCommand(rest) {
1970
1970
  const mode = valueOf(["--mode"]);
1971
1971
  const mission = valueOf(["--mission"]);
1972
1972
  const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
1973
- const { wiseJoinMeetingCli } = await import('./commands-wQYdc5EK.mjs');
1973
+ const { wiseJoinMeetingCli } = await import('./commands-DRYk0mQr.mjs');
1974
1974
  await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
1975
1975
  return;
1976
1976
  }
@@ -1982,7 +1982,7 @@ async function handleWiseAgentCommand(rest) {
1982
1982
  }
1983
1983
  return void 0;
1984
1984
  };
1985
- const { wiseLeaveMeetingCli } = await import('./commands-wQYdc5EK.mjs');
1985
+ const { wiseLeaveMeetingCli } = await import('./commands-DRYk0mQr.mjs');
1986
1986
  await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
1987
1987
  return;
1988
1988
  }
@@ -2006,7 +2006,7 @@ async function handleWiseAgentCommand(rest) {
2006
2006
  }
2007
2007
  });
2008
2008
  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(" ");
2009
- const { wiseAnnounceCli } = await import('./commands-wQYdc5EK.mjs');
2009
+ const { wiseAnnounceCli } = await import('./commands-DRYk0mQr.mjs');
2010
2010
  await wiseAnnounceCli(machineId, text, sessionId, { json });
2011
2011
  return;
2012
2012
  }
@@ -2018,7 +2018,7 @@ async function handleWiseAgentCommand(rest) {
2018
2018
  }
2019
2019
  return void 0;
2020
2020
  };
2021
- const { wiseMeetingsCli } = await import('./commands-wQYdc5EK.mjs');
2021
+ const { wiseMeetingsCli } = await import('./commands-DRYk0mQr.mjs');
2022
2022
  await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
2023
2023
  return;
2024
2024
  }
@@ -2069,7 +2069,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
2069
2069
  return;
2070
2070
  }
2071
2071
  const authArgs = rest.slice(1);
2072
- const mod = await import('./auth-B2XK13r-.mjs');
2072
+ const mod = await import('./auth-7Og-RZ50.mjs');
2073
2073
  let action;
2074
2074
  try {
2075
2075
  action = mod.parseWiseAgentAuthArgs(authArgs);
@@ -2079,7 +2079,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
2079
2079
  return;
2080
2080
  }
2081
2081
  if (action) {
2082
- const { updateEnvFile } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.as; });
2082
+ const { updateEnvFile } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aq; });
2083
2083
  const updates = mod.buildWiseAgentEnvUpdates(action);
2084
2084
  updateEnvFile(updates);
2085
2085
  for (const [k, v] of Object.entries(updates)) {
@@ -2093,7 +2093,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
2093
2093
  }
2094
2094
  async function handleDaemonAuthCommand(argv) {
2095
2095
  const sub = (argv[0] || "status").toLowerCase();
2096
- const mod = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.as; });
2096
+ const mod = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aq; });
2097
2097
  if (sub === "--help" || sub === "-h" || sub === "help") {
2098
2098
  console.log(`
2099
2099
  svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
@@ -2167,8 +2167,8 @@ one step: --use-hypha-proxy / --use-claude-login / --anthropic-base-url URL --an
2167
2167
  }
2168
2168
  async function handleDaemonCodexAuthCommand(argv) {
2169
2169
  const sub = (argv[0] || "status").toLowerCase();
2170
- const { updateEnvFile } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.as; });
2171
- const { resolveCodexProvider } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.at; });
2170
+ const { updateEnvFile } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aq; });
2171
+ const { resolveCodexProvider } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.ar; });
2172
2172
  const redact = (k) => k && k.length > 10 ? `${k.slice(0, 6)}\u2026${k.slice(-4)}` : k ? "***" : "(unset)";
2173
2173
  if (sub === "--help" || sub === "-h" || sub === "help") {
2174
2174
  console.log(`
@@ -2254,8 +2254,8 @@ The generic LLM_API_BASE / LLM_API_KEY / LLM_MODEL env vars are also honored if
2254
2254
  }
2255
2255
  async function handleDaemonKimiAuthCommand(argv) {
2256
2256
  const sub = (argv[0] || "status").toLowerCase();
2257
- const { updateEnvFile } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.as; });
2258
- const { resolveKimiProvider, buildKimiCatalogAddArgs, DEFAULT_KIMI_PROVIDER } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.aB; });
2257
+ const { updateEnvFile } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aq; });
2258
+ const { resolveKimiProvider, buildKimiCatalogAddArgs, DEFAULT_KIMI_PROVIDER } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.az; });
2259
2259
  const redact = (k) => k && k.length > 10 ? `${k.slice(0, 6)}\u2026${k.slice(-4)}` : k ? "***" : "(unset)";
2260
2260
  const PRESETS = {
2261
2261
  "use-moonshot": { provider: "moonshotai", base: "https://api.moonshot.ai/v1", label: "Moonshot AI (moonshotai)" },
@@ -2618,7 +2618,7 @@ Examples:
2618
2618
  async function printSkillsHelp() {
2619
2619
  let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
2620
2620
  try {
2621
- const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-RA4Vr6lj.mjs').then(function (n) { return n.aD; });
2621
+ const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-CC2ckdDX.mjs').then(function (n) { return n.aB; });
2622
2622
  browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
2623
2623
  } catch {
2624
2624
  }
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import './run-RA4Vr6lj.mjs';
1
+ import './run-CC2ckdDX.mjs';
2
2
  import './serviceManager-hlOVxkhW.mjs';
3
- import './cli-DGVQaDbd.mjs';
3
+ import './cli-D3_a7yin.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, L as workflowSteps, A as setWorkflowEnabled, G as isWorkflowEnabled, B as removeWorkflow, y as getWorkflow, F as listWorkflows, D as saveWorkflow, E as rawWorkflow } from './run-RA4Vr6lj.mjs';
2
+ import { f as resolveProjectRoot, I as workflowSteps, x as setWorkflowEnabled, D as isWorkflowEnabled, y as removeWorkflow, v as getWorkflow, C as listWorkflows, A as saveWorkflow, B as rawWorkflow } from './run-CC2ckdDX.mjs';
3
3
  import 'os';
4
4
  import 'fs/promises';
5
5
  import 'fs';
@@ -1,9 +1,9 @@
1
- import { connectAndResolveSession } from './commands-wQYdc5EK.mjs';
1
+ import { connectAndResolveSession } from './commands-DRYk0mQr.mjs';
2
2
  import 'node:fs';
3
3
  import 'node:child_process';
4
4
  import 'node:path';
5
5
  import 'node:os';
6
- import './run-RA4Vr6lj.mjs';
6
+ import './run-CC2ckdDX.mjs';
7
7
  import 'os';
8
8
  import 'fs/promises';
9
9
  import 'fs';