(pathname: string)
| 36 | const AGENT_PATHS = ['/runs', '/_bridge', '/tool-exec'] |
| 37 | |
| 38 | const ownedByAgent = (pathname: string): boolean => |
| 39 | AGENT_PATHS.some((p) => pathname === p || pathname.startsWith(`${p}/`)) |
| 40 | |
| 41 | export default { |
| 42 | async fetch(request, env, ctx) { |