Skip to content

samagotchi 0.62.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 08:47
· 1576 commits to main since this release

Added

  • Plugins: chi.tool(…, refs: ->(args) { [...] }) gives a tool call's web row its refs (a ticket, a PR, a file
    under the session's folder) with their URL actions: the row's title opens the first, its ▾ menu offers the
    rest, on a phone too. Saved with the result, so a reload shows them. See docs/plugins.md, "Refs on a tool's
    row".

Changed

  • Web: the stage view no longer jumps: it keeps its height while a turn runs, its chip stays put when the answer
    arrives, and the finished turn slides away instead of collapsing. The stage floats above the composer (its rising at
    a turn's start moves nothing, and the history behind it glides instead of jumping); content changes inside it (the
    first words of a reply, an answered card, a short answer), so a card you answer stays where it is; it grows with a
    short ease when a card or the answer needs room; its chip is its footer (the steps open right above it); and when
    the turn moves into the history the stage slides away under the composer, then the turn appears there.
  • Web: on a phone the top bar no longer gains a row mid-turn when the hidden strip's pill grows ("· 1 waiting"), which
    pushed the whole session down; the pill drops its session count while it says live or waiting.
  • Web: while a question or approval waits in the stage view, the stage shows the whole text of the reply that asked
    it, not only its last sentence.
  • Web: the model's question or its own approval, once answered, keeps the reply that asked it (a delegate's relayed
    approval, a hook's question and the step limit don't): two muted lines under its question → answer line, the
    whole text when the card is open, live and after a reload.
  • Web: a finished turn's steps block shows its outline when its steps said something: open, one line per step that
    wrote text (a mid-turn note reads without a click), and each run of tool-only steps folded into one · N steps
    line that shows them. Live (both views) and after a reload; a turn whose steps said nothing collapses as before.
  • Web: question and approval cards answer from the keyboard. Enter in the response box or on an option submits
    (never Deny or Dismiss), and a new card takes the focus when the message box is empty.
  • github-pr 0.5.0: a path:line it links in an answer is also a file ref, so the web's ref menu offers the file in
    this checkout (editor, show in turn, copy) and a "PR diff" (or "File at head") action. Needs chi 0.61.0; run
    chi update.
  • source-links 0.5.0: each ref it links in an answer gets an "Open in " action in the web's ref menu; a
    source's new kind: key names its refs' kind (default issue). Needs chi 0.61.0; run chi update.
  • Chat hosts (api: openai) keep the running turn's reasoning across a mid-turn steer under reasoning_history: turn, as native hosts do: a person's line, a plugin's nudge (check-in, agents-md) or a step-limit Continue's text no
    longer drops the reasoning of the replies before it, so the request after it extends the one before and the
    server's prompt cache holds. A !cmd run while the step-limit question stands still starts past itself. On a stock
    Qwen template (Splash) the benefit needs chat_template_kwargs.preserve_thinking: true; see
    docs/configuration.md.

Fixed

  • A turn run in the REPL (--no-shared) keeps the answer's display and refs (source-links' and github-pr's links,
    a hook's present), so the web shows them when it opens the session; before, the save dropped them.
  • A command a signal to chi stopped (a worker's TERM, HUP or INT mid-execute) says "stopped by a signal to chi",
    not "stopped by the user"; one it kept from starting says "not run, a signal to chi stopped the turn".
    slow-commands 0.2.1 doesn't count either as slow.
  • A turn whose worker was killed (SIGKILL, a crash) keeps its tokens, speed and timings up to its last checkpoint:
    the session's stats count it as a canceled turn (worker_stopped); before, they lost it.
  • Web: hovering a ref with a ▾ at the very end of a line no longer pushes it onto the next line.
  • Web: a failed + URL attach keeps the "why" you typed (it was emptied), and a context chip with the keyboard
    focus keeps it when the chips refresh.

Update with chi update: the system bundle 0.62.0, github-pr 0.5.0, source-links 0.5.0 and slow-commands 0.2.1.
Then restart chi web.