@ory/amp 0.12.1 → 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 +2 -2
package/dist/cli/main.js CHANGED
@@ -48,6 +48,7 @@ const path = __importStar(require("node:path"));
48
48
  const os = __importStar(require("node:os"));
49
49
  const fs = __importStar(require("node:fs"));
50
50
  const argus_1 = require("@ory/argus");
51
+ const PACKAGE_ROOT = path.resolve(__dirname, "..", "..");
51
52
  function main() {
52
53
  const [command, ...args] = process.argv.slice(2);
53
54
  switch (command) {
@@ -99,6 +100,11 @@ function main() {
99
100
  case "watch":
100
101
  (0, argus_1.runWatchCommand)("amp", args);
101
102
  break;
103
+ case "version":
104
+ case "--version":
105
+ case "-v":
106
+ process.exit((0, argus_1.runVersionCommand)("ory-amp", args, { packageRoot: PACKAGE_ROOT }));
107
+ break;
102
108
  case "help":
103
109
  case "--help":
104
110
  case "-h":
@@ -178,6 +184,7 @@ Commands:
178
184
  setup [--project-dir <path>] Write config directly (fallback)
179
185
  status [--project-dir <path>] Show plugin configuration and status
180
186
  watch [trace-file] Tail the trace stream (OTel spans) live
187
+ version Show version and the ory-agent-plugins build commit
181
188
  local <cmd> Manage local Ory dev environment
182
189
  (up, down, status, seed, logs, env, configure, reset)
183
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/amp",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Ory plugin for Amp (Sourcegraph's coding agent): a permission delegate that authorizes every tool call plus an in-process plugin for session auth and audit tracing",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://ory.com",
@@ -68,7 +68,7 @@
68
68
  ],
69
69
  "dependencies": {
70
70
  "reo-census": "^1.2.8",
71
- "@ory/argus": "0.12.1"
71
+ "@ory/argus": "0.13.0"
72
72
  },
73
73
  "devDependencies": {
74
74
  "typescript": "^6.0.2",