Wave 3.1:老板十项返工(kimi 换代 kimi-code/授权检测/可更新判定/模型列表+测试连通/系统环境诊断/外链/命令复制/官方图标主色)
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -21,7 +21,7 @@ platforms:
|
||||
official:
|
||||
homepage: https://github.com/openai/codex
|
||||
docs: https://learn.chatgpt.com/docs/codex/cli
|
||||
allowed_hosts: [chatgpt.com, github.com, releases.openai.com, registry.npmjs.org]
|
||||
allowed_hosts: [chatgpt.com, github.com, api.github.com, releases.openai.com, registry.npmjs.org, api.openai.com]
|
||||
|
||||
runtime_deps: []
|
||||
|
||||
@@ -56,6 +56,9 @@ detect:
|
||||
update:
|
||||
method: npm_update
|
||||
command: [npm, update, -g, "@openai/codex"]
|
||||
source:
|
||||
kind: npm
|
||||
package: "@openai/codex"
|
||||
|
||||
uninstall:
|
||||
method: npm_uninstall
|
||||
@@ -75,6 +78,10 @@ authorization:
|
||||
command: [codex, login, --with-api-key]
|
||||
env_keys: [OPENAI_API_KEY]
|
||||
notes_zh: API Key 从系统密钥库读取,经 stdin 注入,不进 argv
|
||||
test:
|
||||
url: https://api.openai.com/v1/models
|
||||
key_header: Authorization
|
||||
bearer: true
|
||||
|
||||
# 配置机制(调研底稿 §1「配置机制」):用户级 ~/.codex/config.toml(TOML)
|
||||
# 官方确认可配:model / approval_policy / sandbox_mode / model_reasoning_effort /
|
||||
@@ -136,6 +143,13 @@ configuration:
|
||||
storage: keyring
|
||||
docs_url: https://learn.chatgpt.com/docs/config-file/config-advanced
|
||||
|
||||
models:
|
||||
list:
|
||||
- id: gpt-5.6-terra
|
||||
label_zh: GPT-5.6 Terra(默认)
|
||||
- id: gpt-5
|
||||
label_zh: GPT-5
|
||||
|
||||
diagnostics:
|
||||
- rule_id: path.not_installed
|
||||
- rule_id: path.not_in_path
|
||||
|
||||
Reference in New Issue
Block a user