Skip to content

Commit f5ffced

Browse files
committed
chore(release): prepare 0.51.0
1 parent de0457f commit f5ffced

8 files changed

Lines changed: 76 additions & 38 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ GitHub Releases page; `0.8.0` is the new starting line.
1515

1616
## Unreleased
1717

18+
## 0.51.0 (2026-06-22)
19+
1820
- **Reasoning levels now match each GPT model.** The thinking selector and
1921
Shift+Tab cycle scope reasoning effort to what the active OpenAI GPT-5-family
2022
model actually accepts — e.g. gpt-5.4/gpt-5.5 no longer offer `minimal`
@@ -46,6 +48,8 @@ GitHub Releases page; `0.8.0` is the new starting line.
4648
so brew can't delete the in-use Cellar version mid-session; the new build is
4749
staged side-by-side and goes live on restart.
4850

51+
Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.51.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
52+
4953
## 0.50.0 (2026-06-20)
5054

5155
- **Silent native updates no longer crash a running session.** The downloaded

README.md

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,16 @@ It speaks the [**Agent Client Protocol (ACP)**](https://github.com/agentclientpr
5050
5151
---
5252

53-
## 🆕 What's New in 0.50.0
53+
## 🆕 What's New in 0.51.0
5454

55-
- **Safer silent updates.** The downloaded build is now staged beside the running executable and promoted at exit, instead of overwriting the live onefile bundle in place — eliminating mid-session `zlib: incorrect header check` crashes after a background update.
56-
- **Cleaner update notice.** The "Updated → vX. Restart to apply." line renders below the prompt's bottom border, not inside the input area.
55+
- **Model-aware thinking levels.** The thinking selector and Shift+Tab cycle now scope reasoning effort to what the active GPT-5-family model accepts; unsupported persisted levels are clamped before the API call.
56+
- **Cleaner diff cards.** Diff syntax highlighting no longer paints an opaque code-theme background over green/red row tints — tints show through on every terminal.
57+
- **Truecolor in VS Code terminals.** Integrated terminals reporting `TERM_PROGRAM=vscode` (and forks) are promoted to truecolor so diff tints don't fall back to 16-color mode.
58+
- **No duplicate welcome banner on reload.** Same-session reloads (`/model`, `/theme`, `/thinking`, …) keep the existing banner instead of stacking a second splash.
59+
- **Update notice moved to footer.** The persistent "Restart to apply" / "Update available" line renders below the status/clock row, clear of the input box.
60+
- **Safer Homebrew self-upgrades.** Silent `brew upgrade` runs with cleanup/auto-update disabled so the in-use Cellar version isn't deleted mid-session.
5761

58-
Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.50.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
62+
Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.51.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
5963

6064

6165
---
@@ -145,7 +149,7 @@ matches your OS — no Python, Node, or `uv` prerequisite.
145149

146150
| Platform | Recommended install | Artifact source |
147151
|---|---|---|
148-
| **🪟 Windows** | `irm https://pythinker.com/install.ps1 \| iex` | `PythinkerSetup-0.50.0.exe` from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) |
152+
| **🪟 Windows** | `irm https://pythinker.com/install.ps1 \| iex` | `PythinkerSetup-0.51.0.exe` from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) |
149153
| **<img src="https://img.shields.io/badge/-macOS-000000?style=flat-square&logo=apple&logoColor=white" alt="macOS"> / <img src="https://img.shields.io/badge/-Linux-FCC624?style=flat-square&logo=linux&logoColor=black" alt="Linux">** | `curl -fsSL https://pythinker.com/install.sh \| bash` | native tarball from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) |
150154
| **<img src="https://img.shields.io/badge/-macOS-000000?style=flat-square&logo=apple&logoColor=white" alt="macOS"> — Homebrew** | `brew install Pythoughts-labs/pythinker/pythinker-code` | auto-published Homebrew tap |
151155
| **🐳 Docker** | `docker run --rm -it ghcr.io/pythoughts-labs/pythinker-code` | GHCR multi-arch image |
@@ -173,7 +177,7 @@ pythinker # start the interactive TUI
173177

174178
### 🪟 Windows — native installer
175179

176-
`PythinkerSetup-0.50.0.exe` is a signed* Inno Setup wizard. Installs per-user
180+
`PythinkerSetup-0.51.0.exe` is a signed* Inno Setup wizard. Installs per-user
177181
into `%LOCALAPPDATA%\Programs\Pythinker`, registers `pythinker` on your user
178182
PATH (`HKCU\Environment`), broadcasts `WM_SETTINGCHANGE` so new shells see
179183
the change. **No UAC prompt.**
@@ -184,13 +188,13 @@ irm https://pythinker.com/install.ps1 | iex
184188
185189
# Or manually download the installer + checksum from the Releases page,
186190
# verify with Get-FileHash, then run:
187-
.\PythinkerSetup-0.50.0.exe
191+
.\PythinkerSetup-0.51.0.exe
188192
189193
# Open a fresh PowerShell
190194
pythinker --version
191195
```
192196

193-
**Per-machine install** (IT-managed boxes): `.\PythinkerSetup-0.50.0.exe /ALLUSERS`
197+
**Per-machine install** (IT-managed boxes): `.\PythinkerSetup-0.51.0.exe /ALLUSERS`
194198
installs to `%ProgramFiles%\Pythinker` and writes PATH to HKLM (requires admin).
195199

196200
**Upgrade:** `pythinker update` from inside the running app — it downloads
@@ -248,26 +252,26 @@ attached to every GitHub Release.
248252

249253
```sh
250254
# Debian / Ubuntu (x86_64)
251-
sudo dpkg -i pythinker-code_0.50.0_amd64.deb
255+
sudo dpkg -i pythinker-code_0.51.0_amd64.deb
252256
sudo apt-get install -f # only if dpkg reports missing deps
253257

