opencode-navigator 0.27.0 → 0.27.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 +6 -0
- package/HOST_API.md +7 -0
- package/README.md +7 -2
- package/dist/gui-experimental.cjs +363 -230
- package/dist/tui.js +9 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.27.1] - 2026-11-11
|
|
4
|
+
|
|
5
|
+
- Drag the Desktop mini-window by its header as well as its move handle, while keeping Dock a separate action. Match its surface and controls to OpenCode's light and dark themes.
|
|
6
|
+
- Use native Desktop switches and selectors for Skill trust and Todo configuration, and align multiline fields with the host theme and focus styles.
|
|
7
|
+
- Show a remaining-lifetime scale and time until expiry for banked reset credits with provider-supplied dates. Keep missing expiry explicit and prevent selecting expired credits for review.
|
|
8
|
+
|
|
3
9
|
## [0.27.0] - 2026-11-11
|
|
4
10
|
|
|
5
11
|
- Add an experimental OpenCode Desktop interface with a native panel, narrow-screen drawer, and opt-in in-app mini-window. Move, resize, reset and redock it with the mouse or keyboard while keeping the selected session and filters.
|
package/HOST_API.md
CHANGED
|
@@ -60,6 +60,13 @@ Desktop 2.2.6 keeps drawer opening in its own mobile navigation; Navigator does
|
|
|
60
60
|
not click or move host elements to force it open. Revisit automatic drawer
|
|
61
61
|
opening when the public layout API exposes that operation.
|
|
62
62
|
|
|
63
|
+
GUI forms use `ctx.ui.Switch`, `TextInput`, `Select`, `Button` and the native
|
|
64
|
+
Settings rows rather than importing or bundling `@opencode/ui`. Desktop 2.2.6's
|
|
65
|
+
public UI facade has no multiline input, progress bar, disclosure row, or bookmark
|
|
66
|
+
icon. Those focused semantic controls remain plugin-owned, using the host theme's
|
|
67
|
+
surface, text, focus and elevation tokens. Remove these fallbacks when equivalent
|
|
68
|
+
public controls preserve their multiline, expanded/selected and progress semantics.
|
|
69
|
+
|
|
63
70
|
The Desktop model controls use the verified 2.2.6 commands `model.choose` and
|
|
64
71
|
`model.variant.cycle`. These IDs are version-audited mappings, not portable
|
|
65
72
|
TUI command names; a rejected dispatch reports that the control is unavailable.
|
package/README.md
CHANGED
|
@@ -303,6 +303,8 @@ contains independent TUI, server, RPC and GUI entries.
|
|
|
303
303
|
the selected session, hides on Home and yields to native dialogs. Move, resize,
|
|
304
304
|
reset and redock controls support keyboard input too. Both placements share
|
|
305
305
|
one monitoring runtime and filters; switching does not duplicate polling.
|
|
306
|
+
Drag the mini-window by its header or move handle; Dock remains a separate
|
|
307
|
+
action. Its surface follows the current OpenCode theme.
|
|
306
308
|
- **Navigator settings** opens native Settings with Global/Worktree scope,
|
|
307
309
|
section controls, groups, trust, presets, portable/project profiles, About,
|
|
308
310
|
release history and reviewed Bug reports. **Reload preferences** imports
|
|
@@ -325,7 +327,7 @@ Linux ARM64 Desktop package on Xvfb. Native macOS/Windows, browser Web and multi
|
|
|
325
327
|
live Desktop windows are not claimed as real-host verification targets. Local,
|
|
326
328
|
remote and multi-consumer guards have separate synthetic contract tests.
|
|
327
329
|
See [Host API boundaries](HOST_API.md) for the native command-palette limitation.
|
|
328
|
-
The manual Prepare Release workflow generated and byte-verified all
|
|
330
|
+
The manual Prepare Release workflow generated and byte-verified all 29 GUI
|
|
329
331
|
captures using the real Desktop renderer on a virtual display. The terminal
|
|
330
332
|
gallery above is rendered separately through Ghostty.
|
|
331
333
|
|
|
@@ -703,7 +705,10 @@ separate muted guidance.
|
|
|
703
705
|
|
|
704
706
|
The header's **Banked Resets** button appears when credits or an unresolved attempt
|
|
705
707
|
exist. It displays the provider's available count, optional credit
|
|
706
|
-
details, statuses, and expiry.
|
|
708
|
+
details, statuses, and expiry. In Desktop, dated credits show a shrinking
|
|
709
|
+
remaining-lifetime scale and time until expiry, calculated from the provider's
|
|
710
|
+
grant and expiry timestamps. Missing dates never produce a fabricated percentage;
|
|
711
|
+
expired credits cannot be selected for review. Selecting a credit first checks fresh eligibility
|
|
707
712
|
and opens a separate confirmation tied to the current account and model. Cancel
|
|
708
713
|
or Escape returns to the credit list without spending anything.
|
|
709
714
|
|