Skip to content

v0.28.0

Choose a tag to compare

@github-actions github-actions released this 25 Jun 22:26
· 2544 commits to master since this release

v0.28.0

Adds a language option so non-English sessions stay in your language instead of drifting back to English, and fixes the ctx_reduce reminder so it reflects how much is actually reclaimable rather than just how close you are to compaction.

Features

  • language: keep generated text in your language (#192). All of Magic Context's generated prose (historian summaries, dreamer memories, primers, the sidekick) and its guidance was English-only, so long non-English sessions slowly drifted back toward English. Set a top-level language to a 2-letter ISO 639-1 code (for example "language": "tr" or "language": "es") and Magic Context writes its prose in that language while keeping everything structural in English exactly as before: XML tags, JSON keys, the memory category names, tool names, code, file paths, and transcript markers. Memory migration is deliberately language-preserving: turning the option on does not translate memories you already have, it only changes the language of newly written text. The option is user-level only (a project config cannot set it), defaults to off, and when unset the output is byte-for-byte identical to previous versions.

Fixes

  • The ctx_reduce reminder no longer jumps to "urgent" just because you are near compaction. The reminder's severity multiplied the reclaimable share by a pressure term, and because of how that term was defined it effectively counted pressure twice and was unbounded past the execute threshold. The result: once a tool-heavy session approached compaction, the reminder escalated straight to its most urgent wording regardless of how much was actually reclaimable. Pressure is now a gate (the reminder only fires once you are genuinely close to compaction), and the level reflects the real reclaimable share: roughly a fifth of your live input being unreduced tool output is a gentle mention, around two fifths is firmer, and only a clear majority is urgent.

  • The reminder no longer suggests dropping the agent's task list or trivially small outputs. The hint of what could be reclaimed picked the oldest tool outputs with no regard for kind or size, so it could point the agent at its own todowrite task list (never a useful thing to drop) or at tiny control-plane calls (a 30-token status line) that reclaim nothing. It now skips todowrite and anything below a small token floor, surfacing only outputs whose removal actually frees meaningful space.