opencode-sesh 2.1.8 → 2.2.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
@@ -163,8 +163,10 @@ when opencode exits, the picker reopens with the query preserved.
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
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.
166
+ prepend mode). `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
171
  The home list budgets its height for the native logo, maximum-height composer,
170
172
  and status footer: compact spacing first, then fewer rows, hidden when too
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ 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.2.0] - 2026-11-02
9
+
10
+ ### Added
11
+
12
+ - **tui:** Add showHome option for picker-only mode (#39)
13
+
8
14
  ## [2.1.8] - 2026-11-02
9
15
 
10
16
  ### Changed
@@ -564,6 +570,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
564
570
  - Fixture-database regression suite, TypeScript typechecking, and ShellCheck in
565
571
  CI.
566
572
 
573
+ [2.2.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.8...v2.2.0
567
574
  [2.1.8]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.7...v2.1.8
568
575
  [2.1.7]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.6...v2.1.7
569
576
  [2.1.6]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.5...v2.1.6
package/README.md CHANGED
@@ -239,7 +239,7 @@ 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
  }
@@ -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
package/dist/tui.js CHANGED
@@ -4567,7 +4567,7 @@ function createApi(ctx) {
4567
4567
  render: cfg.slots.sidebar_content
4568
4568
  }));
4569
4569
  }
4570
- if (cfg.slots.home_bottom) {
4570
+ if (cfg.slots.home_bottom && ctx.options?.showHome !== false) {
4571
4571
  slotDisposers.push(ctx.ui.slot({
4572
4572
  prepend: "home.footer",
4573
4573
  render: cfg.slots.home_bottom
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sesh",
3
- "version": "2.1.8",
3
+ "version": "2.2.0",
4
4
  "description": "OpenCode session browser: search, preview, and resume every session across every project from the terminal or TUI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -3597,7 +3597,7 @@ function createApi(ctx: Plugin.Context) {
3597
3597
  render: cfg.slots.sidebar_content as any,
3598
3598
  }))
3599
3599
  }
3600
- if (cfg.slots.home_bottom) {
3600
+ if (cfg.slots.home_bottom && ctx.options?.showHome !== false) {
3601
3601
  slotDisposers.push(ctx.ui.slot({
3602
3602
  prepend: "home.footer",
3603
3603
  render: cfg.slots.home_bottom as any,