mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 06:02:42 +00:00
1. Merge setWidget and setWidgetComponent into single overloaded method
- Accepts either string[] or component factory function
- Uses single Map<string, Component> internally
- String arrays wrapped in Container with Text components
2. Use KeyId type for registerShortcut instead of plain string
- Import Key from @mariozechner/pi-tui
- Update plan-mode example to use Key.shift('p')
- Type-safe shortcut registration
3. Fix tool API docs
- Both built-in and custom tools can be enabled/disabled
- Removed incorrect 'custom tools always active' statement
4. Use matchesKey instead of matchShortcut (already done in rebase)
|
||
|---|---|---|
| .. | ||
| compaction.md | ||
| custom-tools.md | ||
| extension-loading.md | ||
| hooks.md | ||
| rpc.md | ||
| sdk.md | ||
| session-tree-plan.md | ||
| session.md | ||
| skills.md | ||
| theme.md | ||
| tree.md | ||
| tui.md | ||