From 0c191b1296c706b5d785398dd7fecb7ab12809e3 Mon Sep 17 00:00:00 2001 From: Johan LEROY Date: Wed, 5 Aug 2026 11:35:59 +0200 Subject: [PATCH] =?UTF-8?q?release:=20git-arboretum=203.7.1=20(transcripts?= =?UTF-8?q?=20pr=C3=A9serv=C3=A9s),=20desktop=200.2.5=20(mise=20=C3=A0=20j?= =?UTF-8?q?our=20automatique)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 2 +- packages/desktop/CHANGELOG.md | 16 ++++++++++++++++ packages/desktop/package-lock.json | 4 ++-- packages/desktop/package.json | 2 +- packages/server/CHANGELOG.md | 14 ++++++++++++++ packages/server/package.json | 2 +- 6 files changed, 35 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 118ec28..3c31aa6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7933,7 +7933,7 @@ }, "packages/server": { "name": "@johanleroy/git-arboretum", - "version": "3.7.0", + "version": "3.7.1", "license": "MIT", "dependencies": { "@fastify/cookie": "^11.0.0", diff --git a/packages/desktop/CHANGELOG.md b/packages/desktop/CHANGELOG.md index 8798c5b..12ff6ba 100644 --- a/packages/desktop/CHANGELOG.md +++ b/packages/desktop/CHANGELOG.md @@ -4,6 +4,22 @@ Notable changes to the Arboretum desktop app (`packages/desktop`). The daemon an extension keep their own changelogs in `packages/server/CHANGELOG.md` and `packages/vscode/CHANGELOG.md`. +## 0.2.5 + +Ships the daemon 3.7.1, and finishes the job started in 0.2.4: an update installed while the app runs +now applies **itself**. + +- **The restart after an update no longer needs you.** 0.2.4 detected that the binary had been + replaced and offered a *Restart now* dialog. That still made the user do the work. The app now + restarts on its own when it costs nothing, which is the common case, and only asks when there is + something to lose: the dialog appears when live sessions would be interrupted (it says how many), + or when the daemon cannot be reached to find out. A previous *Later* is final for that version, so + nothing ever restarts behind your back. +- **The update is now noticed while the window is open.** Detection used to run only when the window + was re-shown (tray, Dock, second launch), so an update installed during a working session could go + unnoticed indefinitely. A cheap `stat` every 30 s covers it, by polling rather than `fs.watch`, + because a package replacing the binary or a whole directory often produces no watch event at all. + ## 0.2.4 Ships the daemon 3.7.0: terminals no longer go black, they can sit side by side in resizable columns, diff --git a/packages/desktop/package-lock.json b/packages/desktop/package-lock.json index fea87ce..e5d0fdb 100644 --- a/packages/desktop/package-lock.json +++ b/packages/desktop/package-lock.json @@ -1,12 +1,12 @@ { "name": "@arboretum/desktop", - "version": "0.2.4", + "version": "0.2.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@arboretum/desktop", - "version": "0.2.4", + "version": "0.2.5", "license": "MIT", "devDependencies": { "@types/node": "^22.10.0", diff --git a/packages/desktop/package.json b/packages/desktop/package.json index 37b4d24..d0656ec 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -1,7 +1,7 @@ { "name": "@arboretum/desktop", "private": true, - "version": "0.2.4", + "version": "0.2.5", "description": "Self-hosted multi-project AI IDE for git worktrees and Claude Code sessions", "homepage": "https://git-arboretum.com", "repository": { diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 7eca5e4..9f24288 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -3,6 +3,20 @@ Notable changes to `@johanleroy/git-arboretum` (the Arboretum daemon). The VS Code extension keeps its own changelog in `packages/vscode/CHANGELOG.md`. +## 3.7.1 + +- **Sessions launched from Arboretum lost their transcript.** When the daemon itself was started from a + Claude Code session (an agent launching the desktop app, or `arboretum` started from a Claude + terminal), it inherited that session's runtime markers and passed them on to every session it + spawned. `CLAUDE_CODE_CHILD_SESSION=1` makes the CLI believe it is a sub-session, so it turns + transcript saving off: no history, no `--resume`, `claudeSessionId` stays null, and with it the fine + busy/waiting/idle state. The visible symptom was a warning in the terminal: *Transcript saving is + off, inherited CLAUDE_CODE_CHILD_SESSION marker*. The PTY environment is now stripped of those + markers (`CLAUDECODE`, `CLAUDE_CODE_CHILD_SESSION`, `CLAUDE_CODE_SESSION_ID`, + `CLAUDE_CODE_ENTRYPOINT`, `CLAUDE_CODE_EXECPATH`, `CLAUDE_PID`, `CLAUDE_EFFORT`) for `claude` **and** + for shells, since a `claude` typed by hand in a terminal would inherit them too. Legitimate user + configuration (`CLAUDE_CONFIG_DIR`, `ANTHROPIC_*`, proxies) is untouched. + ## 3.7.0 Terminals stop going black, and they now sit side by side. Files and commits follow the terminal you diff --git a/packages/server/package.json b/packages/server/package.json index ea6e8b3..ed82888 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@johanleroy/git-arboretum", - "version": "3.7.0", + "version": "3.7.1", "description": "Self-hosted multi-project AI IDE for git worktrees and the Claude Code sessions running on them", "license": "MIT", "type": "module",