Skip to content
This repository was archived by the owner on Nov 14, 2026. It is now read-only.

Commit ed8381b

Browse files
authored
chore(release): prepare 0.48.0 (#163)
1 parent f6aa957 commit ed8381b

8 files changed

Lines changed: 110 additions & 39 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.48.0 (2026-06-17)
19+
1820
- **Fix: tool outputs invisible on Anthropic-compatible proxies (GLM-5.2 via z.ai).**
1921
`api.z.ai/api/anthropic` only surfaces the first content block of a multi-part
2022
`tool_result`, so the leading `<system>` summary reached GLM-5.2 while the actual tool
@@ -166,6 +168,8 @@ GitHub Releases page; `0.8.0` is the new starting line.
166168
version tracking for `didChange`, open-document state cleared on server restart, empty
167169
diagnostics payloads clear stale entries, and tightened `/usage` activity-argument validation.
168170

171+
Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.48.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
172+
169173
## 0.47.0 (2026-06-16)
170174

171175
- **Plugin marketplaces and activation policy.** `pythinker plugin marketplace` can add,

‎README.md‎

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

53-
## 🆕 What's New in 0.47.0
53+
## 🆕 What's New in 0.48.0
5454

55-
- **Plugin marketplace.** `pythinker plugin marketplace` installs Claude/Codex-compatible plugins. Safe artifacts (skills, commands, agents) auto-activate; executable artifacts (hooks, MCP servers) stay opt-in. Plugin dependencies install transitively; `plugins.options` fills `${user_config.KEY}` placeholders in hook and MCP configs.
56-
- **Live MCP management.** `/mcp disconnect`, `/mcp reconnect`, and `/mcp refresh` update a single server's toolset without restarting. Connected servers now push `tools/list_changed` notifications, so the agent's tool inventory stays current automatically.
57-
- **Agent-loop hardening.** Root sessions receive a bounded git snapshot in the prompt (`git_status_injection`). `ToolSearch`, `EnterWorktree`, and `ExitWorktree` let agents discover live capabilities and isolate work in a git worktree. Proactive compaction failures hand off explicitly instead of aborting; the spend-ceiling nudge warns before the `budget_exhausted` stop.
55+
- **LSP code intelligence.** New `LSP` tool (go-to-definition, references, hover, symbols, call hierarchy) with plugin-backed language servers, session-scoped lifecycle, passive diagnostics after edits, and structured errors when a server lacks `implementationProvider`.
56+
- **TUI theme and streaming overhaul.** Centralized theme system (`/theme`), 25 Hz paced streaming, syntax-highlighted diff cards, report panel polish, and smoother interactive/non-interactive live views — no preamble ghosting, mid-stream scrollback flicker, or fossilized spinners during tool transitions.
57+
- **Proxy and tool-call hardening.** Tool results flatten for Anthropic-compatible proxies (fixes invisible GLM/z.ai outputs); `ToolSearch` is hidden from providers that cannot use deferred discovery; diff cards strip ANSI escapes; collapsed ReadFile cards show line counts and previews.
5858

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

6161

6262
---
@@ -146,7 +146,7 @@ matches your OS — no Python, Node, or `uv` prerequisite.
146146

147147
| Platform | Recommended install | Artifact source |
148148
|---|---|---|
149-
| **🪟 Windows** | `irm https://pythinker.com/install.ps1 \| iex` | `PythinkerSetup-0.47.0.exe` from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) |
149+
| **🪟 Windows** | `irm https://pythinker.com/install.ps1 \| iex` | `PythinkerSetup-0.48.0.exe` from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) |
150150
| **<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) |
151151
| **<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 |
152152
| **🐳 Docker** | `docker run --rm -it ghcr.io/pythoughts-labs/pythinker-code` | GHCR multi-arch image |
@@ -174,7 +174,7 @@ pythinker # start the interactive TUI
174174

175175
### 🪟 Windows — native installer
176176

