Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
87501a1
docs(readme): list the 0.49.0 editing and agent features (0.49.0)
nodemode-ai Dec 2, 2026
fc52f77
feat(home): reserve a Back to decks row at the top left of Home (0.49.0)
nodemode-ai Dec 2, 2026
2b45de2
feat(home): Back to decks returns to the last open deck or shows the …
nodemode-ai Dec 2, 2026
ce67723
feat(live): hand agent.focus events from the engine to the window (0.…
nodemode-ai Dec 2, 2026
5d64423
feat(home): Alt+Left and Esc take Home back to the open deck (0.49.0)
nodemode-ai Dec 2, 2026
d864d31
feat(library): carry the linked file path in the deck summary (0.49.0)
nodemode-ai Dec 2, 2026
486526b
fix(save): Save As to a new file name renames the deck in the same st…
nodemode-ai Dec 2, 2026
ba5b8e2
feat(icons): add a copy-as-picture icon (0.49.0)
nodemode-ai Dec 2, 2026
138c580
feat(api): type the linked file on a deck summary and the title a sav…
nodemode-ai Dec 2, 2026
12b1101
feat(follow): tell windows which slide an agent edit lands on (0.49.0)
nodemode-ai Dec 2, 2026
19013cf
feat(download): let a download carry the deck name the file is saved …
nodemode-ai Dec 2, 2026
3d2b8d6
feat(live): replay the last agent focus when a window subscribes (0.4…
nodemode-ai Dec 2, 2026
1afd08e
fix(save): a browser Save As names the deck after the file the person…
nodemode-ai Dec 2, 2026
164c991
feat(engine): download the U2-Net background model on first use, pinn…
nodemode-ai Dec 2, 2026
842455d
fix(save): Save on a new, unnamed deck asks for a name and takes it (…
nodemode-ai Dec 2, 2026
e138e0a
feat(dock): a FormdeckDock that knows whether Claude Code is installe…
nodemode-ai Dec 2, 2026
fa1e592
feat(mcp): name the tool in agent focus and follow single-slide reads…
nodemode-ai Dec 2, 2026
34e2022
feat(engine): cut a picture's background out with U2-Net on the CPU (…
nodemode-ai Dec 2, 2026
26af2c5
feat(colour): opacity slider, percent field and checkerboard preview …
nodemode-ai Dec 2, 2026
d17ea00
feat(home): show the deck's file path on its card and keep its name i…
nodemode-ai Dec 2, 2026
d1ed38a
feat(tabs): hand each open deck's linked file to Home with its name (…
nodemode-ai Dec 2, 2026
1494be9
feat(dock): open on Claude Code, or on a shell with the install line,…
nodemode-ai Dec 2, 2026
f38f426
feat(engine): routes for Remove Background and its model (0.49.0)
nodemode-ai Dec 2, 2026
f1fe18f
fix(engine): name the background model's size as 176 MB, as FormVis a…
nodemode-ai Dec 2, 2026
055060f
feat(colour): recent colours row that keeps each colour's opacity (0.…
nodemode-ai Dec 2, 2026
3ca13c8
feat(engine): adopt a U2-Net file already in the models folder when i…
nodemode-ai Dec 2, 2026
d7a2d30
feat(dock): the window builds its dock from FormdeckDock (0.49.0)
nodemode-ai Dec 2, 2026
70ea90a
feat(decks): agent focus for HTTP agent steps and a GET route for it …
nodemode-ai Dec 2, 2026
d2c9ed2
fix(follow): find the slide of an agent edit addressed by index (0.49.0)
nodemode-ai Dec 2, 2026
2e24c86
docs(manual): the agent dock default and the Follow agent switch (0.4…
nodemode-ai Dec 2, 2026
7d1fcba
docs(follow): the agent.focus live message and agent-focus route (0.4…
nodemode-ai Dec 2, 2026
689c5ce
feat(follow): add the Follow agent controller that moves the editor w…
nodemode-ai Dec 2, 2026
eb05584
feat(background): add the slide background actions every control shar…
nodemode-ai Dec 2, 2026
bfa8fa6
feat(design): add colour schemes and theme variants for the Design ta…
nodemode-ai Dec 2, 2026
5c59027
fix(text): keep a text or highlight colour's opacity while typing (0.…
nodemode-ai Dec 2, 2026
f46c050
feat(icons): add a gradient icon for the background menu (0.49.0)
nodemode-ai Dec 2, 2026
9adf4d9
feat(live): carry the agent's display name on agent.focus (0.49.0)
nodemode-ai Dec 2, 2026
4670a95
feat(follow): ask the engine for the last agent focus when Follow is …
nodemode-ai Dec 2, 2026
c0ac418
fix(colour): theme colour slots and the show pen stay opaque (0.49.0)
nodemode-ai Dec 2, 2026
636df9c
fix(render): draw slides over white so a translucent background match…
nodemode-ai Dec 2, 2026
f981eb8
docs(format): document colour opacity as alpha on the colour (0.49.0)
nodemode-ai Dec 2, 2026
a591593
feat(model): an image remembers its picture before Remove Background …
nodemode-ai Dec 2, 2026
956f675
feat(bgr): a window client for the background model and its first-use…
nodemode-ai Dec 2, 2026
00cf4d5
feat(bgr): Remove Background and Restore Background commands with an …
nodemode-ai Dec 2, 2026
fc79e0d
feat(mcp): remove_background tool for agents (0.49.0)
nodemode-ai Dec 2, 2026
0d1f04f
build(engine): add onnxruntime and numpy to the engine's requirements…
nodemode-ai Dec 2, 2026
8e08f33
refactor(background): take opacity helpers from the colour picker (0.…
nodemode-ai Dec 2, 2026
57bf734
style(background): styles for the Background split button, menu and t…
nodemode-ai Dec 2, 2026
c0b355c
feat(background): Background split button, menu, Colours and Variants…
nodemode-ai Dec 2, 2026
87f4fdc
feat(clipboard): mark picture clips and notice when the system clipbo…
nodemode-ai Dec 2, 2026
d276194
feat(editor): render slides as PNG pictures for the clipboard (0.49.0)
nodemode-ai Dec 2, 2026
d0358ee
feat(prefs): a Pictures group in Editing with the background model's …
nodemode-ai Dec 2, 2026
e512c91
feat(editor): copy slides as pictures and paste them centred as one s…
nodemode-ai Dec 2, 2026
2adbf06
feat(i18n): translate Follow agent in all 25 languages (0.49.0)
nodemode-ai Dec 2, 2026
07c8444
feat(menu): Crop, Remove Background and Restore Background on a pictu…
nodemode-ai Dec 2, 2026
2435a1a
build(desktop): freeze onnxruntime into the engine and check it at se…
nodemode-ai Dec 2, 2026
a9b7bf7
feat(commands): Copy Slide as Picture on Alt+Mod+C (0.49.0)
nodemode-ai Dec 2, 2026
943dd15
docs(manual): Copy Slide as Picture and its shortcut (0.49.0)
nodemode-ai Dec 2, 2026
e3dae09
feat(automation): describe Copy Slide as Picture for agents (0.49.0)
nodemode-ai Dec 2, 2026
55256ec
fix(home): focus Back to decks when Home opens so the keyboard reache…
nodemode-ai Dec 2, 2026
d324744
docs(manual): Remove Background on pictures (0.49.0)
nodemode-ai Dec 2, 2026
a47005b
docs(manual): Back to decks on Home and the deck's name following Sav…
nodemode-ai Dec 2, 2026
ba4694e
chore(notices): carry the licence texts of onnxruntime, numpy, protob…
nodemode-ai Dec 2, 2026
e90bf33
docs(notice): list the U2-Net model and onnxruntime with its dependen…
nodemode-ai Dec 2, 2026
7e9e998
docs(agents): remove_background in the harness skill's tool reference…
nodemode-ai Dec 2, 2026
e8e8bbe
docs(counts): the MCP server has 34 tools (0.49.0)
nodemode-ai Dec 2, 2026
666022a
docs(wiki): the wiki pages for 0.49.0 (0.49.0)
nodemode-ai Dec 2, 2026
b80181b
feat(i18n): the Help dialog's agent step in all 25 languages (0.49.0)
nodemode-ai Dec 2, 2026
b3142e0
docs(help): the Help dialog's agent step names the dock default and F…
nodemode-ai Dec 2, 2026
09d8c60
fix(bgr): keep the progress pill's width steady and say when it waits…
nodemode-ai Dec 2, 2026
71f76bb
feat(i18n): translate Copy Slide as Picture in all 25 languages (0.49.0)
nodemode-ai Dec 2, 2026
6b66302
feat(i18n): translate Back to decks and its tooltips in all 25 langua…
nodemode-ai Dec 2, 2026
71c6f9b
docs(manual): Paste takes a picture copied in another app (0.49.0)
nodemode-ai Dec 2, 2026
b895540
fix(follow): keep the agent's filmstrip ring after a tab switch or a …
nodemode-ai Dec 2, 2026
222abc6
style(follow): show Follow agent as its icon alone on phone widths (0…
nodemode-ai Dec 2, 2026
8361b04
fix(bgr): file Cancel Remove Background under Format and as not chang…
nodemode-ai Dec 2, 2026
ccea6df
fix(follow): keep Follow agent off and disabled for share guests (0.4…
nodemode-ai Dec 2, 2026
6126a6e
feat(dock): a Chat saved by the old first-run guide moves to the new …
nodemode-ai Dec 2, 2026
a64cf68
fix(home): keep the editor behind Home out of the tab order (0.49.0)
nodemode-ai Dec 2, 2026
78ddd88
docs(manual): what Follow agent waits for, other decks, and the one-t…
nodemode-ai Dec 2, 2026
a195ba4
docs(format): the image field bgRemoved (0.49.0)
nodemode-ai Dec 2, 2026
c7ee06a
feat(dock): a shell opened because Claude Code is missing is not reme…
nodemode-ai Dec 2, 2026
7896bb2
style(background): inline background rows for the inspector (0.49.0)
nodemode-ai Dec 2, 2026
c2f265a
feat(background): inline Background rows for the right panel (0.49.0)
nodemode-ai Dec 2, 2026
3d19314
feat(inspector): show the background rows and put Slide above Layout …
nodemode-ai Dec 2, 2026
88dc945
feat(design): Background, Variants and Colours in the Design tab (0.4…
nodemode-ai Dec 2, 2026
f7a6d96
fix(background): start the pane's colour picker at the colour in use …
nodemode-ai Dec 2, 2026
96fcaa7
feat(background): an Opacity slider in the Format Background pane (0.…
nodemode-ai Dec 2, 2026
4705400
feat(background): background, colour scheme and variant commands (0.4…
nodemode-ai Dec 2, 2026
847636d
feat(design): register the background and theme commands with the too…
nodemode-ai Dec 2, 2026
9953c56
fix(colour): Enter and the preview apply the colour in use, not the h…
nodemode-ai Dec 2, 2026
812b7cf
feat(colour): read the selection's current fill, outline, text or hig…
nodemode-ai Dec 2, 2026
37d7322
feat(dock): a dock restored open lands on Claude Code without a stray…
nodemode-ai Dec 2, 2026
7413e53
feat(colour): ribbon fill, outline, font colour and highlight open on…
nodemode-ai Dec 2, 2026
862542f
fix(panels): fit group tabs against the header's room, with no size t…
nodemode-ai Dec 2, 2026
d3a55d9
feat(panels): panel groups take a lone tab, hide a tab and restore wh…
nodemode-ai Dec 2, 2026
05814e8
feat(panels): drag, key and menu moves for the right panel's groups (…
nodemode-ai Dec 2, 2026
6da4fca
feat(panels): mount the panel dock and add Reset Panel Layout to View…
nodemode-ai Dec 2, 2026
407ca97
fix(panels): Selection Pane and Animation Pane find their tab whereve…
nodemode-ai Dec 2, 2026
0be3112
fix(panels): the group holding Format stretches, the others scroll in…
nodemode-ai Dec 2, 2026
19bbee5
feat(colour): swatch indicators show a translucent colour over the ch…
nodemode-ai Dec 2, 2026
ed891d0
feat(i18n): translate Remove Background in all 25 languages (0.49.0)
nodemode-ai Dec 2, 2026
861bfac
fix(status): hold the agent label's width so the status bar does not …
nodemode-ai Dec 2, 2026
29f3671
feat(i18n): translate the colour picker's opacity strings in all 25 l…
nodemode-ai Dec 2, 2026
5995b59
fix(settings): overlapping settings writes no longer fail with a 500 …
nodemode-ai Dec 2, 2026
1855fe5
feat(i18n): translate the slide background controls in all 25 languag…
nodemode-ai Dec 2, 2026
3cb2d82
feat(i18n): translate the panel reorder strings in all 25 languages (…
nodemode-ai Dec 2, 2026
b708776
feat(colour): a hex field in the picker, and Custom opens the system …
nodemode-ai Dec 2, 2026
c7b7ead
docs(manual): slide background in one click, opacity, colour schemes …
nodemode-ai Dec 2, 2026
d717842
docs(wiki): slide background, opacity and panel arranging on the Edit…
nodemode-ai Dec 2, 2026
68a875a
fix(bgr): Cancel in the first-use dialog always stops the model downl…
nodemode-ai Dec 2, 2026
bc973fc
feat(menu): Remove and Restore Background lead Format, Picture in the…
nodemode-ai Dec 2, 2026
bf5a8bd
feat(menu): Slide Background on the slide's right-click menu (0.49.0)
nodemode-ai Dec 2, 2026
771b482
feat(background): open the Background menu where the command was aske…
nodemode-ai Dec 2, 2026
39f50bf
feat(inspector): a popover for the full layout gallery (0.49.0)
nodemode-ai Dec 2, 2026
e64bf61
style(inspector): compact layout row, popover and plain percent field…
nodemode-ai Dec 2, 2026
2660fda
feat(inspector): Slide page fits without scrolling, layouts one click…
nodemode-ai Dec 2, 2026
5ceb090
fix(mcp): let edit_elements carry a picture's bgRemoved field (0.49.0)
nodemode-ai Dec 2, 2026
e59b7c7
feat(i18n): translate the Slide page's layout row in all 25 languages…
nodemode-ai Dec 2, 2026
40a3a47
fix(background): Format Background swatches show opacity over the che…
nodemode-ai Dec 2, 2026
540cca5
fix(background): background indicators show opacity over the checkerb…
nodemode-ai Dec 2, 2026
7a1d507
fix(mcp): record bgRemoved when an agent cuts a picture's background …
nodemode-ai Dec 2, 2026
dea4349
docs(mcp): tell agents about Follow agent, remove_background and colo…
nodemode-ai Dec 2, 2026
c68114d
fix(mcp): ask the person before an agent downloads the background mod…
nodemode-ai Dec 2, 2026
5b33bd4
fix(engine): open only the six raster formats Remove Background accep…
nodemode-ai Dec 2, 2026
edcd886
fix(inspector): keep the layout popover between the ribbon and the wi…
nodemode-ai Dec 2, 2026
2169aa6
fix(engine): cap a picture at 256 MB before reading it and run one cu…
nodemode-ai Dec 2, 2026
fdc134b
docs(readme): line counts for 0.49.0 (0.49.0)
nodemode-ai Dec 2, 2026
0721031
fix(decks): the agent-focus route takes the window key (0.49.0)
nodemode-ai Dec 2, 2026
8f2129e
docs(follow): say which slide a multi-slide agent edit sends (0.49.0)
nodemode-ai Dec 2, 2026
4ae9648
fix(engine): report an unexpected model download failure instead of g…
nodemode-ai Dec 2, 2026
764c008
docs(notice): credit rembg as the publisher of the U2-Net ONNX file (…
nodemode-ai Dec 2, 2026
98d5111
fix(home): put the deck's name back in the window title when Home clo…
nodemode-ai Dec 2, 2026
6302f26
build(demos): rebuild the three browser demos for 0.49.0 (0.49.0)
nodemode-ai Dec 2, 2026
4a65094
feat(media): download a picture from a web address for pasting (0.49.0)
nodemode-ai Dec 2, 2026
18c9ce5
feat(media): add POST /api/media/from-url (0.49.0)
nodemode-ai Dec 2, 2026
209feb9
feat(api): add mediaFromUrl for web pictures (0.49.0)
nodemode-ai Dec 2, 2026
90a5c51
feat(editor): find a picture in pasted or dropped web content (0.49.0)
nodemode-ai Dec 2, 2026
f4fc6df
feat(editor): paste and drop pictures from websites onto the slide (0…
nodemode-ai Dec 2, 2026
eec428a
refactor(editor): drop systemPicture, now in web-picture.ts (0.49.0)
nodemode-ai Dec 2, 2026
7e78a6b
feat(app): paste events and browser drops bring web pictures in (0.49.0)
nodemode-ai Dec 2, 2026
8386380
style(panels): sized mode for the right panel's groups and the resize…
nodemode-ai Dec 2, 2026
e6ad6ac
feat(panels): PanelSizes, resize handles between the right panel's gr…
nodemode-ai Dec 2, 2026
5a67397
feat(panels): the panel dock builds the sizes, splits a detached grou…
nodemode-ai Dec 2, 2026
af54039
feat(i18n): translate the panel resize handle in all 25 languages (0.…
nodemode-ai Dec 2, 2026
1c8b905
feat(show): an Auto-advance preference and its show controller (0.49.0)
nodemode-ai Dec 2, 2026
8567c20
feat(show): Auto-advance in the slide show and presenter view, on the…
nodemode-ai Dec 2, 2026
479864b
feat(ribbon): Auto-advance toggle and seconds field next to the start…
nodemode-ai Dec 2, 2026
50ef30a
feat(show): Auto-advance command for the command palette and agents (…
nodemode-ai Dec 2, 2026
330f5d2
feat(i18n): translate Auto-advance in all 25 languages (0.49.0)
nodemode-ai Dec 2, 2026
b948733
feat(icons): FormPortal's agent and gear icons as agentDock and prefs…
nodemode-ai Dec 2, 2026
4090722
feat(shell): the agent button and the gear at the far right of the to…
nodemode-ai Dec 2, 2026
6daa329
feat(view): View, Agent Dock names the dock, and Chat shows when the …
nodemode-ai Dec 2, 2026
5ba394a
feat(prefs): Agents, Show the agent dock, and the gear says when Pref…
nodemode-ai Dec 2, 2026
dd2d95b
feat(i18n): the agent dock's new labels in all 25 languages (0.49.0)
nodemode-ai Dec 2, 2026
fdf13f4
feat(icons): an autoAdvance icon for the Auto-advance toggle (0.49.0)
nodemode-ai Dec 2, 2026
80470ef
feat(i18n): translate pasting pictures from websites in all 25 langua…
nodemode-ai Dec 2, 2026
70ad276
docs(manual): pictures from websites, resizing panel groups and Auto-…
nodemode-ai Dec 2, 2026
c9665f5
docs(readme): list web pictures, panel resizing and Auto-advance (0.4…
nodemode-ai Dec 2, 2026
1b70578
docs(wiki): web pictures, panel heights and Auto-advance (0.49.0)
nodemode-ai Dec 2, 2026
53b81c7
fix(pptx): a video without a poster exports its first frame as the pi…
nodemode-ai Dec 2, 2026
c768894
fix(pptx): the stock speaker picture is not read back as a video's po…
nodemode-ai Dec 2, 2026
a4491b1
fix(slides): a video with a poster stays hidden over its poster until…
nodemode-ai Dec 2, 2026
4135777
fix(render): mark a video played and keep the start still off a poste…
nodemode-ai Dec 2, 2026
f2e3622
perf(render): decode every poster frame when a deck opens or a show s…
nodemode-ai Dec 2, 2026
f01e13b
fix(show): the poster comes back when a video rewinds and when its sl…
nodemode-ai Dec 2, 2026
208d7e4
fix(menu): Esc closes a right-click menu and gives focus back to wher…
nodemode-ai Dec 2, 2026
b3253af
fix(home): Esc closes a deck card's right-click menu and focus goes b…
nodemode-ai Dec 2, 2026
978a830
fix(ribbon): Esc on the ribbon's right-click menu gives focus back in…
nodemode-ai Dec 2, 2026
a31c77e
docs(manual): the agent dock button, Preferences Agents, Esc on right…
nodemode-ai Dec 2, 2026
56d7177
docs(readme): the agent dock has a button at the top right (0.49.0)
nodemode-ai Dec 2, 2026
0e73c5b
fix(show): lay Slide Show out at screen size so animated pictures sta…
nodemode-ai Dec 2, 2026
96df05b
fix(render): the editor, Slide Show and thumbnails show a video's pos…
nodemode-ai Dec 2, 2026
6bd5f5c
fix(render): exports draw a video's first frame when it has no poster…
nodemode-ai Dec 2, 2026
719ffe2
fix(prefs): write the dock shortcut's backtick as an escape so the i1…
nodemode-ai Dec 2, 2026
390bcf0
feat(i18n): translate the colour picker's hex and custom entries, a f…
nodemode-ai Dec 2, 2026
3bdf11d
feat(i18n): translate the Save As undo label in all 25 languages (0.4…
nodemode-ai Dec 2, 2026
8f4569e
fix(i18n): the scanner skips product names, agent-only text and strin…
nodemode-ai Dec 2, 2026
0c7245c
fix(bgr): say the model runtime, not a vendor product name, in the en…
nodemode-ai Dec 2, 2026
97e20be
docs(manual): the show draws animated pictures sharp and never reflow…
nodemode-ai Dec 2, 2026
5a22a65
fix(show): keep Slide Show line tops on the design-size layout under …
nodemode-ai Dec 2, 2026
06c4426
fix(dock): the dock never takes focus out of an open dialog (0.49.0)
nodemode-ai Dec 2, 2026
c465619
build(demos): rebuild the three browser demos on the final 0.49.0 sou…
nodemode-ai Dec 2, 2026
d719342
docs(readme): code sizes after the 0.49.0 work (0.49.0)
nodemode-ai Dec 2, 2026
2784b5a
docs(hashout): the 0.49.0 roles' rationale for the engine and the win…
nodemode-ai Dec 2, 2026
a8b58f7
docs(changelog): start CHANGELOG.md with 0.49.0 (0.49.0)
nodemode-ai Dec 2, 2026
9ecb247
fix(i18n): the scanner skips the Slide Show line offset `0 {0}px` (0.…
nodemode-ai Dec 2, 2026
a8efe6f
chore(release): 0.49.0, copy slides as pictures, local background rem…
nodemode-ai Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .agents/skills/formdeck-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PDF editing lives in formpdf (github.com/nodemode-dev/formpdf). In formdeck a PD
```
formdeck-harness/
SKILL.md this router and the doctrine
references/tools.md all 33 MCP tools: arguments and what they return
references/tools.md all 34 MCP tools: arguments and what they return
EVALS.json evaluation prompts and trigger tests for this pack
sub-skills/
deck-director/ entry route: intake questions, the full loop, completion gate
Expand Down
10 changes: 8 additions & 2 deletions .agents/skills/formdeck-harness/references/tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# formdeck MCP tools

The 33 tools of the formdeck MCP server (the TOOLS list in `backend/app/routers/mcp.py`). The first 24 were taken from a live `tools/list` and checked call by call against a running engine and window (engine 0.2.0); handoff, chat_inbox, chat_reply, layout_ideas_reply, list_commands and run_command are written from the server's own tool descriptions and were not checked call by call. Names and arguments are case sensitive. "Returns" is what comes back: text first, then `structuredContent` where the tool sends it.
The 34 tools of the formdeck MCP server (the TOOLS list in `backend/app/routers/mcp.py`). The first 24 were taken from a live `tools/list` and checked call by call against a running engine and window (engine 0.2.0); handoff, chat_inbox, chat_reply, layout_ideas_reply, list_commands, run_command and remove_background are written from the server's own tool descriptions and were not checked call by call. Names and arguments are case sensitive. "Returns" is what comes back: text first, then `structuredContent` where the tool sends it.

## Chat panel and layout requests

Expand All @@ -10,7 +10,7 @@ The 33 tools of the formdeck MCP server (the TOOLS list in `backend/app/routers/

- Conventions
- Look: get_context, list_templates, get_deck, lint_deck, render_slides
- Material: ingest, get_source, add_media
- Material: ingest, get_source, add_media, remove_background
- Build: draft_spec, build_deck, add_slides
- Fix: update_slide, set_text, edit_elements, apply_ops, slides, animate
- Style: apply_template, set_theme, masters
Expand Down Expand Up @@ -75,6 +75,12 @@ Returns: markdown whose first line is a comment naming the source and range (`sr
- paths (required): absolute paths of pictures or videos
Returns: one line per file `img_... · name · WxH · mime`; structured `{media: [ids]}`. Use the ids in scripts or edit_elements.

### remove_background
- media: media id of a PNG, JPEG, WebP, GIF, BMP or TIFF picture; or path: absolute path of a picture file
- deck, slide, element: an image element (ids from get_deck detail text) whose picture is replaced by the cut-out in one undoable step
- install: boolean, default false; download the model first when it is missing
Cuts a picture's background out with the local U2-Net model (CPU; nothing leaves the computer) and stores a PNG with transparency, the same size as the source. Returns the new media id and the share of the picture kept; structured `{media, coverage}`. The model is a one-time 176 MB download (Apache-2.0): when it is missing the call says so and stops. Ask the person first, and pass `install: true` only with their yes. When the picture is a deck element it keeps its element id and gets the new `src`; `undo` puts the original back (the window's Restore Background only knows cut-outs made in the window).

## Build

### draft_spec [read-only]
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/formdeck-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PDF editing lives in formpdf (github.com/nodemode-dev/formpdf). In formdeck a PD
```
formdeck-harness/
SKILL.md this router and the doctrine
references/tools.md all 33 MCP tools: arguments and what they return
references/tools.md all 34 MCP tools: arguments and what they return
EVALS.json evaluation prompts and trigger tests for this pack
sub-skills/
deck-director/ entry route: intake questions, the full loop, completion gate
Expand Down
10 changes: 8 additions & 2 deletions .claude/skills/formdeck-harness/references/tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# formdeck MCP tools

The 33 tools of the formdeck MCP server (the TOOLS list in `backend/app/routers/mcp.py`). The first 24 were taken from a live `tools/list` and checked call by call against a running engine and window (engine 0.2.0); handoff, chat_inbox, chat_reply, layout_ideas_reply, list_commands and run_command are written from the server's own tool descriptions and were not checked call by call. Names and arguments are case sensitive. "Returns" is what comes back: text first, then `structuredContent` where the tool sends it.
The 34 tools of the formdeck MCP server (the TOOLS list in `backend/app/routers/mcp.py`). The first 24 were taken from a live `tools/list` and checked call by call against a running engine and window (engine 0.2.0); handoff, chat_inbox, chat_reply, layout_ideas_reply, list_commands, run_command and remove_background are written from the server's own tool descriptions and were not checked call by call. Names and arguments are case sensitive. "Returns" is what comes back: text first, then `structuredContent` where the tool sends it.

## Chat panel and layout requests

Expand All @@ -10,7 +10,7 @@ The 33 tools of the formdeck MCP server (the TOOLS list in `backend/app/routers/

- Conventions
- Look: get_context, list_templates, get_deck, lint_deck, render_slides
- Material: ingest, get_source, add_media
- Material: ingest, get_source, add_media, remove_background
- Build: draft_spec, build_deck, add_slides
- Fix: update_slide, set_text, edit_elements, apply_ops, slides, animate
- Style: apply_template, set_theme, masters
Expand Down Expand Up @@ -75,6 +75,12 @@ Returns: markdown whose first line is a comment naming the source and range (`sr
- paths (required): absolute paths of pictures or videos
Returns: one line per file `img_... · name · WxH · mime`; structured `{media: [ids]}`. Use the ids in scripts or edit_elements.

### remove_background
- media: media id of a PNG, JPEG, WebP, GIF, BMP or TIFF picture; or path: absolute path of a picture file
- deck, slide, element: an image element (ids from get_deck detail text) whose picture is replaced by the cut-out in one undoable step
- install: boolean, default false; download the model first when it is missing
Cuts a picture's background out with the local U2-Net model (CPU; nothing leaves the computer) and stores a PNG with transparency, the same size as the source. Returns the new media id and the share of the picture kept; structured `{media, coverage}`. The model is a one-time 176 MB download (Apache-2.0): when it is missing the call says so and stops. Ask the person first, and pass `install: true` only with their yes. When the picture is a deck element it keeps its element id and gets the new `src`; `undo` puts the original back (the window's Restore Background only knows cut-outs made in the window).

## Build

### draft_spec [read-only]
Expand Down
2 changes: 1 addition & 1 deletion .docs/wiki/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A slide is DOM laid out in points (`frontend/src/render/slide.ts SlideView`, 1px

## MCP

`backend/app/routers/mcp.py` serves 33 tools over streamable HTTP at `/mcp`; `setup/mcp_stdio.py` bridges stdio clients to it and starts the engine when needed. Most tools run in the engine (ingest, compile, edit, export, PDF). Tools that need the real DOM (`render_slides`, `measure` for `lint_deck`, `export_raster`, `focus`, `consent`) are sent to the open window as `tool` messages and answered by `frontend/src/automation/agent-bridge.ts AgentBridge`. Agent edits go through `STORE.step` like any other, attributed to the agent and its turn.
`backend/app/routers/mcp.py` serves 34 tools over streamable HTTP at `/mcp`; `setup/mcp_stdio.py` bridges stdio clients to it and starts the engine when needed. Most tools run in the engine (ingest, compile, edit, export, PDF). Tools that need the real DOM (`render_slides`, `measure` for `lint_deck`, `export_raster`, `focus`, `consent`) are sent to the open window as `tool` messages and answered by `frontend/src/automation/agent-bridge.ts AgentBridge`. Agent edits go through `STORE.step` like any other, attributed to the agent and its turn.

## From material to slides

Expand Down
8 changes: 6 additions & 2 deletions .docs/wiki/Building-Decks-with-Agents.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Building Decks with Agents

formdeck's engine is an MCP server with 33 tools, over HTTP at `http://127.0.0.1:8197/mcp` and over stdio with `./formdeck mcp`. An agent works on the same deck you see: its edits arrive in the open window as they happen.
formdeck's engine is an MCP server with 34 tools, over HTTP at `http://127.0.0.1:8197/mcp` and over stdio with `./formdeck mcp`. An agent works on the same deck you see: its edits arrive in the open window as they happen.

## Setup

Expand All @@ -22,7 +22,11 @@ The Agents dialog in the app shows the same snippets with Copy buttons and copie
4. `render_slides` (contact sheets drawn by the window) and `lint_deck` (overflow, overlap, contrast, alt text, measured in the real DOM); fix with `update_slide`, `set_text` or `edit_elements`.
5. Leave slides in Review; never approve them for the person.

The other tools: `add_slides`, `get_deck`, `apply_ops`, `slides`, `apply_template`, `set_theme`, `add_media`, `export_deck`, `open_file`, `comments`, `review`, `undo` and `pdf`.
The other tools: `add_slides`, `get_deck`, `apply_ops`, `slides`, `apply_template`, `set_theme`, `add_media`, `remove_background`, `export_deck`, `open_file`, `comments`, `review`, `undo` and `pdf`. `remove_background` cuts a picture out with the local U2-Net model, which downloads once (176 MB); ask the person before passing `install: true`.

## Where the agent works, and Follow agent

The agent dock opens on Claude Code, or on a shell with the install command when Claude Code is missing, and remembers the tab the person picks. With the status bar's **Follow agent** switch on (Alt+Shift+F, off by default), the window goes to the slide the agent is editing: it selects the slide in Normal view and highlights and scrolls to it in Slide Sorter. Agents should therefore edit slide by slide in reading order and name slide numbers in the handoff note. The live message the engine sends is described in [AGENT_FOCUS.md](https://github.com/nodemode-dev/formdeck/blob/main/docs/AGENT_FOCUS.md).

## Consent and undo

Expand Down
9 changes: 6 additions & 3 deletions .docs/wiki/Editing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ The editor is a title bar with ten menus (File, Edit, View, Insert, Format, Slid
- **On the slide**: marquee and Shift-click selection, smart guides (Alt-drag skips them), Shift keeps proportions, the round handle rotates, arrows nudge by 1 point (Shift by 10). Double-click to type; Esc finishes.
- **Text**: font, size, bold, italic, underline, strikethrough, colour, highlight, alignment, bullets, numbering, list levels, vertical alignment, autofit (shrink or grow) and columns.
- **Shapes**: the Office preset shapes in a gallery, lines and arrows, fill and outline colour from the theme.
- **Pictures**: insert, drop or paste; Fill, Fit or Stretch; square, round or circle masks; grayscale; alt text; replace. Animated GIFs play.
- **Pictures**: insert, drop or paste (a picture copied from a website, or its address, pastes too; the engine fetches web addresses with `POST /api/media/from-url`: http and https only, 64 MB at most, loopback and reserved addresses refused); Fill, Fit or Stretch; square, round or circle masks; grayscale; alt text; replace. Animated GIFs play. Remove Background (Picture Format or the right-click menu) cuts the subject out with a local model and Restore Background brings the original back; the model downloads once.
- **Tables and charts**: a table picker with six styles; a chart editor for nine kinds with a data grid that takes pasted spreadsheet cells.
- **Video and audio**: MP4, WebM and audio files play in the show.
- **Arrange**: order, align, distribute, group, ungroup, lock.
- **Properties panel**: Format, Slide (layouts, background, hidden, transition) and Design (template, theme colours and fonts, slide size); Review (status and comments) and Agent (the agent switch and activity).
- **Properties panel**: Format, Slide (layouts, background, hidden, transition) and Design (template, theme colours and fonts, slide size); Review (status and comments) and Agent (the agent switch and activity). Drag a group by its grip, or press Alt+Up and Alt+Down, to put the groups in your order; drop a tab on another group to join it. Drag the line between two groups, or use Up and Down on it, to share their height. The layout and the heights are remembered, and View, Reset Panel Layout restores them.
- **Slide background and opacity**: the Design tab's Background button sets a slide background colour in two clicks, with an opacity slider, recent colours, Apply to all slides and Reset to layout. With nothing selected, the Format page has a row of theme swatches for the same job. Colours and Variants on the Design tab switch the theme's colour scheme. Every colour picker has an Opacity row.
- **Views**: Normal, Slide Sorter (drag cards, collapse sections) and Outline (type titles and bullets, Tab to change level).
- **Several decks**: open decks sit in tabs, and New Window puts one beside another. Copy slides (Mod+C on the slides panel) in one deck and paste them (Mod+V) into another tab or window; they take the matching layouts of the deck they land in and bring their pictures, fonts, components and named styles with them. Copy Slides To on a thumbnail's menu sends the selected slides to the end of another open tab without leaving the one you are in.
- **Several decks**: open decks sit in tabs, and New Window puts one beside another. Copy slides (Mod+C on the slides panel) in one deck and paste them (Mod+V) into another tab or window; they take the matching layouts of the deck they land in and bring their pictures, fonts, components and named styles with them. Copy Slides To on a thumbnail's menu sends the selected slides to the end of another open tab without leaving the one you are in. Copy Slide as Picture (Alt+Mod+C, Edit menu, thumbnail menu) copies the current or selected slides as a PNG for any app, and Paste places it as a picture on a slide.
- **Find and replace** across every slide and the notes, with Match case and Whole words.
- **Review**: each slide is Draft, Review, Changes or Approved; comments attach to slides and can be resolved.
- **Versions**: decks save as you work; File > Save Version names a snapshot you can restore.
- **Names**: Save and Save As give the deck the file's name, and the tab, title bar, recent decks and Home change together. Home has a Back to decks button (Alt+Left).
- **Follow agent**: a switch in the status bar, left of Notes (Alt+Shift+F, off by default). When it is on, the editor goes to the slide an agent is working on.

Every key is in the [manual's shortcut table](https://github.com/nodemode-dev/formdeck/blob/main/docs/MANUAL.md#keyboard-shortcuts) and in the app under Help > Keyboard Shortcuts (Mod+/). What is not built yet (master editing, animation authoring, table cell typing, crop handles) is listed in [PARITY.md](https://github.com/nodemode-dev/formdeck/blob/main/docs/PARITY.md).
2 changes: 2 additions & 0 deletions .docs/wiki/Presenting.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ Present from the beginning (F5), from the current slide (Shift+F5) or in present
| G or - | all-slides grid |
| Mod+P, E, Mod+E, L, Mod+A | pen, eraser, clear ink, laser, pointer |
| S, F, Mod+H | pause automatic advance, full screen, hide controls |
| A | Auto-advance on or off |
| Esc | close a popup, drop the pen or laser, unblank, then end |

- **Transitions**: none, fade, push, wipe, split, cover, uncover, zoom, reveal, flip, cube and morph, with a duration and Apply to all in the Slide tab.
- **Builds**: entrance, emphasis and exit animations on a slide play click by click. They are set by agents or in a deck file today; the editor has no animation pane yet.
- **Presenter view** shows the current and next slide, notes with a size control, a timer with pause and reset, Swap displays and End show. The audience window is a separate window (its own window in the desktop app, a pop-up in the browser), and ink, laser and blanking are mirrored to it.
- **Auto-advance** (Slide Show tab, or A in the show) moves every step on after a number of seconds (1 to 600, 5 by default). It is off by default and kept per person. A slide's own timing wins; playing media and open tools hold the count. The logic is in `present/auto-advance.ts`, with hooks in `show.ts`; agents can run the `auto-advance` command with `on` and `seconds`.
- **Rehearse** records how long each slide takes; Keep timings saves them as automatic advance.
- Links on slides open, and video and audio play with their start, end and loop settings.

Expand Down
Loading
Loading