agent-contracts 0.16.2 → 0.17.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 +3 -1
- package/cli-contract.yaml +1 -1
- package/dist/cli.js +5 -5505
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -5505
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -229,7 +229,9 @@ A **Workflow** defines a phase-level execution sequence:
|
|
|
229
229
|
Workflow steps support additional properties:
|
|
230
230
|
|
|
231
231
|
* `group` — consecutive steps with the same group are rendered as `par` (parallel) blocks in sequence diagrams
|
|
232
|
-
* `
|
|
232
|
+
* `max_retries` (delegate steps) — maximum number of full task re-executions (new sessions) allowed per step. Defaults to `0` (no retries), or `1` when a `retry` block is present
|
|
233
|
+
* `max_follow_ups` (delegate steps) — maximum number of lightweight same-session follow-up messages for output format corrections
|
|
234
|
+
* `retry` (delegate steps) — defines a conditional retry loop with `condition`, `fix_task`, and optional `revalidate_task`. These are rendered as recovery instructions in the LLM prompt
|
|
233
235
|
* `routing_key` (decision steps) — the field that determines branch selection. The legacy field `on` is still accepted but deprecated due to YAML 1.1 reserved word collision
|
|
234
236
|
|
|
235
237
|
### Validation
|
package/cli-contract.yaml
CHANGED