opencode-sesh 2.1.1 → 2.1.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/AGENTS.md +8 -0
- package/CHANGELOG.md +14 -0
- package/README.md +22 -18
- package/dist/tui.js +533 -453
- package/package.json +13 -12
- package/tui-plugins/sesh-panel/tui.tsx +65 -16
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
|
|
@@ -258,6 +264,8 @@ when opencode exits, the picker reopens with the query preserved.
|
|
|
258
264
|
history in a temp dir (included in `bun run test`).
|
|
259
265
|
- `bun run test:picker` — PTY suite driving the real fzf picker (needs fzf
|
|
260
266
|
and Python 3).
|
|
267
|
+
- `bun run test:tui-home` — real OpenTUI render regressions for the home list
|
|
268
|
+
(also run by `bun run test`).
|
|
261
269
|
- `bun run typecheck` — `tsc` over `tui-plugins/` and `plugins/`.
|
|
262
270
|
- `bun run lint:sh` — `bash -n` on every script.
|
|
263
271
|
- `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.3] - 2026-11-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **tui:** Prevent home sessions from overlapping the composer (#30)
|
|
13
|
+
|
|
14
|
+
## [2.1.2] - 2026-10-27
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **engines:** Require OpenCode >=2.2.0
|
|
19
|
+
|
|
8
20
|
## [2.1.1] - 2026-10-22
|
|
9
21
|
|
|
10
22
|
### Fixed
|
|
@@ -518,6 +530,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
518
530
|
- Fixture-database regression suite, TypeScript typechecking, and ShellCheck in
|
|
519
531
|
CI.
|
|
520
532
|
|
|
533
|
+
[2.1.3]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.2...v2.1.3
|
|
534
|
+
[2.1.2]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.1...v2.1.2
|
|
521
535
|
[2.1.1]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.1.0...v2.1.1
|
|
522
536
|
[2.1.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.0.4...v2.1.0
|
|
523
537
|
[2.0.4]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.0.3...v2.0.4
|
package/README.md
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
# sesh
|
|
2
|
-
|
|
3
|
-
[](https://github.com/ozandogrultan/opencode-sesh/actions/workflows/ci.yml)
|
|
4
|
-
|
|
5
1
|
<h1 align="center">
|
|
6
2
|
<img src="assets/logo.svg" alt="sesh" height="96">
|
|
7
3
|
</h1>
|
|
8
4
|
|
|
9
5
|
<p align="center">
|
|
6
|
+
<a href="https://github.com/ozandogrultan/opencode-sesh/actions/workflows/ci.yml"><img src="https://github.com/ozandogrultan/opencode-sesh/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
10
7
|
<a href="https://www.npmjs.com/package/opencode-sesh"><img src="https://img.shields.io/npm/v/opencode-sesh" alt="npm"></a>
|
|
11
8
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License: MIT"></a>
|
|
12
9
|
<a href="#contributing"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome"></a>
|
|
@@ -21,20 +18,13 @@ terminal or from inside the TUI.
|
|
|
21
18
|
`/sessions`) are scoped to the current project. `sesh` shows all of them —
|
|
22
19
|
grouped by directory, full-text searchable, and previewable from anywhere.
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
├○ Auth middleware cleanup 11d
|
|
32
|
-
└○ Rotate the signing keys 12d
|
|
33
|
-
▾ ~/Projects/mobile (3)
|
|
34
|
-
├○ Author avatar upload retry 1d
|
|
35
|
-
├○ Fix session cookie on Safari 2d
|
|
36
|
-
└○ Auth redirect loop after log… 6d
|
|
37
|
-
```
|
|
21
|
+
<p align="center">
|
|
22
|
+
<img src="assets/demo-tui.gif" alt="sesh: session sidebar, cross-project picker search and transcript preview inside OpenCode" width="800">
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
**Install:** `npm install -g opencode-sesh && sesh install` for the terminal
|
|
26
|
+
picker, or add `"opencode-sesh"` to `plugins` for the TUI panel
|
|
27
|
+
([details](#install)).
|
|
38
28
|
|
|
39
29
|
## Why sesh
|
|
40
30
|
|
|
@@ -83,6 +73,10 @@ switching to avoid loading them twice.
|
|
|
83
73
|
|
|
84
74
|
### Terminal picker
|
|
85
75
|
|
|
76
|
+
<p align="center">
|
|
77
|
+
<img src="assets/demo.gif" alt="sesh: searching sessions across projects and previewing a transcript in the terminal picker" width="800">
|
|
78
|
+
</p>
|
|
79
|
+
|
|
86
80
|
Install the CLI with npm:
|
|
87
81
|
|
|
88
82
|
```bash
|
|
@@ -272,6 +266,10 @@ keystroke away.
|
|
|
272
266
|
The home list also supports search and the Option-P, Option-S, Option-R, and
|
|
273
267
|
Option-D actions on the hovered session. These Option pin shortcuts do not
|
|
274
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.
|
|
275
273
|
|
|
276
274
|
### Transcript search and needs-input triage
|
|
277
275
|
|
|
@@ -354,6 +352,12 @@ Windows is untested.
|
|
|
354
352
|
keystroke away while you work. The terminal picker is fullscreen and works from
|
|
355
353
|
any shell, including outside opencode.
|
|
356
354
|
|
|
355
|
+
## More OpenCode plugins
|
|
356
|
+
|
|
357
|
+
- [ghost](https://github.com/ozandogrultan/opencode-ghost) — suggests your next prompt as ghost text in the empty composer.
|
|
358
|
+
- [quill](https://github.com/ozandogrultan/opencode-quill) — local word completion and next-word prediction as you type.
|
|
359
|
+
- [ember](https://github.com/ozandogrultan/opencode-ember) — prices a cold prompt-cache rewrite before you send.
|
|
360
|
+
|
|
357
361
|
## Contributing
|
|
358
362
|
|
|
359
363
|
Issues and PRs are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for the full
|