上下文工程
fast-jev-opencode 使用 Jev 评分剪枝上下文,去除过时工具调用并截断冗长结果,支持失败开放、缓存和配置,移植自 fast-jev-compaction 到 V2 上下文钩子。
Jev-scored context pruning for OpenCode: drops stale tool calls and truncates bulky results on the outgoing request — fail-open, cache-backed, configurable live. Port of fast-jev-compaction to the V2 context hook.
baseUrl: "https://api.typesafe.ai/v1/systemone",链接指向我们抓取当天的那个 commit,行号是准的。
它的 question 组合是运行时拼出来的,或者代码里没有直接写出来,所以没法原样搬过来。源码链接在上面,可以自己去看。