scream-code 0.6.6 → 0.6.8

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.
@@ -121408,7 +121408,7 @@ var ApiKeyInputDialogComponent = class extends Container {
121408
121408
  };
121409
121409
  //#endregion
121410
121410
  //#region src/tui/constant/symbols.ts
121411
- const STATUS_BULLET = " ";
121411
+ const STATUS_BULLET = " ";
121412
121412
  const USER_MESSAGE_BULLET = "┃ ";
121413
121413
  const FAILURE_MARK = "✗ ";
121414
121414
  //#endregion
@@ -136250,7 +136250,7 @@ function renderRow(todo, colors) {
136250
136250
  }
136251
136251
  function statusMarker(status, colors) {
136252
136252
  switch (status) {
136253
- case "in_progress": return chalk.hex(colors.primary).bold("");
136253
+ case "in_progress": return chalk.hex(colors.primary).bold("");
136254
136254
  case "done": return chalk.hex(colors.success)("✓");
136255
136255
  case "pending": return chalk.hex(colors.textDim)("○");
136256
136256
  }
@@ -139527,7 +139527,6 @@ var ScreamTUI = class {
139527
139527
  this.state.appState.recentSessions = [];
139528
139528
  }
139529
139529
  this.lifecycleController.mountFooter();
139530
- this.installFixedBottomRegion();
139531
139530
  this.transcriptController.renderWelcome();
139532
139531
  setExperimentalFlags(await this.harness.getExperimentalFlags());
139533
139532
  this.inputController.setupAutocomplete();
@@ -139803,23 +139802,6 @@ var ScreamTUI = class {
139803
139802
  * We override `doRender` to measure the editor + footer height each frame
139804
139803
  * and set the count before the real render runs.
139805
139804
  */
139806
- installFixedBottomRegion() {
139807
- const ui = this.state.ui;
139808
- const originalDoRender = ui.doRender.bind(ui);
139809
- const editor = this.state.editorContainer;
139810
- const footer = ui.children.at(-1);
139811
- let lastWidth = -1;
139812
- let fixedCount = 0;
139813
- ui.doRender = () => {
139814
- const w = ui.terminal?.columns ?? 0;
139815
- if (w > 0 && w !== lastWidth) {
139816
- fixedCount = editor.render(w).length + (footer ? footer.render(w).length : 0);
139817
- lastWidth = w;
139818
- }
139819
- ui.fixedBottomLineCount = fixedCount;
139820
- originalDoRender();
139821
- };
139822
- }
139823
139805
  async resumeSession(targetSessionId) {
139824
139806
  return (await this.sessionManager.resumeSession(targetSessionId)).switched;
139825
139807
  }
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env node
2
+ import { fileURLToPath as __cjsShimFileURLToPath } from 'node:url';
3
+ import { dirname as __cjsShimDirname } from 'node:path';
4
+ const __filename = __cjsShimFileURLToPath(import.meta.url);
5
+ const __dirname = __cjsShimDirname(__filename);
6
+ import { createRequire } from "node:module";
7
+ //#region \0rolldown/runtime.js
8
+ var __create = Object.create;
9
+ var __defProp = Object.defineProperty;
10
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
+ var __getOwnPropNames = Object.getOwnPropertyNames;
12
+ var __getProtoOf = Object.getPrototypeOf;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
15
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
16
+ var __exportAll = (all, no_symbols) => {
17
+ let target = {};
18
+ for (var name in all) __defProp(target, name, {
19
+ get: all[name],
20
+ enumerable: true
21
+ });
22
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
23
+ return target;
24
+ };
25
+ var __copyProps = (to, from, except, desc) => {
26
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
27
+ key = keys[i];
28
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
29
+ get: ((k) => from[k]).bind(null, key),
30
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
31
+ });
32
+ }
33
+ return to;
34
+ };
35
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
36
+ value: mod,
37
+ enumerable: true
38
+ }) : target, mod));
39
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
40
+ //#endregion
41
+ export { __toESM as a, __require as i, __esmMin as n, __exportAll as r, __commonJSMin as t };