177-
`PythinkerSetup-0.47.0.exe` is a signed* Inno Setup wizard. Installs per-user
177+
`PythinkerSetup-0.48.0.exe` is a signed* Inno Setup wizard. Installs per-user
178178
into `%LOCALAPPDATA%\Programs\Pythinker`, registers `pythinker` on your user
179179
PATH (`HKCU\Environment`), broadcasts `WM_SETTINGCHANGE` so new shells see
180180
the change. **No UAC prompt.**
@@ -185,13 +185,13 @@ irm https://pythinker.com/install.ps1 | iex
185185
186186
# Or manually download the installer + checksum from the Releases page,
187187
# verify with Get-FileHash, then run:
188-
.\PythinkerSetup-0.47.0.exe
188+
.\PythinkerSetup-0.48.0.exe
189189
190190
# Open a fresh PowerShell
191191
pythinker --version
192192
```
193193

194-
**Per-machine install** (IT-managed boxes): `.\PythinkerSetup-0.47.0.exe /ALLUSERS`
194+
**Per-machine install** (IT-managed boxes): `.\PythinkerSetup-0.48.0.exe /ALLUSERS`
195195
installs to `%ProgramFiles%\Pythinker` and writes PATH to HKLM (requires admin).
196196

197197
**Upgrade:** `pythinker update` from inside the running app — it downloads
@@ -249,26 +249,26 @@ attached to every GitHub Release.
249249

250250
```sh
251251
# Debian / Ubuntu (x86_64)
252-
sudo dpkg -i pythinker-code_0.47.0_amd64.deb
252+
sudo dpkg -i pythinker-code_0.48.0_amd64.deb
253253
sudo apt-get install -f # only if dpkg reports missing deps
254254

255255
# Debian / Ubuntu (ARM64)
256-
sudo dpkg -i pythinker-code_0.47.0_arm64.deb
256+
sudo dpkg -i pythinker-code_0.48.0_arm64.deb
257257

258258
# Fedora / RHEL / openSUSE (x86_64)
259-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.47.0/pythinker-code-0.47.0.x86_64.rpm
260-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.47.0/pythinker-code-0.47.0.x86_64.rpm.sha256
261-
sha256sum -c pythinker-code-0.47.0.x86_64.rpm.sha256
259+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code-0.48.0.x86_64.rpm
260+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code-0.48.0.x86_64.rpm.sha256
261+
sha256sum -c pythinker-code-0.48.0.x86_64.rpm.sha256
262262
# Fedora / RHEL:
263-
sudo dnf install ./pythinker-code-0.47.0.x86_64.rpm
263+
sudo dnf install ./pythinker-code-0.48.0.x86_64.rpm
264264
# openSUSE:
265-
sudo zypper install ./pythinker-code-0.47.0.x86_64.rpm
265+
sudo zypper install ./pythinker-code-0.48.0.x86_64.rpm
266266

