summaryrefslogtreecommitdiff
path: root/src/luarocks_runtime.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks_runtime.zig')
-rw-r--r--src/luarocks_runtime.zig24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/luarocks_runtime.zig b/src/luarocks_runtime.zig
index ac34ee0..3cfd02f 100644
--- a/src/luarocks_runtime.zig
+++ b/src/luarocks_runtime.zig
@@ -347,6 +347,30 @@ const default_base_config =
\\# Editor-Plugin-Version = "copilot-chat/0.26.7"
\\# Copilot-Integration-Id = "vscode-chat"
\\
+ \\# OpenAI Codex via a ChatGPT subscription (device login). Codex speaks the
+ \\# OpenAI Responses API, not Chat Completions, so style = "openai_responses".
+ \\# NOTE: this path is implemented but not yet verified against a live
+ \\# ChatGPT plan — see docs/oauth-provider-auth.md.
+ \\#
+ \\# [providers.codex]
+ \\# style = "openai_responses"
+ \\# base_url = "https://chatgpt.com/backend-api/codex"
+ \\# auth = "openai_codex"
+ \\#
+ \\# [providers.codex.extra_headers]
+ \\# OpenAI-Beta = "responses=experimental"
+ \\# originator = "codex_cli_rs"
+ \\#
+ \\# [auth.openai_codex]
+ \\# type = "oauth_device"
+ \\# dialect = "codex"
+ \\# client_id = "app_EMoamEEZ73f0CkXaXp7hrann"
+ \\# device_code_url = "https://auth.openai.com/api/accounts/deviceauth/usercode"
+ \\# device_poll_url = "https://auth.openai.com/api/accounts/deviceauth/token"
+ \\# verification_url = "https://auth.openai.com/codex/device"
+ \\# token_url = "https://auth.openai.com/oauth/token"
+ \\# account_id_jwt_claim = "https://api.openai.com/auth"
+ \\
\\# Tool/extension availability (glob patterns). Empty allow = allow all.
\\# [tools]
\\# allow = ["std.*"]