Repository navigation
v0.17.8
Highlights
- Faster startup. The session sweep now begins during the loading splash (prune candidates prefetched, every deletion still re-verified against a live read), launches from nested directories resume and prune correctly, and the loading screen no longer reads
tui.tomltwice. Abuild:clifast build andbench:startupbenchmark also land for contributors. - Prompt-cache friendly system prompt. The rendered system prompt is split into a static block and a dynamic block; providers with multi-block system support place their cache breakpoint on the static block. Compaction and request logging reuse the same request form so the provider-side prefix cache stays shared.
- Better edit/write feedback loops. LSP diagnostics are appended to the model-visible tool output, editing a file with no recent read record now warns the model, and working-set path keys are normalized. The install hint moves to the UI side channel.
- Tool-result side channels.
display/message/uselessare kept through result normalization so thetool.resultevent and the UI/RPC layers receive them, with an event-level regression test. - Smoother streaming. The per-frame budget converges once a backlog accumulates, so fast providers stay nearly caught up instead of dumping the tail at finalize; the user-message highlight preference is cached.
- Faster glob traversal. The Glob tool prunes
.gitand dependency directories unless the pattern names them explicitly. /loginalias. Typing/loginnow opens the same model configuration flow as/config(shown as "/config (login)" in the autocomplete list).
Package versions
All packages bumped to 0.17.8.
中文补充
- 启动更快:加载动画期间就开始预取会话清理候选(删除前必对活读复核);子目录启动的 resume/清理修正;加载屏去掉重复读取。另加
build:cli快构建与bench:startup基准。 - 提示词缓存分块:系统提示词拆静态/动态双块,静态块挂缓存断点;压缩与请求日志复用同一请求形态,保持前缀缓存共享。
- 编辑反馈闭环:LSP 报错直接进模型可见的工具输出;"没读就改"会给模型警告;工作集路径统一归一化;安装提示改走 UI 侧通道。
- 工具结果通道:display/message/useless 贯通结果归一化,tool.result 事件与 UI/RPC 层都能收到(含事件级回归测试)。
- 流式输出更平滑:积压时提升每帧预算,快供应商不再在收尾时一次性倒出;用户消息高亮偏好改为缓存。
- Glob 更快:未显式点名时跳过
.git与依赖目录。 /login别名:输入/login即进入与/config相同的模型配置流程(补全列表显示为 "/config (login)")。