svamp-cli 0.2.306 → 0.2.307
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.
- package/dist/{adminCommands-Cx_Rp-TR.mjs → adminCommands-DZ9MECkY.mjs} +1 -1
- package/dist/{agentCommands-CUcyA_KE.mjs → agentCommands-D68wBf-y.mjs} +5 -5
- package/dist/{auth-BBjbREk1.mjs → auth-DDgr4YFE.mjs} +1 -1
- package/dist/{cli-Jj5S5UOL.mjs → cli-Bk6IPB9M.mjs} +69 -69
- package/dist/cli.mjs +2 -2
- package/dist/{commands-BRQBNTsJ.mjs → commands-Bl9AtWkD.mjs} +2 -2
- package/dist/{commands-DkKdjnPE.mjs → commands-BlIR3KBq.mjs} +2 -2
- package/dist/{commands-BeD9b-Eh.mjs → commands-CESl13XD.mjs} +2 -2
- package/dist/{commands-CvwLQ3MM.mjs → commands-CJVqMnNf.mjs} +1 -1
- package/dist/{commands-DlyOpWwF.mjs → commands-DJwSJOPD.mjs} +1 -1
- package/dist/{commands-3UnC4Lnb.mjs → commands-Dh2S9Gf1.mjs} +1 -1
- package/dist/{commands-ByP8QKuO.mjs → commands-DsfIIri_.mjs} +7 -7
- package/dist/{commands-DJt9EFd7.mjs → commands-rGFSTXKu.mjs} +2 -2
- package/dist/{fleet-cBng1VMn.mjs → fleet-okzhGLEY.mjs} +1 -1
- package/dist/{frpc-C1jS23Sn.mjs → frpc-NDcBtpwa.mjs} +1 -1
- package/dist/{headlessCli-CsnDECCN.mjs → headlessCli-BkU5B5Jp.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{notifyCommands-D7Ja6442.mjs → notifyCommands-Oh0kvQgj.mjs} +1 -1
- package/dist/package-k1G6ygGP.mjs +64 -0
- package/dist/{rpc-BxmbyDga.mjs → rpc-DSyBSuTF.mjs} +1 -1
- package/dist/{rpc-iNafaHoh.mjs → rpc-K5xzddMF.mjs} +1 -1
- package/dist/{run-D351s_uv.mjs → run-09G0RL2B.mjs} +1 -1
- package/dist/{run-Bd57zohL.mjs → run-DYVmYsvg.mjs} +88 -44
- package/dist/{scheduler-CZYOanXt.mjs → scheduler-CtKlSyIq.mjs} +1 -1
- package/dist/{serveCommands-DotLju8m.mjs → serveCommands-BnOmV2Z3.mjs} +5 -5
- package/dist/{sideband-DM1-IAV7.mjs → sideband-CdJ0O6L6.mjs} +1 -1
- package/package.json +2 -2
- package/dist/package-DUF-safU.mjs +0 -64
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as connectToHypha, L as computeCollectionConfigUpdate, M as SYSTEM_COLLECTION_CONFIG } from './run-
|
|
1
|
+
import { c as connectToHypha, L as computeCollectionConfigUpdate, M as SYSTEM_COLLECTION_CONFIG } from './run-DYVmYsvg.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-
|
|
5
|
+
import { i as shortId } from './run-DYVmYsvg.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-
|
|
99
|
+
const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.aq; });
|
|
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-
|
|
346
|
+
const { connectAndGetMachine } = await import('./commands-CJVqMnNf.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-
|
|
429
|
+
const { connectAndResolveSession } = await import('./commands-CJVqMnNf.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-
|
|
484
|
+
const { connectAndResolveSession } = await import('./commands-CJVqMnNf.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 { a2 as clearStopMarker, a3 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-
|
|
1
|
+
import { a2 as clearStopMarker, a3 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-DYVmYsvg.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-
|
|
36
|
+
const { getLoadedConfig } = await import('./run-DYVmYsvg.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-
|
|
55
|
+
const mod = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ax; });
|
|
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-
|
|
359
|
+
const { handleServiceCommand } = await import('./commands-DsfIIri_.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-
|
|
367
|
+
const { handleServeCommand } = await import('./serveCommands-BnOmV2Z3.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-
|
|
376
|
+
const { processCommand } = await import('./commands-Bl9AtWkD.mjs');
|
|
377
377
|
let machineId;
|
|
378
378
|
const processArgs = args.slice(1);
|
|
379
379
|
const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
|
|
@@ -387,26 +387,26 @@ async function main() {
|
|
|
387
387
|
}), machineId);
|
|
388
388
|
process.exit(0);
|
|
389
389
|
} else if (subcommand === "outpost") {
|
|
390
|
-
const { outpostCommand } = await import('./commands-
|
|
390
|
+
const { outpostCommand } = await import('./commands-BlIR3KBq.mjs');
|
|
391
391
|
await outpostCommand(args.slice(1));
|
|
392
392
|
process.exit(0);
|
|
393
393
|
} else if (subcommand === "issue" || subcommand === "issues") {
|
|
394
|
-
const { issueCommand } = await import('./commands-
|
|
394
|
+
const { issueCommand } = await import('./commands-CESl13XD.mjs');
|
|
395
395
|
await issueCommand(args.slice(1));
|
|
396
396
|
await flushAndExit(0);
|
|
397
397
|
} else if (subcommand === "workflow" || subcommand === "workflows") {
|
|
398
|
-
const { workflowCommand } = await import('./commands-
|
|
398
|
+
const { workflowCommand } = await import('./commands-Dh2S9Gf1.mjs');
|
|
399
399
|
await workflowCommand(args.slice(1));
|
|
400
400
|
await flushAndExit(0);
|
|
401
401
|
} else if (subcommand === "wise-agent" || subcommand === "wise") {
|
|
402
402
|
await handleWiseAgentCommand(args.slice(1));
|
|
403
403
|
process.exit(0);
|
|
404
404
|
} else if (subcommand === "feature" || subcommand === "crew") {
|
|
405
|
-
const { crewCommand } = await import('./commands-
|
|
405
|
+
const { crewCommand } = await import('./commands-rGFSTXKu.mjs');
|
|
406
406
|
await crewCommand(args.slice(1));
|
|
407
407
|
process.exit(0);
|
|
408
408
|
} else if (subcommand === "notify") {
|
|
409
|
-
const { notifyUser } = await import('./notifyCommands-
|
|
409
|
+
const { notifyUser } = await import('./notifyCommands-Oh0kvQgj.mjs');
|
|
410
410
|
const rest = args.slice(1);
|
|
411
411
|
let email;
|
|
412
412
|
const o = {};
|
|
@@ -423,7 +423,7 @@ async function main() {
|
|
|
423
423
|
} else if (subcommand === "admin") {
|
|
424
424
|
const adminSub = args[1];
|
|
425
425
|
if (adminSub === "set-collection-config") {
|
|
426
|
-
const { setCollectionConfig } = await import('./adminCommands-
|
|
426
|
+
const { setCollectionConfig } = await import('./adminCommands-DZ9MECkY.mjs');
|
|
427
427
|
const rest = args.slice(2);
|
|
428
428
|
let alias;
|
|
429
429
|
let configJson;
|
|
@@ -433,10 +433,10 @@ async function main() {
|
|
|
433
433
|
}
|
|
434
434
|
await setCollectionConfig(alias, configJson);
|
|
435
435
|
} else if (adminSub === "create-system-collections") {
|
|
436
|
-
const { createSystemCollections } = await import('./adminCommands-
|
|
436
|
+
const { createSystemCollections } = await import('./adminCommands-DZ9MECkY.mjs');
|
|
437
437
|
await createSystemCollections();
|
|
438
438
|
} else if (adminSub === "migrate-collection-children") {
|
|
439
|
-
const { migrateCollectionChildren } = await import('./adminCommands-
|
|
439
|
+
const { migrateCollectionChildren } = await import('./adminCommands-DZ9MECkY.mjs');
|
|
440
440
|
const rest = args.slice(2).filter((a) => !a.startsWith("-"));
|
|
441
441
|
await migrateCollectionChildren(rest[0], rest[1]);
|
|
442
442
|
} else {
|
|
@@ -444,7 +444,7 @@ async function main() {
|
|
|
444
444
|
}
|
|
445
445
|
process.exit(0);
|
|
446
446
|
} else if (subcommand === "events") {
|
|
447
|
-
const { listEvents, ackEvent } = await import('./notifyCommands-
|
|
447
|
+
const { listEvents, ackEvent } = await import('./notifyCommands-Oh0kvQgj.mjs');
|
|
448
448
|
const sub = args[1];
|
|
449
449
|
const rest = args.slice(2);
|
|
450
450
|
let email;
|
|
@@ -465,7 +465,7 @@ async function main() {
|
|
|
465
465
|
} else if (!subcommand || subcommand === "start") {
|
|
466
466
|
await handleInteractiveCommand();
|
|
467
467
|
} else if (subcommand === "--version" || subcommand === "-v") {
|
|
468
|
-
const pkg = await import('./package-
|
|
468
|
+
const pkg = await import('./package-k1G6ygGP.mjs').catch(() => ({ default: { version: "unknown" } }));
|
|
469
469
|
console.log(`svamp version: ${pkg.default.version}`);
|
|
470
470
|
} else {
|
|
471
471
|
console.error(`Unknown command: ${subcommand}`);
|
|
@@ -474,7 +474,7 @@ async function main() {
|
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
async function handleInteractiveCommand() {
|
|
477
|
-
const { runInteractive } = await import('./run-
|
|
477
|
+
const { runInteractive } = await import('./run-09G0RL2B.mjs');
|
|
478
478
|
const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
|
|
479
479
|
let directory = process.cwd();
|
|
480
480
|
let resumeSessionId;
|
|
@@ -519,7 +519,7 @@ async function handleAgentCommand() {
|
|
|
519
519
|
return;
|
|
520
520
|
}
|
|
521
521
|
if (agentArgs[0] === "list") {
|
|
522
|
-
const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-
|
|
522
|
+
const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.at; });
|
|
523
523
|
console.log("Known agents:");
|
|
524
524
|
for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
|
|
525
525
|
console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
|
|
@@ -531,7 +531,7 @@ async function handleAgentCommand() {
|
|
|
531
531
|
console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
|
|
532
532
|
return;
|
|
533
533
|
}
|
|
534
|
-
const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-
|
|
534
|
+
const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.at; });
|
|
535
535
|
let cwd = process.cwd();
|
|
536
536
|
const filteredArgs = [];
|
|
537
537
|
for (let i = 0; i < agentArgs.length; i++) {
|
|
@@ -555,12 +555,12 @@ async function handleAgentCommand() {
|
|
|
555
555
|
console.log(`Starting ${config.agentName} agent in ${cwd}...`);
|
|
556
556
|
let backend;
|
|
557
557
|
if (KNOWN_CODEX_AGENTS[config.agentName]) {
|
|
558
|
-
const { CodexAppServerBackend } = await import('./run-
|
|
558
|
+
const { CodexAppServerBackend } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.au; });
|
|
559
559
|
backend = new CodexAppServerBackend({ cwd, log: logFn });
|
|
560
560
|
} else {
|
|
561
|
-
const { AcpBackend } = await import('./run-
|
|
562
|
-
const { GeminiTransport } = await import('./run-
|
|
563
|
-
const { DefaultTransport } = await import('./run-
|
|
561
|
+
const { AcpBackend } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.as; });
|
|
562
|
+
const { GeminiTransport } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.av; });
|
|
563
|
+
const { DefaultTransport } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ar; });
|
|
564
564
|
const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
|
|
565
565
|
backend = new AcpBackend({
|
|
566
566
|
agentName: config.agentName,
|
|
@@ -687,7 +687,7 @@ async function handleSessionCommand() {
|
|
|
687
687
|
process.exit(1);
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
|
-
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-
|
|
690
|
+
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-CJVqMnNf.mjs');
|
|
691
691
|
const parseFlagStr = (flag, shortFlag) => {
|
|
692
692
|
for (let i = 1; i < sessionArgs.length; i++) {
|
|
693
693
|
if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
|
|
@@ -755,7 +755,7 @@ async function handleSessionCommand() {
|
|
|
755
755
|
allowDomain.push(sessionArgs[++i]);
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
const { parseShareArg } = await import('./commands-
|
|
758
|
+
const { parseShareArg } = await import('./commands-CJVqMnNf.mjs');
|
|
759
759
|
const shareEntries = share.map((s) => parseShareArg(s));
|
|
760
760
|
await sessionSpawn(agent, dir, targetMachineId, {
|
|
761
761
|
message,
|
|
@@ -846,7 +846,7 @@ async function handleSessionCommand() {
|
|
|
846
846
|
console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
|
|
847
847
|
process.exit(1);
|
|
848
848
|
}
|
|
849
|
-
const { sessionEditMessage } = await import('./commands-
|
|
849
|
+
const { sessionEditMessage } = await import('./commands-CJVqMnNf.mjs');
|
|
850
850
|
await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
851
851
|
} else if (sessionSubcommand === "refine") {
|
|
852
852
|
if (!sessionArgs[1] || !sessionArgs[2]) {
|
|
@@ -854,7 +854,7 @@ async function handleSessionCommand() {
|
|
|
854
854
|
console.error(" Asks the agent to revise its latest reply in place (no extra round).");
|
|
855
855
|
process.exit(1);
|
|
856
856
|
}
|
|
857
|
-
const { sessionRefineLastReply } = await import('./commands-
|
|
857
|
+
const { sessionRefineLastReply } = await import('./commands-CJVqMnNf.mjs');
|
|
858
858
|
await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
|
|
859
859
|
} else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
|
|
860
860
|
if (!sessionArgs[1]) {
|
|
@@ -862,7 +862,7 @@ async function handleSessionCommand() {
|
|
|
862
862
|
console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
|
|
863
863
|
process.exit(1);
|
|
864
864
|
}
|
|
865
|
-
const { sessionUndoEdit } = await import('./commands-
|
|
865
|
+
const { sessionUndoEdit } = await import('./commands-CJVqMnNf.mjs');
|
|
866
866
|
await sessionUndoEdit(sessionArgs[1], targetMachineId);
|
|
867
867
|
} else if (sessionSubcommand === "query") {
|
|
868
868
|
const dir = sessionArgs[1];
|
|
@@ -872,7 +872,7 @@ async function handleSessionCommand() {
|
|
|
872
872
|
console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
|
|
873
873
|
process.exit(1);
|
|
874
874
|
}
|
|
875
|
-
const { sessionQuery } = await import('./commands-
|
|
875
|
+
const { sessionQuery } = await import('./commands-CJVqMnNf.mjs');
|
|
876
876
|
await sessionQuery(dir, prompt, targetMachineId, {
|
|
877
877
|
timeout: parseFlagInt("--timeout"),
|
|
878
878
|
json: hasFlag("--json"),
|
|
@@ -905,7 +905,7 @@ async function handleSessionCommand() {
|
|
|
905
905
|
console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
|
|
906
906
|
process.exit(1);
|
|
907
907
|
}
|
|
908
|
-
const { sessionApprove } = await import('./commands-
|
|
908
|
+
const { sessionApprove } = await import('./commands-CJVqMnNf.mjs');
|
|
909
909
|
const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
910
910
|
await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
|
|
911
911
|
json: hasFlag("--json")
|
|
@@ -915,7 +915,7 @@ async function handleSessionCommand() {
|
|
|
915
915
|
console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
|
|
916
916
|
process.exit(1);
|
|
917
917
|
}
|
|
918
|
-
const { sessionDeny } = await import('./commands-
|
|
918
|
+
const { sessionDeny } = await import('./commands-CJVqMnNf.mjs');
|
|
919
919
|
const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
920
920
|
await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
|
|
921
921
|
json: hasFlag("--json")
|
|
@@ -967,7 +967,7 @@ async function handleSessionCommand() {
|
|
|
967
967
|
console.error("Usage: svamp session set-title <title>");
|
|
968
968
|
process.exit(1);
|
|
969
969
|
}
|
|
970
|
-
const { sessionSetTitle } = await import('./agentCommands-
|
|
970
|
+
const { sessionSetTitle } = await import('./agentCommands-D68wBf-y.mjs');
|
|
971
971
|
await sessionSetTitle(title);
|
|
972
972
|
} else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
|
|
973
973
|
const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
@@ -975,7 +975,7 @@ async function handleSessionCommand() {
|
|
|
975
975
|
console.error("Usage: svamp session set-project-description <text>");
|
|
976
976
|
process.exit(1);
|
|
977
977
|
}
|
|
978
|
-
const { sessionSetProjectDescription } = await import('./agentCommands-
|
|
978
|
+
const { sessionSetProjectDescription } = await import('./agentCommands-D68wBf-y.mjs');
|
|
979
979
|
await sessionSetProjectDescription(desc);
|
|
980
980
|
} else if (sessionSubcommand === "set-link") {
|
|
981
981
|
const url = sessionArgs[1];
|
|
@@ -984,11 +984,11 @@ async function handleSessionCommand() {
|
|
|
984
984
|
process.exit(1);
|
|
985
985
|
}
|
|
986
986
|
const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
987
|
-
const { sessionSetLink } = await import('./agentCommands-
|
|
987
|
+
const { sessionSetLink } = await import('./agentCommands-D68wBf-y.mjs');
|
|
988
988
|
await sessionSetLink(url, label);
|
|
989
989
|
} else if (sessionSubcommand === "link") {
|
|
990
990
|
const op = sessionArgs[1];
|
|
991
|
-
const lm = await import('./agentCommands-
|
|
991
|
+
const lm = await import('./agentCommands-D68wBf-y.mjs');
|
|
992
992
|
if (op === "add") {
|
|
993
993
|
const url = sessionArgs[2];
|
|
994
994
|
if (!url || url.startsWith("--")) {
|
|
@@ -1023,7 +1023,7 @@ async function handleSessionCommand() {
|
|
|
1023
1023
|
process.exit(1);
|
|
1024
1024
|
}
|
|
1025
1025
|
const level = parseFlagStr("--level") || "info";
|
|
1026
|
-
const { sessionNotify } = await import('./agentCommands-
|
|
1026
|
+
const { sessionNotify } = await import('./agentCommands-D68wBf-y.mjs');
|
|
1027
1027
|
await sessionNotify(message, level);
|
|
1028
1028
|
} else if (sessionSubcommand === "broadcast") {
|
|
1029
1029
|
const action = sessionArgs[1];
|
|
@@ -1031,7 +1031,7 @@ async function handleSessionCommand() {
|
|
|
1031
1031
|
console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
|
|
1032
1032
|
process.exit(1);
|
|
1033
1033
|
}
|
|
1034
|
-
const { sessionBroadcast } = await import('./agentCommands-
|
|
1034
|
+
const { sessionBroadcast } = await import('./agentCommands-D68wBf-y.mjs');
|
|
1035
1035
|
await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
|
|
1036
1036
|
} else if (sessionSubcommand === "inbox") {
|
|
1037
1037
|
const inboxSubcmd = sessionArgs[1];
|
|
@@ -1042,7 +1042,7 @@ async function handleSessionCommand() {
|
|
|
1042
1042
|
process.exit(1);
|
|
1043
1043
|
}
|
|
1044
1044
|
if (agentSessionId) {
|
|
1045
|
-
const { inboxSend } = await import('./agentCommands-
|
|
1045
|
+
const { inboxSend } = await import('./agentCommands-D68wBf-y.mjs');
|
|
1046
1046
|
await inboxSend(sessionArgs[2], {
|
|
1047
1047
|
body: sessionArgs[3],
|
|
1048
1048
|
subject: parseFlagStr("--subject"),
|
|
@@ -1059,7 +1059,7 @@ async function handleSessionCommand() {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
} else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
|
|
1061
1061
|
if (agentSessionId && !sessionArgs[2]) {
|
|
1062
|
-
const { inboxList } = await import('./agentCommands-
|
|
1062
|
+
const { inboxList } = await import('./agentCommands-D68wBf-y.mjs');
|
|
1063
1063
|
await inboxList({
|
|
1064
1064
|
unread: hasFlag("--unread"),
|
|
1065
1065
|
limit: parseFlagInt("--limit"),
|
|
@@ -1081,7 +1081,7 @@ async function handleSessionCommand() {
|
|
|
1081
1081
|
process.exit(1);
|
|
1082
1082
|
}
|
|
1083
1083
|
if (agentSessionId && !sessionArgs[3]) {
|
|
1084
|
-
const { inboxList } = await import('./agentCommands-
|
|
1084
|
+
const { inboxList } = await import('./agentCommands-D68wBf-y.mjs');
|
|
1085
1085
|
await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
|
|
1086
1086
|
} else if (sessionArgs[3]) {
|
|
1087
1087
|
await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
@@ -1091,7 +1091,7 @@ async function handleSessionCommand() {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
} else if (inboxSubcmd === "reply") {
|
|
1093
1093
|
if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
|
|
1094
|
-
const { inboxReply } = await import('./agentCommands-
|
|
1094
|
+
const { inboxReply } = await import('./agentCommands-D68wBf-y.mjs');
|
|
1095
1095
|
await inboxReply(sessionArgs[2], sessionArgs[3]);
|
|
1096
1096
|
} else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
|
|
1097
1097
|
await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
|
|
@@ -1129,7 +1129,7 @@ async function handleMachineCommand() {
|
|
|
1129
1129
|
return;
|
|
1130
1130
|
}
|
|
1131
1131
|
if (machineSubcommand === "share") {
|
|
1132
|
-
const { machineShare } = await import('./commands-
|
|
1132
|
+
const { machineShare } = await import('./commands-CJVqMnNf.mjs');
|
|
1133
1133
|
let machineId;
|
|
1134
1134
|
const shareArgs = [];
|
|
1135
1135
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
@@ -1180,14 +1180,14 @@ async function handleMachineCommand() {
|
|
|
1180
1180
|
process.exit(1);
|
|
1181
1181
|
}
|
|
1182
1182
|
if (all) {
|
|
1183
|
-
const { fleetExec } = await import('./fleet-
|
|
1183
|
+
const { fleetExec } = await import('./fleet-okzhGLEY.mjs');
|
|
1184
1184
|
await fleetExec(command, { cwd });
|
|
1185
1185
|
} else {
|
|
1186
|
-
const { machineExec } = await import('./commands-
|
|
1186
|
+
const { machineExec } = await import('./commands-CJVqMnNf.mjs');
|
|
1187
1187
|
await machineExec(machineId, command, cwd);
|
|
1188
1188
|
}
|
|
1189
1189
|
} else if (machineSubcommand === "info") {
|
|
1190
|
-
const { machineInfo } = await import('./commands-
|
|
1190
|
+
const { machineInfo } = await import('./commands-CJVqMnNf.mjs');
|
|
1191
1191
|
let machineId;
|
|
1192
1192
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
1193
1193
|
if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
|
|
@@ -1207,10 +1207,10 @@ async function handleMachineCommand() {
|
|
|
1207
1207
|
level = machineArgs[++i];
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
1210
|
-
const { machineNotify } = await import('./agentCommands-
|
|
1210
|
+
const { machineNotify } = await import('./agentCommands-D68wBf-y.mjs');
|
|
1211
1211
|
await machineNotify(message, level);
|
|
1212
1212
|
} else if (machineSubcommand === "ls") {
|
|
1213
|
-
const { machineLs } = await import('./commands-
|
|
1213
|
+
const { machineLs } = await import('./commands-CJVqMnNf.mjs');
|
|
1214
1214
|
let machineId;
|
|
1215
1215
|
let showHidden = false;
|
|
1216
1216
|
let path;
|
|
@@ -1269,20 +1269,20 @@ Examples:
|
|
|
1269
1269
|
};
|
|
1270
1270
|
const hasFlag = (name) => fleetArgs.includes(`--${name}`);
|
|
1271
1271
|
if (sub === "status") {
|
|
1272
|
-
const { fleetStatus } = await import('./fleet-
|
|
1272
|
+
const { fleetStatus } = await import('./fleet-okzhGLEY.mjs');
|
|
1273
1273
|
await fleetStatus();
|
|
1274
1274
|
} else if (sub === "upgrade-claude") {
|
|
1275
|
-
const { fleetUpgradeClaude } = await import('./fleet-
|
|
1275
|
+
const { fleetUpgradeClaude } = await import('./fleet-okzhGLEY.mjs');
|
|
1276
1276
|
await fleetUpgradeClaude({ version: flag("version", "-v") });
|
|
1277
1277
|
} else if (sub === "upgrade-svamp") {
|
|
1278
|
-
const { fleetUpgradeSvamp } = await import('./fleet-
|
|
1278
|
+
const { fleetUpgradeSvamp } = await import('./fleet-okzhGLEY.mjs');
|
|
1279
1279
|
await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self"), force: hasFlag("force") });
|
|
1280
1280
|
} else if (sub === "daemon-restart") {
|
|
1281
|
-
const { fleetDaemonRestart } = await import('./fleet-
|
|
1281
|
+
const { fleetDaemonRestart } = await import('./fleet-okzhGLEY.mjs');
|
|
1282
1282
|
await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
|
|
1283
1283
|
} else if (sub === "push-skill") {
|
|
1284
1284
|
const name = fleetArgs[1];
|
|
1285
|
-
const { fleetPushSkill } = await import('./fleet-
|
|
1285
|
+
const { fleetPushSkill } = await import('./fleet-okzhGLEY.mjs');
|
|
1286
1286
|
await fleetPushSkill(name);
|
|
1287
1287
|
} else {
|
|
1288
1288
|
console.error(`Unknown fleet subcommand: ${sub}`);
|
|
@@ -1298,7 +1298,7 @@ async function handleSkillsCommand() {
|
|
|
1298
1298
|
await printSkillsHelp();
|
|
1299
1299
|
return;
|
|
1300
1300
|
}
|
|
1301
|
-
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-
|
|
1301
|
+
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-DJwSJOPD.mjs');
|
|
1302
1302
|
if (skillsSubcommand === "find" || skillsSubcommand === "search") {
|
|
1303
1303
|
const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
1304
1304
|
if (!query) {
|
|
@@ -1345,7 +1345,7 @@ async function loginToHypha() {
|
|
|
1345
1345
|
process.exit(1);
|
|
1346
1346
|
}
|
|
1347
1347
|
const anchor = anchorArg.replace(/\/+$/, "");
|
|
1348
|
-
const { loadInstanceConfig } = await import('./run-
|
|
1348
|
+
const { loadInstanceConfig } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.an; });
|
|
1349
1349
|
let cfg = null;
|
|
1350
1350
|
try {
|
|
1351
1351
|
cfg = await loadInstanceConfig({ anchor, force: true });
|
|
@@ -1456,7 +1456,7 @@ async function logoutFromHypha() {
|
|
|
1456
1456
|
} catch {
|
|
1457
1457
|
}
|
|
1458
1458
|
try {
|
|
1459
|
-
const { clearInstanceConfigCache } = await import('./run-
|
|
1459
|
+
const { clearInstanceConfigCache } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.an; });
|
|
1460
1460
|
clearInstanceConfigCache();
|
|
1461
1461
|
} catch {
|
|
1462
1462
|
}
|
|
@@ -1802,7 +1802,7 @@ async function applyClaudeAuthFlags(argv) {
|
|
|
1802
1802
|
"--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
|
|
1803
1803
|
);
|
|
1804
1804
|
}
|
|
1805
|
-
const mod = await import('./run-
|
|
1805
|
+
const mod = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ao; });
|
|
1806
1806
|
if (hasHypha) {
|
|
1807
1807
|
let url;
|
|
1808
1808
|
const hyphaIdx = argv.indexOf("--use-hypha-proxy");
|
|
@@ -1856,7 +1856,7 @@ async function applyDaemonShareFlag(argv) {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
1858
|
if (collected.length === 0) return;
|
|
1859
|
-
const { updateEnvFile } = await import('./run-
|
|
1859
|
+
const { updateEnvFile } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ao; });
|
|
1860
1860
|
const seen = /* @__PURE__ */ new Set();
|
|
1861
1861
|
const deduped = collected.filter((e) => {
|
|
1862
1862
|
const k = e.toLowerCase();
|
|
@@ -1889,7 +1889,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
});
|
|
1891
1891
|
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(" ");
|
|
1892
|
-
const { wiseAskCli } = await import('./commands-
|
|
1892
|
+
const { wiseAskCli } = await import('./commands-CJVqMnNf.mjs');
|
|
1893
1893
|
await wiseAskCli(machineId, message, sessionId, { json });
|
|
1894
1894
|
return;
|
|
1895
1895
|
}
|
|
@@ -1901,7 +1901,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
return void 0;
|
|
1903
1903
|
};
|
|
1904
|
-
const { runWiseVoiceCli } = await import('./headlessCli-
|
|
1904
|
+
const { runWiseVoiceCli } = await import('./headlessCli-BkU5B5Jp.mjs');
|
|
1905
1905
|
await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
|
|
1906
1906
|
return;
|
|
1907
1907
|
}
|
|
@@ -1919,7 +1919,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1919
1919
|
const mode = valueOf(["--mode"]);
|
|
1920
1920
|
const mission = valueOf(["--mission"]);
|
|
1921
1921
|
const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
|
|
1922
|
-
const { wiseJoinMeetingCli } = await import('./commands-
|
|
1922
|
+
const { wiseJoinMeetingCli } = await import('./commands-CJVqMnNf.mjs');
|
|
1923
1923
|
await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
|
|
1924
1924
|
return;
|
|
1925
1925
|
}
|
|
@@ -1931,7 +1931,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
return void 0;
|
|
1933
1933
|
};
|
|
1934
|
-
const { wiseLeaveMeetingCli } = await import('./commands-
|
|
1934
|
+
const { wiseLeaveMeetingCli } = await import('./commands-CJVqMnNf.mjs');
|
|
1935
1935
|
await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
|
|
1936
1936
|
return;
|
|
1937
1937
|
}
|
|
@@ -1955,7 +1955,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1955
1955
|
}
|
|
1956
1956
|
});
|
|
1957
1957
|
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(" ");
|
|
1958
|
-
const { wiseAnnounceCli } = await import('./commands-
|
|
1958
|
+
const { wiseAnnounceCli } = await import('./commands-CJVqMnNf.mjs');
|
|
1959
1959
|
await wiseAnnounceCli(machineId, text, sessionId, { json });
|
|
1960
1960
|
return;
|
|
1961
1961
|
}
|
|
@@ -1967,7 +1967,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1967
1967
|
}
|
|
1968
1968
|
return void 0;
|
|
1969
1969
|
};
|
|
1970
|
-
const { wiseMeetingsCli } = await import('./commands-
|
|
1970
|
+
const { wiseMeetingsCli } = await import('./commands-CJVqMnNf.mjs');
|
|
1971
1971
|
await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
|
|
1972
1972
|
return;
|
|
1973
1973
|
}
|
|
@@ -2017,7 +2017,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2017
2017
|
return;
|
|
2018
2018
|
}
|
|
2019
2019
|
const authArgs = rest.slice(1);
|
|
2020
|
-
const mod = await import('./auth-
|
|
2020
|
+
const mod = await import('./auth-DDgr4YFE.mjs');
|
|
2021
2021
|
let action;
|
|
2022
2022
|
try {
|
|
2023
2023
|
action = mod.parseWiseAgentAuthArgs(authArgs);
|
|
@@ -2027,7 +2027,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2027
2027
|
return;
|
|
2028
2028
|
}
|
|
2029
2029
|
if (action) {
|
|
2030
|
-
const { updateEnvFile } = await import('./run-
|
|
2030
|
+
const { updateEnvFile } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ao; });
|
|
2031
2031
|
const updates = mod.buildWiseAgentEnvUpdates(action);
|
|
2032
2032
|
updateEnvFile(updates);
|
|
2033
2033
|
for (const [k, v] of Object.entries(updates)) {
|
|
@@ -2041,7 +2041,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2041
2041
|
}
|
|
2042
2042
|
async function handleDaemonAuthCommand(argv) {
|
|
2043
2043
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2044
|
-
const mod = await import('./run-
|
|
2044
|
+
const mod = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ao; });
|
|
2045
2045
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2046
2046
|
console.log(`
|
|
2047
2047
|
svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
|
|
@@ -2115,8 +2115,8 @@ one step: --use-hypha-proxy / --use-claude-login / --anthropic-base-url URL --an
|
|
|
2115
2115
|
}
|
|
2116
2116
|
async function handleDaemonCodexAuthCommand(argv) {
|
|
2117
2117
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2118
|
-
const { updateEnvFile } = await import('./run-
|
|
2119
|
-
const { resolveCodexProvider } = await import('./run-
|
|
2118
|
+
const { updateEnvFile } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ao; });
|
|
2119
|
+
const { resolveCodexProvider } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.ap; });
|
|
2120
2120
|
const redact = (k) => k && k.length > 10 ? `${k.slice(0, 6)}\u2026${k.slice(-4)}` : k ? "***" : "(unset)";
|
|
2121
2121
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2122
2122
|
console.log(`
|
|
@@ -2449,7 +2449,7 @@ Examples:
|
|
|
2449
2449
|
async function printSkillsHelp() {
|
|
2450
2450
|
let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
|
|
2451
2451
|
try {
|
|
2452
|
-
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-
|
|
2452
|
+
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-DYVmYsvg.mjs').then(function (n) { return n.aw; });
|
|
2453
2453
|
browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
|
|
2454
2454
|
} catch {
|
|
2455
2455
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { writeFileSync, readFileSync } from 'fs';
|
|
2
2
|
import { resolve } from 'path';
|
|
3
|
-
import { connectAndGetMachine } from './commands-
|
|
3
|
+
import { connectAndGetMachine } from './commands-CJVqMnNf.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-
|
|
8
|
+
import './run-DYVmYsvg.mjs';
|
|
9
9
|
import 'os';
|
|
10
10
|
import 'fs/promises';
|
|
11
11
|
import 'url';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { connectAndResolveSession } from './commands-
|
|
1
|
+
import { connectAndResolveSession } from './commands-CJVqMnNf.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-
|
|
6
|
+
import './run-DYVmYsvg.mjs';
|
|
7
7
|
import 'os';
|
|
8
8
|
import 'fs/promises';
|
|
9
9
|
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-
|
|
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, I as summarize, n as addIssue } from './run-
|
|
4
|
+
import { f as flushAndExit } from './cli-Bk6IPB9M.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, I as summarize, n as addIssue } from './run-DYVmYsvg.mjs';
|
|
6
6
|
import './serviceManager-hlOVxkhW.mjs';
|
|
7
7
|
import 'os';
|
|
8
8
|
import 'fs/promises';
|
|
@@ -2,7 +2,7 @@ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
|
2
2
|
import { execSync, execFileSync } from 'node:child_process';
|
|
3
3
|
import { basename, resolve, join, isAbsolute } from 'node:path';
|
|
4
4
|
import os from 'node:os';
|
|
5
|
-
import { a4 as formatHandle, a5 as normalizeAllowedUser, a6 as loadSecurityContextConfig, a7 as resolveSecurityContext, a8 as buildSecurityContextFromFlags, a9 as mergeSecurityContexts, c as connectToHypha, aa as buildSessionShareUrl, ab as computeOutboundHop, i as shortId, ac as registerAwaitingReply, ad as buildMachineShareUrl, ae as parseHandle, af as handleMatchesMetadata } from './run-
|
|
5
|
+
import { a4 as formatHandle, a5 as normalizeAllowedUser, a6 as loadSecurityContextConfig, a7 as resolveSecurityContext, a8 as buildSecurityContextFromFlags, a9 as mergeSecurityContexts, c as connectToHypha, aa as buildSessionShareUrl, ab as computeOutboundHop, i as shortId, ac as registerAwaitingReply, ad as buildMachineShareUrl, ae as parseHandle, af as handleMatchesMetadata } from './run-DYVmYsvg.mjs';
|
|
6
6
|
import 'os';
|
|
7
7
|
import 'fs/promises';
|
|
8
8
|
import 'fs';
|