(options: {
includeIsolation: boolean;
})
| 496 | * local runtimes the parameter is omitted from the schema entirely so it never enters LLM context. |
| 497 | */ |
| 498 | export function buildTaskToolAgentArgsSchema(options: { |
| 499 | includeIsolation: boolean; |
| 500 | }): typeof TaskToolArgsSchema | typeof TaskToolArgsSchemaWithoutIsolation { |
| 501 | return options.includeIsolation ? TaskToolArgsSchema : TaskToolArgsSchemaWithoutIsolation; |
| 502 | } |
| 503 | |
| 504 | const TaskHandleKindSchema = z.enum(["agent_task", "workspace_turn"]); |
| 505 | const TaskToolSpawnedTaskSchema = z |
no outgoing calls
no test coverage detected