@cloudhal/agent-runtime 0.3.9 → 0.3.11
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/dist/src/policy.d.ts +6 -0
- package/dist/src/policy.js +6 -0
- package/package.json +3 -3
package/dist/src/policy.d.ts
CHANGED
|
@@ -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;
|
package/dist/src/policy.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudhal/agent-runtime",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
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.
|
|
28
|
-
"@cloudhal/storage": "0.3.
|
|
27
|
+
"@cloudhal/core-contracts": "0.3.11",
|
|
28
|
+
"@cloudhal/storage": "0.3.11"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^26.6.5",
|