@ory/claude-code 0.12.1 → 0.13.1

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
@@ -132,7 +132,7 @@ All prefixed with `npx -y -p @ory/claude-code`.
132
132
 
133
133
  - **`local-up` fails** — make sure Docker is running and ports `4000`, `4100`, `4455`, and `16686` are free.
134
134
  - **Browser sign-in loops** — reset with `ory-claude agent unregister` and try again.
135
- - **`npx` grabbed an old version** — force the latest: `npx -y -p @ory/claude-code@latest ory-claude …`.
135
+ - **Install ran but never asked how to connect** — you're almost certainly on a stale `npx` cache. `npx -p @ory/claude-code` (no version pin) reuses a previously-downloaded copy instead of re-resolving to the latest, so an older CLI one whose install predates the setup wizard — can run while `claude plugin` still installs current plugin content. The install banner prints the running version; confirm it with `npx -y -p @ory/claude-code ory-claude version`. To force the current release, clear the cache and reinstall: `rm -rf ~/.npm/_npx` then `npx -y -p @ory/claude-code ory-claude install`. Pinning an exact version (`@ory/claude-code@<version>`) also bypasses the cached copy.
136
136
  - **Hooks stuck on an old version** — run `/plugin marketplace update ory` inside Claude Code, or re-run the installer.
137
137
  - **Want to see what's happening** — `npx -y -p @ory/claude-code ory-claude status` for a snapshot, `npx -y -p @ory/claude-code ory-claude watch` for the live trace stream, or set `ORY_AGENT_DEBUG=true` for a verbose log. Traces and logs live under `~/.config/ory-agent-plugins/claude-code/` (see [See what's happening](#see-whats-happening)).
138
138
 
package/dist/cli/main.js CHANGED
@@ -98,6 +98,11 @@ function main() {
98
98
  case "watch":
99
99
  (0, argus_1.runWatchCommand)("claude-code", args);
100
100
  break;
101
+ case "version":
102
+ case "--version":
103
+ case "-v":
104
+ process.exit((0, argus_1.runVersionCommand)("ory-claude", args, { packageRoot: PACKAGE_ROOT }));
105
+ break;
101
106
  case "help":
102
107
  case "--help":
103
108
  case "-h":
@@ -145,6 +150,7 @@ Commands:
145
150
  permissions <cmd> Manage permission mode and tool permissions (status, bootstrap, observe, enforce)
146
151
  status Show plugin status and configuration
147
152
  watch [trace-file] Tail the trace stream (OTel spans) live
153
+ version Show version and the ory-agent-plugins build commit
148
154
  local <cmd> Manage local Ory dev environment (up, down, status, seed, ...)
149
155
 
150
156
  Examples:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/claude-code",
3
- "version": "0.12.1",
3
+ "version": "0.13.1",
4
4
  "description": "Ory plugin for Claude Code: 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://github.com/ory/claude-plugins/tree/master/plugins/ory-agent-plugin",
@@ -76,7 +76,7 @@
76
76
  ],
77
77
  "dependencies": {
78
78
  "reo-census": "^1.2.8",
79
- "@ory/argus": "0.12.1"
79
+ "@ory/argus": "0.13.1"
80
80
  },
81
81
  "engines": {
82
82
  "node": ">=22"