@ory/openclaw 0.9.1 → 0.10.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 CHANGED
@@ -106,7 +106,7 @@ ory-temporal-up # start a local Temporal dev server (for ory-temporal-worker)
106
106
 
107
107
  Or via the CLI: `npx -y -p @ory/openclaw ory-openclaw local up | down`.
108
108
 
109
- `ory-local-up` runs a complete Ory on your laptop: the Ory APIs (Identities, OAuth2, Permissions) at `http://localhost:4000`, a login UI on `:3000`, and Jaeger (the trace viewer) on `:16686`. A test user identity is seeded and its credentials are printed for you. Use it to:
109
+ `ory-local-up` runs a complete Ory on your laptop: the Ory APIs (Identities, OAuth2, Permissions) at `http://localhost:4000`, a login UI on `:4455` (not :3000, to avoid Next.js port conflicts), and Jaeger (the trace viewer) on `:16686`. A test user identity is seeded and its credentials are printed for you. Use it to:
110
110
 
111
111
  - **Learn Ory hands-on** without signing up for a hosted project.
112
112
  - **Prototype** flows (login, social, MFA, recovery, permissions) against a real Ory backend.
@@ -254,7 +254,7 @@ Highlights:
254
254
 
255
255
  ## Troubleshooting
256
256
 
257
- - **`ory-local-up` fails.** Make sure Docker is running and ports `3000`, `4000`, `4100`, and `16686` are free.
257
+ - **`ory-local-up` fails.** Make sure Docker is running and ports `4455` (login UI), `4000`, `4100`, and `16686` are free.
258
258
  - **PKCE login loops.** Clear persisted state with `npx -y -p @ory/openclaw ory-openclaw agent unregister` and retry.
259
259
  - **`npx` fetches an old version.** Force a fresh fetch: `npx -y -p @ory/openclaw@latest ory-openclaw …`.
260
260
  - **Need more signal.** Set `ORY_AGENT_DEBUG=true` and `ORY_AGENT_LOG_FILE=/tmp/ory.log` to capture structured logs.
package/dist/plugin.js CHANGED
@@ -522,9 +522,6 @@ function handlePermissionError(err, toolId, client) {
522
522
  code: err.code,
523
523
  message: "Failing open",
524
524
  });
525
- client.tracer.record("tool.invoke", "ok", {
526
- attributes: { toolName: toolId, failOpen: true, reason: err.code },
527
- });
528
525
  return;
529
526
  }
530
527
  client.logger.error("permission.check.error", {
@@ -539,8 +536,7 @@ function handlePermissionError(err, toolId, client) {
539
536
  error: err instanceof Error ? err.message : String(err),
540
537
  });
541
538
  }
542
- // Record fail-open trace for unknown errors too
543
- client.tracer.record("tool.invoke", "ok", {
544
- attributes: { toolName: toolId, failOpen: true },
545
- });
539
+ // Fail-open is log-and-allow: no tool.invoke span, matching the core
540
+ // gate() vocabulary. The errored permission.check span carries the audit
541
+ // trail for the failed check itself.
546
542
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/openclaw",
3
- "version": "0.9.1",
3
+ "version": "0.10.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",
@@ -65,7 +65,7 @@
65
65
  "!dist/**/*.tsbuildinfo"
66
66
  ],
67
67
  "dependencies": {
68
- "@ory/argus": "0.9.1"
68
+ "@ory/argus": "0.10.0"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=22"