@ory/goose 0.12.1 → 0.13.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 CHANGED
@@ -133,7 +133,7 @@ All prefixed with `npx -y -p @ory/goose`.
133
133
 
134
134
  - **The local Ory fails to start** — make sure Docker is running and ports `4000`, `4100`, `4455`, and `16686` are free.
135
135
  - **Browser sign-in loops** — reset with `ory-goose agent unregister` and try again.
136
- - **`npx` grabbed an old version** force the latest: `npx -y -p @ory/goose@latest ory-goose …`.
136
+ - **Install ran but never asked how to connect** — you're almost certainly on a stale `npx` cache. `npx -p @ory/goose` (no version pin) reuses a previously-downloaded copy instead of re-resolving to the latest, so an older CLI whose install predates the setup wizard can run while you believe you're on the current release. The install banner prints the running version; confirm it with `npx -y -p @ory/goose ory-goose version`. To force the current release, clear the cache and reinstall: `rm -rf ~/.npm/_npx` then `npx -y -p @ory/goose ory-goose install`. Pinning an exact version (`@ory/goose@<version>`) also bypasses the cached copy.
137
137
  - **Goose isn't picking up the plugin** — confirm the tree at `<project>/.agents/plugins/ory/` exists (or re-run the installer), and restart Goose.
138
138
  - **Want to see what's happening** — `npx -y -p @ory/goose ory-goose status` for a snapshot, `npx -y -p @ory/goose ory-goose watch` for the live trace stream, or set `ORY_AGENT_DEBUG=true` for a verbose log. Traces and logs live under `~/.config/ory-agent-plugins/goose/` (see [See what's happening](#see-whats-happening)).
139
139
 
package/dist/cli/main.js CHANGED
@@ -54,6 +54,7 @@ const fs = __importStar(require("node:fs"));
54
54
  const argus_1 = require("@ory/argus");
55
55
  const setup_js_1 = require("./setup.js");
56
56
  const PLUGIN_NAME = "ory";
57
+ const PACKAGE_ROOT = path.resolve(__dirname, "..", "..");
57
58
  function main() {
58
59
  const [command, ...args] = process.argv.slice(2);
59
60
  switch (command) {
@@ -105,6 +106,11 @@ function main() {
105
106
  case "watch":
106
107
  (0, argus_1.runWatchCommand)("goose", args);
107
108
  break;
109
+ case "version":
110
+ case "--version":
111
+ case "-v":
112
+ process.exit((0, argus_1.runVersionCommand)("ory-goose", args, { packageRoot: PACKAGE_ROOT }));
113
+ break;
108
114
  case "help":
109
115
  case "--help":
110
116
  case "-h":
@@ -165,6 +171,7 @@ Commands:
165
171
  setup [--project-dir] Write the plugin tree directly (advanced)
166
172
  status Show plugin status and configuration
167
173
  watch [trace-file] Tail the trace stream (OTel spans) live
174
+ version Show version and the ory-agent-plugins build commit
168
175
  local <cmd> Manage local Ory dev environment (up, down, status, seed, ...)
169
176
 
170
177
  After installing, Goose auto-discovers the plugin and hooks into these
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/goose",
3
- "version": "0.12.1",
3
+ "version": "0.13.1",
4
4
  "description": "Ory plugin for Goose (Block's open-source agent CLI): 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",
@@ -67,7 +67,7 @@
67
67
  ],
68
68
  "dependencies": {
69
69
  "reo-census": "^1.2.8",
70
- "@ory/argus": "0.12.1"
70
+ "@ory/argus": "0.13.1"
71
71
  },
72
72
  "devDependencies": {
73
73
  "typescript": "^6.0.2",