- hanzo-tunnel v0.1.0 published to crates.io (was path dep to ../../../tunnel) - cli: tunnel + tunnel-bridge deps now optional behind `tunnel` feature flag - cli: cloud module (ZT + relay) gated with #[cfg(feature = "tunnel")] - tunnel-bridge: all hanzo_tunnel usage gated behind `tunnel` feature - CI: fix prettier by scoping JS globs, excluding symlinked CLAUDE.md - CI: format all workflows and docs with prettier - Workspace compiles clean without tunnel feature (CI default) - Local builds with `--features tunnel` still work with crates.io dep
3.1 KiB
FAQ
OpenAI released a model called Codex in 2021 - is this related?
Only by name. The 2021 Codex model was deprecated in March 2023. Every Code is a community fork of the openai/codex CLI and continues to evolve separately.
Which models are supported?
We recommend the built-in Code presets that wrap GPT-5.4 (for example code-gpt-5.4). The default reasoning level is medium, and you can upgrade to high for complex tasks with /model.
You can also use older models by using API-based auth and launching Code with the --model flag.
Why does o3 or o4-mini not work for me?
It's possible that your API account needs to be verified in order to start streaming responses and seeing chain of thought summaries from the API. If you're still running into issues, please let us know!
How do I stop Code from editing my files?
By default, Code can modify files in your current working directory (Auto mode). To prevent edits, run code in read-only mode with the CLI flag --sandbox read-only. Alternatively, you can change the approval level mid-conversation with /approvals.
Does it work on Windows?
Running Code directly on Windows may work, but is not officially supported. We recommend using Windows Subsystem for Linux (WSL2).
Why can't Code find my agents on Windows?
On Windows, agent discovery can be affected by PATH configuration and file extensions. If you see errors like Agent 'xyz' could not be found, try these solutions:
1. Use absolute paths (recommended):
Edit your ~/.code/config.toml to use full paths to agent executables:
[[agents]]
name = "claude"
command = "C:\\Users\\YourUser\\AppData\\Roaming\\npm\\claude.cmd"
enabled = true
[[agents]]
name = "gemini"
command = "C:\\Users\\YourUser\\AppData\\Roaming\\npm\\gemini.cmd"
enabled = true
Replace YourUser with your actual Windows username.
2. Find your npm global install location:
Run this command to find where npm installs global packages:
npm config get prefix
The executables will be in the returned directory. For example, if it returns C:\Users\YourUser\AppData\Roaming\npm, your agent commands will be at:
C:\Users\YourUser\AppData\Roaming\npm\claude.cmdC:\Users\YourUser\AppData\Roaming\npm\gemini.cmdC:\Users\YourUser\AppData\Roaming\npm\coder.cmd
3. Verify PATH includes npm directory:
In PowerShell:
$env:PATH -split ';' | Select-String "npm"
In Command Prompt:
echo %PATH% | findstr npm
If npm's directory isn't in your PATH, you can either:
- Add it to your system PATH (requires restart)
- Use absolute paths in your config (recommended)
4. Check file extensions:
On Windows, Code looks for executables with these extensions: .exe, .cmd, .bat, .com. Ensure your agent command includes the correct extension when using absolute paths.
Related: See the Agent Configuration Guide for more details.