mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 18:39:33 +01:00
fix: refresh comments that still say claude is the only gated CLI (release review)
Codex now declares a version gate too, so the notes in session.ts and docker-hosts.ts were wrong, the hooks-config caveat described every local codex when --no-daemon now covers 0.162 and later, and session-routes left network access out of the launch defaults. architecture-invariants gains --no-daemon and the network config in its list of Codex flags. Comments and docs only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
353fe7ebcf
commit
e10b84dcdd
5 files changed
+11
-9
No files matched your search
+2
-2
@@ -277,8 +277,8 @@ function getModeLabel(mode: SessionMode): string {
|
||||
*
|
||||
* Only such a CLI needs its version probed at session start — probing one with no gates
|
||||
* would spawn a `--version` subprocess whose answer nothing reads. Today that is claude
|
||||
* (the `--name` flag, gated at 2.1.224), which is why the probe used to be written as
|
||||
* `mode === 'claude'`.
|
||||
* (the `--name` flag, gated at 2.1.224) and codex (`--no-daemon`, gated at 0.162.0). The
|
||||
* probe used to be written as `mode === 'claude'`, when claude was the only one.
|
||||
*/
|
||||
function cliNeedsVersionProbe(mode: SessionMode): boolean {
|
||||
return Object.keys(getCli(mode)?.capabilities.gates ?? {}).length > 0;
|
||||
|
||||
Reference in new issue
Block a user