isAgentIngressRoute
isAgentIngressRoute(
method,parts):boolean
Defined in: src/server.ts:4513
Method+path allowlist for the restricted agent-ingress listener: EXACTLY the agent→server
control-plane routes the spawn directives instruct the agent to call. parts is
url.pathname.split(”/“).filter(Boolean), e.g. [“api”,“sessions”,"
Parameters
Section titled “Parameters”method
Section titled “method”string
string[]
Returns
Section titled “Returns”boolean