drexler 0.2.2 → 0.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.3
4
+
5
+ - Restored full-terminal-width interactive chrome, including the chat input bar.
6
+
3
7
  ## 0.2.2
4
8
 
5
9
  - Added argument suggestions in the slash command palette for `/theme`, `/startup`, `/retry`, `/export`, and `/model`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drexler",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "CLI chat with Drexler, a corporate-executive AI persona built on OpenRouter Gemma 4 31B.",
5
5
  "license": "MIT",
6
6
  "author": "showOS",
package/src/ui/App.tsx CHANGED
@@ -41,7 +41,6 @@ import { ThemeProvider } from "./ThemeContext.tsx";
41
41
  import { TranscriptViewport } from "./TranscriptViewport.tsx";
42
42
  import { getActiveTheme, THEMES } from "./themes.ts";
43
43
 
44
- const MAX_INPUT_WIDTH = 80;
45
44
  const TRANSCRIPT_CHROME_ROWS = 12;
46
45
 
47
46
  export function transcriptRowsForTerminalRows(rows: number): number {
@@ -111,14 +110,8 @@ export function App({ conversation, config, mood = "neutral", fetchFn }: AppProp
111
110
  };
112
111
  }, [stdout]);
113
112
  const mode = useMemo(() => pickLayout(cols), [cols]);
114
- const inputWidth = useMemo(
115
- () => Math.max(1, Math.min(cols, MAX_INPUT_WIDTH)),
116
- [cols],
117
- );
118
- const chromeWidth = useMemo(
119
- () => Math.max(1, Math.min(cols, MAX_INPUT_WIDTH)),
120
- [cols],
121
- );
113
+ const inputWidth = useMemo(() => Math.max(1, cols), [cols]);
114
+ const chromeWidth = useMemo(() => Math.max(1, cols), [cols]);
122
115
  const statusBarWidth = useMemo(() => Math.max(1, inputWidth - 2), [inputWidth]);
123
116
  const isCompact = mode === "very-narrow";
124
117
  const maxTranscriptRows = useMemo(