<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Polytoken Changelog</title><description>What changed in each Polytoken release.</description><link>https://docs.polytoken.dev/</link><item><title>Polytoken 0.6.2</title><link>https://docs.polytoken.dev/changelog/#062</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#062</guid><description>Polytoken 0.6.2 adds a custom Responses API provider option, protects session environment variables, fixes Anthropic stream wedging, and improves TUI recovery and configurator behavior.</description><pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Added an option for a custom Responses API provider.&lt;/li&gt;
&lt;li&gt;Fixed a case where Anthropic streams would get wedged due to empty thinking signatures.&lt;/li&gt;
&lt;li&gt;Added a recovery path for SSE events in the TUI when they get a bit sad.&lt;/li&gt;
&lt;li&gt;You can now set &lt;code&gt;POLYTOKEN_DISABLE_FEEDBACK=1&lt;/code&gt; to hide the &lt;code&gt;/feedback&lt;/code&gt; command.&lt;/li&gt;
&lt;li&gt;All environment variables captured at session start are now protected from unsetting in &lt;code&gt;shell_exec&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Held-key auto-repeat acts a little more gracefully.&lt;/li&gt;
&lt;li&gt;When the autonomous classifier errors, you&amp;#39;ll now see a flash message saying so (while still falling back to human asks).&lt;/li&gt;
&lt;li&gt;File tools now follow directory symlinks, so long as the origin was within the project root.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;flag_important&lt;/code&gt; now works relative to the cwd stack, so you can flag files after &lt;code&gt;pushd&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Custom Chat Completions providers no longer show (ignored) reasoning effort.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.6.1</title><link>https://docs.polytoken.dev/changelog/#061</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#061</guid><description>Polytoken 0.6.1 fixes a bug in parsing inference streams for classifiers.</description><pubDate>Tue, 04 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Fixed a bug in parsing inference streams for classifiers (autonomous permissions and title generation).&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.6.0</title><link>https://docs.polytoken.dev/changelog/#060</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#060</guid><description>Polytoken 0.6.0 adds per-model request options across the system, a DeepInfra provider, and fixes for empty provider responses, session reattach reliability, and DeepSeek V4 Flash in subagents.</description><pubDate>Tue, 04 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Models now support request options. They are supported across the system. A fully-qualified model string looks like &lt;code&gt;codex/gpt-5.6-luna(high)[service_tier=priority]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/model-option&lt;/code&gt; (or clicking on the model name in the sidebar) lets you change these on-the-fly.&lt;/li&gt;
&lt;li&gt;Added DeepInfra provider.&lt;/li&gt;
&lt;li&gt;Some readability improvements when switching models.&lt;/li&gt;
&lt;li&gt;You can now switch permissions modes from within a permissions request prompt.&lt;/li&gt;
&lt;li&gt;Fixed bugs around empty provider responses to user prompts.&lt;/li&gt;
&lt;li&gt;Reattaching to a session now retries through transient transport errors.&lt;/li&gt;
&lt;li&gt;Scrolling works in conversations longer than 65,000 rows. (Oops.)&lt;/li&gt;
&lt;li&gt;Fixes to DeepSeek V4 Flash (multiple providers) when used in subagents. (V4 Flash still has issues when used as an autonomous classifier. We&amp;#39;re working on it.)&lt;/li&gt;
&lt;li&gt;Completed goals fully clear goals from agent context.&lt;/li&gt;
&lt;li&gt;Fixed some annoying bugs in the config UI.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.10</title><link>https://docs.polytoken.dev/changelog/#0510</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#0510</guid><description>Polytoken 0.5.10 improves compaction reliability, fixes the self-updater on Linux, improves Azure OpenAI compatibility, and resolves TUI freezing and startup performance issues.</description><pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Compaction now retries if too close to the end of the context window.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken update&lt;/code&gt; now correctly re-launches on Linux.&lt;/li&gt;
&lt;li&gt;OpenAI and Codex providers adjusted to support Azure more effectively.&lt;/li&gt;
&lt;li&gt;When a subagent fails to launch, the model now receives guidance to help it retry.&lt;/li&gt;
&lt;li&gt;Markdown rendering fixes: links inside emphasis display correctly, bare URLs in emphasis are clickable, and inline links no longer show a trailing URL suffix.&lt;/li&gt;
&lt;li&gt;Fixes to TUI freezing during very long autonomous sessions.&lt;/li&gt;
&lt;li&gt;Startup in very deep, very large directories (home directories) should be faster.&lt;/li&gt;
&lt;li&gt;Jobs viewer subagent scrolling is now cached better.&lt;/li&gt;
&lt;li&gt;Fixed a bug that bricked sessions on resume.&lt;/li&gt;
&lt;li&gt;Fixed regressions in shell_exec behavior and notifications in subagents.&lt;/li&gt;
&lt;li&gt;DeepSeek provider/model fixes to support &lt;code&gt;deepseek-v4-flash-0731&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;It&amp;#39;s now legal to set a mini model as a full model (config.yaml only).&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.9</title><link>https://docs.polytoken.dev/changelog/#059</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#059</guid><description>Polytoken 0.5.9 adds shell tool backgrounding, fixes OpenTelemetry export, and resolves several session crashes.</description><pubDate>Wed, 29 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;&lt;code&gt;shell_monitor&lt;/code&gt; can now be backgrounded.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;shell_exec&lt;/code&gt; is more easily backgrounded by models.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Ctrl+B&lt;/code&gt; or &lt;code&gt;/bg-shell&lt;/code&gt; will send the currently-running &lt;code&gt;shell_exec&lt;/code&gt; or &lt;code&gt;shell_monitor&lt;/code&gt; to background.&lt;/li&gt;
&lt;li&gt;OTel now, uh, works.&lt;/li&gt;
&lt;li&gt;Provider URLs with a trailing slash now work.&lt;/li&gt;
&lt;li&gt;Interrogative prompts don&amp;#39;t get lost behind the jobs or todo viewer.&lt;/li&gt;
&lt;li&gt;Removed legacy pedagogy system. Sad. It was fun.&lt;/li&gt;
&lt;li&gt;Fixed a couple of session-disconnection crashes.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.8</title><link>https://docs.polytoken.dev/changelog/#058</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#058</guid><description>Polytoken 0.5.8 fixes a bug that could drop environment variables after shell commands, adds conversation scrolling shortcuts, and improves paste handling across text inputs.</description><pubDate>Tue, 28 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Environment variables such as PATH and HOME no longer disappear after running shell commands that produce a partial environment snapshot.&lt;/li&gt;
&lt;li&gt;You can now scroll the conversation with Shift+PageUp, Shift+PageDown, Shift+Home, and Shift+End from anywhere in the interface.&lt;/li&gt;
&lt;li&gt;Custom Anthropic-compatible providers can now use prompt caching through a new &lt;code&gt;cache_control_strategy&lt;/code&gt; config option.&lt;/li&gt;
&lt;li&gt;Large pastes into clarification prompts and the feedback form now collapse into a compact marker, matching the prompt input.&lt;/li&gt;
&lt;li&gt;The interactive configurator now supports configuring OpenTelemetry trace export settings.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.7</title><link>https://docs.polytoken.dev/changelog/#057</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#057</guid><description>Polytoken 0.5.7 adds OpenTelemetry trace export, improves cache-miss detection accuracy, and lets you rewind across compaction boundaries.</description><pubDate>Tue, 28 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Polytoken can now export trace data to an OpenTelemetry collector using the OTLP protocol, following GenAI semantic conventions. Telemetry is opt-in and disabled by default. Configure it through a &lt;code&gt;telemetry&lt;/code&gt; block in your global config.&lt;/li&gt;
&lt;li&gt;The prompt-cache-miss warning is more accurate and no longer triggers false alerts.&lt;/li&gt;
&lt;li&gt;You can now rewind to before a compaction or clear boundary, removing the boundary card and everything after it.&lt;/li&gt;
&lt;li&gt;Selecting an MCP server for OAuth authentication now targets the correct server instead of always using the first.&lt;/li&gt;
&lt;li&gt;Polytoken now warns you when stored OAuth credentials already exist for an MCP server before starting a new authorization.&lt;/li&gt;
&lt;li&gt;The configurator exit dialog now offers a Save and quit option when you have unsaved changes.&lt;/li&gt;
&lt;li&gt;The collapsed compaction card now shows the continuation prompt size.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.6</title><link>https://docs.polytoken.dev/changelog/#056</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#056</guid><description>Polytoken 0.5.6 makes session titles more reliable, recovers stalled subagents, warns on prompt-cache misses, and fixes several terminal UI issues.</description><pubDate>Sun, 26 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Session titles now fall back to your first message when the title model keeps failing.&lt;/li&gt;
&lt;li&gt;Stalled subagent provider streams now recover automatically, including those that happen while your computer sleeps.&lt;/li&gt;
&lt;li&gt;You now see a status-line warning when a large session loses its prompt cache.&lt;/li&gt;
&lt;li&gt;The prompt you are typing is preserved when you switch facets.&lt;/li&gt;
&lt;li&gt;Repeated MCP lifecycle notifications during a reconnect cycle now collapse into a single updating card.&lt;/li&gt;
&lt;li&gt;The context meter no longer shows a stale value briefly after &lt;code&gt;/clear&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken validate subagent&lt;/code&gt; now checks the global configuration directory for definitions.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.5</title><link>https://docs.polytoken.dev/changelog/#055</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#055</guid><description>Polytoken 0.5.5 fixes subagent reasoning-level support and improves compaction context scaling.</description><pubDate>Sat, 25 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Subagent frontmatter now properly supports reasoning levels for selected models.&lt;/li&gt;
&lt;li&gt;Agent compaction has improved, with size/detail scaling with context window size.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.4</title><link>https://docs.polytoken.dev/changelog/#054</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#054</guid><description>Polytoken 0.5.4 adds Claude Opus 5, shows hook output during active sessions, and fixes terminal UI and clipboard issues.</description><pubDate>Fri, 24 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Claude Opus 5 is available in the Anthropic model catalog with a 1 million token context window and effort-based thinking controls.&lt;/li&gt;
&lt;li&gt;Hook output text is now visible during the running session when a hook allows, blocks, or denies an action, instead of only appearing after you reattach.&lt;/li&gt;
&lt;li&gt;When a session attach conflict occurs, the error message now suggests &lt;code&gt;polytoken new&lt;/code&gt; so you can start a fresh session when your current one is busy.&lt;/li&gt;
&lt;li&gt;The active plan file path no longer resets incorrectly after a daemon restart or session resume.&lt;/li&gt;
&lt;li&gt;Pressing Escape twice no longer cancels a pending compaction by accident. A confirmation prompt now requires a deliberate second press within a short window.&lt;/li&gt;
&lt;li&gt;The compaction card count no longer overcounts when earlier compaction events were cancelled or failed.&lt;/li&gt;
&lt;li&gt;Long text in the feedback editor now wraps instead of scrolling off-screen. The phantom cursor is fixed, and pasted text now goes to the feedback modal instead of leaking to the prompt.&lt;/li&gt;
&lt;li&gt;The cursor is now visible when editing a handoff plan refusal.&lt;/li&gt;
&lt;li&gt;Clipboard copy now works correctly inside tmux.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.3</title><link>https://docs.polytoken.dev/changelog/#053</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#053</guid><description>Polytoken 0.5.3 improves reliability of compaction, tool calls, and provider error handling.</description><pubDate>Fri, 24 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Tool arguments are now type-coerced for unambiguous mismatches before schema validation.&lt;/li&gt;
&lt;li&gt;Compaction now retries with backoff instead of failing on the first error.&lt;/li&gt;
&lt;li&gt;Provider errors that Polytoken does not recognize now show the original error text from the provider instead of a generic message, so you can diagnose the cause.&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;polytoken.compaction_hint&lt;/code&gt; facet frontmatter for controlling compaction prompt guidance.&lt;/li&gt;
&lt;li&gt;Fixed a bug where pressing Escape during a goal-driven session caused the goal to re-iterate instead of pausing.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.2</title><link>https://docs.polytoken.dev/changelog/#052</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#052</guid><description>Polytoken 0.5.2 eliminates session-length-dependent latency in the TUI and daemon.</description><pubDate>Thu, 23 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Eliminated session-length-dependent rendering latency. Long sessions no longer cause progressively slower prompt acceptance, scrollbars, or tool-call rendering.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.1</title><link>https://docs.polytoken.dev/changelog/#051</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#051</guid><description>Polytoken 0.5.1 adds a built-in self-updater, deprecates the Homebrew tap, and fixes MCP and provider compatibility issues.</description><pubDate>Thu, 23 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Added &lt;code&gt;polytoken update&lt;/code&gt; for self-updating. Checks for new versions at launch (once per 24 hours) and prompts to install. Disable with &lt;code&gt;updates.automatic_check: false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Deprecated the Homebrew tap. New installs should use &lt;code&gt;curl -fsS https://get.polytoken.dev | bash&lt;/code&gt;; the tap will be decommissioned in a future release.&lt;/li&gt;
&lt;li&gt;Changed the installer to download the bare binary directly instead of a zip archive, eliminating the &lt;code&gt;unzip&lt;/code&gt; dependency on minimal Linux systems.&lt;/li&gt;
&lt;li&gt;Added MCP server keepalive ping to prevent timeout during long sessions.&lt;/li&gt;
&lt;li&gt;Fixed Kimi K3 tool-call errors when thinking mode was not explicitly enabled.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.5.0</title><link>https://docs.polytoken.dev/changelog/#050</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#050</guid><description>Polytoken 0.5.0 adds the Kimi Code and Moonshot providers, bearer-token authentication for the daemon, automatic crash reporting with a `/feedback` command, per-tier reasoning effort, and recent-message retention through compaction. It also introduces a `message_subagent` tool, subagent resumption from a prior job, atomic batch edits, global skill discovery, and broad improvements to the terminal UI, permissions, and providers.</description><pubDate>Mon, 20 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;New providers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://www.kimi.com/code&quot;&gt;Kimi Code&lt;/a&gt;&lt;/strong&gt; is now available as a built-in provider. It uses the Anthropic Messages API, ships models including K3 with effort-based reasoning, and authenticates with an OAuth 2.0 device-code flow, so you can log in without an API key.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://platform.kimi.ai&quot;&gt;Moonshot AI&lt;/a&gt;&lt;/strong&gt; joins the built-in providers with OpenAI-compatible Chat Completions and ships models including K3 with reasoning effort controls.&lt;/li&gt;
&lt;li&gt;Both providers support vision and appear in the interactive configurator.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The daemon now requires a bearer token on its control API. The CLI sets this up automatically, so no configuration is required, and requests without a valid token receive HTTP 401. See &lt;a href=&quot;https://docs.polytoken.dev/reference/daemon-auth/&quot;&gt;Daemon authentication&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Crash reporting and feedback&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Polytoken now sends automatic crash reports when it exits unexpectedly. A report includes the crash type, a stack trace, the component name, the version, and a pseudonymous installation ID, but never your logs, session records, prompts, or files. The setting is on by default; turn it off with &lt;code&gt;data.automatic_crash_reporting = false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/feedback&lt;/code&gt; opens a form where you can message the team and optionally attach session logs to help diagnose a problem.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Models and reasoning&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Each default model tier (&lt;code&gt;:full&lt;/code&gt;, &lt;code&gt;:mini&lt;/code&gt;, &lt;code&gt;:nano&lt;/code&gt;) can carry its own reasoning effort. Add the effort level in parentheses after the model name in the &lt;code&gt;defaults&lt;/code&gt; block, for example &lt;code&gt;full: &amp;quot;claude-sonnet-4(high)&amp;quot;&lt;/code&gt;. The configurator offers an effort selector when you assign a default model, warns when a tier requests an effort the model does not support, and falls back to the model&amp;#39;s default.&lt;/li&gt;
&lt;li&gt;OpenAI reasoning models now show readable thinking summaries when the Responses API provides them.&lt;/li&gt;
&lt;li&gt;GPT-5.6 Sol, Terra, and Luna join the built-in catalog for the OpenAI and Codex providers, all supporting low, medium, high, xhigh, and max reasoning effort. Sol and Terra are full-class models. Luna qualifies as a default for both the full and mini classes, and the configurator offers a class chooser when you assign a multi-class model as a default.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Session goals&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;When a saved-session goal is active, &lt;code&gt;ask_user_question&lt;/code&gt; no longer interrupts you with an operator prompt. Polytoken directs the model to pick an answer, seek a second opinion, or block the goal when it cannot proceed. Pausing the goal restores ordinary question prompts.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Compaction&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Compaction now preserves a budget of recent messages verbatim, sized to each model&amp;#39;s context window, so the model retains the immediate conversation alongside the summary.&lt;/li&gt;
&lt;li&gt;Compaction summaries focus on recent completed tasks and tell the model how to retrieve older history when needed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Hooks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Bash hook handlers now receive &lt;code&gt;POLYTOKEN_FACET_NAME&lt;/code&gt;, &lt;code&gt;POLYTOKEN_MODEL_NAME&lt;/code&gt;, and &lt;code&gt;POLYTOKEN_GOAL_ACTIVE&lt;/code&gt; alongside the existing &lt;code&gt;POLYTOKEN_*&lt;/code&gt; variables. &lt;code&gt;POLYTOKEN_FACET_NAME&lt;/code&gt; is the active facet, &lt;code&gt;POLYTOKEN_MODEL_NAME&lt;/code&gt; is the active model&amp;#39;s config-key name, and &lt;code&gt;POLYTOKEN_GOAL_ACTIVE&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt; depending on whether a saved-session goal is running.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Skills&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Polytoken now discovers skills in &lt;code&gt;~/.agents/skills/&lt;/code&gt; automatically.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;MCP&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;MCP connections begin retrying sooner and keep trying longer, so transient outages recover more reliably.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;CLI&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;polytoken models&lt;/code&gt;, &lt;code&gt;polytoken sessions&lt;/code&gt;, and &lt;code&gt;polytoken doctor&lt;/code&gt; accept &lt;code&gt;--format human&lt;/code&gt;, &lt;code&gt;--format json&lt;/code&gt;, &lt;code&gt;--format json-pretty&lt;/code&gt;, and &lt;code&gt;--format yaml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken openapi&lt;/code&gt; and &lt;code&gt;polytoken event-schema&lt;/code&gt; accept &lt;code&gt;--format json&lt;/code&gt; and &lt;code&gt;--format yaml&lt;/code&gt;, while keeping pretty JSON as the default.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken new --prompt &amp;lt;text&amp;gt;&lt;/code&gt; submits the given text as the session&amp;#39;s first prompt as soon as the TUI attaches. With &lt;code&gt;--no-attach&lt;/code&gt;, it submits the prompt and exits without starting the TUI.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Tools&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;message_subagent&lt;/code&gt; tool lets a parent session send a text message to a running subagent. The message arrives in the subagent&amp;#39;s context without interrupting its current step.&lt;/li&gt;
&lt;li&gt;Use the &lt;code&gt;subagent&lt;/code&gt; tool&amp;#39;s new &lt;code&gt;resume_from&lt;/code&gt; parameter to continue a completed subagent&amp;#39;s work in a new job.&lt;/li&gt;
&lt;li&gt;The hashline edit format now supports atomic batch edits: multiple edits in a single call apply together or not at all.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;shell_exec&lt;/code&gt; now returns full execution context when a command fails, including persisted paths for the captured output.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Permissions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;In autonomous mode, tool calls that match an explicit allow rule now run immediately. Filesystem grants still require approval, and Polytoken still evaluates calls that match no explicit rule.&lt;/li&gt;
&lt;li&gt;Polytoken now recognizes literal relative directories in &lt;code&gt;cd&lt;/code&gt; commands and can suggest appropriate filesystem permission rules for them.&lt;/li&gt;
&lt;li&gt;Permission rules now handle paths that safely resolve internal &lt;code&gt;..&lt;/code&gt; segments. Paths that escape through a leading &lt;code&gt;..&lt;/code&gt;, such as &lt;code&gt;../secrets&lt;/code&gt;, remain blocked.&lt;/li&gt;
&lt;li&gt;Plan handoff from the plan facet to execute now works in autonomous mode.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;File references&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;@&lt;/code&gt; file picker now accepts &lt;code&gt;./&lt;/code&gt; to browse from the current working directory. For example, type &lt;code&gt;@./&lt;/code&gt; to browse the project root or the directory selected with &lt;code&gt;pushd&lt;/code&gt;. Polytoken continues to hide files blocked by &lt;code&gt;.agentblock&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Themes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Polytoken now includes Sean Edwards&amp;#39;s &lt;code&gt;rose-pine.yaml&lt;/code&gt; theme.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Terminal UI&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Press Ctrl+Shift+B or use the corner button to collapse the context area in &lt;code&gt;ask_user_question&lt;/code&gt; and &lt;code&gt;handoff_plan&lt;/code&gt; prompts.&lt;/li&gt;
&lt;li&gt;Provider error cards now show structured detail when expanded, with plain-language context and actionable guidance for each error type.&lt;/li&gt;
&lt;li&gt;The context meter now stays stable during tool loops and reports the correct value after rewind, clear, or compaction.&lt;/li&gt;
&lt;li&gt;Diagnostic output no longer corrupts the TUI or configurator.&lt;/li&gt;
&lt;li&gt;Press Ctrl+Y in the Todo Viewer to copy the selected todo to your clipboard.&lt;/li&gt;
&lt;li&gt;Ctrl-C during TUI startup now cleans up the daemon instead of leaving orphaned processes behind.&lt;/li&gt;
&lt;li&gt;Modal text dialogs in the configurator now show Enter as the accept key instead of Ctrl+S.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Providers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Neuralwatt models now expose only the reasoning controls they support, with sensible defaults for models that offer optional reasoning.&lt;/li&gt;
&lt;li&gt;Provider interruptions no longer silently discard partial responses; Polytoken preserves partial progress while recovering.&lt;/li&gt;
&lt;li&gt;Custom &lt;code&gt;models&lt;/code&gt; entries can now override selected settings on discovered models. Polytoken warns about overrides it cannot apply instead of rejecting the configuration.&lt;/li&gt;
&lt;li&gt;Anthropic models now handle thinking text streams more reliably.&lt;/li&gt;
&lt;li&gt;Polytoken now retries transient OpenAI server errors instead of ending a turn.&lt;/li&gt;
&lt;li&gt;Kimi Code sessions now recover more reliably from temporary authentication failures and expired tokens.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Performance&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Streaming renders faster in the TUI during long sessions.&lt;/li&gt;
&lt;li&gt;Concurrent &lt;code&gt;glob&lt;/code&gt; and &lt;code&gt;grep&lt;/code&gt; calls are faster.&lt;/li&gt;
&lt;li&gt;Long sessions stay responsive during file and compute-heavy work.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Reliability and bug fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Session history no longer loses messages when you interrupt and resume a session.&lt;/li&gt;
&lt;li&gt;Cancelling a response no longer makes later requests unnecessarily large or degrades response quality. Polytoken still preserves completed text and tool calls.&lt;/li&gt;
&lt;li&gt;Polytoken now rejects empty and whitespace-only prompts instead of submitting them.&lt;/li&gt;
&lt;li&gt;The TUI no longer crashes on ConPTY, WSL2, and Podman PTY chains; it redraws gracefully when a full clear fails.&lt;/li&gt;
&lt;li&gt;Repeated invalid tool calls now end the session instead of looping indefinitely.&lt;/li&gt;
&lt;li&gt;Sessions now recover when a provider rejects an oversized request. Session title generation is also more reliable across providers.&lt;/li&gt;
&lt;li&gt;Permission checks no longer crash when you use reasoning-capable models.&lt;/li&gt;
&lt;li&gt;Interrupting &lt;code&gt;config edit&lt;/code&gt; no longer corrupts your configuration.&lt;/li&gt;
&lt;li&gt;MCP servers now report expired authentication instead of disconnecting without an explanation.&lt;/li&gt;
&lt;li&gt;You can now propose a new saved-session goal after the previous goal finishes.&lt;/li&gt;
&lt;li&gt;User-level subagents now load from the global configuration directory.&lt;/li&gt;
&lt;li&gt;Bare shell-interpreter commands such as &lt;code&gt;bash&lt;/code&gt;, &lt;code&gt;sh&lt;/code&gt;, &lt;code&gt;zsh&lt;/code&gt;, or &lt;code&gt;fish&lt;/code&gt; no longer trigger unsafe persistent permission suggestions.&lt;/li&gt;
&lt;li&gt;Rewinding to an earlier prompt now restores &lt;code&gt;@&lt;/code&gt;-reference shorthand instead of raw XML tags in the prompt textarea.&lt;/li&gt;
&lt;li&gt;Subagent definitions can now reference dynamically discovered models, such as Umans models, without being falsely rejected.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.4.2</title><link>https://docs.polytoken.dev/changelog/#042</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#042</guid><description>Polytoken 0.4.2 fixes a bug where cancelling a provider stream could permanently bloat every subsequent request.</description><pubDate>Thu, 09 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;When you cancel a provider stream mid-response, Polytoken now drops provider-private reasoning blocks from the salvaged history instead of retaining them. Previously, a single cancelled stream could inject hundreds of reasoning items into durable history, causing every future request in the session to grow larger and degrade model quality. Text content and completed tool calls are still salvaged as before.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.4.1</title><link>https://docs.polytoken.dev/changelog/#041</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#041</guid><description>Polytoken 0.4.1 improves model selection, permissions, file search, provider recovery, and terminal performance for longer sessions.</description><pubDate>Thu, 09 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;Models&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;GPT-5.6 Sol, Terra, and Luna are now in the built-in model catalog for both the OpenAI and Codex providers. All three models support low, medium, high, xhigh, and max reasoning effort. Sol and Terra are full-class models, while Luna is a mini-class model.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Performance&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;TUI rendering during streaming is significantly faster for long sessions. Polytoken avoids recomputing settled conversation items, caches layout heights, and limits redraw work to visible rows.&lt;/li&gt;
&lt;li&gt;Concurrent &lt;code&gt;glob&lt;/code&gt; and &lt;code&gt;grep&lt;/code&gt; calls are now faster.&lt;/li&gt;
&lt;li&gt;Polytoken improves agent-loop performance for long sessions.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Providers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Neuralwatt models now receive the correct reasoning configuration based on their capabilities. Models with &lt;code&gt;reasoning_effort&lt;/code&gt; support receive the full effort-level set, models with &lt;code&gt;reasoning&lt;/code&gt; support reason by default with a disable option, and non-reasoning models receive no reasoning.&lt;/li&gt;
&lt;li&gt;Mid-stream transport timeouts now enter idle-stall recovery, preserving partial-turn progress instead of ending the turn silently.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Permissions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Literal relative &lt;code&gt;cd&lt;/code&gt; targets in shell commands now create deterministic chdir requirements in the permission system, so Polytoken can offer filesystem candidate rules instead of treating the target as opaque.&lt;/li&gt;
&lt;li&gt;Permission rules for filesystem paths containing resolvable &lt;code&gt;..&lt;/code&gt; components now canonicalize and apply correctly. Paths with unresolved leading &lt;code&gt;..&lt;/code&gt; components, such as &lt;code&gt;../secrets&lt;/code&gt;, remain blocked.&lt;/li&gt;
&lt;li&gt;Plan handoff from the plan facet to execute now works in autonomous mode.&lt;/li&gt;
&lt;li&gt;In autonomous mode, explicitly allowed tool calls now skip an unnecessary classifier pass. Polytoken still requires approval for filesystem grants and applies the classifier when no explicit allow rule matches.&lt;/li&gt;
&lt;li&gt;Permission candidate scoping on macOS now recognizes canonical forms of &lt;code&gt;/tmp&lt;/code&gt; and &lt;code&gt;/var/tmp&lt;/code&gt;, so symlinked temporary paths produce consistent candidates.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;File search&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Recursive file searches now skip platform no-go directories and paths Polytoken cannot access, while still honoring directories you explicitly target.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Agent behavior&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The system prompt now encourages the model to give each subagent a descriptive name, making concurrent jobs easier to track in the Jobs viewer.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Terminal UI and sessions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Switching between the built-in plan and execute facets no longer changes the model selected with &lt;code&gt;/model&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The plan facet no longer asks whether you want a plan of plans.&lt;/li&gt;
&lt;li&gt;The running timer card no longer disappears intermittently mid-turn.&lt;/li&gt;
&lt;li&gt;A modal error dialog now captures keyboard input before a pending permission prompt. Pressing Enter or a digit while the error dialog is open no longer answers the concealed prompt.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;shell_exec&lt;/code&gt; now provides full execution context when a command fails, including persisted paths for captured output.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.4.0</title><link>https://docs.polytoken.dev/changelog/#040</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#040</guid><description>Polytoken 0.4.0 adds the Neuralwatt and Kagi providers, Claude Sonnet 5, custom TUI themes, session goals that drive continuation, `.agentblock` permanent path blocking, a `bypass+` permission mode, per-model compaction thresholds, and configurable keyboard shortcuts. The release also brings major improvements to planning, the Jobs viewer, file references, the `@` picker, provider stability, and dozens of terminal UI fixes.</description><pubDate>Sun, 05 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;New providers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://neuralwatt.com&quot;&gt;Neuralwatt&lt;/a&gt;&lt;/strong&gt; is now available as a dynamic provider. Polytoken discovers Neuralwatt models at runtime and integrates them into the model picker.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;https://kagi.com&quot;&gt;Kagi&lt;/a&gt;&lt;/strong&gt; is now available as a web search provider.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Models&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Claude Sonnet 5 is now in the built-in model catalog with effort levels (low, medium, high, xhigh, max), a 1M context window, 128k max output, vision, and adaptive thinking.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Themes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Custom TUI themes are now available. Polytoken loads theme files from &lt;code&gt;tui.theme-file&lt;/code&gt;, validates theme tokens, and lets you preview theme choices through &lt;code&gt;/theme&lt;/code&gt; before applying them to the session.&lt;/li&gt;
&lt;li&gt;Theme files now support HSV colors and reusable palette entries, making custom themes easier to write and validate.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Session goals&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;/goal&lt;/code&gt; slash command lets you set a goal for the current session. Polytoken persists the goal in the session record and a markdown file, so the goal survives restarts, reloads, and compaction. When a goal is active, Polytoken uses it to drive automatic continuation, keeping long-running work on track.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/goal set&lt;/code&gt; and &lt;code&gt;/goal resume&lt;/code&gt; now start a turn, and resuming a paused goal shows a goal-paused card.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Skills and customization&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Polytoken now discovers skills from &lt;code&gt;.agents/skills&lt;/code&gt; before &lt;code&gt;.polytoken/skills&lt;/code&gt;, so project-local skills written for common agent ecosystems are available automatically. &lt;code&gt;.polytoken/skills&lt;/code&gt; still wins when two discovered skills use the same name.&lt;/li&gt;
&lt;li&gt;New &lt;code&gt;polytoken validate {skill,facet,subagent}&lt;/code&gt; commands check definition files for structural errors before starting the daemon. Each accepts a definition name (resolved through standard discovery tiers) or a direct file path.&lt;/li&gt;
&lt;li&gt;The configurator&amp;#39;s recommended budget provider now points to Neuralwatt.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Planning and facets&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Plan mode can now use read-only &lt;code&gt;shell_exec&lt;/code&gt;, so planning turns can inspect command output without switching into execute mode.&lt;/li&gt;
&lt;li&gt;Facet switches now honor &lt;code&gt;polytoken.model&lt;/code&gt;, so a facet can reliably select its configured model when you move into that facet.&lt;/li&gt;
&lt;li&gt;Custom default facets that pin a model now apply that model when the daemon starts, matching the model selection behavior used when switching facets during a session.&lt;/li&gt;
&lt;li&gt;Plan handoff refusal now includes a feedback field, so you can explain what needs to change before accepting a plan.&lt;/li&gt;
&lt;li&gt;Plan files now use numbered names, old plan flags are cleaned up more consistently, and Polytoken reminds the model about open todos when re-entering planning.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Permissions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A new &lt;code&gt;bypass+&lt;/code&gt; permission mode skips built-in protections and opaque-shell gates like &lt;code&gt;bypass&lt;/code&gt;, but still honors explicit deny rules.&lt;/li&gt;
&lt;li&gt;Permission rules can now include a custom message that Polytoken injects as a system reminder when the rule matches.&lt;/li&gt;
&lt;li&gt;Polytoken now denies agentic edits to lock files by default for safety.&lt;/li&gt;
&lt;li&gt;MCP synthetic tool approvals now persist as name-level rules, so approving a tool by its &lt;code&gt;mcp__server__tool&lt;/code&gt; name sticks across sessions.&lt;/li&gt;
&lt;li&gt;Press Ctrl+Shift+P mid-turn to open the permission typeahead and switch permission modes without interrupting the current turn.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Breaking change:&lt;/strong&gt; Permission rule &lt;code&gt;args&lt;/code&gt; now use a typed enum with strict validation. Unknown args keys produce hard load errors instead of being silently ignored. Cross-variant hybrid rules are rejected at load time. Correctly formed rules continue to work as before.&lt;/li&gt;
&lt;li&gt;Fixed a regression where opaque shell command permission persistence options were not offered correctly.&lt;/li&gt;
&lt;li&gt;Permission decisions that cannot be persisted no longer trigger persistence prompts.&lt;/li&gt;
&lt;li&gt;Read-only tool denials from the autonomous classifier now escalate to a human prompt instead of blocking outright.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;File references and pathing&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;@&lt;/code&gt; file picker now browses directories outside the project. Type &lt;code&gt;@..&lt;/code&gt; to see the project parent&amp;#39;s children, &lt;code&gt;@~&lt;/code&gt; for your home directory, and &lt;code&gt;@/&lt;/code&gt; for the filesystem root (Unix only). Drill into subdirectories by typing path components. External file references resolve and inject content at submit time, just like project-relative references.&lt;/li&gt;
&lt;li&gt;Reference resolution is now cwd-aware, so &lt;code&gt;@&lt;/code&gt; references resolve correctly after &lt;code&gt;pushd&lt;/code&gt; changes the working directory.&lt;/li&gt;
&lt;li&gt;A new &lt;code&gt;tui.show-ignored-files-in-picker&lt;/code&gt; option shows all directories in the &lt;code&gt;@&lt;/code&gt; picker, including dotfiles and &lt;code&gt;.polytoken&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;.agentblock&lt;/code&gt;&lt;/strong&gt; files block agent access to matched paths unconditionally across all tools and permission modes. Place one at the project root or in any subdirectory using gitignore-style patterns. Blocked paths cannot be read, edited, searched, or referenced by shell commands.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;.agentblock&lt;/code&gt; discovery now protects against filesystem cycles.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Configuration&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breaking change:&lt;/strong&gt; Compaction thresholds are now per-model instead of a single global setting. Each model derives its own threshold from its context window, and you can override it individually.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Breaking change:&lt;/strong&gt; Keyboard shortcuts are now configurable through a unified &lt;code&gt;tui.keyboard.commands&lt;/code&gt; map.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;max_output_tokens_per_turn&lt;/code&gt; is now configurable, with defaults based on the selected model tier.&lt;/li&gt;
&lt;li&gt;A new &lt;code&gt;daemon.follow_symlinks_for_configs&lt;/code&gt; option (default &lt;code&gt;true&lt;/code&gt;) controls whether symlinked config and context files are followed during discovery. When set to &lt;code&gt;false&lt;/code&gt;, symlinked files are skipped with a warning in the TUI and daemon log. Tool file access is unaffected.&lt;/li&gt;
&lt;li&gt;The configurator prunes old config backups automatically, keeping the newest 10.&lt;/li&gt;
&lt;li&gt;Config editing now creates backups with 0o600 permissions and auto-restores the backup on max-attempts exhaustion. Skeleton edits (new files) create no backup.&lt;/li&gt;
&lt;li&gt;Config rollback now tolerates unrecognized providers and models instead of failing when a previous configuration references entries the current build does not know about.&lt;/li&gt;
&lt;li&gt;Project-layer config validation now merges the real global config instead of a stub.&lt;/li&gt;
&lt;li&gt;Polytoken caps Tokio worker threads at 3 by default to reduce resource usage.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Providers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Provider usage throttling controls request pacing and concurrency for providers that support it.&lt;/li&gt;
&lt;li&gt;MCP OAuth tokens are now refreshed proactively before expiry.&lt;/li&gt;
&lt;li&gt;Dynamic provider models appear in &lt;code&gt;@model:&lt;/code&gt; typeahead.&lt;/li&gt;
&lt;li&gt;Umans flash models are classified as mini or nano defaults.&lt;/li&gt;
&lt;li&gt;OpenAI and Codex Responses requests can now use &lt;code&gt;prompt_cache_key&lt;/code&gt;, improving compatibility with provider-side prompt caching.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken doctor&lt;/code&gt; now resolves dynamic provider catalogs before reporting provider readiness.&lt;/li&gt;
&lt;li&gt;Polytoken resolves dynamic provider catalogs before model lookup, fixing model selection failures with dynamically registered providers.&lt;/li&gt;
&lt;li&gt;The false-positive dangling-provider warning no longer fires for dynamic providers.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;polytoken models&lt;/code&gt; command now lists models from dynamic providers such as Umans. Dynamic models display a &lt;code&gt;(dynamic)&lt;/code&gt; marker alongside existing &lt;code&gt;(default)&lt;/code&gt; and &lt;code&gt;(small)&lt;/code&gt; markers. When a dynamic catalog cannot be resolved, the command lists static and catalog models and prints a warning instead of failing.&lt;/li&gt;
&lt;li&gt;Fixed a 400 error from Anthropic when using Sonnet 5 or newer models with deferred tools. Polytoken now places cache-control breakpoints on the nearest non-deferred tool instead of the last tool in the list.&lt;/li&gt;
&lt;li&gt;Fixed OpenAI Responses provider misbehavior.&lt;/li&gt;
&lt;li&gt;Fixed an issue where OpenAI Responses API tool calls could lose their arguments when &lt;code&gt;output_item.done&lt;/code&gt; omitted the arguments field. The parser now accumulates delta fragments as a fallback instead of producing an empty string.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;MCP&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;MCP stdio servers accept a &lt;code&gt;pass_env&lt;/code&gt; field listing specific environment variable names to copy from the daemon process into the stdio child. Explicit &lt;code&gt;env&lt;/code&gt; overrides still take precedence on conflicts.&lt;/li&gt;
&lt;li&gt;MCP stdio servers now pass &lt;code&gt;HOME&lt;/code&gt;, &lt;code&gt;PATH&lt;/code&gt;, &lt;code&gt;LANG&lt;/code&gt;, and &lt;code&gt;TMPDIR&lt;/code&gt; by default unless the server config overrides the environment list.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Agent loop and tools&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breaking change:&lt;/strong&gt; The &lt;code&gt;/prompt&lt;/code&gt; endpoint now auto-queues a submitted prompt when a turn is already in progress, instead of rejecting it. Clients that relied on a rejection response when the turn slot is held need to handle the queued behavior.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;ask_user_question&lt;/code&gt; tool result now includes the original context explainer text alongside the answers. This preserves the reasoning through compaction, so the model retains full context even after the original tool call is summarized.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;web_fetch&lt;/code&gt; now windows large pages instead of rejecting them outright, so the model can inspect long pages in chunks.&lt;/li&gt;
&lt;li&gt;Tool inputs are now stripped of nullish values before dispatch, preventing malformed arguments from reaching providers.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;/history&lt;/code&gt; response now includes &lt;code&gt;emitted_at&lt;/code&gt; timestamps on each item.&lt;/li&gt;
&lt;li&gt;Polytoken detects when the working directory is deleted and surfaces a system reminder.&lt;/li&gt;
&lt;li&gt;Empty provider responses after tool results now trigger a re-entry instead of silently ending the turn.&lt;/li&gt;
&lt;li&gt;Provider stream idle stalls now retry with exponential backoff, up to 6 consecutive stalls before failing.&lt;/li&gt;
&lt;li&gt;Subagents now receive their working directory as an absolute path, so paths resolve correctly within the subagent context.&lt;/li&gt;
&lt;li&gt;During automatic prompt draining, Polytoken now adds a reminder so the model does not mistake background notifications for new user input.&lt;/li&gt;
&lt;li&gt;After compaction, Polytoken injects a CWD reorientation reminder so the model knows relative paths resolve against the current working directory, not the project root.&lt;/li&gt;
&lt;li&gt;Fixed tool-call argument truncation failures.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Context and agent grounding&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Polytoken now loads AGENTS.md files from ancestor directories between the global location and the project root. This means shared project-level instructions are picked up when working in a subdirectory. Files are deduplicated by content hash and ancestor @-links are confined to the project root.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Rewind&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Rewind now restores runtime context correctly when returning to an earlier point in the session.&lt;/li&gt;
&lt;li&gt;The working directory stack restores correctly after rewinding past &lt;code&gt;pushd&lt;/code&gt;/&lt;code&gt;popd&lt;/code&gt; operations.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Terminal UI&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The Todo and Jobs viewers now show scrollbars and support scroll interaction.&lt;/li&gt;
&lt;li&gt;Subagent cards in the Jobs viewer now support keyboard navigation, expansion, and narration, so you can inspect subagent progress without leaving the viewer.&lt;/li&gt;
&lt;li&gt;The Jobs viewer now shows the thinking level for each subagent.&lt;/li&gt;
&lt;li&gt;Plan scrolling is faster after caching interrogative preview rows.&lt;/li&gt;
&lt;li&gt;File edit cards can auto-expand with a new &lt;code&gt;expand_file_edit_cards&lt;/code&gt; config flag.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;ask_user_question&lt;/code&gt; custom answer area is now three lines tall and clears on Esc or Ctrl+C.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;@//&lt;/code&gt; typeahead now runs asynchronously, so typing stays responsive when searching large directories.&lt;/li&gt;
&lt;li&gt;The sidebar facet label and mini toggle now use the active facet&amp;#39;s accent color.&lt;/li&gt;
&lt;li&gt;Polytoken now clears the prompt input lock on attach, preventing a stuck prompt after reconnect.&lt;/li&gt;
&lt;li&gt;Diff colorization no longer disappears when scrolling with a card open.&lt;/li&gt;
&lt;li&gt;Diff highlighting now survives history reloads, including attach, reattach, compaction, and rewind.&lt;/li&gt;
&lt;li&gt;The flagged files pane now shows paths inside the session directory with the &lt;code&gt;$SESSION_DIR&lt;/code&gt; shorthand while preserving the real path for copying.&lt;/li&gt;
&lt;li&gt;Esc now force-releases the prompt instead of leaving it in an ambiguous state.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/new&lt;/code&gt; is now an alias for &lt;code&gt;/clear&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The session picker now supports &lt;code&gt;[K]&lt;/code&gt; to kill a selected session.&lt;/li&gt;
&lt;li&gt;Esc Esc opens a quick rewind picker for returning to an earlier prompt.&lt;/li&gt;
&lt;li&gt;Invalid slash command arguments are rejected in the TUI instead of being sent to the model as ordinary prompt text.&lt;/li&gt;
&lt;li&gt;Single Enter now accepts the active typeahead selection and submits the prompt.&lt;/li&gt;
&lt;li&gt;The custom-text exit shortcut in &lt;code&gt;ask_user_question&lt;/code&gt; changed from Up to Ctrl+Up to avoid conflicts with cursor navigation.&lt;/li&gt;
&lt;li&gt;Polytoken now writes crash logs for TUI panics and lease-lost exits, making failed terminal sessions easier to diagnose.&lt;/li&gt;
&lt;li&gt;Fixed several &lt;code&gt;ask_user_question&lt;/code&gt; interaction issues, including checkbox toggling, custom-text navigation with Up, and text exclusion behavior.&lt;/li&gt;
&lt;li&gt;Fixed missing and duplicate timer cards in the conversation.&lt;/li&gt;
&lt;li&gt;Fixed an input handling issue in the session picker drive loop.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Reliability and performance&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;macOS filesystem scans now avoid repeatedly probing denied directories, and glob searches use a bounded worker count to reduce filesystem overhead.&lt;/li&gt;
&lt;li&gt;Repository-status reminders no longer reappear after &lt;code&gt;pushd&lt;/code&gt; and &lt;code&gt;popd&lt;/code&gt; in a way that can corrupt history.&lt;/li&gt;
&lt;li&gt;Polytoken now stops a turn when a provider repeatedly returns the same synthesized tool call identifiers, preventing a self-sustaining retry loop.&lt;/li&gt;
&lt;li&gt;Fixed a CPU spin on macOS caused by terminal device handling.&lt;/li&gt;
&lt;li&gt;Fixed rendering of trailing setext underlines in streaming markdown.&lt;/li&gt;
&lt;li&gt;Resolved several CPU hotspots in the agent loop.&lt;/li&gt;
&lt;li&gt;Improved daemon startup speed on large projects.&lt;/li&gt;
&lt;li&gt;Queued prompts now start correctly after manual compaction finishes and releases the turn slot.&lt;/li&gt;
&lt;li&gt;The configurator now exits with guidance when it closes without saving.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.3.3</title><link>https://docs.polytoken.dev/changelog/#033</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#033</guid><description>Polytoken 0.3.3 fixes MCP tool availability in subagents and two terminal UI issues.</description><pubDate>Wed, 24 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;MCP tools now more reliably provision within subagents in edge cases.&lt;/li&gt;
&lt;li&gt;Fixed a cursor flash that could appear during rapid file-diff rendering in the terminal UI.&lt;/li&gt;
&lt;li&gt;Cleaned up the subagent spawn card display by removing a redundant type label and adding a &amp;quot;launched&amp;quot; suffix for clearer job tracking.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.3.2</title><link>https://docs.polytoken.dev/changelog/#032</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#032</guid><description>Polytoken 0.3.2 adds a disabled state and /mcp command for MCP servers, custom provider HTTP headers, a provider stream idle timeout, and fixes several terminal UI and permissions issues.</description><pubDate>Tue, 23 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;MCP&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;MCP servers that cannot connect now stop retrying and enter a disabled state instead of looping indefinitely. A new &lt;code&gt;/mcp&lt;/code&gt; slash command lets you enable or disable individual servers from the TUI, and servers can be configured to start disabled.&lt;/li&gt;
&lt;li&gt;Fixed several bugs in MCP server reconnection so recovered tools reach the model after an auto-reconnect cycle, and silently degraded connections are detected before a tool call fails.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Providers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Custom providers can now send additional HTTP headers on every request. This is useful for proxies, internal gateways, and other Anthropic-compatible endpoints that require backend-specific headers.&lt;/li&gt;
&lt;li&gt;If a provider stream stalls mid-response, Polytoken now salvages any partial content received so far and continues the turn instead of hanging indefinitely.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Permissions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Read-only tools like file reads and searches are never hard-denied by the autonomous classifier. In autonomous mode, questionable reads now escalate to a confirmation prompt instead of being blocked outright.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Terminal UI&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added mouse drag selection in interrogative preview areas.&lt;/li&gt;
&lt;li&gt;Word deletion shortcuts (Ctrl-Backspace, Ctrl-Delete) now work in all text fields.&lt;/li&gt;
&lt;li&gt;Fixed full-width character cursor drift and text highlighting so East Asian and other wide characters render and select more reliably.&lt;/li&gt;
&lt;li&gt;Expanded configurator and viewer dialogs to use much more of the available screen space.&lt;/li&gt;
&lt;li&gt;Clarified the configurator wording around when Polytoken switches into mini mode.&lt;/li&gt;
&lt;li&gt;Interrogative popups now dismiss cleanly with a single Esc.&lt;/li&gt;
&lt;li&gt;Added a 256-color fallback when truecolor is unavailable.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;File edit tools now return a contextual diff in their results, so you can review the surrounding change without digging for it.&lt;/li&gt;
&lt;li&gt;Fixed rewind so returning to an earlier user message does not leave that prompt duplicated in your history.&lt;/li&gt;
&lt;li&gt;Fixed a high-CPU lockup that could occur when certain providers returned tool-use responses in an unexpected order.&lt;/li&gt;
&lt;li&gt;Improved permission handling for shell-style patterns so Polytoken accepts more literal &lt;code&gt;[&lt;/code&gt; test commands and avoids overmatching some glob-like inputs.&lt;/li&gt;
&lt;li&gt;Compaction no longer includes completed todos in the context summary, saving tokens when your todo list grows long.&lt;/li&gt;
&lt;li&gt;Subagents can now be given a custom name when spawned, making job handles more readable.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.3.1</title><link>https://docs.polytoken.dev/changelog/#031</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#031</guid><description>Polytoken 0.3.1 is a patch release.</description><pubDate>Mon, 22 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;Rumors of a bug in plan-reviewer rendering are grossly exaggerated.&lt;/li&gt;
&lt;li&gt;You saw nothing.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.3.0</title><link>https://docs.polytoken.dev/changelog/#030</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#030</guid><description>Polytoken 0.3.0 adds the Umans provider with dynamic model discovery, adds a TLS trust store option and a polytoken doctor readiness check, and brings a broad set of terminal UI, planning, and stability improvements.</description><pubDate>Mon, 22 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://umans.ai&quot;&gt;Umans&lt;/a&gt;&lt;/strong&gt; is now available as a built-in provider. Polytoken discovers Umans models at runtime from the provider&amp;#39;s live API and caches the last known good catalog for fallback when the network is unavailable. Discovered models appear as read-only entries in &lt;code&gt;polytoken config ui&lt;/code&gt; and can be selected as full or mini defaults.&lt;/p&gt;
&lt;h3&gt;New commands&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;polytoken doctor&lt;/code&gt; checks startup readiness and reports what stands between you and a working session.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken vfs ls&lt;/code&gt; and &lt;code&gt;polytoken vfs cat&lt;/code&gt; inspect the resources Polytoken ships, such as facets and skills, through the internal &lt;code&gt;polytoken://&lt;/code&gt; virtual filesystem.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Configuration&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;models&lt;/code&gt; and &lt;code&gt;defaults&lt;/code&gt; are now user/global-only settings. The project config layer (&lt;code&gt;&amp;lt;project&amp;gt;/.polytoken&lt;/code&gt;) can no longer declare them.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken config ui&lt;/code&gt; is the canonical command name for the interactive configurator. &lt;code&gt;polytoken config configure&lt;/code&gt; remains as a backward-compatible alias.&lt;/li&gt;
&lt;li&gt;A new &lt;code&gt;daemon.tls.trust_store&lt;/code&gt; option lets you point Polytoken at a custom certificate authority for daemon connections that use TLS.&lt;/li&gt;
&lt;li&gt;Custom OpenAI-compatible providers now default to the chat completions protocol, so they work without an explicit protocol hint in most cases.&lt;/li&gt;
&lt;li&gt;Static API keys are trimmed of leading and trailing whitespace when read, so a stray space no longer breaks authentication.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/reload&lt;/code&gt; returns a typed error when a configured dynamic default model becomes unavailable.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;max_tool_batch_size&lt;/code&gt; is now derived from the active model&amp;#39;s context window.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Terminal UI&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A slow refresh mode makes Polytoken usable on e-ink displays.&lt;/li&gt;
&lt;li&gt;You can configure the prompt cut shortcut and a local-paste shortcut.&lt;/li&gt;
&lt;li&gt;The next queued prompt now appears above the prompt box, so you can see what is coming next.&lt;/li&gt;
&lt;li&gt;Clicking outside the Jobs and todo viewers dismisses them.&lt;/li&gt;
&lt;li&gt;The configurator window opens larger, and its validation errors wrap with hanging indents for easier reading.&lt;/li&gt;
&lt;li&gt;First-run provider guidance is clearer.&lt;/li&gt;
&lt;li&gt;Polytoken now infers a session title from your conversation, and you can override it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Prompt, planning, and model behavior&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A single Ctrl+C cancels an active assistant turn.&lt;/li&gt;
&lt;li&gt;Before a plan handoff, Polytoken nudges you to close out open todos.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;@skill:&lt;/code&gt; and &lt;code&gt;@model:&lt;/code&gt; shorthand is now resolved at submit time, and &lt;code&gt;@&lt;/code&gt;-file reference completion is sourced from the daemon.&lt;/li&gt;
&lt;li&gt;Queued prompts are appended to your local prompt history.&lt;/li&gt;
&lt;li&gt;Templates can read the active plan through a scoped &lt;code&gt;active_plan&lt;/code&gt; context, and a new &lt;code&gt;source_control&lt;/code&gt; template variable exposes repository state.&lt;/li&gt;
&lt;li&gt;Subagents accept an optional start directory, and &lt;code&gt;pushd&lt;/code&gt; can move outside the project when permissions allow.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The terminal title is cleared when you quit or detach, so it no longer lingers as polytoken over SSH.&lt;/li&gt;
&lt;li&gt;Polytoken recovers from a stuck busy state instead of locking a turn, with hardened daemon terminal handling.&lt;/li&gt;
&lt;li&gt;Resuming a session no longer shows a stale in-flight lockout.&lt;/li&gt;
&lt;li&gt;Repository reminders and status cache are constrained to your current directory stack.&lt;/li&gt;
&lt;li&gt;Clicking the status bar dismisses flash messages.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.2.2</title><link>https://docs.polytoken.dev/changelog/#022</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#022</guid><description>Polytoken 0.2.2 adds pushd/popd directory tools, command substitution in configuration, MCP OAuth credential isolation, and fixes several terminal UI and provider issues.</description><pubDate>Sat, 20 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;New tools and configuration&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New &lt;code&gt;pushd&lt;/code&gt; and &lt;code&gt;popd&lt;/code&gt; tools give the model a per-session directory stack, so the model can work within a subdirectory without repeating full paths on every file call.&lt;/li&gt;
&lt;li&gt;Configuration values now support command substitution with &lt;code&gt;$(cmd)&lt;/code&gt; and default values with &lt;code&gt;${VAR:-default}&lt;/code&gt;. Set &lt;code&gt;config_command_substitution: true&lt;/code&gt; in your user config to enable it. Only the user or global config layer can turn this on.&lt;/li&gt;
&lt;li&gt;MCP servers can use a per-server &lt;code&gt;auth_key_name&lt;/code&gt; to isolate OAuth credentials when multiple servers share a provider.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Terminal UI fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Rewind now removes the target card and restores your prompt text to the textarea.&lt;/li&gt;
&lt;li&gt;Typeahead and slash-command recognition are now case-insensitive.&lt;/li&gt;
&lt;li&gt;You can switch between status bar typeaheads when one is already active.&lt;/li&gt;
&lt;li&gt;The configurator shows protocol-aware provider URL help and a larger picker.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Provider and shell fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A new &lt;code&gt;/reset-shell&lt;/code&gt; command clears a stuck shell session; environment flowback from shell commands is now guarded.&lt;/li&gt;
&lt;li&gt;Provider tool-use input is now coerced to a JSON object, fixing a class of provider errors.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Tooling and docs&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;polytoken print-tools&lt;/code&gt; exports built-in tool metadata.&lt;/li&gt;
&lt;li&gt;The changelog now has an RSS feed at &lt;a href=&quot;https://docs.polytoken.dev/rss.xml&quot;&gt;https://docs.polytoken.dev/rss.xml&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.2.1</title><link>https://docs.polytoken.dev/changelog/#021</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#021</guid><description>Polytoken 0.2.1 improves terminal UI status, first-run setup, job navigation, multi-root file search, and permission suggestions.</description><pubDate>Fri, 19 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;Terminal UI improvements&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The status bar now shows Git dirty state and ahead/behind indicators for the current branch.&lt;/li&gt;
&lt;li&gt;A new first-run welcome dialog helps you choose initial configuration settings.&lt;/li&gt;
&lt;li&gt;Polytoken fixed some bugs in the Jobs viewer.&lt;/li&gt;
&lt;li&gt;The Jobs viewer now shows a scrollbar when the list is longer than the pane.&lt;/li&gt;
&lt;li&gt;Polytoken fixed some bugs around canceling interrogatives.&lt;/li&gt;
&lt;li&gt;Typeahead stays up when backspacing into a model reasoning suffix.&lt;/li&gt;
&lt;li&gt;Double-clicking a flagged file in the sidebar now copies the file&amp;#39;s absolute path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Commands and tool behavior&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;/version&lt;/code&gt; shows the current Polytoken version, and &lt;code&gt;GET /version&lt;/code&gt; exposes the same information over the local HTTP API.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;grep&lt;/code&gt; and &lt;code&gt;glob&lt;/code&gt; can now search more than one root in a single call and report missing paths separately from permission-denied paths.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;transclude()&lt;/code&gt; can now include project files by path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Permissions and customization&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Permission suggestions now handle filesystem paths and shell redirects more safely.&lt;/li&gt;
&lt;li&gt;Rules can now match all tools from one MCP server with &lt;code&gt;mcp__&amp;lt;server&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Facets without a configured accent color now receive a generated accent color.&lt;/li&gt;
&lt;li&gt;Projects can now customize plan handoffs to automate more of the transition from planning to execution.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Polytoken 0.2.0</title><link>https://docs.polytoken.dev/changelog/#020</link><guid isPermaLink="true">https://docs.polytoken.dev/changelog/#020</guid><description>Polytoken 0.2.0 improves day-to-day prompting, planning, and subagent visibility. The release also adds project-level template variables and new CLI metadata export commands for users who build tooling around Polytoken.</description><pubDate>Thu, 18 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;Planning and prompt behavior&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Polytoken now gives more direct first-pass answers. The model should start with the answer or recommendation, include the essential rationale, name the next useful decision, and offer deeper detail only when useful.&lt;/li&gt;
&lt;li&gt;Plan mode now starts from a more structured plan template. Plans include the goal, implementation shape, validation approach, acceptance criteria, and review expectations.&lt;/li&gt;
&lt;li&gt;Projects can replace the shipped plan template by setting &lt;code&gt;project_vars.plan_facet.plan_spec_override&lt;/code&gt; in &lt;code&gt;.polytoken/project_vars.yaml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Templates can now read project variables through &lt;code&gt;{{ project_vars.foo.bar }}&lt;/code&gt;. Missing project variables resolve to &lt;code&gt;None&lt;/code&gt;, so templates can provide fallback behavior.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Prompt editor and picker improvements&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Clicking inside the prompt box now moves the cursor.&lt;/li&gt;
&lt;li&gt;Text selection and copy now work inside the prompt box.&lt;/li&gt;
&lt;li&gt;Double-clicking the prompt box or pressing Ctrl+Y copies the current prompt.&lt;/li&gt;
&lt;li&gt;Ctrl+Y also copies handoff plans and &lt;code&gt;ask_user_question&lt;/code&gt; explainers when Polytoken shows those prompts.&lt;/li&gt;
&lt;li&gt;Clicking the facet, model, or permissions area in the status bar now opens the matching picker.&lt;/li&gt;
&lt;li&gt;The mouse wheel now scrolls &lt;code&gt;@&lt;/code&gt; file/reference pickers and &lt;code&gt;/&lt;/code&gt; command pickers.&lt;/li&gt;
&lt;li&gt;Clicking a picker item now highlights the item. Clicking the highlighted item selects it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;TUI display fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Polytoken now updates the display more cleanly after a plan handoff, so the execute turn no longer drops the first conversation cards.&lt;/li&gt;
&lt;li&gt;Turn counters render more reliably and avoid multiple on-screen counters.&lt;/li&gt;
&lt;li&gt;The terminal bell now rings more predictably for turn completion and questions.&lt;/li&gt;
&lt;li&gt;A new configuration option disables the animated terminal title bar.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Jobs, compaction, and subagents&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;/jobs&lt;/code&gt; now shows cleaner job status details and better subagent call history.&lt;/li&gt;
&lt;li&gt;Compaction cards now show more useful detail about what Polytoken compacted.&lt;/li&gt;
&lt;li&gt;In auto-drain mode, Polytoken now reports subagent failures reliably when the failure arrives.&lt;/li&gt;
&lt;li&gt;Polytoken now backs off and retries more gracefully when a provider returns intermittent rate-limit responses.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;CLI metadata export&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;polytoken print-commands&lt;/code&gt; exports CLI command metadata.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;polytoken schemas&lt;/code&gt; exports structured schemas, including configuration and template frontmatter schemas.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item></channel></rss>