Files
oh-my-pi/packages/coding-agent/src/session/auth-storage.ts
T
can1357 888a3b3307 refactor(coding-agent): migrated credential and utility logic to shared modules
- Extracted credential storage to shared @oh-my-pi/pi-ai package with AuthCredentialStore and AuthStorage classes.
- Consolidated UI formatting logic from ToolUIKit class into standalone utility functions across render-utils and output-meta modules.
- Moved utility functions (parseCommandArgs, substituteArgs, expandPath, normalizeUnicode) to dedicated modules for improved code reuse.
- Extracted JTD type definitions and type guards to jtd-utils module for shared use across schema conversion tools.
- Updated Claude model pricing and added cache read costs in models.json for accurate billing calculations.
- Refactored agent-storage to delegate credential management to AuthCredentialStore instead of direct SQLite operations.
2026-02-22 01:35:32 +01:00

18 lines
402 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 { AuthStorage } from "@oh-my-pi/pi-ai";