svamp-cli 0.2.311 → 0.2.312
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-U5D7i8tD.mjs → adminCommands-CRQQhXsw.mjs} +1 -1
- package/dist/{agentCommands-BefFTl6g.mjs → agentCommands-hLTce38n.mjs} +5 -5
- package/dist/{auth-DgGAjihq.mjs → auth-B2ZuhK_S.mjs} +1 -1
- package/dist/{cli-B0TyKXyU.mjs → cli-HI-J8Y7U.mjs} +70 -70
- package/dist/cli.mjs +2 -2
- package/dist/{commands-CnqL60f7.mjs → commands-12pIcOWK.mjs} +1 -1
- package/dist/{commands-BoGUxb2o.mjs → commands-C2zQmf3Y.mjs} +1 -1
- package/dist/{commands-XQ8-fOSu.mjs → commands-CmMh6R6S.mjs} +1 -1
- package/dist/{commands-xoalqGUY.mjs → commands-D6BqvSLe.mjs} +10 -5
- package/dist/{commands-imLC7CK2.mjs → commands-DGUgZoou.mjs} +2 -2
- package/dist/{commands-BCQbBzYU.mjs → commands-DpfYt_SX.mjs} +2 -2
- package/dist/{commands-CEOhve0Y.mjs → commands-IPkpFWbi.mjs} +2 -2
- package/dist/{commands-CjVl4amM.mjs → commands-ND3vwGkQ.mjs} +8 -8
- package/dist/{fleet-BS5eS0Wz.mjs → fleet-Cuv2uu1t.mjs} +2 -2
- package/dist/{frpc-DvBVvsZC.mjs → frpc-DbZDLphz.mjs} +1 -1
- package/dist/{headlessCli-C9wTLm1x.mjs → headlessCli-DakQSPzS.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{notifyCommands-0IltLO-S.mjs → notifyCommands-DhRbelQA.mjs} +1 -1
- package/dist/{package-CFhmZcVJ.mjs → package-BKX7lisO.mjs} +1 -1
- package/dist/{pinnedClaudeCode-zDzkOTi2.mjs → pinnedClaudeCode-mM9Q6Q2G.mjs} +1 -1
- package/dist/{rpc-BXpuORiQ.mjs → rpc-C7uDtxFw.mjs} +1 -1
- package/dist/{rpc-BLWr4p8g.mjs → rpc-Q4PWHeNn.mjs} +1 -1
- package/dist/{run-DtVX2pQN.mjs → run-Ccf8_4AF.mjs} +330 -75
- package/dist/{run-CMoQtnIj.mjs → run-DG0yDh6U.mjs} +1 -1
- package/dist/{scheduler-7aLvf5mn.mjs → scheduler-B1xThM3A.mjs} +1 -1
- package/dist/{serveCommands-D7BieIJ5.mjs → serveCommands-DDq9qzoN.mjs} +5 -5
- package/dist/{sideband-DjjXlVhw.mjs → sideband-CDdpZAXO.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as connectToHypha, M as computeCollectionConfigUpdate, N as SYSTEM_COLLECTION_CONFIG } from './run-
|
|
1
|
+
import { c as connectToHypha, M as computeCollectionConfigUpdate, N as SYSTEM_COLLECTION_CONFIG } from './run-Ccf8_4AF.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-Ccf8_4AF.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-Ccf8_4AF.mjs').then(function (n) { return n.at; });
|
|
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-C2zQmf3Y.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-C2zQmf3Y.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-C2zQmf3Y.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 { a4 as clearStopMarker, a5 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-
|
|
1
|
+
import { a4 as clearStopMarker, a5 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-Ccf8_4AF.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-Ccf8_4AF.mjs').then(function (n) { return n.aq; });
|
|
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-Ccf8_4AF.mjs').then(function (n) { return n.aA; });
|
|
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-ND3vwGkQ.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-DDq9qzoN.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-IPkpFWbi.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-DGUgZoou.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-D6BqvSLe.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-12pIcOWK.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-DpfYt_SX.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-DhRbelQA.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-CRQQhXsw.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-CRQQhXsw.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-CRQQhXsw.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-DhRbelQA.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-BKX7lisO.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-DG0yDh6U.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-Ccf8_4AF.mjs').then(function (n) { return n.aw; });
|
|
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-Ccf8_4AF.mjs').then(function (n) { return n.aw; });
|
|
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-Ccf8_4AF.mjs').then(function (n) { return n.ax; });
|
|
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-Ccf8_4AF.mjs').then(function (n) { return n.av; });
|
|
562
|
+
const { GeminiTransport } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.ay; });
|
|
563
|
+
const { DefaultTransport } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.au; });
|
|
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-C2zQmf3Y.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-C2zQmf3Y.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-C2zQmf3Y.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-C2zQmf3Y.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-C2zQmf3Y.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-C2zQmf3Y.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-C2zQmf3Y.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-C2zQmf3Y.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-hLTce38n.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-C2zQmf3Y.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-Cuv2uu1t.mjs');
|
|
1184
1184
|
await fleetExec(command, { cwd });
|
|
1185
1185
|
} else {
|
|
1186
|
-
const { machineExec } = await import('./commands-
|
|
1186
|
+
const { machineExec } = await import('./commands-C2zQmf3Y.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-C2zQmf3Y.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-hLTce38n.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-C2zQmf3Y.mjs');
|
|
1214
1214
|
let machineId;
|
|
1215
1215
|
let showHidden = false;
|
|
1216
1216
|
let path;
|
|
@@ -1272,23 +1272,23 @@ Examples:
|
|
|
1272
1272
|
};
|
|
1273
1273
|
const hasFlag = (name) => fleetArgs.includes(`--${name}`);
|
|
1274
1274
|
if (sub === "status") {
|
|
1275
|
-
const { fleetStatus } = await import('./fleet-
|
|
1275
|
+
const { fleetStatus } = await import('./fleet-Cuv2uu1t.mjs');
|
|
1276
1276
|
await fleetStatus();
|
|
1277
1277
|
} else if (sub === "upgrade-claude") {
|
|
1278
|
-
const { fleetUpgradeClaude } = await import('./fleet-
|
|
1278
|
+
const { fleetUpgradeClaude } = await import('./fleet-Cuv2uu1t.mjs');
|
|
1279
1279
|
await fleetUpgradeClaude({ version: flag("version", "-v") });
|
|
1280
1280
|
} else if (sub === "upgrade-codex") {
|
|
1281
|
-
const { fleetUpgradeCodex } = await import('./fleet-
|
|
1281
|
+
const { fleetUpgradeCodex } = await import('./fleet-Cuv2uu1t.mjs');
|
|
1282
1282
|
await fleetUpgradeCodex({ version: flag("version", "-v") });
|
|
1283
1283
|
} else if (sub === "upgrade-svamp") {
|
|
1284
|
-
const { fleetUpgradeSvamp } = await import('./fleet-
|
|
1284
|
+
const { fleetUpgradeSvamp } = await import('./fleet-Cuv2uu1t.mjs');
|
|
1285
1285
|
await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self"), force: hasFlag("force") });
|
|
1286
1286
|
} else if (sub === "daemon-restart") {
|
|
1287
|
-
const { fleetDaemonRestart } = await import('./fleet-
|
|
1287
|
+
const { fleetDaemonRestart } = await import('./fleet-Cuv2uu1t.mjs');
|
|
1288
1288
|
await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
|
|
1289
1289
|
} else if (sub === "push-skill") {
|
|
1290
1290
|
const name = fleetArgs[1];
|
|
1291
|
-
const { fleetPushSkill } = await import('./fleet-
|
|
1291
|
+
const { fleetPushSkill } = await import('./fleet-Cuv2uu1t.mjs');
|
|
1292
1292
|
await fleetPushSkill(name);
|
|
1293
1293
|
} else {
|
|
1294
1294
|
console.error(`Unknown fleet subcommand: ${sub}`);
|
|
@@ -1304,7 +1304,7 @@ async function handleSkillsCommand() {
|
|
|
1304
1304
|
await printSkillsHelp();
|
|
1305
1305
|
return;
|
|
1306
1306
|
}
|
|
1307
|
-
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-
|
|
1307
|
+
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-CmMh6R6S.mjs');
|
|
1308
1308
|
if (skillsSubcommand === "find" || skillsSubcommand === "search") {
|
|
1309
1309
|
const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
1310
1310
|
if (!query) {
|
|
@@ -1351,7 +1351,7 @@ async function loginToHypha() {
|
|
|
1351
1351
|
process.exit(1);
|
|
1352
1352
|
}
|
|
1353
1353
|
const anchor = anchorArg.replace(/\/+$/, "");
|
|
1354
|
-
const { loadInstanceConfig } = await import('./run-
|
|
1354
|
+
const { loadInstanceConfig } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.aq; });
|
|
1355
1355
|
let cfg = null;
|
|
1356
1356
|
try {
|
|
1357
1357
|
cfg = await loadInstanceConfig({ anchor, force: true });
|
|
@@ -1462,7 +1462,7 @@ async function logoutFromHypha() {
|
|
|
1462
1462
|
} catch {
|
|
1463
1463
|
}
|
|
1464
1464
|
try {
|
|
1465
|
-
const { clearInstanceConfigCache } = await import('./run-
|
|
1465
|
+
const { clearInstanceConfigCache } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.aq; });
|
|
1466
1466
|
clearInstanceConfigCache();
|
|
1467
1467
|
} catch {
|
|
1468
1468
|
}
|
|
@@ -1808,7 +1808,7 @@ async function applyClaudeAuthFlags(argv) {
|
|
|
1808
1808
|
"--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
|
|
1809
1809
|
);
|
|
1810
1810
|
}
|
|
1811
|
-
const mod = await import('./run-
|
|
1811
|
+
const mod = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.ar; });
|
|
1812
1812
|
if (hasHypha) {
|
|
1813
1813
|
let url;
|
|
1814
1814
|
const hyphaIdx = argv.indexOf("--use-hypha-proxy");
|
|
@@ -1862,7 +1862,7 @@ async function applyDaemonShareFlag(argv) {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
1864
|
if (collected.length === 0) return;
|
|
1865
|
-
const { updateEnvFile } = await import('./run-
|
|
1865
|
+
const { updateEnvFile } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.ar; });
|
|
1866
1866
|
const seen = /* @__PURE__ */ new Set();
|
|
1867
1867
|
const deduped = collected.filter((e) => {
|
|
1868
1868
|
const k = e.toLowerCase();
|
|
@@ -1895,7 +1895,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
});
|
|
1897
1897
|
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(" ");
|
|
1898
|
-
const { wiseAskCli } = await import('./commands-
|
|
1898
|
+
const { wiseAskCli } = await import('./commands-C2zQmf3Y.mjs');
|
|
1899
1899
|
await wiseAskCli(machineId, message, sessionId, { json });
|
|
1900
1900
|
return;
|
|
1901
1901
|
}
|
|
@@ -1907,7 +1907,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1907
1907
|
}
|
|
1908
1908
|
return void 0;
|
|
1909
1909
|
};
|
|
1910
|
-
const { runWiseVoiceCli } = await import('./headlessCli-
|
|
1910
|
+
const { runWiseVoiceCli } = await import('./headlessCli-DakQSPzS.mjs');
|
|
1911
1911
|
await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
|
|
1912
1912
|
return;
|
|
1913
1913
|
}
|
|
@@ -1925,7 +1925,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1925
1925
|
const mode = valueOf(["--mode"]);
|
|
1926
1926
|
const mission = valueOf(["--mission"]);
|
|
1927
1927
|
const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
|
|
1928
|
-
const { wiseJoinMeetingCli } = await import('./commands-
|
|
1928
|
+
const { wiseJoinMeetingCli } = await import('./commands-C2zQmf3Y.mjs');
|
|
1929
1929
|
await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
|
|
1930
1930
|
return;
|
|
1931
1931
|
}
|
|
@@ -1937,7 +1937,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
return void 0;
|
|
1939
1939
|
};
|
|
1940
|
-
const { wiseLeaveMeetingCli } = await import('./commands-
|
|
1940
|
+
const { wiseLeaveMeetingCli } = await import('./commands-C2zQmf3Y.mjs');
|
|
1941
1941
|
await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
|
|
1942
1942
|
return;
|
|
1943
1943
|
}
|
|
@@ -1961,7 +1961,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
});
|
|
1963
1963
|
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(" ");
|
|
1964
|
-
const { wiseAnnounceCli } = await import('./commands-
|
|
1964
|
+
const { wiseAnnounceCli } = await import('./commands-C2zQmf3Y.mjs');
|
|
1965
1965
|
await wiseAnnounceCli(machineId, text, sessionId, { json });
|
|
1966
1966
|
return;
|
|
1967
1967
|
}
|
|
@@ -1973,7 +1973,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
return void 0;
|
|
1975
1975
|
};
|
|
1976
|
-
const { wiseMeetingsCli } = await import('./commands-
|
|
1976
|
+
const { wiseMeetingsCli } = await import('./commands-C2zQmf3Y.mjs');
|
|
1977
1977
|
await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
|
|
1978
1978
|
return;
|
|
1979
1979
|
}
|
|
@@ -2023,7 +2023,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2023
2023
|
return;
|
|
2024
2024
|
}
|
|
2025
2025
|
const authArgs = rest.slice(1);
|
|
2026
|
-
const mod = await import('./auth-
|
|
2026
|
+
const mod = await import('./auth-B2ZuhK_S.mjs');
|
|
2027
2027
|
let action;
|
|
2028
2028
|
try {
|
|
2029
2029
|
action = mod.parseWiseAgentAuthArgs(authArgs);
|
|
@@ -2033,7 +2033,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2033
2033
|
return;
|
|
2034
2034
|
}
|
|
2035
2035
|
if (action) {
|
|
2036
|
-
const { updateEnvFile } = await import('./run-
|
|
2036
|
+
const { updateEnvFile } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.ar; });
|
|
2037
2037
|
const updates = mod.buildWiseAgentEnvUpdates(action);
|
|
2038
2038
|
updateEnvFile(updates);
|
|
2039
2039
|
for (const [k, v] of Object.entries(updates)) {
|
|
@@ -2047,7 +2047,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2047
2047
|
}
|
|
2048
2048
|
async function handleDaemonAuthCommand(argv) {
|
|
2049
2049
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2050
|
-
const mod = await import('./run-
|
|
2050
|
+
const mod = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.ar; });
|
|
2051
2051
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2052
2052
|
console.log(`
|
|
2053
2053
|
svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
|
|
@@ -2121,8 +2121,8 @@ one step: --use-hypha-proxy / --use-claude-login / --anthropic-base-url URL --an
|
|
|
2121
2121
|
}
|
|
2122
2122
|
async function handleDaemonCodexAuthCommand(argv) {
|
|
2123
2123
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2124
|
-
const { updateEnvFile } = await import('./run-
|
|
2125
|
-
const { resolveCodexProvider } = await import('./run-
|
|
2124
|
+
const { updateEnvFile } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.ar; });
|
|
2125
|
+
const { resolveCodexProvider } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.as; });
|
|
2126
2126
|
const redact = (k) => k && k.length > 10 ? `${k.slice(0, 6)}\u2026${k.slice(-4)}` : k ? "***" : "(unset)";
|
|
2127
2127
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2128
2128
|
console.log(`
|
|
@@ -2455,7 +2455,7 @@ Examples:
|
|
|
2455
2455
|
async function printSkillsHelp() {
|
|
2456
2456
|
let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
|
|
2457
2457
|
try {
|
|
2458
|
-
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-
|
|
2458
|
+
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-Ccf8_4AF.mjs').then(function (n) { return n.az; });
|
|
2459
2459
|
browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
|
|
2460
2460
|
} catch {
|
|
2461
2461
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { spawnSync } from 'node:child_process';
|
|
2
|
-
import { j as resolveProjectRoot, K as workflowSteps, z as setWorkflowEnabled, F as isWorkflowEnabled, A as removeWorkflow, x as getWorkflow, E as listWorkflows, C as saveWorkflow, D as rawWorkflow } from './run-
|
|
2
|
+
import { j as resolveProjectRoot, K as workflowSteps, z as setWorkflowEnabled, F as isWorkflowEnabled, A as removeWorkflow, x as getWorkflow, E as listWorkflows, C as saveWorkflow, D as rawWorkflow } from './run-Ccf8_4AF.mjs';
|
|
3
3
|
import 'os';
|
|
4
4
|
import 'fs/promises';
|
|
5
5
|
import 'fs';
|
|
@@ -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 { a6 as formatHandle, a7 as normalizeAllowedUser, a8 as loadSecurityContextConfig, a9 as resolveSecurityContext, aa as buildSecurityContextFromFlags, ab as mergeSecurityContexts, c as connectToHypha, ac as buildSessionShareUrl, ad as computeOutboundHop, i as shortId, ae as registerAwaitingReply, af as buildMachineShareUrl, ag as parseHandle, ah as handleMatchesMetadata } from './run-
|
|
5
|
+
import { a6 as formatHandle, a7 as normalizeAllowedUser, a8 as loadSecurityContextConfig, a9 as resolveSecurityContext, aa as buildSecurityContextFromFlags, ab as mergeSecurityContexts, c as connectToHypha, ac as buildSessionShareUrl, ad as computeOutboundHop, i as shortId, ae as registerAwaitingReply, af as buildMachineShareUrl, ag as parseHandle, ah as handleMatchesMetadata } from './run-Ccf8_4AF.mjs';
|
|
6
6
|
import 'os';
|
|
7
7
|
import 'fs/promises';
|
|
8
8
|
import 'fs';
|
|
@@ -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 { V as parseFrontmatter, W as getSkillsServer, X as getSkillsWorkspaceName, Y as getSkillsCollectionName, Z as fetchWithTimeout, _ as searchSkills, $ as SKILLS_DIR, a0 as getSkillInfo, a1 as downloadSkillFile, a2 as listSkillFiles } from './run-
|
|
4
|
+
import { V as parseFrontmatter, W as getSkillsServer, X as getSkillsWorkspaceName, Y as getSkillsCollectionName, Z as fetchWithTimeout, _ as searchSkills, $ as SKILLS_DIR, a0 as getSkillInfo, a1 as downloadSkillFile, a2 as listSkillFiles } from './run-Ccf8_4AF.mjs';
|
|
5
5
|
import 'fs/promises';
|
|
6
6
|
import 'url';
|
|
7
7
|
import 'child_process';
|