svamp-cli 0.2.268 → 0.2.269

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.
Files changed (26) hide show
  1. package/dist/{agentCommands-Co_QEKON.mjs → agentCommands-Dzk4e5se.mjs} +7 -5
  2. package/dist/{auth-DMu2Vwk5.mjs → auth-Bsp6Mn7W.mjs} +3 -1
  3. package/dist/{cli-DRF6a6Xn.mjs → cli-COQg5XhV.mjs} +63 -63
  4. package/dist/cli.mjs +4 -2
  5. package/dist/{commands-Dlfz0uVQ.mjs → commands-BS1nRSti.mjs} +4 -2
  6. package/dist/{commands-Bw7MWVF5.mjs → commands-BbsqugoB.mjs} +4 -2
  7. package/dist/{commands-Bs4SXRAz.mjs → commands-C-UQ3PbA.mjs} +3 -1
  8. package/dist/{commands-Dl1jJEj_.mjs → commands-CJxlXlTy.mjs} +7 -7
  9. package/dist/{commands-CBJSJyBO.mjs → commands-DqyqbI0p.mjs} +3 -1
  10. package/dist/{commands-D8Emv7hS.mjs → commands-Y-Nna_A4.mjs} +4 -2
  11. package/dist/{commands-Dbib43Yt.mjs → commands-v-bJG0B0.mjs} +3 -1
  12. package/dist/{fleet-oqb0y16y.mjs → fleet-BNJf0oiF.mjs} +3 -1
  13. package/dist/{frpc-DR9BQXat.mjs → frpc-D0O_ho2a.mjs} +2 -1
  14. package/dist/{headlessCli-Dz68y7ce.mjs → headlessCli-CDajSqLP.mjs} +4 -2
  15. package/dist/index.mjs +3 -1
  16. package/dist/{package-VG-zoCbE.mjs → package-C4LMqtdL.mjs} +1 -1
  17. package/dist/{rpc-UN-3Vc6p.mjs → rpc-CiB0ZTCJ.mjs} +3 -1
  18. package/dist/{rpc-C_6FAG5Q.mjs → rpc-KQlBd_Kl.mjs} +3 -1
  19. package/dist/{run-B1EaF6gi.mjs → run-BwLjjDzE.mjs} +3 -1
  20. package/dist/{run-BtoxvDlh.mjs → run-ZZJd3r3N.mjs} +10681 -9429
  21. package/dist/{scheduler-D4OY3XDH.mjs → scheduler-dJbWmJa6.mjs} +3 -1
  22. package/dist/{serveCommands-CG9re27C.mjs → serveCommands-Wy_O_dIQ.mjs} +5 -5
  23. package/dist/{sideband-C7h5QrRN.mjs → sideband-DgvSqT9x.mjs} +3 -1
  24. package/package.json +1 -1
  25. package/dist/serveManager-CswGKYKJ.mjs +0 -902
  26. package/dist/staticFileServer-CbYnj2bH.mjs +0 -255
@@ -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-DR9BQXat.mjs');
61
+ const { runFrpcTunnel } = await import('./frpc-D0O_ho2a.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-CBJSJyBO.mjs');
71
+ const { connectAndGetMachine } = await import('./commands-DqyqbI0p.mjs');
72
72
  const { server, machine } = await connectAndGetMachine();
