mirror of
https://github.com/ranxianglei/billion-context.git
synced 2026-11-24 01:55:05 +08:00
131 lines
4.2 KiB
JSON
131 lines
4.2 KiB
JSON
{
|
|
"name": "billion-context",
|
|
"version": "0.1.216",
|
|
"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": {
|
|
"@deepseek-ai/cordis": "4.1.0",
|
|
"@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/billion-context.js"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org"
|
|
},
|
|
"dsh": {
|
|
"bundle": {
|
|
"patch": "./dsh.bundle.patch.yml"
|
|
},
|
|
"client": {
|
|
"platform": "web"
|
|
}
|
|
}
|
|
}
|