chore: fixed stale executor mock sessions and spawn hint assertion

- added getEnabledToolNames to executor-driving mock sessions (renamed session api)
- task-spawn follow-up hint assertion updated from irc to hub
This commit is contained in:
can1357
2026-07-15 20:21:44 +02:00
parent d25d9300ed
commit d5cd24f39a
8 changed files with 14 additions and 1 deletions
@@ -62,6 +62,7 @@ function createMockSession(
appendSessionInit: () => {},
},
getActiveToolNames: () => ["read", "yield"],
getEnabledToolNames: () => ["read", "yield"],
setActiveToolsByName: async (_toolNames: string[]) => {},
subscribe: (listener: (event: AgentSessionEvent) => void) => {
listeners.push(listener);