svamp-cli 0.2.176 → 0.2.177
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/bin/skills/loop/SKILL.md +1 -1
- package/dist/{agentCommands-kchQlyIS.mjs → agentCommands-DWvXxX8p.mjs} +5 -5
- package/dist/{auth-oH2upjHc.mjs → auth-Dxka4cE6.mjs} +1 -1
- package/dist/cli.mjs +60 -64
- package/dist/{commands-CbrJ16x7.mjs → commands--dKRqMv8.mjs} +5 -5
- package/dist/{commands-DGkX7Kcr.mjs → commands-B4u6CUWH.mjs} +1 -1
- package/dist/{commands-USG2Z4XP.mjs → commands-Bf-TovMw.mjs} +1 -1
- package/dist/{commands-DHbv5qMP.mjs → commands-BwBxmMxJ.mjs} +1 -1
- package/dist/{commands-Cu6nPOsD.mjs → commands-CwdYZQ-a.mjs} +1 -1
- package/dist/{commands-9LT5p45A.mjs → commands-DVKFo1pt.mjs} +2 -2
- package/dist/{commands-CXtkDntj.mjs → commands-iXMwyExn.mjs} +2 -2
- package/dist/{fleet-BcS8xNkk.mjs → fleet-plROHfB8.mjs} +1 -1
- package/dist/{frpc-Bm7BrLan.mjs → frpc-yc5-4EUe.mjs} +1 -1
- package/dist/{headlessCli-B4CVNI7S.mjs → headlessCli-D7vLrl7K.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{package-DndVS0ln.mjs → package-Do-iBoUv.mjs} +2 -2
- package/dist/{rpc-DVNDMfl8.mjs → rpc-D1gr74eF.mjs} +1 -1
- package/dist/{rpc-BbaS0cLh.mjs → rpc-DUZqKPK4.mjs} +1 -1
- package/dist/{run-BmpyfykC.mjs → run-21-bMHCc.mjs} +19 -403
- package/dist/{run-Cr1yt_tm.mjs → run-C__yViCA.mjs} +1 -1
- package/dist/{scheduler-BusuolPD.mjs → scheduler-DweevMw_.mjs} +1 -1
- package/dist/{serveCommands-Crb8ENkv.mjs → serveCommands-BZmiAjxi.mjs} +5 -5
- package/dist/{serveManager-DQByExEO.mjs → serveManager-AbWv-Akt.mjs} +2 -2
- package/dist/{sideband-B4L2zR2U.mjs → sideband-CzzHtakf.mjs} +1 -1
- package/package.json +2 -2
- package/bin/skills/loop/bin/routine-cli.mjs +0 -121
- package/bin/skills/loop/bin/routine-runner.mjs +0 -125
- package/bin/skills/loop/bin/routine-store.mjs +0 -49
- package/bin/skills/loop/routines.process.yaml +0 -20
- package/bin/skills/loop/test/test-routine-engine.mjs +0 -122
- package/dist/commands-DBi7fxGX.mjs +0 -223
package/bin/skills/loop/SKILL.md
CHANGED
|
@@ -93,7 +93,7 @@ This generates: `LOOP.md` (task/criteria/progress), `.claude/loop/loop.config.js
|
|
|
93
93
|
- **Stronger judgment?** Point the evaluator at a stronger model via `--model`.
|
|
94
94
|
- **Cheaper?** Disable the evaluator (`--evaluator off`) and rely on the oracle alone for purely objective tasks.
|
|
95
95
|
- **Different exit logic** (scores/thresholds, FINISH/REFINE/PIVOT strategies, multi-dimensional rubrics): the verdict file is just JSON and the gate reads it — richer verdicts can be added without changing the protocol.
|
|
96
|
-
- **
|
|
96
|
+
- **Scheduling & lifecycle** (run on a schedule): handled by Workflows (`svamp workflow add … --on schedule --cron "…"`, GitHub-Actions-style), not this skill — a workflow step can start a loop (`svamp session loop …`). The loop itself stays a pure iterate-until-done engine.
|
|
97
97
|
- **Compaction handoff**: progress in `LOOP.md` is the handoff artifact; a `PreCompact` hook can flush it automatically for very long runs.
|
|
98
98
|
|
|
99
99
|
The contract that must never change: **work is decided done by something other than the worker, and the loop's memory lives on disk.** Everything else is tunable.
|
|
@@ -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 { x as shortId } from './run-21-bMHCc.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-21-bMHCc.mjs').then(function (n) { return n.a3; });
|
|
100
100
|
const desc = sanitizeDescription(description, 240);
|
|
101
101
|
if (!desc) {
|
|
102
102
|
console.error("Project description is empty.");
|
|
@@ -180,7 +180,7 @@ async function sessionBroadcast(action, args) {
|
|
|
180
180
|
console.log(`Broadcast sent: ${action}`);
|
|
181
181
|
}
|
|
182
182
|
async function connectToMachineService() {
|
|
183
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
183
|
+
const { connectAndGetMachine } = await import('./commands-B4u6CUWH.mjs');
|
|
184
184
|
return connectAndGetMachine();
|
|
185
185
|
}
|
|
186
186
|
function buildInboxMessage(args) {
|
|
@@ -258,7 +258,7 @@ async function inboxSend(targetSessionId, opts) {
|
|
|
258
258
|
console.error("Message body is required.");
|
|
259
259
|
process.exit(1);
|
|
260
260
|
}
|
|
261
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
261
|
+
const { connectAndResolveSession } = await import('./commands-B4u6CUWH.mjs');
|
|
262
262
|
let server;
|
|
263
263
|
try {
|
|
264
264
|
const { targetId, messageId } = await inboxSendCore(
|
|
@@ -312,7 +312,7 @@ async function inboxReply(messageId, body) {
|
|
|
312
312
|
console.error("SVAMP_SESSION_ID not set. This command must be run inside a Svamp session.");
|
|
313
313
|
process.exit(1);
|
|
314
314
|
}
|
|
315
|
-
const { connectAndResolveSession } = await import('./commands-
|
|
315
|
+
const { connectAndResolveSession } = await import('./commands-B4u6CUWH.mjs');
|
|
316
316
|
const { server: localServer, machine: localMachine } = await connectToMachineService();
|
|
317
317
|
let localDisconnected = false;
|
|
318
318
|
const disconnectLocal = async () => {
|
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as clearStopMarker, f as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-
|
|
1
|
+
import { e as clearStopMarker, f as stopMarkerExists, s as startDaemon, b as stopDaemon, d as daemonStatus } from './run-21-bMHCc.mjs';
|
|
2
2
|
import { ensureSupervisorViaServiceManager, LAUNCHD_LABEL } from './serviceManager-hlOVxkhW.mjs';
|
|
3
3
|
import 'os';
|
|
4
4
|
import 'fs/promises';
|
|
@@ -34,7 +34,7 @@ const subcommand = args[0];
|
|
|
34
34
|
let daemonSubcommand = args[1];
|
|
35
35
|
async function main() {
|
|
36
36
|
try {
|
|
37
|
-
const { getLoadedConfig } = await import('./run-
|
|
37
|
+
const { getLoadedConfig } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.aa; });
|
|
38
38
|
getLoadedConfig();
|
|
39
39
|
} catch {
|
|
40
40
|
}
|
|
@@ -51,7 +51,7 @@ async function main() {
|
|
|
51
51
|
console.error(`svamp daemon restart: ${err.message || err}`);
|
|
52
52
|
process.exit(1);
|
|
53
53
|
}
|
|
54
|
-
const { restartDaemon } = await import('./run-
|
|
54
|
+
const { restartDaemon } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.ac; });
|
|
55
55
|
await restartDaemon();
|
|
56
56
|
process.exit(0);
|
|
57
57
|
}
|
|
@@ -344,7 +344,7 @@ async function main() {
|
|
|
344
344
|
console.error("svamp service: Service commands are not available in sandboxed sessions.");
|
|
345
345
|
process.exit(1);
|
|
346
346
|
}
|
|
347
|
-
const { handleServiceCommand } = await import('./commands
|
|
347
|
+
const { handleServiceCommand } = await import('./commands--dKRqMv8.mjs');
|
|
348
348
|
await handleServiceCommand();
|
|
349
349
|
} else if (subcommand === "serve") {
|
|
350
350
|
const { isSandboxed: isSandboxedServe } = await import('./sandboxDetect-DNTcbgWD.mjs');
|
|
@@ -352,7 +352,7 @@ async function main() {
|
|
|
352
352
|
console.error("svamp serve: Serve commands are not available in sandboxed sessions.");
|
|
353
353
|
process.exit(1);
|
|
354
354
|
}
|
|
355
|
-
const { handleServeCommand } = await import('./serveCommands-
|
|
355
|
+
const { handleServeCommand } = await import('./serveCommands-BZmiAjxi.mjs');
|
|
356
356
|
await handleServeCommand();
|
|
357
357
|
process.exit(0);
|
|
358
358
|
} else if (subcommand === "process" || subcommand === "proc") {
|
|
@@ -361,7 +361,7 @@ async function main() {
|
|
|
361
361
|
console.error("svamp process: Process commands are not available in sandboxed sessions.");
|
|
362
362
|
process.exit(1);
|
|
363
363
|
}
|
|
364
|
-
const { processCommand } = await import('./commands-
|
|
364
|
+
const { processCommand } = await import('./commands-DVKFo1pt.mjs');
|
|
365
365
|
let machineId;
|
|
366
366
|
const processArgs = args.slice(1);
|
|
367
367
|
const mIdx = processArgs.findIndex((a) => a === "--machine" || a === "-m");
|
|
@@ -375,22 +375,18 @@ async function main() {
|
|
|
375
375
|
}), machineId);
|
|
376
376
|
process.exit(0);
|
|
377
377
|
} else if (subcommand === "issue" || subcommand === "issues") {
|
|
378
|
-
const { issueCommand } = await import('./commands-
|
|
378
|
+
const { issueCommand } = await import('./commands-CwdYZQ-a.mjs');
|
|
379
379
|
await issueCommand(args.slice(1));
|
|
380
380
|
process.exit(0);
|
|
381
381
|
} else if (subcommand === "workflow" || subcommand === "workflows") {
|
|
382
|
-
const { workflowCommand } = await import('./commands-
|
|
382
|
+
const { workflowCommand } = await import('./commands-BwBxmMxJ.mjs');
|
|
383
383
|
await workflowCommand(args.slice(1));
|
|
384
384
|
process.exit(0);
|
|
385
|
-
} else if (subcommand === "trigger" || subcommand === "triggers" || subcommand === "routine" || subcommand === "routines") {
|
|
386
|
-
const { routineCommand } = await import('./commands-DBi7fxGX.mjs');
|
|
387
|
-
await routineCommand(args.slice(1));
|
|
388
|
-
process.exit(0);
|
|
389
385
|
} else if (subcommand === "wise-agent" || subcommand === "wise") {
|
|
390
386
|
await handleWiseAgentCommand(args.slice(1));
|
|
391
387
|
process.exit(0);
|
|
392
388
|
} else if (subcommand === "feature" || subcommand === "crew") {
|
|
393
|
-
const { crewCommand } = await import('./commands-
|
|
389
|
+
const { crewCommand } = await import('./commands-iXMwyExn.mjs');
|
|
394
390
|
await crewCommand(args.slice(1));
|
|
395
391
|
process.exit(0);
|
|
396
392
|
} else if (subcommand === "--help" || subcommand === "-h") {
|
|
@@ -398,7 +394,7 @@ async function main() {
|
|
|
398
394
|
} else if (!subcommand || subcommand === "start") {
|
|
399
395
|
await handleInteractiveCommand();
|
|
400
396
|
} else if (subcommand === "--version" || subcommand === "-v") {
|
|
401
|
-
const pkg = await import('./package-
|
|
397
|
+
const pkg = await import('./package-Do-iBoUv.mjs').catch(() => ({ default: { version: "unknown" } }));
|
|
402
398
|
console.log(`svamp version: ${pkg.default.version}`);
|
|
403
399
|
} else {
|
|
404
400
|
console.error(`Unknown command: ${subcommand}`);
|
|
@@ -407,7 +403,7 @@ async function main() {
|
|
|
407
403
|
}
|
|
408
404
|
}
|
|
409
405
|
async function handleInteractiveCommand() {
|
|
410
|
-
const { runInteractive } = await import('./run-
|
|
406
|
+
const { runInteractive } = await import('./run-C__yViCA.mjs');
|
|
411
407
|
const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
|
|
412
408
|
let directory = process.cwd();
|
|
413
409
|
let resumeSessionId;
|
|
@@ -452,7 +448,7 @@ async function handleAgentCommand() {
|
|
|
452
448
|
return;
|
|
453
449
|
}
|
|
454
450
|
if (agentArgs[0] === "list") {
|
|
455
|
-
const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-
|
|
451
|
+
const { KNOWN_ACP_AGENTS, KNOWN_MCP_AGENTS: KNOWN_MCP_AGENTS2 } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a6; });
|
|
456
452
|
console.log("Known agents:");
|
|
457
453
|
for (const [name, config2] of Object.entries(KNOWN_ACP_AGENTS)) {
|
|
458
454
|
console.log(` ${name.padEnd(12)} ${config2.command} ${config2.args.join(" ")} (ACP)`);
|
|
@@ -464,7 +460,7 @@ async function handleAgentCommand() {
|
|
|
464
460
|
console.log('Use "svamp agent -- <command> [args]" for a custom ACP agent.');
|
|
465
461
|
return;
|
|
466
462
|
}
|
|
467
|
-
const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-
|
|
463
|
+
const { resolveAcpAgentConfig, KNOWN_MCP_AGENTS } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a6; });
|
|
468
464
|
let cwd = process.cwd();
|
|
469
465
|
const filteredArgs = [];
|
|
470
466
|
for (let i = 0; i < agentArgs.length; i++) {
|
|
@@ -488,12 +484,12 @@ async function handleAgentCommand() {
|
|
|
488
484
|
console.log(`Starting ${config.agentName} agent in ${cwd}...`);
|
|
489
485
|
let backend;
|
|
490
486
|
if (KNOWN_MCP_AGENTS[config.agentName]) {
|
|
491
|
-
const { CodexMcpBackend } = await import('./run-
|
|
487
|
+
const { CodexMcpBackend } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a7; });
|
|
492
488
|
backend = new CodexMcpBackend({ cwd, log: logFn });
|
|
493
489
|
} else {
|
|
494
|
-
const { AcpBackend } = await import('./run-
|
|
495
|
-
const { GeminiTransport } = await import('./run-
|
|
496
|
-
const { DefaultTransport } = await import('./run-
|
|
490
|
+
const { AcpBackend } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a5; });
|
|
491
|
+
const { GeminiTransport } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a8; });
|
|
492
|
+
const { DefaultTransport } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a4; });
|
|
497
493
|
const transportHandler = config.agentName === "gemini" ? new GeminiTransport() : new DefaultTransport(config.agentName);
|
|
498
494
|
backend = new AcpBackend({
|
|
499
495
|
agentName: config.agentName,
|
|
@@ -620,7 +616,7 @@ async function handleSessionCommand() {
|
|
|
620
616
|
process.exit(1);
|
|
621
617
|
}
|
|
622
618
|
}
|
|
623
|
-
const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-
|
|
619
|
+
const { sessionList, sessionWhoami, sessionSpawn, sessionArchive, sessionResume, sessionDelete, sessionInfo, sessionMessages, sessionAttach, sessionMachines, sessionSend, sessionWait, sessionShare, sessionLoopStart, sessionLoopCancel, sessionLoopStatus, sessionInboxSend, sessionInboxList, sessionInboxRead, sessionInboxReply, sessionInboxClear } = await import('./commands-B4u6CUWH.mjs');
|
|
624
620
|
const parseFlagStr = (flag, shortFlag) => {
|
|
625
621
|
for (let i = 1; i < sessionArgs.length; i++) {
|
|
626
622
|
if ((sessionArgs[i] === flag || shortFlag) && i + 1 < sessionArgs.length) {
|
|
@@ -688,7 +684,7 @@ async function handleSessionCommand() {
|
|
|
688
684
|
allowDomain.push(sessionArgs[++i]);
|
|
689
685
|
}
|
|
690
686
|
}
|
|
691
|
-
const { parseShareArg } = await import('./commands-
|
|
687
|
+
const { parseShareArg } = await import('./commands-B4u6CUWH.mjs');
|
|
692
688
|
const shareEntries = share.map((s) => parseShareArg(s));
|
|
693
689
|
await sessionSpawn(agent, dir, targetMachineId, {
|
|
694
690
|
message,
|
|
@@ -773,7 +769,7 @@ async function handleSessionCommand() {
|
|
|
773
769
|
console.error(" Rewinds history: rewrites the message + drops everything after it, then restarts Claude.");
|
|
774
770
|
process.exit(1);
|
|
775
771
|
}
|
|
776
|
-
const { sessionEditMessage } = await import('./commands-
|
|
772
|
+
const { sessionEditMessage } = await import('./commands-B4u6CUWH.mjs');
|
|
777
773
|
await sessionEditMessage(sessionArgs[1], sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
778
774
|
} else if (sessionSubcommand === "refine") {
|
|
779
775
|
if (!sessionArgs[1] || !sessionArgs[2]) {
|
|
@@ -781,7 +777,7 @@ async function handleSessionCommand() {
|
|
|
781
777
|
console.error(" Asks the agent to revise its latest reply in place (no extra round).");
|
|
782
778
|
process.exit(1);
|
|
783
779
|
}
|
|
784
|
-
const { sessionRefineLastReply } = await import('./commands-
|
|
780
|
+
const { sessionRefineLastReply } = await import('./commands-B4u6CUWH.mjs');
|
|
785
781
|
await sessionRefineLastReply(sessionArgs[1], sessionArgs[2], targetMachineId);
|
|
786
782
|
} else if (sessionSubcommand === "undo-edit" || sessionSubcommand === "undo") {
|
|
787
783
|
if (!sessionArgs[1]) {
|
|
@@ -789,7 +785,7 @@ async function handleSessionCommand() {
|
|
|
789
785
|
console.error(" Reverts the most recent edit/refine, restoring the pre-edit history.");
|
|
790
786
|
process.exit(1);
|
|
791
787
|
}
|
|
792
|
-
const { sessionUndoEdit } = await import('./commands-
|
|
788
|
+
const { sessionUndoEdit } = await import('./commands-B4u6CUWH.mjs');
|
|
793
789
|
await sessionUndoEdit(sessionArgs[1], targetMachineId);
|
|
794
790
|
} else if (sessionSubcommand === "query") {
|
|
795
791
|
const dir = sessionArgs[1];
|
|
@@ -799,7 +795,7 @@ async function handleSessionCommand() {
|
|
|
799
795
|
console.error(" Spawns a stateless Claude session in <directory>, sends <prompt>, prints the answer, then deletes the session.");
|
|
800
796
|
process.exit(1);
|
|
801
797
|
}
|
|
802
|
-
const { sessionQuery } = await import('./commands-
|
|
798
|
+
const { sessionQuery } = await import('./commands-B4u6CUWH.mjs');
|
|
803
799
|
await sessionQuery(dir, prompt, targetMachineId, {
|
|
804
800
|
timeout: parseFlagInt("--timeout"),
|
|
805
801
|
json: hasFlag("--json"),
|
|
@@ -832,7 +828,7 @@ async function handleSessionCommand() {
|
|
|
832
828
|
console.error("Usage: svamp session approve <session-id> [request-id] [--json]");
|
|
833
829
|
process.exit(1);
|
|
834
830
|
}
|
|
835
|
-
const { sessionApprove } = await import('./commands-
|
|
831
|
+
const { sessionApprove } = await import('./commands-B4u6CUWH.mjs');
|
|
836
832
|
const approveReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
837
833
|
await sessionApprove(sessionArgs[1], approveReqId, targetMachineId, {
|
|
838
834
|
json: hasFlag("--json")
|
|
@@ -842,7 +838,7 @@ async function handleSessionCommand() {
|
|
|
842
838
|
console.error("Usage: svamp session deny <session-id> [request-id] [--json]");
|
|
843
839
|
process.exit(1);
|
|
844
840
|
}
|
|
845
|
-
const { sessionDeny } = await import('./commands-
|
|
841
|
+
const { sessionDeny } = await import('./commands-B4u6CUWH.mjs');
|
|
846
842
|
const denyReqId = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
847
843
|
await sessionDeny(sessionArgs[1], denyReqId, targetMachineId, {
|
|
848
844
|
json: hasFlag("--json")
|
|
@@ -884,7 +880,7 @@ async function handleSessionCommand() {
|
|
|
884
880
|
console.error("Usage: svamp session set-title <title>");
|
|
885
881
|
process.exit(1);
|
|
886
882
|
}
|
|
887
|
-
const { sessionSetTitle } = await import('./agentCommands-
|
|
883
|
+
const { sessionSetTitle } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
888
884
|
await sessionSetTitle(title);
|
|
889
885
|
} else if (sessionSubcommand === "set-project-description" || sessionSubcommand === "set-project") {
|
|
890
886
|
const desc = sessionArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
@@ -892,7 +888,7 @@ async function handleSessionCommand() {
|
|
|
892
888
|
console.error("Usage: svamp session set-project-description <text>");
|
|
893
889
|
process.exit(1);
|
|
894
890
|
}
|
|
895
|
-
const { sessionSetProjectDescription } = await import('./agentCommands-
|
|
891
|
+
const { sessionSetProjectDescription } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
896
892
|
await sessionSetProjectDescription(desc);
|
|
897
893
|
} else if (sessionSubcommand === "set-link") {
|
|
898
894
|
const url = sessionArgs[1];
|
|
@@ -901,7 +897,7 @@ async function handleSessionCommand() {
|
|
|
901
897
|
process.exit(1);
|
|
902
898
|
}
|
|
903
899
|
const label = sessionArgs[2] && !sessionArgs[2].startsWith("--") ? sessionArgs[2] : void 0;
|
|
904
|
-
const { sessionSetLink } = await import('./agentCommands-
|
|
900
|
+
const { sessionSetLink } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
905
901
|
await sessionSetLink(url, label);
|
|
906
902
|
} else if (sessionSubcommand === "notify") {
|
|
907
903
|
const message = sessionArgs[1];
|
|
@@ -910,7 +906,7 @@ async function handleSessionCommand() {
|
|
|
910
906
|
process.exit(1);
|
|
911
907
|
}
|
|
912
908
|
const level = parseFlagStr("--level") || "info";
|
|
913
|
-
const { sessionNotify } = await import('./agentCommands-
|
|
909
|
+
const { sessionNotify } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
914
910
|
await sessionNotify(message, level);
|
|
915
911
|
} else if (sessionSubcommand === "broadcast") {
|
|
916
912
|
const action = sessionArgs[1];
|
|
@@ -918,7 +914,7 @@ async function handleSessionCommand() {
|
|
|
918
914
|
console.error("Usage: svamp session broadcast <action> [args...]\nActions: open-canvas <url> [label], close-canvas, toast <message>");
|
|
919
915
|
process.exit(1);
|
|
920
916
|
}
|
|
921
|
-
const { sessionBroadcast } = await import('./agentCommands-
|
|
917
|
+
const { sessionBroadcast } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
922
918
|
await sessionBroadcast(action, sessionArgs.slice(2).filter((a) => !a.startsWith("--")));
|
|
923
919
|
} else if (sessionSubcommand === "inbox") {
|
|
924
920
|
const inboxSubcmd = sessionArgs[1];
|
|
@@ -929,7 +925,7 @@ async function handleSessionCommand() {
|
|
|
929
925
|
process.exit(1);
|
|
930
926
|
}
|
|
931
927
|
if (agentSessionId) {
|
|
932
|
-
const { inboxSend } = await import('./agentCommands-
|
|
928
|
+
const { inboxSend } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
933
929
|
await inboxSend(sessionArgs[2], {
|
|
934
930
|
body: sessionArgs[3],
|
|
935
931
|
subject: parseFlagStr("--subject"),
|
|
@@ -944,7 +940,7 @@ async function handleSessionCommand() {
|
|
|
944
940
|
}
|
|
945
941
|
} else if (inboxSubcmd === "list" || inboxSubcmd === "ls") {
|
|
946
942
|
if (agentSessionId && !sessionArgs[2]) {
|
|
947
|
-
const { inboxList } = await import('./agentCommands-
|
|
943
|
+
const { inboxList } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
948
944
|
await inboxList({
|
|
949
945
|
unread: hasFlag("--unread"),
|
|
950
946
|
limit: parseFlagInt("--limit"),
|
|
@@ -966,7 +962,7 @@ async function handleSessionCommand() {
|
|
|
966
962
|
process.exit(1);
|
|
967
963
|
}
|
|
968
964
|
if (agentSessionId && !sessionArgs[3]) {
|
|
969
|
-
const { inboxList } = await import('./agentCommands-
|
|
965
|
+
const { inboxList } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
970
966
|
await sessionInboxRead(agentSessionId, sessionArgs[2], targetMachineId);
|
|
971
967
|
} else if (sessionArgs[3]) {
|
|
972
968
|
await sessionInboxRead(sessionArgs[2], sessionArgs[3], targetMachineId);
|
|
@@ -976,7 +972,7 @@ async function handleSessionCommand() {
|
|
|
976
972
|
}
|
|
977
973
|
} else if (inboxSubcmd === "reply") {
|
|
978
974
|
if (agentSessionId && sessionArgs[2] && sessionArgs[3] && !sessionArgs[4]) {
|
|
979
|
-
const { inboxReply } = await import('./agentCommands-
|
|
975
|
+
const { inboxReply } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
980
976
|
await inboxReply(sessionArgs[2], sessionArgs[3]);
|
|
981
977
|
} else if (sessionArgs[2] && sessionArgs[3] && sessionArgs[4]) {
|
|
982
978
|
await sessionInboxReply(sessionArgs[2], sessionArgs[3], sessionArgs[4], targetMachineId);
|
|
@@ -1012,7 +1008,7 @@ async function handleMachineCommand() {
|
|
|
1012
1008
|
return;
|
|
1013
1009
|
}
|
|
1014
1010
|
if (machineSubcommand === "share") {
|
|
1015
|
-
const { machineShare } = await import('./commands-
|
|
1011
|
+
const { machineShare } = await import('./commands-B4u6CUWH.mjs');
|
|
1016
1012
|
let machineId;
|
|
1017
1013
|
const shareArgs = [];
|
|
1018
1014
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
@@ -1063,14 +1059,14 @@ async function handleMachineCommand() {
|
|
|
1063
1059
|
process.exit(1);
|
|
1064
1060
|
}
|
|
1065
1061
|
if (all) {
|
|
1066
|
-
const { fleetExec } = await import('./fleet-
|
|
1062
|
+
const { fleetExec } = await import('./fleet-plROHfB8.mjs');
|
|
1067
1063
|
await fleetExec(command, { cwd });
|
|
1068
1064
|
} else {
|
|
1069
|
-
const { machineExec } = await import('./commands-
|
|
1065
|
+
const { machineExec } = await import('./commands-B4u6CUWH.mjs');
|
|
1070
1066
|
await machineExec(machineId, command, cwd);
|
|
1071
1067
|
}
|
|
1072
1068
|
} else if (machineSubcommand === "info") {
|
|
1073
|
-
const { machineInfo } = await import('./commands-
|
|
1069
|
+
const { machineInfo } = await import('./commands-B4u6CUWH.mjs');
|
|
1074
1070
|
let machineId;
|
|
1075
1071
|
for (let i = 1; i < machineArgs.length; i++) {
|
|
1076
1072
|
if ((machineArgs[i] === "--machine" || machineArgs[i] === "-m") && i + 1 < machineArgs.length) {
|
|
@@ -1090,10 +1086,10 @@ async function handleMachineCommand() {
|
|
|
1090
1086
|
level = machineArgs[++i];
|
|
1091
1087
|
}
|
|
1092
1088
|
}
|
|
1093
|
-
const { machineNotify } = await import('./agentCommands-
|
|
1089
|
+
const { machineNotify } = await import('./agentCommands-DWvXxX8p.mjs');
|
|
1094
1090
|
await machineNotify(message, level);
|
|
1095
1091
|
} else if (machineSubcommand === "ls") {
|
|
1096
|
-
const { machineLs } = await import('./commands-
|
|
1092
|
+
const { machineLs } = await import('./commands-B4u6CUWH.mjs');
|
|
1097
1093
|
let machineId;
|
|
1098
1094
|
let showHidden = false;
|
|
1099
1095
|
let path;
|
|
@@ -1149,20 +1145,20 @@ Examples:
|
|
|
1149
1145
|
};
|
|
1150
1146
|
const hasFlag = (name) => fleetArgs.includes(`--${name}`);
|
|
1151
1147
|
if (sub === "status") {
|
|
1152
|
-
const { fleetStatus } = await import('./fleet-
|
|
1148
|
+
const { fleetStatus } = await import('./fleet-plROHfB8.mjs');
|
|
1153
1149
|
await fleetStatus();
|
|
1154
1150
|
} else if (sub === "upgrade-claude") {
|
|
1155
|
-
const { fleetUpgradeClaude } = await import('./fleet-
|
|
1151
|
+
const { fleetUpgradeClaude } = await import('./fleet-plROHfB8.mjs');
|
|
1156
1152
|
await fleetUpgradeClaude({ version: flag("version", "-v") });
|
|
1157
1153
|
} else if (sub === "upgrade-svamp") {
|
|
1158
|
-
const { fleetUpgradeSvamp } = await import('./fleet-
|
|
1154
|
+
const { fleetUpgradeSvamp } = await import('./fleet-plROHfB8.mjs');
|
|
1159
1155
|
await fleetUpgradeSvamp({ version: flag("version", "-v"), excludeSelf: hasFlag("exclude-self") });
|
|
1160
1156
|
} else if (sub === "daemon-restart") {
|
|
1161
|
-
const { fleetDaemonRestart } = await import('./fleet-
|
|
1157
|
+
const { fleetDaemonRestart } = await import('./fleet-plROHfB8.mjs');
|
|
1162
1158
|
await fleetDaemonRestart({ graceful: !hasFlag("cleanup") });
|
|
1163
1159
|
} else if (sub === "push-skill") {
|
|
1164
1160
|
const name = fleetArgs[1];
|
|
1165
|
-
const { fleetPushSkill } = await import('./fleet-
|
|
1161
|
+
const { fleetPushSkill } = await import('./fleet-plROHfB8.mjs');
|
|
1166
1162
|
await fleetPushSkill(name);
|
|
1167
1163
|
} else {
|
|
1168
1164
|
console.error(`Unknown fleet subcommand: ${sub}`);
|
|
@@ -1178,7 +1174,7 @@ async function handleSkillsCommand() {
|
|
|
1178
1174
|
await printSkillsHelp();
|
|
1179
1175
|
return;
|
|
1180
1176
|
}
|
|
1181
|
-
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-
|
|
1177
|
+
const { skillsFind, skillsInstall, skillsList, skillsRemove, skillsPublish } = await import('./commands-Bf-TovMw.mjs');
|
|
1182
1178
|
if (skillsSubcommand === "find" || skillsSubcommand === "search") {
|
|
1183
1179
|
const query = skillsArgs.slice(1).filter((a) => !a.startsWith("--")).join(" ");
|
|
1184
1180
|
if (!query) {
|
|
@@ -1225,7 +1221,7 @@ async function loginToHypha() {
|
|
|
1225
1221
|
process.exit(1);
|
|
1226
1222
|
}
|
|
1227
1223
|
const anchor = anchorArg.replace(/\/+$/, "");
|
|
1228
|
-
const { loadInstanceConfig } = await import('./run-
|
|
1224
|
+
const { loadInstanceConfig } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.aa; });
|
|
1229
1225
|
let cfg = null;
|
|
1230
1226
|
try {
|
|
1231
1227
|
cfg = await loadInstanceConfig({ anchor, force: true });
|
|
@@ -1336,7 +1332,7 @@ async function logoutFromHypha() {
|
|
|
1336
1332
|
} catch {
|
|
1337
1333
|
}
|
|
1338
1334
|
try {
|
|
1339
|
-
const { clearInstanceConfigCache } = await import('./run-
|
|
1335
|
+
const { clearInstanceConfigCache } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.aa; });
|
|
1340
1336
|
clearInstanceConfigCache();
|
|
1341
1337
|
} catch {
|
|
1342
1338
|
}
|
|
@@ -1674,7 +1670,7 @@ async function applyClaudeAuthFlags(argv) {
|
|
|
1674
1670
|
"--use-hypha-proxy, --use-claude-login, and --anthropic-base-url/--anthropic-api-key are mutually exclusive"
|
|
1675
1671
|
);
|
|
1676
1672
|
}
|
|
1677
|
-
const mod = await import('./run-
|
|
1673
|
+
const mod = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a9; });
|
|
1678
1674
|
if (hasHypha) {
|
|
1679
1675
|
let url;
|
|
1680
1676
|
const hyphaIdx = argv.indexOf("--use-hypha-proxy");
|
|
@@ -1728,7 +1724,7 @@ async function applyDaemonShareFlag(argv) {
|
|
|
1728
1724
|
}
|
|
1729
1725
|
}
|
|
1730
1726
|
if (collected.length === 0) return;
|
|
1731
|
-
const { updateEnvFile } = await import('./run-
|
|
1727
|
+
const { updateEnvFile } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a9; });
|
|
1732
1728
|
const seen = /* @__PURE__ */ new Set();
|
|
1733
1729
|
const deduped = collected.filter((e) => {
|
|
1734
1730
|
const k = e.toLowerCase();
|
|
@@ -1761,7 +1757,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1761
1757
|
}
|
|
1762
1758
|
});
|
|
1763
1759
|
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(" ");
|
|
1764
|
-
const { wiseAskCli } = await import('./commands-
|
|
1760
|
+
const { wiseAskCli } = await import('./commands-B4u6CUWH.mjs');
|
|
1765
1761
|
await wiseAskCli(machineId, message, sessionId, { json });
|
|
1766
1762
|
return;
|
|
1767
1763
|
}
|
|
@@ -1773,7 +1769,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1773
1769
|
}
|
|
1774
1770
|
return void 0;
|
|
1775
1771
|
};
|
|
1776
|
-
const { runWiseVoiceCli } = await import('./headlessCli-
|
|
1772
|
+
const { runWiseVoiceCli } = await import('./headlessCli-D7vLrl7K.mjs');
|
|
1777
1773
|
await runWiseVoiceCli({ voice: valueOf(["--voice"]), wakeKeywordPath: valueOf(["--wake"]), model: valueOf(["--model"]) });
|
|
1778
1774
|
return;
|
|
1779
1775
|
}
|
|
@@ -1791,7 +1787,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1791
1787
|
const mode = valueOf(["--mode"]);
|
|
1792
1788
|
const mission = valueOf(["--mission"]);
|
|
1793
1789
|
const url = rest.slice(1).find((a) => /^https?:\/\//.test(a)) || "";
|
|
1794
|
-
const { wiseJoinMeetingCli } = await import('./commands-
|
|
1790
|
+
const { wiseJoinMeetingCli } = await import('./commands-B4u6CUWH.mjs');
|
|
1795
1791
|
await wiseJoinMeetingCli(machineId, url, sessionId, { json, mode, mission });
|
|
1796
1792
|
return;
|
|
1797
1793
|
}
|
|
@@ -1803,7 +1799,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1803
1799
|
}
|
|
1804
1800
|
return void 0;
|
|
1805
1801
|
};
|
|
1806
|
-
const { wiseLeaveMeetingCli } = await import('./commands-
|
|
1802
|
+
const { wiseLeaveMeetingCli } = await import('./commands-B4u6CUWH.mjs');
|
|
1807
1803
|
await wiseLeaveMeetingCli(valueOf(["--machine", "-m"]), valueOf(["--session", "-s"]), { json: rest.includes("--json") });
|
|
1808
1804
|
return;
|
|
1809
1805
|
}
|
|
@@ -1827,7 +1823,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1827
1823
|
}
|
|
1828
1824
|
});
|
|
1829
1825
|
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(" ");
|
|
1830
|
-
const { wiseAnnounceCli } = await import('./commands-
|
|
1826
|
+
const { wiseAnnounceCli } = await import('./commands-B4u6CUWH.mjs');
|
|
1831
1827
|
await wiseAnnounceCli(machineId, text, sessionId, { json });
|
|
1832
1828
|
return;
|
|
1833
1829
|
}
|
|
@@ -1839,7 +1835,7 @@ async function handleWiseAgentCommand(rest) {
|
|
|
1839
1835
|
}
|
|
1840
1836
|
return void 0;
|
|
1841
1837
|
};
|
|
1842
|
-
const { wiseMeetingsCli } = await import('./commands-
|
|
1838
|
+
const { wiseMeetingsCli } = await import('./commands-B4u6CUWH.mjs');
|
|
1843
1839
|
await wiseMeetingsCli(valueOf(["--machine", "-m"]), { json: rest.includes("--json") });
|
|
1844
1840
|
return;
|
|
1845
1841
|
}
|
|
@@ -1889,7 +1885,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
1889
1885
|
return;
|
|
1890
1886
|
}
|
|
1891
1887
|
const authArgs = rest.slice(1);
|
|
1892
|
-
const mod = await import('./auth-
|
|
1888
|
+
const mod = await import('./auth-Dxka4cE6.mjs');
|
|
1893
1889
|
let action;
|
|
1894
1890
|
try {
|
|
1895
1891
|
action = mod.parseWiseAgentAuthArgs(authArgs);
|
|
@@ -1899,7 +1895,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
1899
1895
|
return;
|
|
1900
1896
|
}
|
|
1901
1897
|
if (action) {
|
|
1902
|
-
const { updateEnvFile } = await import('./run-
|
|
1898
|
+
const { updateEnvFile } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a9; });
|
|
1903
1899
|
const updates = mod.buildWiseAgentEnvUpdates(action);
|
|
1904
1900
|
updateEnvFile(updates);
|
|
1905
1901
|
for (const [k, v] of Object.entries(updates)) {
|
|
@@ -1913,7 +1909,7 @@ If none is set, hitting a WISE Agent channel returns a clear "not configured" er
|
|
|
1913
1909
|
}
|
|
1914
1910
|
async function handleDaemonAuthCommand(argv) {
|
|
1915
1911
|
const sub = (argv[0] || "status").toLowerCase();
|
|
1916
|
-
const mod = await import('./run-
|
|
1912
|
+
const mod = await import('./run-21-bMHCc.mjs').then(function (n) { return n.a9; });
|
|
1917
1913
|
if (sub === "--help" || sub === "-h" || sub === "help") {
|
|
1918
1914
|
console.log(`
|
|
1919
1915
|
svamp daemon auth \u2014 Configure how Claude subprocesses authenticate
|
|
@@ -2226,7 +2222,7 @@ Examples:
|
|
|
2226
2222
|
async function printSkillsHelp() {
|
|
2227
2223
|
let browseUrl = "<HYPHA_SERVER_URL>/<workspace>/artifacts/marketplace (set HYPHA_SERVER_URL)";
|
|
2228
2224
|
try {
|
|
2229
|
-
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-
|
|
2225
|
+
const { getArtifactBaseUrl, getSkillsCollectionName } = await import('./run-21-bMHCc.mjs').then(function (n) { return n.ab; });
|
|
2230
2226
|
browseUrl = `${getArtifactBaseUrl()}/${getSkillsCollectionName()}`;
|
|
2231
2227
|
} catch {
|
|
2232
2228
|
}
|
|
@@ -58,7 +58,7 @@ async function serviceExpose(args) {
|
|
|
58
58
|
process.exit(1);
|
|
59
59
|
}
|
|
60
60
|
if (foreground) {
|
|
61
|
-
const { runFrpcTunnel } = await import('./frpc-
|
|
61
|
+
const { runFrpcTunnel } = await import('./frpc-yc5-4EUe.mjs');
|
|
62
62
|
await runFrpcTunnel(name, ports, void 0, {
|
|
63
63
|
group,
|
|
64
64
|
groupKey,
|
|
@@ -68,7 +68,7 @@ async function serviceExpose(args) {
|
|
|
68
68
|
});
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
71
|
+
const { connectAndGetMachine } = await import('./commands-B4u6CUWH.mjs');
|
|
72
72
|
const { server, machine } = await connectAndGetMachine();
|
|
73
73
|
try {
|
|
74
74
|
const status = await machine.tunnelStart({
|
|
@@ -123,7 +123,7 @@ async function serviceServe(args) {
|
|
|
123
123
|
};
|
|
124
124
|
process.on("SIGINT", cleanup);
|
|
125
125
|
process.on("SIGTERM", cleanup);
|
|
126
|
-
const { runFrpcTunnel } = await import('./frpc-
|
|
126
|
+
const { runFrpcTunnel } = await import('./frpc-yc5-4EUe.mjs');
|
|
127
127
|
await runFrpcTunnel(name, [caddyPort]);
|
|
128
128
|
} catch (err) {
|
|
129
129
|
console.error(`Error serving directory: ${err.message}`);
|
|
@@ -132,7 +132,7 @@ async function serviceServe(args) {
|
|
|
132
132
|
}
|
|
133
133
|
async function serviceList(_args) {
|
|
134
134
|
try {
|
|
135
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
135
|
+
const { connectAndGetMachine } = await import('./commands-B4u6CUWH.mjs');
|
|
136
136
|
const { server, machine } = await connectAndGetMachine();
|
|
137
137
|
try {
|
|
138
138
|
const tunnels = await machine.tunnelList({});
|
|
@@ -172,7 +172,7 @@ async function serviceDelete(args) {
|
|
|
172
172
|
process.exit(1);
|
|
173
173
|
}
|
|
174
174
|
try {
|
|
175
|
-
const { connectAndGetMachine } = await import('./commands-
|
|
175
|
+
const { connectAndGetMachine } = await import('./commands-B4u6CUWH.mjs');
|
|
176
176
|
const { server, machine } = await connectAndGetMachine();
|
|
177
177
|
try {
|
|
178
178
|
await machine.tunnelStop({ name });
|
|
@@ -2,7 +2,7 @@ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
|
2
2
|
import { execSync } from 'node:child_process';
|
|
3
3
|
import { basename, resolve, join, isAbsolute } from 'node:path';
|
|
4
4
|
import os from 'node:os';
|
|
5
|
-
import {
|
|
5
|
+
import { N as formatHandle, O as normalizeAllowedUser, P as loadSecurityContextConfig, Q as resolveSecurityContext, T as buildSecurityContextFromFlags, U as mergeSecurityContexts, c as connectToHypha, V as buildSessionShareUrl, W as computeOutboundHop, x as shortId, X as buildMachineShareUrl, Y as parseHandle, Z as handleMatchesMetadata } from './run-21-bMHCc.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 {
|
|
4
|
+
import { C as parseFrontmatter, D as getSkillsServer, E as getSkillsWorkspaceName, F as getSkillsCollectionName, G as fetchWithTimeout, H as searchSkills, I as SKILLS_DIR, J as getSkillInfo, K as downloadSkillFile, L as listSkillFiles } from './run-21-bMHCc.mjs';
|
|
5
5
|
import 'fs/promises';
|
|
6
6
|
import 'url';
|
|
7
7
|
import 'child_process';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { spawnSync } from 'node:child_process';
|
|
2
|
-
import { m as resolveProjectRoot } from './run-
|
|
2
|
+
import { m as resolveProjectRoot } from './run-21-bMHCc.mjs';
|
|
3
3
|
import { w as workflowSteps, r as removeWorkflow, g as getWorkflow, l as listWorkflows, s as saveWorkflow, a as rawWorkflow } from './store-BPL__e4D.mjs';
|
|
4
4
|
import 'os';
|
|
5
5
|
import 'fs/promises';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { execSync } from 'node:child_process';
|
|
2
|
-
import { m as resolveProjectRoot, t as searchIssues, q as listIssues, o as addComment, u as updateIssue, n as getIssue, w as summarize, p as addIssue } from './run-
|
|
2
|
+
import { m as resolveProjectRoot, t as searchIssues, q as listIssues, o as addComment, u as updateIssue, n as getIssue, w as summarize, p as addIssue } from './run-21-bMHCc.mjs';
|
|
3
3
|
import 'os';
|
|
4
4
|
import 'fs/promises';
|
|
5
5
|
import 'fs';
|
|
@@ -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-B4u6CUWH.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-21-bMHCc.mjs';
|
|
9
9
|
import 'os';
|
|
10
10
|
import 'fs/promises';
|
|
11
11
|
import 'url';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
|
-
import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-
|
|
2
|
+
import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-B4u6CUWH.mjs';
|
|
3
3
|
import { execSync } from 'node:child_process';
|
|
4
|
-
import { u as updateIssue, o as addComment, p as addIssue,
|
|
4
|
+
import { u as updateIssue, o as addComment, p as addIssue, x as shortId } from './run-21-bMHCc.mjs';
|
|
5
5
|
import 'node:path';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'os';
|