mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 07:04:25 +00:00
feat(coding-agent): make skill invocation messages collapsible
- Add ParsedSkillBlock interface and parseSkillBlock() function - Change skill expansion to use XML-style <skill> tags - Add SkillInvocationMessageComponent for collapsible display - Collapsed: single line with skill name and expand hint - User message rendered separately after skill block Fixes #894
This commit is contained in:
parent
f54e71999f
commit
7868b25a2b
6 changed files with 113 additions and 6 deletions
|
|
@ -8,7 +8,9 @@ export {
|
|||
type AgentSessionEvent,
|
||||
type AgentSessionEventListener,
|
||||
type ModelCycleResult,
|
||||
type ParsedSkillBlock,
|
||||
type PromptOptions,
|
||||
parseSkillBlock,
|
||||
type SessionStats,
|
||||
} from "./core/agent-session.js";
|
||||
// Auth and model registry
|
||||
|
|
@ -260,6 +262,7 @@ export {
|
|||
type SettingsConfig,
|
||||
SettingsSelectorComponent,
|
||||
ShowImagesSelectorComponent,
|
||||
SkillInvocationMessageComponent,
|
||||
ThemeSelectorComponent,
|
||||
ThinkingSelectorComponent,
|
||||
ToolExecutionComponent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue