You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address review feedback on runtime detection and codex version pin
- Replace non-ASCII em dashes with ASCII "--" per repo encoding rules
- Fix false-positive runtime detection: use word-boundary regex instead
of substring checks in _detect_runtime(), is_runtime_cmd, and
_transform_runtime_command(); also handle .exe/.cmd extensions
- Route _transform_runtime_command via _detect_runtime() to prevent
model names like "gpt-5.3-codex" from triggering the codex branch
- Add .cmd/.bat candidates to Windows executable resolution in
_execute_runtime_command, matching how setup-llm.ps1 installs wrappers
- Include llm in APM runtimes dir detection (setup-llm installs
llm/llm.cmd to ~/.apm/runtimes/)
- Correct codex version pin: wire_api="chat" was removed in v0.95.0,
not v0.116/v0.118; pin to rust-v0.94.0 (last compatible release)
- Add ensure_path_within() containment checks in _resolve_prompt_file
and _discover_prompt_file to prevent symlinks escaping project or
apm_modules boundaries
- Update docs (runtime-compatibility, agent-workflows, cli-commands) to
reflect codex version pinning and updated runtime preference order
- Update tests: mock Path.exists in Windows resolution tests; adjust
symlink containment test to expect PathTraversalError
|[**GitHub Copilot CLI**](https://github.com/github/copilot-cli)| GitHub's Copilot CLI (Recommended) | Advanced AI coding, native MCP support | Auto-configured, no auth needed |
18
-
|[**OpenAI Codex**](https://github.com/openai/codex)| OpenAI's Codex CLI | Code tasks, GitHub Models API | Auto-configured with GitHub Models |
18
+
|[**OpenAI Codex**](https://github.com/openai/codex)| OpenAI's Codex CLI (pinned to v0.94.0) | Code tasks, GitHub Models API | Auto-configured with GitHub Models |
19
19
|[**LLM Library**](https://llm.datasette.io/en/stable/index.html)| Simon Willison's `llm` CLI | General use, many providers | Manual API key setup |
20
20
21
21
## Quick Setup
@@ -75,6 +75,8 @@ scripts:
75
75
76
76
APM automatically downloads, installs, and configures the Codex CLI with GitHub Models for free usage.
77
77
78
+
> **Note:** Codex v0.95.0+ dropped Chat Completions API support (`wire_api="chat"`) in favor of the Responses API, which GitHub Models does not support. APM pins the default Codex version to `rust-v0.94.0` (the last compatible release). If you need a newer Codex version, pass `--version` explicitly and configure a compatible API provider.
79
+
78
80
### Setup
79
81
80
82
#### 1. Install via APM
@@ -83,7 +85,7 @@ apm runtime setup codex
83
85
```
84
86
85
87
This automatically:
86
-
- Downloads the latest Codex binary for your platform
88
+
- Downloads Codex binary (v0.94.0) for your platform
87
89
- Installs to `~/.apm/runtimes/codex`
88
90
- Creates configuration for GitHub Models (`github/gpt-4o`)
0 commit comments