clawmux 0.2.1 → 0.2.2

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.cjs +1 -1
  2. package/package.json +2 -2
package/dist/cli.cjs CHANGED
@@ -317,7 +317,7 @@ function getLogDir() {
317
317
  }
318
318
 
319
319
  // src/cli.ts
320
- var VERSION2 = process.env.npm_package_version ?? "0.1.0";
320
+ var VERSION2 = process.env.npm_package_version ?? "0.2.2";
321
321
  var SERVICE_NAME = "clawmux";
322
322
  var HELP = `Usage: clawmux <command>
323
323
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawmux",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Smart model routing + context compression proxy for OpenClaw",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,7 +22,7 @@
22
22
  "start:node": "node --import tsx src/index.ts",
23
23
  "test": "bun test",
24
24
  "typecheck": "tsc --noEmit",
25
- "build": "bun build src/cli.ts --outfile dist/cli.cjs --target node --format cjs --external @huggingface/transformers && bun build src/index.ts --outfile dist/index.cjs --target node --format cjs --external @huggingface/transformers",
25
+ "build": "bun build src/cli.ts --outfile dist/cli.cjs --target node --format cjs --external @huggingface/transformers && bun build src/index.ts --outfile dist/index.cjs --target node --format cjs --external @huggingface/transformers && node -e \"const fs=require('fs');const v=require('./package.json').version;for(const f of['dist/cli.cjs','dist/index.cjs']){fs.writeFileSync(f,fs.readFileSync(f,'utf-8').replace('__CLAWMUX_VERSION__',v))}\"",
26
26
  "build:check": "node dist/cli.cjs version",
27
27
  "prepublishOnly": "npm run typecheck && npm run build && npm run build:check"
28
28
  },