Changelog
Changelog — 2026-05-22
Daily docs refresh.
Features
- Per-tenant and per-agent environment variables. A new
env_varstable (encrypted via pgcrypto) stores secrets at tenant scope or scoped to a specific agent definition. The runtime resolves them on each execution and injects the keys into the agent sandbox; the resolved key list is also appended to the system prompt under## Available Environment Variablesso the model knows which$KEY_NAMEreferences are valid. REST surface:GET/POST /env-vars,DELETE /env-vars/:id, plusGET/POST /agents/definitions/:id/env-vars. Archiving an agent definition deletes its scoped vars in the same call. Client-side,@stndrds/reactexposesuseEnvVars,useAgentEnvVars,useUpsertEnvVar,useUpsertAgentEnvVar, anduseDeleteEnvVar. The settings UI shipsWorkspaceEnvVarsSectionand an env vars tab onAgentSettingsDialog. Both routes require theenv-varssystem permission. See the Agents concept. - Field history popover on attribute fields.
AttributeFieldinline read mode now accepts arightActionsslot, and a newFieldHistoryPopover+useFieldHistorypair surfaces per-field change history next to the value.ObjectFormFieldreads its actions from the newFieldRightActionsContextso consumers can opt in without prop-drilling. Available record-side viaFieldHistoryProvider.
Fixes
- Meilisearch search now paginates correctly at arbitrary offsets.
searchRecordsswitched from thepage+hitsPerPageAPI tooffset+limit. The former required offsets to be exact multiples of the page size, which caused the agent to fetch page 1 again after retrieving e.g. 826 records withlimit=1000.estimatedTotalHitsreplacestotalHits; the agent already usesrecords.length < limitas thehasMoresignal.
Other
- Stale edge-backed JSONB keys stripped from
object_records.values. A one-shot SQL migration removesrelation,user,document, andfileattribute keys fromobject_records.valuesfor rows written before the move torecord_reference_edges. New writes already strip these keys; the migration brings legacy rows in line. Safe to re-run. - Agent system prompt tightened. Stricter output rules, explicit date-range operator guidance (
gte/lte), bulk-operation pattern guidance, and a warning against passingqueryalongsidefilterswhen iterating bulk results (the query path goes through the search index, which may lag the DB).