Skip to main content

Interface: ActionLimitRule

Defined in: packages/agentos/src/safety/runtime/ActionLimiter.ts:13

One limit: at most max actions per windowMs in a room, against one account, or in all.

Properties​

id​

id: string

Defined in: packages/agentos/src/safety/runtime/ActionLimiter.ts:18

A lower-case letter, then at most 18 lower-case letters, digits or underscores: 19 in all, so the id is a word a log line may carry (a run of 20 or more reads as a credential there and is written unknown).


max​

max: number

Defined in: packages/agentos/src/safety/runtime/ActionLimiter.ts:21


scope​

scope: "platform" | "target" | "room"

Defined in: packages/agentos/src/safety/runtime/ActionLimiter.ts:19


windowMs​

windowMs: number

Defined in: packages/agentos/src/safety/runtime/ActionLimiter.ts:20