Test
Merged
SW
4mo ago+242+242+012345678901234567890123456789-34-34-01234567890123456789
Summary by cubic
Enforces expires_at for x-api-key auth and centralizes agent workflow input building so interactive and headless chat paths stay consistent. Backward-compatible for existing non-expiring keys.
-
New Features
getApiKeyAccountIdrejects expired account keys usingisApiKeyExpired(supports chat#1813).- Adds
account_api_keys.expires_attotypes/database.types.
-
Refactors
- Adds
buildRunAgentInputand updateshandleChatWorkflowStreamto use it, deriving repo IDs and org ID fromclone_urlin one place.
- Adds