-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatform-config.json
More file actions
69 lines (69 loc) · 2.85 KB
/
Copy pathplatform-config.json
File metadata and controls
69 lines (69 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"platform": {
"name": "codex-desktop",
"version": ">=0.45.0",
"verified": false,
"_comment_verified": "尚未经过完整 Golden Test 验证——当前为 Phase 0 设计阶段配置",
"description": "Codex Desktop (OpenAI) — Electron-based desktop IDE"
},
"paths": {
"data_root": "$CODEX_DATA_DIR/loop-codex",
"state_file": "$DATA_ROOT/state.json",
"lock_file": "$DATA_ROOT/.lock",
"artifacts_dir": "$DATA_ROOT/artifacts",
"context_summary": "$DATA_ROOT/artifacts/context-summary.md",
"runs_log": "$DATA_ROOT/runs.log",
"cdp_session_log": "$DATA_ROOT/cdp-session.log"
},
"app_server": {
"macos": {
"type": "unix_socket",
"path": "/tmp/codex-server.sock",
"env_override": "CODEX_SERVER_SOCK"
},
"windows": {
"type": "named_pipe",
"path": "\\\\.\\pipe\\codex-server",
"env_override": "CODEX_SERVER_PIPE"
},
"linux": {
"type": "unix_socket",
"path": "/tmp/codex-server.sock",
"env_override": "CODEX_SERVER_SOCK"
}
},
"cdp": {
"default_port": 9222,
"port_scan_range": [9222, 9232],
"env_override": "CODEX_CDP_PORT",
"connection_timeout_ms": 5000,
"reconnect_max_retries": 3,
"reconnect_backoff_ms": [500, 1000, 2000]
},
"loop_driver": {
"type": "codex_agent_session",
"_comment": "Codex Desktop 的 agent session 循环机制(待 PROBE-02 确认 API)",
"evaluator_model": "gpt-4o-mini",
"hard_turn_limit": 50,
"resume_commands": ["codex --resume", "codex --continue"]
},
"capability_mapping": {
"CAP_REQUIREMENT_ANALYSIS": {"type": "codex_agent", "name": "analyze"},
"CAP_DIRECTION_RESEARCH": {"type": "codex_agent", "name": "analyze"},
"CAP_SOLUTION_DESIGN": {"type": "codex_agent", "name": "analyze"},
"CAP_IMPLEMENTATION_PLAN": {"type": "codex_agent", "name": "plan"},
"CAP_IMPLEMENTATION": {"type": "codex_agent", "name": "implement"},
"CAP_CODE_REVIEW": {"type": "codex_agent", "name": "review"},
"CAP_TEST_STRATEGY": {"type": "codex_agent", "name": "analyze"},
"CAP_TEST_PLANNING": {"type": "codex_agent", "name": "plan"},
"CAP_TEST_EXECUTION": {"type": "codex_agent", "name": "implement"},
"CAP_VERIFICATION_AUDIT": {"type": "codex_agent", "name": "analyze"},
"CAP_HARD_VERIFICATION": {"type": "codex_agent", "name": "verify"},
"CAP_DEBUGGING": {"type": "codex_agent", "name": "debug"},
"CAP_PARALLEL_DISPATCH": {"type": "cdp", "name": "parallel_tabs"},
"CAP_CONTEXT_COMPACTION": {"type": "codex_command", "name": "/compact", "fallback_strategy": "new_session_with_context_summary"},
"CAP_SESSION_RESUME": {"type": "codex_command", "name": "codex --resume"},
"CAP_LIGHTWEIGHT_EVALUATION": {"type": "model", "name": "gpt-4o-mini"},
"CAP_CODEBASE_EXPLORATION": {"type": "dual_channel", "name": ["JSON-RPC:listFiles", "CDP:Runtime.evaluate"]}
}
}