git-arboretum 3.5.1, desktop 0.2.2.
Le copier/coller livre en 3.5.0 ne fonctionnait que dans un navigateur : verifie dans l'app packagee,
`navigator.clipboard` y rejette en NotAllowedError A LA LECTURE COMME A L'ECRITURE. La copie echouait
donc silencieusement dans le contexte meme ou le probleme avait ete signale.
- feat(desktop): `arboretumDesktop.clipboard` expose par le preload, relaye en IPC vers le module
`clipboard` d'Electron (lecture + ecriture, ecriture bornee a 1 M de caracteres). Le module
`clipboard` n'etant pas accessible a un preload sandboxe, le passage par le main est obligatoire.
Constantes de canaux isolees dans src/shared/ipc.ts pour que le bundle du preload ne tire pas
`ipcMain` avec lui.
- fix(web): acces au presse-papier en cascade, du plus fiable au plus degrade : pont de l'app de
bureau, puis `navigator.clipboard`, puis `document.execCommand('copy')` pour l'ecriture. Ce dernier
recours couvre aussi l'acces LAN en clair (http://<ip>:7317), ou l'API Clipboard est indisponible.
- test: quatre cas de plus sur l'ordre de la cascade et le retour a null quand tout est refuse
(501 tests). Pont IPC verifie dans un vrai Electron : writeText/readText repondent OK, alors que
`navigator.clipboard` y refuse. Le chemin complet frappe -> copie -> collage -> SIGINT reste
couvert par verify-clipboard.mjs (Chromium CDP, ALL GREEN).
4.4 KiB
Changelog
Notable changes to the Arboretum desktop app (packages/desktop). The daemon and the VS Code
extension keep their own changelogs in packages/server/CHANGELOG.md and
packages/vscode/CHANGELOG.md.
0.2.2
- Clipboard bridge. The renderer cannot use
navigator.clipboard(Electron rejects it withNotAllowedError), so copying a terminal selection did nothing in the app even after 0.2.1. The preload now exposesarboretumDesktop.clipboard, relaying to Electron'sclipboardmodule over IPC (read and write, writes capped at 1M chars). Ships the daemon 3.5.1, whose SPA uses that bridge first.
0.2.1
Ships the daemon 3.5.0, which fixes the black window seen after updating the app.
- Black window after an update, fixed. The window loaded an
index.htmlkept from the previous version (revalidated as304because the tarball mtime is constant, so the etag did not change) whose/assets/<hash>files no longer existed. Nothing painted. If you hit it before updating, the app repairs itself now; clearing~/.config/Arboretum/Partitions/arboretum/Cachewas the manual fix. - Copy & paste in session terminals.
Ctrl+Shift+C/Ctrl+Shift+V(Cmd+C/Cmd+Von macOS); the Edit menu's Copy also works on a terminal selection now.Ctrl+Cstill interrupts. - Browse the files of a group's worktrees straight from the Groups panel.
The Electron shell itself is unchanged.
0.2.0
Distribution release: the Linux launcher icon finally shows up, Windows becomes a first-class target, and the embedded runtime loses a third of its weight.
- Launcher icon fixed (Linux). Earlier packages installed a single 895×895 icon. That size is not
declared in
hicolor/index.theme, so by the freedesktop spec every desktop environment ignored it and the launcher fell back to a generic icon. The build now generates the standard set (16 → 512) plus a proper.icofor Windows, and forcesexecutableName: arboretum(the scoped package name was producing@arboretumdesktopas binary,.desktopfile and icon name). - Package metadata. A non-empty short description in
apt show(deb.synopsiswas missing),Section: develinstead ofdefault, a single-lineCommentin the desktop entry (it was multi-line, hence invalid), plusGenericNameandKeywordsfor search. - Windows. Build scripts run on a Windows host again (
npm/npxare.cmdshims thatexecFileSynccannot resolve; the Node extraction usedunzipandbash -c cp/rm, none of which exist there). The daemon side gained what it needed to actually work:where.exeto find the Claude CLI, PowerShell as the launch shell, a.cmdaskpass so HTTPS clone/push with a token works, andtaskkill /Tso stopping a terminal takes its whole process tree down. CI has awindows-latestjob, enabled by theENABLE_WINDOWS_BUILDrepository variable, seedocs/CI_RUNNERS.md. - Auto-update repaired. Shipped binaries point at a
desktop-latestrelease that never existed, so no client could ever see an update. The release workflow now recreates that floating release on every version and attaches thelatest*.ymlfiles and installers to it, with.blockmaps for differential updates andSHA256SUMS. - Smaller download. The bundled Node runtime is pruned to the binary and its licence (no headers, no
docs, no
npm/corepack): ~205 MB → ~118 MB. Nothing at runtime used them, the daemon's dependencies being installed at build time. - macOS integration. An application menu (without it ⌘C / ⌘V / ⌘A were not bound anywhere in the
app),
app.on('activate')so the Dock icon brings back a hidden window, and a monochrome template tray icon that follows the menu-bar theme. - PATH enrichment on Windows.
%LOCALAPPDATA%\Programsand%APPDATA%\npmare added to the daemon's PATH, where the Claude CLI and global npm binaries live (this was POSIX-only).
0.1.3
Ships the 3.3.0 daemon ("Start the project": launch commands and multi-terminal boot).
0.1.2
Ships the 3.2.0 daemon (Emerald visual overhaul, light and dark themes).
0.1.1
- Fixed the missing window/launcher logo under Debian and Wayland by pinning the runtime app id
(
app.setName('Arboretum')) to theStartupWMClasswritten in the desktop entry.
0.1.0
First desktop release: an Electron shell that runs the daemon as a child process and opens its UI already authenticated, with a bundled Node runtime, a tray icon, launch-at-login and auto-update.