{"full_name":"ranxianglei/billion-context","owner":"ranxianglei","name":"billion-context","shard":"1","url":"https://github.com/ranxianglei/billion-context","description":"A context-compression plugin for month-long single sessions (billions of tokens)  and small context windows (a 100K context is enough), billion-context is all you need .","homepage":"","topics":[],"tag_pages":[],"language":"TypeScript","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/12445698?v=4","created_at":"2026-08-06T08:27:34Z","pushed_at":"2026-11-15T19:27:39Z","metrics":{"stars":7524,"forks":621,"watchers":19,"issues":3259,"prs":3566,"releases":208,"issues_open":650,"issues_closed":2609,"prs_open":452,"prs_closed":756,"prs_merged":2358,"discussions":20},"growth":{"day":{"stars":134,"forks":12,"base_day":"2026-11-15"},"week":{"stars":2010,"forks":200,"base_day":"2026-11-09"}},"history":{"dates":["2026-11-09","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5514,5903,6749,6996,7057,7237,7390,7524],"forks":[421,449,549,574,579,595,609,621],"watchers":[11,11,16,17,17,18,18,19],"issues_open":[null,null,595,635,603,658,622,650],"prs_open":[null,null,448,482,436,443,434,452]},"boards":{"daily":181,"weekly":73,"daily_rate":130,"weekly_rate":34,"monthly_rate":93},"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":225,"created_at":"2026-10-24T16:50:06Z"},{"number":917,"title":"Message Board | 留言板","comments":86,"created_at":"2026-09-17T16:19:27Z"},{"number":6111,"title":"POC: carry fold summaries as CCR placeholders (not inline prose) — weak-model confusion, from #6025","comments":56,"created_at":"2026-11-10T06:37:18Z"},{"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":6121,"title":"DSH: select models for native compaction with safe same-session handoff","comments":39,"created_at":"2026-11-10T12:13:19Z"},{"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"}],"discussions":[{"number":6813,"title":"提案 v2:纯增量快照底座(替代 #5874 原四表方案)","comments":1,"category":"Ideas","created_at":"2026-11-15T10:01:53Z"},{"number":6539,"title":"提案:msgid 全生命周期「发 + 记 + 用」补齐(车道无关 × 全协议)","comments":2,"category":"Ideas","created_at":"2026-11-13T13:07:09Z"},{"number":6263,"title":"Issue 根因归类板（自动维护，勿手编）","comments":1,"category":"General","created_at":"2026-11-11T15:21:38Z"},{"number":6262,"title":"提案:fork 继承四原则(msgid 身份轨 / lineage 编号 / 无状态账本 / 纯块拷贝)","comments":2,"category":"Ideas","created_at":"2026-11-11T15:15:51Z"},{"number":5874,"title":"提案：快照表式压缩底座（六段固定链，单一存储真源）","comments":2,"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"}],"latest_release":{"name":"v0.1.215","tag":"v0.1.215","published_at":"2026-11-15T09:53:33Z","body":"## What's Changed\n* [PR] gate: fix upstream recorder leak causing real model gate deadlock (pipe inheritance) | gate: 修上游 recorder 泄漏导致真模型门禁卡死（管道继承） by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/6671\n* [PR] chore(branch): land 40 single-purpose fixes as one history-preserving batch (wave 5) by @ranxianglei in https://github.com/ranxianglei/billion-context/pull/6677\n* [PR] fix: map search evidence offsets back to original Unicode text by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6494\n* [PR] fix: interpret cache-diff byte offsets in original text coordinates by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6496\n* [PR] fix: preserve null response bodies in the inline HTTP engine by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6502\n* [PR] fix: preserve cancellation across native Request reconstruction by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6556\n* [PR] fix: preserve caller cancellation before inline fallback by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6560\n* [PR] fix: preserve Request fields during inline fallback by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6566\n* [PR] fix: detach inline abort listeners after synchronous completion by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6575\n* [PR] fix: reject proxy CONNECT handshakes on premature close by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6577\n* [PR] perf: scan native compaction SSE frames in linear time by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6579\n* [PR] fix(guardrails): preserve multimodal tool output order by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6581\n* [PR] fix(proxy): apply configured CA trust to both TLS connectors by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6583\n* [PR] fix(agent): account for Gemini REST inline media by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6585\n* [PR] fix(web): avoid full-text arrays for message previews by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6593\n* [PR] fix(proxy): preserve buffered data after CONNECT handshake by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6595\n* [PR] perf(stream): serialize request evidence only for filtered JSON replies by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6597\n* [PR] fix: align watermark scanner with JSON whitespace and number grammar by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6599\n* [PR] fix: transform complete CloudCode SSE event payloads by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6603\n* [PR] fix(storage): keep retired-message reactivation linear by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6604\n* [PR] fix: replace egress plugin headers case-insensitively by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6606\n* [PR] fix: discard header edits from failed egress plugins by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6608\n* [PR] perf(storage): index session GC companion suffix lookups by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6611\n* [PR] perf: index message lookups for fold image notes by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6612\n* [PR] perf(storage): use a point lookup for session removal by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6615\n* [PR] perf(storage): join block content in SQLite reads by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6618\n* [PR] fix: parse and rewrite complete core-loop SSE payloads by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6619\n* [PR] fix(storage): report actual session cleanup ownership by @Afloat16 in https://github.com/ranxianglei/billion-context/pull/6622\n* [PR] fix: forward complete Googl","is_prerelease":false},"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-16T09:23:14Z","history_start":"2026-09-06"}