fix(cli): address code-review findings on auth PR

This commit is contained in:
James
2026-05-28 05:39:24 +00:00
parent 9a7b3efa94
commit 8a9291c434
19 changed files with 1974 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* Public surface of the auth library — only the symbols the auth
* commands consume today. Internal types stay in their source files.
*/
export { isAuthError } from "./errors.js";
export { clearOAuth, deleteStore, isHeaderSafe, readStore, writeStore } from "./store.js";
export type { Credentials } from "./store.js";
export { configDir, credentialPath } from "./paths.js";
export { tryResolveCredential } from "./resolver.js";
export type { ResolvedCredential } from "./resolver.js";
export { AuthClient } from "./client.js";
export type { UserInfo } from "./client.js";