skydive-cli 0.6.0-beta.41 → 0.6.0-beta.42

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/js/bin.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
- import { c as version, s as name, t as createRestClient } from "./rest-CXCsoY4Q.mjs";
3
- import { A as getPreference, B as resolveChatAuth, C as DEFAULT_API_URL, D as getConfigPath, E as deleteConfig, F as getStoredApiKeyId, G as saveConfig, H as resolveManagementAuth, I as getStoredApiKeyWorkspaceName, J as setLastSeenVersion, K as saveSession, L as getUpdateCheckDisabled, O as getDefaultAgent, P as getShareMachineDefault, S as API_KEY_PREFIX, T as PREFERENCES, U as resolveSession$1, V as resolveConfig, b as API_KEYS_URL, i as resolveAgent$1, j as getPromptHistoryPath, k as getLastSeenVersion, x as API_KEY_FAMILY_PREFIX, z as resolveAppUrl } from "./print-DTaoROjq.mjs";
4
- import { A as installAgentAlias, B as resolveWorkspaceId, D as machineOsFromPlatform, E as buildImportSeedPrompt, F as detectShell, I as ensureActiveOrganization, L as getActiveWorkspaceId, M as takenAliasNames, N as SUPPORTED_SHELLS, O as aliasActivationHint, P as defaultInstallEnv, R as getSessionIdentity, V as setActiveWorkspace, c as getAutomaticLogsDir, j as slugifyAliasName, k as dedupeAliasName, l as maybeStartProfiling, o as brandHelpArt, t as installCrashHandler, u as profileDir, w as themes, z as listWorkspaces } from "./install-DxZwvQnt.mjs";
2
+ import { c as version, s as name, t as createRestClient } from "./rest-Bc5w9Ur5.mjs";
3
+ import { A as getPreference, B as resolveChatAuth, C as DEFAULT_API_URL, D as getConfigPath, E as deleteConfig, F as getStoredApiKeyId, G as saveConfig, H as resolveManagementAuth, I as getStoredApiKeyWorkspaceName, J as setLastSeenVersion, K as saveSession, L as getUpdateCheckDisabled, O as getDefaultAgent, P as getShareMachineDefault, S as API_KEY_PREFIX, T as PREFERENCES, U as resolveSession$1, V as resolveConfig, b as API_KEYS_URL, i as resolveAgent$1, j as getPromptHistoryPath, k as getLastSeenVersion, x as API_KEY_FAMILY_PREFIX, z as resolveAppUrl } from "./print-Brv1z_F8.mjs";
4
+ import { A as installAgentAlias, B as resolveWorkspaceId, D as machineOsFromPlatform, E as buildImportSeedPrompt, F as detectShell, I as ensureActiveOrganization, L as getActiveWorkspaceId, M as takenAliasNames, N as SUPPORTED_SHELLS, O as aliasActivationHint, P as defaultInstallEnv, R as getSessionIdentity, V as setActiveWorkspace, c as getAutomaticLogsDir, j as slugifyAliasName, k as dedupeAliasName, l as maybeStartProfiling, o as brandHelpArt, t as installCrashHandler, u as profileDir, w as themes, z as listWorkspaces } from "./install-S2H6c3JQ.mjs";
5
5
  import { n as printError, r as printTable, t as output } from "./output-C9mb3sUB.mjs";
6
6
  import { t as HttpError } from "./http-error-BF2NZZE3.mjs";
7
7
  import "./billing-blocked-D3l5kJlX.mjs";
8
- import { s as resolveMachineIdentity } from "./client-hxuyfRBc.mjs";
8
+ import { s as resolveMachineIdentity } from "./client-CsARnCrR.mjs";
9
9
  import "./tls-cert-Rua2oV7n.mjs";
10
10
  import { i as grantPortalAccess, n as fetchPortalDevices, o as registerPortalDevice, r as findThisDevice, s as revokePortalAccess } from "./api-BFQ4PQDA.mjs";
