@ory/codex 1.2.3 → 1.3.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
@@ -119,7 +119,7 @@ npx -y -p @ory/codex ory-codex configure \
119
119
 
120
120
  **Ory Network or OEL.** Either works. For an Ory Network project the URL is `https://<slug>.projects.oryapis.com`; for a self-hosted **Ory Enterprise License** deployment, point `--project-url` at that deployment's base URL and use the sign-in client id from its Agent Security configuration. Everything downstream — sign-in, checks, delegation — is identical.
121
121
 
122
- **There is nothing else for you to create.** The sign-in client, permission model, native-tool blocks, MCP grants, and observe/enforce posture are provisioned in the Console by someone with project access. At runtime the plugin only *reads* permissions, so installing it needs no workspace privilege. Each Codex session registers its own identity automatically on first use.
122
+ **There is nothing else for you to create.** The sign-in client, permission model, native-tool blocks, MCP grants, and observe/enforce posture are provisioned in the Console by someone with project access. At session start the plugin loads or enrolls Codex's Talos runtime credential in the OS credential store; tool paths only read it. Installing needs no workspace privilege.
123
123
 
124
124
  Sign-in runs at the start of every session and never blocks — a declined, skipped, or timed-out login simply leaves that session without a user identity.
125
125
 
@@ -132,7 +132,7 @@ ory-codex install | uninstall Install (add --project-url to also connect
132
132
  ory-codex status Show configuration, identities, native tool access, recent activity
133
133
  ory-codex permissions <cmd> status (read-only; blocks + posture live in the Ory Console)
134
134
  ory-codex configure <flags> Connect a project (--project-url) or --disconnect
135
- ory-codex agent <status|unregister> Manage Codex's own auto-created identity
135
+ ory-codex agent <status|unregister> Inspect runtime status / clear legacy OAuth state
136
136
  ory-codex local <up|down|status|…> Run / manage a local Ory in Docker
137
137
  ory-codex version Print plugin, core, and Node versions (--json for machine-readable)
138
138
  ```
@@ -144,7 +144,7 @@ The local stack runs a complete Ory on your laptop: the Ory APIs at `http://loca
144
144
  ## Troubleshooting
145
145
 
146
146
  - **`local up` fails** — make sure Docker is running and ports `4000`, `4100`, `4455`, and `16686` are free.
147
- - **Browser sign-in loops** (after connecting) — reset with `ory-codex agent unregister` and try again.
147
+ - **Browser sign-in loops** (after connecting) — confirm the reserved login client has all four documented loopback redirect URIs; `agent unregister` only clears legacy agent OAuth state.
148
148
  - **Running an older CLI than expected** — `npx -p @ory/codex` (no version pin) reuses a previously-downloaded copy instead of re-resolving to the latest. The install banner prints the running version; confirm it with `npx -y -p @ory/codex ory-codex version`. To force the current release, clear the cache and reinstall: `rm -rf ~/.npm/_npx` then `npx -y -p @ory/codex ory-codex install`. Pinning an exact version (`@ory/codex@<version>`) also bypasses the cached copy.
149
149
  - **`npm install … ENOVERSIONS`** — if your `~/.npmrc` sets `min-release-age`, npm hides versions newer than that. Override per-call: `npm_config_min_release_age=0 npx -y -p @ory/codex ory-codex install`.
150
150
  - **`codex doctor` says `ory-mcp-server is not resolvable`** — the bundled tool server is fetched on demand via `npx`, so make sure `npm`/`npx` is on your PATH. The first session downloads it; later ones reuse the cache.
@@ -6,7 +6,7 @@
6
6
  * npx ory-codex install Install the plugin via `codex plugin add`
7
7
  * npx ory-codex uninstall Remove the plugin via `codex plugin remove`
8
8
  * npx ory-codex configure Set or view Ory project URL and API key
9
- * npx ory-codex agent <cmd> Manage the agent's OAuth2 identity
9
+ * npx ory-codex agent <cmd> Inspect runtime status or clear legacy OAuth state
10
10
  * npx ory-codex permissions Show mode and native allowed/blocked state
11
11
  * npx ory-codex local <cmd> Manage local Ory dev environment
12
12
  * npx ory-codex status Show plugin status and configuration
package/dist/cli/main.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * npx ory-codex install Install the plugin via `codex plugin add`
8
8
  * npx ory-codex uninstall Remove the plugin via `codex plugin remove`
9
9
  * npx ory-codex configure Set or view Ory project URL and API key
10
- * npx ory-codex agent <cmd> Manage the agent's OAuth2 identity
10
+ * npx ory-codex agent <cmd> Inspect runtime status or clear legacy OAuth state
11
11
  * npx ory-codex permissions Show mode and native allowed/blocked state
12
12
  * npx ory-codex local <cmd> Manage local Ory dev environment
13
13
  * npx ory-codex status Show plugin status and configuration
@@ -158,7 +158,7 @@ Commands:
158
158
  install Install via \`codex plugin marketplace add\` + \`codex plugin add\`
159
159
  uninstall Remove via \`codex plugin remove\` + \`codex plugin marketplace remove\`
160
160
  configure Set or view Ory project URL and API key
161
- agent <cmd> Manage the agent's OAuth2 identity (status, unregister)
161
+ agent <cmd> Inspect runtime status or clear legacy OAuth state
162
162
  permissions Show live mode and native allowed/blocked state
163
163
  local <cmd> Manage local Ory dev environment
164
164
  (up, down, status, seed, logs, env, configure, reset)
package/dist/types.d.ts CHANGED
@@ -9,8 +9,9 @@
9
9
  * - `"Bash"`
10
10
  * - `"apply_patch"` — canonical name for file edits. `Write`/`Edit` are
11
11
  * matcher aliases only; the serialized name is always `apply_patch`.
12
+ * - `"webrun"` for web access.
12
13
  * - `"mcp__<server>__<tool>"` for MCP tools.
13
- * - `"collaborationspawn_agent"` for a Codex collaboration Sub-Agent spawn.
14
+ * - `"spawn_agent"` for a Codex collaboration Sub-Agent spawn.
14
15
  *
15
16
  * Supported events: SessionStart, PreToolUse, PostToolUse, PermissionRequest,
16
17
  * UserPromptSubmit, Stop.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/codex",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
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",
@@ -69,7 +69,7 @@
69
69
  ],
70
70
  "dependencies": {
71
71
  "reova": "^0.7.0",
72
- "@ory/argus": "1.2.3"
72
+ "@ory/argus": "1.3.0"
73
73
  },
74
74
  "engines": {
75
75
  "node": ">=22"