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
- dev agent . resolves to current worktree via find_worktree_by_name
- write_prompt_to_worktree uses unique TASK-{ts}-{hex}.md filenames
- _create_prompt_wrapper_script uses mkstemp for unique script paths
- dev agent: --agent/-a is primary flag, --with-agent deprecated alias
- Updated help text, docs, skill documentation
- 7 new tests covering all fixes + race condition regression
Copy file name to clipboardExpand all lines: docs/commands/dev.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ agent-cli dev new [BRANCH] [OPTIONS]
84
84
|`--branch-name-timeout`|`20.0`| Timeout in seconds for AI branch naming command |
85
85
|`--direnv/--no-direnv`| - | Generate .envrc based on project type and run 'direnv allow'. Auto-enabled if direnv is installed |
86
86
|`--agent-args`| - | Extra CLI args for the agent. Can be repeated. Example: --agent-args='--dangerously-skip-permissions' |
87
-
|`--prompt, -p`| - | Initial task for the AI agent. Saved to .claude/TASK.md. Implies --agent. Example: --prompt='Fix the login bug' |
87
+
|`--prompt, -p`| - | Initial task for the AI agent. Saved to a unique file in .claude/ to avoid conflicts. Implies --agent. Example: --prompt='Fix the login bug' |
88
88
|`--prompt-file, -P`| - | Read the agent prompt from a file. Useful for long prompts to avoid shell quoting. Implies --agent |
89
89
|`--multiplexer, -m`| - | Launch the agent in a specific multiplexer. Currently supported: tmux. When started outside tmux, creates or reuses a detached session and reports the pane handle |
90
90
|`--verbose, -v`|`false`| Stream output from setup commands instead of hiding it |
@@ -292,7 +292,7 @@ agent-cli dev agent NAME [--agent/-a AGENT] [--agent-args ARGS] [--prompt/-p PRO
292
292
|--------|---------|-------------|
293
293
|`--agent, -a`| - | Which agent: claude, codex, gemini, aider, copilot, cn, opencode, cursor-agent. Auto-detects if omitted |
294
294
|`--agent-args`| - | Extra CLI args for the agent. Example: --agent-args='--dangerously-skip-permissions' |
295
-
|`--prompt, -p`| - | Initial task for the agent. Saved to .claude/TASK.md. Example: --prompt='Add unit tests for auth' |
295
+
|`--prompt, -p`| - | Initial task for the agent. Saved to a unique file in .claude/ to avoid conflicts. Example: --prompt='Add unit tests for auth' |
296
296
|`--prompt-file, -P`| - | Read the agent prompt from a file instead of command line |
297
297
|`--multiplexer, -m`| - | Launch the agent in a specific multiplexer instead of the current terminal. Currently supported: tmux |
0 commit comments