Skip to content

v1.1.28

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 04:13
· 34 commits to main since this release

Added

  • Muse.ai provider (stateful remote agent). Muse can now be selected like any
    other provider: alphacode login --provider muse captures the signed-in
    browser session (session-export import is the fallback), then /provider muse
    (or --provider muse) selects it. It appears in /model as Muse Assistant.
    Implemented natively in Rust - session auth over HTTPS, a Noise-XX
    (Noise_XX_25519_AESGCM_SHA256) WebSocket gateway client and hand-written
    protobuf envelopes - so no muse-cli, Python, Node or browser automation is
    needed at run time. Each Alphacode conversation gets its own remote side chat,
    so the personal main chat is never used implicitly.
  • Muse can drive Alphacode's local tools. The provider asks Muse for an
    explicitly marked JSON block, then Alphacode validates the requested tool
    against its own registry and runs it under its own permissions before feeding
    the result back - so read/edit/bash and the rest of the local toolkit work
    through Muse. A JSON object appearing in ordinary prose is never executed.
    Muse still has no token streaming and no model catalog, and the integration
    reports those limitations rather than faking them. See docs/muse-provider.md.

Fixed

  • Streaming sessions no longer end silently when a response announces its
    next step in text ("Let me run …") but emits no tool call. The
    announced-tool-call recovery already existed in the non-streaming turn
    loop; the streaming (MPSC) loop — the one interactive sessions actually
    use — now applies the same recovery, asking for the described call
    instead of ending the turn on a promise. A regression test pins the
    mid-task status-report shape that previously ended a live session.
  • Sessions no longer end at a checkpoint summary. When a reply reports its
    own work as partial or deferred ("Status: PARTIAL", "next steps (not
    done): …", "I'm pausing there"), both turn loops now ask the model to
    continue with the next unfinished step instead of ending the turn and
    waiting for the user to type "continue". The detection is shared with
    the TUI auto-poke decision, and bare closing pleasantries do not trigger
    it.
  • Auto-poke is on by default and no longer disarms silently when a session
    has no registered todos: if the final reply describes unfinished work,
    the session is poked from the reply text (bounded by the existing
    no-progress attempt cap, which now reports visibly when it stops). A
    background-task wake turn now restates the session's open todos.
  • Turn-ending parity between the two loops: the non-streaming loop now
    also rescues stranded tool_use stops, surfaces guardrail notices
    alongside non-empty replies instead of only in print mode, tells the
    user when a turn ends with work the reply described as unfinished
    (continuation budget exhausted) instead of ending silently, and returns
    the same plain-language provider error explanations as the streaming
    loop.
  • The on-disk model-catalog cache could lose a provider's whole catalog:
    cache files were replaced with a truncating write, so a load racing a
    background refresh could read half-written JSON and treat the catalog as
    absent — and the loader memoized that miss, pinning it as the current
    state. Cache files are now replaced atomically (unique temp file +
    rename), and a load is only memoized when the file did not change while
    it was being read. A regression test hammers concurrent saves and loads
    and asserts every load observes a complete catalog.