Skip to content

0.6.8

Choose a tag to compare

@jonaslsaa jonaslsaa released this 06 Oct 13:34
· 70 commits to main since this release
22a5e91

What's new

  • /optchat settings (#50). A per-profile settings page, saved in the profile's config.json: compactor and subagent models, subagent levels, max active agents, Previous exchange (on/off and its size limit) and summary size tolerance. Every row shows its value and its default. /optchat model and /optchat agents model still work as shortcuts. The last-exchange study behind the Previous exchange default is in this comment.
  • Previous exchange is capped (#41). The last exchange is still replayed in full, but one over 16 KB is dropped, and the agent reads it from memory instead.
  • Turns wait only for summaries (#42). A turn no longer also waits for the memory view to fit its budget, which matches Victor's recipe.
  • A real sample line for the compactor (#43). The dot-padded example line is replaced with an exact 512-byte sample, so its wording stops leaking into summaries.
  • Merged lines must save space (#49). A summary is kept without a retry only if it fits the size tolerance and is smaller than the lines it replaces.
  • Fixes from @aaaxn (#44, #45, #46, #47, #48), thank you:
    • cache marks survive a summary that quotes </chat>
    • bad usage records are rejected
    • Tab toggles in the import picker
    • run state changes can no longer be corrupted by a late stop, close or tell
    • a stale "Waiting for summaries" message is cleared, and import time, chain and YAML parsing are fixed
    • a second writer on a profile log is refused
  • Profile lock and early stops (#51). The lock and window sockets now live in the profile folder, so Pis with different TMPDIRs share one lock. A file that only shares a socket's name is refused, never deleted. A subagent stopped before its first request no longer runs its task.
  • A banner on pi.dev (#52). The package now has a preview image in the Pi package gallery and the README.

Upgrading

  • Subagent levels now default to 1 (Victor's flat recipe: subagents don't spawn their own). To keep the old nesting, set Subagent levels to 3 in /optchat settings.
  • Restart every Pi window after updating. The profile lock moved, so an old and a new Pi would not see each other's lock.

146 tests.