openai-consumer: the static-key model-access consumer (ADR 0050) #18

Merged
jschoubben merged 1 commits from feat/openai-access into main 2026-09-07 02:25:56 +00:00
Owner

The consumer half of the other model-access shape. Where anthropic-consumer receives a refreshed access token, this receives one operator-supplied API key the mesh sealed to it and the host unsealed at its secret path — no manager, no refresh, no usage. It writes the key where an OpenAI/Codex client reads it: an OPENAI_API_KEY env file and the publicly-known Codex auth.json. Pure node, no SDK import — the simplest a model-access consumer gets.

Green end-to-end in the mesh-lab openai bed.

The consumer half of the other model-access shape. Where anthropic-consumer receives a refreshed access token, this receives one operator-supplied API key the mesh sealed to it and the host unsealed at its secret path — no manager, no refresh, no usage. It writes the key where an OpenAI/Codex client reads it: an `OPENAI_API_KEY` env file and the publicly-known Codex `auth.json`. Pure node, no SDK import — the simplest a model-access consumer gets. Green end-to-end in the mesh-lab openai bed.
jschoubben added 1 commit 2026-09-07 02:25:46 +00:00
The consumer half of the OTHER model-access shape. Where anthropic-consumer
receives a refreshed access token, this receives one operator-supplied API key
the mesh sealed to it and the host unsealed at its secret path — no manager, no
refresh, no usage. It writes the key where an OpenAI/Codex client reads it: an
OPENAI_API_KEY env file and the publicly-known Codex auth.json. Pure node, no
SDK import — the simplest a model-access consumer gets.

Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
jschoubben merged commit b33f9b14c7 into main 2026-09-07 02:25:56 +00:00
jschoubben deleted branch feat/openai-access 2026-09-07 02:25:56 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#18