@cloudhal/agent-runtime 0.6.2 → 0.6.4
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 +5 -0
- package/dist/src/policy.js +5 -0
- package/package.json +4 -4
package/dist/src/policy.d.ts
CHANGED
|
@@ -124,6 +124,11 @@ export interface Principal {
|
|
|
124
124
|
} | undefined;
|
|
125
125
|
/** The API key an agent authenticated with (lets it ask for an elevation of that key). */
|
|
126
126
|
keyId?: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* RFC-0044 §5: the OAuth grant an agent's access token belongs to (a connection approved on the
|
|
129
|
+
* consent screen). Only such principals get the `insufficient_scope` step-up challenge.
|
|
130
|
+
*/
|
|
131
|
+
grantId?: string | undefined;
|
|
127
132
|
/**
|
|
128
133
|
* RFC-0008 §11.2: the key is an automation's key (`purpose: "automation"` in its metadata). It
|
|
129
134
|
* works only inside an open run of that automation, except `begin_run` and `get_mode`.
|
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.6.
|
|
3
|
+
"version": "0.6.4",
|
|
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,14 +24,14 @@
|
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cloudhal/core-contracts": "0.6.
|
|
28
|
-
"@cloudhal/storage": "0.6.
|
|
27
|
+
"@cloudhal/core-contracts": "0.6.4",
|
|
28
|
+
"@cloudhal/storage": "0.6.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^26.6.5",
|
|
32
32
|
"better-sqlite3": "13.0.3",
|
|
33
33
|
"typescript": "7.0.2",
|
|
34
|
-
"vitest": "5.0
|
|
34
|
+
"vitest": "5.1.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=24"
|