mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 01:03:49 +00:00
- CustomAgentTool renamed to CustomTool
- ToolAPI renamed to CustomToolAPI
- ToolContext renamed to CustomToolContext
- ToolSessionEvent renamed to CustomToolSessionEvent
- Added CustomToolContext parameter to execute() and onSession()
- CustomToolFactory now returns CustomTool<any, any> for type compatibility
- dispose() replaced with onSession({ reason: 'shutdown' })
- Added wrapCustomTool() to convert CustomTool to AgentTool
- Session exposes setToolUIContext() instead of leaking internals
- Fix ToolExecutionComponent to sync with toolOutputExpanded state
- Update all custom tool examples for new API
|
||
|---|---|---|
| .. | ||
| compaction | ||
| custom-tools | ||
| hooks | ||
| tools | ||
| agent-session.ts | ||
| auth-storage.ts | ||
| bash-executor.ts | ||
| exec.ts | ||
| export-html.ts | ||
| index.ts | ||
| messages.ts | ||
| model-registry.ts | ||
| model-resolver.ts | ||
| sdk.ts | ||
| session-manager.ts | ||
| settings-manager.ts | ||
| skills.ts | ||
| slash-commands.ts | ||
| system-prompt.ts | ||
| timings.ts | ||