svamp-cli 0.2.289 → 0.2.290
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-C7-LgldE.mjs → adminCommands-BVvpkVsG.mjs} +1 -1
- package/dist/{agentCommands-B7HQJo3X.mjs → agentCommands-fY4keaFA.mjs} +5 -5
- package/dist/{auth-BB_4_6P7.mjs → auth-SR7v-8nf.mjs} +1 -1
- package/dist/{cli-BH5LIMPI.mjs → cli-Re14H3q0.mjs} +72 -68
- package/dist/cli.mjs +2 -2
- package/dist/{commands-Cf9KT-Ob.mjs → commands-BC-T6wDo.mjs} +2 -2
- package/dist/{commands-CZSPOqtd.mjs → commands-Bv5EcsN_.mjs} +1 -1
- package/dist/{commands-BsiQdwUs.mjs → commands-CBsV6z9K.mjs} +2 -2
- package/dist/commands-CIyv2Qt-.mjs +258 -0
- package/dist/{commands-BaVcBOKA.mjs → commands-Dc9t_OeY.mjs} +1 -1
- package/dist/{commands-DFSD7jBH.mjs → commands-Dd-6WXYJ.mjs} +8 -8
- package/dist/{commands-BNxsrqSl.mjs → commands-Dwf-ntY-.mjs} +2 -2
- package/dist/{commands-Bb-RzoKB.mjs → commands-zagci6-n.mjs} +1 -1
- package/dist/{fleet-2c-iNucb.mjs → fleet-DlRlerEG.mjs} +1 -1
- package/dist/{frpc-CuvdlU0g.mjs → frpc-B8zTErxt.mjs} +45 -27
- package/dist/{headlessCli-CftEZbxm.mjs → headlessCli-D22LyDyO.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{notifyCommands-1q8COUDd.mjs → notifyCommands-5PueOg8Q.mjs} +1 -1
- package/dist/package-CpmmajAP.mjs +64 -0
- package/dist/{rpc-C9U0Ho27.mjs → rpc-D3Hg4y67.mjs} +1 -1
- package/dist/{rpc-DMpJef5v.mjs → rpc-olai-LcU.mjs} +1 -1
- package/dist/{run-CCENV09o.mjs → run-B6V1wuT6.mjs} +1 -1
- package/dist/{run-BNeZiySO.mjs → run-BNiSOlBf.mjs} +114 -22
- package/dist/{scheduler-CAUwniWA.mjs → scheduler--MbVadb0.mjs} +1 -1
- package/dist/{serveCommands-XJVDS4zB.mjs → serveCommands-BONMg_af.mjs} +5 -5
- package/dist/{sideband-DB4Uipz9.mjs → sideband-Dnuy9-IL.mjs} +1 -1
- package/package.json +46 -46
- package/dist/package-DrTlgNWY.mjs +0 -64
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as connectToHypha, K as computeCollectionConfigUpdate, L as SYSTEM_COLLECTION_CONFIG } from './run-
|
|
1
|
+
import { c as connectToHypha, K as computeCollectionConfigUpdate, L as SYSTEM_COLLECTION_CONFIG } from './run-BNiSOlBf.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-BNiSOlBf.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-BNiSOlBf.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-Dc9t_OeY.mjs');
|
|
347
347
|
return connectAndGetMachine();
|
|
348
348
|
}
|
|
349
349
|
function buildInboxMessage(args) {
|
|
@@ -421,7 +421,7 @@ async function inboxSend(targetSessionId, opts) {
|
|
|
421
421
|
console.error("Message body is required.");
|
|
422
422
|
process.exit(1);
|
|
423
423
|
}
|
|
424
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
424
|
+
const { connectAndResolveSession } = await import('./commands-Dc9t_OeY.mjs');
|
|
425
425
|
let server;
|
|
426
426
|
try {
|
|
427
427
|
const { targetId, messageId } = await inboxSendCore(
|
|
@@ -475,7 +475,7 @@ async function inboxReply(messageId, body) {
|
|
|
475
475
|
console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
|
|
476
476
|
process.exit(1);
|
|
477
477
|
}
|
|
478
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
478
|
+
const { connectAndResolveSession } = await import('./commands-Dc9t_OeY.mjs');
|
|
479
479
|
const { server: localServer, machine: localMachine } = await connectToMachineService();
|
|
480
480
|
let localDisconnected = false;
|
|
481
481
|
const disconnectLocal = async () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a1 as clearStopMarker, a2 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-
|
|
1
|
+
import { a1 as clearStopMarker, a2 as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-BNiSOlBf.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-BNiSOlBf.mjs').then(function (n) { return n.ap; });
|
|
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-BNiSOlBf.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-Dd-6WXYJ.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-BONMg_af.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-CBsV6z9K.mjs');
|
|
377
377
|
let machineId;
|
|
378
378
|
const processArgs = args.slice(1);
|
|
379
379
|
const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
|
|
@@ -386,23 +386,27 @@ async function main() {
|
|
|
386
386
|
return true;
|
|
387
387
|
}), machineId);
|
|
388
388
|
process.exit(0);
|
|
389
|
+
} else if (subcommand === "outpost") {
|
|
390
|
+
const { outpostCommand } = await import('./commands-CIyv2Qt-.mjs');
|
|
391
|
+
await outpostCommand(args.slice(1));
|
|
392
|
+
process.exit(0);
|
|
389
393
|
} else if (subcommand === "issue" || subcommand === "issues") {
|
|
390
|
-
const { issueCommand } = await import('./commands-
|
|
394
|
+
const { issueCommand } = await import('./commands-BC-T6wDo.mjs');
|
|
391
395
|
await issueCommand(args.slice(1));
|
|
392
396
|
await flushAndExit(0);
|
|
393
397
|
} else if (subcommand === "workflow" || subcommand === "workflows") {
|
|
394
|
-
const { workflowCommand } = await import('./commands-
|
|
398
|
+
const { workflowCommand } = await import('./commands-zagci6-n.mjs');
|
|
395
399
|
await workflowCommand(args.slice(1));
|
|
396
400
|
await flushAndExit(0);
|
|
397
401
|
} else if (subcommand === "wise-agent" || subcommand === "wise") {
|
|
398
402
|
await handleWiseAgentCommand(args.slice(1));
|
|
399
403
|
process.exit(0);
|
|
400
404
|
} else if (subcommand === "feature" || subcommand === "crew") {
|
|
401
|
-
const { crewCommand } = await import('./commands-
|
|
405
|
+
const { crewCommand } = await import('./commands-Dwf-ntY-.mjs');
|
|
402
406
|
await crewCommand(args.slice(1));
|
|
403
407
|
process.exit(0);
|
|
404
408
|
} else if (subcommand === "notify") {
|
|
405
|
-
const { notifyUser } = await import('./notifyCommands-
|
|
409
|
+
const { notifyUser } = await import('./notifyCommands-5PueOg8Q.mjs');
|
|
406
410
|
const rest = args.slice(1);
|
|
407
411
|
let email;
|
|
408
412
|
const o = {};
|
|
@@ -419,7 +423,7 @@ async function main() {
|
|
|
419
423
|
} else if (subcommand === "admin") {
|
|
420
424
|
const adminSub = args[1];
|
|
421
425
|
if (adminSub === "set-collection-config") {
|
|
422
|
-
const { setCollectionConfig } = await import('./adminCommands-
|
|
426
|
+
const { setCollectionConfig } = await import('./adminCommands-BVvpkVsG.mjs');
|
|
423
427
|
const rest = args.slice(2);
|
|
424
428
|
let alias;
|
|
425
429
|
let configJson;
|
|
@@ -429,10 +433,10 @@ async function main() {
|
|
|
429
433
|
}
|
|
430
434
|
await setCollectionConfig(alias, configJson);
|
|
431
435
|
} else if (adminSub === "create-system-collections") {
|
|
432
|
-
const { createSystemCollections } = await import('./adminCommands-
|
|
436
|
+
const { createSystemCollections } = await import('./adminCommands-BVvpkVsG.mjs');
|
|
433
437
|
await createSystemCollections();
|
|
434
438
|
} else if (adminSub === "migrate-collection-children") {
|
|
435
|
-
const { migrateCollectionChildren } = await import('./adminCommands-
|
|
439
|
+
const { migrateCollectionChildren } = await import('./adminCommands-BVvpkVsG.mjs');
|
|
436
440
|
const rest = args.slice(2).filter((a) => !a.startsWith("-"));
|
|
437
441
|
await migrateCollectionChildren(rest[0], rest[1]);
|
|
438
442
|
} else {
|
|
@@ -440,7 +444,7 @@ async function main() {
|
|
|
440
444
|
}
|
|
441
445
|
process.exit(0);
|
|
442
446
|
} else if (subcommand === "events") {
|
|
443
|
-
const { listEvents, ackEvent } = await import('./notifyCommands-
|
|
447
|
+
const { listEvents, ackEvent } = await import('./notifyCommands-5PueOg8Q.mjs');
|
|
444
448
|
const sub = args[1];
|
|
445
449
|
const rest = args.slice(2);
|
|
446
450
|
let email;
|
|
@@ -461,7 +465,7 @@ async function main() {
|
|
|
461
465
|
} else if (!subcommand || subcommand === "start") {
|
|
462
466
|
await handleInteractiveCommand();
|
|
463
467
|
} else if (subcommand === "--version" || subcommand === "-v") {
|
|
464
|
-
const pkg = await import('./package-
|
|
468
|
+
const pkg = await import('./package-CpmmajAP.mjs').catch(() => ({ default: { version: "unknown" } }));
|
|
465
469
|
console.log(`svamp version: ${pkg.default.version}`);
|
|
466
470
|
} else {
|
|
467
471
|
console.error(`Unknown command: ${subcommand}`);
|
|
@@ -470,7 +474,7 @@ async function main() {
|
|
|
470
474
|
}
|
|
471
475
|
}
|
|
472
476
|
async function handleInteractiveCommand() {
|
|
473
|
-
const { runInteractive } = await import('./run-
|
|
477
|
+
const { runInteractive } = await import('./run-B6V1wuT6.mjs');
|
|
474
478
|
const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
|
|
475
479
|
let directory = process.cwd();
|
|
476
480
|
let resumeSessionId;
|
|
@@ -515,7 +519,7 @@ async function handleAgentCommand() {
|
|
|
515
519
|
return;
|
|
516
520
|
}
|
|
517
521
|
if (agentArgs[0] === "list") {
|
|
518
|
-
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-BNiSOlBf.mjs').then(function (n) { return n.aw; });
|
|
519
523
|
console.log("Known agents:");
|
|
520
524
|
for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
|
|
521
525
|
console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
|
|
@@ -527,7 +531,7 @@ async function handleAgentCommand() {
|
|
|
527
531
|
console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
|
|
528
532
|
return;
|
|
529
533
|
}
|
|
530
|
-
const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-
|
|
534
|
+
const { resolveAcpAgentConfig, KNOWN_CODEX_AGENTS } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.aw; });
|
|
531
535
|
let cwd = process.cwd();
|
|
532
536
|
const filteredArgs = [];
|
|
533
537
|
for (let i = 0; i < agentArgs.length; i++) {
|
|
@@ -551,12 +555,12 @@ async function handleAgentCommand() {
|
|
|
551
555
|
console.log(`Starting ${config.agentName} agent in ${cwd}...`);
|
|
552
556
|
let backend;
|
|
553
557
|
if (KNOWN_CODEX_AGENTS[config.agentName]) {
|
|
554
|
-
const { CodexAppServerBackend } = await import('./run-
|
|
558
|
+
const { CodexAppServerBackend } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.ax; });
|
|
555
559
|
backend = new CodexAppServerBackend({ cwd, log: logFn });
|
|
556
560
|
} else {
|
|
557
|
-
const { AcpBackend } = await import('./run-
|
|
558
|
-
const { GeminiTransport } = await import('./run-
|
|
559
|
-
const { DefaultTransport } = await import('./run-
|
|
561
|
+
const { AcpBackend } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.av; });
|
|
562
|
+
const { GeminiTransport } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.ay; });
|
|
563
|
+
const { DefaultTransport } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.au; });
|
|
560
564
|
const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
|
|
561
565
|
backend = new AcpBackend({
|
|
562
566
|
agentName: config.agentName,
|
|
@@ -683,7 +687,7 @@ async function handleSessionCommand() {
|
|
|
683
687
|
process.exit(1);
|
|
684
688
|
}
|
|
685
689
|
}
|
|
686
|
-
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-Dc9t_OeY.mjs');
|
|
687
691
|
const parseFlagStr = (flag, shortFlag) => {
|
|
688
692
|
for (let i = 1; i < sessionArgs.length; i++) {
|
|
689
693
|
if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
|
|
@@ -751,7 +755,7 @@ async function handleSessionCommand() {
|
|
|
751
755
|
allowDomain.push(sessionArgs[++i]);
|
|
752
756
|
}
|
|
753
757
|
}
|
|
754
|
-
const { parseShareArg } = await import('./commands-
|
|
758
|
+
const { parseShareArg } = await import('./commands-Dc9t_OeY.mjs');
|
|
755
759
|
const shareEntries = share.map((s) => parseShareArg(s));
|
|
756
760
|
await sessionSpawn(agent, dir, targetMachineId, {
|
|
757
761
|
message,
|
|
@@ -841,7 +845,7 @@ async function handleSessionCommand() {
|
|
|
841
845
|
console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
|
|
842
846
|
process.exit(1);
|
|
843
847
|
}
|
|
844
|
-
const { sessionEditMessage } = await import('./commands-
|
|
848
|
+
const { sessionEditMessage } = await import('./commands-Dc9t_OeY.mjs');
|
|
845
849
|
await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
846
850
|
} else if (sessionSubcommand === "refine") {
|
|
847
851
|
if (!sessionArgs[1] || !sessionArgs[2]) {
|
|
@@ -849,7 +853,7 @@ async function handleSessionCommand() {
|
|
|
849
853
|
console.error(" Asks the agent to revise its latest reply in place (no extra round).");
|
|
850
854
|
process.exit(1);
|
|
851
855
|
}
|
|
852
|
-
const { sessionRefineLastReply } = await import('./commands-
|
|
856
|
+
const { sessionRefineLastReply } = await import('./commands-Dc9t_OeY.mjs');
|
|
853
857
|
await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
|
|
854
858
|
} else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
|
|
855
859
|
if (!sessionArgs[1]) {
|
|
@@ -857,7 +861,7 @@ async function handleSessionCommand() {
|
|
|
857
861
|
console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
|
|
858
862
|
process.exit(1);
|
|
859
863
|
}
|
|
860
|
-
const { sessionUndoEdit } = await import('./commands-
|
|
864
|
+
const { sessionUndoEdit } = await import('./commands-Dc9t_OeY.mjs');
|
|
861
865
|
await sessionUndoEdit(sessionArgs[1], targetMachineId);
|
|
862
866
|
} else if (sessionSubcommand === "query") {
|
|
863
867
|
const dir = sessionArgs[1];
|
|
@@ -867,7 +871,7 @@ async function handleSessionCommand() {
|
|
|
867
871
|
console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
|
|
868
872
|
process.exit(1);
|
|
869
873
|
}
|
|
870
|
-
const { sessionQuery } = await import('./commands-
|
|
874
|
+
const { sessionQuery } = await import('./commands-Dc9t_OeY.mjs');
|
|
871
875
|
await sessionQuery(dir, prompt, targetMachineId, {
|
|
872
876
|
timeout: parseFlagInt("--timeout"),
|
|
873
877
|
json: hasFlag("--json"),
|
|
@@ -900,7 +904,7 @@ async function handleSessionCommand() {
|
|
|
900
904
|
console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
|
|
901
905
|
process.exit(1);
|
|
902
906
|
}
|
|
903
|
-
const { sessionApprove } = await import('./commands-
|
|
907
|
+
const { sessionApprove } = await import('./commands-Dc9t_OeY.mjs');
|
|
904
908
|
const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
905
909
|
await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
|
|
906
910
|
json: hasFlag("--json")
|
|
@@ -910,7 +914,7 @@ async function handleSessionCommand() {
|
|
|
910
914
|
console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
|
|
911
915
|
process.exit(1);
|
|
912
916
|
}
|
|
913
|
-
const { sessionDeny } = await import('./commands-
|
|
917
|
+
const { sessionDeny } = await import('./commands-Dc9t_OeY.mjs');
|
|
914
918
|
const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
915
919
|
await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
|
|
916
920
|
json: hasFlag("--json")
|
|
@@ -962,7 +966,7 @@ async function handleSessionCommand() {
|
|
|
962
966
|
console.error("Usage: svamp session set-title <title>");
|
|
963
967
|
process.exit(1);
|
|
964
968
|
}
|
|
965
|
-
const { sessionSetTitle } = await import('./agentCommands-
|
|
969
|
+
const { sessionSetTitle } = await import('./agentCommands-fY4keaFA.mjs');
|
|
966
970
|
await sessionSetTitle(title);
|
|
967
971
|
} else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
|
|
968
972
|
const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
@@ -970,7 +974,7 @@ async function handleSessionCommand() {
|
|
|
970
974
|
console.error("Usage: svamp session set-project-description <text>");
|
|
971
975
|
process.exit(1);
|
|
972
976
|
}
|
|
973
|
-
const { sessionSetProjectDescription } = await import('./agentCommands-
|
|
977
|
+
const { sessionSetProjectDescription } = await import('./agentCommands-fY4keaFA.mjs');
|
|
974
978
|
await sessionSetProjectDescription(desc);
|
|
975
979
|
} else if (sessionSubcommand === "set-link") {
|
|
976
980
|
const url = sessionArgs[1];
|
|
@@ -979,11 +983,11 @@ async function handleSessionCommand() {
|
|
|
979
983
|
process.exit(1);
|
|
980
984
|
}
|
|
981
985
|
const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
982
|
-
const { sessionSetLink } = await import('./agentCommands-
|
|
986
|
+
const { sessionSetLink } = await import('./agentCommands-fY4keaFA.mjs');
|
|
983
987
|
await sessionSetLink(url, label);
|
|
984
988
|
} else if (sessionSubcommand === "link") {
|
|
985
989
|
const op = sessionArgs[1];
|
|
986
|
-
const lm = await import('./agentCommands-
|
|
990
|
+
const lm = await import('./agentCommands-fY4keaFA.mjs');
|
|
987
991
|
if (op === "add") {
|
|
988
992
|
const url = sessionArgs[2];
|
|
989
993
|
if (!url || url.startsWith("--")) {
|
|
@@ -1018,7 +1022,7 @@ async function handleSessionCommand() {
|
|
|
1018
1022
|
process.exit(1);
|
|
1019
1023
|
}
|
|
1020
1024
|
const level = parseFlagStr("--level") || "info";
|
|
1021
|
-
const { sessionNotify } = await import('./agentCommands-
|
|
1025
|
+
const { sessionNotify } = await import('./agentCommands-fY4keaFA.mjs');
|
|
1022
1026
|
await sessionNotify(message, level);
|
|
1023
1027
|
} else if (sessionSubcommand === "broadcast") {
|
|
1024
1028
|
const action = sessionArgs[1];
|
|
@@ -1026,7 +1030,7 @@ async function handleSessionCommand() {
|
|
|
1026
1030
|
console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
|
|
1027
1031
|
process.exit(1);
|
|
1028
1032
|
}
|
|
1029
|
-
const { sessionBroadcast } = await import('./agentCommands-
|
|
1033
|
+
const { sessionBroadcast } = await import('./agentCommands-fY4keaFA.mjs');
|
|
1030
1034
|
await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
|
|
1031
1035
|
} else if (sessionSubcommand === "inbox") {
|
|
1032
1036
|
const inboxSubcmd = sessionArgs[1];
|
|
@@ -1037,7 +1041,7 @@ async function handleSessionCommand() {
|
|
|
1037
1041
|
process.exit(1);
|
|
1038
1042
|
}
|
|
1039
1043
|
if (agentSessionId) {
|
|
1040
|
-
const { inboxSend } = await import('./agentCommands-
|
|
1044
|
+
const { inboxSend } = await import('./agentCommands-fY4keaFA.mjs');
|
|
1041
1045
|
await inboxSend(sessionArgs[2], {
|
|
1042
1046
|
body: sessionArgs[3],
|
|
1043
1047
|
subject: parseFlagStr("--subject"),
|
|
@@ -1052,7 +1056,7 @@ async function handleSessionCommand() {
|
|
|
1052
1056
|
}
|
|
1053
1057
|
} else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
|
|
1054
1058
|
if (agentSessionId && !sessionArgs[2]) {
|
|
1055
|
-
const { inboxList } = await import('./agentCommands-
|
|
1059
|
+
const { inboxList } = await import('./agentCommands-fY4keaFA.mjs');
|
|
1056
1060
|
await inboxList({
|
|
1057
1061
|
unread: hasFlag("--unread"),
|
|
1058
1062
|
limit: parseFlagInt("--limit"),
|
|
@@ -1074,7 +1078,7 @@ async function handleSessionCommand() {
|
|
|
1074
1078
|
process.exit(1);
|
|
1075
1079
|
}
|
|
1076
1080
|
if (agentSessionId && !sessionArgs[3]) {
|
|
1077
|
-
const { inboxList } = await import('./agentCommands-
|
|
1081
|
+
const { inboxList } = await import('./agentCommands-fY4keaFA.mjs');
|
|
1078
1082
|
await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
|
|
1079
1083
|
} else if (sessionArgs[3]) {
|
|
1080
1084
|
await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
@@ -1084,7 +1088,7 @@ async function handleSessionCommand() {
|
|
|
1084
1088
|
}
|
|
1085
1089
|
} else if (inboxSubcmd === "reply") {
|
|
1086
1090
|
if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
|
|
1087
|
-
const { inboxReply } = await import('./agentCommands-
|
|
1091
|
+
const { inboxReply } = await import('./agentCommands-fY4keaFA.mjs');
|
|
1088
1092
|
await inboxReply(sessionArgs[2], sessionArgs[3]);
|
|
1089
1093
|
} else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
|
|
1090
1094
|
await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
|
|
@@ -1122,7 +1126,7 @@ async function handleMachineCommand() {
|
|
|
1122
1126
|
return;
|
|
1123
1127
|
}
|
|
1124
1128
|
if (machineSubcommand === "share") {
|
|
1125
|
-
const { machineShare } = await import('./commands-
|
|
1129
|
+
const { machineShare } = await import('./commands-Dc9t_OeY.mjs');
|
|
1126
1130
|
let machineId;
|
|
1127
1131
|
const shareArgs = [];
|
|
1128
1132
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
@@ -1173,14 +1177,14 @@ async function handleMachineCommand() {
|
|
|
1173
1177
|
process.exit(1);
|
|
1174
1178
|
}
|
|
1175
1179
|
if (all) {
|
|
1176
|
-
const { fleetExec } = await import('./fleet-
|
|
1180
|
+
const { fleetExec } = await import('./fleet-DlRlerEG.mjs');
|
|
1177
1181
|
await fleetExec(command, { cwd });
|
|
1178
1182
|
} else {
|
|
1179
|
-
const { machineExec } = await import('./commands-
|
|
1183
|
+
const { machineExec } = await import('./commands-Dc9t_OeY.mjs');
|
|
1180
1184
|
await machineExec(machineId, command, cwd);
|
|
1181
1185
|
}
|
|
1182
1186
|
} else if (machineSubcommand === "info") {
|
|
1183
|
-
const { machineInfo } = await import('./commands-
|
|
1187
|
+
const { machineInfo } = await import('./commands-Dc9t_OeY.mjs');
|
|
1184
1188
|
let machineId;
|
|
1185
1189
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
1186
1190
|
if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
|
|
@@ -1200,10 +1204,10 @@ async function handleMachineCommand() {
|
|
|
1200
1204
|
level = machineArgs[++i];
|
|
1201
1205
|
}
|
|
1202
1206
|
}
|
|
1203
|
-
const { machineNotify } = await import('./agentCommands-
|
|
1207
|
+
const { machineNotify } = await import('./agentCommands-fY4keaFA.mjs');
|
|
1204
1208
|
await machineNotify(message, level);
|
|
1205
1209
|
} else if (machineSubcommand === "ls") {
|
|
1206
|
-
const { machineLs } = await import('./commands-
|
|
1210
|
+
const { machineLs } = await import('./commands-Dc9t_OeY.mjs');
|
|
1207
1211
|
let machineId;
|
|
1208
1212
|
let showHidden = false;
|
|
1209
1213
|
let path;
|
|
@@ -1262,20 +1266,20 @@ Examples:
|
|
|
1262
1266
|
};
|
|
1263
1267
|
const hasFlag = (name) => fleetArgs.includes(`--${name}`);
|
|
1264
1268
|
if (sub === "status") {
|
|
1265
|
-
const { fleetStatus } = await import('./fleet-
|
|
1269
|
+
const { fleetStatus } = await import('./fleet-DlRlerEG.mjs');
|
|
1266
1270
|
await fleetStatus();
|
|
1267
1271
|
} else if (sub === "upgrade-claude") {
|
|
1268
|
-
const { fleetUpgradeClaude } = await import('./fleet-
|
|
1272
|
+
const { fleetUpgradeClaude } = await import('./fleet-DlRlerEG.mjs');
|
|
1269
1273
|
await fleetUpgradeClaude({ version: flag("version", "-v") });
|
|
1270
1274
|
} else if (sub === "upgrade-svamp") {
|
|
1271
|
-
const { fleetUpgradeSvamp } = await import('./fleet-
|
|
1275
|
+
const { fleetUpgradeSvamp } = await import('./fleet-DlRlerEG.mjs');
|
|
1272
1276
|
await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self"), force: hasFlag("force") });
|
|
1273
1277
|
} else if (sub === "daemon-restart") {
|
|
1274
|
-
const { fleetDaemonRestart } = await import('./fleet-
|
|
1278
|
+
const { fleetDaemonRestart } = await import('./fleet-DlRlerEG.mjs');
|
|
1275
1279
|
await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
|
|
1276
1280
|
} else if (sub === "push-skill") {
|
|
1277
1281
|
const name = fleetArgs[1];
|
|
1278
|
-
const { fleetPushSkill } = await import('./fleet-
|
|
1282
|
+
const { fleetPushSkill } = await import('./fleet-DlRlerEG.mjs');
|
|
1279
1283
|
await fleetPushSkill(name);
|
|
1280
1284
|
} else {
|
|
1281
1285
|
console.error(`Unknown fleet subcommand: ${sub}`);
|
|
@@ -1291,7 +1295,7 @@ async function handleSkillsCommand() {
|
|
|
1291
1295
|
await printSkillsHelp();
|
|
1292
1296
|
return;
|
|
1293
1297
|
}
|
|
1294
|
-
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-
|
|
1298
|
+
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-Bv5EcsN_.mjs');
|
|
1295
1299
|
if (skillsSubcommand === "find" || skillsSubcommand === "search") {
|
|
1296
1300
|
const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
1297
1301
|
if (!query) {
|
|
@@ -1338,7 +1342,7 @@ async function loginToHypha() {
|
|
|
1338
1342
|
process.exit(1);
|
|
1339
1343
|
}
|
|
1340
1344
|
const anchor = anchorArg.replace(/\/+$/, "");
|
|
1341
|
-
const { loadInstanceConfig } = await import('./run-
|
|
1345
|
+
const { loadInstanceConfig } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.ap; });
|
|
1342
1346
|
let cfg = null;
|
|
1343
1347
|
try {
|
|
1344
1348
|
cfg = await loadInstanceConfig({ anchor, force: true });
|
|
@@ -1449,7 +1453,7 @@ async function logoutFromHypha() {
|
|
|
1449
1453
|
} catch {
|
|
1450
1454
|
}
|
|
1451
1455
|
try {
|
|
1452
|
-
const { clearInstanceConfigCache } = await import('./run-
|
|
1456
|
+
const { clearInstanceConfigCache } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.ap; });
|
|
1453
1457
|
clearInstanceConfigCache();
|
|
1454
1458
|
} catch {
|
|
1455
1459
|
}
|
|
@@ -1791,7 +1795,7 @@ async function applyClaudeAuthFlags(argv) {
|
|
|
1791
1795
|
"--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
|
|
1792
1796
|
);
|
|
1793
1797
|
}
|
|
1794
|
-
const mod = await import('./run-
|
|
1798
|
+
const mod = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.aq; });
|
|
1795
1799
|
if (hasHypha) {
|
|
1796
1800
|
let url;
|
|
1797
1801
|
const hyphaIdx = argv.indexOf("--use-hypha-proxy");
|
|
@@ -1845,7 +1849,7 @@ async function applyDaemonShareFlag(argv) {
|
|
|
1845
1849
|
}
|
|
1846
1850
|
}
|
|
1847
1851
|
if (collected.length === 0) return;
|
|
1848
|
-
const { updateEnvFile } = await import('./run-
|
|
1852
|
+
const { updateEnvFile } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.aq; });
|
|
1849
1853
|
const seen = /* @__PURE__ */ new Set();
|
|
1850
1854
|
const deduped = collected.filter((e) => {
|
|
1851
1855
|
const k = e.toLowerCase();
|
|
@@ -1878,7 +1882,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1878
1882
|
}
|
|
1879
1883
|
});
|
|
1880
1884
|
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(" ");
|
|
1881
|
-
const { wiseAskCli } = await import('./commands-
|
|
1885
|
+
const { wiseAskCli } = await import('./commands-Dc9t_OeY.mjs');
|
|
1882
1886
|
await wiseAskCli(machineId, message, sessionId, { json });
|
|
1883
1887
|
return;
|
|
1884
1888
|
}
|
|
@@ -1890,7 +1894,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1890
1894
|
}
|
|
1891
1895
|
return void 0;
|
|
1892
1896
|
};
|
|
1893
|
-
const { runWiseVoiceCli } = await import('./headlessCli-
|
|
1897
|
+
const { runWiseVoiceCli } = await import('./headlessCli-D22LyDyO.mjs');
|
|
1894
1898
|
await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
|
|
1895
1899
|
return;
|
|
1896
1900
|
}
|
|
@@ -1908,7 +1912,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1908
1912
|
const mode = valueOf(["--mode"]);
|
|
1909
1913
|
const mission = valueOf(["--mission"]);
|
|
1910
1914
|
const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
|
|
1911
|
-
const { wiseJoinMeetingCli } = await import('./commands-
|
|
1915
|
+
const { wiseJoinMeetingCli } = await import('./commands-Dc9t_OeY.mjs');
|
|
1912
1916
|
await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
|
|
1913
1917
|
return;
|
|
1914
1918
|
}
|
|
@@ -1920,7 +1924,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1920
1924
|
}
|
|
1921
1925
|
return void 0;
|
|
1922
1926
|
};
|
|
1923
|
-
const { wiseLeaveMeetingCli } = await import('./commands-
|
|
1927
|
+
const { wiseLeaveMeetingCli } = await import('./commands-Dc9t_OeY.mjs');
|
|
1924
1928
|
await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
|
|
1925
1929
|
return;
|
|
1926
1930
|
}
|
|
@@ -1944,7 +1948,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1944
1948
|
}
|
|
1945
1949
|
});
|
|
1946
1950
|
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(" ");
|
|
1947
|
-
const { wiseAnnounceCli } = await import('./commands-
|
|
1951
|
+
const { wiseAnnounceCli } = await import('./commands-Dc9t_OeY.mjs');
|
|
1948
1952
|
await wiseAnnounceCli(machineId, text, sessionId, { json });
|
|
1949
1953
|
return;
|
|
1950
1954
|
}
|
|
@@ -1956,7 +1960,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1956
1960
|
}
|
|
1957
1961
|
return void 0;
|
|
1958
1962
|
};
|
|
1959
|
-
const { wiseMeetingsCli } = await import('./commands-
|
|
1963
|
+
const { wiseMeetingsCli } = await import('./commands-Dc9t_OeY.mjs');
|
|
1960
1964
|
await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
|
|
1961
1965
|
return;
|
|
1962
1966
|
}
|
|
@@ -2006,7 +2010,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2006
2010
|
return;
|
|
2007
2011
|
}
|
|
2008
2012
|
const authArgs = rest.slice(1);
|
|
2009
|
-
const mod = await import('./auth-
|
|
2013
|
+
const mod = await import('./auth-SR7v-8nf.mjs');
|
|
2010
2014
|
let action;
|
|
2011
2015
|
try {
|
|
2012
2016
|
action = mod.parseWiseAgentAuthArgs(authArgs);
|
|
@@ -2016,7 +2020,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2016
2020
|
return;
|
|
2017
2021
|
}
|
|
2018
2022
|
if (action) {
|
|
2019
|
-
const { updateEnvFile } = await import('./run-
|
|
2023
|
+
const { updateEnvFile } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.aq; });
|
|
2020
2024
|
const updates = mod.buildWiseAgentEnvUpdates(action);
|
|
2021
2025
|
updateEnvFile(updates);
|
|
2022
2026
|
for (const [k, v] of Object.entries(updates)) {
|
|
@@ -2030,7 +2034,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
2030
2034
|
}
|
|
2031
2035
|
async function handleDaemonAuthCommand(argv) {
|
|
2032
2036
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2033
|
-
const mod = await import('./run-
|
|
2037
|
+
const mod = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.aq; });
|
|
2034
2038
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2035
2039
|
console.log(`
|
|
2036
2040
|
svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
|
|
@@ -2104,8 +2108,8 @@ one step: --use-hypha-proxy / --use-claude-login / --anthropic-base-url URL --an
|
|
|
2104
2108
|
}
|
|
2105
2109
|
async function handleDaemonCodexAuthCommand(argv) {
|
|
2106
2110
|
const sub = (argv[0] || "status").toLowerCase();
|
|
2107
|
-
const { updateEnvFile } = await import('./run-
|
|
2108
|
-
const { resolveCodexProvider } = await import('./run-
|
|
2111
|
+
const { updateEnvFile } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.aq; });
|
|
2112
|
+
const { resolveCodexProvider } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.ar; });
|
|
2109
2113
|
const redact = (k) => k && k.length > 10 ? `${k.slice(0, 6)}\u2026${k.slice(-4)}` : k ? "***" : "(unset)";
|
|
2110
2114
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
2111
2115
|
console.log(`
|
|
@@ -2437,7 +2441,7 @@ Examples:
|
|
|
2437
2441
|
async function printSkillsHelp() {
|
|
2438
2442
|
let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
|
|
2439
2443
|
try {
|
|
2440
|
-
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-
|
|
2444
|
+
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-BNiSOlBf.mjs').then(function (n) { return n.az; });
|
|
2441
2445
|
browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
|
|
2442
2446
|
} catch {
|
|
2443
2447
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -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, H as summarize, n as addIssue } from './run-
|
|
4
|
+
import { f as flushAndExit } from './cli-Re14H3q0.mjs';
|
|
5
|
+
import { j as resolveProjectRoot, q as searchIssues, o as listIssues, l as resumeIssue, p as pauseIssue, m as addComment, u as updateIssue, k as getIssue, t as isVisibleTo, H as summarize, n as addIssue } from './run-BNiSOlBf.mjs';
|
|
6
6
|
import './serviceManager-hlOVxkhW.mjs';
|
|
7
7
|
import 'os';
|
|
8
8
|
import 'fs/promises';
|
|
@@ -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 { Q as parseFrontmatter, T as getSkillsServer, U as getSkillsWorkspaceName, V as getSkillsCollectionName, W as fetchWithTimeout, X as searchSkills, Y as SKILLS_DIR, Z as getSkillInfo, _ as downloadSkillFile, $ as listSkillFiles } from './run-
|
|
4
|
+
import { Q as parseFrontmatter, T as getSkillsServer, U as getSkillsWorkspaceName, V as getSkillsCollectionName, W as fetchWithTimeout, X as searchSkills, Y as SKILLS_DIR, Z as getSkillInfo, _ as downloadSkillFile, $ as listSkillFiles } from './run-BNiSOlBf.mjs';
|
|
5
5
|
import 'fs/promises';
|
|
6
6
|
import 'url';
|
|
7
7
|
import 'child_process';
|
|
@@ -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-Dc9t_OeY.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-BNiSOlBf.mjs';
|
|
9
9
|
import 'os';
|
|
10
10
|
import 'fs/promises';
|
|
11
11
|
import 'url';
|