Files
SentryAgent.ai Developer 0d56895fae chore: archive Phase 1 P1 OpenSpec changes
Archive dockerfile, agntcy-alignment-docs, and nodejs-sdk changes
now that implementation is complete and pushed to develop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 14:47:12 +00:00

551 B

ADDED Requirements

Requirement: AgentIdPClient class exists and handles auth transparently

The SDK SHALL provide an AgentIdPClient class that accepts baseUrl, clientId, and clientSecret in its constructor and manages token acquisition and refresh automatically. Callers never handle tokens directly.

Requirement: TokenManager caches and refreshes tokens

The SDK SHALL cache the access token in memory and re-issue it via POST /token when it is expired or within 60 seconds of expiry. Token refresh is transparent to the caller.