@ory/pi 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
@@ -138,7 +138,7 @@ npx -y -p @ory/pi ory-pi configure \
138
138
 
139
139
  **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.
140
140
 
141
- **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 Pi session registers its own identity automatically on first use.
141
+ **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 Pi's Talos runtime credential in the OS credential store; tool paths only read it. Installing needs no workspace privilege.
142
142
 
143
143
  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.
144
144
 
@@ -151,7 +151,7 @@ ory-pi install | uninstall Install (--global for all projects; add --proj
151
151
  ory-pi status Show configuration, identities, native tool access, recent activity
152
152
  ory-pi permissions <cmd> status (read-only; blocks + posture live in the Ory Console)
153
153
  ory-pi configure <flags> Connect a project (--project-url) or --disconnect
154
- ory-pi agent <status|unregister> Manage Pi's own auto-created identity
154
+ ory-pi agent <status|unregister> Inspect runtime status / clear legacy OAuth state
155
155
  ory-pi local <up|down|status|…> Run / manage a local Ory in Docker
156
156
  ory-pi version Print plugin, core, and Node versions (--json for machine-readable)
157
157
  ```
@@ -161,7 +161,7 @@ All prefixed with `npx -y -p @ory/pi`.
161
161
  ## Troubleshooting
162
162
 
163
163
  - **Local Ory won't start** — make sure Docker is running and ports `4000`, `4100`, `4455`, and `16686` are free.
164
- - **Browser sign-in loops** (after connecting) — reset with `ory-pi agent unregister` and try again.
164
+ - **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.
165
165
  - **Running an older CLI than expected** — `npx -p @ory/pi` (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/pi ory-pi version`. To force the current release, clear the cache and reinstall: `rm -rf ~/.npm/_npx` then `npx -y -p @ory/pi ory-pi install`. Pinning an exact version (`@ory/pi@<version>`) also bypasses the cached copy.
166
166
  - **Pi can't find the plugin** — make sure `@ory/pi` is installed in the project (`npm install @ory/pi`) and the loader exists at `.pi/extensions/ory.js`; re-run the installer if not.
167
167
 
package/dist/cli/main.js CHANGED
@@ -214,7 +214,7 @@ Commands:
214
214
  install [--project-dir <path>] [--global] Install the Ory extension loader into .pi/extensions/
215
215
  uninstall [--project-dir <path>] [--global] Remove the Ory extension loader
216
216
  configure Set or view Ory project URL and API key
217
- agent <status|unregister> Manage the agent's OAuth2 (DCR) identity
217
+ agent <status|unregister> Inspect runtime status or clear legacy OAuth state
218
218
  permissions Show live mode and native allowed/blocked state
219
219
  local <cmd> Manage local Ory dev environment
220
220
  (up, down, status, seed, logs, env, configure, reset)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/pi",
3
- "version": "1.2.4",
3
+ "version": "1.3.0",
4
4
  "description": "Ory plugin for Pi (the minimal coding agent): 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",
@@ -75,11 +75,10 @@
75
75
  ],
76
76
  "dependencies": {
77
77
  "reova": "^0.7.0",
78
- "@ory/argus": "1.2.4"
78
+ "@ory/argus": "1.3.0"
79
79
  },
80
80
  "devDependencies": {
81
- "typescript": "^6.0.2",
82
- "vitest": "4.1.4"
81
+ "typescript": "^6.0.2"
83
82
  },
84
83
  "engines": {
85
84
  "node": ">=22"