feat(ui): add ToolRenderer system for Omega chat
Add abstract tool rendering infrastructure to @tpmjs/ui: - ToolRenderer component with registry-based renderer lookup - DefaultJsonRenderer as fallback with collapsible JSON display - RegistrySearchRenderer for registrySearchTool results - RegistryExecuteRenderer for registryExecuteTool results - registerBuiltInRenderers() for idempotent initialization Update Omega chat page to use new ToolRenderer: - Replace inline ToolCallCard with ToolRenderer component - Add helper functions to convert between ToolCall and ToolPart - Remove unused expandedToolCalls state (managed internally) Also add video file extensions to .gitignore
This commit is contained in:
parent
ca6f908ebd
commit
0489646e55
12 changed files with 967 additions and 136 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -16,6 +16,12 @@ dist
|
|||
# misc
|
||||
.DS_Store
|
||||
|
||||
# video files
|
||||
*.mp4
|
||||
*.webm
|
||||
*.mov
|
||||
*.avi
|
||||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue