@ory/opencode 1.0.1 → 1.1.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
@@ -112,7 +112,7 @@ Everything the plugin does is observable out of the box:
112
112
  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.
113
113
 
114
114
  ```bash
115
- npx -y -p @ory/opencode ory-opencode permissions # what the project grants, and the live mode
115
+ npx -y -p @ory/opencode ory-opencode permissions # native allowed/blocked state and live mode
116
116
  ```
117
117
 
118
118
  Then a denied tool is actually blocked and OpenCode shows why. In observe mode, OpenCode's own permission prompt is left in place for you to answer; only an explicit allow or an enforce-mode deny changes that.
@@ -137,7 +137,7 @@ npx -y -p @ory/opencode ory-opencode configure \
137
137
 
138
138
  **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.
139
139
 
140
- **There is nothing else for you to create.** The sign-in client, the permission model, the per-tool grants and blocks, and the observe/enforce posture are all provisioned in the Console by someone with project access. At runtime the plugin only *reads* permissions — it has no write path into your project, which is why installing it needs no workspace privilege. Each OpenCode session registers its own identity automatically on first use.
140
+ **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 OpenCode session registers its own identity automatically on first use.
141
141
 
142
142
  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.
143
143
 
@@ -147,8 +147,8 @@ Settings are saved to `~/.config/ory-agent-plugins/config.json` and shared acros
147
147
 
148
148
  ```
149
149
  ory-opencode install | uninstall Install (add --project-url to also connect Agent Security) / remove
150
- ory-opencode status Show configuration, identities, permission coverage, recent activity
151
- ory-opencode permissions <cmd> status (read-only; grants + posture live in the Ory Console)
150
+ ory-opencode status Show configuration, identities, native tool access, recent activity
151
+ ory-opencode permissions <cmd> status (read-only; blocks + posture live in the Ory Console)
152
152
  ory-opencode configure <flags> Connect a project (--project-url) or --disconnect
153
153
  ory-opencode agent <status|unregister> Manage OpenCode's own auto-created identity
154
154
  ory-opencode local <up|down|status|…> Run / manage a local Ory in Docker
package/dist/cli/main.js CHANGED
@@ -261,7 +261,7 @@ Commands:
261
261
  uninstall [--project-dir <path>] Remove the Ory plugin and MCP server from opencode.json
262
262
  configure Set or view Ory project URL and API key
263
263
  agent <status|unregister> Manage the agent's OAuth2 (DCR) identity
264
- permissions Show the live permission mode and per-tool coverage
264
+ permissions Show live mode and native allowed/blocked state
265
265
  local <cmd> Manage local Ory dev environment
266
266
  (up, down, status, seed, logs, env, configure, reset)
267
267
  status [--project-dir <path>] Show plugin configuration and status
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/opencode",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Ory plugin for OpenCode: 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",
@@ -66,7 +66,7 @@
66
66
  ],
67
67
  "dependencies": {
68
68
  "reova": "^0.7.0",
69
- "@ory/argus": "1.0.1"
69
+ "@ory/argus": "1.1.0"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=22"