fix(coding-agent): make setThinkingLevel idempotent

switchSession() was appending spurious thinking_level_change entries
to session log on resume because setThinkingLevel() unconditionally
persisted. Now only persists if the level actually changes.

fixes #1118
This commit is contained in:
Mario Zechner 2026-02-01 00:14:49 +01:00
parent c9fa28e626
commit 7eae0a7d30
2 changed files with 11 additions and 3 deletions

View file

@ -8,6 +8,7 @@
### Fixed
- Fixed `switchSession()` appending spurious `thinking_level_change` entry to session log on resume. `setThinkingLevel()` is now idempotent. ([#1118](https://github.com/badlogic/pi-mono/issues/1118))
- Fixed clipboard image paste on WSL2/WSLg writing invalid PNG files when clipboard provides `image/bmp` format. BMP images are now converted to PNG before saving. ([#1112](https://github.com/badlogic/pi-mono/pull/1112) by [@lightningRalf](https://github.com/lightningRalf))
## [0.50.7] - 2026-01-31