Standards Docs
Changelog

Changelog — 2026-05-25

Daily docs refresh.

Breaking

  • SearchOptions.constrainToIds removed. The optional constrainToIds field on SearchOptions (from @stndrds/schema) has been deleted, and the Meilisearch adapter no longer applies an id IN [...] filter or falls back to an in-memory intersection for large allow-lists. Callers that previously intersected search results with a precomputed ID list should now apply that filter at the call site after searchRecords returns.

Features

  • Async event handlers in @stndrds/runtime. EventBus.on() now accepts an optional { async: true } flag, and EventHandler<T> can return either void or Promise<void>. When an outbox processor is attached, async handlers are dispatched through the outbox; otherwise they run fire-and-forget in-process so they don't block emit(). Sync handlers (the default) still resolve before emit() returns.

Fixes

  • Agent HTTP API returns 404 for missing runs and definitions. GET /agents/definitions/:id, GET /agents/runs/:id, and the cancel / pause / resume mutations on agent runs now throw NotFoundException when the target does not exist, instead of leaking a 500 from the repository layer or returning a silent empty 200. Closes #636, #637, #638, #630.
  • POST /env-vars rejects empty key or value with 400. The UpsertEnvVarBody DTO now validates that key and value are non-empty strings before reaching the service, so malformed requests no longer surface as 500s further down the stack.

On this page