Skip to content

TOKN v0.3.7

Choose a tag to compare

@bhakthan bhakthan released this 17 Aug 19:08
· 11 commits to main since this release

TOKN v0.3.7

See your context window, and take it back.

  • /context now itemizes every token in the window — instruction files, tool definitions, memory, skills, conversation — with a bar chart and a per-source breakdown. It previously counted only chat messages, so a fresh session looked empty while carrying more than 11,000 tokens.
  • /context drop removes what you do not need for this task and reports the exact saving. Project docs and skills are now genuinely droppable, and reversible with --restore.
  • /compact honours the focus argument it always advertised (/compact keep the API design decisions), picks a strategy, and works whether or not you are near the budget.
  • /autocompact replaces silent automatic compaction with something you configure. Off by default; when on, it uses a hysteresis band so it fires once rather than repeatedly at the threshold.
  • Nineteen command groups that were documented but unreachable from the interactive session — including /loop, /usage, /feedback and /org — now work.
  • Large tool output spills to a file instead of flooding the window.

Learn the model behind it with /learn context.

Install

Download the binary for your platform, then:

chmod +x tokn_<os>_<arch>
./tokn_<os>_<arch> --version

Windows: tokn_windows_amd64.exe --version

Verify

sha256sum -c SHA256SUMS