@parcha/agentrun-dsl 0.1.0-beta.36 → 0.1.0-beta.37

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.
Files changed (2) hide show
  1. package/dist/workflow.js +5 -0
  2. package/package.json +1 -1
package/dist/workflow.js CHANGED
@@ -3300,6 +3300,11 @@ function checkDecisionProviders(node, deps, workflow) {
3300
3300
  asked.push({ choice: node, types: ["choice"], count: 1, what: `pick node "${label}"` });
3301
3301
  if (node.node === "route" && !routesByValue(node))
3302
3302
  asked.push({ choice: node, types: ["choice"], count: 1, what: `route node "${label}"` });
3303
+ // A node's `verify` is asked of the host's default decision provider (no provider of its own): a host without it refuses the node.
3304
+ if ("verify" in node && node.verify) {
3305
+ const types = questionsOf(node.verify.out);
3306
+ asked.push({ choice: {}, types, count: types.length, what: `${node.node} node "${label}" (verify)` });
3307
+ }
3303
3308
  for (const pred of [node.node === "loop" ? node.until : undefined, node.node === "escalate" ? node.when : undefined]) {
3304
3309
  if (pred?.predicate === "ask")
3305
3310
  asked.push({ choice: pred, types: ["noul"], count: 1, what: `${node.node} node "${label}" (ask predicate)` });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcha/agentrun-dsl",
3
- "version": "0.1.0-beta.36",
3
+ "version": "0.1.0-beta.37",
4
4
  "description": "Composable, typed workflows for agents",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",