@cydm/pie 4.15.3 → 4.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -428,7 +428,7 @@ Pie exposes one default model-visible web tool: `web_research`. Use it for publi
428
428
 
429
429
  ## Permissions
430
430
 
431
- Interactive Pie starts with YOLO mode on: filesystem sandbox directory restrictions are disabled and high-risk shell commands are auto-approved. Use `/settings/yolo off` in trusted workflows that need workspace-scoped file tools and confirmations; `~/.pie` remains allowlisted for Pie configuration/session support in that mode. Headless print/json-events hosts retain their non-YOLO composition. Shell commands return structured timeout/truncation/error details. The canonical executable tool is named `shell`; `bash` remains only a historical replay/rendering and policy identifier, not a second executable alias. On Windows `shell:auto` uses PowerShell, and callers can explicitly request the `bash`, `powershell`, or `cmd` dialect. High-risk shell commands require confirmation outside YOLO mode; the confirmation dialog also offers a time-boxed `Yolo (5 min)` option that suppresses further high-risk prompts for five minutes without enabling full YOLO mode. Explicitly turning `/settings/yolo off` revokes both persistent YOLO and any live temporary grant; status reports a remaining grant separately. `pie permissions` prints the current policy-derived safety summary.
431
+ Interactive Pie and headless hosts (workers, `pie manager`, `--json-events`, and print mode) all start with YOLO mode on by default: filesystem sandbox directory restrictions are disabled and high-risk shell commands are auto-approved. Use `/settings/yolo off` (or the `/panel` worker card YOLO toggle) when a session needs workspace-scoped file tools and confirmations; `~/.pie` remains allowlisted for Pie configuration/session support in that mode. Shell commands return structured timeout/truncation/error details. The canonical executable tool is named `shell`; `bash` remains only a historical replay/rendering and policy identifier, not a second executable alias. On Windows `shell:auto` uses PowerShell, and callers can explicitly request the `bash`, `powershell`, or `cmd` dialect. High-risk shell commands require confirmation outside YOLO mode; the confirmation dialog also offers a time-boxed `Yolo (5 min)` option that suppresses further high-risk prompts for five minutes without enabling full YOLO mode. Explicitly turning `/settings/yolo off` revokes both persistent YOLO and any live temporary grant; status reports a remaining grant separately. `pie permissions` prints the current policy-derived safety summary.
432
432
 
433
433
  In interactive Plan mode (`/tools/plan`), workspace editing tools are unavailable. The Plan-mode `shell` guard accepts simple read commands and read-only pipelines such as `rg 'TODO' . | head -20`; it blocks redirects, command substitution, and write-capable subcommands. Use `plan_scratch` to write, read, or list temporary text drafts in a directory dedicated to the current session. Shell redirection to `/tmp` remains blocked in Plan mode. When the plan is ready, the agent submits the ordered steps with `plan_submit` and you choose to execute immediately (progress is tracked through `[DONE:n]` markers in responses), keep planning, or refine the plan in a prefilled editor; a plan written as plain text under a `Plan:`/`计划:` heading is still detected as a fallback. Leave Plan mode before changing workspace files.
434
434