11
- import { d as daemonPaths, i as queryDaemonStatus, n as ensureDaemonRunning, s as stopDaemon, u as PORTAL_DAEMON_FLAG } from "./daemon-BHEJmgBq.mjs";
12
- import { a as encodeFsRequest, i as decodeFsResponse, n as SANDBOX_STREAM_PATH, r as streamSpecToQuery, t as SandboxStream } from "./client-Dr81zuTm.mjs";
11
+ import { d as daemonPaths, i as queryDaemonStatus, n as ensureDaemonRunning, s as stopDaemon, u as PORTAL_DAEMON_FLAG } from "./daemon-7qhQkXR_.mjs";
12
+ import { a as encodeFsRequest, i as decodeFsResponse, n as SANDBOX_STREAM_PATH, r as streamSpecToQuery, t as SandboxStream } from "./client-CFnT0cAy.mjs";
13
13
  import { hideBin } from "yargs/helpers";
14
14
  import yargs from "yargs";
15
15
  import { hostname, tmpdir } from "node:os";
@@ -226,7 +226,7 @@ var SkydiveApiClient = class {
226
226
  const body = await response.json();
227
227
  if (body.error && typeof body.error === "string") message = body.error;
228
228
  else if (body.error?.message) message = body.error.message;
229
- } catch {}
229
+ } catch (_error) {}
230
230
  if (response.status === 401 && this.authKind === "session") message = `${message}. Your chat session may have expired. Run \`skydive auth login\`.`;
