---
audience: user
---

# v0.39.0

These are the release notes for gptme version v0.39.0.

## Contributors

Thanks to everyone who contributed to this release:

@austinchennn, @chengzuopeng, @four1er, @linye157, @lkuko, @Luxe7, @TimeToBuildBob, @TimeToLearnAlice, @VarunTx, @xixi-box

## Changelog

Changes since 097fff6532158ae3b8a00825a7e380258ee7be89:


## 📦 gptme

### ✨ Features (5)

 - feat(mcp): --profile agent exposes ask_model and search_chats for coding-agent clients ([#5481](https://github.com/gptme/gptme/issues/5481)) ([`b1285f145`](https://github.com/gptme/gptme/commit/b1285f1458a352458de1e1af4aa5895b2b0e8eda))
 - feat(server,webui): gateway mode for realtime voice ([#5457](https://github.com/gptme/gptme/issues/5457)) ([`fa81e0f2b`](https://github.com/gptme/gptme/commit/fa81e0f2b21d6835521c079e62dc0931f692af7e))
 - feat(chat): warn when an unterminated heredoc drops code blocks ([#5447](https://github.com/gptme/gptme/issues/5447)) ([`6de36b3cb`](https://github.com/gptme/gptme/commit/6de36b3cb886a98145d858a698112d64a43da7cc))
 - feat(hooks): expose turn.blocked as a script hook event ([#5429](https://github.com/gptme/gptme/issues/5429)) ([`13cec5183`](https://github.com/gptme/gptme/commit/13cec51834bbebbebd730c459b1880af693cc769))
 - feat(hooks): add TURN_BLOCKED observation event for attention notifications ([#5420](https://github.com/gptme/gptme/issues/5420)) ([`367fd4162`](https://github.com/gptme/gptme/commit/367fd4162eb9d886b9852de8b0ab7ea898073a30))

### 🐛 Fixes (75)
<details><summary>Click to expand</summary>
<p>

 - fix(server,webui): allow disabling inherited MCP per conversation ([#5502](https://github.com/gptme/gptme/issues/5502)) ([`c8946f034`](https://github.com/gptme/gptme/commit/c8946f034817c146e478e8b55cf23a24035c8c12))
 - fix(mcp): drop leftover MCP rows that only repeat the global server ([#5504](https://github.com/gptme/gptme/issues/5504)) ([`c8ba0c623`](https://github.com/gptme/gptme/commit/c8ba0c623d7d07678a50aa536062e672b48dd9bd))
 - fix(mcp): bound agent-profile tools in time and spend, drop reasoning from answers ([#5503](https://github.com/gptme/gptme/issues/5503)) ([`0c44af271`](https://github.com/gptme/gptme/commit/0c44af271f67a4de512fc0cd0acbb9e1b165a1f6))
 - fix(guardrails): close remaining shell credential-dump and secret-reach bypasses ([#5394](https://github.com/gptme/gptme/issues/5394)) ([`44da628b6`](https://github.com/gptme/gptme/commit/44da628b6e67bd491f9f4a8a82cff665e0fa7a81))
 - fix(logmanager): record the branch each compacted view was created on ([#5496](https://github.com/gptme/gptme/issues/5496)) ([`1a72b7a2f`](https://github.com/gptme/gptme/commit/1a72b7a2f27dbefb4803614fa690739d43a4802b))
 - fix(server): stop copying global MCP secrets into conversation config.toml ([#5488](https://github.com/gptme/gptme/issues/5488)) ([`6189063d1`](https://github.com/gptme/gptme/commit/6189063d19823f3dda2ba3f1e0677d025afc6ecf))
 - fix(server): keep the saved effort on an ACP step with no model ([#5491](https://github.com/gptme/gptme/issues/5491)) ([`a3dad66a0`](https://github.com/gptme/gptme/commit/a3dad66a0bead1e459ad860f3b5801090638cb44))
 - fix(chat): continue the turn after a native call to an unavailable tool ([#5479](https://github.com/gptme/gptme/issues/5479)) ([`e475d642e`](https://github.com/gptme/gptme/commit/e475d642e45fb9b95aecb7816ad5953669a9c7c2))
 - fix(shell): only start a comment after an unescaped word separator ([#5492](https://github.com/gptme/gptme/issues/5492)) ([`02d50cf4e`](https://github.com/gptme/gptme/commit/02d50cf4e91063052d948c53dac4e6cd8b9ff11e))
 - fix(server): reserve ACP prompt IDs from every copy and ignore edit backups ([#5486](https://github.com/gptme/gptme/issues/5486)) ([`fc4eca96f`](https://github.com/gptme/gptme/commit/fc4eca96f5f03e88866e1137cbf7dbf1d2e70dc0))
 - fix(models): mark moonshot/kimi-k2 as text-only ([#5484](https://github.com/gptme/gptme/issues/5484)) ([`9dd6fdd6a`](https://github.com/gptme/gptme/commit/9dd6fdd6a3452ca06a96931cfa034f75b44616e8))
 - fix(server): keep the conversation effort on an ACP step ([#5483](https://github.com/gptme/gptme/issues/5483)) ([`b0307cacb`](https://github.com/gptme/gptme/commit/b0307cacb97782627b5d7c02d2cc01932782d300))
 - fix(server): clear the inherited effort on an ACP model-only switch ([#5473](https://github.com/gptme/gptme/issues/5473)) ([`3f5850f48`](https://github.com/gptme/gptme/commit/3f5850f48f127c5b862a4995d3debe8957fe0210))
 - fix(server): reset an inherited effort a model-only switch cannot represent ([#5459](https://github.com/gptme/gptme/issues/5459)) ([`84ef3b6eb`](https://github.com/gptme/gptme/commit/84ef3b6eb48bbe14a9cbcd1dc73f8ddccb6fa3ce))
 - fix(webui): let chat rows follow prop changes ([#5448](https://github.com/gptme/gptme/issues/5448)) ([`2fd9d0381`](https://github.com/gptme/gptme/commit/2fd9d0381d5a965f11ab67c7fd4d3e9c987b739f))
 - fix(llm): write subscription OAuth tokens privately and atomically ([#5226](https://github.com/gptme/gptme/issues/5226)) ([`38f85e248`](https://github.com/gptme/gptme/commit/38f85e248c3b183131c51853d990a5f2178fec40))
 - fix(completion-verification): a recursive make's up-to-date target is not 'verified nothing' ([#5470](https://github.com/gptme/gptme/issues/5470)) ([`209de4eb1`](https://github.com/gptme/gptme/commit/209de4eb186acfcb4f9786953c682c788842522b))
 - fix(server): store ACP prompt IDs in every copy of the branch, not only the compacted view ([#5454](https://github.com/gptme/gptme/issues/5454)) ([`b4083f2cd`](https://github.com/gptme/gptme/commit/b4083f2cdcb7b70209aabc4fb0af71180b10f5f1))
 - fix(completion-verification): a runner that verified nothing is not a pass or a failure ([#5456](https://github.com/gptme/gptme/issues/5456)) ([`cc2ee5a33`](https://github.com/gptme/gptme/commit/cc2ee5a33b6293a2b962b6e67472ab8d51e3fe33))
 - fix(cli): resume an explicit session without scanning default logs ([#5442](https://github.com/gptme/gptme/issues/5442)) ([`e583032bf`](https://github.com/gptme/gptme/commit/e583032bfb7397bb72bce20447110f44c382bc44))
 - fix(context): drop mixed trailing sentence punctuation after a URL (?!, !?, .,) ([#5455](https://github.com/gptme/gptme/issues/5455)) ([`80debf0c4`](https://github.com/gptme/gptme/commit/80debf0c40cedee7a802f9682ed094e602130d34))
 - fix(server): stop warning 'Pending confirmation not found' on every Execute ([#5449](https://github.com/gptme/gptme/issues/5449)) ([`b2133224c`](https://github.com/gptme/gptme/commit/b2133224c2ae9c0f12fb339527a426ef021b26cb))
 - fix(server): keep the reply of an ACP step interrupted after prompt() returned ([#5396](https://github.com/gptme/gptme/issues/5396)) ([`f45444baa`](https://github.com/gptme/gptme/commit/f45444baa4423db38a2b0a183771a71097b22d08))
 - fix(shell): require confirmation for expansions that re-evaluate a value ([#5452](https://github.com/gptme/gptme/issues/5452)) ([`4f814ebc6`](https://github.com/gptme/gptme/commit/4f814ebc6bb2448a89719fa1fd6b1c35504efd1d))
 - fix(server): stop a replaced step publishing after TURN_POST ([#5450](https://github.com/gptme/gptme/issues/5450)) ([`82c33e95f`](https://github.com/gptme/gptme/commit/82c33e95f95623ff97ff9331757ec27e71ad7b70))
 - fix(completion-verification): run [tool.tox] checks from pyproject.toml, not a renamed copy ([#5440](https://github.com/gptme/gptme/issues/5440)) ([`6079686ce`](https://github.com/gptme/gptme/commit/6079686ce38d21977cee67eca68d69d9b148edb0))
 - fix: use consistent token estimates for overflow retries ([#5309](https://github.com/gptme/gptme/issues/5309)) ([`af68259a1`](https://github.com/gptme/gptme/commit/af68259a194693b9507a9d9df62295ac7f0d969f))
 - fix(completion-verification): skip tox.ini without default commands ([#5434](https://github.com/gptme/gptme/issues/5434)) ([`95f62ef03`](https://github.com/gptme/gptme/commit/95f62ef03fb02769bcf2372bde68afa64b947f2d))
 - fix(codeblock): preserve shell heredocs across Markdown fences ([#5287](https://github.com/gptme/gptme/issues/5287)) ([`fd9470010`](https://github.com/gptme/gptme/commit/fd9470010d9ba0ce98a4ae4d1372bf65eeef62ef))
 - fix(models): drop delisted OpenRouter moonshotai/kimi-k2 alias ([#5437](https://github.com/gptme/gptme/issues/5437)) ([`07ebe1372`](https://github.com/gptme/gptme/commit/07ebe1372d586bdf326d5b3d92984509c57a3870))
 - fix(cli): add static shell completions for argparse entry points ([#5122](https://github.com/gptme/gptme/issues/5122)) ([`e1d122f6c`](https://github.com/gptme/gptme/commit/e1d122f6c1beb139f38ceb05d54e174aa332e57e))
 - fix(util): accept www/token remotes and reject non-numeric issue URLs in gh.py ([#5150](https://github.com/gptme/gptme/issues/5150)) ([`7d0e18b81`](https://github.com/gptme/gptme/commit/7d0e18b81e00cd561e6f94b564f3f33bad6cd8e9))
 - fix(codeblock): don't read shifts in ${...} or $[...] as heredocs ([#5435](https://github.com/gptme/gptme/issues/5435)) ([`17fef06bc`](https://github.com/gptme/gptme/commit/17fef06bc5e721176cbf36dd2d459f90c6d262e5))
 - fix: handle removed working directories during chat startup ([#5334](https://github.com/gptme/gptme/issues/5334)) ([`81d9ab86c`](https://github.com/gptme/gptme/commit/81d9ab86c7f1d28896c8a45c303e901af5349516))
 - fix(shell): validate single commands before execution ([#5149](https://github.com/gptme/gptme/issues/5149)) ([`6a43f7cdd`](https://github.com/gptme/gptme/commit/6a43f7cddde6787a22989de76c271dd532d49d75))
 - fix(completion-verification): detect testenv-only tox.ini, ignore shadowed Makefile ([#5157](https://github.com/gptme/gptme/issues/5157)) ([`1bf227492`](https://github.com/gptme/gptme/commit/1bf227492cb5020778d1b3b4042b04565e09b3df))
 - fix(tools): preserve content carriage returns during edits ([#5277](https://github.com/gptme/gptme/issues/5277)) ([`80144019a`](https://github.com/gptme/gptme/commit/80144019ab061ebe62803697cee2dfda42ab9e5b))
 - fix(subagent): stop timed-out threads at their next checkpoint ([#5140](https://github.com/gptme/gptme/issues/5140)) ([`968a6eab8`](https://github.com/gptme/gptme/commit/968a6eab80e00bd190679e474d59dec78c3f16a5))
 - fix(subagent): wait for the subprocess monitor outcome ([#5131](https://github.com/gptme/gptme/issues/5131)) ([`482595454`](https://github.com/gptme/gptme/commit/482595454f54b2e9393a36df37466586b3914ce1))
 - fix: accept wider closing fences for executable Markdown blocks ([#5338](https://github.com/gptme/gptme/issues/5338)) ([`92ce7150c`](https://github.com/gptme/gptme/commit/92ce7150c16df1febd82293301a33310e7885ffd))
 - fix(cli): Parse resume session names as TOML ([#5336](https://github.com/gptme/gptme/issues/5336)) ([`8935c1b8d`](https://github.com/gptme/gptme/commit/8935c1b8d926f5ef9280039d95f5ccda03fd2068))
 - fix: retain the repository in Actions log recovery commands ([#5333](https://github.com/gptme/gptme/issues/5333)) ([`9208325e4`](https://github.com/gptme/gptme/commit/9208325e4365157c8353582279223053fd6fda08))
 - fix(autocompact): don't re-gate provider-anchored savings on stored-text budget ([#5266](https://github.com/gptme/gptme/issues/5266)) ([`0cfbb8b54`](https://github.com/gptme/gptme/commit/0cfbb8b544b0533f6e87d86fbdf68abc0e70aad4))
 - fix(cli): honor --matches in JSON chat search ([#5260](https://github.com/gptme/gptme/issues/5260)) ([`13811370f`](https://github.com/gptme/gptme/commit/13811370f01ef42f80632f76305db8f7d6bed04c))
 - fix(auth): use the native macOS browser for OpenRouter sign-in ([#5120](https://github.com/gptme/gptme/issues/5120)) ([`81d966923`](https://github.com/gptme/gptme/commit/81d96692341acfd420ae27da48411267825d997f))
 - fix(review): discard non-finite local review durations ([#5242](https://github.com/gptme/gptme/issues/5242)) ([`c86ccf1ee`](https://github.com/gptme/gptme/commit/c86ccf1eef2ed75ee87d1cbaf72fa796fb0f19a0))
 - fix: Use canonical registry IDs when loading MCP servers ([#5328](https://github.com/gptme/gptme/issues/5328)) ([`222ce4d85`](https://github.com/gptme/gptme/commit/222ce4d8556106955f80e302a77207bb6b8fe2ba))
 - fix: retain plugins selected by entry-point aliases ([#5327](https://github.com/gptme/gptme/issues/5327)) ([`5a9bf0ce7`](https://github.com/gptme/gptme/commit/5a9bf0ce739b4acee2ee777290bc1fc18b930151))
 - fix(context): count only unique advertised files toward scout cap ([#5283](https://github.com/gptme/gptme/issues/5283)) ([`56fb16dd8`](https://github.com/gptme/gptme/commit/56fb16dd84352475c205cb3e8796a59503e264ce))
 - fix: preserve Responses phases across split code fences ([#5363](https://github.com/gptme/gptme/issues/5363)) ([`83b523bcd`](https://github.com/gptme/gptme/commit/83b523bcd62604d726b404df1dfffbd8c334ad3b))
 - fix(skills): keep Git installer operands positional ([#5409](https://github.com/gptme/gptme/issues/5409)) ([`0583c0da3`](https://github.com/gptme/gptme/commit/0583c0da3033d7c34ac25efcaf807ec69b70e8d3))
 - fix(llm): keep managed model listings on gptme.ai ([#5415](https://github.com/gptme/gptme/issues/5415)) ([`c7db2a716`](https://github.com/gptme/gptme/commit/c7db2a71644cac03e6e2e9624903ebc26da3059f))
 - fix(read): say when a line range starts past the end of the file ([#5401](https://github.com/gptme/gptme/issues/5401)) ([`fca5b3e4e`](https://github.com/gptme/gptme/commit/fca5b3e4efeca0f1d340138b94067b40ba13a602))
 - fix(gh): keep OR searches scoped to the selected repository ([#5410](https://github.com/gptme/gptme/issues/5410)) ([`274704218`](https://github.com/gptme/gptme/commit/274704218b1ef1177d74be495ee5b929ee892408))
 - fix(server): retain conversation context when enabling ACP ([#5391](https://github.com/gptme/gptme/issues/5391)) ([`1892119fc`](https://github.com/gptme/gptme/commit/1892119fcb8e2fd37fff3cc4e3fe75ea869c31e7))
 - fix(tools): read escaped quotes inside ANSI-C strings in shell validation ([#5381](https://github.com/gptme/gptme/issues/5381)) ([`1673c87d3`](https://github.com/gptme/gptme/commit/1673c87d396708a3f73af6078c7c75859903cfbe))
 - fix(webui): keep a refused prompt's error inline after reload ([#5404](https://github.com/gptme/gptme/issues/5404)) ([`f07e9936d`](https://github.com/gptme/gptme/commit/f07e9936d01eddb0f9106d86d3cc58c6ccaa7c81))
 - fix: preserve compaction recovery offsets across skipped log rows ([#5307](https://github.com/gptme/gptme/issues/5307)) ([`77e4494dd`](https://github.com/gptme/gptme/commit/77e4494dd22842eec6d453fd24610c1a181f97ef))
 - fix(server): skip display-only messages during ACP resume ([#5431](https://github.com/gptme/gptme/issues/5431)) ([`853fa1d7a`](https://github.com/gptme/gptme/commit/853fa1d7a3aced5eb744abd4001396cfb26fd4ff))
 - fix(llm): close chat completion responses when streams stop early ([#5430](https://github.com/gptme/gptme/issues/5430)) ([`5841401c3`](https://github.com/gptme/gptme/commit/5841401c36c877842c5014bf0d545560a998d67c))
 - fix(hooks): make TURN_BLOCKED emission non-blocking and observation-only ([#5428](https://github.com/gptme/gptme/issues/5428)) ([`c5722e702`](https://github.com/gptme/gptme/commit/c5722e70210edde611f15ceb78c4121b63d49582))
 - fix(logmanager): /undo removes one message, path-like ids can't delete, listing survives a concurrent delete ([#5195](https://github.com/gptme/gptme/issues/5195)) ([`cfe82cf6a`](https://github.com/gptme/gptme/commit/cfe82cf6ae4ad1c2b4c0c9283c7ea72e0414c541))
 - fix(hooks): refuse rag_index of secret paths in enforce mode ([#5427](https://github.com/gptme/gptme/issues/5427)) ([`1c62e24ef`](https://github.com/gptme/gptme/commit/1c62e24efc367ec8a457f95bcf234d2ee3134ea4))
 - fix(server): an A2A request no longer keeps the previous turn's unanswered approvals ([#5425](https://github.com/gptme/gptme/issues/5425)) ([`6294d119f`](https://github.com/gptme/gptme/commit/6294d119f9cc07763394a3691d1f2c62dae689f1))
 - fix(release): require the judged nightly to be under 48h old ([#5405](https://github.com/gptme/gptme/issues/5405)) ([`7468253ea`](https://github.com/gptme/gptme/commit/7468253ea401cfc3c025609917f88faf18153af6))
 - fix: keep compaction recovery for timestamp-less transcript rows ([#5426](https://github.com/gptme/gptme/issues/5426)) ([`633b4d5a9`](https://github.com/gptme/gptme/commit/633b4d5a9da692930c80f5294e4f2e2fc57741d5))
 - fix(release): credit contributors whose commit email is not public ([#5419](https://github.com/gptme/gptme/issues/5419)) ([`4530a78d2`](https://github.com/gptme/gptme/commit/4530a78d2b28c125b9d1b4fd6a28f93851791a6a))
 - fix(webui): serialize default-model saves across consumers ([#5398](https://github.com/gptme/gptme/issues/5398)) ([`2aa95800a`](https://github.com/gptme/gptme/commit/2aa95800a36d4872ea042457b2f59704fc7ed8b7))
 - fix(webui): re-sync log after stream reconnect; drop script URLs in markdown ([#5158](https://github.com/gptme/gptme/issues/5158)) ([`5917627fd`](https://github.com/gptme/gptme/commit/5917627fd4d1b397bec86b7080214ecb001f3939))
 - fix(server): cap conversation metadata description and tag sizes ([#5417](https://github.com/gptme/gptme/issues/5417)) ([`c33290714`](https://github.com/gptme/gptme/commit/c3329071469855b2e6518476cd24ff5391aac87c))
 - fix(computer): parse saved ipython calls in audit-log without loading tools ([#5213](https://github.com/gptme/gptme/issues/5213)) ([`49c633426`](https://github.com/gptme/gptme/commit/49c63342607b2fd2c2c0438c0287123f31aff291))
 - fix(server): an A2A request after an interrupt no longer leaves the session stuck generating ([#5259](https://github.com/gptme/gptme/issues/5259)) ([`32cfa825d`](https://github.com/gptme/gptme/commit/32cfa825df6d25d3ba54bb8d8c6d961dd109ce85))
 - fix(llm): keep gptme.ai model listing on the token's service ([#5228](https://github.com/gptme/gptme/issues/5228)) ([`1d5b7688a`](https://github.com/gptme/gptme/commit/1d5b7688a84a90e14fed655534422f827ae211a1))
 - fix(server): cap request body size and keep the upload route's 413 ([#5412](https://github.com/gptme/gptme/issues/5412)) ([`d751d8d6c`](https://github.com/gptme/gptme/commit/d751d8d6cfb0172703dd85c4544431c44be03397))
 - fix(server): add conversation metadata route, validate PATCH model ([#5187](https://github.com/gptme/gptme/issues/5187)) ([#5204](https://github.com/gptme/gptme/issues/5204)) ([`38ea40a47`](https://github.com/gptme/gptme/commit/38ea40a47c46ea7d245fbd7cb4926717648eaf1a))

</p>
</details>

### 🔨 Misc (7)
<details><summary>Click to expand</summary>
<p>

 - chore: bump version to 0.39.0 ([`v0.39.0`](https://github.com/gptme/gptme/tree/v0.39.0))
 - perf(webui): lazy-load the 3D model viewer so three.js leaves the chat bundle ([#5469](https://github.com/gptme/gptme/issues/5469)) ([`61cfe1364`](https://github.com/gptme/gptme/commit/61cfe136445c5e900091934b353357d47d216f39))
 - docs(changelog): restore v0.38.0 release notes published by tag only ([#5418](https://github.com/gptme/gptme/issues/5418)) ([`e4e0cc178`](https://github.com/gptme/gptme/commit/e4e0cc1784658d5ca0b05f7db0a8f1c9adbffd7d))
 - test(guardrails): make the backtracking-pattern test order-independent ([#5438](https://github.com/gptme/gptme/issues/5438)) ([`294bf9fcb`](https://github.com/gptme/gptme/commit/294bf9fcbb92373028548862938e145ec518a2b1))
 - docs: generate arewetiny from the shared code-size report ([#5294](https://github.com/gptme/gptme/issues/5294)) ([`8cf9b5927`](https://github.com/gptme/gptme/commit/8cf9b59277a9d47d0a600ca2e13cfb1d0a5eab54))
 - docs: document the Windows desktop installer in Getting Started ([#5372](https://github.com/gptme/gptme/issues/5372)) ([`6d8fa66c3`](https://github.com/gptme/gptme/commit/6d8fa66c3655ddbcec30dc3e0c5b17da8557220c))
 - refactor(cli): key tool-allowlist leniency on an explicit flag; resolve availability once ([#5402](https://github.com/gptme/gptme/issues/5402)) ([`c72569f81`](https://github.com/gptme/gptme/commit/c72569f8134dc01559fc5c11fdca00ea22be4c2e))

</p>
</details>

*(excluded 9 less relevant [commits](https://github.com/gptme/gptme/compare/097fff6532158ae3b8a00825a7e380258ee7be89...v0.39.0))*

**Full Changelog**: https://github.com/gptme/gptme/compare/097fff6532158ae3b8a00825a7e380258ee7be89...v0.39.0
