@ory/cursor 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.d.ts +1 -1
- package/dist/cli/main.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ Everything the plugin does is observable out of the box:
|
|
|
94
94
|
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.
|
|
95
95
|
|
|
96
96
|
```bash
|
|
97
|
-
npx -y -p @ory/cursor ory-cursor permissions #
|
|
97
|
+
npx -y -p @ory/cursor ory-cursor permissions # native allowed/blocked state and live mode
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
Then a denied tool is actually blocked (`preToolUse` returns `permission: "deny"`) and Cursor shows why.
|
|
@@ -136,7 +136,7 @@ npx -y -p @ory/cursor ory-cursor configure \
|
|
|
136
136
|
|
|
137
137
|
**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.
|
|
138
138
|
|
|
139
|
-
**There is nothing else for you to create.** The sign-in client,
|
|
139
|
+
**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 Cursor session registers its own identity automatically on first use.
|
|
140
140
|
|
|
141
141
|
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.
|
|
142
142
|
|
|
@@ -146,8 +146,8 @@ Settings are saved to `~/.config/ory-agent-plugins/config.json` and shared acros
|
|
|
146
146
|
|
|
147
147
|
```
|
|
148
148
|
ory-cursor install | uninstall Install (add --project-url to also connect Agent Security) / remove
|
|
149
|
-
ory-cursor status Show configuration, identities,
|
|
150
|
-
ory-cursor permissions <cmd> status (read-only;
|
|
149
|
+
ory-cursor status Show configuration, identities, native tool access, recent activity
|
|
150
|
+
ory-cursor permissions <cmd> status (read-only; blocks + posture live in the Ory Console)
|
|
151
151
|
ory-cursor configure <flags> Connect a project (--project-url) or --disconnect
|
|
152
152
|
ory-cursor agent <status|unregister> Manage Cursor's own auto-created identity
|
|
153
153
|
ory-cursor local <up|down|status|…> Run / manage a local Ory in Docker
|
package/dist/cli/main.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* npx -y -p @ory/cursor ory-cursor install [--project] Install hooks/MCP/rules
|
|
7
7
|
* npx -y -p @ory/cursor ory-cursor uninstall [--project] Remove them
|
|
8
8
|
* npx -y -p @ory/cursor ory-cursor configure Set Ory project URL / API key
|
|
9
|
-
* npx -y -p @ory/cursor ory-cursor permissions Show
|
|
9
|
+
* npx -y -p @ory/cursor ory-cursor permissions Show mode and native allowed/blocked state
|
|
10
10
|
* npx -y -p @ory/cursor ory-cursor status Show plugin status
|
|
11
11
|
* npx -y -p @ory/cursor ory-cursor local <cmd> Manage the local Ory stack
|
|
12
12
|
*/
|
package/dist/cli/main.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* npx -y -p @ory/cursor ory-cursor install [--project] Install hooks/MCP/rules
|
|
8
8
|
* npx -y -p @ory/cursor ory-cursor uninstall [--project] Remove them
|
|
9
9
|
* npx -y -p @ory/cursor ory-cursor configure Set Ory project URL / API key
|
|
10
|
-
* npx -y -p @ory/cursor ory-cursor permissions Show
|
|
10
|
+
* npx -y -p @ory/cursor ory-cursor permissions Show mode and native allowed/blocked state
|
|
11
11
|
* npx -y -p @ory/cursor ory-cursor status Show plugin status
|
|
12
12
|
* npx -y -p @ory/cursor ory-cursor local <cmd> Manage the local Ory stack
|
|
13
13
|
*/
|
|
@@ -149,7 +149,7 @@ Commands:
|
|
|
149
149
|
uninstall [--project] Remove them
|
|
150
150
|
configure Set or view Ory project URL and API key
|
|
151
151
|
agent <cmd> Manage the agent's OAuth2 (DCR) identity (status, unregister)
|
|
152
|
-
permissions Show
|
|
152
|
+
permissions Show live mode and native allowed/blocked state
|
|
153
153
|
status Show plugin status and configuration
|
|
154
154
|
watch [--json] [--lines <count>]
|
|
155
155
|
Follow the live activity/debug log
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ory/cursor",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Ory plugin for Cursor: scaffolding rules, 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/ory-agent-plugins/tree/main/packages/cursor",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"reova": "^0.7.0",
|
|
60
|
-
"@ory/argus": "1.0
|
|
60
|
+
"@ory/argus": "1.2.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"typescript": "^6.0.2",
|