@akagilnc/pi-workflow-roles 0.1.2130 → 0.1.2133
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
|
@@ -24,7 +24,15 @@ grok --prompt-file /path/to/labor-prompt.md -m grok-4.6 --always-approve --outpu
|
|
|
24
24
|
- Official docs list `-p/--single` as the canonical headless prompt input;
|
|
25
25
|
`--prompt-file` exists in the installed CLI (`--help`) and is smoke-verified
|
|
26
26
|
on this host — prefer it for long prompts, fall back to `-p` if absent.
|
|
27
|
-
- `--output-format plain` keeps stdout clean for capture
|
|
27
|
+
- `--output-format plain` keeps stdout clean for capture — but it stays
|
|
28
|
+
silent until the run finishes. **For labor longer than ~2 minutes use
|
|
29
|
+
`--output-format streaming-json` instead**: it emits NDJSON events
|
|
30
|
+
(thought/text deltas) continuously from the first second, which keeps the
|
|
31
|
+
package idle watchdog fed (verified live 2026-08-21; a plain-format judge
|
|
32
|
+
run was killed by the 183s idle timeout). Reconstruct the final answer by concatenating each NDJSON
|
|
33
|
+
object's `data` where `type == "text"`, in stream order; `type == "end"`
|
|
34
|
+
(stopReason end_turn) marks completion. Do not treat `thought` events as
|
|
35
|
+
the answer (live-verified stream shape 2026-08-21).
|
|
28
36
|
- Reasoning effort follows the host CLI defaults; grok effort tiers are
|
|
29
37
|
low/med/high when a flag is exposed by the installed CLI version — check
|
|
30
38
|
`grok --help` and follow the actual interface. Do not invent flags.
|