skydive-cli 0.6.0-beta.45 → 0.6.0-beta.47
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-DTcDZkkA.mjs → boot-CU6KU96z.mjs} +44 -14
- package/dist/js/{client-CT2njxHl.mjs → client-Bk_3YpTm.mjs} +1 -1
- package/dist/js/{client-BPFZgJhV.mjs → client-Cn26aUnX.mjs} +1 -1
- package/dist/js/{daemon-DW4X4NLq.mjs → daemon-Csa7vXR_.mjs} +1 -1
- package/dist/js/{daemon-D0w9LhuE.mjs → daemon-INzbfxgL.mjs} +2 -2
- package/dist/js/daemon-client-Bibxagpt.mjs +8 -0
- package/dist/js/{daemon-client-DFaTfiLv.mjs → daemon-client-DUBmILYx.mjs} +1 -1
- package/dist/js/{install-CHCOAdPx.mjs → install-BKSUo-nD.mjs} +2 -2
- package/dist/js/{print-ChRCtMhm.mjs → print-B-LFmP0U.mjs} +1 -1
- package/dist/js/{print-BnkCeeZt.mjs → print-BPzXsw-o.mjs} +2 -2
- package/dist/js/{print-share-qiNP_Dn8.mjs → print-share-xuaXZ7RY.mjs} +1 -1
- package/dist/js/{rest-C0xi02uj.mjs → rest-Bvw1K_vG.mjs} +1 -1
- package/dist/js/{rest-CXimvT7P.mjs → rest-D9At6YE7.mjs} +1 -1
- package/package.json +5 -5
- package/dist/js/daemon-client-C29PGHuU.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 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-
|
|
2
|
+
import { c as version, s as name, t as createRestClient } from "./rest-Bvw1K_vG.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-B-LFmP0U.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-BKSUo-nD.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-Bk_3YpTm.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-Csa7vXR_.mjs";
|
|
12
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";
|
|
@@ -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-
|
|
1083
|
+
const { resolveAgent } = await import("./print-BPzXsw-o.mjs");
|
|
1084
1084
|
const result = await client.listAgents({
|
|
1085
1085
|
scope: "org",
|
|
1086
1086
|
limit: 100
|
|
@@ -1823,7 +1823,7 @@ const importCommand = {
|
|
|
1823
1823
|
process.exit(1);
|
|
1824
1824
|
}
|
|
1825
1825
|
}
|
|
1826
|
-
const { runChat } = await import("./boot-
|
|
1826
|
+
const { runChat } = await import("./boot-CU6KU96z.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-
|
|
1856
|
+
const { connectMachineShare } = await import("./print-share-xuaXZ7RY.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-
|
|
1864
|
+
const { runPrint } = await import("./print-BPzXsw-o.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-
|
|
2287
|
+
const { runChat } = await import("./boot-CU6KU96z.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-
|
|
2371
|
+
const { runPrint, readStdin } = await import("./print-BPzXsw-o.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-
|
|
2401
|
+
const { connectMachineShare } = await import("./print-share-xuaXZ7RY.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-
|
|
2466
|
+
const { messageGet } = await import("./print-BPzXsw-o.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-
|
|
2669
|
+
const { runWorkspacePicker } = await import("./boot-CU6KU96z.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-
|
|
2748
|
+
const { PortalDaemonClient } = await import("./daemon-client-Bibxagpt.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-
|
|
3109
|
-
const { resolveAgent } = await import("./print-
|
|
3108
|
+
const { createRestClient } = await import("./rest-D9At6YE7.mjs");
|
|
3109
|
+
const { resolveAgent } = await import("./print-BPzXsw-o.mjs");
|
|
3110
3110
|
const client = createRestClient({
|
|
3111
3111
|
appUrl: session.appUrl,
|
|
3112
3112
|
sessionToken: session.sessionToken
|
|
@@ -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-
|
|
3427
|
-
const { resolveAgent } = await import("./print-
|
|
3426
|
+
const { createRestClient } = await import("./rest-D9At6YE7.mjs");
|
|
3427
|
+
const { resolveAgent } = await import("./print-BPzXsw-o.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-
|
|
4881
|
+
const { runPortalDaemon } = await import("./daemon-INzbfxgL.mjs");
|
|
4882
4882
|
runPortalDaemon(process.argv);
|
|
4883
4883
|
} else runCli();
|
|
4884
4884
|
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 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-
|
|
2
|
+
import { a as errorMessage, i as sendErrorMessage, n as errorDetail, o as isRecord, t as createRestClient } from "./rest-Bvw1K_vG.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-B-LFmP0U.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-BKSUo-nD.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-Bk_3YpTm.mjs";
|
|
8
8
|
import { t as defaultTlsCertSource } from "./tls-cert-Rua2oV7n.mjs";
|
|
9
9
|
import "./api-BFQ4PQDA.mjs";
|
|
10
|
-
import "./daemon-
|
|
10
|
+
import "./daemon-Csa7vXR_.mjs";
|
|
11
11
|
import { t as SandboxStream } from "./client-CFnT0cAy.mjs";
|
|
12
|
-
import { t as PortalDaemonClient } from "./daemon-client-
|
|
12
|
+
import { t as PortalDaemonClient } from "./daemon-client-DUBmILYx.mjs";
|
|
13
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";
|
|
@@ -4396,13 +4396,25 @@ function ConversationPickerScreen({ agent, initialQuery }) {
|
|
|
4396
4396
|
cacheKey,
|
|
4397
4397
|
cache
|
|
4398
4398
|
]);
|
|
4399
|
-
if (state.kind === "loading") return /* @__PURE__ */ jsx(HomeFrame, { children: /* @__PURE__ */ jsx("
|
|
4400
|
-
|
|
4401
|
-
|
|
4399
|
+
if (state.kind === "loading") return /* @__PURE__ */ jsx(HomeFrame, { children: /* @__PURE__ */ jsx("box", {
|
|
4400
|
+
style: {
|
|
4401
|
+
flexDirection: "column",
|
|
4402
|
+
alignItems: "center"
|
|
4403
|
+
},
|
|
4404
|
+
children: /* @__PURE__ */ jsx("text", {
|
|
4405
|
+
fg: theme.muted,
|
|
4406
|
+
children: "loading conversations…"
|
|
4407
|
+
})
|
|
4402
4408
|
}) });
|
|
4403
|
-
if (state.kind === "error") return /* @__PURE__ */ jsx(HomeFrame, { children: /* @__PURE__ */
|
|
4404
|
-
|
|
4405
|
-
|
|
4409
|
+
if (state.kind === "error") return /* @__PURE__ */ jsx(HomeFrame, { children: /* @__PURE__ */ jsx("box", {
|
|
4410
|
+
style: {
|
|
4411
|
+
flexDirection: "column",
|
|
4412
|
+
alignItems: "center"
|
|
4413
|
+
},
|
|
4414
|
+
children: /* @__PURE__ */ jsxs("text", {
|
|
4415
|
+
fg: theme.error,
|
|
4416
|
+
children: ["error: ", state.message]
|
|
4417
|
+
})
|
|
4406
4418
|
}) });
|
|
4407
4419
|
return /* @__PURE__ */ jsx(ConversationHome, {
|
|
4408
4420
|
agent,
|
|
@@ -8545,6 +8557,15 @@ function collectSandboxStats(cfg) {
|
|
|
8545
8557
|
* it; a cramped terminal keeps the toggle inert instead of squeezing the
|
|
8546
8558
|
* conversation.
|
|
8547
8559
|
*/
|
|
8560
|
+
/**
|
|
8561
|
+
* Wire-off for the whole panel (binding, help entry, render). The panel ships
|
|
8562
|
+
* only a title line plus the sandbox gauges, so it is held behind this gate
|
|
8563
|
+
* until it has enough content to be worth the screen column; flip to true and
|
|
8564
|
+
* drop this comment to re-enable. The binding and the help registry are keyed
|
|
8565
|
+
* on this directly; the render is unreachable because sidePanelOpen can only
|
|
8566
|
+
* flip through the gated binding.
|
|
8567
|
+
*/
|
|
8568
|
+
const SIDE_PANEL_ENABLED = false;
|
|
8548
8569
|
/** Fixed panel width, matching OpenCode's sidebar (42 cols minus padding). */
|
|
8549
8570
|
const SIDE_PANEL_WIDTH = 40;
|
|
8550
8571
|
/**
|
|
@@ -8919,6 +8940,14 @@ function suppressComposerFocus(composer) {
|
|
|
8919
8940
|
|
|
8920
8941
|
//#endregion
|
|
8921
8942
|
//#region src/chat/tui/keybinds.ts
|
|
8943
|
+
/**
|
|
8944
|
+
* Central registry of every keybind in the TUI, grouped by where it applies.
|
|
8945
|
+
* Rendered by the help modal (opened with `?` from the chat screen); the
|
|
8946
|
+
* per-screen hint lines stay deliberately short and point here instead.
|
|
8947
|
+
*
|
|
8948
|
+
* When adding a keybind to any screen, register it here too — this list is
|
|
8949
|
+
* the only place a user can discover it.
|
|
8950
|
+
*/
|
|
8922
8951
|
const keybindGroups = [
|
|
8923
8952
|
{
|
|
8924
8953
|
title: "chat",
|
|
@@ -8963,10 +8992,10 @@ const keybindGroups = [
|
|
|
8963
8992
|
keys: "ctrl+g",
|
|
8964
8993
|
action: "toggle file review pane"
|
|
8965
8994
|
},
|
|
8966
|
-
{
|
|
8995
|
+
...SIDE_PANEL_ENABLED ? [{
|
|
8967
8996
|
keys: "ctrl+s",
|
|
8968
8997
|
action: "toggle the side panel"
|
|
8969
|
-
},
|
|
8998
|
+
}] : [],
|
|
8970
8999
|
{
|
|
8971
9000
|
keys: "exit",
|
|
8972
9001
|
action: "quit (type it as a message)"
|
|
@@ -12895,6 +12924,7 @@ function CredentialPromptBox({ prompt, height, onInput, onSubmit }) {
|
|
|
12895
12924
|
function useChatKeyboard({ agent, rest, goTo, items, input, setInput, composerRef, setComposerRows, history, stageClipboardImage, dropLastAttachment, attachmentsRef, cancelRun, cancelLatestSteer, quit, openInBrowser, archiveConversation, forkAndContinue, drillIntoConversation, toggleShare, confirmGrant, declineGrant, promptForCards, runRestartComputer, decideCompute, acceptCompletion, applyComposerText, jumpToBottom, jumpToLastOwnMessage, commandQuery, menuOpen, menuCommands, menuHighlightClamped, setMenuDismissed, setMenuHighlight, historyLoaded, bgTasksActive, cardPickerOpen, askPromptOpen, modelPickerOpen, helpOpen, setHelpOpen, creditsOpen, setCreditsOpen, bgTasksOpen, setBgTasksOpen, themePickerOpen, setThemePickerOpen, prPickerOpen, ctrlCArmed, setCtrlCArmed, creditsSequenceRef, runRef, scrollRef, sidePanelOpen, setSidePanelOpen, reviewOpen, setReviewOpen, reviewFocused, setReviewFocused, reviewPlacement, grantPrompt, credPrompt, setCredPrompt, computePrompt, setComputePrompt, restartConfirm, setRestartConfirm, subagentSelection, setSubagentSelection, width, nonWebChannel, anchoredSubagentBatch, scrolledUp, parentConversationId, setModelPickerView }) {
|
|
12896
12925
|
useKeyboard((key) => {
|
|
12897
12926
|
if (key.name === "s" && key.ctrl) {
|
|
12927
|
+
if (!SIDE_PANEL_ENABLED) return;
|
|
12898
12928
|
if (!sidePanelOpen && sidePanelPlacement({
|
|
12899
12929
|
open: true,
|
|
12900
12930
|
width
|
|
@@ -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 "1790741132";
|
|
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-
|
|
2
|
+
import { n as PortalClient, r as RATE_LIMIT_STAND_DOWN_MS, t as AUTH_STAND_DOWN_MS } from "./client-Bk_3YpTm.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-
|
|
2
|
+
import { a as portalDaemonBuild, i as isNewerBuild, n as PortalClient, o as isRecord } from "./client-Bk_3YpTm.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-Bk_3YpTm.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-Csa7vXR_.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-Csa7vXR_.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-Bvw1K_vG.mjs";
|
|
3
|
+
import { D as getConfigPath } from "./print-B-LFmP0U.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-
|
|
2
|
+
import { a as errorMessage, i as sendErrorMessage, o as isRecord, t as createRestClient } from "./rest-Bvw1K_vG.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-
|
|
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-Bvw1K_vG.mjs";
|
|
3
|
+
import { a as runPrint, i as resolveAgent, n as messageGet, o as toPrintError, r as readStdin, t as collectRunText } from "./print-B-LFmP0U.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-
|
|
17
|
+
const { PortalClient } = await import("./client-Cn26aUnX.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-Bvw1K_vG.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.47",
|
|
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.
|
|
75
|
-
"skydive-cli-darwin-x64": "0.6.0-beta.
|
|
76
|
-
"skydive-cli-linux-x64": "0.6.0-beta.
|
|
77
|
-
"skydive-cli-linux-arm64": "0.6.0-beta.
|
|
74
|
+
"skydive-cli-darwin-arm64": "0.6.0-beta.47",
|
|
75
|
+
"skydive-cli-darwin-x64": "0.6.0-beta.47",
|
|
76
|
+
"skydive-cli-linux-x64": "0.6.0-beta.47",
|
|
77
|
+
"skydive-cli-linux-arm64": "0.6.0-beta.47"
|
|
78
78
|
}
|
|
79
79
|
}
|