skydive-cli 0.6.0-beta.73 → 0.6.0-beta.75
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 +20 -20
- package/dist/js/{boot-DeBzi0qe.mjs → boot-6NAWO-wi.mjs} +21 -14
- package/dist/js/{client-iF8pgegm.mjs → client-C9HIkasy.mjs} +1 -1
- package/dist/js/{client-w2d1t5Zo.mjs → client-Gpfs37et.mjs} +1 -1
- package/dist/js/{daemon-2d5MlmJC.mjs → daemon-BCTl0Z7M.mjs} +1 -1
- package/dist/js/{daemon-CnPMwAXZ.mjs → daemon-DqzgAoEu.mjs} +2 -2
- package/dist/js/daemon-client-CuaLxT8g.mjs +8 -0
- package/dist/js/{daemon-client-76oO7T6M.mjs → daemon-client-ZOduEqyM.mjs} +1 -1
- package/dist/js/{install-CkGP83ln.mjs → install-DrscQAA_.mjs} +2 -2
- package/dist/js/{print-BXH-Cs1R.mjs → print-Bjx_4eOJ.mjs} +2 -2
- package/dist/js/{print-kWvbPvYX.mjs → print-Qyx3ML_x.mjs} +1 -1
- package/dist/js/{print-share-B6YmPaXZ.mjs → print-share-DiY4mKF1.mjs} +1 -1
- package/dist/js/{rest-BEHUAbHg.mjs → rest-4Oqm0U6J.mjs} +1 -1
- package/dist/js/{rest-BUFeSXQW.mjs → rest-Dpw-LgKi.mjs} +1 -1
- package/package.json +5 -5
- package/dist/js/daemon-client-B97aNNhb.mjs +0 -8
package/dist/js/bin.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as version, s as name, t as createRestClient } from "./rest-
|
|
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-
|
|
4
|
-
import { A as aliasActivationHint, B as getSessionIdentity, E as themes, F as SUPPORTED_SHELLS, H as resolveWorkspaceId, I as defaultInstallEnv, L as detectShell, M as installAgentAlias, N as slugifyAliasName, O as buildImportSeedPrompt, P as takenAliasNames, R as ensureActiveOrganization, U as setActiveWorkspace, V as listWorkspaces, c as brandHelpArt, d as maybeStartProfiling, f as profileDir, j as dedupeAliasName, k as machineOsFromPlatform, t as installCrashHandler, u as getAutomaticLogsDir, z as getActiveWorkspaceId } from "./install-
|
|
2
|
+
import { c as version, s as name, t as createRestClient } from "./rest-Dpw-LgKi.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-Qyx3ML_x.mjs";
|
|
4
|
+
import { A as aliasActivationHint, B as getSessionIdentity, E as themes, F as SUPPORTED_SHELLS, H as resolveWorkspaceId, I as defaultInstallEnv, L as detectShell, M as installAgentAlias, N as slugifyAliasName, O as buildImportSeedPrompt, P as takenAliasNames, R as ensureActiveOrganization, U as setActiveWorkspace, V as listWorkspaces, c as brandHelpArt, d as maybeStartProfiling, f as profileDir, j as dedupeAliasName, k as machineOsFromPlatform, t as installCrashHandler, u as getAutomaticLogsDir, z as getActiveWorkspaceId } from "./install-DrscQAA_.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-
|
|
8
|
+
import { s as resolveMachineIdentity } from "./client-Gpfs37et.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-
|
|
11
|
+
import { d as daemonPaths, i as queryDaemonStatus, n as ensureDaemonRunning, s as stopDaemon, u as PORTAL_DAEMON_FLAG } from "./daemon-BCTl0Z7M.mjs";
|
|
12
12
|
import { a as decodeFsResponse, i as FS_MAX_BLOB_BYTES, n as SANDBOX_STREAM_PATH, o as encodeFsRequest, r as streamSpecToQuery, t as SandboxStream } from "./client-CAX6sE_Y.mjs";
|
|
13
13
|
import { hideBin } from "yargs/helpers";
|
|
14
14
|
import yargs from "yargs";
|
|
@@ -1176,7 +1176,7 @@ async function resolveTargetAgentId(client, selector) {
|
|
|
1176
1176
|
printError("Missing --agent <id or name>. Run `skydive agents list` for candidates.");
|
|
1177
1177
|
process.exit(1);
|
|
1178
1178
|
}
|
|
1179
|
-
const { resolveAgent } = await import("./print-
|
|
1179
|
+
const { resolveAgent } = await import("./print-Bjx_4eOJ.mjs");
|
|
1180
1180
|
const result = await client.listAgents({
|
|
1181
1181
|
scope: "org",
|
|
1182
1182
|
limit: 100
|
|
@@ -1985,7 +1985,7 @@ const importCommand = {
|
|
|
1985
1985
|
process.exit(1);
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|
|
1988
|
-
const { runChat } = await import("./boot-
|
|
1988
|
+
const { runChat } = await import("./boot-6NAWO-wi.mjs");
|
|
1989
1989
|
await runChat({
|
|
1990
1990
|
appUrl,
|
|
1991
1991
|
sessionToken: session.value.sessionToken,
|
|
@@ -2015,7 +2015,7 @@ async function runImportPrintMode({ argv, appUrl }) {
|
|
|
2015
2015
|
printError(`${session.error.message} For non-interactive use, run \`skydive auth login --web\` first, or set SKYDIVE_SESSION_TOKEN.`);
|
|
2016
2016
|
process.exit(1);
|
|
2017
2017
|
}
|
|
2018
|
-
const { connectMachineShare } = await import("./print-share-
|
|
2018
|
+
const { connectMachineShare } = await import("./print-share-DiY4mKF1.mjs");
|
|
2019
2019
|
const machineShare = await connectMachineShare({
|
|
2020
2020
|
appUrl,
|
|
2021
2021
|
sessionToken: session.value.sessionToken,
|
|
@@ -2023,7 +2023,7 @@ async function runImportPrintMode({ argv, appUrl }) {
|
|
|
2023
2023
|
});
|
|
2024
2024
|
const extra = (argv.print ?? "").trim();
|
|
2025
2025
|
const prompt = buildImportSeedPrompt(process.cwd(), machineOsFromPlatform(process.platform)) + (extra ? `\n\nAdditional instructions: ${extra}` : "");
|
|
2026
|
-
const { runPrint } = await import("./print-
|
|
2026
|
+
const { runPrint } = await import("./print-Bjx_4eOJ.mjs");
|
|
2027
2027
|
try {
|
|
2028
2028
|
const result = await runPrint({
|
|
2029
2029
|
appUrl,
|
|
@@ -2446,7 +2446,7 @@ const chatCommand = {
|
|
|
2446
2446
|
sessionToken: auth.value.token,
|
|
2447
2447
|
agentSelector: argv.agent ?? null
|
|
2448
2448
|
});
|
|
2449
|
-
const { runChat } = await import("./boot-
|
|
2449
|
+
const { runChat } = await import("./boot-6NAWO-wi.mjs");
|
|
2450
2450
|
await runChat({
|
|
2451
2451
|
appUrl: auth.value.appUrl,
|
|
2452
2452
|
sessionToken: auth.value.token,
|
|
@@ -2530,7 +2530,7 @@ async function runPrintMode({ argv, appUrl }) {
|
|
|
2530
2530
|
printError(`${auth.error.message} For non-interactive use, run \`skydive auth login\` first, or set SKYDIVE_API_KEY / SKYDIVE_SESSION_TOKEN.`);
|
|
2531
2531
|
process.exit(1);
|
|
2532
2532
|
}
|
|
2533
|
-
const { runPrint, readStdin } = await import("./print-
|
|
2533
|
+
const { runPrint, readStdin } = await import("./print-Bjx_4eOJ.mjs");
|
|
2534
2534
|
const workspaceId = await resolveWorkspaceFlag({
|
|
2535
2535
|
appUrl,
|
|
2536
2536
|
sessionToken: auth.value.token,
|
|
@@ -2560,7 +2560,7 @@ async function runPrintMode({ argv, appUrl }) {
|
|
|
2560
2560
|
process.exit(1);
|
|
2561
2561
|
}
|
|
2562
2562
|
} else {
|
|
2563
|
-
const { connectMachineShare } = await import("./print-share-
|
|
2563
|
+
const { connectMachineShare } = await import("./print-share-DiY4mKF1.mjs");
|
|
2564
2564
|
machineShare = await connectMachineShare({
|
|
2565
2565
|
appUrl: auth.value.appUrl,
|
|
2566
2566
|
sessionToken: auth.value.token,
|
|
@@ -2625,7 +2625,7 @@ const getCommand$1 = {
|
|
|
2625
2625
|
printError(`${auth.error.message} Run \`skydive auth login\` first, or set SKYDIVE_API_KEY / SKYDIVE_SESSION_TOKEN.`);
|
|
2626
2626
|
process.exit(1);
|
|
2627
2627
|
}
|
|
2628
|
-
const { messageGet } = await import("./print-
|
|
2628
|
+
const { messageGet } = await import("./print-Bjx_4eOJ.mjs");
|
|
2629
2629
|
try {
|
|
2630
2630
|
const result = await messageGet({
|
|
2631
2631
|
appUrl: auth.value.appUrl,
|
|
@@ -2828,7 +2828,7 @@ const switchCommand = {
|
|
|
2828
2828
|
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.");
|
|
2829
2829
|
process.exit(1);
|
|
2830
2830
|
}
|
|
2831
|
-
const { runWorkspacePicker } = await import("./boot-
|
|
2831
|
+
const { runWorkspacePicker } = await import("./boot-6NAWO-wi.mjs");
|
|
2832
2832
|
await runWorkspacePicker(session);
|
|
2833
2833
|
return;
|
|
2834
2834
|
}
|
|
@@ -2907,7 +2907,7 @@ const openCommand = {
|
|
|
2907
2907
|
const agent = argv.agent ? resolveAgent$1((await fetchPortalDevices(session)).agents, argv.agent) : null;
|
|
2908
2908
|
const cwd = argv.cwd ? path.resolve(argv.cwd) : process.cwd();
|
|
2909
2909
|
const { machineName } = await resolveMachineIdentity(null);
|
|
2910
|
-
const { PortalDaemonClient } = await import("./daemon-client-
|
|
2910
|
+
const { PortalDaemonClient } = await import("./daemon-client-CuaLxT8g.mjs");
|
|
2911
2911
|
let lastLine = "";
|
|
2912
2912
|
let signalConnected;
|
|
2913
2913
|
const connected = new Promise((resolve) => {
|
|
@@ -3267,8 +3267,8 @@ const sandboxCommand = {
|
|
|
3267
3267
|
}).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`"),
|
|
3268
3268
|
handler: async (argv) => {
|
|
3269
3269
|
const session = requireSession(argv);
|
|
3270
|
-
const { createRestClient } = await import("./rest-
|
|
3271
|
-
const { resolveAgent } = await import("./print-
|
|
3270
|
+
const { createRestClient } = await import("./rest-4Oqm0U6J.mjs");
|
|
3271
|
+
const { resolveAgent } = await import("./print-Bjx_4eOJ.mjs");
|
|
3272
3272
|
const client = createRestClient({
|
|
3273
3273
|
appUrl: session.appUrl,
|
|
3274
3274
|
sessionToken: session.sessionToken
|
|
@@ -3560,8 +3560,8 @@ function resolveEditor(override, env, platform = process.platform) {
|
|
|
3560
3560
|
* `sandbox-fs-enabled` kill switch) exits here before any file work.
|
|
3561
3561
|
*/
|
|
3562
3562
|
async function openAgentFs(session, agentSelector) {
|
|
3563
|
-
const { createRestClient } = await import("./rest-
|
|
3564
|
-
const { resolveAgent } = await import("./print-
|
|
3563
|
+
const { createRestClient } = await import("./rest-4Oqm0U6J.mjs");
|
|
3564
|
+
const { resolveAgent } = await import("./print-Bjx_4eOJ.mjs");
|
|
3565
3565
|
let agent;
|
|
3566
3566
|
try {
|
|
3567
3567
|
agent = resolveAgent(await createRestClient({
|
|
@@ -5351,7 +5351,7 @@ if (process.argv.includes(UPDATE_WORKER_FLAG)) {
|
|
|
5351
5351
|
process.exit(0);
|
|
5352
5352
|
}
|
|
5353
5353
|
if (process.argv.includes(PORTAL_DAEMON_FLAG)) {
|
|
5354
|
-
const { runPortalDaemon } = await import("./daemon-
|
|
5354
|
+
const { runPortalDaemon } = await import("./daemon-DqzgAoEu.mjs");
|
|
5355
5355
|
runPortalDaemon(process.argv);
|
|
5356
5356
|
} else runCli();
|
|
5357
5357
|
function runCli() {
|
|
@@ -1,15 +1,15 @@
|
|
|
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-
|
|
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-
|
|
4
|
-
import { A as aliasActivationHint, C as themeMode, D as themesForMode, L as detectShell, M as installAgentAlias, N as slugifyAliasName, P as takenAliasNames, S as themeForMode, T as themeVersion, U as setActiveWorkspace, V as listWorkspaces, _ as applyTheme, a as writeCrashReport, b as noColorRequested, g as DEFAULT_THEME_ID, h as writeArtifact, i as buildCrashReport, j as dedupeAliasName, k as machineOsFromPlatform, l as splashFitsWidth, m as record, n as disableTerminalAutowrap, o as MARK_CELLS, p as profilingEnabled, r as restoreTerminalAutowrap, s as WORDMARK, t as installCrashHandler, v as findTheme, w as themeModeFromColorFgBg, x as theme, y as monoTheme, z as getActiveWorkspaceId } from "./install-
|
|
2
|
+
import { a as errorMessage, i as sendErrorMessage, n as errorDetail, o as isRecord, t as createRestClient } from "./rest-Dpw-LgKi.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-Qyx3ML_x.mjs";
|
|
4
|
+
import { A as aliasActivationHint, C as themeMode, D as themesForMode, L as detectShell, M as installAgentAlias, N as slugifyAliasName, P as takenAliasNames, S as themeForMode, T as themeVersion, U as setActiveWorkspace, V as listWorkspaces, _ as applyTheme, a as writeCrashReport, b as noColorRequested, g as DEFAULT_THEME_ID, h as writeArtifact, i as buildCrashReport, j as dedupeAliasName, k as machineOsFromPlatform, l as splashFitsWidth, m as record, n as disableTerminalAutowrap, o as MARK_CELLS, p as profilingEnabled, r as restoreTerminalAutowrap, s as WORDMARK, t as installCrashHandler, v as findTheme, w as themeModeFromColorFgBg, x as theme, y as monoTheme, z as getActiveWorkspaceId } from "./install-DrscQAA_.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-
|
|
7
|
+
import { n as PortalClient } from "./client-Gpfs37et.mjs";
|
|
8
8
|
import { t as defaultTlsCertSource } from "./tls-cert-Rua2oV7n.mjs";
|
|
9
9
|
import "./api-BFQ4PQDA.mjs";
|
|
10
|
-
import "./daemon-
|
|
10
|
+
import "./daemon-BCTl0Z7M.mjs";
|
|
11
11
|
import { t as SandboxStream } from "./client-CAX6sE_Y.mjs";
|
|
12
|
-
import { t as PortalDaemonClient } from "./daemon-client-
|
|
12
|
+
import { t as PortalDaemonClient } from "./daemon-client-ZOduEqyM.mjs";
|
|
13
13
|
import { t as runRawPtyPassthrough } from "./raw-pty-BcZNOOGh.mjs";
|
|
14
14
|
import * as os$1 from "node:os";
|
|
15
15
|
import { homedir, platform, release, tmpdir } from "node:os";
|
|
@@ -185,9 +185,10 @@ const useStore = create((set, get) => ({
|
|
|
185
185
|
promptHistoryPath
|
|
186
186
|
}),
|
|
187
187
|
setChatTitle: (title) => set((state) => state.screen.kind === "chat" ? { chatTitle: title } : {}),
|
|
188
|
-
setChatSpend: (cents, usage) => set((state) => state.screen.kind === "chat" ? { chatSpend: {
|
|
188
|
+
setChatSpend: (cents, usage, off) => set((state) => state.screen.kind === "chat" ? { chatSpend: {
|
|
189
189
|
cents,
|
|
190
|
-
usage
|
|
190
|
+
usage,
|
|
191
|
+
off
|
|
191
192
|
} } : {}),
|
|
192
193
|
setWorkspaceName: (workspaceName) => set({ workspaceName }),
|
|
193
194
|
fail: (message) => set({
|
|
@@ -8878,11 +8879,14 @@ function SidePanel({ open, width, height, agentName, title, collectSandboxStats,
|
|
|
8878
8879
|
* same store read the status-bar badge shows — the chat screen's
|
|
8879
8880
|
* useConversationSpend hook keeps it current (live poll while a run is
|
|
8880
8881
|
* running, settle read after, slow poll while idle), so the section adds no
|
|
8881
|
-
* reads of its own. `usage: null`
|
|
8882
|
-
*
|
|
8882
|
+
* reads of its own. When the api answers `usage: null` (`off`), the section
|
|
8883
|
+
* is not rendered at all — no "tracking is off" copy, nothing to read.
|
|
8884
|
+
* `usage: null` without `off` just means no figure yet (brand-new
|
|
8885
|
+
* conversation, read still in flight).
|
|
8883
8886
|
*/
|
|
8884
8887
|
function CostsSection() {
|
|
8885
8888
|
const chatSpend = useStore((s) => s.chatSpend);
|
|
8889
|
+
if (chatSpend?.off) return null;
|
|
8886
8890
|
const usage = chatSpend?.usage ?? null;
|
|
8887
8891
|
return /* @__PURE__ */ jsxs("box", {
|
|
8888
8892
|
style: {
|
|
@@ -8894,7 +8898,7 @@ function CostsSection() {
|
|
|
8894
8898
|
children: /* @__PURE__ */ jsx("b", { children: "costs" })
|
|
8895
8899
|
}), usage === null ? /* @__PURE__ */ jsx("text", {
|
|
8896
8900
|
fg: theme.dim,
|
|
8897
|
-
children: chatSpend === null ? "reading spend…" : "spend
|
|
8901
|
+
children: chatSpend === null ? "reading spend…" : "no spend recorded yet"
|
|
8898
8902
|
}) : formatSpendSection(usage).map((line, i) => /* @__PURE__ */ jsx("text", {
|
|
8899
8903
|
fg: i === 0 ? theme.fg : theme.muted,
|
|
8900
8904
|
children: line
|
|
@@ -16528,8 +16532,11 @@ function useConversationSpend({ rest, conversationId, runActive }) {
|
|
|
16528
16532
|
return { kind: "unavailable" };
|
|
16529
16533
|
}
|
|
16530
16534
|
if (conversationIdRef.current !== conversationId) return { kind: "unavailable" };
|
|
16531
|
-
if (!usage)
|
|
16532
|
-
|
|
16535
|
+
if (!usage) {
|
|
16536
|
+
setChatSpend(null, null, true);
|
|
16537
|
+
return { kind: "off" };
|
|
16538
|
+
}
|
|
16539
|
+
setChatSpend(usage.totalCents, usage, false);
|
|
16533
16540
|
return {
|
|
16534
16541
|
kind: "usage",
|
|
16535
16542
|
usage
|
|
@@ -16540,7 +16547,7 @@ function useConversationSpend({ rest, conversationId, runActive }) {
|
|
|
16540
16547
|
setChatSpend
|
|
16541
16548
|
]);
|
|
16542
16549
|
useEffect(() => {
|
|
16543
|
-
setChatSpend(null, null);
|
|
16550
|
+
setChatSpend(null, null, false);
|
|
16544
16551
|
refresh();
|
|
16545
16552
|
}, [refresh, setChatSpend]);
|
|
16546
16553
|
const wasActiveRef = useRef(runActive);
|
|
@@ -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-
|
|
2
|
+
import { n as PortalClient, r as RATE_LIMIT_STAND_DOWN_MS, t as AUTH_STAND_DOWN_MS } from "./client-Gpfs37et.mjs";
|
|
3
3
|
import "./api-BFQ4PQDA.mjs";
|
|
4
4
|
|
|
5
5
|
export { PortalClient };
|
|
@@ -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 "
|
|
164
|
+
return "1791672249";
|
|
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 { a as portalDaemonBuild, i as isNewerBuild, n as PortalClient, o as isRecord } from "./client-
|
|
2
|
+
import { a as portalDaemonBuild, i as isNewerBuild, n as PortalClient, o as isRecord } from "./client-Gpfs37et.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-
|
|
2
|
+
import "./client-Gpfs37et.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-
|
|
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-BCTl0Z7M.mjs";
|
|
6
6
|
|
|
7
7
|
export { runPortalDaemon };
|
|
@@ -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-
|
|
2
|
+
import { d as daemonPaths, f as encodeLine, l as LOCAL_PROTOCOL_VERSION, m as parseDaemonMessage, n as ensureDaemonRunning, p as makeLineParser } from "./daemon-BCTl0Z7M.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-
|
|
3
|
-
import { D as getConfigPath } from "./print-
|
|
2
|
+
import { c as version$1 } from "./rest-Dpw-LgKi.mjs";
|
|
3
|
+
import { D as getConfigPath } from "./print-Qyx3ML_x.mjs";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { err, ok } from "neverthrow";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./rest-
|
|
3
|
-
import { a as runPrint, i as resolveAgent, n as messageGet, o as toPrintError, r as readStdin, t as collectRunText } from "./print-
|
|
2
|
+
import "./rest-Dpw-LgKi.mjs";
|
|
3
|
+
import { a as runPrint, i as resolveAgent, n as messageGet, o as toPrintError, r as readStdin, t as collectRunText } from "./print-Qyx3ML_x.mjs";
|
|
4
4
|
import "./billing-blocked-D3l5kJlX.mjs";
|
|
5
5
|
|
|
6
6
|
export { messageGet, readStdin, resolveAgent, runPrint };
|
|
@@ -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-
|
|
2
|
+
import { a as errorMessage, i as sendErrorMessage, o as isRecord, t as createRestClient } from "./rest-Dpw-LgKi.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";
|
|
@@ -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-
|
|
17
|
+
const { PortalClient } = await import("./client-C9HIkasy.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 { i as sendErrorMessage, n as errorDetail, r as filenameFromContentDisposition, t as createRestClient } from "./rest-
|
|
2
|
+
import { i as sendErrorMessage, n as errorDetail, r as filenameFromContentDisposition, t as createRestClient } from "./rest-Dpw-LgKi.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.
|
|
3
|
+
"version": "0.6.0-beta.75",
|
|
4
4
|
"description": "Skydive CLI — cloud agents from the command line",
|
|
5
5
|
"homepage": "https://skydive.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
},
|
|
73
73
|
"//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.",
|
|
74
74
|
"optionalDependencies": {
|
|
75
|
-
"skydive-cli-darwin-arm64": "0.6.0-beta.
|
|
76
|
-
"skydive-cli-darwin-x64": "0.6.0-beta.
|
|
77
|
-
"skydive-cli-linux-x64": "0.6.0-beta.
|
|
78
|
-
"skydive-cli-linux-arm64": "0.6.0-beta.
|
|
75
|
+
"skydive-cli-darwin-arm64": "0.6.0-beta.75",
|
|
76
|
+
"skydive-cli-darwin-x64": "0.6.0-beta.75",
|
|
77
|
+
"skydive-cli-linux-x64": "0.6.0-beta.75",
|
|
78
|
+
"skydive-cli-linux-arm64": "0.6.0-beta.75"
|
|
79
79
|
}
|
|
80
80
|
}
|