File size: 1,135 Bytes
06e03ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f0b1c7a
06e03ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  "name": "headroom-openclaw",
  "version": "0.1.1",
  "description": "Headroom context compression plugin for OpenClaw — 70-90% token savings with zero LLM calls",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "hook-shim",
    "openclaw.plugin.json",
    "README.md"
  ],
  "scripts": {
    "build": "tsup && node prepare-dist.mjs",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit"
  },
  "dependencies": {
    "headroom-ai": "^0.1.0"
  },
  "peerDependencies": {
    "openclaw": "*"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/node": "^22.10.0",
    "tsup": "^8.0.0",
    "typescript": "^5.5.0",
    "vitest": "^4.1.5"
  },
  "openclaw": {
    "hooks": [
      "./hook-shim"
    ],
    "extensions": [
      "./dist/index.js"
    ],
    "capabilities": {
      "network": {
        "allow": [
          "http://*:*",
          "https://*:*"
        ]
      }
    }
  },
  "license": "Apache-2.0"
}