2a92ff8a98
- 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.
25 lines
668 B
TypeScript
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";
|