mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 06:01:14 +00:00
docs(coding-agent): improve extensions.md, add missing examples
- Add cross-links to session.md, keybindings.md, themes.md - Document truncateLine, highlightCode, getLanguageFromPath utilities - Add examples for previously undocumented APIs: - message-renderer.ts: registerMessageRenderer with Box styling - session-name.ts: setSessionName/getSessionName - event-bus.ts: pi.events for inter-extension communication - bookmark.ts: setLabel for entry bookmarking - Update examples table in extensions.md and README.md
This commit is contained in:
parent
c565fa9af8
commit
930207130b
6 changed files with 285 additions and 68 deletions
|
|
@ -88,6 +88,20 @@ cp permission-gate.ts ~/.pi/agent/extensions/
|
|||
|-----------|-------------|
|
||||
| `mac-system-theme.ts` | Syncs pi theme with macOS dark/light mode |
|
||||
|
||||
### Messages & Communication
|
||||
|
||||
| Extension | Description |
|
||||
|-----------|-------------|
|
||||
| `message-renderer.ts` | Custom message rendering with colors and expandable details via `registerMessageRenderer` |
|
||||
| `event-bus.ts` | Inter-extension communication via `pi.events` |
|
||||
|
||||
### Session Metadata
|
||||
|
||||
| Extension | Description |
|
||||
|-----------|-------------|
|
||||
| `session-name.ts` | Name sessions for the session selector via `setSessionName` |
|
||||
| `bookmark.ts` | Bookmark entries with labels for `/tree` navigation via `setLabel` |
|
||||
|
||||
### Custom Providers
|
||||
|
||||
| Extension | Description |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue