openzoo 0.50.86 → 0.50.87

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/bin/openzoo.js +11 -0
  2. package/package.json +1 -1
package/bin/openzoo.js CHANGED
@@ -389,6 +389,17 @@ async function main() {
389
389
  case '-h':
390
390
  console.log(HELP);
391
391
  break;
392
+ case 'version':
393
+ case '--version':
394
+ case '-v':
395
+ case '-V': {
396
+ // Every installer, mise shim and shell script that probes a CLI asks
397
+ // this first; answering "unknown command" to it failed real installs.
398
+ const { readFileSync } = await import('fs');
399
+ const pkg = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
400
+ console.log(pkg.version);
401
+ break;
402
+ }
392
403
  default:
393
404
  console.error(`unknown command: ${cmd}\n`);
394
405
  console.log(HELP);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openzoo",
3
- "version": "0.50.86",
3
+ "version": "0.50.87",
4
4
  "description": "Local x402-paying proxy + MCP server for openzoo.fun — point any OpenAI-compatible harness (Cursor, Claude Code, aider, SDKs) at localhost and it pays per call from a local burner wallet. Solana and Base rails live; Robinhood experimental.",
5
5
  "license": "MIT",
6
6
  "type": "module",