svamp-cli 0.1.16 → 0.1.17
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/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-
|
|
1
|
+
import { s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-BzqS97Sx.mjs';
|
|
2
2
|
import 'os';
|
|
3
3
|
import 'fs/promises';
|
|
4
4
|
import 'fs';
|
|
@@ -79,7 +79,7 @@ async function main() {
|
|
|
79
79
|
} else if (subcommand === "--help" || subcommand === "-h" || !subcommand) {
|
|
80
80
|
printHelp();
|
|
81
81
|
} else if (subcommand === "--version" || subcommand === "-v") {
|
|
82
|
-
const pkg = await import('./package-
|
|
82
|
+
const pkg = await import('./package-BtRbHfjz.mjs').catch(() => ({ default: { version: "unknown" } }));
|
|
83
83
|
console.log(`svamp version: ${pkg.default.version}`);
|
|
84
84
|
} else {
|
|
85
85
|
console.error(`Unknown command: ${subcommand}`);
|
|
@@ -94,7 +94,7 @@ async function handleAgentCommand() {
|
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
if (agentArgs[0] === "list") {
|
|
97
|
-
const { KNOWN_ACP_AGENTS } = await import('./run-
|
|
97
|
+
const { KNOWN_ACP_AGENTS } = await import('./run-BzqS97Sx.mjs').then(function (n) { return n.f; });
|
|
98
98
|
console.log("Known ACP agents:");
|
|
99
99
|
for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
|
|
100
100
|
console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")}`);
|
|
@@ -103,10 +103,10 @@ async function handleAgentCommand() {
|
|
|
103
103
|
console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
|
-
const { resolveAcpAgentConfig } = await import('./run-
|
|
107
|
-
const { AcpBackend } = await import('./run-
|
|
108
|
-
const { GeminiTransport } = await import('./run-
|
|
109
|
-
const { DefaultTransport } = await import('./run-
|
|
106
|
+
const { resolveAcpAgentConfig } = await import('./run-BzqS97Sx.mjs').then(function (n) { return n.f; });
|
|
107
|
+
const { AcpBackend } = await import('./run-BzqS97Sx.mjs').then(function (n) { return n.e; });
|
|
108
|
+
const { GeminiTransport } = await import('./run-BzqS97Sx.mjs').then(function (n) { return n.G; });
|
|
109
|
+
const { DefaultTransport } = await import('./run-BzqS97Sx.mjs').then(function (n) { return n.D; });
|
|
110
110
|
let cwd = process.cwd();
|
|
111
111
|
const filteredArgs = [];
|
|
112
112
|
for (let i = 0; i < agentArgs.length; i++) {
|
|
@@ -235,7 +235,7 @@ async function handleSessionCommand() {
|
|
|
235
235
|
printSessionHelp();
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
|
-
const { sessionList, sessionSpawn, sessionStop, sessionInfo, sessionMessages, sessionAttach } = await import('./commands-
|
|
238
|
+
const { sessionList, sessionSpawn, sessionStop, sessionInfo, sessionMessages, sessionAttach } = await import('./commands-CVKh1tWr.mjs');
|
|
239
239
|
if (sessionSubcommand === "list" || sessionSubcommand === "ls") {
|
|
240
240
|
await sessionList();
|
|
241
241
|
} else if (sessionSubcommand === "spawn") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync, readFileSync } from 'node:fs';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
3
|
import os from 'node:os';
|
|
4
|
-
import { c as connectToHypha } from './run-
|
|
4
|
+
import { c as connectToHypha } from './run-BzqS97Sx.mjs';
|
|
5
5
|
import 'os';
|
|
6
6
|
import 'fs/promises';
|
|
7
7
|
import 'fs';
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as connectToHypha, d as daemonStatus, g as getHyphaServerUrl, r as registerMachineService, a as registerSessionService, s as startDaemon, b as stopDaemon } from './run-
|
|
1
|
+
export { c as connectToHypha, d as daemonStatus, g as getHyphaServerUrl, r as registerMachineService, a as registerSessionService, s as startDaemon, b as stopDaemon } from './run-BzqS97Sx.mjs';
|
|
2
2
|
import 'os';
|
|
3
3
|
import 'fs/promises';
|
|
4
4
|
import 'fs';
|