Skip to content

0.0.19

Choose a tag to compare

@CLCK0622 CLCK0622 released this 04 Oct 15:22
· 75 commits to main since this release
  • Fix: every program the agent opened with desktop_launch ran inside slate-desktop.service's cgroup, so stopping or restarting the desktop daemon (an upgrade restarts it) killed all of them, including windows already handed to the user, with whatever was unsaved. Each program now runs in a systemd scope of its own (app-slate-*.scope in app.slice), and the daemon reaps programs that exit instead of leaving zombies.
  • Fix: undo restored nothing when the task had worked in a directory above the snapshot root (the prompt's tasks run in the home directory; on a machine whose snapshot root is a subvolume inside it, every scope was "outside the snapshot root"). A scope that contains the root now covers all of it, outermost scopes first so nothing is compared twice.
  • Fix: a background desktop_launch of an application that was already running (Firefox, Mousepad, Thunar, LibreOffice open new windows from the running process) put the window, or for Firefox a new tab, on the user's screen. Firefox now gets --new-window and Mousepad --opening-mode=window, and while a background launch is pending the daemon moves that application's new window to the background as it appears and gives the user their focus back.
  • Fix: the agent's OS Skills were linked once, to the store path of whatever version ran slate skills install, and never followed upgrades: skills added later (appearance, display-brightness) never reached the agent, the ones it had were out of date, and a renamed skill stayed under its old name. The NixOS module now runs slate skills install as a user service at login and after every upgrade, and the command removes links to skills the installed version no longer ships.
  • Fix: after slated restarted (every upgrade restarts it), a running slash, including the one behind the Slate prompt, kept its dead connection and printed "slated: Broken pipe" on every task, which then ran without approvals, audit or undo. slash now reconnects and resends the request.
  • Fix: a terminal task ended twice, so the desktop showed "Slate finished" and "Slate stopped with an error" for the same answer: slash detached from slated before reporting the end, and slated took the detach for a shell that died mid-turn. slash now reports the end first, and slated ignores a second end. The notification offers undo only when the task took a snapshot.
  • Fix: in the Slate prompt, /undo (and other commands answered with notes only) showed nothing: the notes went to the activity line, which the end of the command cleared. They are now the reply.
  • Fix: opening a window on the user's screen carried the agent's cursor along (sway gives a new window the focus of every seat on its workspace and warped the agent seat's cursor to it), leaving a second cursor in the middle of the new window. The desktop now sets mouse_warping none.
  • Fix: the agent's idle pointer sat in the middle of the user's screen as a second cursor; the desktop daemon parks it on the agent's own screen when it starts.
  • Fix: a window from a process the agent started long ago (a browser it opened from its shell an hour earlier) is the user's; only windows of processes the agent started in the last 20 seconds are moved to the background.
  • slash: answers in the terminal are styled instead of showing Markdown markers (**bold**, `code`, headings, fenced blocks), also when a marker arrives split across two streamed pieces.
  • Tests: the serve and slash end-to-end suites use a private config directory, so a user's "bypass approvals by default" no longer fails the approval checks.