- Added AuthStorage.listResetCredits to query each stored Codex account from the reset-credits endpoint and return live availability plus active or error state. - Exposed the new status fetch through AgentSession and switched reset-usage selectors and commands to consume it via toResetUsageAccounts. - Updated reset-usage UI and slash-command output to show per-account errors and updated empty-state messaging when resets could not be loaded.
34 lines
756 B
TypeScript
34 lines
756 B
TypeScript
/**
|
|
* Re-exports from @oh-my-pi/pi-ai.
|
|
* All credential storage types and the AuthStorage class now live in the ai package.
|
|
*/
|
|
|
|
export type {
|
|
ApiKeyCredential,
|
|
AuthCredential,
|
|
AuthCredentialEntry,
|
|
AuthCredentialStore,
|
|
AuthStorageData,
|
|
AuthStorageOptions,
|
|
CredentialOrigin,
|
|
CredentialOriginKind,
|
|
OAuthAccountIdentity,
|
|
OAuthCredential,
|
|
ResetCreditAccountStatus,
|
|
ResetCreditRedeemOutcome,
|
|
ResetCreditTarget,
|
|
SerializedAuthStorage,
|
|
SnapshotResponse,
|
|
StoredAuthCredential,
|
|
} from "@oh-my-pi/pi-ai";
|
|
export {
|
|
AuthBrokerClient,
|
|
AuthStorage,
|
|
DEFAULT_SNAPSHOT_CACHE_TTL_MS,
|
|
REMOTE_REFRESH_SENTINEL,
|
|
RemoteAuthCredentialStore,
|
|
readAuthBrokerSnapshotCache,
|
|
SqliteAuthCredentialStore,
|
|
writeAuthBrokerSnapshotCache,
|
|
} from "@oh-my-pi/pi-ai";
|