@ory/opencode 0.1.0 → 0.1.1
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 +7 -7
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -53,12 +53,12 @@ Bundled and registered by the Ory installer. It exposes the Ory CLI and the Ory
|
|
|
53
53
|
- **Test** an auth integration end-to-end before pushing anything to a real environment.
|
|
54
54
|
- **Develop** your application against the same identity, OAuth2, and permission surfaces you'll ship with.
|
|
55
55
|
|
|
56
|
-
Point `ORY_PROJECT_URL` at `http://localhost:4000` (or run `npx ory-opencode configure`) and the security features below run against the local stack.
|
|
56
|
+
Point `ORY_PROJECT_URL` at `http://localhost:4000` (or run `npx -y -p @ory/opencode ory-opencode configure`) and the security features below run against the local stack.
|
|
57
57
|
|
|
58
58
|
## Configure
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
|
-
npx ory-opencode configure --project-url https://<id>.projects.oryapis.com --api-key ory_pat_...
|
|
61
|
+
npx -y -p @ory/opencode ory-opencode configure --project-url https://<id>.projects.oryapis.com --api-key ory_pat_...
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
Config is saved to `~/.config/ory-agent-plugins/config.json` and shared across every Ory agent plugin on the machine. Without it the plugin still loads cleanly and runs in **pass-through mode**: skills and commands work, but nothing is blocked.
|
|
@@ -84,11 +84,11 @@ const plugin = createOryPlugin();
|
|
|
84
84
|
## CLI
|
|
85
85
|
|
|
86
86
|
```
|
|
87
|
-
npx ory-opencode install | uninstall [--project-dir <path>]
|
|
88
|
-
npx ory-opencode configure [--project-url <url>] [--api-key <key>] [--audit-only]
|
|
89
|
-
npx ory-opencode agent <status|unregister> Manage the agent's OAuth2 identity
|
|
90
|
-
npx ory-opencode local <up|down|status|seed|logs|env|configure|reset>
|
|
91
|
-
npx ory-opencode status [--project-dir <path>]
|
|
87
|
+
npx -y -p @ory/opencode ory-opencode install | uninstall [--project-dir <path>]
|
|
88
|
+
npx -y -p @ory/opencode ory-opencode configure [--project-url <url>] [--api-key <key>] [--audit-only]
|
|
89
|
+
npx -y -p @ory/opencode ory-opencode agent <status|unregister> Manage the agent's OAuth2 identity
|
|
90
|
+
npx -y -p @ory/opencode ory-opencode local <up|down|status|seed|logs|env|configure|reset>
|
|
91
|
+
npx -y -p @ory/opencode ory-opencode status [--project-dir <path>]
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
## Links
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ory/opencode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
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",
|
|
@@ -41,7 +41,9 @@
|
|
|
41
41
|
"hydra"
|
|
42
42
|
],
|
|
43
43
|
"publishConfig": {
|
|
44
|
-
"access": "public"
|
|
44
|
+
"access": "public",
|
|
45
|
+
"registry": "https://registry.npmjs.org/",
|
|
46
|
+
"provenance": true
|
|
45
47
|
},
|
|
46
48
|
"main": "dist/index.js",
|
|
47
49
|
"types": "dist/index.d.ts",
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
"!dist/**/*.tsbuildinfo"
|
|
63
65
|
],
|
|
64
66
|
"dependencies": {
|
|
65
|
-
"@ory/argus": "0.1.
|
|
67
|
+
"@ory/argus": "0.1.1"
|
|
66
68
|
},
|
|
67
69
|
"engines": {
|
|
68
70
|
"node": ">=24"
|