mirror of
https://github.com/ranxianglei/billion-context.git
synced 2026-11-23 01:58:16 +08:00
97 lines
2.6 KiB
JSON
97 lines
2.6 KiB
JSON
{
|
|
"name": "billion-context",
|
|
"version": "0.1.149",
|
|
"description": "Context-compression proxy that lets AI coding agents run for days — billions of tokens through one context window. Sits between any agent (Claude Code, Codex, Cursor, Aider, …) and its model API, folding consumed conversation into reversible, prefix-cache-friendly summaries. Zero per-agent code: just point your base URL at the proxy.",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./server": "./dist/agent/opencode-native.js",
|
|
"./dsh": "./dist/agent/dsh-native.js"
|
|
},
|
|
"bin": {
|
|
"bili": "./dist/index.js",
|
|
"bili-proxy": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup && node scripts/check-dist-import-annotations.mjs",
|
|
"registry:snapshot": "node scripts/update-registry-snapshot.mjs",
|
|
"codex-models:snapshot": "node scripts/update-codex-models-snapshot.mjs",
|
|
"typecheck": "tsc --noEmit --project tsconfig.build.json",
|
|
"test": "node --import tsx --test tests/*.test.ts",
|
|
"start": "node dist/index.js",
|
|
"test:e2e": "node --import tsx --test tests/e2e/e2e-codex.test.ts",
|
|
"test:e2e:fake": "node --import tsx --test tests/e2e/e2e-codex-fake.test.ts"
|
|
},
|
|
"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": {
|
|
"zod": "4.1.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/node-forge": "^1.3.14",
|
|
"acp-kernel": "0.0.89",
|
|
"fzstd": "0.1.1",
|
|
"jsonc-parser": "^3.3.1",
|
|
"node-forge": "^1.4.0",
|
|
"tar": "^7.5.22",
|
|
"tsup": "^8.0.0",
|
|
"tsx": "^4.0.0",
|
|
"typescript": "^5.5.0",
|
|
"undici": "^7.29.0",
|
|
"verdaccio": "^6.10.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist",
|
|
"dsh.bundle.patch.yml",
|
|
"hermes-plugin"
|
|
],
|
|
"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"
|
|
}
|
|
},
|
|
"optionalDependencies": {
|
|
"sharp": "^0.35.4"
|
|
}
|
|
}
|