coding-agent: simplify to gpt-5.2-codex only, remove old models
This commit is contained in:
parent
001a342f20
commit
4804ce5678
2
Peekaboo
2
Peekaboo
@ -1 +1 @@
|
|||||||
Subproject commit 06be73aee08d465a1f28ebbda50b47c0bd1e4d42
|
Subproject commit 9db365b73c7027485cf17507dff8fd59fbd02584
|
||||||
@ -40,27 +40,15 @@ Interactive (preferred in tmux):
|
|||||||
|
|
||||||
## Codex CLI
|
## Codex CLI
|
||||||
|
|
||||||
⚠️ **Model-specific settings required!**
|
⚠️ **Use gpt-5.2-codex with medium reasoning!**
|
||||||
|
|
||||||
| Model | Config Needed |
|
|
||||||
|-------|---------------|
|
|
||||||
| `gpt-4o` | Works with defaults |
|
|
||||||
| `gpt-5.2-codex` | Requires `-c reasoning_effort="medium"` (NOT low/high!) |
|
|
||||||
| `o3` | ❌ Not available with ChatGPT accounts |
|
|
||||||
|
|
||||||
**One-shot with tmux (recommended):**
|
**One-shot with tmux (recommended):**
|
||||||
```bash
|
```bash
|
||||||
# IMPORTANT: Use bash workdir param to start in the target folder!
|
# IMPORTANT: Use bash workdir param to start in the target folder!
|
||||||
# This way Codex "wakes up in a little box" - only sees relevant files
|
# This way Codex "wakes up in a little box" - only sees relevant files
|
||||||
|
|
||||||
# Default model (gpt-4o)
|
# Start Codex in target directory
|
||||||
bash workdir:~/project/folder command:"tmux new -d -s codex-task 'codex exec \"Your task\"'"
|
bash workdir:~/project/folder command:"tmux new -d -s codex-task 'codex exec --model gpt-5.2-codex -c reasoning_effort=\"medium\" -s workspace-write \"Your task\"'"
|
||||||
|
|
||||||
# gpt-5.2-codex (MUST use medium reasoning)
|
|
||||||
bash workdir:~/project/folder command:"tmux new -d -s codex-task 'codex exec --model gpt-5.2-codex -c reasoning_effort=\"medium\" \"Your task\"'"
|
|
||||||
|
|
||||||
# Full auto mode (sandboxed, auto-approve)
|
|
||||||
bash workdir:~/project/folder command:"tmux new -d -s codex-task 'codex exec --full-auto \"Your task\"'"
|
|
||||||
|
|
||||||
# Monitor progress
|
# Monitor progress
|
||||||
tmux capture-pane -t codex-task -p | tail -20
|
tmux capture-pane -t codex-task -p | tail -20
|
||||||
@ -84,21 +72,14 @@ tmux capture-pane -t codex-task -p | tail -20
|
|||||||
## OpenCode
|
## OpenCode
|
||||||
|
|
||||||
One-shot:
|
One-shot:
|
||||||
- `opencode run "Write a Python function that ..."`
|
- `opencode run "Your task"`
|
||||||
- `opencode run -m anthropic/claude-sonnet-4-5 "Complex task"`
|
- `opencode run -m anthropic/claude-sonnet-4-5 "Complex task"`
|
||||||
- `opencode run -m openai/gpt-5.2 "Coding task"`
|
|
||||||
- `opencode run -m google/gemini-2.5-pro "Research task"`
|
|
||||||
|
|
||||||
Interactive:
|
Interactive:
|
||||||
- `opencode`
|
- `opencode`
|
||||||
- `opencode -c`
|
- `opencode -c`
|
||||||
- `opencode -s <session-id>`
|
- `opencode -s <session-id>`
|
||||||
|
|
||||||
Session management:
|
|
||||||
- `opencode session list`
|
|
||||||
- `opencode export [sessionID]`
|
|
||||||
- `opencode import <file>`
|
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- **Always prefer tmux** — keeps history, survives disconnects, allows monitoring
|
- **Always prefer tmux** — keeps history, survives disconnects, allows monitoring
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user