@caravo/cli 0.2.3 → 0.2.4

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.js +3 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1,6 +1,9 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire } from "module";
2
3
  import { resolveAuth } from "./lib/auth.js";
3
4
  import { log } from "./lib/output.js";
5
+ const require = createRequire(import.meta.url);
6
+ const { version: VERSION } = require("../package.json");
4
7
  const HELP = `caravo — Caravo CLI
5
8
 
6
9
  Usage:
@@ -180,7 +183,6 @@ function parseArgs(argv) {
180
183
  }
181
184
  return args;
182
185
  }
183
- const VERSION = "0.2.2";
184
186
  async function main() {
185
187
  const args = parseArgs(process.argv.slice(2));
186
188
  if (args.version) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caravo/cli",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Caravo CLI — search, execute, and review tools with API key or x402 USDC payments",
5
5
  "type": "module",
6
6
  "bin": {