@ory/amp 1.0.1 → 1.2.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 +4 -4
- package/dist/cli/main.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ Everything the plugin does is observable out of the box:
|
|
|
90
90
|
Once connected, the deny posture lives on the Ory project: when the observe-mode activity looks right, an admin promotes it to **enforce** in the **Ory Console** (Agent Security). Every session reads that posture live, so nothing has to be reinstalled.
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
npx -y -p @ory/amp ory-amp permissions #
|
|
93
|
+
npx -y -p @ory/amp ory-amp permissions # native allowed/blocked state and live mode
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Then a denied tool is actually blocked and Amp shows why.
|
|
@@ -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,
|
|
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 runtime the plugin only *reads* permissions, so installing it needs no workspace privilege. Each Amp session registers its own identity automatically on first use.
|
|
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
|
|
|
@@ -139,8 +139,8 @@ Settings are saved to `~/.config/ory-agent-plugins/config.json` and shared acros
|
|
|
139
139
|
|
|
140
140
|
```
|
|
141
141
|
ory-amp install | uninstall Install (add --project-url to also connect Agent Security) / remove
|
|
142
|
-
ory-amp status Show configuration, identities,
|
|
143
|
-
ory-amp permissions <cmd> status (read-only;
|
|
142
|
+
ory-amp status Show configuration, identities, native tool access, and recent activity
|
|
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
145
|
ory-amp agent <status|unregister> Manage Amp's own auto-created identity
|
|
146
146
|
ory-amp local <up|down|status|…> Run / manage a local Ory in Docker
|
package/dist/cli/main.js
CHANGED
|
@@ -189,7 +189,7 @@ Commands:
|
|
|
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
191
|
agent <status|unregister> Manage the agent's OAuth2 (DCR) identity
|
|
192
|
-
permissions Show
|
|
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
|
|
195
195
|
watch [--json] [--lines <count>] Follow the live activity/debug log
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ory/amp",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.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,7 +70,7 @@
|
|
|
70
70
|
],
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"reova": "^0.7.0",
|
|
73
|
-
"@ory/argus": "1.0
|
|
73
|
+
"@ory/argus": "1.2.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"typescript": "^6.0.2",
|