Files
hermes-agent/evals
Siddharth Balyan 633dda6d7f refactor(desktop): the Capabilities page is a module at /capabilities, one folder per tab (#115054)
* refactor(desktop): Capabilities is a module at /capabilities

The Capabilities page lived in `app/skills/`, was exported as `SkillsView`
and was routed at `/skills`, although Skills is only one of its four tabs.
The name sent every reader to the wrong place.

- `app/skills/` becomes `app/capabilities/`, with one folder per topic:
  `skills/`, `plugins/`, `mcp/`, and `catalog/` for the browser that the
  skills and plugins tabs share.
- `SkillsView` becomes `CapabilitiesView`, in the plugin SDK too. The
  bundled bots plugin reads the new export name.
- The route, its id and its view become `/capabilities` and
  `capabilities`. The keybind action becomes `nav.capabilities` and the
  sidebar item id follows, with its i18n keys in every locale.
- The `hermes://open/...` link that the plugin notice fires follows.

No alias is kept for the old route. A remembered `/skills` route no longer
matches a page; the restore path already drops a route it cannot validate
and opens the last session.

No behaviour change otherwise.

* refactor(desktop): each Capabilities tab owns its list, detail and writes

`CapabilitiesView` was one 770-line function. It held the tab routing, the
whole Skills tab and the whole Tools tab, while the Plugins and MCP tabs
already lived in their own files.

- `capabilities/index.tsx` is the page shell: tab selection, the search
  header, the profile and connection scope, the refresh hotkey, and one
  table that maps a tab to its component (1190 lines down to 230).
- `skills/` and `toolsets/` each hold their tab, detail pane, data hooks and
  helpers. `scope-selector.tsx` holds the scope hook and its selector.
  `primitives.tsx` holds what two tabs share.
- The shell still fetches the two installed lists, because the tab pills
  count them for the tab the user is not on. Query keys are unchanged;
  `store/hub-actions.ts` imports the skills key instead of copying it.
- Every tab is keyed on the scope, so a profile or connection switch mounts
  a fresh tab. This replaces the epoch counters and manual resets. One small
  change follows: a return to a scope seen before selects the first row, not
  the row selected last time.
2026-09-19 08:35:58 +00:00
..