You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): add coding-agent template and publish-hardening
- Add `create --template coding-agent` scaffolding a Claude-Code-style
terminal agent UI powered by the OpenAI SDK
- Add prepublishOnly + verify:dist script to catch workspace imports
leaking into the published tarball
- Bump root to 1.5.1 and tighten tsup config for publish
- Misc polish across CLI commands, AI components, and docs
|`list_components`| Browse all components grouped by category|
341
+
|`add_component`| Install component(s) into the current project|
342
+
|`get_component_docs`| Full props + usage for a specific component |
343
+
|`search_components`| Keyword search over the registry|
344
+
|`get_theme_tokens`| List available themes and their token structure |
345
345
346
346
---
347
347
@@ -400,13 +400,13 @@ const openai = new OpenAI();
400
400
401
401
In-repo docs live under [`docs/`](./docs). Start at **[docs/index.md](./docs/index.md)**for the overview and category guides (layout, typography, feedback, charts, and more). API-focused pages:
|`focusableIds`|`string[]`| required | Ordered list of focusable IDs within the trap |
73
-
|`isActive`|`boolean`|`true`| Whether the trap is currently active |
73
+
|`isActive`|`boolean`|`true`| Whether the trap is currently active|
74
74
75
75
When `isActive` becomes `true`, focus jumps to `focusableIds[0]` automatically. Set `isActive: false` when the container unmounts or hides to release focus.
76
76
@@ -89,9 +89,12 @@ function ConfirmModal({ isOpen, onClose }: { isOpen: boolean; onClose: () => voi
`Modal` and `Drawer` accept a `focusableIds` prop that activates `useFocusTrap` automatically — no need to call the hook manually when using these components.
|`Shift+Tab`| Move focus to previous focusable element |
266
+
|`↑` / `↓`| Navigate list items|
267
+
|`Home`| Jump to first item|
268
+
|`End`| Jump to last item|
269
+
|`Page Up`| Jump up by `pageSize` items (default 10)|
270
270
|`Page Down`| Jump down by `pageSize` items (default 10) |
271
-
|`Enter`| Select / confirm focused item |
272
-
|`Space`| Toggle or select focused item |
273
-
|`Esc`| Close overlay / dismiss / cancel |
271
+
|`Enter`| Select / confirm focused item|
272
+
|`Space`| Toggle or select focused item|
273
+
|`Esc`| Close overlay / dismiss / cancel|
274
274
275
275
All interactive components in TermUI follow these conventions. When building custom components, use `useKeyboardNavigation` and `useFocusTrap` to stay consistent with this contract.
0 commit comments