73
73
  try {
74
74
  const status = await machine.tunnelStart({
@@ -90,7 +90,7 @@ async function serviceExpose(args) {
90
90
  console.log(` port ${port}: ${url}`);
91
91
  }
92
92
  if (process.env.SVAMP_SESSION_ID) {
93
- const { autoAddSessionLink } = await import('./agentCommands-Co_QEKON.mjs');
93
+ const { autoAddSessionLink } = await import('./agentCommands-Dzk4e5se.mjs');
94
94
  let added = 0;
95
95
  for (const [port, url] of urlEntries) {
96
96
  const label = urlEntries.length > 1 ? `${name}:${port}` : name;
@@ -127,7 +127,7 @@ async function serviceServe(args) {
127
127
  console.log(`Serving ${resolvedDir}`);
128
128
  const servePort = 18080;
129
129
  const http = await import('http');
130
- const { serveStaticMount } = await import('./staticFileServer-CbYnj2bH.mjs');
130
+ const { serveStaticMount } = await import('./run-ZZJd3r3N.mjs').then(function (n) { return n.ah; });
131
131
  const server = http.createServer((req, res) => {
132
132
  const u = new URL(req.url || "/", "http://127.0.0.1");
133
133
  let rel = u.pathname;
@@ -138,7 +138,7 @@ async function serviceServe(args) {
138
138
  server.once("error", reject);
139
139
  server.listen(servePort, "127.0.0.1", () => resolve());
140
140
  });
141
- const { runFrpcTunnel } = await import('./frpc-DR9BQXat.mjs');
141
+ const { runFrpcTunnel } = await import('./frpc-D0O_ho2a.mjs');
142
142
  void server;
143
143
  await runFrpcTunnel(name, [servePort]);
144
144
  } catch (err) {
@@ -148,7 +148,7 @@ async function serviceServe(args) {
148
148
  }
149
149
  async function serviceList(_args) {
150
150
  try {
151
- const { connectAndGetMachine } = await import('./commands-CBJSJyBO.mjs');
151
+ const { connectAndGetMachine } = await import('./commands-DqyqbI0p.mjs');
152
152
  const { server, machine } = await connectAndGetMachine();
153
153
  try {
154
154
  const tunnels = await machine.tunnelList({});
@@ -188,7 +188,7 @@ async function serviceDelete(args) {
188
188
  process.exit(1);
189
189
  }
190
190
  try {
191
- const { connectAndGetMachine } = await import('./commands-CBJSJyBO.mjs');
191
+ const { connectAndGetMachine } = await import('./commands-DqyqbI0p.mjs');
192
192
  const { server, machine } = await connectAndGetMachine();
193
193
  try {
194
194
  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 { a2 as formatHandle, a3 as normalizeAllowedUser, a4 as loadSecurityContextConfig, a5 as resolveSecurityContext, a6 as buildSecurityContextFromFlags, a7 as mergeSecurityContexts, c as connectToHypha, a8 as buildSessionShareUrl, a9 as computeOutboundHop, i as shortId, aa as registerAwaitingReply, ab as buildMachineShareUrl, ac as parseHandle, ad as handleMatchesMetadata } from './run-BtoxvDlh.mjs';
5
+ import { $ as formatHandle, a0 as normalizeAllowedUser, a1 as loadSecurityContextConfig, a2 as resolveSecurityContext, a3 as buildSecurityContextFromFlags, a4 as mergeSecurityContexts, c as connectToHypha, a5 as buildSessionShareUrl, a6 as computeOutboundHop, i as shortId, a7 as registerAwaitingReply, a8 as buildMachineShareUrl, a9 as parseHandle, aa as handleMatchesMetadata } from './run-ZZJd3r3N.mjs';
6
6
  import 'os';
7
7
  import 'fs/promises';
8
8
  import 'fs';
@@ -12,6 +12,8 @@ import 'child_process';
12
12
  import 'crypto';
13
13
  import 'node:crypto';
14
14
  import 'util';
15
+ import 'http';
16
+ import 'net';
15
17
  import 'node:events';
16
18
  import '@agentclientprotocol/sdk';
17
19
  import 'node:readline';
@@ -1,8 +1,8 @@
1
1
  import { existsSync } from 'node:fs';
2
2
  import { resolve } from 'node:path';
3
- import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-CBJSJyBO.mjs';
3
+ import { connectAndGetMachine, resolveSessionId, createWorktree, connectAndResolveSession } from './commands-DqyqbI0p.mjs';
4
4
  import { execSync } from 'node:child_process';
5
- import { u as updateIssue, o as addComment, q as addIssue, i as shortId } from './run-BtoxvDlh.mjs';
5
+ import { u as updateIssue, m as addComment, n as addIssue, i as shortId } from './run-ZZJd3r3N.mjs';
6
6
  import 'node:os';
7
7
  import 'os';
8
8
  import 'fs/promises';
@@ -13,6 +13,8 @@ import 'child_process';
13
13
  import 'crypto';
14
14
  import 'node:crypto';
15
15
  import 'util';
16
+ import 'http';
17
+ import 'net';
16
18
  import 'node:events';
17
19
  import '@agentclientprotocol/sdk';
18
20
  import 'node:readline';
@@ -1,5 +1,5 @@
1
1
  import { spawnSync } from 'node:child_process';
2
- import { l as resolveProjectRoot, K as workflowSteps, B as setWorkflowEnabled, G as isWorkflowEnabled, C as removeWorkflow, z as getWorkflow, F as listWorkflows, D as saveWorkflow, E as rawWorkflow } from './run-BtoxvDlh.mjs';
2
+ import { j as resolveProjectRoot, I as workflowSteps, z as setWorkflowEnabled, E as isWorkflowEnabled, A as removeWorkflow, x as getWorkflow, D as listWorkflows, B as saveWorkflow, C as rawWorkflow } from './run-ZZJd3r3N.mjs';
3
3
  import 'os';
4
4
  import 'fs/promises';
5
5
  import 'fs';
@@ -10,6 +10,8 @@ import 'crypto';
10
10
  import 'node:crypto';
11
11
  import 'node:fs';
12
12
  import 'util';
13
+ import 'http';
14
+ import 'net';
13
15
  import 'node:os';
14
16
  import 'node:path';
15
17
  import 'node:events';
@@ -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-BtoxvDlh.mjs';
4
+ import { c as connectToHypha } from './run-ZZJd3r3N.mjs';
5
5
  import { PINNED_CLAUDE_CODE_VERSION } from './pinnedClaudeCode-B9O-hKxm.mjs';
6
6
  import 'os';
7
7
  import 'fs/promises';
@@ -13,6 +13,8 @@ import 'crypto';
13
13
  import 'node:crypto';
14
14
  import 'node:child_process';
15
15
  import 'util';
16
+ import 'http';
17
+ import 'net';
16
18
  import 'node:events';
17
19
  import '@agentclientprotocol/sdk';
18
20
  import 'node:readline';
@@ -4,13 +4,14 @@ import { mkdirSync, chmodSync, writeFileSync, unlinkSync, existsSync, readFileSy
4
4
  import { join } from 'path';
5
5
  import { homedir, platform, arch } from 'os';
6
6
  import { randomUUID, createHash } from 'crypto';
7
- import { e as getFrpsSubdomainHost, f as getFrpsServerPort, h as getFrpsServerAddr } from './run-BtoxvDlh.mjs';
7
+ import { e as getFrpsSubdomainHost, f as getFrpsServerPort, h as getFrpsServerAddr } from './run-ZZJd3r3N.mjs';
8
8
  import 'fs/promises';
9
9
  import 'url';
10
10
  import 'node:crypto';
11
11
  import 'node:fs';
12
12
  import 'node:child_process';
13
13
  import 'util';
14
+ import 'http';
14
15
  import 'node:os';
15
16
  import 'node:path';
16
17
  import 'node:events';
@@ -1,5 +1,5 @@
1
- import { $ as resolveModel, ae as describeMisconfiguration, af as buildMachineDeps } from './run-BtoxvDlh.mjs';
2
- import { handleRealtimeEvent, initMachineVoiceSession } from './sideband-C7h5QrRN.mjs';
1
+ import { Y as resolveModel, ab as describeMisconfiguration, ac as buildMachineDeps } from './run-ZZJd3r3N.mjs';
2
+ import { handleRealtimeEvent, initMachineVoiceSession } from './sideband-DgvSqT9x.mjs';
3
3
  import { WebSocket } from 'ws';
4
4
  import { execSync, spawn } from 'child_process';
5
5
  import 'os';
@@ -12,6 +12,8 @@ import 'node:crypto';
12
12
  import 'node:fs';
13
13
  import 'node:child_process';
14
14
  import 'util';
15
+ import 'http';
16
+ import 'net';
15
17
  import 'node:os';
16
18
  import 'node:path';
17
19
  import 'node:events';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as connectToHypha, a as createSessionStore, d as daemonStatus, g as getHyphaServerUrl, r as registerMachineService, s as startDaemon, b as stopDaemon } from './run-BtoxvDlh.mjs';
1
+ export { c as connectToHypha, a as createSessionStore, d as daemonStatus, g as getHyphaServerUrl, r as registerMachineService, s as startDaemon, b as stopDaemon } from './run-ZZJd3r3N.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
@@ -10,6 +10,8 @@ import 'node:crypto';
10
10
  import 'node:fs';
11
11
  import 'node:child_process';
12
12
  import 'util';
13
+ import 'http';
14
+ import 'net';
13
15
  import 'node:os';
14
16
  import 'node:path';
15
17
  import 'node:events';
@@ -1,5 +1,5 @@
1
1
  var name = "svamp-cli";
2
- var version = "0.2.268";
2
+ var version = "0.2.269";
3
3
  var description = "Svamp CLI — AI workspace daemon on Hypha Cloud";
4
4
  var author = "Amun AI AB";
5
5
  var license = "SEE LICENSE IN LICENSE";
@@ -1,4 +1,4 @@
1
- import { l as resolveProjectRoot, x as getRun, y as listRuns, z as getWorkflow, A as runWorkflow, B as setWorkflowEnabled, C as removeWorkflow, D as saveWorkflow, E as rawWorkflow, F as listWorkflows } from './run-BtoxvDlh.mjs';
1
+ import { j as resolveProjectRoot, v as getRun, w as listRuns, x as getWorkflow, y as runWorkflow, z as setWorkflowEnabled, A as removeWorkflow, B as saveWorkflow, C as rawWorkflow, D as listWorkflows } from './run-ZZJd3r3N.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
@@ -10,6 +10,8 @@ import 'node:crypto';
10
10
  import 'node:fs';
11
11
  import 'node:child_process';
12
12
  import 'util';
13
+ import 'http';
14
+ import 'net';
13
15
  import 'node:os';
14
16
  import 'node:path';
15
17
  import 'node:events';
@@ -1,4 +1,4 @@
1
- import { l as resolveProjectRoot, u as updateIssue, m as getIssue, n as resumeIssue, p as pauseIssue, o as addComment, q as addIssue, t as listIssues, v as searchIssues, w as isVisibleTo } from './run-BtoxvDlh.mjs';
1
+ import { j as resolveProjectRoot, u as updateIssue, k as getIssue, l as resumeIssue, p as pauseIssue, m as addComment, n as addIssue, o as listIssues, q as searchIssues, t as isVisibleTo } from './run-ZZJd3r3N.mjs';
2
2
  import 'os';
3
3
  import 'fs/promises';
4
4
  import 'fs';
@@ -10,6 +10,8 @@ import 'node:crypto';
10
10
  import 'node:fs';
11
11
  import 'node:child_process';
12
12
  import 'util';
13
+ import 'http';
14
+ import 'net';
13
15
  import 'node:os';
14
16
  import 'node:path';
15
17
  import 'node:events';
@@ -1,4 +1,4 @@
1
- import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import { ag as applyClaudeProxyEnv, ah as composeSessionId, ai as generateFriendlyName, c as connectToHypha, a as createSessionStore, r as registerMachineService, aj as generateHookSettings } from './run-BtoxvDlh.mjs';
1
+ import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import { ad as applyClaudeProxyEnv, ae as composeSessionId, af as generateFriendlyName, c as connectToHypha, a as createSessionStore, r as registerMachineService, ag as generateHookSettings } from './run-ZZJd3r3N.mjs';
2
2
  import os from 'node:os';
3
3
  import { resolve, join } from 'node:path';
4
4
  import { existsSync, readFileSync, watch } from 'node:fs';
@@ -14,6 +14,8 @@ import 'child_process';
14
14
  import 'crypto';
15
15
  import 'node:crypto';
16
16
  import 'util';
17
+ import 'http';
18
+ import 'net';
17
19
  import 'node:events';
18
20
  import '@agentclientprotocol/sdk';
19
21
  import 'node:fs/promises';