opencode-navigator 0.11.0 → 0.12.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 +23 -2
  2. package/dist/tui.js +2796 -1948
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -257,12 +257,21 @@ The initial layout-preset list is empty. `Save as…` captures current visibilit
257
257
  expansion, and section order; saved presets can be applied to the selected scope,
258
258
  updated from the current layout, renamed, or deleted.
259
259
 
260
+ Choose **Preview & apply** in a saved layout preset's menu to review visibility,
261
+ expansion, and position changes before applying it. Changed sections appear first,
262
+ with their destination positions. Opening the preview does not change the layout;
263
+ select **Apply** to confirm or **Cancel** / `Escape` to return to the preset menu.
264
+ Applying a preset updates the in-memory layout for the selected scope. Use
265
+ `Save current layout as default` to persist it.
266
+
260
267
  ## Keyboard controls
261
268
 
262
269
  Press `Ctrl+Shift+F` to focus the sidebar. Use `Up`/`Down` or `k`/`j` to move,
263
270
  `Enter` to activate the selected row, `Escape` to return to the previous focus,
264
271
  and `?` to open the keyboard help. When a Skills or MCP filter owns focus,
265
272
  typing edits the query and the first `Escape` returns to sidebar navigation.
273
+ The filter icon, placeholder, entered text, clear control, and cursor use the same
274
+ contrasting focus palette; the field follows actual input focus and blur.
266
275
 
267
276
  The command palette also exposes `Focus sidebar` and direct commands for Todo,
268
277
  Subagents, Skills, Quick Actions, LSP, and MCP. Both sidebar shortcuts can be
@@ -302,9 +311,21 @@ only the failed servers.
302
311
 
303
312
  Use the `Preset` selector in the MCP heading to save the current enabled/disabled
304
313
  state, apply a preset, update it from the current scope, rename it, or delete it.
314
+ **Preview & apply** refreshes the current server states and shows the planned
315
+ connections, disconnections, unchanged servers, and unavailable or missing servers
316
+ that will be skipped. Changes appear first. The preview updates when the preset or
317
+ server state changes; `Ctrl+R` refreshes it again. Applying is disabled while states
318
+ are loading, a refresh has failed, or another MCP mutation is running.
319
+
320
+ Use `Up` / `Down` to scroll a preview, `Tab` or `Left` / `Right` to select its
321
+ buttons, and `Enter` to confirm. Buttons also support mouse activation. Changing
322
+ the target scope/workspace closes the preview, and deleting the preset disables
323
+ its Apply action.
324
+
305
325
  Preset application runs only the necessary server changes and keeps per-server
306
326
  progress and failed-only retry behavior. Servers in a preset that are not present
307
- in the current scope are retained as desired state but skipped at application time.
327
+ in the current scope are skipped at application time; their desired states are
328
+ retained when MCP state persistence is enabled.
308
329
 
309
330
  The MCP bookmark control saves favorites user-wide by server name. Favorites appear
310
331
  first, alphabetically within each group, with a blank separator before other
@@ -382,7 +403,7 @@ bun run check
382
403
  ```
383
404
 
384
405
  `bun run check` runs the tests, TypeScript, ESLint, bundle-size guard, and formatting
385
- check. The unminified TUI bundle is limited to 320,000 bytes.
406
+ check. The unminified TUI bundle is limited to 345,000 bytes.
386
407
  Font generation is a separate development task: `bun run font:build` and
387
408
  `bun run font:check` use `uv` and the pinned FontTools dependency. Users install
388
409
  the already generated font; Python and FontTools are not needed at runtime.