svamp-cli 0.2.268 → 0.2.270
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/{agentCommands-Co_QEKON.mjs → agentCommands-BSP2vqWL.mjs} +7 -5
- package/dist/{auth-DMu2Vwk5.mjs → auth-DUG33LUp.mjs} +3 -1
- package/dist/{cli-DRF6a6Xn.mjs → cli-BjUM-IdU.mjs} +63 -63
- package/dist/cli.mjs +4 -2
- package/dist/{commands-Bw7MWVF5.mjs → commands-6Q3v_jLq.mjs} +4 -2
- package/dist/{commands-Dbib43Yt.mjs → commands-BFJ46TUr.mjs} +3 -1
- package/dist/{commands-Bs4SXRAz.mjs → commands-BnwvNN4r.mjs} +3 -1
- package/dist/{commands-CBJSJyBO.mjs → commands-C4Yx1of4.mjs} +3 -1
- package/dist/{commands-D8Emv7hS.mjs → commands-CABnd-gY.mjs} +4 -2
- package/dist/{commands-Dlfz0uVQ.mjs → commands-Cg_w745d.mjs} +4 -2
- package/dist/{commands-Dl1jJEj_.mjs → commands-tJg8CjlR.mjs} +7 -7
- package/dist/{fleet-oqb0y16y.mjs → fleet-BAMsnsrj.mjs} +3 -1
- package/dist/{frpc-DR9BQXat.mjs → frpc-ClYIkmsi.mjs} +2 -1
- package/dist/{headlessCli-Dz68y7ce.mjs → headlessCli-CjfRJvS_.mjs} +4 -2
- package/dist/index.mjs +3 -1
- package/dist/{package-VG-zoCbE.mjs → package-Co2Q0-8j.mjs} +1 -1
- package/dist/{rpc-UN-3Vc6p.mjs → rpc-BSWQtBJz.mjs} +3 -1
- package/dist/{rpc-C_6FAG5Q.mjs → rpc-DAXMVxpY.mjs} +3 -1
- package/dist/{run-B1EaF6gi.mjs → run-DYFW0mCK.mjs} +3 -1
- package/dist/{run-BtoxvDlh.mjs → run-Dvn8WcUN.mjs} +10685 -9430
- package/dist/{scheduler-D4OY3XDH.mjs → scheduler-O3BkTJ-L.mjs} +3 -1
- package/dist/{serveCommands-CG9re27C.mjs → serveCommands-DAjKe7BN.mjs} +5 -5
- package/dist/{sideband-C7h5QrRN.mjs → sideband-C9m_JFAG.mjs} +3 -1
- package/package.json +1 -1
- package/dist/serveManager-CswGKYKJ.mjs +0 -902
- package/dist/staticFileServer-CbYnj2bH.mjs +0 -255
|
@@ -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-Dvn8WcUN.mjs';
|
|
6
6
|
import 'os';
|
|
7
7
|
import 'fs/promises';
|
|
8
8
|
import 'fs';
|
|
@@ -13,6 +13,8 @@ import 'crypto';
|
|
|
13
13
|
import 'node:crypto';
|
|
14
14
|
import 'node:child_process';
|
|
15
15
|
import 'util';
|
|
16
|
+
import 'http';
|
|
17
|
+
import 'net';
|
|
16
18
|
import 'node:events';
|
|
17
19
|
import '@agentclientprotocol/sdk';
|
|
18
20
|
import 'node:readline';
|
|
@@ -94,7 +96,7 @@ async function sessionSetTitle(title) {
|
|
|
94
96
|
}
|
|
95
97
|
async function sessionSetProjectDescription(description) {
|
|
96
98
|
const dir = process.cwd();
|
|
97
|
-
const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-
|
|
99
|
+
const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-Dvn8WcUN.mjs').then(function (n) { return n.al; });
|
|
98
100
|
const desc = sanitizeDescription(description, 240);
|
|
99
101
|
if (!desc) {
|
|
100
102
|
console.error("Project description is empty.");
|
|
@@ -341,7 +343,7 @@ async function sessionBroadcast(action, args) {
|
|
|
341
343
|
console.log(`Broadcast sent: ${action}`);
|
|
342
344
|
}
|
|
343
345
|
async function connectToMachineService() {
|
|
344
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
346
|
+
const { connectAndGetMachine } = await import('./commands-C4Yx1of4.mjs');
|
|
345
347
|
return connectAndGetMachine();
|
|
346
348
|
}
|
|
347
349
|
function buildInboxMessage(args) {
|
|
@@ -419,7 +421,7 @@ async function inboxSend(targetSessionId, opts) {
|
|
|
419
421
|
console.error("Message body is required.");
|
|
420
422
|
process.exit(1);
|
|
421
423
|
}
|
|
422
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
424
|
+
const { connectAndResolveSession } = await import('./commands-C4Yx1of4.mjs');
|
|
423
425
|
let server;
|
|
424
426
|
try {
|
|
425
427
|
const { targetId, messageId } = await inboxSendCore(
|
|
@@ -473,7 +475,7 @@ async function inboxReply(messageId, body) {
|
|
|
473
475
|
console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
|
|
474
476
|
process.exit(1);
|
|
475
477
|
}
|
|
476
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
478
|
+
const { connectAndResolveSession } = await import('./commands-C4Yx1of4.mjs');
|
|
477
479
|
const { server: localServer, machine: localMachine } = await connectToMachineService();
|
|
478
480
|
let localDisconnected = false;
|
|
479
481
|
const disconnectLocal = async () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as resolveModel } from './run-Dvn8WcUN.mjs';
|
|
2
2
|
import 'os';
|
|
3
3
|
import 'fs/promises';
|
|
4
4
|
import 'fs';
|
|
@@ -10,6 +10,8 @@ import 'node:crypto';
|
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:child_process';
|
|
12
12
|
import 'util';
|
|
13
|
+
import 'http';
|
|
14
|
+
import 'net';
|
|
13
15
|
import 'node:os';
|
|
14
16
|
import 'node:path';
|
|
15
17
|
import 'node:events';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Z as clearStopMarker, _ as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-Dvn8WcUN.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-Dvn8WcUN.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-
|
|
55
|
+
const mod = await import('./run-Dvn8WcUN.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-
|
|
359
|
+
const { handleServiceCommand } = await import('./commands-tJg8CjlR.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-DAjKe7BN.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-6Q3v_jLq.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-
|
|
390
|
+
const { issueCommand } = await import('./commands-Cg_w745d.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-
|
|
394
|
+
const { workflowCommand } = await import('./commands-BFJ46TUr.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-
|
|
401
|
+
const { crewCommand } = await import('./commands-CABnd-gY.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-
|
|
409
|
+
const pkg = await import('./package-Co2Q0-8j.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-
|
|
418
|
+
const { runInteractive } = await import('./run-DYFW0mCK.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-
|
|
463
|
+
const { KNOWN_ACP_AGENTS, KNOWN_CODEX_AGENTS: KNOWN_CODEX_AGENTS2 } = await import('./run-Dvn8WcUN.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-
|
|
475
|
+
const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-Dvn8WcUN.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-
|
|
499
|
+
const { CodexAppServerBackend } = await import('./run-Dvn8WcUN.mjs').then(function (n) { return n.ap; });
|
|
500
500
|
backend = new CodexAppServerBackend({ cwd, log: logFn });
|
|
501
501
|
} else {
|
|
502
|
-
const { AcpBackend } = await import('./run-
|
|
503
|
-
const { GeminiTransport } = await import('./run-
|
|
504
|
-
const { DefaultTransport } = await import('./run-
|
|
502
|
+
const { AcpBackend } = await import('./run-Dvn8WcUN.mjs').then(function (n) { return n.an; });
|
|
503
|
+
const { GeminiTransport } = await import('./run-Dvn8WcUN.mjs').then(function (n) { return n.aq; });
|
|
504
|
+
const { DefaultTransport } = await import('./run-Dvn8WcUN.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-
|
|
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-C4Yx1of4.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-
|
|
699
|
+
const { parseShareArg } = await import('./commands-C4Yx1of4.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-
|
|
789
|
+
const { sessionEditMessage } = await import('./commands-C4Yx1of4.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-
|
|
797
|
+
const { sessionRefineLastReply } = await import('./commands-C4Yx1of4.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-
|
|
805
|
+
const { sessionUndoEdit } = await import('./commands-C4Yx1of4.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-
|
|
815
|
+
const { sessionQuery } = await import('./commands-C4Yx1of4.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-
|
|
848
|
+
const { sessionApprove } = await import('./commands-C4Yx1of4.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-
|
|
858
|
+
const { sessionDeny } = await import('./commands-C4Yx1of4.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-
|
|
910
|
+
const { sessionSetTitle } = await import('./agentCommands-BSP2vqWL.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-
|
|
918
|
+
const { sessionSetProjectDescription } = await import('./agentCommands-BSP2vqWL.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-
|
|
927
|
+
const { sessionSetLink } = await import('./agentCommands-BSP2vqWL.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-
|
|
931
|
+
const lm = await import('./agentCommands-BSP2vqWL.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-
|
|
966
|
+
const { sessionNotify } = await import('./agentCommands-BSP2vqWL.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-
|
|
974
|
+
const { sessionBroadcast } = await import('./agentCommands-BSP2vqWL.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-
|
|
985
|
+
const { inboxSend } = await import('./agentCommands-BSP2vqWL.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-
|
|
1000
|
+
const { inboxList } = await import('./agentCommands-BSP2vqWL.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-
|
|
1022
|
+
const { inboxList } = await import('./agentCommands-BSP2vqWL.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-
|
|
1032
|
+
const { inboxReply } = await import('./agentCommands-BSP2vqWL.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-
|
|
1070
|
+
const { machineShare } = await import('./commands-C4Yx1of4.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-
|
|
1121
|
+
const { fleetExec } = await import('./fleet-BAMsnsrj.mjs');
|
|
1122
1122
|
await fleetExec(command, { cwd });
|
|
1123
1123
|
} else {
|
|
1124
|
-
const { machineExec } = await import('./commands-
|
|
1124
|
+
const { machineExec } = await import('./commands-C4Yx1of4.mjs');
|
|
1125
1125
|
await machineExec(machineId, command, cwd);
|
|
1126
1126
|
}
|
|
1127
1127
|
} else if (machineSubcommand === "info") {
|
|
1128
|
-
const { machineInfo } = await import('./commands-
|
|
1128
|
+
const { machineInfo } = await import('./commands-C4Yx1of4.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-
|
|
1148
|
+
const { machineNotify } = await import('./agentCommands-BSP2vqWL.mjs');
|
|
1149
1149
|
await machineNotify(message, level);
|
|
1150
1150
|
} else if (machineSubcommand === "ls") {
|
|
1151
|
-
const { machineLs } = await import('./commands-
|
|
1151
|
+
const { machineLs } = await import('./commands-C4Yx1of4.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-
|
|
1210
|
+
const { fleetStatus } = await import('./fleet-BAMsnsrj.mjs');
|
|
1211
1211
|
await fleetStatus();
|
|
1212
1212
|
} else if (sub === "upgrade-claude") {
|
|
1213
|
-
const { fleetUpgradeClaude } = await import('./fleet-
|
|
1213
|
+
const { fleetUpgradeClaude } = await import('./fleet-BAMsnsrj.mjs');
|
|
1214
1214
|
await fleetUpgradeClaude({ version: flag("version", "-v") });
|
|
1215
1215
|
} else if (sub === "upgrade-svamp") {
|
|
1216
|
-
const { fleetUpgradeSvamp } = await import('./fleet-
|
|
1216
|
+
const { fleetUpgradeSvamp } = await import('./fleet-BAMsnsrj.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-
|
|
1219
|
+
const { fleetDaemonRestart } = await import('./fleet-BAMsnsrj.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-
|
|
1223
|
+
const { fleetPushSkill } = await import('./fleet-BAMsnsrj.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-
|
|
1239
|
+
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-BnwvNN4r.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-
|
|
1286
|
+
const { loadInstanceConfig } = await import('./run-Dvn8WcUN.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-
|
|
1397
|
+
const { clearInstanceConfigCache } = await import('./run-Dvn8WcUN.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-
|
|
1736
|
+
const mod = await import('./run-Dvn8WcUN.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-
|
|
1790
|
+
const { updateEnvFile } = await import('./run-Dvn8WcUN.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-
|
|
1823
|
+
const { wiseAskCli } = await import('./commands-C4Yx1of4.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-
|
|
1835
|
+
const { runWiseVoiceCli } = await import('./headlessCli-CjfRJvS_.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-
|
|
1853
|
+
const { wiseJoinMeetingCli } = await import('./commands-C4Yx1of4.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-
|
|
1865
|
+
const { wiseLeaveMeetingCli } = await import('./commands-C4Yx1of4.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-
|
|
1889
|
+
const { wiseAnnounceCli } = await import('./commands-C4Yx1of4.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-
|
|
1901
|
+
const { wiseMeetingsCli } = await import('./commands-C4Yx1of4.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-
|
|
1951
|
+
const mod = await import('./auth-DUG33LUp.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-
|
|
1961
|
+
const { updateEnvFile } = await import('./run-Dvn8WcUN.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-
|
|
1975
|
+
const mod = await import('./run-Dvn8WcUN.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-
|
|
2050
|
-
const { resolveCodexProvider } = await import('./run-
|
|
2049
|
+
const { updateEnvFile } = await import('./run-Dvn8WcUN.mjs').then(function (n) { return n.aj; });
|
|
2050
|
+
const { resolveCodexProvider } = await import('./run-Dvn8WcUN.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-
|
|
2382
|
+
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-Dvn8WcUN.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-
|
|
1
|
+
import './run-Dvn8WcUN.mjs';
|
|
2
2
|
import './serviceManager-hlOVxkhW.mjs';
|
|
3
|
-
import './cli-
|
|
3
|
+
import './cli-BjUM-IdU.mjs';
|
|
4
4
|
import 'os';
|
|
5
5
|
import 'fs/promises';
|
|
6
6
|
import 'fs';
|
|
@@ -12,6 +12,8 @@ import 'node:crypto';
|
|
|
12
12
|
import 'node:fs';
|
|
13
13
|
import 'node:child_process';
|
|
14
14
|
import 'util';
|
|
15
|
+
import 'http';
|
|
16
|
+
import 'net';
|
|
15
17
|
import 'node:os';
|
|
16
18
|
import 'node:path';
|
|
17
19
|
import 'node:events';
|
|
@@ -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-C4Yx1of4.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-Dvn8WcUN.mjs';
|
|
9
9
|
import 'os';
|
|
10
10
|
import 'fs/promises';
|
|
11
11
|
import 'url';
|
|
@@ -13,6 +13,8 @@ import 'child_process';
|
|
|
13
13
|
import 'crypto';
|
|
14
14
|
import 'node:crypto';
|
|
15
15
|
import 'util';
|
|
16
|
+
import 'http';
|
|
17
|
+
import 'net';
|
|
16
18
|
import 'node:events';
|
|
17
19
|
import '@agentclientprotocol/sdk';
|
|
18
20
|
import 'node:readline';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { spawnSync } from 'node:child_process';
|
|
2
|
-
import {
|
|
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-Dvn8WcUN.mjs';
|
|
3
3
|
import 'os';
|
|
4
4
|
import 'fs/promises';
|
|
5
5
|
import 'fs';
|
|
@@ -10,6 +10,8 @@ import 'crypto';
|
|
|
10
10
|
import 'node:crypto';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
import 'util';
|
|
13
|
+
import 'http';
|
|
14
|
+
import 'net';
|
|
13
15
|
import 'node:os';
|
|
14
16
|
import 'node:path';
|
|
15
17
|
import 'node:events';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os from 'os';
|
|
2
2
|
import fs__default from 'fs';
|
|
3
3
|
import { resolve, join, relative } from 'path';
|
|
4
|
-
import {
|
|
4
|
+
import { N as parseFrontmatter, O as getSkillsServer, P as getSkillsWorkspaceName, Q as getSkillsCollectionName, S as fetchWithTimeout, T as searchSkills, U as SKILLS_DIR, V as getSkillInfo, W as downloadSkillFile, X as listSkillFiles } from './run-Dvn8WcUN.mjs';
|
|
5
5
|
import 'fs/promises';
|
|
6
6
|
import 'url';
|
|
7
7
|
import 'child_process';
|
|
@@ -10,6 +10,8 @@ import 'node:crypto';
|
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:child_process';
|
|
12
12
|
import 'util';
|
|
13
|
+
import 'http';
|
|
14
|
+
import 'net';
|
|
13
15
|
import 'node:os';
|
|
14
16
|
import 'node:path';
|
|
15
17
|
import 'node:events';
|
|
@@ -2,7 +2,7 @@ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
|
2
2
|
import { execSync } from 'node:child_process';
|
|
3
3
|
import { basename, resolve, join, isAbsolute } from 'node:path';
|
|
4
4
|
import os from 'node:os';
|
|
5
|
-
import {
|
|
5
|
+
import { $ as formatHandle, a0 as normalizeAllowedUser, a1 as loadSecurityContextConfig, a2 as resolveSecurityContext, a3 as buildSecurityContextFromFlags, a4 as mergeSecurityContexts, c as connectToHypha, a5 as buildSessionShareUrl, a6 as computeOutboundHop, i as shortId, a7 as registerAwaitingReply, a8 as buildMachineShareUrl, a9 as parseHandle, aa as handleMatchesMetadata } from './run-Dvn8WcUN.mjs';
|
|
6
6
|
import 'os';
|
|
7
7
|
import 'fs/promises';
|
|
8
8
|
import 'fs';
|
|
@@ -12,6 +12,8 @@ import 'child_process';
|
|
|
12
12
|
import 'crypto';
|
|
13
13
|
import 'node:crypto';
|
|
14
14
|
import 'util';
|
|
15
|
+
import 'http';
|
|
16
|
+
import 'net';
|
|
15
17
|
import 'node:events';
|
|
16
18
|
import '@agentclientprotocol/sdk';
|
|
17
19
|
import 'node:readline';
|