opencode-navigator 0.14.0 → 0.15.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.
Files changed (3) hide show
  1. package/README.md +12 -4
  2. package/dist/tui.js +493 -600
  3. package/package.json +12 -10
package/README.md CHANGED
@@ -37,7 +37,7 @@ Todo starts expanded. Subagents, skills, quick actions, LSP, and MCP start
37
37
  collapsed. Use `Save current layout as default` in sidebar settings to reuse the
38
38
  current visible/hidden, expanded/collapsed, and ordering states in new sessions.
39
39
 
40
- Supports OpenCode 1.18.30 and newer, including OpenCode 2.x. OpenCode 2.0.12 does
40
+ Supports OpenCode 1.18.30 and newer, including OpenCode 2.x. OpenCode 2.0.16 does
41
41
  not expose Todo or LSP data to TUI plugins. Navigator keeps Todo visible with an
42
42
  explicit unsupported-host message and hides LSP on 2.x while retaining Subagents,
43
43
  Skills, Quick Actions, MCP, Search, settings, and presets. All interface icons use Nerd Font glyphs by
@@ -143,18 +143,26 @@ opencode plugin --global opencode-navigator
143
143
 
144
144
  ### OpenCode 2.x
145
145
 
146
- Add Navigator to the `plugins` array in the global `~/.config/opencode/cli.json`:
146
+ Install Navigator through the OpenCode 2 plugin manager:
147
+
148
+ ```sh
149
+ opencode plugin add opencode-navigator
150
+ ```
151
+
152
+ This installs the package and adds it to the `plugins` array in the global
153
+ `~/.config/opencode/cli.json`. The equivalent configuration is:
147
154
 
148
155
  ```json
149
156
  {
150
- "$schema": "https://opencode.ai/cli.json",
157
+ "$schema": "https://opencode.ai/v2/cli.json",
151
158
  "plugins": ["opencode-navigator"]
152
159
  }
153
160
  ```
154
161
 
155
162
  OpenCode 2.x CLI plugins are global terminal settings; there is no project-local
156
163
  `cli.json`. Navigator replaces the `sidebar.content` slot, so no built-in sidebar
157
- plugin overrides are required.
164
+ plugin overrides are required. OpenCode validates `cli.json` strictly, so keep it
165
+ within the linked schema and restart OpenCode after changing it.
158
166
 
159
167
  ### Install the corner font
160
168