Update outdated Paseo skill CLI options
This commit is contained in:
@@ -77,7 +77,7 @@ $NO_EDITS"
|
|||||||
Same prompt to both, `[Committee]` prefix for identification:
|
Same prompt to both, `[Committee]` prefix for identification:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
opus_id=$(paseo run -d --mode bypassPermissions --model opus --thinking on --name "[Committee] Task description" "$prompt" -q)
|
opus_id=$(paseo run -d --mode bypass --model opus --thinking on --name "[Committee] Task description" "$prompt" -q)
|
||||||
gpt_id=$(paseo run -d --mode full-access --provider codex --model gpt-5.4 --thinking medium --name "[Committee] Task description" "$prompt" -q)
|
gpt_id=$(paseo run -d --mode full-access --provider codex --model gpt-5.4 --thinking medium --name "[Committee] Task description" "$prompt" -q)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ Parse `$ARGUMENTS` to determine:
|
|||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
| *(nothing)* | `codex` | `gpt-5.4` | `full-access` |
|
| *(nothing)* | `codex` | `gpt-5.4` | `full-access` |
|
||||||
| `codex` | `codex` | `gpt-5.4` | `full-access` |
|
| `codex` | `codex` | `gpt-5.4` | `full-access` |
|
||||||
| `claude` | `claude` | `opus` | `bypassPermissions` |
|
| `claude` | `claude` | `opus` | `bypass` |
|
||||||
| `opus` | `claude` | `opus` | `bypassPermissions` |
|
| `opus` | `claude` | `opus` | `bypass` |
|
||||||
| `sonnet` | `claude` | `sonnet` | `bypassPermissions` |
|
| `sonnet` | `claude` | `sonnet` | `bypass` |
|
||||||
|
|
||||||
Default is **Codex** with `gpt-5.4`.
|
Default is **Codex** with `gpt-5.4`.
|
||||||
|
|
||||||
@@ -106,32 +106,30 @@ This is the critical step. The receiving agent has **zero context** about your c
|
|||||||
|
|
||||||
## Launching the Agent
|
## Launching the Agent
|
||||||
|
|
||||||
Use `--ui` so that the agent is visible in the UI.
|
|
||||||
|
|
||||||
### Default (Codex, no worktree)
|
### Default (Codex, no worktree)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
paseo run --ui -d --mode full-access --provider codex --name "[Handoff] Task description" "$prompt"
|
paseo run -d --mode full-access --provider codex --name "[Handoff] Task description" "$prompt"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Claude (Opus, no worktree)
|
### Claude (Opus, no worktree)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
paseo run --ui -d --mode bypassPermissions --model opus --name "[Handoff] Task description" "$prompt"
|
paseo run -d --mode bypass --model opus --name "[Handoff] Task description" "$prompt"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Codex in a worktree
|
### Codex in a worktree
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
base=$(git branch --show-current)
|
base=$(git branch --show-current)
|
||||||
paseo run --ui -d --mode full-access --provider codex --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
|
paseo run -d --mode full-access --provider codex --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Claude in a worktree
|
### Claude in a worktree
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
base=$(git branch --show-current)
|
base=$(git branch --show-current)
|
||||||
paseo run --ui -d --mode bypassPermissions --model opus --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
|
paseo run -d --mode bypass --model opus --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
|
||||||
```
|
```
|
||||||
|
|
||||||
## After Launch
|
## After Launch
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ worker_flags=()
|
|||||||
if [[ "$worker_provider" == "codex" ]]; then
|
if [[ "$worker_provider" == "codex" ]]; then
|
||||||
worker_flags+=(--mode full-access --provider codex)
|
worker_flags+=(--mode full-access --provider codex)
|
||||||
elif [[ "$worker_provider" == "claude" ]]; then
|
elif [[ "$worker_provider" == "claude" ]]; then
|
||||||
worker_flags+=(--mode bypassPermissions)
|
worker_flags+=(--mode bypass)
|
||||||
fi
|
fi
|
||||||
[[ -n "$worker_model" ]] && worker_flags+=(--model "$worker_model")
|
[[ -n "$worker_model" ]] && worker_flags+=(--model "$worker_model")
|
||||||
[[ -n "$thinking" ]] && worker_flags+=(--thinking "$thinking")
|
[[ -n "$thinking" ]] && worker_flags+=(--thinking "$thinking")
|
||||||
@@ -121,7 +121,7 @@ judge_flags=()
|
|||||||
if [[ "$judge_provider" == "codex" ]]; then
|
if [[ "$judge_provider" == "codex" ]]; then
|
||||||
judge_flags+=(--mode full-access --provider codex)
|
judge_flags+=(--mode full-access --provider codex)
|
||||||
elif [[ "$judge_provider" == "claude" ]]; then
|
elif [[ "$judge_provider" == "claude" ]]; then
|
||||||
judge_flags+=(--mode bypassPermissions)
|
judge_flags+=(--mode bypass)
|
||||||
fi
|
fi
|
||||||
[[ -n "$judge_model" ]] && judge_flags+=(--model "$judge_model")
|
[[ -n "$judge_model" ]] && judge_flags+=(--model "$judge_model")
|
||||||
|
|
||||||
|
|||||||
+4
-11
@@ -14,14 +14,11 @@ paseo ls -g # All agents across all projects (global)
|
|||||||
paseo ls --json # JSON output for parsing
|
paseo ls --json # JSON output for parsing
|
||||||
|
|
||||||
# Create and run an agent (blocks until completion by default)
|
# Create and run an agent (blocks until completion by default)
|
||||||
paseo run --mode bypassPermissions "<prompt>"
|
paseo run --mode bypass "<prompt>"
|
||||||
paseo run --mode bypassPermissions --name "Task Name" "<prompt>"
|
paseo run --mode bypass --name "Task Name" "<prompt>"
|
||||||
paseo run --mode bypassPermissions --model opus "<prompt>"
|
paseo run --mode bypass --model opus "<prompt>"
|
||||||
paseo run --mode full-access --provider codex "<prompt>"
|
paseo run --mode full-access --provider codex "<prompt>"
|
||||||
|
|
||||||
# UI visible agents
|
|
||||||
paseo run --ui "hello"
|
|
||||||
|
|
||||||
# Detached mode - runs in background, returns agent ID immediately
|
# Detached mode - runs in background, returns agent ID immediately
|
||||||
paseo run --detach "<prompt>"
|
paseo run --detach "<prompt>"
|
||||||
paseo run -d "<prompt>" # Short form
|
paseo run -d "<prompt>" # Short form
|
||||||
@@ -75,10 +72,6 @@ paseo ls --json # JSON output
|
|||||||
paseo ls -q # IDs only (quiet mode, useful for scripting)
|
paseo ls -q # IDs only (quiet mode, useful for scripting)
|
||||||
```
|
```
|
||||||
|
|
||||||
## UI
|
|
||||||
|
|
||||||
By default agents you run are not visible in the UI, use the `--ui` flags so that they're visible.
|
|
||||||
|
|
||||||
### Available Models
|
### Available Models
|
||||||
|
|
||||||
**Claude (default provider)** - use aliases, CLI resolves to latest version:
|
**Claude (default provider)** - use aliases, CLI resolves to latest version:
|
||||||
@@ -92,7 +85,7 @@ By default agents you run are not visible in the UI, use the `--ui` flags so tha
|
|||||||
|
|
||||||
### Permissions
|
### Permissions
|
||||||
|
|
||||||
Always launch agents fully permissioned. Use `--mode bypassPermissions` for Claude and `--mode full-access` for Codex. Control behavior through **strict prompting**, not permission modes.
|
Always launch agents fully permissioned. Use `--mode bypass` for Claude and `--mode full-access` for Codex. Control behavior through **strict prompting**, not permission modes.
|
||||||
|
|
||||||
### Agent Use Cases
|
### Agent Use Cases
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user