254258
# Debian / Ubuntu (ARM64)
255-
sudo dpkg -i pythinker-code_0.50.0_arm64.deb
259+
sudo dpkg -i pythinker-code_0.51.0_arm64.deb
256260

257261
# Fedora / RHEL / openSUSE (x86_64)
258-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code-0.50.0.x86_64.rpm
259-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code-0.50.0.x86_64.rpm.sha256
260-
sha256sum -c pythinker-code-0.50.0.x86_64.rpm.sha256
262+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code-0.51.0.x86_64.rpm
263+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code-0.51.0.x86_64.rpm.sha256
264+
sha256sum -c pythinker-code-0.51.0.x86_64.rpm.sha256
261265
# Fedora / RHEL:
262-
sudo dnf install ./pythinker-code-0.50.0.x86_64.rpm
266+
sudo dnf install ./pythinker-code-0.51.0.x86_64.rpm
263267
# openSUSE:
264-
sudo zypper install ./pythinker-code-0.50.0.x86_64.rpm
268+
sudo zypper install ./pythinker-code-0.51.0.x86_64.rpm
265269

266270
# Fedora / RHEL (aarch64)
267-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code-0.50.0.aarch64.rpm
268-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code-0.50.0.aarch64.rpm.sha256
269-
sha256sum -c pythinker-code-0.50.0.aarch64.rpm.sha256
270-
sudo dnf install ./pythinker-code-0.50.0.aarch64.rpm
271+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code-0.51.0.aarch64.rpm
272+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code-0.51.0.aarch64.rpm.sha256
273+
sha256sum -c pythinker-code-0.51.0.aarch64.rpm.sha256
274+
sudo dnf install ./pythinker-code-0.51.0.aarch64.rpm
271275
```
272276

273277
Both packages drop a small `/usr/bin/pythinker` launcher that execs the real
@@ -276,8 +280,8 @@ binary under `/usr/lib/pythinker/`, so your `$PATH` stays tidy.
276280
**Verify before install:**
277281

278282
```sh
279-
sha256sum -c pythinker-code_0.50.0_amd64.deb.sha256 # Debian/Ubuntu
280-
sha256sum -c pythinker-code-0.50.0.x86_64.rpm.sha256 # Fedora/RHEL
283+
sha256sum -c pythinker-code_0.51.0_amd64.deb.sha256 # Debian/Ubuntu
284+
sha256sum -c pythinker-code-0.51.0.x86_64.rpm.sha256 # Fedora/RHEL
281285
```
282286

283287
**Upgrade:** download the new `.deb`/`.rpm` from Releases and `dpkg -i` /

docs/en/guides/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Run the native installation script to complete the installation. The canonical e
3131
curl -fsSL https://pythinker.com/install.sh | bash
3232

3333
# Pin a specific version
34-
curl -fsSL https://pythinker.com/install.sh | bash -s -- --version 0.50.0
34+
curl -fsSL https://pythinker.com/install.sh | bash -s -- --version 0.51.0
3535

3636
# Custom prefix (defaults to $HOME/.local)
3737
curl -fsSL https://pythinker.com/install.sh | bash -s -- --prefix /opt/pythinker
@@ -44,7 +44,7 @@ On Windows, run the PowerShell bootstrap. It downloads the native installer, ver
4444
irm https://pythinker.com/install.ps1 | iex
4545
```
4646

