Files
oh-my-pi/packages/coding-agent/src/session/auth-storage.ts
T
can1357 2a92ff8a98 refactor(coding-agent): optimized module exports and configuration
- Refactor deep imports by targeting specific sub-modules in `@oh-my-pi/pi-ai` to reduce barrel file overhead.
- Utilize jitless ArkType scopes in schema definitions to reduce startup JIT codegen costs by approximately 65%.
- Reorganize internal `auth-storage` exports to maintain clean boundaries between core and broker-specific functionality.
2026-06-18 19:33:48 +02:00

25 lines
668 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,
StoredAuthCredential,
} from "@oh-my-pi/pi-ai";
export { AuthStorage, REMOTE_REFRESH_SENTINEL, SqliteAuthCredentialStore } from "@oh-my-pi/pi-ai";
export type { SnapshotResponse } from "@oh-my-pi/pi-ai/auth-broker/types";