feat: add safe cap call output modes

This commit is contained in:
lda
2026-06-09 16:44:29 +07:00 Verified
parent 3798d3c0cf
commit ae4c3b2aa8
7 changed files with 380 additions and 4 deletions
+8
View File
@@ -80,6 +80,14 @@ Expected:
- `outcome` is `ok`.
- Output is small and machine-readable.
Optionally, test compact output:
```bash
uv run wf --config wf.config.json cap call wf.std.constant --input '{"value":"smoke"}' --format compact
```
Expected: one bounded line with `outcome=ok`.
Avoid using arbitrary MCP tools here unless their output shape is known. MCP
content-block envelopes can be large and should not be treated like compact
workflow output.