@ory/claude-code 0.7.1 → 0.7.3

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
@@ -81,6 +81,8 @@ Each skill is a vetted, end-to-end playbook. Skills are model-invoked — ask Cl
81
81
  - **`ory-build-integration`** *(e.g. "wire an Ory webhook into my app")* — pull the runnable subset of an `ory/integrates` template (webhook / config / http-event) into the user's own app and wire it to their Ory project — no contribution/registry concerns.
82
82
  - **`ory-contribute-integration`** *(e.g. "contribute a new Ory integration")* — author a brand-new integration as a contribution to `ory/integrates`, including `registry.entry.yaml`, the `Maintained by:` footer, DCO sign-off, and registry regeneration.
83
83
  - **`ory-e2b-sandbox`** *(e.g. "create my e2b sandbox with ory agent security")* — scaffold an [E2B](https://e2b.dev) sandbox template that boots with this plugin preinstalled and registered, so every sandbox session is gated by Ory auth, permissions, and tracing without any per-sandbox setup.
84
+ - **`ory-build-agent`** *(e.g. "wire Ory into my own agent")* — drop `@ory/argus` directly into a custom agent you own (Claude Agent SDK, OpenAI Agents SDK, Mastra, Vercel AI SDK, PydanticAI, LangGraph, Mistral AI, or Salesforce Agentforce) so the user is authenticated, every tool call is authorized against Ory Permissions, and the lifecycle emits trace spans.
85
+ - **`ory-temporal-worker`** *(e.g. "wire Ory into my Temporal worker")* — scaffold a [Temporal](https://temporal.io) TypeScript worker per the [official local-dev guide](https://docs.temporal.io/develop/typescript/set-up-your-local-typescript), with every Activity gated by an Ory permission check, the worker's agent identity resolved via DCR, and the full lifecycle emitting trace spans.
84
86
 
85
87
  ### Ory MCP server
86
88
 
@@ -91,6 +93,7 @@ Bundled and registered automatically. Exposes the Ory CLI and the Ory Network RE
91
93
  ```
92
94
  /ory-agent-plugin:local-up # start a local Ory instance in Docker
93
95
  /ory-agent-plugin:local-down # tear it all down
96
+ /ory-agent-plugin:temporal-up # start a local Temporal dev server (for ory-temporal-worker)
94
97
  ```
95
98
 
96
99
  `local-up` brings up Ory Identities, OAuth2, and Permissions, plus a login UI on `:3000` and Jaeger on `:16686`, all reachable through `http://localhost:4000`. A test user identity is seeded and the credentials are printed for you. Use it to:
package/dist/cli/setup.js CHANGED
@@ -120,7 +120,7 @@ function isRemoteContext() {
120
120
  }
121
121
  /** Hook command for a local/global install — runs the built hook directly. */
122
122
  function localHookCommand() {
123
- return `node ${path.join(PACKAGE_ROOT, "dist", "hook.js")}`;
123
+ return `node "${path.join(PACKAGE_ROOT, "dist", "hook.js")}"`;
124
124
  }
125
125
  /**
126
126
  * Assemble the Claude Code plugin directory in the persistent location and
@@ -188,11 +188,17 @@ function cleanPersistentDir() {
188
188
  function claudeScope(isGlobal) {
189
189
  return isGlobal ? "user" : "project";
190
190
  }
191
+ /**
192
+ * On Windows, npm-installed CLIs are `.cmd` shims that Node's spawn only
193
+ * finds via the shell. POSIX shells resolve the bare name directly.
194
+ */
195
+ const SPAWN_VIA_SHELL = process.platform === "win32";
191
196
  /** Run a `claude` CLI command and capture output. */
192
197
  function runClaude(args) {
193
198
  const result = (0, node_child_process_1.spawnSync)("claude", args, {
194
199
  encoding: "utf-8",
195
200
  stdio: ["pipe", "pipe", "pipe"],
201
+ shell: SPAWN_VIA_SHELL,
196
202
  });
197
203
  const output = ((result.stdout ?? "") + (result.stderr ?? "")).trim();
198
204
  return { ok: result.status === 0, output };
@@ -202,6 +208,7 @@ function checkClaudeCli() {
202
208
  const result = (0, node_child_process_1.spawnSync)("claude", ["--version"], {
203
209
  encoding: "utf-8",
204
210
  stdio: ["pipe", "pipe", "pipe"],
211
+ shell: SPAWN_VIA_SHELL,
205
212
  });
206
213
  return result.status === 0;
207
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/claude-code",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
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",
@@ -75,7 +75,7 @@
75
75
  "!dist/**/*.tsbuildinfo"
76
76
  ],
77
77
  "dependencies": {
78
- "@ory/argus": "0.7.1"
78
+ "@ory/argus": "0.7.3"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=22"