mirror of
https://github.com/obra/superpowers.git
synced 2026-05-08 10:09:04 +08:00
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
name: claude
|
||
cli: claude
|
||
args:
|
||
- "--dangerously-skip-permissions"
|
||
- "--plugin-dir"
|
||
- "${SUPERPOWERS_ROOT}"
|
||
- "--model"
|
||
- "opus"
|
||
required_env:
|
||
- ANTHROPIC_API_KEY
|
||
- SUPERPOWERS_ROOT
|
||
hooks:
|
||
pre_run: []
|
||
post_run: []
|
||
shutdown: "/exit"
|
||
idle:
|
||
quiescence_seconds: 3
|
||
ready_pattern: "^❯|^\\$|Human:|Enter to confirm"
|
||
# Matches when Claude is actively working — spinners, "Thinking", time counter,
|
||
# or "esc to cancel". Engine extends its wait deadline when any of these match
|
||
# so the Actor doesn't interrupt long-running subagent work.
|
||
busy_pattern: "esc to cancel|Thinking\\.\\.\\.|\\(esc to cancel[^)]*\\)|[⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠶⠾⠽⠻⠿]"
|
||
# Maximum total seconds the engine will extend the deadline across all busy
|
||
# detections during a single _wait_for_ready call. Long-running subagent work
|
||
# can take a while, so 30 minutes gives plenty of headroom.
|
||
max_busy_seconds: 1800
|
||
startup_timeout: 60
|
||
terminal:
|
||
cols: 200
|
||
rows: 50
|
||
session_logs:
|
||
pattern: "~/.claude/projects/**/session-*.jsonl"
|