Skip to content

v0.3.9

Choose a tag to compare

@github-actions github-actions released this 23 Jun 05:53
· 116 commits to main since this release

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

  1. 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.
  2. 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.
  3. Provider stream recovery

    • Silent provider streams are covered by a hard watchdog and activeAgeMs diagnostics.
    • 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.
  4. 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 go

Prerequisite: Node.js >= 22 on PATH.

Expected Release Assets

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 --version

After 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:9

Known 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 run remains available for one-shot automation; bbl go remains 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 流和模块耦合带来的维护风险。

主要更新

  1. 长会话上下文更稳

    • 自适应上下文窗口会在模型仍有余量时保留更多有效历史。
    • headroom-aware compact/snip 避免过早丢弃低占用工具结果。
    • provider 工具调用与工具结果在 replay/context assembly 中保持成对顺序。
    • workspace、provider、timeout、tool-result 失败后的恢复边界保留更完整。
  2. 上下文搜索与诊断增强

    • context search 支持 SQL/event filter 下推和 tokenized AND 匹配。
    • 长 session 排查时可获得更稳定的历史事件匹配结果。
    • context recent 默认排除 hook、usage、thinking 等内部噪声事件。
  3. provider 流恢复更清晰

    • 静默 provider stream 有 hard watchdog 和 activeAgeMs 诊断。
    • abort 信号会传递到 SSE reader,取消和超时能更干净地收口。
    • provider 文本 delta 会渐进输出,不再等整轮结束后统一释放。
  4. 模块治理收口

    • 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。