@ory/openclaw 0.13.9 → 1.0.0
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/README.md +67 -102
- package/dist/cli/main.d.ts +0 -1
- package/dist/cli/main.js +51 -13
- package/dist/cli/plugin-config.d.ts +12 -8
- package/dist/cli/plugin-config.js +22 -16
- package/dist/cli/setup.js +24 -5
- package/dist/plugin.d.ts +1 -19
- package/dist/plugin.js +127 -429
- package/dist/types.d.ts +8 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +9 -8
package/dist/types.d.ts
CHANGED
|
@@ -32,6 +32,11 @@ export interface BeforeToolCallContext {
|
|
|
32
32
|
args: Record<string, unknown>;
|
|
33
33
|
sessionId: string;
|
|
34
34
|
callId: string;
|
|
35
|
+
/** Agent definition currently executing the tool, when supplied by OpenClaw. */
|
|
36
|
+
agentId?: string;
|
|
37
|
+
/** Session key currently executing the tool; child agents use their child key. */
|
|
38
|
+
sessionKey?: string;
|
|
39
|
+
runId?: string;
|
|
35
40
|
}
|
|
36
41
|
export interface AfterToolCallContext {
|
|
37
42
|
toolId: string;
|
|
@@ -109,8 +114,10 @@ export interface SubagentSpawnedContext extends SubagentSpawningContext {
|
|
|
109
114
|
}
|
|
110
115
|
export interface SubagentEndedContext extends SubagentSpawningContext {
|
|
111
116
|
childRunId?: string;
|
|
117
|
+
/** Canonical OpenClaw identifier for the child session that ended. */
|
|
118
|
+
targetSessionKey?: string;
|
|
112
119
|
reason?: string;
|
|
113
|
-
/** Final response/output from the child run (audit-only). */
|
|
120
|
+
/** Final response/output from the child run (audit-trail only). */
|
|
114
121
|
result?: unknown;
|
|
115
122
|
}
|
|
116
123
|
export interface HookResult {
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"id": "ory-agent-security",
|
|
3
3
|
"name": "Ory Agent Security",
|
|
4
4
|
"version": "0.1.0",
|
|
5
|
-
"description": "Authentication, authorization, and
|
|
5
|
+
"description": "Authentication, authorization, and activity auditing for OpenClaw via Ory",
|
|
6
6
|
"entry": "./dist/index.js"
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ory/openclaw",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Ory plugin for OpenClaw: scaffolding skills, a local Ory instance, and authentication, authorization, and audit for every tool call",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://ory.com",
|
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
"agent-security",
|
|
34
34
|
"guardrails",
|
|
35
35
|
"llm",
|
|
36
|
-
"
|
|
37
|
-
"distributed-tracing",
|
|
36
|
+
"activity-auditing",
|
|
38
37
|
"observability",
|
|
39
38
|
"kratos",
|
|
40
39
|
"keto",
|
|
@@ -45,6 +44,10 @@
|
|
|
45
44
|
"registry": "https://registry.npmjs.org/",
|
|
46
45
|
"provenance": true
|
|
47
46
|
},
|
|
47
|
+
"reova": {
|
|
48
|
+
"enabled": true,
|
|
49
|
+
"endpoint": "https://telemetry.reo.dev/data"
|
|
50
|
+
},
|
|
48
51
|
"main": "dist/index.js",
|
|
49
52
|
"types": "dist/index.d.ts",
|
|
50
53
|
"exports": {
|
|
@@ -61,12 +64,11 @@
|
|
|
61
64
|
"files": [
|
|
62
65
|
"dist",
|
|
63
66
|
"openclaw.plugin.json",
|
|
64
|
-
"!dist/dev",
|
|
65
67
|
"!dist/**/*.tsbuildinfo"
|
|
66
68
|
],
|
|
67
69
|
"dependencies": {
|
|
68
|
-
"
|
|
69
|
-
"@ory/argus": "0.
|
|
70
|
+
"reova": "^0.7.0",
|
|
71
|
+
"@ory/argus": "1.0.0"
|
|
70
72
|
},
|
|
71
73
|
"engines": {
|
|
72
74
|
"node": ">=22"
|
|
@@ -76,7 +78,6 @@
|
|
|
76
78
|
"clean": "rm -rf dist *.tsbuildinfo",
|
|
77
79
|
"test": "vitest run",
|
|
78
80
|
"test:watch": "vitest",
|
|
79
|
-
"typecheck": "tsc --noEmit"
|
|
80
|
-
"dev": "node dist/dev/launcher.js"
|
|
81
|
+
"typecheck": "tsc --noEmit"
|
|
81
82
|
}
|
|
82
83
|
}
|