@ory/codex 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
@@ -66,6 +66,8 @@ Codex surfaces the skill catalog in `/skills` and auto-invokes by description. A
66
66
  - **`ory-build-integration`** — pull the runnable subset of an `ory/integrates` template (webhook / config / http-event) into your own app and wire it to your Ory project — no contribution/registry concerns.
67
67
  - **`ory-contribute-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.
68
68
  - **`ory-e2b-sandbox`** — 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.
69
+ - **`ory-build-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.
70
+ - **`ory-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.
69
71
 
70
72
  ### Ory MCP server
71
73
 
@@ -78,6 +80,7 @@ From Codex's `/skills` menu:
78
80
  ```
79
81
  ory-local-up # start a local Ory instance in Docker
80
82
  ory-local-down # tear it all down
83
+ ory-temporal-up # start a local Temporal dev server (for ory-temporal-worker)
81
84
  ```
82
85
 
83
86
  Or via the CLI: `npx -y -p @ory/codex ory-codex local up | down`.
package/dist/cli/setup.js CHANGED
@@ -92,10 +92,16 @@ function readPackageVersion() {
92
92
  return "0.0.0";
93
93
  }
94
94
  }
95
+ /**
96
+ * On Windows, npm-installed CLIs are `.cmd` shims that Node's spawn only
97
+ * finds via the shell. POSIX shells resolve the bare name directly.
98
+ */
99
+ const SPAWN_VIA_SHELL = process.platform === "win32";
95
100
  function runCodex(args) {
96
101
  const result = (0, node_child_process_1.spawnSync)("codex", args, {
97
102
  encoding: "utf-8",
98
103
  stdio: ["pipe", "pipe", "pipe"],
104
+ shell: SPAWN_VIA_SHELL,
99
105
  });
100
106
  const output = ((result.stdout ?? "") + (result.stderr ?? "")).trim();
101
107
  return { ok: result.status === 0, output };
@@ -104,6 +110,7 @@ function checkCodexCli() {
104
110
  const result = (0, node_child_process_1.spawnSync)("codex", ["--version"], {
105
111
  encoding: "utf-8",
106
112
  stdio: ["pipe", "pipe", "pipe"],
113
+ shell: SPAWN_VIA_SHELL,
107
114
  });
108
115
  return result.status === 0;
109
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/codex",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Ory plugin for Codex: 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",
@@ -66,7 +66,7 @@
66
66
  "marketplace"
67
67
  ],
68
68
  "dependencies": {
69
- "@ory/argus": "0.7.1"
69
+ "@ory/argus": "0.7.3"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=22"