updated skills
This commit is contained in:
@@ -105,4 +105,3 @@ engine-level boundary.
|
||||
|
||||
Server (`node:vm` / `node:worker_threads` / `node:child_process` / `node:crypto`).
|
||||
Targets Node ≥ 20 (and Bun, which provides the same APIs).
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ _(no submodules)_
|
||||
|
||||
`ResourceLimiter` enforces two complementary controls on the sandbox boundary: a sliding-window rate limit (so a single caller cannot exhaust the engine with rapid-fire executions) and an output-size cap (so log capture cannot grow unbounded inside long-running scripts). Both controls operate against an injectable `Clock` so tests can advance time deterministically rather than relying on `setTimeout` and observed wall-clock drift.
|
||||
|
||||
The limiter has no opinion about *what* it limits — the same instance is reused across executions, and the rate-limit window slides naturally as time passes. When the configured `maxExecutionsPerWindow` is `undefined`, the limiter is effectively a no-op for rate control; the output truncation still applies.
|
||||
The limiter has no opinion about _what_ it limits — the same instance is reused across executions, and the rate-limit window slides naturally as time passes. When the configured `maxExecutionsPerWindow` is `undefined`, the limiter is effectively a no-op for rate control; the output truncation still applies.
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user