@caveman-ai/cli 1.3.0 → 1.3.1

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/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -313,6 +313,8 @@ function resolveInvocation(raw) {
313
313
  const top = raw[0] ?? "help";
314
314
  if (top === "--help")
315
315
  return { verb: "help", argv: [], handler: help };
316
+ if (top === "--version")
317
+ return { verb: "version", argv: [], handler: LEGACY_HANDLERS.version };
316
318
  if ((top === "tools" || top === "cloud") && raw.length === 1) {
317
319
  return { verb: top, argv: [], group: top, handler: () => printDiscovery(top) };
318
320
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caveman-ai/cli",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Caveman CLI — wrap coding agents with recoverable local context compression and truthful metering (`caveman claude`), then drive Caveman Cloud from terminal. Compression and metering run in companion Go binaries: run `caveman setup` to see install state. Local savings stay inferred until verified.",
5
5
  "license": "MIT",
6
6
  "type": "module",