@ory/codex 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 +9 -9
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ npx @ory/codex install --global # all Codex projects
|
|
|
12
12
|
npx @ory/codex uninstall
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
`install` wires the Ory hooks into your Codex config non-destructively (existing hooks are preserved), registers the Ory MCP server, and drops the Ory skill catalog into `.codex/skills/`. If the installer can't locate your Codex config, `npx ory-codex-setup` writes it directly.
|
|
15
|
+
`install` wires the Ory hooks into your Codex config non-destructively (existing hooks are preserved), registers the Ory MCP server, and drops the Ory skill catalog into `.codex/skills/`. If the installer can't locate your Codex config, `npx -y -p @ory/codex ory-codex-setup` writes it directly.
|
|
16
16
|
|
|
17
17
|
## Developer experience
|
|
18
18
|
|
|
@@ -42,7 +42,7 @@ ory-local-up # start a local Ory instance in Docker
|
|
|
42
42
|
ory-local-down # tear it all down
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Or via the CLI: `npx ory-codex local up | down`.
|
|
45
|
+
Or via the CLI: `npx -y -p @ory/codex ory-codex local up | down`.
|
|
46
46
|
|
|
47
47
|
`local up` runs a local Ory instance in Docker, covering everything the plugin and your scaffolded application need. It also brings up a login UI on `:3000` and Jaeger on `:16686`, all reachable through `http://localhost:4000`. A test user identity is seeded and the credentials are printed for you. Use it to:
|
|
48
48
|
|
|
@@ -51,12 +51,12 @@ Or via the CLI: `npx ory-codex local up | down`.
|
|
|
51
51
|
- **Test** an auth integration end-to-end before pushing anything to a real environment.
|
|
52
52
|
- **Develop** your application against the same identity, OAuth2, and permission surfaces you'll ship with.
|
|
53
53
|
|
|
54
|
-
Point `ORY_PROJECT_URL` at `http://localhost:4000` (or run `npx ory-codex configure`) and the security features below run against the local stack.
|
|
54
|
+
Point `ORY_PROJECT_URL` at `http://localhost:4000` (or run `npx -y -p @ory/codex ory-codex configure`) and the security features below run against the local stack.
|
|
55
55
|
|
|
56
56
|
## Configure
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
npx ory-codex configure --project-url https://<id>.projects.oryapis.com --api-key ory_pat_...
|
|
59
|
+
npx -y -p @ory/codex ory-codex configure --project-url https://<id>.projects.oryapis.com --api-key ory_pat_...
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
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 work, but nothing is blocked.
|
|
@@ -74,11 +74,11 @@ The plugin is **fail-open** on its own infrastructure failures (network errors,
|
|
|
74
74
|
## CLI
|
|
75
75
|
|
|
76
76
|
```
|
|
77
|
-
npx ory-codex install | uninstall [--global]
|
|
78
|
-
npx ory-codex configure [--project-url <url>] [--api-key <key>] [--audit-only]
|
|
79
|
-
npx ory-codex agent <status|unregister> Manage the agent's OAuth2 identity
|
|
80
|
-
npx ory-codex local <up|down|status|seed|logs|env|configure|reset>
|
|
81
|
-
npx ory-codex status
|
|
77
|
+
npx -y -p @ory/codex ory-codex install | uninstall [--global]
|
|
78
|
+
npx -y -p @ory/codex ory-codex configure [--project-url <url>] [--api-key <key>] [--audit-only]
|
|
79
|
+
npx -y -p @ory/codex ory-codex agent <status|unregister> Manage the agent's OAuth2 identity
|
|
80
|
+
npx -y -p @ory/codex ory-codex local <up|down|status|seed|logs|env|configure|reset>
|
|
81
|
+
npx -y -p @ory/codex ory-codex status
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
## Links
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ory/codex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Ory plugin for Codex: 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",
|
|
@@ -42,7 +42,9 @@
|
|
|
42
42
|
"hydra"
|
|
43
43
|
],
|
|
44
44
|
"publishConfig": {
|
|
45
|
-
"access": "public"
|
|
45
|
+
"access": "public",
|
|
46
|
+
"registry": "https://registry.npmjs.org/",
|
|
47
|
+
"provenance": true
|
|
46
48
|
},
|
|
47
49
|
"main": "dist/index.js",
|
|
48
50
|
"types": "dist/index.d.ts",
|
|
@@ -65,7 +67,7 @@
|
|
|
65
67
|
".codex-plugin"
|
|
66
68
|
],
|
|
67
69
|
"dependencies": {
|
|
68
|
-
"@ory/argus": "0.1.
|
|
70
|
+
"@ory/argus": "0.1.1"
|
|
69
71
|
},
|
|
70
72
|
"engines": {
|
|
71
73
|
"node": ">=24"
|