Skip to content

samagotchi 0.60.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 18:31
· 865 commits to main since this release

Added

  • chi web has a favicon: χ on a blue-to-violet rounded square. Safari showed a "1" monogram before.
  • chi --append-system-prompt FILE (repeatable) and a config.yml append_system_prompt: list: a file's text goes
    into the system prompt after AGENTS.md, in the cached part. A relative config entry is looked up where chi runs
    (append_system_prompt: [CLAUDE.md]); the flag's files are saved in the session and kept by forks and continues.
    /stats names the prompt's files on a prompt files: line.
  • An analytics resumed mark on the turn record of a step-limit Continue (resumed: true; every other turn has
    resumed: false). continue also marks a reminder's and a wake's turn, so script/model_notes_report now counts
    Continues from resumed, falling back to continue record by record for older files. :turn_started and the
    before_turn hook payload carry resumed too.
  • A hook's or plugin's notice can be marked fallback_for: :editor: a line naming a file the viewer could open from
    a ref. The web leaves it out for a viewer on this machine with web.editor set; a phone and the terminals show it.
  • ctx.prompt_files for plugins: the files whose text is in the session's system prompt now — the AGENTS.md chain
    and the appended files — as absolute paths in prompt order.
  • The agents-md bundle, in the core profile (core 0.3.0: chi update installs it for existing core users):
    a nested AGENTS.md of the session's checkout — one in a directory the session doesn't run in, which the
    system prompt never sees — is steered into the conversation the first time a tool (read, write or
    edit) touches a file under its directory, outermost first, once per session, and never re-injected after a
    resume or a woken worker. It never stops generation or thinking, and leaves the chain's and appended
    AGENTS.md files alone (ctx.prompt_files). Files in another repository, a nested repository or a
    submodule are ignored. Opt out with skip_agents_md: true, as with the chain; bundles: agents-md:
    settings: tools, max_chars. See "The agents-md bundle" in docs/plugins.md.

Changed

  • The default step limit (turn.max_iterations) is 300, up from 100: most long build turns now finish in one turn
    instead of stopping at the step-limit question. Loops are caught by the loop-guard bundle, and check-in's card
    (at 50 tool calls, then every 50) still says a turn is long without stopping it. --no-interrupt stays 1000.
  • Started in a subdirectory, chi loads every AGENTS.md from the top of the git work tree down to the current
    directory, outermost first, instead of the subdirectory's replacing the root's. A further file is headed with its
    directory ("Project specific description for pkg/:"); a session with one AGENTS.md gets the same prompt as before.

Fixed

  • A step-limit Continue no longer drops the turn's reasoning: on a chat host (reasoning_history: turn) the
    continued turn sends the earlier replies' reasoning back as before the limit, and on a native host
    (/completion) the prompt keeps the run's thought blocks, those before a mid-turn steer too. The model keeps its
    thinking, and the first request after the Continue matches the last one before the limit (before the fix, a local
    27B read most of a 17k prompt again: 24.9 s to the first token instead of 4.0 s). Continue's text is a steer, and on a chat host still starts
    the reasoning afresh from it. After a /model change while the question stands, the Continue starts afresh.

Update with chi update: the system bundle 0.60.0, the core profile 0.3.0 (now with agents-md) and the new
agents-md 0.1.0 bundle.