skydive-cli 0.4.0-beta.1029 → 0.4.0-beta.1033
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,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as setActiveWorkspace, S as listWorkspaces, T as version, _ as themes, b as getActiveWorkspaceId, o as brandHelpArt, t as installCrashHandler, w as name, x as getSessionIdentity, y as ensureActiveOrganization } from "./install-
|
|
2
|
+
import { C as setActiveWorkspace, S as listWorkspaces, T as version, _ as themes, b as getActiveWorkspaceId, o as brandHelpArt, t as installCrashHandler, w as name, x as getSessionIdentity, y as ensureActiveOrganization } from "./install-DCcGbpsS.mjs";
|
|
3
3
|
import { A as getStoredApiKeyWorkspaceName, C as getLastSeenVersion, F as resolveManagementAuth, I as resolveSession, M as resolveAppUrl, N as resolveChatAuth, O as getShareMachineDefault, P as resolveConfig, R as saveConfig, S as getConfigPath, T as getPromptHistoryPath, V as setLastSeenVersion, _ as API_KEY_PREFIX, b as PREFERENCES, g as API_KEY_FAMILY_PREFIX, h as API_KEYS_URL, i as resolveAgent, j as getUpdateCheckDisabled, k as getStoredApiKeyId, v as DEFAULT_API_URL, w as getPreference, x as deleteConfig, z as saveSession } from "./print-CiaU2ygh.mjs";
|
|
4
4
|
import { n as printError, r as printTable, t as output } from "./output-DYzzdXYV.mjs";
|
|
5
5
|
import { n as createRestClient, t as HttpError } from "./rest-CG7VpQ56.mjs";
|
|
@@ -1505,7 +1505,7 @@ const importCommand = {
|
|
|
1505
1505
|
process.exit(1);
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
|
-
const { runChat } = await import("./boot-
|
|
1508
|
+
const { runChat } = await import("./boot-C6THTSAl.mjs");
|
|
1509
1509
|
await runChat({
|
|
1510
1510
|
appUrl,
|
|
1511
1511
|
sessionToken: session.value.sessionToken,
|
|
@@ -1917,7 +1917,7 @@ const chatCommand = {
|
|
|
1917
1917
|
sessionToken: auth.value.token,
|
|
1918
1918
|
agentSelector: argv.agent ?? null
|
|
1919
1919
|
});
|
|
1920
|
-
const { runChat } = await import("./boot-
|
|
1920
|
+
const { runChat } = await import("./boot-C6THTSAl.mjs");
|
|
1921
1921
|
await runChat({
|
|
1922
1922
|
appUrl: auth.value.appUrl,
|
|
1923
1923
|
sessionToken: auth.value.token,
|
|
@@ -2276,7 +2276,7 @@ const switchCommand = {
|
|
|
2276
2276
|
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.");
|
|
2277
2277
|
process.exit(1);
|
|
2278
2278
|
}
|
|
2279
|
-
const { runWorkspacePicker } = await import("./boot-
|
|
2279
|
+
const { runWorkspacePicker } = await import("./boot-C6THTSAl.mjs");
|
|
2280
2280
|
await runWorkspacePicker(session);
|
|
2281
2281
|
return;
|
|
2282
2282
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as setActiveWorkspace, S as listWorkspaces, a as WORDMARK, b as getActiveWorkspaceId, c as applyTheme, d as noColorRequested, f as theme, g as themeVersion, h as themeModeFromColorFgBg, i as MARK_CELLS, l as findTheme, m as themeMode, n as buildCrashReport, p as themeForMode, r as writeCrashReport, s as DEFAULT_THEME_ID, t as installCrashHandler, u as monoTheme, v as themesForMode } from "./install-
|
|
2
|
+
import { C as setActiveWorkspace, S as listWorkspaces, a as WORDMARK, b as getActiveWorkspaceId, c as applyTheme, d as noColorRequested, f as theme, g as themeVersion, h as themeModeFromColorFgBg, i as MARK_CELLS, l as findTheme, m as themeMode, n as buildCrashReport, p as themeForMode, r as writeCrashReport, s as DEFAULT_THEME_ID, t as installCrashHandler, u as monoTheme, v as themesForMode } from "./install-DCcGbpsS.mjs";
|
|
3
3
|
import { B as saveTheme, D as getSavedTheme, E as getReviewStateDir, L as resolveWebUrl, S as getConfigPath, c as cardActionErrorMessage, d as reconcileMaskedInput, f as resolveConnectUrl, i as resolveAgent, l as parseExternalOauthConnectParams, m as specKeyFor, p as parseConnectCard, s as MASK_CHAR, u as parseOauthConnectParams, v as DEFAULT_API_URL, y as DEFAULT_APP_URL } from "./print-CiaU2ygh.mjs";
|
|
4
4
|
import { a as errorMessage, i as sendErrorMessage, n as createRestClient, o as isRecord, r as errorDetail, t as HttpError } from "./rest-CG7VpQ56.mjs";
|
|
5
5
|
import { i as billingBlockedOutcomeFromSendResponse } from "./billing-blocked-CwfG1BTR.mjs";
|
|
@@ -1842,6 +1842,9 @@ function FilterableAgentList({ agents, scope, onPick }) {
|
|
|
1842
1842
|
fg: theme.muted,
|
|
1843
1843
|
children: "search "
|
|
1844
1844
|
}), /* @__PURE__ */ jsx("input", {
|
|
1845
|
+
textColor: theme.fg,
|
|
1846
|
+
focusedTextColor: theme.fg,
|
|
1847
|
+
placeholderColor: theme.dim,
|
|
1845
1848
|
placeholder: "type to filter…",
|
|
1846
1849
|
focused: true,
|
|
1847
1850
|
width: Math.max(10, width - 12),
|
|
@@ -2040,6 +2043,9 @@ function AgentCreateScreen() {
|
|
|
2040
2043
|
flexShrink: 0
|
|
2041
2044
|
},
|
|
2042
2045
|
children: /* @__PURE__ */ jsx("input", {
|
|
2046
|
+
textColor: theme.fg,
|
|
2047
|
+
focusedTextColor: theme.fg,
|
|
2048
|
+
placeholderColor: theme.dim,
|
|
2043
2049
|
placeholder: "Agent name",
|
|
2044
2050
|
onInput: (value) => {
|
|
2045
2051
|
setName(value);
|
|
@@ -2742,6 +2748,9 @@ function ConversationList({ agent, conversations, complete, showAutomated, onTog
|
|
|
2742
2748
|
fg: theme.muted,
|
|
2743
2749
|
children: "search "
|
|
2744
2750
|
}), /* @__PURE__ */ jsx("input", {
|
|
2751
|
+
textColor: theme.fg,
|
|
2752
|
+
focusedTextColor: theme.fg,
|
|
2753
|
+
placeholderColor: theme.dim,
|
|
2745
2754
|
placeholder: "type to filter…",
|
|
2746
2755
|
focused: confirmId === null,
|
|
2747
2756
|
width: Math.max(10, width - 12),
|
|
@@ -6055,6 +6064,9 @@ function HelpModal({ onClose }) {
|
|
|
6055
6064
|
fg: theme.muted,
|
|
6056
6065
|
children: "search "
|
|
6057
6066
|
}), /* @__PURE__ */ jsx("input", {
|
|
6067
|
+
textColor: theme.fg,
|
|
6068
|
+
focusedTextColor: theme.fg,
|
|
6069
|
+
placeholderColor: theme.dim,
|
|
6058
6070
|
placeholder: "type to filter…",
|
|
6059
6071
|
focused: true,
|
|
6060
6072
|
width: Math.max(10, width - 12),
|
|
@@ -6618,6 +6630,9 @@ function FilterableModelList({ models, currentModel, modelLocked, agentId, onSel
|
|
|
6618
6630
|
fg: theme.muted,
|
|
6619
6631
|
children: "search "
|
|
6620
6632
|
}), /* @__PURE__ */ jsx("input", {
|
|
6633
|
+
textColor: theme.fg,
|
|
6634
|
+
focusedTextColor: theme.fg,
|
|
6635
|
+
placeholderColor: theme.dim,
|
|
6621
6636
|
placeholder: "type to filter…",
|
|
6622
6637
|
focused: true,
|
|
6623
6638
|
width: Math.max(10, width - 12),
|
|
@@ -7562,6 +7577,9 @@ function ReviewFileSearch({ query, onQueryChange, placeholder = "filter files…
|
|
|
7562
7577
|
fg: theme.accent,
|
|
7563
7578
|
children: "/ "
|
|
7564
7579
|
}), /* @__PURE__ */ jsx("input", {
|
|
7580
|
+
textColor: theme.fg,
|
|
7581
|
+
focusedTextColor: theme.fg,
|
|
7582
|
+
placeholderColor: theme.dim,
|
|
7565
7583
|
placeholder,
|
|
7566
7584
|
focused: true,
|
|
7567
7585
|
width: "100%",
|
|
@@ -8281,6 +8299,9 @@ function WorkspaceFilesTab({ agentId, viewportWidth, viewportHeight, active, she
|
|
|
8281
8299
|
height: 3
|
|
8282
8300
|
},
|
|
8283
8301
|
children: /* @__PURE__ */ jsx("input", {
|
|
8302
|
+
textColor: theme.fg,
|
|
8303
|
+
focusedTextColor: theme.fg,
|
|
8304
|
+
placeholderColor: theme.dim,
|
|
8284
8305
|
placeholder: "Leave a comment…",
|
|
8285
8306
|
focused: true,
|
|
8286
8307
|
width: Math.max(8, width - 10),
|
|
@@ -8808,6 +8829,9 @@ function ReviewPane({ agentId, conversationId, items, viewportWidth, viewportHei
|
|
|
8808
8829
|
height: 3
|
|
8809
8830
|
},
|
|
8810
8831
|
children: /* @__PURE__ */ jsx("input", {
|
|
8832
|
+
textColor: theme.fg,
|
|
8833
|
+
focusedTextColor: theme.fg,
|
|
8834
|
+
placeholderColor: theme.dim,
|
|
8811
8835
|
placeholder: "Leave a comment…",
|
|
8812
8836
|
focused: true,
|
|
8813
8837
|
width: Math.max(8, sourceWidth - 8),
|
|
@@ -11439,6 +11463,9 @@ function ChatScreen({ agent, conversation }) {
|
|
|
11439
11463
|
},
|
|
11440
11464
|
children: /* @__PURE__ */ jsx("textarea", {
|
|
11441
11465
|
ref: composerRef,
|
|
11466
|
+
textColor: theme.fg,
|
|
11467
|
+
focusedTextColor: theme.fg,
|
|
11468
|
+
placeholderColor: theme.dim,
|
|
11442
11469
|
placeholder: forking ? "forking into a new chat…" : `message ${agent.name}…`,
|
|
11443
11470
|
keyBindings: composerKeyBindings,
|
|
11444
11471
|
onContentChange: handleComposerChange,
|
|
@@ -11571,12 +11598,18 @@ function CredentialPromptBox({ prompt, height, onInput, onSubmit }) {
|
|
|
11571
11598
|
]
|
|
11572
11599
|
}),
|
|
11573
11600
|
field.secret ? /* @__PURE__ */ jsx("input", {
|
|
11601
|
+
textColor: theme.fg,
|
|
11602
|
+
focusedTextColor: theme.fg,
|
|
11603
|
+
placeholderColor: theme.dim,
|
|
11574
11604
|
value: MASK_CHAR.repeat(prompt.current.length),
|
|
11575
11605
|
placeholder: field.placeholder ?? "",
|
|
11576
11606
|
onInput,
|
|
11577
11607
|
onSubmit,
|
|
11578
11608
|
focused: !prompt.submitting
|
|
11579
11609
|
}, field.key) : /* @__PURE__ */ jsx("input", {
|
|
11610
|
+
textColor: theme.fg,
|
|
11611
|
+
focusedTextColor: theme.fg,
|
|
11612
|
+
placeholderColor: theme.dim,
|
|
11580
11613
|
placeholder: field.placeholder ?? "",
|
|
11581
11614
|
onInput,
|
|
11582
11615
|
onSubmit,
|