@alvin0/ai-agent-sdk-provider-codex
v0.1.0
Published
Universal Codex adapter, OAuth, injected auth contracts, and provider plugin for ai-agent-sdk
Downloads
62
Readme
@alvin0/ai-agent-sdk-provider-codex
Runtime: Universal (Edge/Worker, browser, Deno, Bun, and Node with an injected auth store).
pnpm add @alvin0/ai-agent-sdk-core @alvin0/ai-agent-sdk-provider-codexUniversal Codex adapter, OAuth flows, memory/custom auth stores, and transactional provider plugin. A CodexAuthStore must be injected; filesystem and environment defaults belong to the Node auth package.
import { ModelRegistry } from '@alvin0/ai-agent-sdk-core'
import { codexPlugin } from '@alvin0/ai-agent-sdk-provider-codex'
const registry = new ModelRegistry()
registry.install(codexPlugin({ authStore: mySecretManagerStore }))Use codexAdapter() for manual route registration. The store contract is
Universal; a browser, Worker, secret manager, or Node package owns persistence.
Credential and catalog observation excludes OAuth tokens, account details, store
locations, and raw authentication errors.
Composition: runtime.providers. Lifecycle: inert-runtime-owned-registration;
the runtime owns registration while the injected credential store remains
caller-owned.
