@@ -239,6 +239,7 @@ Sessions auto-save to `~/.pi/agent/sessions/` organized by working directory.
|
||||
pi -c # Continue most recent session
|
||||
pi -r # Browse and select from past sessions
|
||||
pi --no-session # Ephemeral mode (don't save)
|
||||
pi --name "my task" # Set session display name at startup
|
||||
pi --session <path|id> # Use specific session file or ID
|
||||
pi --fork <path|id> # Fork specific session file or ID into a new session
|
||||
```
|
||||
@@ -545,6 +546,7 @@ cat README.md | pi -p "Summarize this text"
|
||||
| `--fork <path\|id>` | Fork specific session file or partial UUID into a new session |
|
||||
| `--session-dir <dir>` | Custom session storage directory |
|
||||
| `--no-session` | Ephemeral mode (don't save) |
|
||||
| `--name <name>`, `-n <name>` | Set session display name at startup |
|
||||
|
||||
### Tool Options
|
||||
|
||||
@@ -605,6 +607,9 @@ pi -p "Summarize this codebase"
|
||||
# Non-interactive with piped stdin
|
||||
cat README.md | pi -p "Summarize this text"
|
||||
|
||||
# Named one-shot session
|
||||
pi --name "release audit" -p "Audit this repository"
|
||||
|
||||
# Different model
|
||||
pi --provider openai --model gpt-4o "Help me refactor"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user