@ory/claude-code 1.2.4 → 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
@@ -46,6 +46,8 @@ Installing the plugin drops the full Ory playbook catalog into Claude Code. **Sk
46
46
  | `ory-local-dev` | Develops and tests login/permission flows against a local Ory — no project, no account, offline |
47
47
  | `ory-permissions-onboarding` | Walks a fresh install from observe mode to enforced per-tool permissions without getting blocked |
48
48
  | `ory-build-agent` | Drops `@ory/argus` into an agent *you* own — Claude Agent SDK, OpenAI Agents, Mastra, Vercel AI, LangGraph/PydanticAI |
49
+ | `ory-deploy-agent` | Builds and deploys the canonical Claude Agent SDK agent through Agent Security with a generated runtime credential and Docker Compose |
50
+ | `ory-deploy-openai-e2b` | Builds and deploys a Python OpenAI Agents application on E2B with an immutable template and generated Talos runtime credential |
49
51
  | `ory-build-integration` | Wires Ory into your app: Action webhooks, JWT validation at a gateway, live event streams |
50
52
  | `ory-contribute-integration` | Authors and submits an integration to the public `ory/integrates` registry |
51
53
  | `ory-e2b-sandbox` | Scaffolds an E2B sandbox template that boots with this plugin preinstalled |
@@ -119,7 +121,7 @@ npx -y -p @ory/claude-code ory-claude configure \
119
121
 
120
122
  **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
123
 
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 Claude session registers its own identity automatically on first use.
124
+ **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 Claude's Talos runtime credential in the OS credential store; tool paths only read it. Installing needs no workspace privilege.
123
125
 
124
126
  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
127
 
@@ -132,7 +134,7 @@ ory-claude install | uninstall Install (add --project-url to also connect
132
134
  ory-claude status Show configuration, identities, native tool access, recent activity
133
135
  ory-claude permissions <cmd> status (read-only; blocks + posture live in the Ory Console)
134
136
  ory-claude configure <flags> Connect a project (--project-url) or --disconnect
135
- ory-claude agent <status|unregister> Manage Claude's own auto-created identity
137
+ ory-claude agent <status|unregister> Inspect runtime status / clear legacy OAuth state
136
138
  ory-claude local <up|down|status|…> Run / manage a local Ory in Docker
137
139
  ory-claude version Print plugin, core, and Node versions (--json for machine-readable)
138
140
  ```
@@ -142,7 +144,7 @@ All prefixed with `npx -y -p @ory/claude-code`.
142
144
  ## Troubleshooting
143
145
 
144
146
  - **`local-up` fails** — make sure Docker is running and ports `4000`, `4100`, and `4455` are free.
145
- - **Browser sign-in loops** (after connecting) — reset with `ory-claude 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.
146
148
  - **Running an older CLI than expected** — `npx -p @ory/claude-code` (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/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.
147
149
  - **Hooks stuck on an old version** — run `/plugin marketplace update ory` inside Claude Code, or re-run the installer.
148
150
 
package/dist/cli/main.js CHANGED
@@ -173,7 +173,7 @@ Commands:
173
173
  install [--global] Install Ory plugin via claude CLI marketplace
174
174
  uninstall [--global] Remove Ory plugin and marketplace
175
175
  configure Set or view Ory project URL and API key
176
- agent <cmd> Manage the agent's OAuth2 (DCR) identity (status, unregister)
176
+ agent <cmd> Inspect runtime status or clear legacy OAuth state
177
177
  permissions Show live mode and native allowed/blocked state
178
178
  status Show plugin status and configuration
179
179
  watch [--json] [--lines <count>]
package/dist/cli/setup.js CHANGED
@@ -98,7 +98,7 @@ const RENDER_OPTS = {
98
98
  /**
99
99
  * Persistent install location: the marketplace root the `claude` CLI is
100
100
  * pointed at. Lives under the shared OS-agnostic data dir so all plugin state
101
- * — config, DCR creds, harness assets — sits in one place per platform.
101
+ * — config, legacy DCR cleanup state, harness assets — sits in one place per platform.
102
102
  *
103
103
  * Resolved on each call rather than captured at module load: `getHarnessDataDir`
104
104
  * reads `XDG_CONFIG_HOME`, so a module-level constant would freeze whatever the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/claude-code",
3
- "version": "1.2.4",
3
+ "version": "1.3.0",
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",
@@ -78,7 +78,7 @@
78
78
  ],
79
79
  "dependencies": {
80
80
  "reova": "^0.7.0",
81
- "@ory/argus": "1.2.4"
81
+ "@ory/argus": "1.3.0"
82
82
  },
83
83
  "engines": {
84
84
  "node": ">=22"