47-
You can also download `PythinkerSetup-0.50.0.exe` manually from the [latest release](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
47+
You can also download `PythinkerSetup-0.51.0.exe` manually from the [latest release](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
4848

4949
Verify the installation:
5050

docs/en/release-notes/breaking-changes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This page documents breaking changes in Pythinker Code releases and provides mig
44

55
## Unreleased
66

7+
## 0.51.0 (2026-06-22)
8+
9+
No breaking changes. This release is compatible with 0.50.0 user configuration, native installs, and session data.
10+
711
## 0.50.0 (2026-06-20)
812

913
No breaking changes. This release is compatible with 0.49.0 user configuration, native installs, and session data.

docs/en/release-notes/changelog.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,30 @@ GitHub Releases page; `0.8.0` is the new starting line.
1717

1818
## Unreleased
1919

20+
## 0.51.0 (2026-06-22)
21+
22+
- **Reasoning levels now match each GPT model.** The thinking selector and
23+
Shift+Tab cycle scope reasoning effort to what the active OpenAI GPT-5-family
24+
model actually accepts — e.g. gpt-5.4/gpt-5.5 no longer offer `minimal`
25+
(which they reject) and keep `xhigh`, while gpt-5.0 keeps `minimal`. A
26+
persisted unsupported level is clamped to the nearest supported one before
27+
it is sent, so the API never rejects it.
28+
- **Diff cards no longer show a "blue overlay".** The syntax highlighter no
29+
longer paints the code theme's opaque background (e.g. catppuccin `#1E1E2E`)
30+
onto diff lines, so the green/red row tints — and the terminal background on
31+
context lines — show through on every terminal. Previously that code-theme
32+
block masked the row tints and only blended where the terminal background
33+
happened to match it.
34+
- **VS Code-family terminals are detected as truecolor.** `color_depth()` now
35+
promotes integrated terminals reporting `TERM_PROGRAM=vscode` (including forks
36+
built on it) to truecolor — like the existing Windows Terminal promotion — so
37+
diff tints don't fall back to the colorless 16-color path when the terminal
38+
doesn't advertise `COLORTERM`.
39+
- **Model/theme switches no longer reprint the welcome banner.** A same-session
40+
reload (`/model`, `/theme`, `/thinking`, `/new`, fork, …) now keeps the
41+
existing banner and shows only its own "Switched to… / Reloading…"
42+
confirmation, instead of stacking a redundant second welcome splash below it.
43+
`/clear` and `/reload` still wipe the screen and reprint the banner.
2044
- **Update notice no longer crowds the prompt.** The persistent "Restart to apply"
2145
/ "Update available" line now renders as the last footer row — below the
2246
status/clock line — instead of directly under the input box, keeping the input
@@ -26,6 +50,8 @@ GitHub Releases page; `0.8.0` is the new starting line.
2650
so brew can't delete the in-use Cellar version mid-session; the new build is
2751
staged side-by-side and goes live on restart.
2852

53+
Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.51.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
54+
2955
## 0.50.0 (2026-06-20)
3056

3157
- **Silent native updates no longer crash a running session.** The downloaded

packages/linux-installer/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ End-user install from the current GitHub Release:
88

99
```sh
1010
# Debian / Ubuntu
11-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code_0.50.0_amd64.deb
12-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code_0.50.0_amd64.deb.sha256
13-
sha256sum -c pythinker-code_0.50.0_amd64.deb.sha256
14-
sudo dpkg -i pythinker-code_0.50.0_amd64.deb
11+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code_0.51.0_amd64.deb
12+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code_0.51.0_amd64.deb.sha256
13+
sha256sum -c pythinker-code_0.51.0_amd64.deb.sha256
14+
sudo dpkg -i pythinker-code_0.51.0_amd64.deb
1515
sudo apt-get install -f # only needed if dependencies fail to resolve
1616

1717
# Fedora / RHEL / openSUSE
18-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code-0.50.0.x86_64.rpm
19-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.50.0/pythinker-code-0.50.0.x86_64.rpm.sha256
20-
sha256sum -c pythinker-code-0.50.0.x86_64.rpm.sha256
21-
sudo dnf install ./pythinker-code-0.50.0.x86_64.rpm
18+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code-0.51.0.x86_64.rpm
19+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.51.0/pythinker-code-0.51.0.x86_64.rpm.sha256
20+
sha256sum -c pythinker-code-0.51.0.x86_64.rpm.sha256
21+
sudo dnf install ./pythinker-code-0.51.0.x86_64.rpm
2222
# or, on openSUSE:
23-
sudo zypper install ./pythinker-code-0.50.0.x86_64.rpm
23+
sudo zypper install ./pythinker-code-0.51.0.x86_64.rpm
2424
```
2525

2626
The package drops a single executable at `/usr/bin/pythinker` and a license
@@ -36,17 +36,17 @@ file at `/usr/share/doc/pythinker-code/LICENSE`.
3636
## Build
3737

3838
```sh
39-
bash packages/linux-installer/build.sh 0.50.0
39+
bash packages/linux-installer/build.sh 0.51.0
4040
```
4141

4242
Outputs to `dist/`:
4343

44-
- `pythinker-code_0.50.0_amd64.deb`
45-
- `pythinker-code-0.50.0.x86_64.rpm`
44+
- `pythinker-code_0.51.0_amd64.deb`
45+
- `pythinker-code-0.51.0.x86_64.rpm`
4646

4747
The portable tarball used by `scripts/install-native.sh` is published by
4848
the existing `release-pythinker-cli.yml` workflow under the cargo-dist
49-
target-triple naming (e.g. `pythinker-0.50.0-x86_64-unknown-linux-gnu.tar.gz`).
49+
target-triple naming (e.g. `pythinker-0.51.0-x86_64-unknown-linux-gnu.tar.gz`).
5050

5151
## CI
5252

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pythinker-code"
3-
version = "0.50.0"
3+
version = "0.51.0"
44
description = "Pythinker — an agentic CLI developed by Pythoughts-labs."
55
readme = "README.md"
66
requires-python = ">=3.12"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)