+1
-1
| { | ||
| "name": "dashclaw", | ||
| "version": "5.17.0", | ||
| "version": "5.17.1", | ||
| "description": "Minimal governance runtime for AI agents. Intercept, govern, and verify agent actions.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+1
-1
@@ -383,3 +383,3 @@ # DashClaw SDK | ||
| - `simulatePolicy({ policy_type, rules, days })` -- Side-effect-free dry-run of a proposed policy against recent historical actions before committing it (pairs with `guard()` for live enforcement). `policy_type` and `rules` are required; `days` is optional. Returns `{ summary: { total, matches, block, warn, require_approval, allow }, matches, sample_size, window_days }`. Persists nothing. | ||
| - `createDelegationConstraint(rules, opts?)` -- Create a `delegation_constraint` policy: caps what a composed subagent (`parent:child` identity) may do — risk ceiling, action-type allow/block lists, path scope, spawn depth, optional verified-identity requirement. Thin wrapper over `POST /api/policies`. `opts` accepts `{ name?, agent_ids? }`. | ||
| - `createDelegationConstraint(rules, opts?)` -- Create a `delegation_constraint` policy: caps what a composed subagent (`parent:child` identity) may do — risk ceiling, action-type allow/block lists, path scope, spawn depth, optional verified-identity requirement. Thin wrapper over `POST /api/policies`. `opts` accepts `{ name?, agent_ids? }`. The sibling `role_constraint` type (v5.17.0, a named per-role authority bundle for top-level agents) has no dedicated wrapper by design — create it with the same `POST /api/policies` shape (`policy_type: 'role_constraint'`) or in the `/policies` UI. | ||
@@ -386,0 +386,0 @@ ### Durable Execution Finality (v2.13.3+) |
91033
0.28%