Sign In

dashclaw

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashclaw - npm Package Compare versions

Comparing version
5.17.0
to
5.17.1
+1
-1
package.json
{
"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",

@@ -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+)