@cloudhal/agent-runtime 0.3.10 → 0.3.12

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.
@@ -97,6 +97,12 @@ export interface ToolPolicy {
97
97
  * needs `content:propose`, not the write it proposes.
98
98
  */
99
99
  proposeScopes?: Scope[];
100
+ /**
101
+ * Scopes the person who approves a call must hold besides the tool's own, person-only ones
102
+ * included: an agent with `site:write` may ask to move a collection's URLs, but only someone who
103
+ * could change site settings in Studio (`site:settings`) decides it (RFC-0038 §5).
104
+ */
105
+ approverScopes?: Scope[];
100
106
  }
101
107
  export interface Principal {
102
108
  actor: Actor;
@@ -236,6 +236,12 @@ const OWN_VARIANTS
236
236
 
237
237
 
238
238
 
239
+
240
+
241
+
242
+  
243
+
244
+
239
245
 
240
246
 
241
247
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudhal/agent-runtime",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "Cloudhal agent runtime: policy engine (actors, scopes, approvals), skill loader, audit log",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://cloudhal.dev",
@@ -24,8 +24,8 @@
24
24
  "README.md"
25
25
  ],
26
26
  "dependencies": {
27
- "@cloudhal/core-contracts": "0.3.10",
28
- "@cloudhal/storage": "0.3.10"
27
+ "@cloudhal/core-contracts": "0.3.12",
28
+ "@cloudhal/storage": "0.3.12"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^26.6.5",