@ory/amp 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 +3 -3
- package/dist/cli/main.js +1 -1
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ npx -y -p @ory/amp ory-amp configure \
|
|
|
129
129
|
|
|
130
130
|
**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.
|
|
131
131
|
|
|
132
|
-
**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
|
|
132
|
+
**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 Amp's Talos runtime credential in the OS credential store; tool paths only read it. Installing needs no workspace privilege.
|
|
133
133
|
|
|
134
134
|
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.
|
|
135
135
|
|
|
@@ -142,7 +142,7 @@ ory-amp install | uninstall Install (add --project-url to also connect Ag
|
|
|
142
142
|
ory-amp status Show configuration, identities, native tool access, and recent activity
|
|
143
143
|
ory-amp permissions <cmd> status (read-only; blocks + posture live in the Ory Console)
|
|
144
144
|
ory-amp configure <flags> Connect a project (--project-url) or --disconnect
|
|
145
|
-
ory-amp agent <status|unregister>
|
|
145
|
+
ory-amp agent <status|unregister> Inspect runtime status / clear legacy OAuth state
|
|
146
146
|
ory-amp local <up|down|status|…> Run / manage a local Ory in Docker
|
|
147
147
|
ory-amp version Print plugin, core, and Node versions (--json for machine-readable)
|
|
148
148
|
```
|
|
@@ -152,7 +152,7 @@ All prefixed with `npx -y -p @ory/amp`.
|
|
|
152
152
|
## Troubleshooting
|
|
153
153
|
|
|
154
154
|
- **Local Ory fails to start** — make sure Docker is running and ports `4000`, `4100`, `4455`, and `16686` are free.
|
|
155
|
-
- **Browser sign-in loops** (after connecting) —
|
|
155
|
+
- **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.
|
|
156
156
|
- **Running an older CLI than expected** — `npx -p @ory/amp` (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/amp ory-amp version`. To force the current release, clear the cache and reinstall: `rm -rf ~/.npm/_npx` then `npx -y -p @ory/amp ory-amp install`. Pinning an exact version (`@ory/amp@<version>`) also bypasses the cached copy.
|
|
157
157
|
- **A tool check feels slow** — the plugin gives up on a stalled Ory check and lets the tool through; tune the deadline with `ORY_AMP_CHECK_TIMEOUT_MS`.
|
|
158
158
|
|
package/dist/cli/main.js
CHANGED
|
@@ -188,7 +188,7 @@ Commands:
|
|
|
188
188
|
install [--project-dir <path>] Register the permission delegate and in-process plugin
|
|
189
189
|
uninstall [--project-dir <path>] Remove the Ory delegate, plugin, and skills
|
|
190
190
|
configure Set or view Ory project URL and API key
|
|
191
|
-
agent <status|unregister>
|
|
191
|
+
agent <status|unregister> Inspect runtime status or clear legacy OAuth state
|
|
192
192
|
permissions Show live mode and native allowed/blocked state
|
|
193
193
|
setup [--project-dir <path>] Write config directly (fallback)
|
|
194
194
|
status [--project-dir <path>] Show plugin configuration and status
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ory/amp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Ory plugin for Amp (Sourcegraph's coding agent): a permission delegate that authorizes every tool call plus an in-process plugin for session auth and activity auditing",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://ory.com",
|
|
@@ -70,11 +70,10 @@
|
|
|
70
70
|
],
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"reova": "^0.7.0",
|
|
73
|
-
"@ory/argus": "1.
|
|
73
|
+
"@ory/argus": "1.3.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"typescript": "^6.0.2"
|
|
77
|
-
"vitest": "4.1.4"
|
|
76
|
+
"typescript": "^6.0.2"
|
|
78
77
|
},
|
|
79
78
|
"engines": {
|
|
80
79
|
"node": ">=22"
|