svamp-cli 0.2.262 → 0.2.264
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-Da1IvglZ.mjs → agentCommands-BZPDL-1B.mjs} +5 -5
- package/dist/{auth-0oP68YeR.mjs → auth-Dv8z9Dg0.mjs} +1 -1
- package/dist/cli-CNorTj26.mjs +2460 -0
- package/dist/cli.mjs +3 -2438
- package/dist/{commands-CijMDYaV.mjs → commands-BmpHRl5s.mjs} +1 -1
- package/dist/{commands-B8iRZu9B.mjs → commands-CSNOKRVn.mjs} +2 -2
- package/dist/{commands-uXRdAqOg.mjs → commands-DNyzbWPw.mjs} +6 -6
- package/dist/{commands-DvsieDv9.mjs → commands-D_YqjDY4.mjs} +4 -2
- package/dist/{commands-BO0qy2Y0.mjs → commands-Dg_nTA2I.mjs} +2 -2
- package/dist/{commands-QXKWC_Ft.mjs → commands-DuPRCS2G.mjs} +1 -1
- package/dist/{commands-CRJ6c4Ea.mjs → commands-Kk7AH5dR.mjs} +1 -1
- package/dist/{fleet-BAWJhQsC.mjs → fleet-DkFOlkxS.mjs} +1 -1
- package/dist/{frpc-B7han0nb.mjs → frpc-DmaWRu0M.mjs} +1 -1
- package/dist/{headlessCli-qwpjuvFV.mjs → headlessCli-DFsJaJ2p.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{package-BejWpjWo.mjs → package-Cz5Z0buw.mjs} +2 -2
- package/dist/{rpc-DmHEcy9B.mjs → rpc-Db3BR76v.mjs} +1 -1
- package/dist/{rpc-1svTrXB4.mjs → rpc-DswYjrCh.mjs} +1 -1
- package/dist/{run-B7I_RGWW.mjs → run-C3qTQEDV.mjs} +1 -1
- package/dist/{run-BPaC3cDA.mjs → run-kkeXP2d_.mjs} +107 -44
- package/dist/{scheduler-oOaKoCTW.mjs → scheduler-DhKDP3hC.mjs} +1 -1
- package/dist/{serveCommands-CIF6ecFk.mjs → serveCommands-BVJR3K9P.mjs} +5 -5
- package/dist/{serveManager-BiNjVxjK.mjs → serveManager-a_dIQuK4.mjs} +2 -2
- package/dist/{sideband-COSN23AN.mjs → sideband-CIJUNKUA.mjs} +1 -1
- 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 {
|
|
5
|
+
import { i as shortId } from './run-kkeXP2d_.mjs';
|
|
6
6
|
import 'os';
|
|
7
7
|
import 'fs/promises';
|
|
8
8
|
import 'fs';
|
|
@@ -94,7 +94,7 @@ async function sessionSetTitle(title) {
|
|
|
94
94
|
}
|
|
95
95
|
async function sessionSetProjectDescription(description) {
|
|
96
96
|
const dir = process.cwd();
|
|
97
|
-
const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-
|
|
97
|
+
const { projectName, writeProjectInfo, sanitizeDescription, projectInfoPath } = await import('./run-kkeXP2d_.mjs').then(function (n) { return n.al; });
|
|
98
98
|
const desc = sanitizeDescription(description, 240);
|
|
99
99
|
if (!desc) {
|
|
100
100
|
console.error("Project description is empty.");
|
|
@@ -341,7 +341,7 @@ async function sessionBroadcast(action, args) {
|
|
|
341
341
|
console.log(`Broadcast sent: ${action}`);
|
|
342
342
|
}
|
|
343
343
|
async function connectToMachineService() {
|
|
344
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
344
|
+
const { connectAndGetMachine } = await import('./commands-DuPRCS2G.mjs');
|
|
345
345
|
return connectAndGetMachine();
|
|
346
346
|
}
|
|
347
347
|
function buildInboxMessage(args) {
|
|
@@ -419,7 +419,7 @@ async function inboxSend(targetSessionId, opts) {
|
|
|
419
419
|
console.error("Message body is required.");
|
|
420
420
|
process.exit(1);
|
|
421
421
|
}
|
|
422
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
422
|
+
const { connectAndResolveSession } = await import('./commands-DuPRCS2G.mjs');
|
|
423
423
|
let server;
|
|
424
424
|
try {
|
|
425
425
|
const { targetId, messageId } = await inboxSendCore(
|
|
@@ -473,7 +473,7 @@ async function inboxReply(messageId, body) {
|
|
|
473
473
|
console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
|
|
474
474
|
process.exit(1);
|
|
475
475
|
}
|
|
476
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
476
|
+
const { connectAndResolveSession } = await import('./commands-DuPRCS2G.mjs');
|
|
477
477
|
const { server: localServer, machine: localMachine } = await connectToMachineService();
|
|
478
478
|
let localDisconnected = false;
|
|
479
479
|
const disconnectLocal = async () => {
|