@akagilnc/pi-workflow-roles 0.1.5122 → 0.1.5127

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akagilnc/pi-workflow-roles",
3
- "version": "0.1.5122",
3
+ "version": "0.1.5127",
4
4
  "description": "Soul-bound workflow roles for Pi",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -10,12 +10,18 @@ parameters.
10
10
  ## Invocation examples (local OpenCode CLI)
11
11
 
12
12
  The machine entrypoint is `opencode`. Run from the role project root.
13
- Non-interactive labor uses `run` with an explicit model:
13
+ Non-interactive labor uses `run` with `--auto` and an explicit model:
14
14
 
15
15
  ```bash
16
- opencode run -m <MODEL_ID> "YOUR_LABOR_PROMPT"
16
+ opencode run --auto -m <MODEL_ID> "YOUR_LABOR_PROMPT"
17
17
  ```
18
18
 
19
+ - `--auto` is required: it auto-approves permissions that are not explicitly
20
+ denied. Without it, any `ask` permission (e.g. `external_directory` when the
21
+ labor reads the case dossier outside the project root) is auto-rejected in a
22
+ headless `run`, and the engine exits after its opening sentence with no labor
23
+ done (upstream anomalyco/opencode#36413).
24
+
19
25
  - Model id is not pinned by this note; it comes from the dispatch order
20
26
  (owner pool directive), passed verbatim as `provider/model`. **Always
21
27
  confirm the current id with `opencode models` first** — provider prefixes
@@ -23,7 +29,6 @@ opencode run -m <MODEL_ID> "YOUR_LABOR_PROMPT"
23
29
  GLM lives under `opencode-go/`, e.g. `opencode-go/glm-5.2`; the older
24
30
  `zai/glm-5.2` id errors with "Unexpected server error").
25
31
  - Plain text output only (never `--format json` for labor — the returned body
26
- goes back into the seat's context); `--auto` auto-approves non-denied
27
- permissions for unattended runs (per official docs).
32
+ goes back into the seat's context).
28
33
  - Output goes to stdout; long prompts may be passed via shell heredoc or a
29
34
  file read into the argument — follow the installed CLI's actual interface.