@ory/goose 0.12.0 → 0.13.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.
Files changed (2) hide show
  1. package/dist/cli/main.js +7 -0
  2. package/package.json +3 -2
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.0",
3
+ "version": "0.13.0",
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",
@@ -66,7 +66,8 @@
66
66
  "!dist/**/*.tsbuildinfo"
67
67
  ],
68
68
  "dependencies": {
69
- "@ory/argus": "0.12.0"
69
+ "reo-census": "^1.2.8",
70
+ "@ory/argus": "0.13.0"
70
71
  },
71
72
  "devDependencies": {
72
73
  "typescript": "^6.0.2",