Repository navigation
FormDeck 0.49.0: copy a slide as a picture, remove backgrounds on your computer, one-click slide backgrounds with opacity, Follow agent, and a sharper Slide Show - #31
Merged
Conversation
The Editing cell of Everything in the box now names colour opacity, one-click slide backgrounds, Remove Background on pictures, Copy Slide as Picture and the reorderable side panel. Built for agents says the dock opens on Claude Code and describes the Follow agent switch in the bottom bar. The version badge is left for the lead.
Adds the button and its row as the first child of .fd-home-main so the space exists from first paint: the row is a fixed var(--ctl-md) high and the label is constant, so enabling or disabling it later changes only opacity and never layout. The button uses the existing ghost small button with the chevronLeft icon from ui/icons.ts, the same arrow FormVis uses for Back to Canvas. It starts aria-disabled with a plain title; behaviour follows in the next commits. Main's top padding drops from 32px to 16px (20px to 12px when narrow) so the page does not sit lower than the row it gained.
…deck list (0.49.0) Home is a full-window view over the open deck tabs, so the deck the person was working on is still attached underneath. Home now keeps the list setOpenDecks already receives from renderTabs, which carries each tab's active flag, and the button goes to the active deck (or the last open one) through hooks.openDeck, the same path a card or the Open decks list uses. With no deck open it shows the Recent decks page; with no deck open and an empty library, or when that page is already showing, it is aria-disabled with a title that says why. The state is patched on setOpenDecks, show and renderDecks with setTitle and one attribute check, so nothing is rebuilt. aria-disabled instead of disabled keeps the button in the tab order and its title readable by keyboard users. app.ts is untouched.
…49.0) The live client now reads the engine's agent.focus message (deck, slide id, index, tool, time) and passes it to a new onAgentFocus hook, so the Follow agent toggle can move the editor to the slide the agent is working on. Fields are checked one by one; a missing slide id stays null and the index is used instead.
Alt+Left (the browser's own Back) was free in the keymap, the menus and the palette, so Home listens for it on the document while it is open, no dialog is open and focus is not in a text field. Esc does the same when a deck is open, but only after Home's own Esc steps (close the card menu, dismiss the delete confirmation, clear the card selection) have had their turn: those steps record the event in a WeakSet so one key press never both closes a menu and leaves Home. Esc never reaches the search box's clear, since text fields are skipped, and with no deck open Esc does nothing. The tooltip carries the Alt+Left shortcut through formatKeys so it reads with the Mac glyphs on macOS.
The library list, info.json and every summary response now include file, the path the deck was last saved to or opened from, or null when it has none. Home reads it to show where a deck lives next to its name. Older info.json files gain the field the next time the deck is saved.
…ep (0.49.0) Save As with a path used to link the file and leave the title alone, so the tab, title bar and Home kept the old name. The save route now takes the new file name as the deck title (unless the target is the file already linked or a folder), exports the file with that title, then applies the title and the file link as one step so every window gets one update, and rewrites info.json so the library list agrees at once. The reply carries the title. A failed write changes nothing.
copyPicture draws the copy sheets with a small landscape inside the front sheet, so Copy Slide as Picture reads apart from plain Copy in the Edit menu, the slide right-click menu and the command palette. Inline currentColor SVG through the same L() stroke helper as copy.
…e returns (0.49.0) DeckSummary gains file, the path the deck is linked to, and the save reply gains title, the name the deck has after a Save As. Types only; the window code that reads them follows.
A new follow service keeps the last agent focus per deck and sends an agent.focus live message (deck, slide, 0-based index, tool, agent, time in ms) to the window connections subscribed to that deck. Store.step and agent undo call it after the ops broadcast when the edit comes from an agent: origin agent, an MCP session key, or a live client that is not a window or a share guest. The person's own edits never send it. Bursts coalesce per deck to one message every 250 ms, ending with the latest focus; a delete focuses the slide that took the deleted one's place.
…under (0.49.0)
GET /decks/{id}/download takes an optional title and writes it into the exported copy and its file name without touching the stored deck. A browser Save As picks its file name after the deck is already open, so this lets the file hold the same name the tab is about to show. downloadUrl gains the matching argument.
…9.0) A window that opens a deck, or reconnects, gets the deck's last agent.focus right after the snapshot, with the index recomputed and nothing sent when that slide is gone, so Follow agent can jump at once. Share guests never get it. A step sent on the live socket by a client that is not a window or a guest is an agent edit and its focus names the tool live.
… picked (0.49.0) The browser save picker returns a file handle, not a path, so the engine never saw the new name and the tab kept the old one. After the picker closes the window takes the handle's file name without its extension as the deck title, asks the download for a copy carrying that title so the file and the tab agree, and sets the title in the open deck, which updates the tab, the title bar and the document title in place.
…ed (0.49.0) New services/bg_model.py: one model manager entry for Remove Background, the same U2-Net file FormVis (u2net-onnx) and FormLit (subject) use for their small, fast path: u2net.onnx from the rembg v0.0.0 release, 175,997,641 bytes, SHA-256 8d10d2f3...b491, Apache-2.0. It lands in <data folder>/Models (FORMDECK_MODELS_DIR overrides) with a sidecar JSON recording url, hash and licence. The download runs on a thread with progress (received bytes), cancel (the partial is deleted), resume of a partial file through a Range request (the partial is hashed first; a server that answers 200 restarts cleanly), a size cap at the pinned length, and refusal of anything whose SHA-256 does not match: the file is deleted and the error names both hashes. remove() cancels and deletes the model.
…0.49.0) Save on a deck with no linked file and the default Untitled deck name only wrote to the library, so nothing ever asked for a name and the tab stayed Untitled. It now opens the Save As picker when the window can name a file (the desktop app or a browser with the file picker); the chosen file name becomes the deck name in the tab, title bar and Home. Decks that already have a name or a linked file save as before.
…d (0.49.0) The shared dock module in src/dock/ is hashed by setup/agents.py and never edited here, so the default tab is handled by a subclass in its own file. This first step adds the helpers that read the remembered tab from the dock's storage key and the class itself, which asks the adapter's agentStatus for the Claude Code answer when the dock is mounted and again when the window regains focus, so a person who installs Claude Code in another terminal is noticed at the next open. Nothing opens differently yet and nothing uses the class.
… (0.49.0) call_tool marks every MCP call (and the in-app chat's calls through it) with its tool name, so each agent.focus says which tool moved the agent. Edits reach the window through the store hook; when a call made no slide edit but targets exactly one slide (render_slides or lint_deck of one slide, get_deck or animate list on one slide), it focuses that slide. build_deck and open_file focus the new deck's first slide, as the build is not incremental. The poster-frame pass after an edit stays quiet so it does not pull focus off the slide the tool worked on. A failing focus lookup never turns a tool result into an error.
…0.49.0) New services/bg_remove.py runs the pinned U2-Net file through onnxruntime on the CPU provider only, with the preprocessing FormVis's _u2net_onnx and FormLit's nets.u2net use: the picture resized to 320 by 320 (Lanczos), scaled by its maximum, ImageNet mean and deviation, NCHW float32; the first output min-max normalised and resized back to the picture's size (Lanczos). cut() opens the picture (EXIF orientation applied, first frame of an animation), refuses anything over 64 megapixels, multiplies the matte into any alpha the picture already had and returns an RGBA PNG plus the share of mostly opaque pixels. Missing model, missing runtime, unreadable file and too-large picture are separate exceptions so the route can answer 409, 503, 415 and 413. The session is cached and serialised; forget() drops it when the model is removed.
…in the colour picker (0.49.0)
The colour picker gains an Opacity row under the standard colours: a preview swatch on a checkerboard, a 0 to 100 slider and a percent field (arrows step 1, Shift with the arrows 10, Enter applies). Every colour it returns, from the theme and standard grids, tint or shade, or Custom, carries that opacity as the deck format's alpha: #RRGGBBAA for hex, { scheme, alpha } for theme colours. The row starts at the alpha of the current colour a caller passes, so a swatch picked afterwards keeps it, and the preview (or Enter) re-applies the current colour at the new opacity. Hovering a swatch previews it at the chosen opacity by patching one custom property on the preview only. Callers that cannot take alpha pass opacity: false. alphaOf and withAlpha are exported for callers.
…n step with the tab (0.49.0) Each recent-deck card carries the deck name and its saved path in its tooltip, with no change to the card's markup or size. Home now adopts the name and path of every open deck each time the tab strip updates, patching the existing card text in place, so a deck renamed by Save or Save As reads correctly on Home before the library is fetched again, and no card is added or rebuilt.
…0.49.0) renderTabs already hands the tab strip and Home one list of open decks. It now includes the path the deck is linked to, so Home can show it on the card the moment Save As links the file. One field added to the existing list; the tab strip is untouched.
… when no tab is remembered (0.49.0) When the dock is opened by the plain toggle (the chord, the Terminal command, the View menu) and the remembered tab is empty or claude, the class asks the module to open without seeding a tab and then lands on Claude Code. If the engine says Claude Code is not installed it shows a shell tab and then asks for Claude Code once, which makes the module's own note appear with its install command and copy button. A remembered chat, shell, Codex, Cursor or Antigravity tab goes the module's way untouched, and New Terminal keeps opening a shell. A dock restored open at start follows the same rule once it is mounted.
New routers/background.py, registered in main.py under /api:
- GET /background/model: id, name, installed, runtime (onnxruntime and numpy importable), downloading, progress, received, size, licence, SHA-256 and the last error.
- POST /background/model (202): starts or resumes the one-time download and returns the status; DELETE cancels a running download and removes the file.
- POST /background/remove: JSON {media} for a deck picture, or multipart with one file field for uploaded bytes. Answers {media, coverage, ms} with the cut-out stored like an upload as '<name> (no background).png', or the PNG itself with ?format=png. 404 unknown media, 415 not a raster picture, 413 over 64 megapixels, 409 model not installed (X-Formdeck-Model names it), 503 runtime missing or the model failed.
The contract is posted for bgr-ui in the team's requests file.
…nd FormLit do (0.49.0) The not-installed message divided 175,997,641 bytes down to 175 MB while the family's apps and the window's install button say 176 MB; it now rounds to the nearest megabyte so the 409 text and the install offer agree.
…49.0) The picker remembers the last ten colours it returned, alpha included, under formdeck.recentColours (mirrored with the other UI settings), and shows them as a Recent row on a checkerboard so a translucent colour reads as one. A recent colour is applied exactly as it was picked, so a 40% fill picked once is one click the next time; a picker opened with opacity: false applies it opaque. The title names the colour and its opacity. The row is built with the rest of the popover while it is hidden, so opening it never shifts anything on screen.
…t matches the pin (0.49.0) A person on a closed network can copy u2net.onnx into <data folder>/Models by hand. Install now hashes a file of the pinned length that has no sidecar before downloading anything: when its SHA-256 matches, the sidecar is written and the model is ready in under a second; when it does not, the download replaces it as before. The sidecar writing is shared by both paths (_record).
app.ts now constructs FormdeckDock around the same formdeckDock adapter and imports Dock only as a type, so the Terminal and Claude Code commands, the Chat command, the ask line and the dock's own buttons behave as before while the plain open uses the new default.
…(0.49.0)
POST /api/decks/{id}/steps with origin agent now sends agent.focus naming the tool steps, and GET /api/decks/{id}/agent-focus returns {focus} with the deck's last agent focus (index recomputed, null when there is none or its slide is gone, 404 for an unknown deck), so a window that turns Follow agent on can jump at once. The route reads only and is not open to share guests.
Steps sent over HTTP or the live socket may address a slide by its position, ["slides", 2, ...], rather than by {id}. The store's touched_slides reads only id paths, so those edits sent no focus. The follow service now falls back to an index path and focuses the slide at that position. Found by the end-to-end run: an HTTP agent step and a live agent client's step.
…9.0) Adds The agent dock (opens on Claude Code, falls back to a shell with the install command, remembers the person's own tab) and Following the agent (status bar switch left of Notes, View > Follow Agent, Alt+Shift+F, what it does in Normal view and in Slide Sorter, when it waits) to the Agents chapter, the shortcut row, and the status bar list. README says what the dock shows when Claude Code is missing.
…ster (0.49.0) Decks written by earlier formdeck exports (and other python-pptx tools) carry python-pptx's built-in speaker icon as the video's blipFill. Reading that back made it the poster, so the editor and every thumbnail showed a grey icon instead of the video. read_pic now skips the poster when a video's picture fill is byte-for-byte that stock image; a real poster from PowerPoint or from formdeck is read as before.
… it plays (0.49.0)
New rule .fd-video.is-poster:not(.is-played) { opacity: 0 }, folded into the existing hidden-until-framed selector list. The renderer marks a video that has a poster frame with is-poster and draws the poster as the element's underlay; the video element keeps its box and only its opacity changes, so nothing moves when it starts. Print mode never sets is-poster, so the rasteriser still reads the video's poster attribute.
…r video (0.49.0) The document-level playing listener now adds is-played next to is-frame, which is what lets a poster video show itself (and hide its poster underlay) once it really plays. store() no longer writes the freshly captured start still into the poster attribute of a video that has its own poster frame (is-poster), so the still capture cannot replace the person's chosen poster.
…tarts (0.49.0) prepareStills, which runs when a deck opens in the editor and when a show starts, now also holds a decoded Image of each video's poster (the same /api/media URL the underlay uses), beside the start still it already requested. A slide with a poster video then paints its poster in the same frame as the rest of the slide instead of one frame later. Checked at 4x CPU: going to the slide and opening the show give no frame between the previous picture and the poster.
…ide shows again (0.49.0) With Rewind after Playing on, finish() now also removes is-played after seeking to the clip's start, so the poster frame is shown again once the video ends, as before it played. Without rewind the last frame stays. preparePlayback's reset of a paused clip removes is-played too, so returning to a slide shows its poster again instead of the frame where it stopped.
…e it was (0.49.0) Verify V5: Esc did not close the slide thumbnail's right-click menu. PopupMenu had no key handling, so Esc went to the window handler, which cleared the selection and left the menu open. A standalone PopupMenu (every right-click menu built on it: slide and master thumbnails, the sorter, the stage and its elements, deck tabs, the panel dock, rulers, tables, edit points, Present options) now adds one capture keydown listener on window. While open, Esc closes an open submenu first, otherwise the menu, then focuses the element that had focus when the menu opened (recorded in openAt while the panel was hidden, never the body or the menu itself). preventDefault and stopImmediatePropagation keep that Esc from also clearing the selection. For a thumbnail that element is the slide list, the listbox whose selected option is the thumbnail, so the arrow keys carry on from that slide. Bar menus are not standalone and keep their behaviour.
…ack to the card (0.49.0) Found while checking that the other right-click menus share the V5 fix. Home's card menu focuses its first row, and the menu lives in #overlay-root, outside Home's root, so the Esc branch in the root's keydown never saw the key and the menu stayed open. The menu now handles Esc itself: it closes, marks the event consumed and stops it, so Home's document handler does not also read it as Back to decks, and focus returns to what had it before openMenu moved focus to the first row, the card.
…stead of dropping it (0.49.0) Found while checking that the other right-click menus share the V5 fix. The ribbon's and Quick Access Toolbar's right-click menu (ActionMenu) focuses its first row and already closed on Esc with close(true), but contextMenu opens it with no opener, so focus fell to the body. ActionMenu.open now takes the focused element as the opener when none is passed (never the body or its own rows). The Quick Access Toolbar's More button still passes itself.
…-click menus and poster frames (0.49.0) Shell: View > Agent Dock replaces Terminal and Hide Terminal in the manual and the View menu row; the title bar's agent button, and the new Preferences Agents switch, all agree on one dock state. Esc closes a right-click menu and gives focus back. Poster frame: where the poster shows (editor, thumbnails, show, Presenter View), what happens after a video ends, and that a video with no poster exports its first frame to PNG, PDF and .pptx.
One clause in the Built for agents paragraph. The version badge is untouched.
…y sharp (0.49.0) Show views used transform: scale(k) over a slide laid out at design size, so an element animation's compositing layer (and on WebKit the scaled inner it forces into a layer) was rasterised small and stretched about 2.7x until the animation was cancelled. Show views now put CSS zoom: k on the slide inner instead, so layout and every layer are at screen size. Edit, thumbnail and print views keep the transform. Autofit and text effects are still measured at zoom 1, so they match the editor and the exports. The same pass compares every paragraph's line boxes at zoom 1 and at zoom k, and a view whose lines would differ goes back to the transform, so the show never reflows text. Element boxes match 0.47.0 within 0.014 px. Glyphs can sit up to about 1 px higher or lower because font ascent and descent now round at screen size.
…ter frame until it plays (0.49.0) mediaBlock and elementHtml ignored the poster in the editor and the show: the element underlay and the video's poster attribute were always the engine's start still, and once loaded the video was sought to its start and shown, so the poster set by Poster Frame (Current Frame or Picture), by an agent or by a .pptx never appeared. Now, outside print mode, a video with a poster draws the poster as its underlay (center / contain, as the video), carries the poster attribute and the is-poster class, and stays at opacity 0 until it plays (the slides.css rule and the playing listener from the previous commits). Thumbnails get the same underlay instead of relying on the paused video element showing its poster. patchMedia keeps is-played only while the poster is unchanged, so a new poster shows at once after a preview. A video without a poster draws as before.
… (0.49.0) In print mode, which PNG and PDF export, copy as picture and the Home preview rasterise, a video with no poster had no poster attribute, so raster.ts videoNode drew a black box with a grey play icon. It now gets the start still the window already captures and caches in the engine for every video (/api/media/<id>/still at the clip's start) as its poster attribute, and the rasteriser draws that frame. When no still exists yet the image fails to load and the old icon is drawn, as before. The src keeps its #t fragment, so the browser print path is unchanged.
…8n scanner reads the file (0.49.0)
The Preferences Agents note built its text with formatKeys('Mod+<backtick>') inside a template literal, and the i18n scanner paired every later quote in dialogs-file.ts wrongly, listing 11 junk strings. The string is now 'Mod+\x60', the same character, so the shortcut renders as before and ./formdeck i18n check drops from 66 problems to 55.
…ew MB and the not-a-picture note (0.49.0) Part 61 adds the two colour picker field labels and their tooltips (Hex colour, Custom colour), the size wording used while the model's size is unknown, and the toast text for a pasted address that turns out not to be a picture. All 25 languages.
…9.0) Part 62: the label the undo history shows for the title chosen in the save-name flow.
…gs built from keyed pieces (0.49.0) NOT_TEXT gains U2-Net and the eight colour scheme names, the 22 texts only agents read, the six tooltips with a literal shortcut or Esc suffix (the runtime strips the suffix before lookup), and seven strings that are composed from keyed pieces or are CSS and file text. With the dialogs-file.ts fix and parts 61 and 62, ./formdeck i18n check reports 0 problems, as on main.
…gine's 503 text (0.49.0) The engine message and its i18n key (part52 key 39) named ONNX Runtime, which the content rules do not allow in UI text. Both now say the model runtime, and all 25 locale files use the same wording as the existing model-runtime strings in part52. Backend tests: 360 passed under the lock. ./formdeck i18n check passes.
…s text (0.49.0) One sentence in Presenting: slides are laid out at screen size in the show, with a fallback that keeps line breaks, and the small difference in letter height.
…zoom (0.49.0) PS-1 from verify-c. Under zoom, each paragraph's strut (the inherited UI font) and its runs round ascent and descent at screen size instead of design size. In Chromium that moved a text box's lines down by a constant offset, and at k=2 the gap also grew down the box (3.1 pt on a 13 pt body at 1440x900). The guard compared only left and width, so it never fell back. fit now measures each text flow's first line at zoom 1 and at zoom k and gives the flow a translate that cancels the constant offset, so line tops land on the design-size positions. lineBoxes also records each line's top, and sameLines requires tops within 0.25 pt, so a box that still drifts sends the view back to the transform. setScale re-fits a connected view when its zoom changes, because the offsets depend on k. Edit, thumbnail and print views are untouched.
Verify-b SF-1: turning on Preferences, Agents, Show the agent dock opened the dock, and about a second later the Claude Code terminal took focus outside the dialog (the shared dock focuses its active tab when the open animation settles), so Esc no longer closed Preferences and the focus trap was lost. dock/ is the family's shared module and stays unedited. FormdeckDock now listens for focusin on the dock root: while any modal dialog is open, it sends focus straight back to where it came from (the Preferences switch), or to the open dialog when there is no previous element. Every path into the dock (settled, tab select, a new terminal, restart) goes through focus, so one guard covers them. With no dialog open nothing changes. Checked at 4x CPU with a stub claude on PATH so the Claude Code tab is active: focus stays on the switch at 0.5, 1.5, 3 and 5 s, Esc closes Preferences, aria-expanded goes false, focus returns to the gear, no input-free layout shift (dark 1440x900, light 1280x800). The build before this commit reproduced the bug in the same harness.
…rces (0.49.0) The demos compile FormDeck's renderer, styles and icon module from frontend/src. After the first rebuild (0f27af6), render/slide.ts (Slide Show zoom and poster frames), video-still.ts, slides.css, shell.css and icons.ts changed again, so demo/, demos/present and demos/build were rebuilt with the commands from their READMEs. Only each demo's built script and stylesheet changed; the media packs did not.
./formdeck counts --check failed after this release's growth: TypeScript went from about 47,600 to 48,200 lines and Python from 27,500 to 27,600. CSS and Rust are unchanged at the README's rounding.
…dow (0.49.0) Each role of this release appended its section to frontend/HASHOUT_LOG.md and, where it touched the engine, backend/HASHOUT_LOG.md, and left it for one commit at the end: copy-image, background removal (engine and window), colour opacity, slide background, dock default, save names, Back to decks, Follow agent (engine and window), panel reorder and resize, docs and i18n, the shell standard fixes, web pictures, Auto-advance, poster frames and the Slide Show zoom.
FormDeck described releases only in their release commits. CHANGELOG.md starts at 0.49.0 and lists, in plain words, what is new, improved and fixed, and the known issues, so the release notes and the PR body come from one place. Earlier versions stay in `git log --grep "chore(release)"`.
…49.0) render/slide.ts sets a text box's `translate` to `0 <offset>px` to keep Slide Show line tops on the design-size layout. The scanner reported that CSS value as an untranslated string, so it joins the NOT_TEXT list next to the other CSS fragments and `./formdeck i18n check` reports 0 problems again.
…oval, one-click backgrounds with opacity and Follow agent (0.49.0) Bumps the version sites to 0.49.0: frontend/package.json, both package-lock.json fields, frontend/src/version.ts, backend/app/__init__.py, src-tauri/Cargo.toml and formdeck's entry in Cargo.lock, src-tauri/tauri.conf.json, the README badge, and a 0.49.0 release line in the Flatpak metainfo. The release: Copy Slide as Picture, Remove Background on the U2-Net model, pictures pasted or dropped from websites, the Design tab Background control and opacity in every colour picker, the dock opening on Claude Code, Save As renaming the deck everywhere, Back to decks on Home, Follow agent, right panel groups that move and resize, Auto-advance in Slide Show, sharp animated pictures in Slide Show, video poster frames, and the top bar's agent and gear buttons. CHANGELOG.md lists it all with the known issues. Checked on this tree: tsc clean, vite build, 360 backend tests, i18n check 0 problems, counts and notices checks in step.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FormDeck 0.49.0: copy a slide as a picture, remove backgrounds on your computer, one-click slide backgrounds with opacity, Follow agent, and a sharper Slide Show
Summary
The owner asked for eight changes on 2 December 2026, then added five more and a shell fix while the work ran. All fourteen are in this branch, built by a team of roles on one working copy.
The eight first changes:
Added later by the owner:
Engine-review and three verify roles checked the work without editing it. CHANGELOG.md is new in this branch (463b319), and the version bump is the release commit, last (8818756).
Changes by area
Slides and pictures
<img>in copied HTML (the largestsrcsetcandidate), a picture address in a link or in plain text, and a data URL. A browser drop works the same. Web addresses go through the newPOST /api/media/from-url: http and https only, five redirects at most, every hop checked, loopback, link-local, multicast and reserved hosts refused, private LAN hosts allowed for intranet pages, image content type and bytes required, 64 MB limit.bgRemoved: { orig, cut }on the picture). Preferences, Editing, Pictures can install or remove the model.zoomon show views instead of a scale transform), so animated pictures and groups are drawn at device size and stay sharp on WebKit. Each text box is shifted by its measured first-line offset so line tops match the design-size layout, and a guard compares every line's left, width and top (0.25 pt) and falls back to the old rendering for any slide that would still differ.Slide design and colour
#RRGGBBAAor{ scheme, alpha }), and drawn in the editor, the show, PNG, PDF and .pptx. Slides are drawn over white so a translucent background reads the same everywhere.Slide Show
auto-advancecommand is available to agents.Window and shell
dock/module is untouched.Engine and agents
bg_model.pydownloadsu2net.onnx(175,997,641 bytes, SHA-256 8d10d2f3...b491, Apache-2.0, published in rembg's release) to the data folder on first use, with progress, cancel, resume and a hard refusal on a checksum mismatch.bg_remove.pyallows PNG, JPEG, WebP, GIF, BMP and TIFF, 64 megapixels and 256 MB, one cut at a time. Routes under/api/background. New MCP toolremove_background(34 tools), which asks before it downloads the model.agent.focuson the live socket to subscribed windows only, at most one per 250 ms per deck, with a replay on subscribe andGET /api/decks/{id}/agent-focus(window key required). Contract:docs/AGENT_FOCUS.md.formdeck://guidegained lines for Follow agent,remove_backgroundand colour opacity.--collect-all onnxruntimeand checked at selfcheck. NOTICE.md has a new section "Downloaded when the person asks"; THIRD-PARTY-NOTICES.txt carries five new packages and flatbuffers' licence text is vendored. No new npm dependency.Languages and docs
bgRemoved, colour opacity), the wiki, the harness skills and the agent catalogue are updated for all of the above.Commits
main(d332149, v0.47.0): 94 feat, 50 fix, 30 docs, 5 style, 4 build, 2 refactor, 2 chore and 1 perf. Every one istype(scope): summary (0.49.0)with a body, authored and committed bynodemode-ai <mackin@nodemode.ai>, with no trailers. The release commit is last.app.tshunks (the Follow button, its import and its wiring) because a path commit takes the whole file, and the module they import first exists in 61ef207. The frontend does not type-check from 365b2be through 9fd2bc9 (five commits) and builds again at 61ef207. The backend is unaffected. No history was rewritten.toolbar.ts(also the Picture Format Background group).Tests
backend/venv/bin/python -m pytest backend/tests -q360 passed,npx tsc --noEmitclean,npx vite buildpasses,./formdeck i18n check0 problems,./formdeck counts --checkandsetup/notices.py --checkin step, andtest_f4_versions.pypasses with every version site at 0.49.0.git archiveof HEAD:backend/venv/bin/python -m pytest backend/tests -q: 360 passed. This release adds no tests, because CLAUDE.md allows only tests the family test plan names and it names none for these features.npx tsc --noEmitis clean,npx vite buildpasses, the engine's compileall and--selfcheckpass, andnpm audit --audit-level=lowfinds 0 vulnerabilities.setup/notices.py --checkpasses andbackend/tests/test_f4_versions.pypasses.ui/icons.ts.Known issues
run_commandandextension_command, and an edit that touches several slides focuses the first one.Merging
Merge commit. Do not squash and do not rebase-merge, so the individual commits and their signatures stay in the history. The branch is
feat/deck-tools-0.49.0, on top ofmainat d332149.