( agentServerUrl: string, workingDirectory?: string, streamFn?: StreamFn, createElectricTools?: BuiltinAgentHandlerOptions[`createElectricTools`], serveEndpoint?: string )
| 250 | } |
| 251 | |
| 252 | export async function createAgentHandler( |
| 253 | agentServerUrl: string, |
| 254 | workingDirectory?: string, |
| 255 | streamFn?: StreamFn, |
| 256 | createElectricTools?: BuiltinAgentHandlerOptions[`createElectricTools`], |
| 257 | serveEndpoint?: string |
| 258 | ): Promise<AgentHandlerResult | null> { |
| 259 | return createBuiltinAgentHandler({ |
| 260 | agentServerUrl, |
| 261 | serveEndpoint, |
| 262 | workingDirectory, |
| 263 | streamFn, |
| 264 | createElectricTools, |
| 265 | }) |
| 266 | } |
| 267 | |
| 268 | export async function registerBuiltinAgentTypes( |
| 269 | bootstrap: AgentHandlerResult |
nothing calls this directly
no test coverage detected