@ory/pi 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 argus_1 = require("@ory/argus");
49
49
  const assets_js_1 = require("./assets.js");
50
50
  const loader_js_1 = require("./loader.js");
51
+ const PACKAGE_ROOT = path.resolve(__dirname, "..", "..");
51
52
  function main() {
52
53
  const [command, ...args] = process.argv.slice(2);
53
54
  switch (command) {
@@ -96,6 +97,11 @@ function main() {
96
97
  case "watch":
97
98
  (0, argus_1.runWatchCommand)("pi", args);
98
99
  break;
100
+ case "version":
101
+ case "--version":
102
+ case "-v":
103
+ process.exit((0, argus_1.runVersionCommand)("ory-pi", args, { packageRoot: PACKAGE_ROOT }));
104
+ break;
99
105
  case "help":
100
106
  case "--help":
101
107
  case "-h":
@@ -177,6 +183,7 @@ Commands:
177
183
  (up, down, status, seed, logs, env, configure, reset)
178
184
  status [--project-dir <path>] Show plugin configuration and status
179
185
  watch [trace-file] Watch live trace output
186
+ version Show version and the ory-agent-plugins build commit
180
187
 
181
188
  After installing, the plugin hooks into these Pi lifecycle events:
182
189
  session-start (factory body) Verify session / resolve agent identity via Ory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/pi",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Ory plugin for Pi (the minimal coding agent): 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",
@@ -73,7 +73,7 @@
73
73
  ],
74
74
  "dependencies": {
75
75
  "reo-census": "^1.2.8",
76
- "@ory/argus": "0.12.1"
76
+ "@ory/argus": "0.13.0"
77
77
  },
78
78
  "devDependencies": {
79
79
  "typescript": "^6.0.2",