231
231
  return err({
232
232
  message,
@@ -237,7 +237,7 @@ var SkydiveApiClient = class {
237
237
  let body;
238
238
  try {
239
239
  body = await response.json();
240
- } catch {
240
+ } catch (_error) {
241
241
  return err({
242
242
  message: "Invalid JSON response",
243
243
  status: response.status
@@ -1080,7 +1080,7 @@ async function resolveTargetAgentId(client, selector) {
1080
1080
  printError("Missing --agent <id or name>. Run `skydive agents list` for candidates.");
1081
1081
  process.exit(1);
1082
1082
  }
1083
- const { resolveAgent } = await import("./print-Bovyirht.mjs");
1083
+ const { resolveAgent } = await import("./print-CwzcqWeD.mjs");
1084
1084
  const result = await client.listAgents({
1085
1085
  scope: "org",
1086
1086
  limit: 100
@@ -1598,7 +1598,7 @@ function isExecutableFile(p) {
1598
1598
  if (!fs.statSync(p).isFile()) return false;
1599
1599
  if (process.platform !== "win32") fs.accessSync(p, fs.constants.X_OK);
1600
1600
  return true;
1601
- } catch {
1601
+ } catch (_error) {
1602
1602
  return false;
1603
1603
  }
1604
1604
  }
@@ -1823,7 +1823,7 @@ const importCommand = {
1823
1823
  process.exit(1);
1824
1824
  }
1825
1825
  }
1826
- const { runChat } = await import("./boot-Dzf7JWwL.mjs");
1826
+ const { runChat } = await import("./boot-C5U2jSBI.mjs");
1827
1827
  await runChat({
1828
1828
  appUrl,
1829
1829
  sessionToken: session.value.sessionToken,
@@ -1853,7 +1853,7 @@ async function runImportPrintMode({ argv, appUrl }) {
1853
1853
  printError(`${session.error.message} For non-interactive use, run \`skydive auth login --web\` first, or set SKYDIVE_SESSION_TOKEN.`);
1854
1854
  process.exit(1);
1855
1855
  }
1856
- const { connectMachineShare } = await import("./print-share-BvFDVwGW.mjs");
1856
+ const { connectMachineShare } = await import("./print-share-DpAq8-q7.mjs");
1857
1857
  const machineShare = await connectMachineShare({
1858
1858
  appUrl,
1859
1859
  sessionToken: session.value.sessionToken,
@@ -1861,7 +1861,7 @@ async function runImportPrintMode({ argv, appUrl }) {
1861
1861
  });
1862
1862
  const extra = (argv.print ?? "").trim();
1863
1863
  const prompt = buildImportSeedPrompt(process.cwd(), machineOsFromPlatform(process.platform)) + (extra ? `\n\nAdditional instructions: ${extra}` : "");
1864
- const { runPrint } = await import("./print-Bovyirht.mjs");
1864
+ const { runPrint } = await import("./print-CwzcqWeD.mjs");
1865
1865
  try {
1866
1866
  const result = await runPrint({
1867
1867
  appUrl,
@@ -2284,7 +2284,7 @@ const chatCommand = {
2284
2284
  sessionToken: auth.value.token,
2285
2285
  agentSelector: argv.agent ?? null
2286
2286
  });
2287
- const { runChat } = await import("./boot-Dzf7JWwL.mjs");
2287
+ const { runChat } = await import("./boot-C5U2jSBI.mjs");
2288
2288
  await runChat({
2289
2289
  appUrl: auth.value.appUrl,
2290
2290
  sessionToken: auth.value.token,
@@ -2368,7 +2368,7 @@ async function runPrintMode({ argv, appUrl }) {
2368
2368
  printError(`${auth.error.message} For non-interactive use, run \`skydive auth login\` first, or set SKYDIVE_API_KEY / SKYDIVE_SESSION_TOKEN.`);
2369
2369
  process.exit(1);
2370
2370
  }
2371
- const { runPrint, readStdin } = await import("./print-Bovyirht.mjs");
2371
+ const { runPrint, readStdin } = await import("./print-CwzcqWeD.mjs");
2372
2372
  const workspaceId = await resolveWorkspaceFlag({
2373
2373
  appUrl,
2374
2374
  sessionToken: auth.value.token,
@@ -2398,7 +2398,7 @@ async function runPrintMode({ argv, appUrl }) {
2398
2398
  process.exit(1);
2399
2399
  }
2400
2400
  } else {
2401
- const { connectMachineShare } = await import("./print-share-BvFDVwGW.mjs");
2401
+ const { connectMachineShare } = await import("./print-share-DpAq8-q7.mjs");
2402
2402
  machineShare = await connectMachineShare({
2403
2403
  appUrl: auth.value.appUrl,
2404
2404
  sessionToken: auth.value.token,
@@ -2463,7 +2463,7 @@ const getCommand$1 = {
2463
2463
  printError(`${auth.error.message} Run \`skydive auth login\` first, or set SKYDIVE_API_KEY / SKYDIVE_SESSION_TOKEN.`);
2464
2464
  process.exit(1);
2465
2465
  }
2466
- const { messageGet } = await import("./print-Bovyirht.mjs");
2466
+ const { messageGet } = await import("./print-CwzcqWeD.mjs");
2467
2467
  try {
2468
2468
  const result = await messageGet({
2469
2469
  appUrl: auth.value.appUrl,
@@ -2666,7 +2666,7 @@ const switchCommand = {
2666
2666
  printError("The workspace picker needs the Bun runtime and it could not be set up automatically. Pass a workspace slug instead, or install Bun and retry.");
2667
2667
  process.exit(1);
2668
2668
  }
2669
- const { runWorkspacePicker } = await import("./boot-Dzf7JWwL.mjs");
2669
+ const { runWorkspacePicker } = await import("./boot-C5U2jSBI.mjs");
2670
2670
  await runWorkspacePicker(session);
2671
2671
  return;
2672
2672
  }
@@ -2745,7 +2745,7 @@ const openCommand = {
2745
2745
  const agent = argv.agent ? resolveAgent$1((await fetchPortalDevices(session)).agents, argv.agent) : null;
2746
2746
  const cwd = argv.cwd ? path.resolve(argv.cwd) : process.cwd();
2747
2747
  const { machineName } = await resolveMachineIdentity(null);
2748
- const { PortalDaemonClient } = await import("./daemon-client-Dk5z9CfF.mjs");
2748
+ const { PortalDaemonClient } = await import("./daemon-client-1baSq1wj.mjs");
2749
2749
  let lastLine = "";
2750
2750
  let signalConnected;
2751
2751
  const connected = new Promise((resolve) => {
@@ -3105,8 +3105,8 @@ const sandboxCommand = {
3105
3105
  }).example("skydive sandbox --agent grace", "Live terminal (Ctrl-] detaches)").example("skydive sandbox --agent grace -- tail -n 50 /tmp/harness.log", "One-shot command (use `--` so its flags reach the sandbox)").example("skydive sandbox --agent grace -- sh -c 'ls /tmp | wc -l'", "Shell features go through an explicit `sh -c`"),
3106
3106
  handler: async (argv) => {
3107
3107
  const session = requireSession(argv);
3108
- const { createRestClient } = await import("./rest-ANsrfO_h.mjs");
3109
- const { resolveAgent } = await import("./print-Bovyirht.mjs");
3108
+ const { createRestClient } = await import("./rest-Q2ddGVI_.mjs");
3109
+ const { resolveAgent } = await import("./print-CwzcqWeD.mjs");
3110
3110
  const client = createRestClient({
3111
3111
  appUrl: session.appUrl,
3112
3112
  sessionToken: session.sessionToken
@@ -3221,7 +3221,7 @@ async function runPty({ session, agentId, agentName }) {
3221
3221
  return 1;
3222
3222
  }
3223
3223
  console.error(`Connecting to ${agentName}'s sandbox… (Ctrl-] detaches)`);
3224
- const { runRawPtyPassthrough } = await import("./raw-pty-WUHQQwTF.mjs");
3224
+ const { runRawPtyPassthrough } = await import("./raw-pty-HlNGqFLC.mjs");
3225
3225
  const result = await runRawPtyPassthrough({
3226
3226
  stdin: process.stdin,
3227
3227
  stdout: process.stdout,
@@ -3423,8 +3423,8 @@ const fsEditCommand = {
3423
3423
  handler: async (argv) => {
3424
3424
  const session = requireSession(argv);
3425
3425
  const remotePath = argv.path;
3426
- const { createRestClient } = await import("./rest-ANsrfO_h.mjs");
3427
- const { resolveAgent } = await import("./print-Bovyirht.mjs");
3426
+ const { createRestClient } = await import("./rest-Q2ddGVI_.mjs");
3427
+ const { resolveAgent } = await import("./print-CwzcqWeD.mjs");
3428
3428
  const client = createRestClient({
3429
3429
  appUrl: session.appUrl,
3430
3430
  sessionToken: session.sessionToken
@@ -4878,7 +4878,7 @@ if (process.argv.includes(UPDATE_WORKER_FLAG)) {
4878
4878
  process.exit(0);
4879
4879
  }
4880
4880
  if (process.argv.includes(PORTAL_DAEMON_FLAG)) {
4881
- const { runPortalDaemon } = await import("./daemon-Cw1GI6jv.mjs");
4881
+ const { runPortalDaemon } = await import("./daemon-D9ebFKJp.mjs");
4882
4882
  runPortalDaemon(process.argv);
4883
4883
  } else runCli();
4884
4884
  function runCli() {
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
- import { a as errorMessage, i as sendErrorMessage, n as errorDetail, o as isRecord, t as createRestClient } from "./rest-CXCsoY4Q.mjs";
3
- import { C as DEFAULT_API_URL, D as getConfigPath, M as getReviewStateDir, N as getSavedTheme, R as recordDefaultAgent, W as resolveWebUrl, _ as computeSettledLabel, c as actionableCardVerb, d as parseOauthConnectParams, f as prioritizeActionableCards, g as composeQuestionAnswerEntries, h as composeQuestionAnswer, i as resolveAgent, l as cardActionErrorMessage, m as resolveConnectUrl, p as reconcileMaskedInput, q as saveTheme, s as MASK_CHAR, u as parseExternalOauthConnectParams, v as parseConnectCard, w as DEFAULT_APP_URL, y as specKeyFor } from "./print-DTaoROjq.mjs";
4
- import { A as installAgentAlias, C as themeVersion, D as machineOsFromPlatform, F as detectShell, L as getActiveWorkspaceId, M as takenAliasNames, O as aliasActivationHint, S as themeModeFromColorFgBg, T as themesForMode, V as setActiveWorkspace, _ as monoTheme, a as WORDMARK, b as themeForMode, d as profilingEnabled, f as record, g as findTheme, h as applyTheme, i as MARK_CELLS, j as slugifyAliasName, k as dedupeAliasName, m as DEFAULT_THEME_ID, n as buildCrashReport, p as writeArtifact, r as writeCrashReport, s as splashFitsWidth, t as installCrashHandler, v as noColorRequested, x as themeMode, y as theme, z as listWorkspaces } from "./install-DxZwvQnt.mjs";
2
+ import { a as errorMessage, i as sendErrorMessage, n as errorDetail, o as isRecord, t as createRestClient } from "./rest-Bc5w9Ur5.mjs";
3
+ import { C as DEFAULT_API_URL, D as getConfigPath, M as getReviewStateDir, N as getSavedTheme, R as recordDefaultAgent, W as resolveWebUrl, _ as computeSettledLabel, c as actionableCardVerb, d as parseOauthConnectParams, f as prioritizeActionableCards, g as composeQuestionAnswerEntries, h as composeQuestionAnswer, i as resolveAgent, l as cardActionErrorMessage, m as resolveConnectUrl, p as reconcileMaskedInput, q as saveTheme, s as MASK_CHAR, u as parseExternalOauthConnectParams, v as parseConnectCard, w as DEFAULT_APP_URL, y as specKeyFor } from "./print-Brv1z_F8.mjs";
4
+ import { A as installAgentAlias, C as themeVersion, D as machineOsFromPlatform, F as detectShell, L as getActiveWorkspaceId, M as takenAliasNames, O as aliasActivationHint, S as themeModeFromColorFgBg, T as themesForMode, V as setActiveWorkspace, _ as monoTheme, a as WORDMARK, b as themeForMode, d as profilingEnabled, f as record, g as findTheme, h as applyTheme, i as MARK_CELLS, j as slugifyAliasName, k as dedupeAliasName, m as DEFAULT_THEME_ID, n as buildCrashReport, p as writeArtifact, r as writeCrashReport, s as splashFitsWidth, t as installCrashHandler, v as noColorRequested, x as themeMode, y as theme, z as listWorkspaces } from "./install-S2H6c3JQ.mjs";
5
5
  import { t as HttpError } from "./http-error-BF2NZZE3.mjs";
6
6
  import { i as billingBlockedOutcomeFromSendResponse } from "./billing-blocked-D3l5kJlX.mjs";
7
- import { n as PortalClient } from "./client-hxuyfRBc.mjs";
7
+ import { n as PortalClient } from "./client-CsARnCrR.mjs";
8
8
  import { t as defaultTlsCertSource } from "./tls-cert-Rua2oV7n.mjs";
9
9
  import "./api-BFQ4PQDA.mjs";
10
- import "./daemon-BHEJmgBq.mjs";
11
- import { t as SandboxStream } from "./client-Dr81zuTm.mjs";
12
- import { t as PortalDaemonClient } from "./daemon-client-B0-KqkuJ.mjs";
13
- import { t as runRawPtyPassthrough } from "./raw-pty-C323I8xG.mjs";
10
+ import "./daemon-7qhQkXR_.mjs";
11
+ import { t as SandboxStream } from "./client-CFnT0cAy.mjs";
12
+ import { t as PortalDaemonClient } from "./daemon-client-CfM9kOSa.mjs";
13
+ import { t as runRawPtyPassthrough } from "./raw-pty-Cj-O0pyb.mjs";
14
14
  import * as os$1 from "node:os";
15
15
  import { homedir, platform, release, tmpdir } from "node:os";
16
16
  import path, { basename, extname, isAbsolute, join, posix, win32 } from "node:path";
@@ -363,7 +363,7 @@ function newChat(agent) {
363
363
  function resolveAgentOrNull(agents, selector) {
364
364
  try {
365
365
  return resolveAgent(agents, selector);
366
- } catch {
366
+ } catch (_error) {
367
367
  return null;
368
368
  }
369
369
  }
@@ -2612,7 +2612,7 @@ function CreateAgentMode({ onCancel }) {
2612
2612
  agent,
2613
2613
  message: `Added \`${result.alias}\`. ${aliasActivationHint(result)}`
2614
2614
  });
2615
- } catch {
2615
+ } catch (_error) {
2616
2616
  openChat(agent);
2617
2617
  }
2618
2618
  };
@@ -9145,14 +9145,14 @@ function exitChat({ renderer, afterTeardown, write = (text) => void process.stdo
9145
9145
  let destroyThrew = false;
9146
9146
  try {
9147
9147
  renderer.destroy();
9148
- } catch {
9148
+ } catch (_error) {
9149
9149
  destroyThrew = true;
9150
9150
  }
9151
9151
  const finished = !destroyThrew && renderer.isDestroyed;
9152
9152
  if (!finished) {
9153
9153
  try {
9154
9154
  setRawMode(false);
9155
- } catch {}
9155
+ } catch (_error) {}
9156
9156
  write(TERMINAL_RESTORE);
9157
9157
  }
9158
9158
  afterTeardown?.();
@@ -14656,7 +14656,7 @@ async function isExecutable(p) {
14656
14656
  try {
14657
14657
  await access(p, constants.X_OK);
14658
14658
  return true;
14659
- } catch {
14659
+ } catch (_error) {
14660
14660
  return false;
14661
14661
  }
14662
14662
  }
@@ -14672,7 +14672,7 @@ async function cacheKey(shell) {
14672
14672
  let rcMtime = "none";
14673
14673
  try {
14674
14674
  rcMtime = String((await stat(shell.rcFile)).mtimeMs);
14675
- } catch {}
14675
+ } catch (_error) {}
14676
14676
  return createHash("sha256").update(`${shell.bin}\0${shell.rcFile}\0${rcMtime}`).digest("hex").slice(0, 16);
14677
14677
  }
14678
14678
  function cachePath(shell, key) {
@@ -14733,12 +14733,12 @@ async function ensureSnapshot(shell, env = process.env) {
14733
14733
  try {
14734
14734
  await access(out);
14735
14735
  return out;
14736
- } catch {}
14736
+ } catch (_error) {}
14737
14737
  let rcFileExists = false;
14738
14738
  try {
14739
14739
  await access(shell.rcFile);
14740
14740
  rcFileExists = true;
14741
- } catch {
14741
+ } catch (_error) {
14742
14742
  rcFileExists = false;
14743
14743
  }
14744
14744
  await mkdir(snapshotsDir(), { recursive: true });
@@ -14762,7 +14762,7 @@ async function ensureSnapshot(shell, env = process.env) {
14762
14762
  try {
14763
14763
  await readFile(out, "utf8");
14764
14764
  return out;
14765
- } catch {
14765
+ } catch (_error) {
14766
14766
  return;
14767
14767
  }
14768
14768
  }
@@ -14892,7 +14892,7 @@ async function runShellCommand(session, command, onEvent, env = process.env) {
14892
14892
  try {
14893
14893
  const next = (await readFile(cwdFile, "utf8")).trim();
14894
14894
  if (next) session.cwd = next;
14895
- } catch {}
14895
+ } catch (_error) {}
14896
14896
  await rm(tmp, {
14897
14897
  recursive: true,
14898
14898
  force: true
@@ -91,7 +91,7 @@ function parseFrame(expectedType, frameBytes) {
91
91
  const parsed = jsonLen ? JSON.parse(textDecoder.decode(frameBytes.subarray(jsonStart, jsonEnd))) : {};
92
92
  if (typeof parsed !== "object" || parsed === null) return null;
93
93
  json = parsed;
94
- } catch {
94
+ } catch (_error) {
95
95
  return null;
96
96
  }
97
97
  return {
@@ -161,7 +161,7 @@ function errorMessage(err) {
161
161
  * the commit time of the built tree is one monotonic clock they share.
162
162
  */
163
163
  function portalDaemonBuild() {
164
- return "1790619216";
164
+ return "1790631620";
165
165
  }
166
166
  /**
167
167
  * Whether a client carrying `mine` should replace a running daemon carrying
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as PortalClient, r as RATE_LIMIT_STAND_DOWN_MS, t as AUTH_STAND_DOWN_MS } from "./client-hxuyfRBc.mjs";
2
+ import { n as PortalClient, r as RATE_LIMIT_STAND_DOWN_MS, t as AUTH_STAND_DOWN_MS } from "./client-CsARnCrR.mjs";
3
3
  import "./api-BFQ4PQDA.mjs";
4
4
 
5
5
  export { PortalClient };
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as portalDaemonBuild, i as isNewerBuild, n as PortalClient, o as isRecord } from "./client-hxuyfRBc.mjs";
2
+ import { a as portalDaemonBuild, i as isNewerBuild, n as PortalClient, o as isRecord } from "./client-CsARnCrR.mjs";
3
3
  import { t as defaultTlsCertSource } from "./tls-cert-Rua2oV7n.mjs";
4
4
  import os from "node:os";
5
5
  import path from "node:path";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import "./client-hxuyfRBc.mjs";
2
+ import "./client-CsARnCrR.mjs";
3
3
  import "./tls-cert-Rua2oV7n.mjs";
4
4
  import "./api-BFQ4PQDA.mjs";
5
- import { a as runPortalDaemon, c as stopDaemonForHandoff, i as queryDaemonStatus, n as ensureDaemonRunning, o as startPortalDaemon, r as isDaemonListening, s as stopDaemon, t as PortalDaemon } from "./daemon-BHEJmgBq.mjs";
5
+ import { a as runPortalDaemon, c as stopDaemonForHandoff, i as queryDaemonStatus, n as ensureDaemonRunning, o as startPortalDaemon, r as isDaemonListening, s as stopDaemon, t as PortalDaemon } from "./daemon-7qhQkXR_.mjs";
6
6
 
7
7
  export { runPortalDaemon };
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ import "./client-CsARnCrR.mjs";
3
+ import "./tls-cert-Rua2oV7n.mjs";
4
+ import "./api-BFQ4PQDA.mjs";
5
+ import "./daemon-7qhQkXR_.mjs";
6
+ import { t as PortalDaemonClient } from "./daemon-client-CfM9kOSa.mjs";
7
+
8
+ export { PortalDaemonClient };
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { d as daemonPaths, f as encodeLine, l as LOCAL_PROTOCOL_VERSION, m as parseDaemonMessage, n as ensureDaemonRunning, p as makeLineParser } from "./daemon-BHEJmgBq.mjs";
2
+ import { d as daemonPaths, f as encodeLine, l as LOCAL_PROTOCOL_VERSION, m as parseDaemonMessage, n as ensureDaemonRunning, p as makeLineParser } from "./daemon-7qhQkXR_.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { connect } from "node:net";
5
5
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { c as version$1 } from "./rest-CXCsoY4Q.mjs";
3
- import { D as getConfigPath } from "./print-DTaoROjq.mjs";
2
+ import { c as version$1 } from "./rest-Bc5w9Ur5.mjs";
3
+ import { D as getConfigPath } from "./print-Brv1z_F8.mjs";
4
4
  import os from "node:os";
5
5
  import path from "node:path";
6
6
  import { err, ok } from "neverthrow";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as errorMessage, i as sendErrorMessage, o as isRecord, t as createRestClient } from "./rest-CXCsoY4Q.mjs";
2
+ import { a as errorMessage, i as sendErrorMessage, o as isRecord, t as createRestClient } from "./rest-Bc5w9Ur5.mjs";
3
3
  import { t as HttpError } from "./http-error-BF2NZZE3.mjs";
4
4
  import { i as billingBlockedOutcomeFromSendResponse, n as BillingBlockedError } from "./billing-blocked-D3l5kJlX.mjs";
5
5
  import path from "node:path";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import "./rest-CXCsoY4Q.mjs";
3
- import { a as runPrint, i as resolveAgent, n as messageGet, o as toPrintError, r as readStdin, t as collectRunText } from "./print-DTaoROjq.mjs";
2
+ import "./rest-Bc5w9Ur5.mjs";
3
+ import { a as runPrint, i as resolveAgent, n as messageGet, o as toPrintError, r as readStdin, t as collectRunText } from "./print-Brv1z_F8.mjs";
4
4
  import "./billing-blocked-D3l5kJlX.mjs";
5
5
 
6
6
  export { messageGet, readStdin, resolveAgent, runPrint };
@@ -14,7 +14,7 @@ import { n as printError } from "./output-C9mb3sUB.mjs";
14
14
  * the reply (and to --json).
15
15
  */
16
16
  async function connectMachineShare({ appUrl, sessionToken, timeoutHint }) {
17
- const { PortalClient } = await import("./client-BQPhWfh2.mjs");
17
+ const { PortalClient } = await import("./client-DpsDh_Xb.mjs");
18
18
  const { defaultTlsCertSource } = await import("./tls-cert-BpCaD5AT.mjs");
19
19
  let signalConnected;
20
20
  const connected = new Promise((resolve) => {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as SandboxStream } from "./client-Dr81zuTm.mjs";
2
+ import { t as SandboxStream } from "./client-CFnT0cAy.mjs";
3
3
 
4
4
  //#region src/chat/sandbox/raw-pty.ts
5
5
  /**
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ import "./client-CFnT0cAy.mjs";
3
+ import { t as runRawPtyPassthrough } from "./raw-pty-Cj-O0pyb.mjs";
4
+
5
+ export { runRawPtyPassthrough };
@@ -6,7 +6,7 @@ import { createParser } from "eventsource-parser";
6
6
 
7
7
  //#region package.json
8
8
  var name = "skydive-cli";
9
- var version = "0.6.0-beta.41";
9
+ var version = "0.6.0-beta.42";
10
10
 
11
11
  //#endregion
12
12
  //#region src/chat/util.ts
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as sendErrorMessage, n as errorDetail, r as filenameFromContentDisposition, t as createRestClient } from "./rest-CXCsoY4Q.mjs";
2
+ import { i as sendErrorMessage, n as errorDetail, r as filenameFromContentDisposition, t as createRestClient } from "./rest-Bc5w9Ur5.mjs";
3
3
  import { t as HttpError } from "./http-error-BF2NZZE3.mjs";
4
4
  import "./billing-blocked-D3l5kJlX.mjs";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skydive-cli",
3
- "version": "0.6.0-beta.41",
3
+ "version": "0.6.0-beta.42",
4
4
  "description": "Skydive CLI — cloud agents from the command line",
5
5
  "homepage": "https://skydive.com",
6
6
  "license": "MIT",
@@ -71,9 +71,9 @@
71
71
  },
72
72
  "//optionalDependencies": "The per-platform binary packages (skydive-cli-<os>-<arch>) are INTENTIONALLY not committed here. They are published by release-skydive-cli-binaries.yml and injected — pinned to the exact version being published — into the published launcher's optionalDependencies at release time (scripts/prepare-platform-packages.mjs --pin-version, run in release-skydive-cli.yml). Committing them would make `yarn install` try to resolve versions that only exist post-publish, breaking local dev and CI. npm installs of a published skydive-cli still get them (os/cpu-gated); the launcher (src/launcher.ts) resolves and execs the matching one. Local dev never needs them: it runs the JS bundle or `build:binary` directly.",
73
73
  "optionalDependencies": {
74
- "skydive-cli-darwin-arm64": "0.6.0-beta.41",
75
- "skydive-cli-darwin-x64": "0.6.0-beta.41",
76
- "skydive-cli-linux-x64": "0.6.0-beta.41",
77
- "skydive-cli-linux-arm64": "0.6.0-beta.41"
74
+ "skydive-cli-darwin-arm64": "0.6.0-beta.42",
75
+ "skydive-cli-darwin-x64": "0.6.0-beta.42",
76
+ "skydive-cli-linux-x64": "0.6.0-beta.42",
77
+ "skydive-cli-linux-arm64": "0.6.0-beta.42"
78
78
  }
79
79
  }
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env node
2
- import "./client-hxuyfRBc.mjs";
3
- import "./tls-cert-Rua2oV7n.mjs";
4
- import "./api-BFQ4PQDA.mjs";
5
- import "./daemon-BHEJmgBq.mjs";
6
- import { t as PortalDaemonClient } from "./daemon-client-B0-KqkuJ.mjs";
7
-
8
- export { PortalDaemonClient };
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
- import "./client-Dr81zuTm.mjs";
3
- import { t as runRawPtyPassthrough } from "./raw-pty-C323I8xG.mjs";
4
-
5
- export { runRawPtyPassthrough };