mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 04:02:21 +00:00
Add Custom UI section, update CHANGELOG migration docs
- Add ## Custom UI section consolidating dialogs, widgets, custom components, message rendering, theme colors - Simplify ctx.ui and pi.registerMessageRenderer in other sections to reference Custom UI - Update CHANGELOG to reflect auto-migration of commands/ to prompts/
This commit is contained in:
parent
0e41b9c2a2
commit
0919ec5417
2 changed files with 131 additions and 70 deletions
|
|
@ -13,11 +13,13 @@ This release unifies hooks and custom tools into a single "extensions" system an
|
|||
|
||||
Hooks and custom tools are now unified as **extensions**. Both were TypeScript modules exporting a factory function that receives an API object. Now there's one concept, one discovery location, one CLI flag, one settings.json entry.
|
||||
|
||||
**No automatic file migration.** You must manually:
|
||||
1. Move files from `hooks/` and `tools/` directories to `extensions/`
|
||||
2. Move files from `commands/` to `prompts/`
|
||||
3. Update imports and type names in your extension code
|
||||
4. Update `settings.json` if you have explicit hook and custom tool paths configured
|
||||
**Automatic migration:**
|
||||
- `commands/` directories are automatically renamed to `prompts/` on startup (both `~/.pi/agent/commands/` and `.pi/commands/`)
|
||||
|
||||
**Manual migration required:**
|
||||
1. Move files from `hooks/` and `tools/` directories to `extensions/` (deprecation warnings shown on startup)
|
||||
2. Update imports and type names in your extension code
|
||||
3. Update `settings.json` if you have explicit hook and custom tool paths configured
|
||||
|
||||
**Directory changes:**
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue