opencode-sesh 2.1.8 → 2.3.0

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
@@ -162,15 +162,21 @@ when opencode exits, the picker reopens with the query preserved.
162
162
 
163
163
  - **Sidebar & Home list:** `api.slots.register` on `sidebar_content` (`sidebar.content`
164
164
  append mode by default — native sidebar content stays above Sessions;
165
- `sidebarPlacement: "prepend"` puts Sessions first) and `home_bottom` (`home.footer`
166
- prepend mode). In the sidebar, pinned directories sort first, then directory groups
167
- by recency; sessions within each group sort by last update regardless of pins.
165
+ `sidebarPlacement: "prepend"` puts Sessions first) and `home_bottom` (`prompt.footer`
166
+ append mode, absolutely positioned on the row right below the composer). `showSidebar: false` / `showHome: false` skip registering each
167
+ slot; with both off (picker-only) nothing polls. In the sidebar, pinned
168
+ directories sort first, then directory groups by recency; sessions within
169
+ each group sort by last update regardless of pins.
168
170
  In the home list, pinned sessions sort first.
169
- The home list budgets its height for the native logo, maximum-height composer,
170
- and status footer: compact spacing first, then fewer rows, hidden when too
171
- short. Header/rows never wrap, and resizing releases captures for hidden rows.
171
+ The home list takes no layout space: it budgets its height from its own
172
+ measured position (`renderAfter`) down to the native status footer, so it
173
+ tracks a growing composer. Compact spacing first, then fewer rows, hidden when
174
+ too short, and only on the `home` route (the session prompt shares the slot). Header/rows never wrap, and resizing releases captures for hidden rows.
172
175
  `tests/tui-home.mjs` renders this against the native home layout with multiline
173
176
  and wrapped prompts; keep that regression in the default test suite.
177
+ Home rows are fixed columns (marker ● running / ○ idle, title, last directory segment capped
178
+ at 22, right-aligned age that is never dropped); the directory shrinks first,
179
+ and the list spans the composer's width, flush with its left edge.
174
180
  Row markers alone signal session state: a running agent animates a loading
175
181
  spinner marker, the open session shows its own ●, and every other idle row
176
182
  stays neutral (polled periodically); Option-P previews
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.3.0] - 2026-11-06
9
+
10
+ ### Added
11
+
12
+ - **tui:** Show home sessions directly below the composer (#40)
13
+
14
+ ## [2.2.0] - 2026-11-02
15
+
16
+ ### Added
17
+
18
+ - **tui:** Add showHome option for picker-only mode (#39)
19
+
8
20
  ## [2.1.8] - 2026-11-02
9
21
 
10
22
  ### Changed
@@ -564,6 +576,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
564
576
  - Fixture-database regression suite, TypeScript typechecking, and ShellCheck in
565
577
  CI.
566
578
 
579
+ [2.3.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.2.0...v2.3.0
580
+ [2.2.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.8...v2.2.0
567
581
  [2.1.8]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.7...v2.1.8
568
582
  [2.1.7]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.6...v2.1.7
569
583
  [2.1.6]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.5...v2.1.6
package/README.md CHANGED
@@ -239,13 +239,13 @@ the `opencode.json` entry unchanged:
239
239
  "plugins": [
240
240
  {
241
241
  "package": "opencode-sesh",
242
- "options": { "showSidebar": true, "sidebarPlacement": "append" }
242
+ "options": { "showSidebar": true, "showHome": true, "sidebarPlacement": "append" }
243
243
  }
244
244
  ]
245
245
  }
246
246
  ```
247
247
 
248
- When the section is visible, click its `search…` box to filter sessions in place; click
248
+ When the section is visible, click its `search…` box (on the home list, the `option+o all` box) to filter sessions in place; click
249
249
  elsewhere or press Esc to leave search. Click the **Sessions** heading to drive
250
250
  the list from the keyboard instead of the mouse (`↑`/`↓` to move, Enter to open,
251
251
  Option-P to preview, Option-S to pin a session, Option-R to pin its directory,
@@ -271,6 +271,11 @@ terminals to leave room for multiline prompts. On very short terminals it hides;
271
271
  Option-O and `/sesh` still open the full picker. Long titles and paths stay on a
272
272
  single line, and the list adapts when the terminal is resized.
273
273
 
274
+ `showHome` (boolean, default: `true`) controls the session list on the home
275
+ screen. Set both `showSidebar` and `showHome` to `false` for picker-only mode:
276
+ no lists are mounted and nothing polls in the background, while `option+o`,
277
+ `/sesh`, `/sesh-costs`, and `/sesh-needs` keep working.
278
+
274
279
  ### Transcript search and needs-input triage
275
280
 
276
281
  The full picker pages through your global session list