ouro.bot 0.1.0-alpha.4 → 0.1.0-alpha.41

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/index.js +11 -2
  2. package/package.json +1 -4
package/index.js CHANGED
@@ -1,3 +1,12 @@
1
1
  #!/usr/bin/env node
2
- const { runOuroCli } = require("@ouro.bot/cli/runOuroCli");
3
- runOuroCli(process.argv.slice(2));
2
+ // Thin wrapper: always delegates to the latest @ouro.bot/cli@alpha.
3
+ // This avoids stale npx caching — every invocation resolves the newest CLI.
4
+ const { spawn } = require("child_process");
5
+ const child = spawn(
6
+ "npx",
7
+ ["--yes", "@ouro.bot/cli@alpha"].concat(process.argv.slice(2)),
8
+ { stdio: "inherit", shell: true }
9
+ );
10
+ child.on("close", (code) => {
11
+ process.exitCode = code ?? 1;
12
+ });
package/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "ouro.bot",
3
- "version": "0.1.0-alpha.4",
3
+ "version": "0.1.0-alpha.41",
4
4
  "description": "npx-friendly wrapper for @ouro.bot/cli",
5
5
  "bin": {
6
6
  "ouro.bot": "index.js"
7
7
  },
8
- "dependencies": {
9
- "@ouro.bot/cli": ">=0.1.0-alpha.0"
10
- },
11
8
  "repository": {
12
9
  "type": "git",
13
10
  "url": "git+https://github.com/ouroborosbot/ouroboros.git"