Changelog
Changelog — 2026-05-25
Daily docs refresh.
Breaking
SearchOptions.constrainToIdsremoved. The optionalconstrainToIdsfield onSearchOptions(from@stndrds/schema) has been deleted, and the Meilisearch adapter no longer applies anid 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 aftersearchRecordsreturns.
Features
- Async event handlers in
@stndrds/runtime.EventBus.on()now accepts an optional{ async: true }flag, andEventHandler<T>can return eithervoidorPromise<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 blockemit(). Sync handlers (the default) still resolve beforeemit()returns.
Fixes
- Agent HTTP API returns 404 for missing runs and definitions.
GET /agents/definitions/:id,GET /agents/runs/:id, and thecancel/pause/resumemutations on agent runs now throwNotFoundExceptionwhen 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-varsrejects emptykeyorvaluewith 400. TheUpsertEnvVarBodyDTO now validates thatkeyandvalueare non-empty strings before reaching the service, so malformed requests no longer surface as 500s further down the stack.