feat(coding-agent): make ctx.shutdown() available for extensions (#542)

This commit is contained in:
Kao Félix 2026-01-08 03:30:48 +01:00 committed by GitHub
parent 7f3fa417c4
commit 6845c4b85e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 164 additions and 2 deletions

View file

@ -527,6 +527,7 @@ export async function createAgentSession(options: CreateAgentSessionOptions = {}
abort: () => {
session.abort();
},
shutdown: () => {},
}));
// Create tool registry mapping name -> tool (for extension getTools/setTools)