Skip to content

v0.9.66

Choose a tag to compare

@github-actions github-actions released this 28 Nov 21:18
· 59 commits to master since this release
v0.9.66
1d9c1a7

Fixed

  • A settings file agentty can't read is never overwritten. A typo in a
    hand-edited settings.json made it load defaults, and the next save (any
    model switch) wrote them over every setting. Now nothing is saved until
    the file parses again, and a copy is kept as settings.json.unreadable-*.
  • Settings from a newer agentty survive an older one's save. Keys this
    build doesn't know used to be dropped on every save.
  • Two agentty windows on one thread keep both sides' messages. A save
    only knew what its own process wrote, so it could cut off messages the
    other window had just added. A log someone else changed is now added to,
    never cut or rewritten from a stale copy; the same holds when the file
    lock can't be had in time.
  • Editing an earlier message can't lose the rest of a thread on a crash.
    It used to cut the log at the edit and re-append; it is now one atomic
    rewrite. New messages are still a cheap append.
  • Provider keys added in two agentty windows are both kept, and a key
    removed in one isn't restored by the other.
  • With the OS keystore on, a stale keystore copy can no longer shadow a
    newer login
    (credentials and provider keys read the file first).
  • Session ids from an editor (ACP) and --resume can't name files outside
    the threads folder.
    session/delete with ../x deleted files there.
  • A corrupt acp_sessions.json is no longer replaced by a one-session file,
    the Claude login requires the code's #state part, and a thread index left
    short by a full disk is rebuilt on open.
  • Undo removes files the agent created. ^X (undo all) and undoing every
    change of a new file in the review pane wrote its "original" back -- which
    for a new file is nothing -- so it stayed behind as an empty file. It is
    now deleted, so undo really puts the tree back the way it was.
  • Thread loading uses every core outside the TUI too. The thread-log
    parser borrowed the renderer's parallel hook, which only exists inside
    the TUI, so ACP, agentty run and tests parsed on one core, and the
    save path did a blocking fork-join under the thread-log lock unchecked.
    It now uses jaal's parallel_for, which is ranked like any other wait.

Changed

  • All UI is drawn by maya. agentty fills widget Configs and draws
    nothing itself, now with no exceptions: the Ctrl+G runner's frames and
    pinned status row, the coloured lines inside retrieval, fork and Smart
    Mode cards, search hits in the output viewer, and every config,
    skills, plugin, hooks, sessions and mcp listing come from maya
    widgets. Output looks the same; tables now align by display width
    everywhere, so non-ASCII cells no longer go ragged. A lint
    (no_ui_in_agentty) fails the build on any raw escape, hand-built
    styled text or printf column layout in agentty.
  • The whole look is one folder. agentty no longer picks a colour,
    weight or glyph anywhere: it names roles from maya::look (ink,
    tone, mark) and passes facts (a tool's category, a model's family),
    and the folder decides what they look like. Restyling agentty, down to
    the check mark, is an edit to third_party/maya/.../widget/agentty/
    alone. See docs/LOOK.md.
  • Pane rows are named, not drawn. Every header, footer and body row in
    agentty's panes (positions, empty states, warnings, text fields, numbered
    output, an agent's child calls) is a maya::rows kind that agentty fills
    with data; the row's layout lives in the folder. Rendering is unchanged.

Full history: CHANGELOG.md