Files
mesh-catalog/modules/openai-consumer/package.json
jschoubben c454c6a54c openai-consumer: the static-key model-access consumer (ADR 0050)
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
2026-09-07 04:25:26 +02:00

12 lines
500 B
JSON

{
"name": "@novox/module-openai-consumer",
"version": "0.1.0",
"description": "openai-consumer — the consumer side of model-access for a STATIC-KEY vendor (ADR 0050): writes the delivered OpenAI API key where an OpenAI/Codex client reads it (OPENAI_API_KEY env + the Codex auth.json). No manager, no refresh, no usage — the static-key half of the same interface.",
"type": "module",
"private": true,
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.6.0"
}
}