opencode-sesh 2.1.2 → 2.1.4

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/AGENTS.md CHANGED
@@ -30,6 +30,7 @@ bun run build # compile the panel to dist/tui.js
30
30
  bun run test # build + fixture-DB regression suite — must stay green
31
31
  bun run test:changelog # release-tooling regressions (scripts/changelog.sh)
32
32
  bun run test:picker # PTY picker suite
33
+ bun run test:tui-home # real OpenTUI home layout regressions (also in bun run test)
33
34
  bun run typecheck # tsc over tui-plugins/ and plugins/
34
35
  bun run lint:sh # bash -n on every script
35
36
  HOME=/tmp/fakehome bash install.sh # installer smoke test (never touches ~/.config)
@@ -164,6 +165,11 @@ when opencode exits, the picker reopens with the query preserved.
164
165
  prepend mode). In the sidebar, pinned directories sort first, then directory groups
165
166
  by recency; sessions within each group sort by last update regardless of pins.
166
167
  In the home list, pinned sessions sort first.
168
+ The home list budgets its height for the native logo, maximum-height composer,
169
+ and status footer: compact spacing first, then fewer rows, hidden when too
170
+ short. Header/rows never wrap, and resizing releases captures for hidden rows.
171
+ `tests/tui-home.mjs` renders this against the native home layout with multiline
172
+ and wrapped prompts; keep that regression in the default test suite.
167
173
  Row markers alone signal session state: a running agent animates a loading
168
174
  spinner marker, the open session shows its own ●, and every other idle row
169
175
  stays neutral (polled periodically); Option-P previews
@@ -175,7 +181,10 @@ when opencode exits, the picker reopens with the query preserved.
175
181
  scrolling inside; the picker remains the place for transcript search.
176
182
  Sessions waiting on the user (unanswered questions, stuck runs) pin a
177
183
  **Needs input** group above the directories, with the count in the heading —
178
- same `NEEDS_INPUT_SQL` heuristic as `bin/sesh-waiting.sh`.
184
+ same `NEEDS_INPUT_SQL` heuristic as `bin/sesh-waiting.sh`. The query is
185
+ synchronous on the TUI thread, so the shared poll runs it only while the
186
+ sidebar is subscribed (`poll(listener, { waiting: true })`); the home list
187
+ never triggers it.
179
188
  - **Picker:** a custom dialog (not `DialogSelect`) grouped by
180
189
  project/directory, recency-ordered, resume via
181
190
  `api.route.navigate("session", …)`. `option+o` and the command palette open it;
@@ -258,6 +267,8 @@ when opencode exits, the picker reopens with the query preserved.
258
267
  history in a temp dir (included in `bun run test`).
259
268
  - `bun run test:picker` — PTY suite driving the real fzf picker (needs fzf
260
269
  and Python 3).
270
+ - `bun run test:tui-home` — real OpenTUI render regressions for the home list
271
+ (also run by `bun run test`).
261
272
  - `bun run typecheck` — `tsc` over `tui-plugins/` and `plugins/`.
262
273
  - `bun run lint:sh` — `bash -n` on every script.
263
274
  - `HOME=/tmp/fakehome bash install.sh` — installer smoke test.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.1.4] - 2026-11-02
9
+
10
+ ### Fixed
11
+
12
+ - **tui:** Skip the needs-input query when no sidebar consumes it (#33)
13
+
14
+ ## [2.1.3] - 2026-11-02
15
+
16
+ ### Fixed
17
+
18
+ - **tui:** Prevent home sessions from overlapping the composer (#30)
19
+
8
20
  ## [2.1.2] - 2026-10-27
9
21
 
10
22
  ### Fixed
@@ -524,6 +536,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
524
536
  - Fixture-database regression suite, TypeScript typechecking, and ShellCheck in
525
537
  CI.
526
538
 
539
+ [2.1.4]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.3...v2.1.4
540
+ [2.1.3]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.2...v2.1.3
527
541
  [2.1.2]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.1...v2.1.2
528
542
  [2.1.1]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.0...v2.1.1
529
543
  [2.1.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.0.4...v2.1.0
package/README.md CHANGED
@@ -266,6 +266,10 @@ keystroke away.
266
266
  The home list also supports search and the Option-P, Option-S, Option-R, and
267
267
  Option-D actions on the hovered session. These Option pin shortcuts do not
268
268
  replace the picker's Ctrl-S/Ctrl-D bindings; Option-S in the picker filters pins.
269
+ It shows up to six sessions, reducing spacing and then the row count on shorter
270
+ terminals to leave room for multiline prompts. On very short terminals it hides;
271
+ Option-O and `/sesh` still open the full picker. Long titles and paths stay on a
272
+ single line, and the list adapts when the terminal is resized.
269
273
 
270
274
  ### Transcript search and needs-input triage
271
275