You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opencode-acp - OpenCode plugin that hands context compression to the model, using compress and decompress tools with three-tier summaries to bound context.
Section: Community Plugins → Development & Workflow (alphabetical order, placed after OpenCode Power Pack).
Entry: "OpenCode plugin that hands context compression to the model, using compress and decompress tools with three-tier summaries to bound context."
Follows the CONTRIBUTING one-line format; their format/scanner checks run automatically on the PR.
@zerocodefast it's ready for your review whenever you're free — happy to tweak the wording or move it to a different section if you'd prefer. Merging is on your side as the list maintainers.
OpenCode plugin that hands context compression to the model, using compress and decompress tools with three-tier summaries to bound context.
这个介绍麻烦引人注目一些 我看起来没有任何特点.
这次改了三处(都在 Development & Workflow 区,按字母序插入)。措辞对齐了 billion-context 那套「模型决定何时压什么——而非硬截断」的写法:
1️⃣ opencode-acp — 重写了介绍(原句确实太平,没特点)
OpenCode plugin where the model decides when and what to compress — reversible compress/decompress tools with three-tier summaries keep a single session under ~200K tokens instead of silently truncating at a hard limit.
Universal context-compression proxy for AI coding agents — any agent that can set a base URL gets model-driven, incremental, reversible, prefix-cache-friendly compression with zero per-agent adapter code.
主打卖点:通用代理,任何能设 base URL 的 agent 直接用,零适配代码。
3️⃣ 新增 billion-context-pi
Billion-Context for the Pi runtime — the model chooses when and what to compress into labeled, multi-tier, searchable blocks (never touching protected or recent messages), keeping a single session lean under ~150K tokens.
主打:Pi 专用 · 分层可搜索 block · 不碰受保护/近期消息 · ~150K。
三条都是单句、符合 CONTRIBUTING 格式,他们的 format/scanner CI 会自动校验。措辞或分区要调随时说 👌
Activity
ranxianglei commentedon Sep 11, 2026
ewok接单
ranxianglei commentedon Sep 11, 2026
On it — done. ✅
We've submitted the listing on our side. Opened a PR to add opencode-acp to awesome-ai-plugins:
👉 hashgraph-online/awesome-ai-plugins#275
Details:
compressanddecompresstools with three-tier summaries to bound context."@zerocodefast it's ready for your review whenever you're free — happy to tweak the wording or move it to a different section if you'd prefer. Merging is on your side as the list maintainers.
ranxianglei commentedon Sep 11, 2026
同时带上 https://github.com/ranxianglei/billion-context-pi
https://github.com/ranxianglei/billion-context
ranxianglei commentedon Sep 11, 2026
OpenCode plugin that hands context compression to the model, using compress and decompress tools with three-tier summaries to bound context.
这个介绍麻烦引人注目一些 我看起来没有任何特点.
参考这个介绍
ranxianglei commentedon Sep 11, 2026
https://pi.dev/packages/billion-context?name=context
ranxianglei commentedon Sep 11, 2026
已更新,PR 已同步 → hashgraph-online/awesome-ai-plugins#275
这次改了三处(都在 Development & Workflow 区,按字母序插入)。措辞对齐了 billion-context 那套「模型决定何时压什么——而非硬截断」的写法:
1️⃣ opencode-acp — 重写了介绍(原句确实太平,没特点)
突出:模型自己决定压什么 · 可逆的 compress/decompress · 三层摘要 · ~200K 上限 · 对比「静默截断」。
2️⃣ 新增 billion-context
主打卖点:通用代理,任何能设 base URL 的 agent 直接用,零适配代码。
3️⃣ 新增 billion-context-pi
主打:Pi 专用 · 分层可搜索 block · 不碰受保护/近期消息 · ~150K。
三条都是单句、符合 CONTRIBUTING 格式,他们的 format/scanner CI 会自动校验。措辞或分区要调随时说 👌
ranxianglei commentedon Sep 11, 2026
hashgraph-online/awesome-ai-plugins#275 这里ci失败了?还有评论?
ranxianglei commentedon Sep 11, 2026
查了 PR #275 的 CI 和评论,结论如下 👇
CI:部分失败(卡在安全扫描分)
Scan PRcheck(每个仓库各一个)— opencode-acp / billion-context / billion-context-pi 全部 failuremergeable_state = unstable(就是被这 3 个扫描卡住)两条评论:
hashgraph-online/ai-plugin-scanner-actionCI(不加 → trust score −10%,但 bot 口径仍算可合并)。SCANNER_GUIDE.md在源仓库加.github/workflows/hol-plugin-scanner.yml(push+PR 触发、contents: read、SHA-pinned action),本地复现并逐条修复或文档说明 findings,分数 ≥80 后重扫再 review。他的口径:分数不到 80,listing 不合并。关键判断:
建议下一步(等你点头再动):
我倾向全做,顺序:
SCANNER_GUIDE.md+ 在本地对三个仓库复现扫描,拿规则级报告(纯只读,不改任何文件);hol-plugin-scanner.yml(走正常 PR + 双 agent review);需要你拍板两点(因为这要动我们自己仓库的代码/CI,不只是改 listing):
hashgraph-online/ai-plugin-scanner-action(会 SHA-pin 固定版本)?你回个 go,我就从第 1 步(只读复现)开始,把规则级报告先给你看。
ranxianglei commentedon Sep 11, 2026
你研究下,为什么要加到我们仓库
ranxianglei commentedon Sep 11, 2026
研究了他们的
SCANNER_GUIDE.md和ai-plugin-scanner-action说明。一句话结论:按他们自己的文档,把 scanner 挂到我们仓库是「可选」的;真正卡合并的是「分数 ≥80」这条硬线,不是那个 workflow。① 他们「推荐」加到我们仓库的理由(文档原文)
② 真正的门槛是分数,不是 workflow
③ 这 action 安不安全(我看了源码说明)
挺克制,不是"跑任意三方代码":默认离线只读(不开网络)、权限仅
contents: read、无 secret、checkout 不存凭据、action SHA-pin、wheel 装前校验 SHA-256 + PyPI provenance、依赖全--require-hashes锁死。Apache-2.0,源码在hashgraph-online/hol-guard。扫的内容:元数据 / secret & 危险代码 / CI pin & 依赖卫生 / best practice(README·test·license) / marketplace 版本 / skill 安全(hook·env·hardcoded path) / 代码质量(shell-injection·动态执行)。
④ 有个口径矛盾,你要知道
bot 说 findings 是 advisory 不阻断、文档说 CI optional;但人工维护者说 <80 不合并 还要你加 workflow → 实际拍板 = 人工维护者 + 分数线。文档里的"optional"在他那儿被收紧了。
我的判断 / 建议:
拆成两件独立的事——
hol-guard的软依赖(他们改行为/停更会影响我们)。我倾向先只做 (A):把分修到 ≥80、给一份通过结果去解锁 listing;(B) 不建议为一个 listing 就把外部工具固化进我们三个仓库,除非你自己也想留它当日常安全 lint。这点你拍板。
下一步:要拿到那 13/2 条明细,最快是你本地在仓库根跑
pipx run plugin-scanner verify . --format text贴给我;我这边也可以先试从他们 check-run 的 annotations 接口把 findings 捞出来。拿到后逐条判真问题 / 误报,再定怎么修到 80。ranxianglei commentedon Sep 11, 2026
做A吧 然后就不需要再理会这个issue了
ranxianglei commentedon Sep 11, 2026
A 已完成 ✅
opencode-acp 侧的整改 PR 已提交:
👉 #388
做了什么(纯新增文件,不动任何插件代码/行为,无 version bump):
SECURITY.md— 漏洞私下上报策略(对应 scanner 的SECURITY_MD_MISSING,medium).github/dependabot.yml— npm + GitHub Actions 每周自动更新(对应DEPENDABOT_MISSING,low).gitattributes— 显式标记二进制资源(仓库卫生;刻意不加全局 text 规则,避免改动已有文件的换行)依据:我读了他们 hol-guard 扫描器源码,最终分 = Σ各检查得分 / Σ满分 × 100。79→80 只差 1 分,补齐这几个缺失的标准文件即可越过阈值。diff 很干净:5 个新文件、+148 行、全为新增。
两点说明:
plugin-scanner verify .,所以最终分数以你们重扫为准(listing 合并前维护者会重跑)。若想再留余量,下一步可把 CI 里的 action 版本 pin 到不可变 SHA。一个提醒(你定夺):billion-context 和 billion-context-pi 的 Scan 当时也是挂的——若要让整个 awesome-list listing 通过,这两个大概率也要照同样方式补一遍。需要的话我再开两个同样的 PR;不需要就到此为止。