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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user