v0.3.9
Release Notes: BabeL-O v0.3.9
v0.3.9 is a context reliability, streaming, and module-governance release. It keeps bbl go as the production interactive entrypoint while making long-session context assembly more resilient, provider streams easier to cancel or diagnose, and the runtime/Nexus codebase safer to evolve.
What Changed
-
More reliable long-session context
- Adaptive context-window selection now preserves useful history when the model still has headroom.
- Headroom-aware compactors avoid dropping low-usage tool results too early.
- Provider tool-call and tool-result pairs stay ordered across replay and context assembly.
- Recovery-boundary sessions retain more relevant context after workspace, provider, timeout, or tool-result failures.
-
Context search and diagnostics
- Context search now supports SQL/event-filter pushdown and tokenized AND matching.
- Search diagnostics report stronger matching behavior for long-running session investigations.
- Context recent surfaces default away from internal hook, usage, and thinking events.
-
Provider stream recovery
- Silent provider streams are covered by a hard watchdog and
activeAgeMsdiagnostics. - Abort signals propagate through provider SSE readers, so cancelled or timed-out streams settle cleanly.
- Progressive streaming now emits provider text deltas as they arrive instead of buffering the whole provider turn.
- Silent provider streams are covered by a hard watchdog and
-
Runtime and Nexus module governance
- Nexus routing, storage repositories, runtime pipeline helpers, and provider-loop helpers were split into smaller modules.
- CI now includes blocking layer-direction and coupling gates.
- Release validation includes the expanded coupling audit surface.
Install
macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/SuTang-vain/BabeL-O/main/scripts/install.sh | BBL_VERSION=v0.3.9 bash
bbl goPrerequisite: Node.js >= 22 on PATH.
Expected Release Assets
- macOS Apple Silicon: bbl-darwin-arm64.tar.gz
- macOS Intel: bbl-darwin-x64.tar.gz
- Linux x64: bbl-linux-x64.tar.gz
- Go TUI macOS Apple Silicon: go-tui-darwin-arm64
- Go TUI macOS Intel: go-tui-darwin-x64
- Go TUI Linux x64: go-tui-linux-x64
- Go TUI Windows x64: go-tui-windows-x64.exe
Verification
Before publishing the tag, maintainers should run:
npm run format:check
npm run typecheck -- --pretty false
npm run deps:audit
npm test
npm run build:smoke
cd clients/go-tui && go test ./... && make build && ./bin/go-tui --versionAfter release assets are uploaded, smoke-test the public installer:
tmp="$(mktemp -d)"
curl -fsSL https://raw.githubusercontent.com/SuTang-vain/BabeL-O/main/scripts/install.sh | \
BBL_VERSION=v0.3.9 BBL_INSTALL_DIR="$tmp/bin" HOME="$tmp/home" bash
"$tmp/bin/bbl" --version
"$tmp/bin/bbl" go --check --no-start-nexus --url http://127.0.0.1:9Known Notes
- v0.3.9 keeps the lightweight portable package strategy: the package uses the user's system Node.js >= 22 and bundles the matching Go TUI binary.
bbl runremains available for one-shot automation;bbl goremains the production interactive TUI.- The context and stream-recovery changes are intentionally conservative: they improve continuity and diagnostics without changing the public CLI contract.
BabeL-O v0.3.9 发布说明
v0.3.9 聚焦长会话上下文可靠性、provider 流式恢复和模块治理。bbl go 继续作为正式交互入口;本版本重点降低长任务中上下文丢失、工具对顺序错乱、静默 provider 流和模块耦合带来的维护风险。
主要更新
-
长会话上下文更稳
- 自适应上下文窗口会在模型仍有余量时保留更多有效历史。
- headroom-aware compact/snip 避免过早丢弃低占用工具结果。
- provider 工具调用与工具结果在 replay/context assembly 中保持成对顺序。
- workspace、provider、timeout、tool-result 失败后的恢复边界保留更完整。
-
上下文搜索与诊断增强
- context search 支持 SQL/event filter 下推和 tokenized AND 匹配。
- 长 session 排查时可获得更稳定的历史事件匹配结果。
- context recent 默认排除 hook、usage、thinking 等内部噪声事件。
-
provider 流恢复更清晰
- 静默 provider stream 有 hard watchdog 和
activeAgeMs诊断。 - abort 信号会传递到 SSE reader,取消和超时能更干净地收口。
- provider 文本 delta 会渐进输出,不再等整轮结束后统一释放。
- 静默 provider stream 有 hard watchdog 和
-
模块治理收口
- Nexus router、storage repository、runtime pipeline 和 provider-loop helper 进一步拆分。
- CI 增加 layer-direction 与 coupling gate。
- release 验证覆盖更完整的 coupling audit。
安装
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/SuTang-vain/BabeL-O/main/scripts/install.sh | BBL_VERSION=v0.3.9 bash
bbl go前提条件:PATH 中有 Node.js >= 22。