c3f5a60c22
- Added `AuthBrokerClient`, `RemoteAuthCredentialStore`, `AuthBrokerRefresher`, and `startAuthBroker` server in `packages/ai/src/auth-broker`. - Renamed `AuthCredentialStore` class to `SqliteAuthCredentialStore`; extracted `AuthCredentialStore` as a persistence interface. - Added `exportSnapshot`, `forceRefreshCredentialById`, `disableCredentialById`, and `upsertCredential` to `AuthStorage` for broker wire protocol. - Added `omp auth-broker` CLI subcommand (serve, token, login, logout, import, status) and `discoverAuthStorage` broker-mode path keyed on `OMP_AUTH_BROKER_URL`.
24 lines
505 B
TypeScript
24 lines
505 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,
|
|
OAuthCredential,
|
|
SerializedAuthStorage,
|
|
StoredAuthCredential,
|
|
} from "@oh-my-pi/pi-ai";
|
|
export {
|
|
AuthBrokerClient,
|
|
AuthStorage,
|
|
REMOTE_REFRESH_SENTINEL,
|
|
RemoteAuthCredentialStore,
|
|
SqliteAuthCredentialStore,
|
|
} from "@oh-my-pi/pi-ai";
|