267267
# Fedora / RHEL (aarch64)
268-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.47.0/pythinker-code-0.47.0.aarch64.rpm
269-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.47.0/pythinker-code-0.47.0.aarch64.rpm.sha256
270-
sha256sum -c pythinker-code-0.47.0.aarch64.rpm.sha256
271-
sudo dnf install ./pythinker-code-0.47.0.aarch64.rpm
268+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code-0.48.0.aarch64.rpm
269+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code-0.48.0.aarch64.rpm.sha256
270+
sha256sum -c pythinker-code-0.48.0.aarch64.rpm.sha256
271+
sudo dnf install ./pythinker-code-0.48.0.aarch64.rpm
272272
```
273273

274274
Both packages drop a small `/usr/bin/pythinker` launcher that execs the real
@@ -277,8 +277,8 @@ binary under `/usr/lib/pythinker/`, so your `$PATH` stays tidy.
277277
**Verify before install:**
278278

279279
```sh
280-
sha256sum -c pythinker-code_0.47.0_amd64.deb.sha256 # Debian/Ubuntu
281-
sha256sum -c pythinker-code-0.47.0.x86_64.rpm.sha256 # Fedora/RHEL
280+
sha256sum -c pythinker-code_0.48.0_amd64.deb.sha256 # Debian/Ubuntu
281+
sha256sum -c pythinker-code-0.48.0.x86_64.rpm.sha256 # Fedora/RHEL
282282
```
283283

284284
**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.47.0
34+
curl -fsSL https://pythinker.com/install.sh | bash -s -- --version 0.48.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.47.0.exe` manually from the [latest release](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
47+
You can also download `PythinkerSetup-0.48.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.48.0 (2026-06-17)
8+
9+
No breaking changes. This release is compatible with 0.47.0 user configuration, native installs, and session data.
10+
711
## 0.47.0 (2026-06-16)
812

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

‎docs/en/release-notes/changelog.md‎

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

1818
## Unreleased
1919

20+
## 0.48.0 (2026-06-17)
21+
22+
- **Fix: tool outputs invisible on Anthropic-compatible proxies (GLM-5.2 via z.ai).**
23+
`api.z.ai/api/anthropic` only surfaces the first content block of a multi-part
24+
`tool_result`, so the leading `<system>` summary reached GLM-5.2 while the actual tool
25+
payload was dropped — every Shell/ReadFile/Grep result read as a "success" summary with
26+
no output (reproduced from a live GLM-5.2 session transcript). Tool results are now
27+
flattened to a single text block for non-native hosts via a transport-keyed resolver
28+
(`resolve_tool_result_mode`), while genuine `api.anthropic.com` keeps the rich
29+
multi-part form. The same single-string mode is applied defensively to non-native
30+
OpenAI-compatible hosts (lossless for text), most relevant to GLM served over z.ai's
31+
OpenAI endpoint; genuine `api.openai.com` is unchanged.
32+
- **TUI: diff cards strip terminal control sequences.** Inline file-diff bodies
33+
(Update/Write cards, approval and pager diffs) now sanitize ANSI/control escapes
34+
from the untrusted file and model-supplied edit content before rendering, so a
35+
crafted edit can no longer smuggle cursor-movement or color escapes into the
36+
terminal through a diff card. Visible text is preserved.
37+
- **TUI: interactive resize/handoff ghosting.** Scrollback handoffs in prompt mode
38+
now fully suppress the transient preamble (agent stream body, verb spinner, and
39+
tips) while ``run_in_terminal`` emits permanent scrollback, so stacked
40+
``Vibing…`` rows and duplicate tips no longer fossilize during tool transitions.
41+
Terminal resize triggers a hard preamble invalidation and briefly hides tips
42+
while prompt_toolkit settles at the new geometry. Handoffs defer during resize
43+
recovery; failed emits leave scrollback queued for retry instead of dropping it.
44+
Outermost turn end always flushes completed prose even when recovery is active,
45+
so PTY sessions no longer stall on ``Finalizing…`` without emitting the response.
46+
- **DiffLive streaming scroll geometry.** Non-interactive live streaming now uses
47+
cursor-down only when the next row provably fits the visible terminal region
48+
(frame origin + target row vs height); otherwise it falls back to newline scroll,
49+
preventing mid-viewport overwrite when the live frame starts below the top of the
50+
screen. Set `PYTHINKER_DIFF_LIVE_LOG` to trace DiffLive refresh/growth ticks.
51+
- **TUI: clearer collapsed ReadFile cards.** Collapsed reads now show a line-count
52+
summary with the file name (e.g. `Read 140 lines from console.py`) plus a short,
53+
width-capped preview of the leading lines, instead of the generic `Read 1 file`
54+
that made it look like no content was returned. Empty/unknown reads stay truthful
55+
(`Read 0 lines` / `Read file content`), and expanded mode still shows the full file.
56+
- **Cleaner terminal report rendering.** Structured ` ```report ` outputs now suppress duplicated trailing summaries, keep only artifact footers after the report, compact long finding locations, and switch large reports to a borderless dashboard layout for faster terminal scanning.
57+
- **Unknown subagent-type recovery hints.** Invalid types still fail loudly, but
58+
`Agent`/`RunAgents` errors now include best-effort suggestions for common
59+
cross-harness aliases (e.g. `general-purpose` → `coder`) and close typos when the
60+
suggested subagent exists in the current session. No silent substitution; the full
61+
valid-type list is unchanged.
62+
- **TUI: smoother agent-working streaming.** Buffered text now reveals at an even,
63+
bounded rate instead of backlog-proportional lurches, and completed prose is no
64+
longer committed to scrollback mid-stream — it stays in the in-place live preview
65+
and is flushed once at a tool transition or turn end, so the prompt no longer
66+
pops/flickers on every paragraph boundary during a stream. The prompt stays in a
67+
**Finalizing** state (not a false idle `❯`) while scrollback is pending, and clipped
68+
live output shows an **earlier output hidden · Ctrl+O expand** marker instead of
69+
silently dropping rows.
70+
71+
- **TUI tool-card diffs use syntax highlighting.** Edit/Write inline diffs now share the
72+
approval/pager ``PythinkerSyntax`` pipeline (``tui.code_theme``, file-extension lexer) while
73+
keeping the compact boxless card layout.
74+
- **TUI tool-card diff wrap alignment.** Compact edit/write diffs now render in a three-column
75+
grid (line number, ``+``/``-`` marker, code body) so wrapped continuation rows stay aligned
76+
under the code column and repeat the diff sign instead of orphaning at column 0.
77+
78+
- **TUI: fix fossilized pinned spinner in interactive mode.** All scrollback emissions in `_PromptLiveView` (content blocks, tool cards, notifications, steer echoes, turn recaps) now route through `run_in_terminal` instead of calling `console.print` directly, preventing prompt_toolkit's ephemeral preamble from being captured into permanent scrollback. `ty` type checker is now blocking for the `pythinker-code` package.
79+
80+
- **TUI report prose blocks:** Agent summaries with a parent bullet plus aligned field rows (`Issue` / `Anchor`, `Finding` / `Severity`, etc.) now render as structured blocks with preserved hierarchy, per-block label columns, and correct continuation wrap indent instead of flattening into sibling markdown bullets.
2081
- **LSP `go_to_implementation` now returns a structured error when the server does not advertise `implementationProvider`** instead of surfacing a raw exception. The client also advertises `implementation` capability during the LSP handshake so servers like Pyright enable the provider automatically.
2182
- **TUI Rich Live streaming matches interactive smoothness.** Non-interactive
2283
shell mode now emits stable markdown to scrollback during streams, drains paced
@@ -109,6 +170,8 @@ GitHub Releases page; `0.8.0` is the new starting line.
109170
version tracking for `didChange`, open-document state cleared on server restart, empty
110171
diagnostics payloads clear stale entries, and tightened `/usage` activity-argument validation.
111172

173+
Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.48.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest).
174+
112175
## 0.47.0 (2026-06-16)
113176

