Skip to main content

Interface: FetchCeiling

Defined in: packages/agentos/src/cognition/emergent/types.ts:82

The scope a host grants fetch under.

Properties​

approval?​

optional approval: EffectApproval

Defined in: packages/agentos/src/cognition/emergent/types.ts:94

Required beside a state-changing method.


domains​

domains: string[] | "*"

Defined in: packages/agentos/src/cognition/emergent/types.ts:84

Hosts a forged tool may reach, matched exactly and case-insensitively; '*' is every host; [] grants nothing.


maxRedirects?​

optional maxRedirects: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:98

Redirects the broker follows, each one checked like the first request.

Default​

5

maxRequestBytes?​

optional maxRequestBytes: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:92

A state-changing request's body larger than this is refused before anything is sent. Required beside a state-changing method, refused without one.


maxResponseBytes?​

optional maxResponseBytes: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:96

A response body larger than this is refused while it streams.

Default​

5_242_880

methods?​

optional methods: HttpMethod[]

Defined in: packages/agentos/src/cognition/emergent/types.ts:90

Methods a forged tool may send. POST, PUT, PATCH and DELETE change state: they need an isolating executor, maxRequestBytes and approval.

Default​

['GET', 'HEAD']

timeoutMs?​

optional timeoutMs: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:100

One request's time bound, redirects included; at most 2_147_483_647 (Node's longest timer delay).

Default​

30_000