skydive-cli 0.1.0-beta.314 → 0.1.0-beta.316
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
|
@@ -16,7 +16,7 @@ import zlib from "node:zlib";
|
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
|
|
18
18
|
//#region package.json
|
|
19
|
-
var version$1 = "0.1.0-beta.
|
|
19
|
+
var version$1 = "0.1.0-beta.316";
|
|
20
20
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/types.ts
|
|
@@ -2617,7 +2617,7 @@ const chatCommand = {
|
|
|
2617
2617
|
printError(`Unknown theme "${themeId}". Valid themes: ${themes.map((t) => t.id).join(", ")}`);
|
|
2618
2618
|
process.exit(1);
|
|
2619
2619
|
}
|
|
2620
|
-
const { runChat } = await import("./boot-
|
|
2620
|
+
const { runChat } = await import("./boot-DmPfuIod.mjs");
|
|
2621
2621
|
await runChat({
|
|
2622
2622
|
appUrl,
|
|
2623
2623
|
sessionToken: session.value.sessionToken,
|
|
@@ -3410,7 +3410,7 @@ const switchCommand = {
|
|
|
3410
3410
|
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.");
|
|
3411
3411
|
process.exit(1);
|
|
3412
3412
|
}
|
|
3413
|
-
const { runWorkspacePicker } = await import("./boot-
|
|
3413
|
+
const { runWorkspacePicker } = await import("./boot-DmPfuIod.mjs");
|
|
3414
3414
|
await runWorkspacePicker(session);
|
|
3415
3415
|
return;
|
|
3416
3416
|
}
|
|
@@ -3471,7 +3471,7 @@ function formatChatFooterStatus({ runKind, ctrlCArmed, isShared, hasPendingSteer
|
|
|
3471
3471
|
switch (runKind) {
|
|
3472
3472
|
case "idle": return ctrlCArmed ? "press ctrl+c again to quit" : `${connectHint}↵ send · / commands · esc back · ctrl+c quit · ctrl+t ${isShared ? "revoke access" : "local access"} · ? keybinds`;
|
|
3473
3473
|
case "sending": return "sending…";
|
|
3474
|
-
case "streaming": return hasPendingSteer ? `${connectHint}↵ steer · esc cancel steer · ctrl+c cancel run` : `${connectHint}↵ steer · ctrl+c cancel`;
|
|
3474
|
+
case "streaming": return hasPendingSteer ? `${connectHint}↵ steer · esc cancel steer · ctrl+c cancel run` : `${connectHint}↵ steer · esc leave (keeps running) · ctrl+c cancel`;
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
/** Keep model switching discoverable beside the current model. */
|
|
@@ -3742,6 +3742,10 @@ const keybindGroups = [
|
|
|
3742
3742
|
keys: "esc",
|
|
3743
3743
|
action: "cancel latest steer (while running)"
|
|
3744
3744
|
},
|
|
3745
|
+
{
|
|
3746
|
+
keys: "esc",
|
|
3747
|
+
action: "leave a running agent (it keeps working; reopen to reattach)"
|
|
3748
|
+
},
|
|
3745
3749
|
{
|
|
3746
3750
|
keys: "ctrl+c",
|
|
3747
3751
|
action: "cancel run (while running)"
|
|
@@ -6435,7 +6439,13 @@ function ChatScreen({ agent, conversation }) {
|
|
|
6435
6439
|
}
|
|
6436
6440
|
if (key.name === "escape") {
|
|
6437
6441
|
if (runRef.current.kind === "streaming") {
|
|
6438
|
-
cancelLatestSteer();
|
|
6442
|
+
if (cancelLatestSteer()) return;
|
|
6443
|
+
runRef.current.abort.abort();
|
|
6444
|
+
useStore.getState().showToast({ message: `${agent.name} keeps working — reopen to reattach` });
|
|
6445
|
+
goTo({
|
|
6446
|
+
kind: "conversation-picker",
|
|
6447
|
+
agent
|
|
6448
|
+
});
|
|
6439
6449
|
return;
|
|
6440
6450
|
}
|
|
6441
6451
|
if (runRef.current.kind === "idle") goTo({
|