mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 14:02:51 +00:00
feat(coding-agent): make ctx.shutdown() available for extensions (#542)
This commit is contained in:
parent
7f3fa417c4
commit
6845c4b85e
11 changed files with 164 additions and 2 deletions
|
|
@ -527,6 +527,7 @@ export async function createAgentSession(options: CreateAgentSessionOptions = {}
|
|||
abort: () => {
|
||||
session.abort();
|
||||
},
|
||||
shutdown: () => {},
|
||||
}));
|
||||
|
||||
// Create tool registry mapping name -> tool (for extension getTools/setTools)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue