opencode-sesh 2.0.3 → 2.0.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/CHANGELOG.md +7 -0
- package/README.md +19 -1
- package/dist/tui.js +1 -1
- package/package.json +1 -1
- package/tui-plugins/sesh-panel/tui.tsx +1 -1
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.0.4] - 2026-10-20
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **tui:** Make the sessions sidebar optional (#24)
|
|
13
|
+
|
|
8
14
|
## [2.0.3] - 2026-10-17
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
@@ -500,6 +506,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
500
506
|
- Fixture-database regression suite, TypeScript typechecking, and ShellCheck in
|
|
501
507
|
CI.
|
|
502
508
|
|
|
509
|
+
[2.0.4]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.0.3...v2.0.4
|
|
503
510
|
[2.0.3]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.0.2...v2.0.3
|
|
504
511
|
[2.0.2]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.0.1...v2.0.2
|
|
505
512
|
[2.0.1]: https://github.com/ozandogrultan/opencode-sesh/compare/v2.0.0...v2.0.1
|
package/README.md
CHANGED
|
@@ -226,7 +226,25 @@ workspace at its directory; outside cmux it shows a toast instead.
|
|
|
226
226
|
|
|
227
227
|
### TUI sidebar and home list
|
|
228
228
|
|
|
229
|
-
|
|
229
|
+
`showSidebar` (boolean, default: `true`) controls whether the **Sessions** section
|
|
230
|
+
appears in the sidebar. Set it to `false` to hide the section while keeping the
|
|
231
|
+
home list, session picker, and other commands available. OpenCode's native sidebar
|
|
232
|
+
is unaffected. In `cli.json`, replace the existing `"opencode-sesh"` string entry
|
|
233
|
+
with the object below; do not add a second entry. Keep other plugin entries and
|
|
234
|
+
the `opencode.json` entry unchanged:
|
|
235
|
+
|
|
236
|
+
```json
|
|
237
|
+
{
|
|
238
|
+
"plugins": [
|
|
239
|
+
{
|
|
240
|
+
"package": "opencode-sesh",
|
|
241
|
+
"options": { "showSidebar": false }
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
When the section is visible, click its `search…` box to filter sessions in place; click
|
|
230
248
|
elsewhere or press Esc to leave search. Click the **Sessions** heading to drive
|
|
231
249
|
the list from the keyboard instead of the mouse (`↑`/`↓` to move, Enter to open,
|
|
232
250
|
Option-P to preview, Option-S to pin a session, Option-R to pin its directory,
|
package/dist/tui.js
CHANGED
|
@@ -4234,7 +4234,7 @@ function createApi(ctx) {
|
|
|
4234
4234
|
},
|
|
4235
4235
|
slots: {
|
|
4236
4236
|
register(cfg) {
|
|
4237
|
-
if (cfg.slots.sidebar_content) {
|
|
4237
|
+
if (cfg.slots.sidebar_content && ctx.options?.showSidebar !== false) {
|
|
4238
4238
|
ctx.ui.slot({
|
|
4239
4239
|
prepend: "sidebar.content",
|
|
4240
4240
|
render: cfg.slots.sidebar_content
|
package/package.json
CHANGED
|
@@ -3332,7 +3332,7 @@ function createApi(ctx: Plugin.Context) {
|
|
|
3332
3332
|
},
|
|
3333
3333
|
slots: {
|
|
3334
3334
|
register(cfg: { order?: number; slots: Record<string, () => any> }) {
|
|
3335
|
-
if (cfg.slots.sidebar_content) {
|
|
3335
|
+
if (cfg.slots.sidebar_content && ctx.options?.showSidebar !== false) {
|
|
3336
3336
|
ctx.ui.slot({
|
|
3337
3337
|
prepend: "sidebar.content",
|
|
3338
3338
|
render: cfg.slots.sidebar_content as any,
|