refactor: move provider auth helpers into plugin layer

This commit is contained in:
Peter Steinberger
2026-03-16 21:19:37 -07:00
parent 529272d338
commit 9183081bf1
18 changed files with 68 additions and 861 deletions

View File

@@ -1,8 +1,7 @@
import { normalizeApiKeyInput, validateApiKeyInput } from "../commands/auth-choice.api-key.js";
import { ensureApiKeyFromOptionEnvOrPrompt } from "../commands/auth-choice.apply-helpers.js";
import { buildApiKeyCredential } from "../commands/auth-credentials.js";
import { applyPrimaryModel } from "../commands/model-picker.js";
import { applyAuthProfileConfig } from "../commands/onboard-auth.js";
import { applyAuthProfileConfig, buildApiKeyCredential } from "./provider-auth-helpers.js";
export {
applyAuthProfileConfig,