114177
- **Plugin marketplaces and activation policy.** `pythinker plugin marketplace` can add,

‎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.47.0/pythinker-code_0.47.0_amd64.deb
12-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.47.0/pythinker-code_0.47.0_amd64.deb.sha256
13-
sha256sum -c pythinker-code_0.47.0_amd64.deb.sha256
14-
sudo dpkg -i pythinker-code_0.47.0_amd64.deb
11+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code_0.48.0_amd64.deb
12+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code_0.48.0_amd64.deb.sha256
13+
sha256sum -c pythinker-code_0.48.0_amd64.deb.sha256
14+
sudo dpkg -i pythinker-code_0.48.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.47.0/pythinker-code-0.47.0.x86_64.rpm
19-
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.47.0/pythinker-code-0.47.0.x86_64.rpm.sha256
20-
sha256sum -c pythinker-code-0.47.0.x86_64.rpm.sha256
21-
sudo dnf install ./pythinker-code-0.47.0.x86_64.rpm
18+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code-0.48.0.x86_64.rpm
19+
curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.48.0/pythinker-code-0.48.0.x86_64.rpm.sha256
20+
sha256sum -c pythinker-code-0.48.0.x86_64.rpm.sha256
21+
sudo dnf install ./pythinker-code-0.48.0.x86_64.rpm
2222
# or, on openSUSE:
23-
sudo zypper install ./pythinker-code-0.47.0.x86_64.rpm
23+
sudo zypper install ./pythinker-code-0.48.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.47.0
39+
bash packages/linux-installer/build.sh 0.48.0
4040
```
4141

4242
Outputs to `dist/`:
4343

44-
- `pythinker-code_0.47.0_amd64.deb`
45-
- `pythinker-code-0.47.0.x86_64.rpm`
44+
- `pythinker-code_0.48.0_amd64.deb`
45+
- `pythinker-code-0.48.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.47.0-x86_64-unknown-linux-gnu.tar.gz`).
49+
target-triple naming (e.g. `pythinker-0.48.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.47.0"
3+
version = "0.48.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)