Expand description
Stream-message state parsers: rate-limit / api-retry /
runtime-session / settings-parse-error. Mirrors upstream’s
agent-sdk/src/bridge/state_parsing.ts.
Functions§
- build_
api_ retry_ update - Mirrors upstream’s
buildApiRetryUpdate(message). Returns a typedApiRetryUpdatewhen all three required numeric fields parse correctly. - build_
rate_ limit_ update - Mirrors upstream’s
buildRateLimitUpdate(rateLimitInfo). Returns a typedRateLimitUpdatewhen the input has a recognisedstatus, populating optional fields when present. - normalize_
settings_ parse_ errors - Accepts either a single record or an array; returns all valid entries.
- parse_
runtime_ session_ state