{"full_name":"ranxianglei/billion-context","owner":"ranxianglei","name":"billion-context","url":"https://github.com/ranxianglei/billion-context","description":"A context-compression plugin for month-long single sessions (billions of tokens) ,small context windows (a 100K context is enough) and token savings (5x fewer tokens) .上下文压缩插件，月级长会话会话， 兼顾小窗口(100k上下文足矣)省token(省5倍token) . billion-context is all you need","homepage":"","topics":[],"language":"TypeScript","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/12445698?v=4","created_at":"2026-08-06T08:27:34Z","pushed_at":"2026-11-10T09:34:44Z","metrics":{"stars":5903,"forks":449,"watchers":11,"issues":2770,"prs":3175,"releases":206,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":16},"growth":{"day":{"stars":389,"forks":28,"base_day":"2026-11-09"}},"history":{"dates":["2026-11-09","2026-11-10"],"stars":[5514,5903],"forks":[421,449],"watchers":[11,11],"issues_open":[null,null],"prs_open":[null,null]},"boards":{"daily":92,"daily_rate":17,"weekly_rate":54,"monthly_rate":189},"same_owner":[],"issues":[{"number":4599,"title":"CI Control Center: Centralized CI Failure Handling & Status Sync (Comment all CI issues here; do not open new issues) | CI 总控: CI 失败集中处理与状态同步(所有 CI 问题在此评论, 勿开新 issue)","comments":198,"created_at":"2026-10-24T16:50:06Z"},{"number":917,"title":"Message Board | 留言板","comments":59,"created_at":"2026-09-17T16:19:27Z"},{"number":2411,"title":"[feature] Intercept TRAE Code (traecode) native compression commands, aligning with dsh native compression interception | [feature] 拦截 TRAE Code（traecode）的原生压缩指令，对齐 dsh 原生压缩拦截","comments":46,"created_at":"2026-10-08T11:31:40Z"},{"number":3011,"title":"[Bug] Fork of DSH branch clone: inheritance permanently abandoned by 409 SNAPSHOT_UNAVAILABLE — zero-fold clone triggers context_length_exceeded 400 on first turn | [Bug] DSH 分支克隆的 fork 继承被 409 SNAPSHOT_UNAVAILABLE 永久放弃：克隆零折叠，首轮即 context_length_exceeded …","comments":41,"created_at":"2026-10-13T09:24:25Z"},{"number":2438,"title":"[resilience] Preflight compress/timeout loop on sustained mass fold-coverage loss has no graceful degrade","comments":37,"created_at":"2026-10-08T19:15:17Z"},{"number":5643,"title":"Snapshot-Centric Compression Foundation: Single-Row Table as Source of Truth + Compression = Insert/Delete/Update Events | Snapshot中心化的压缩底座：单行表真源 + 压缩=对表的增删改事件（非增量车道，#5652/v6 线定位纠正）","comments":33,"created_at":"2026-11-04T04:34:04Z"},{"number":3978,"title":"[Bug] Excessive preflight compression time on ultra-large contexts; client mid-disconnect causes repeated request forwar | [Bug] 超大上下文 preflight 压缩耗时过长，客户端中途断开导致请求反复无法转发","comments":31,"created_at":"2026-10-20T13:33:37Z"},{"number":3837,"title":"OpenAI/Codex channel: Per-request body rewriting causes the prefix cache to periodically reset to zero (degenerate foldi | OpenAI/Codex 通道：每请求改写请求体导致前缀缓存周期性归零（退化折叠 foldPoint=m00001 + abort 后 stamped 漂移），单会话 66.7% 计费为全价输入","comments":25,"created_at":"2026-10-19T12:51:31Z"}],"discussions":[{"number":5874,"title":"提案：快照表式压缩底座（六段固定链，单一存储真源）","comments":0,"category":"Ideas","created_at":"2026-11-07T10:15:48Z"},{"number":5843,"title":"My testing shows this tool is not worth it? Am I doing something wrong?","comments":5,"category":"General","created_at":"2026-11-07T03:58:24Z"},{"number":5818,"title":"Can billion-context be integrated with opencodex?","comments":3,"category":"Ideas","created_at":"2026-11-06T14:14:35Z"},{"number":5552,"title":"What to do when your model keeps treating compressed old content as fresh user instructions?","comments":0,"category":"General","created_at":"2026-11-02T16:00:15Z"},{"number":5551,"title":"What to do when billion-context compresses frequently? · billion-context频繁压缩该怎么办?","comments":0,"category":"General","created_at":"2026-11-02T16:00:12Z"},{"number":5550,"title":"Meet billion-context · 认识 billion-context","comments":0,"category":"General","created_at":"2026-11-02T16:00:10Z"},{"number":5312,"title":"billion-context instead of billion-context-pi for pi?","comments":9,"category":"Q&A","created_at":"2026-10-31T06:34:46Z"},{"number":3916,"title":"实时 Issue/PR 状态板(自动维护,勿手编)","comments":1,"category":"General","created_at":"2026-10-20T05:38:49Z"}],"latest_release":{"name":"v0.1.213","tag":"v0.1.213","published_at":"2026-11-07T23:25:08Z","body":"## What's Changed\n* [PR] fix: revert self-contradictory inclusive billing stamp to split (#5515) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5518\n* [PR] docs(website): add blog post 'What to Do When the Model Keeps Treating Old Compressed Content as New User Instructions?' | docs(website): add blog post '模型总是把压缩老内容当成用户新指令咋办?' (EN+ZH) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5549\n* [PR] fix: read Responses additional_tools preamble in tool reachability observation by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5528\n* [PR] fix: replay unsigned thinking when the upstream does not sign it (#5495) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5496\n* [PR] fix(copy): false-advertising sweep of ACP tool surfaces (host-side) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5556\n* [PR] Fix renamed model id lookups (Qoder Desktop) + clarify Qoder Desktop host boundary by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5611\n* [PR] ci-fixes -> master: converge master CI gate fixes (#4599 sentinel sync @ f9cec9fb) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5358\n* [PR] fix(compress): return no-op for covered external-summary ranges (#5558) by @Maziar123 in https://github.com/ranxianglei/billion-context/pull/5560\n* [PR] fix(google): treat a namespaced model id as a model-API path by @Devil-muhan in https://github.com/ranxianglei/billion-context/pull/5594\n* [PR] fix: preserve CLI help and version before subcommand dispatch by @dajiaohuang in https://github.com/ranxianglei/billion-context/pull/5607\n* [PR] feat: bili kiro — Kiro CLI launcher lane (#5532) by @meetvaghani12 in https://github.com/ranxianglei/billion-context/pull/5533\n* [PR] docs: clarify that BILI_SUBAGENT_SPLIT is ineffective on the Responses pipeline | docs: 说明 Responses 线路上 BILI_SUBAGENT_SPLIT 无效 by @whickerpoplawski-arch in https://github.com/ranxianglei/billion-context/pull/5452\n* [PR] fix(native): refuse oversized direct model requests (#5405) by @Hcc32 in https://github.com/ranxianglei/billion-context/pull/5406\n* [PR] fix(claude): resolve magpie gateway integration and Claude Code native bypass (#5369) by @wosnxn123 in https://github.com/ranxianglei/billion-context/pull/5372\n* [PR] fix(kernel): false-advertising batch — real schemas, aligned prompts, '..' separators (#5555) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5559\n* [PR] Make evidence-less window fallbacks visible: warn when a model resolves to nothing (#5490) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5493\n* [PR] Unified Announcement Panel: Built-in Registry + Local JSON Files + Remote Dynamic Sources (Done in One Pass) | 统一公告面：内置注册表 + 本地 JSON 文件 + 远程动态源（一次做完） by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5575\n* [PR] feat(guardrail): soft-stop repeated calls, hard-abort at backstop (#5505) by @growlf in https://github.com/ranxianglei/billion-context/pull/5514\n* [PR] fix(cache): prevent mid-session generation-boundary false positives and register pi tools in before_agent_start by @xulongwu4 in https://github.com/ranxianglei/billion-context/pull/5497\n* [PR] fix: use personaSplit to disable the instructions fingerprint fork in Responses | fix: 用 personaSplit 关闭 Responses 的 instructions 指纹分叉 by @whickerpoplawski-arch in https://github.com/ranxianglei/billion-context/pull/5453\n* [PR] feat(storage): run the store on bun's builtin bun:sqlite by @chidea in https://github.com/ranxianglei/billion-context/pull/5435\n* [PR] fix: show full OpenCode V2 reports without model context pollution by @FineFenng in https://github.com/ranxianglei/billion-context/pull/5316\n* [PR] fix(storage): name the failing operation when unified-store ingest fails (#5627) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/5628\n* [PR] fix: expire stale upstream alert rows after 5 mi"},"readme":true,"readme_zh":true,"news":[{"title":"压缩层横评：billion-context 与“95% Token 节省“的同类方案差在哪","url":"https://blog.csdn.net/gitblog_00162/article/details/168141639","source":"blog.csdn","lang":"zh","date":"2026-11-07"},{"title":"이번 주 GitHub 주목 7선, AI 에이전트 시대의 개발 도구 정리","url":"https://note.com/kingclaw/n/n5fed8e0c9d77?hl=ko","source":"note","lang":"en","date":"2026-10-18"},{"title":"[GitHub Daily] Context compression billion-context debuts, rea leads for 7 consecutive days with +45,327 — 2026-10-13","url":"https://note.com/coderadar/n/ne89ab2774429?hl=en","source":"note","lang":"en","date":"2026-10-12"},{"title":"12 个超火的 DeepSeek Harness 插件，大肥鱼已经落后 N 个版本了。。。","url":"https://news.google.com/rss/articles/CBMiU0FVX3lxTE9FS1M0Zm1vNGluUkttV0FKM3pxTjZfZ0xWSmczejhRTVVPRFRTbEdDZHAzWU40MjQ4X29Ha1NpVWRFWThLdDl2MFJqaVRJLWFvbFBZ?oc=5","source":"电子工程专辑EE Times China","lang":"zh","date":"2026-11-09"},{"title":"Anthropic Pays $3.4 Billion for 1.7GW of Gas Generators to Power AI Data Centers","url":"https://news.google.com/rss/articles/CBMihAFBVV95cUxQc0QxcFBpcS1LcUtWVHhaUTZRQ0txUm5nalR4c1N1UFZ6MG0tY083UHB6aFplZjFiWFFqRHV1ZFFZcGtMNnFVN2FEOVFZcUFpUUJvcDctRFF3Y09Ndy01R2JZSnZtX2g1d1kwdFZIb1RNRzZzMlJEMUlTamhmUGQtcUpjb1I?oc=5","source":"OpenTools","lang":"en","date":"2026-11-09"}],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}