Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.19 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 4.19 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "billion-context",
"version": "0.1.213",
"description": "A context-compression plugin \u2014 small context windows (a 100K context is enough), 5x fewer tokens, month-long single sessions (billions of tokens), and compression quality \u2014 for all agents: pi, OpenCode, Codex, Claude Code, and more. billion-context is all you need.",
"type": "module",
"main": "dist/index.js",
"exports": {
".": "./dist/agent/dsh-native.js",
"./server": "./dist/agent/opencode-native.js",
"./dsh": "./dist/agent/dsh-native.js",
"./dsh-compaction-gate": "./dist/agent/dsh-compaction-gate.js",
"./package.json": "./package.json",
"./dsh/package.json": "./package.json",
"./client": "./dist/agent/dsh-native-client.js"
},
"bin": {
"bili": "./dist/index.js",
"bili-proxy": "./dist/index.js"
},
"scripts": {
"build": "npm --prefix kernel run build && npm --prefix pi-subagents run build && tsup && node scripts/write-build-info.mjs && node scripts/check-dist-import-annotations.mjs && node scripts/check-dist-external.mjs",
"prepare": "node scripts/check-dist-ready.mjs",
"registry:snapshot": "node scripts/update-registry-snapshot.mjs",
"codex-models:snapshot": "node scripts/update-codex-models-snapshot.mjs",
"pretypecheck": "npm --prefix kernel run build && npm --prefix pi-subagents run build",
"typecheck": "tsc --noEmit --project tsconfig.json",
"check:unused-exports": "node scripts/check-unused-exports.mjs",
"check:test-import-graph": "node scripts/check-test-import-graph.mjs",
"check:dist-thin": "node scripts/check-dist-thin-install.mjs",
"pretest": "node scripts/test-suite-lock.mjs gate && node scripts/ci-pretest-cache.mjs",
"test": "node scripts/test-suite-lock.mjs run",
"start": "node dist/index.js",
"test:e2e": "node --import ./tests/preload-test-env.mjs --import tsx --test tests/e2e/e2e-codex.test.ts",
"test:e2e:fake": "node --import ./tests/preload-test-env.mjs --import tsx --test tests/e2e/e2e-codex-fake.test.ts",
"test:e2e:image": "node --import ./tests/preload-test-env.mjs --import tsx --test tests/e2e/e2e-image-billing.test.ts",
"gate:local": "node scripts/release-gate-local.mjs"
},
"keywords": [
"context",
"compression",
"proxy",
"acp",
"ai",
"agent",
"claude-code",
"cursor",
"codex",
"aider",
"anthropic",
"openai",
"pi-package"
],
"license": "MIT",
"author": "ranxianglei",
"repository": {
"type": "git",
"url": "git+https://github.com/ranxianglei/billion-context.git"
},
"homepage": "https://github.com/ranxianglei/billion-context#readme",
"bugs": {
"url": "https://github.com/ranxianglei/billion-context/issues"
},
"dependencies": {
"mysql2": "^3.15.3",
"zod": "4.6.7"
},
"optionalDependencies": {
"jimp": "1.6.1"
},
"devDependencies": {
"@earendil-works/pi-coding-agent": "0.83.0",
"@earendil-works/pi-tui": "0.83.0",
"@types/node": "^22.0.0",
"@types/node-forge": "^1.3.14",
"@types/semver": "^7.7.1",
"@types/ws": "8.18.2",
"acp-kernel": "file:./kernel",
"billion-context-pi-subagents": "file:./pi-subagents",
"esbuild": "^0.27.0",
"fzstd": "0.1.1",
"jsonc-parser": "^3.3.1",
"node-forge": "^1.4.0",
"prettier": "^3.3.0",
"semver": "7.8.5",
"tar": "^7.5.22",
"tsup": "^8.0.0",
"tsx": "^4.0.0",
"typebox": "^1.3.34",
"typescript": "^5.5.0",
"undici": "^7.29.0",
"verdaccio": "^6.10.4",
"ws": "8.22.0",
"z3-solver": "^5.3.1"
},
"engines": {
"node": ">=20"
},
"files": [
"LICENSE",
"README.md",
"docs/configuration.md",
"docs/configuration.zh-CN.md",
"dist",
"dsh.bundle.patch.yml",
"hermes-plugin",
"paper/*.md",
"paper/figures/*.png",
"website/articles.json",
"website/blog/posts"
],
"pi": {
"image": "https://raw.githubusercontent.com/ranxianglei/billion-context/master/docs/logo.png",
"extensions": [
"./dist/agent/pi-native.js"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"dsh": {
"bundle": {
"patch": "./dsh.bundle.patch.yml"
},
"client": {
"platform": "web"
}
}
}