svamp-cli 0.2.258 → 0.2.259
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-CQ89BZon.mjs → agentCommands-w72BRYhk.mjs} +6 -9
- package/dist/{auth-CaFsKYbx.mjs → auth-CLFNmaXL.mjs} +2 -5
- package/dist/cli.mjs +156 -69
- package/dist/{commands-DrfYv705.mjs → commands-BPxSEwAc.mjs} +3 -6
- package/dist/{commands-DutfM3U7.mjs → commands-BpcWHrQ7.mjs} +8 -9
- package/dist/{commands-D8l74hsL.mjs → commands-BtXxn3tI.mjs} +2 -5
- package/dist/{commands-B6eGMF5H.mjs → commands-CXiGBP6w.mjs} +2 -5
- package/dist/{commands--X8f4eSr.mjs → commands-D3jsQ9Sj.mjs} +8 -16
- package/dist/{commands-BgX0W0uK.mjs → commands-DVEsNZUB.mjs} +2 -5
- package/dist/{commands-Dd8xEIf0.mjs → commands-bQxTpr-M.mjs} +2 -5
- package/dist/{fleet-UvQnIWT1.mjs → fleet-BC9JHEWF.mjs} +3 -6
- package/dist/{frpc-IXxyfgPn.mjs → frpc-BCOnJSAM.mjs} +11 -10
- package/dist/{headlessCli-BK7WSS3D.mjs → headlessCli-fagwmUja.mjs} +3 -6
- package/dist/index.mjs +2 -5
- package/dist/{package-BdZX5mDv.mjs → package-Dn7kNPhz.mjs} +2 -2
- package/dist/{pinnedClaudeCode-DuLXaoGP.mjs → pinnedClaudeCode-B9O-hKxm.mjs} +1 -1
- package/dist/{rpc-CyACkgY1.mjs → rpc-D-1o_gWF.mjs} +2 -5
- package/dist/{rpc-D7DB3XCH.mjs → rpc-Dko-Fkk6.mjs} +2 -5
- package/dist/{run-C1ufZjIW.mjs → run-BWBtm0gY.mjs} +1 -5
- package/dist/{run-C1Unk4Zx.mjs → run-CT8Leg3-.mjs} +729 -425
- package/dist/{scheduler-7wve0Fy3.mjs → scheduler-CN8jChyQ.mjs} +2 -5
- package/dist/{serveCommands-iQJJLsMJ.mjs → serveCommands-sWtLnJRW.mjs} +5 -5
- package/dist/{serveManager-BszV0oIl.mjs → serveManager-BuXk1_SH.mjs} +122 -7
- package/dist/{sideband-DMPZ-ZoR.mjs → sideband-ByYvGtj3.mjs} +2 -5
- package/dist/{staticFileServer-FCEOLIYH.mjs → staticFileServer-CbYnj2bH.mjs} +21 -5
- package/package.json +2 -2
|
@@ -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 { k as shortId } from './run-
|
|
5
|
+
import { k as shortId } from './run-CT8Leg3-.mjs';
|
|
6
6
|
import 'os';
|
|
7
7
|
import 'fs/promises';
|
|
8
8
|
import 'fs';
|
|
@@ -15,10 +15,7 @@ import 'node:child_process';
|
|
|
15
15
|
import 'util';
|
|
16
16
|
import 'node:events';
|
|
17
17
|
import '@agentclientprotocol/sdk';
|
|
18
|
-
import '
|
|
19
|
-
import '@modelcontextprotocol/sdk/client/stdio.js';
|
|
20
|
-
import '@modelcontextprotocol/sdk/types.js';
|
|
21
|
-
import 'zod';
|
|
18
|
+
import 'node:readline';
|
|
22
19
|
import 'node:fs/promises';
|
|
23
20
|
import 'node:util';
|
|
24
21
|
import 'yaml';
|
|
@@ -97,7 +94,7 @@ async function sessionSetTitle(title) {
|
|
|
97
94
|
}
|
|
98
95
|
async function sessionSetProjectDescription(description) {
|
|
99
96
|
const dir = process.cwd();
|
|
100
|
-
const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-
|
|
97
|
+
const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-CT8Leg3-.mjs').then(function (n) { return n.al; });
|
|
101
98
|
const desc = sanitizeDescription(description, 240);
|
|
102
99
|
if (!desc) {
|
|
103
100
|
console.error("Project description is empty.");
|
|
@@ -344,7 +341,7 @@ async function sessionBroadcast(action, args) {
|
|
|
344
341
|
console.log(`Broadcast sent: ${action}`);
|
|
345
342
|
}
|
|
346
343
|
async function connectToMachineService() {
|
|
347
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
344
|
+
const { connectAndGetMachine } = await import('./commands-BtXxn3tI.mjs');
|
|
348
345
|
return connectAndGetMachine();
|
|
349
346
|
}
|
|
350
347
|
function buildInboxMessage(args) {
|
|
@@ -422,7 +419,7 @@ async function inboxSend(targetSessionId, opts) {
|
|
|
422
419
|
console.error("Message body is required.");
|
|
423
420
|
process.exit(1);
|
|
424
421
|
}
|
|
425
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
422
|
+
const { connectAndResolveSession } = await import('./commands-BtXxn3tI.mjs');
|
|
426
423
|
let server;
|
|
427
424
|
try {
|
|
428
425
|
const { targetId, messageId } = await inboxSendCore(
|
|
@@ -476,7 +473,7 @@ async function inboxReply(messageId, body) {
|
|
|
476
473
|
console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
|
|
477
474
|
process.exit(1);
|
|
478
475
|
}
|
|
479
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
476
|
+
const { connectAndResolveSession } = await import('./commands-BtXxn3tI.mjs');
|
|
480
477
|
const { server: localServer, machine: localMachine } = await connectToMachineService();
|
|
481
478
|
let localDisconnected = false;
|
|
482
479
|
const disconnectLocal = async () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a1 as resolveModel } from './run-
|
|
1
|
+
import { a1 as resolveModel } from './run-CT8Leg3-.mjs';
|
|
2
2
|
import 'os';
|
|
3
3
|
import 'fs/promises';
|
|
4
4
|
import 'fs';
|
|
@@ -14,10 +14,7 @@ import 'node:path';
|
|
|
14
14
|
import 'node:events';
|
|
15
15
|
import 'node:os';
|
|
16
16
|
import '@agentclientprotocol/sdk';
|
|
17
|
-
import '
|
|
18
|
-
import '@modelcontextprotocol/sdk/client/stdio.js';
|
|
19
|
-
import '@modelcontextprotocol/sdk/types.js';
|
|
20
|
-
import 'zod';
|
|
17
|
+
import 'node:readline';
|
|
21
18
|
import 'node:fs/promises';
|
|
22
19
|
import 'node:util';
|
|
23
20
|
import 'yaml';
|