skydive-cli 0.1.0-beta.339 → 0.1.0-beta.340

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.339";
19
+ var version$1 = "0.1.0-beta.340";
20
20
 
21
21
  //#endregion
22
22
  //#region src/types.ts
@@ -2618,7 +2618,7 @@ const chatCommand = {
2618
2618
  printError(`Unknown theme "${themeId}". Valid themes: ${themes.map((t) => t.id).join(", ")}`);
2619
2619
  process.exit(1);
2620
2620
  }
2621
- const { runChat } = await import("./boot-CzNAkqIm.mjs");
2621
+ const { runChat } = await import("./boot-BQZrbJAh.mjs");
2622
2622
  await runChat({
2623
2623
  appUrl,
2624
2624
  sessionToken: session.value.sessionToken,
@@ -3411,7 +3411,7 @@ const switchCommand = {
3411
3411
  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.");
3412
3412
  process.exit(1);
3413
3413
  }
3414
- const { runWorkspacePicker } = await import("./boot-CzNAkqIm.mjs");
3414
+ const { runWorkspacePicker } = await import("./boot-BQZrbJAh.mjs");
3415
3415
  await runWorkspacePicker(session);
3416
3416
  return;
3417
3417
  }
@@ -5397,6 +5397,12 @@ const composerKeyBindings = [
5397
5397
  action: "newline"
5398
5398
  }
5399
5399
  ];
5400
+ /**
5401
+ * Fraction of the transcript viewport pgup/pgdn moves. Short of a full page on
5402
+ * purpose: the last rows of the page you were reading stay on screen, so you
5403
+ * keep your place instead of landing on entirely unfamiliar text.
5404
+ */
5405
+ const pageScrollFraction = .75;
5400
5406
  /** Cap composer growth; past this the textarea scrolls its content instead. */
5401
5407
  const maxComposerRows = 8;
5402
5408
  const maxAttachments = 10;
@@ -6463,11 +6469,11 @@ function ChatScreen({ agent, conversation }) {
6463
6469
  return;
6464
6470
  }
6465
6471
  if (key.name === "pageup" || key.name === "pgup") {
6466
- scrollRef.current?.scrollBy(-1, "viewport");
6472
+ scrollRef.current?.scrollBy(-pageScrollFraction, "viewport");
6467
6473
  return;
6468
6474
  }
6469
6475
  if (key.name === "pagedown" || key.name === "pgdn") {
6470
- scrollRef.current?.scrollBy(1, "viewport");
6476
+ scrollRef.current?.scrollBy(pageScrollFraction, "viewport");
6471
6477
  return;
6472
6478
  }
6473
6479
  if (key.name === "c" && key.ctrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skydive-cli",
3
- "version": "0.1.0-beta.339",
3
+ "version": "0.1.0-beta.340",
4
4
  "description": "Skydive CLI — manage AI agents from the command line",
5
5
  "homepage": "https://skydive.com",
6
6
  "license": "MIT",