opencode-sesh 0.14.0 → 0.14.1

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 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
+ ## [0.14.1] - 2026-10-01
9
+
10
+ ### Fixed
11
+
12
+ - **tui:** Activate context menu on mouseUp to prevent preview dismissal
13
+
8
14
  ## [0.14.0] - 2026-09-30
9
15
 
10
16
  ### Added
@@ -401,6 +407,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
401
407
  - Fixture-database regression suite, TypeScript typechecking, and ShellCheck in
402
408
  CI.
403
409
 
410
+ [0.14.1]: https://github.com/ozandogrultan/opencode-sesh/compare/v0.14.0...v0.14.1
404
411
  [0.14.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v0.13.0...v0.14.0
405
412
  [0.13.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v0.12.0...v0.13.0
406
413
  [0.12.0]: https://github.com/ozandogrultan/opencode-sesh/compare/v0.11.1...v0.12.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sesh",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Browse, search, preview and resume opencode sessions from the terminal and the TUI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -818,7 +818,7 @@ function createTranscriptPreview(api: TuiPluginApi) {
818
818
  <box flexDirection="column" paddingLeft={4} paddingRight={4} paddingBottom={1} gap={1}>
819
819
  <box flexDirection="row" justifyContent="space-between">
820
820
  <text attributes={TextAttributes.BOLD}>{entry.title}</text>
821
- <text style={{ fg: api.theme.current.textMuted }}>esc</text>
821
+ <text style={{ fg: api.theme.current.textMuted }} onMouseUp={close}>esc</text>
822
822
  </box>
823
823
  <text style={{ fg: api.theme.current.textMuted }}>
824
824
  {prettyDir(entry.dir, process.env.HOME ?? "")} · {ago(entry.updated)}
@@ -1612,6 +1612,7 @@ function SidebarSessions(props: { api: TuiPluginApi } & PinProps) {
1612
1612
  paddingLeft={1}
1613
1613
  paddingRight={1}
1614
1614
  onMouseDown={(event: { stopPropagation: () => void }) => event.stopPropagation()}
1615
+ onMouseUp={(event: { stopPropagation: () => void }) => event.stopPropagation()}
1615
1616
  >
1616
1617
  <For each={menuState()!.items}>
1617
1618
  {(item, index) => (
@@ -1619,7 +1620,8 @@ function SidebarSessions(props: { api: TuiPluginApi } & PinProps) {
1619
1620
  height={1}
1620
1621
  backgroundColor={menuState()!.index === index() ? theme().backgroundElement : RGBA.fromInts(0, 0, 0, 0)}
1621
1622
  onMouseOver={() => menu.select(index())}
1622
- onMouseDown={(event: { button?: number; stopPropagation: () => void }) => {
1623
+ onMouseDown={(event: { stopPropagation: () => void }) => event.stopPropagation()}
1624
+ onMouseUp={(event: { button?: number; stopPropagation: () => void }) => {
1623
1625
  event.stopPropagation()
1624
1626
  menu.click(index(), event.button)
1625
1627
  }}