Skip to content

feat(agents): formats, export, clipboard, desktop fixes and agent tools (0.8.0) - #4

Merged
nodemode-ai merged 357 commits into
mainfrom
feat/formats-agents-0.8.0
Dec 3, 2026
Merged

nodemode-ai merged 357 commits into
mainfrom
feat/formats-agents-0.8.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(agents): formats, export, clipboard, desktop fixes and agent tools (0.8.0)

Summary

  • Fixes from the owner's first desktop test, folded into 0.7.0 at the owner's request: the macOS app took about 30 seconds to open because the one-file engine unpacked 314 MB (1,280 files) at every launch; macOS now ships the engine as a flattened one-folder resource (src-tauri/engine, packaged.rs; the FormVis pattern), Linux and Windows stay one-file. Dark page on by default with a View toggle and a Preferences switch (screen only; exports and print keep real colours). Resize handles on structures plus Arrange > Scale (percent or bond length) and Scale Up/Down. Side panel rows no longer overlap (container queries, readable ink tokens, m/z shows [M+H]+). Scored 2D layout with candidates and substituent refinement (Taxol clash score 10.1 to 0.7, CIP unchanged). The in-window menu row folds menus into More menus instead of clipping Help; Escape closes an open menu while the canvas has focus. Grid types (lines, dots, crosses, isometric, hexagonal), spacing in any unit or the bond length, major lines, strength, per-drawing style.grid, and Snap to Grid.
  • Phase 7 (0.7.0), formats and exchange: writers and readers for molfile V2000/V3000, SD, RXN, RD, SMILES, CXSMILES, SMARTS, InChI, CML, and CDXML/CDX through Indigo's KET bridge, with import and export reports of every loss; GET /api/formats, document export and fragment export routes; a round-trip corpus with nine losses fixed. Picture export (SVG, PNG 72 to 600 dpi, PDF and EPS from an own writer with fontTools 4.69.1 subsets) with the editable drawing embedded and reopened; Print; a shared save path (POST /api/files/write) for the desktop app. Clipboard with several flavours, Copy As, Paste and Paste Special, PNG/SVG paste with embedded source. ./formchem convert, batch, descriptors and render (10,000 SD records to SMILES in about 1 s with per-record reasons), Structure > Standardise, File > Import into the open drawing. The engine's mirror of enabled commands updates right after edits; Cut, Copy, Paste and Select All are system menu items on macOS.
  • Phase 8 (0.8.0), agents: 42 MCP tools (documents, draw_from_smiles including reaction SMILES, draw_from_molfile, render through the window's own renderer with an engine fallback, get_structure, validate, compute_properties, convert and batch_convert identical to the CLI, get_atoms and 14 edit tools); every write is one undo step and answers with the structure and a picture. Agent call log with Undo of the latest call, the Agent Activity panel, the editing chip with Stop and flashed changes. HTTP MCP now requires an agent token (./formchem agents token, written by agents install; stdio sends it itself).
  • Bugs found while testing and fixed: water drawn OH2, a lone [H+] with no coordinates, formula text over an arrow read as an agent, engine errors after a translated prefix never translating, settings saved from two places losing one change, an undone agent call shown as done, build_app freezing the engine without fontTools, the i18n scanner missing text in template placeholders (243 older strings now translated too).
  • Translations: 932 new strings across parts 07 to 11 in all 25 languages. Both skill packs updated through the god-tier-skill-creator pipeline (validator PASS, 0 FAIL, 0 WARN on both packs and mirrors). New docs: FORMATS.md, CLI.md, AGENTS.md and wiki pages Formats and Export, Clipboard, Command Line, Grid and Page, Agent Activity.

Commits

Oldest first, release commits last in each phase. Short hashes are left out because they change when formpr signs.

  • build(desktop): freeze the macOS engine as a flattened one-folder in src-tauri/engine (0.7.0)
  • refactor(setup): move engine flattening and signing into lib.sh helpers (0.7.0)
  • build(desktop): build_app freezes the macOS engine one-folder too (0.7.0)
  • build(desktop): ship the macOS engine folder as Resources/engine instead of a sidecar (0.7.0)
  • chore(git): ignore the frozen engine folder src-tauri/engine (0.7.0)
  • feat(desktop): start the one-folder engine from Resources/engine, else the sidecar (0.7.0)
  • build(desktop): desktop dev on macOS freezes when the engine folder is missing (0.7.0)
  • build(setup): clean removes the frozen engine folder src-tauri/engine (0.7.0)
  • build(setup): desktop check reports a macOS engine folder the bundle cannot carry (0.7.0)
  • docs(cli): say where ./formchem freeze puts the engine on macOS (0.7.0)
  • feat(canvas): keep the dark page state in one module (0.7.0)
  • refactor(render): draw the selection, hover, warning and preview marks in their own svg (0.7.0)
  • style(canvas): show the paper and drawing dark on screen when the dark page is on (0.7.0)
  • feat(canvas): add the dark-page command with an on parameter (0.7.0)
  • feat(menus): list Dark Page beside Show Grid in the View and canvas menus (0.7.0)
  • feat(prefs): add a Dark page switch to the Interface section (0.7.0)
  • feat(window): set the dark page before first paint (0.7.0)
  • docs(canvas): say pictures stay close to their real colours under the dark page (0.7.0)
  • refactor(canvas): share the box resize step of the object handles as setBox (0.7.0)
  • feat(canvas): scale a selection with its sizes, styles and bond length (0.7.0)
  • feat(engine): accept the scaleLabels preference in the settings store (0.7.0)
  • feat(prefs): add Scale labels and text with structures, on by default (0.7.0)
  • feat(canvas): draw corner scale handles, a selection frame and a scale readout (0.7.0)
  • feat(canvas): drag a corner handle to scale the selected structures (0.7.0)
  • feat(ui): add the Scale dialog with linked percent and bond length fields (0.7.0)
  • feat(ui): add scale, scale up and scale down icons (0.7.0)
  • feat(commands): add scale-selection, Scale Up and Down 10% and the labels toggle (0.7.0)
  • feat(menus): put Scale, Scale Up, Scale Down and the labels toggle in Arrange (0.7.0)
  • docs(mcp): name scale-selection, scale-up and scale-down in the agent guide (0.7.0)
  • fix(canvas): skip the scale frame over a single boxed object and round scaled styles to 0.01 (0.7.0)
  • feat(chem): score 2D layouts for crowding and label overlap (0.7.0)
  • feat(chem): pick the best-scoring of several 2D layout candidates (0.7.0)
  • feat(chem): swing crowded substituents apart after the 2D layout (0.7.0)
  • fix(chem): keep Clean Up close to the drawing when choosing a layout (0.7.0)
  • feat(chem): report the layout score from the layout route (0.7.0)
  • fix(chem): lay out SMARTS queries with the scored layout (0.7.0)
  • fix(chem): skip layout scoring for very large structures (0.7.0)
  • style(panel): make the analysis body a size container and let its rows wrap (0.7.0)
  • style(analysis): put property and isotope rows on a wrapping two-column grid (0.7.0)
  • fix(analysis): keep element symbols and units with their numbers when a value wraps (0.7.0)
  • fix(analysis): show the [M+H]+ ion in the m/z row of a neutral molecule (0.7.0)
  • fix(analysis): hide the empty hint as soon as a structure is in scope (0.7.0)
  • style(check): put the problem code under its message in the structure check panel (0.7.0)
  • style(markush): wrap enumerated SMILES and formulas instead of cutting them off (0.7.0)
  • style(dialogs): wrap key and value rows instead of cutting values with an ellipsis (0.7.0)
  • style(roles): let the reaction roles rows wrap names and formulas (0.7.0)
  • style(tokens): add ok, warn and danger ink colours that stay readable in light themes (0.7.0)
  • style(analysis): colour the Lipinski verdict and check counts with the readable inks (0.7.0)
  • fix(analysis): fill the m/z row of charged structures from the isotope pattern (0.7.0)
  • feat(menus): fold the menus that do not fit into a More menus button (0.7.0)
  • feat(titlebar): measure the title bar and fold menus before they reach the title (0.7.0)
  • style(titlebar): fold the brand name and labels whenever the menus need the room (0.7.0)
  • fix(window): keep the menu row clear of the document title and the window tools (0.7.0)
  • fix(window): fit the menu row to the title bar instead of scrolling it with the wheel (0.7.0)
  • fix(canvas): leave Escape and the arrow keys to an open menu bar menu (0.7.0)
  • feat(files): add an engine route that writes a file the window chose (0.7.0)
  • feat(save): add the shared save path for exported files (0.7.0)
  • fix(chem): save Export SMARTS through the shared save path in the desktop app (0.7.0)
  • feat(embed): carry the editable drawing inside exported pictures (0.7.0)
  • feat(documents): open SVG, PNG, PDF and EPS pictures that carry a FormChem drawing (0.7.0)
  • feat(pictures): subset and outline the bundled label fonts with fontTools (0.7.0)
  • feat(pictures): read the export SVG into a display list for the vector writers (0.7.0)
  • feat(pictures): write PDF pictures with the drawing attached (0.7.0)
  • feat(pictures): write EPS pictures for journals that still ask for them (0.7.0)
  • feat(pictures): add the font subset and PDF and EPS conversion routes (0.7.0)
  • build(deps): pin fontTools 4.69.1 for picture export and freeze its table modules (0.7.0)
  • fix(embed): keep pictures in the exported page and leave only their bytes out of the source (0.7.0)
  • feat(export): build SVG and PNG pictures from the document model offscreen (0.7.0)
  • feat(export): add the Export Picture dialog and the File > Export commands (0.7.0)
  • feat(print): print the page or the selection at real size (0.7.0)
  • feat(documents): offer exported pictures in the Open dialogs (0.7.0)
  • fix(embed): find the PDF source length past the nested Params dictionary (0.7.0)
  • fix(pictures): keep font subsets byte for byte the same between exports (0.7.0)
  • fix(layout): fall back to the first candidate when every layout score is not a number (0.7.0)
  • feat(chem): add import and export report items with a code, a count and a short text (0.7.0)
  • feat(chem): read and write RD files with reaction and molecule records and data fields (0.7.0)
  • feat(chem): bridge the reference suite's XML and binary drawing formats through Indigo's document JSON (0.7.0)
  • feat(chem): extend the readers with RD files, SMARTS files, InChI names, reaction lines and annotation objects (0.7.0)
  • fix(chem): leave internal notes out of the import and export report (0.7.0)
  • feat(chem): declare every chemistry format with its extensions, mime type and what it loses on write (0.7.0)
  • feat(chem): write CML molecules and reaction schemes in the dialect the reader accepts (0.7.0)
  • feat(reactions): lay out several reaction steps in chains, continuing a row when a step starts from the last products (0.7.0)
  • feat(chem): export a page, a selection or a set of fragments to every chemistry format with a report of what is lost (0.7.0)
  • feat(import): keep annotation objects and every reaction step on import and return the import report (0.7.0)
  • feat(api): list formats, export fragments and parse binary drawings over the chemistry routes (0.7.0)
  • feat(api): export an open drawing's page, selection or whole document with a suggested filename and report headers (0.7.0)
  • feat(ui): show an import report toast with a non-modal details panel of what was lost or changed (0.7.0)
  • feat(app): show the import report after opening a foreign file and accept RD, SMARTS and CXSMILES files (0.7.0)
  • fix(chem): keep absolute stereo, salts, atom lists and arrow heads through the drawing formats (0.7.0)
  • fix(query): write SMARTS chirality that reads back the same and draw SMARTS chirality as wedges (0.7.0)
  • fix(chem): draw amides read from InChI as amides and stop counting stereo flag symbols as unread (0.7.0)
  • fix(reactions): join a step's starting material to the same product of the previous step when a scheme is read (0.7.0)
  • fix(chem): embed R-group members in RD file records and report a dropped conditions text once (0.7.0)
  • perf(chem): stream SD, SMILES, InChI and RD files record by record for batch conversion with per-record failures (0.7.0)
  • feat(format): add the optional style.grid field for a drawing's page grid (0.7.0)
  • feat(canvas): add grid lattices, the window grid default and snap state (0.7.0)
  • style(tokens): add the page grid ink and strength tokens (0.7.0)
  • feat(canvas): draw the page grid as one SVG layer in every grid type (0.7.0)
  • feat(ui): add the Grid Settings dialog with a live preview on the page (0.7.0)
  • feat(commands): add grid-type, grid-spacing, snap-to-grid and grid-settings (0.7.0)
  • feat(menus): add the View > Grid submenu with types, snapping and settings (0.7.0)
  • feat(tools): snap new bonds, chains and rings to the grid (0.7.0)
  • feat(tools): snap dragged atoms, objects and handles to the grid (0.7.0)
  • feat(tools): snap new arrows, shapes, brackets, tables and TLC plates to the grid (0.7.0)
  • feat(prefs): add the Grid defaults to Preferences > Drawing (0.7.0)
  • docs(extensions): list the grid and snapping commands extensions can run (0.7.0)
  • style(canvas): strengthen the grid a little and grow dots with the cell (0.7.0)
  • feat(chem): add the standardise pipeline on RDKit MolStandardize (0.7.0)
  • feat(chem): write standardised structures back to the drawing as one transaction (0.7.0)
  • feat(analysis): add the standardise route that returns one transaction (0.7.0)
  • feat(chem): read and write structure files record by record for batch work (0.7.0)
  • feat(chem): draw structures and reactions in the engine in the journal style (0.7.0)
  • refactor(chem): let the properties run on an RDKit molecule as well as a fragment (0.7.0)
  • feat(batch): convert files and folders in the engine with a per-record report (0.7.0)
  • feat(batch): write descriptors to CSV and render a file's records to an image folder (0.7.0)
  • feat(cli): add convert, batch, descriptors and render as an engine command line (0.7.0)
  • fix(batch): leave no empty output file when every record failed (0.7.0)
  • style(chem): tighten the label padding of engine drawings (0.7.0)
  • build(setup): add the convert launcher and its Windows twin (0.7.0)
  • feat(cli): wire convert, batch, descriptors and render into ./formchem (0.7.0)
  • feat(cli): wire the conversion commands into formchem.bat (0.7.0)
  • feat(engine): add the window client for the standardise route (0.7.0)
  • feat(ui): add the Standardize dialog with a step checklist and a live preview (0.7.0)
  • style(ui): lay out the Standardize dialog (0.7.0)
  • feat(app): add the standardise command for the selection or the page (0.7.0)
  • feat(app): register standardise and list it in the Structure menu (0.7.0)
  • feat(chem): let batch conversion use the 0.7.0 record stream through one setting (0.7.0)
  • feat(clipboard): build the native clipboard drawing and its paste plan with fresh ids (0.7.0)
  • feat(clipboard): convert copied drawings to text formats and read pasted text (0.7.0)
  • feat(clipboard): write and read several clipboard flavours with platform fallbacks (0.7.0)
  • feat(clipboard): render copied pictures and read their embedded source through the export modules (0.7.0)
  • feat(clipboard): copy, cut, paste, Copy As and Paste Special on the canvas (0.7.0)
  • style(clipboard): lay out the Paste Special choices (0.7.0)
  • feat(shell): route Edit Cut, Copy and Paste to the canvas clipboard (0.7.0)
  • feat(menus): fill the Copy As submenu and add Paste Special to Edit (0.7.0)
  • fix(edit): duplicate through the clipboard paste plan to keep stereo groups and reactions (0.7.0)
  • fix(clipboard): enable Copy and Copy As whenever a drawing is open (0.7.0)
  • feat(desktop): let the windows read and write the clipboard from script (0.7.0)
  • fix(clipboard): read the clipboard directly when the paste event carries nothing (0.7.0)
  • fix(clipboard): paste a picture whose embedded drawing is empty as a plain picture (0.7.0)
  • feat(clipboard): carry the drawing of copied PNGs through an HTML picture (0.7.0)
  • fix(clipboard): trim one-line exports and show only real losses after a paste (0.7.0)
  • fix(commands): take quick command state updates and let the window decide (0.7.0)
  • fix(commands): mirror enabled state to the engine right after edits (0.7.0)
  • fix(desktop): make Cut, Copy, Paste and Select All system menu items on macOS (0.7.0)
  • feat(formats): give RDKit's own reason for each record the stream reader cannot read (0.7.0)
  • refactor(convert): read records through the one stream reader (0.7.0)
  • fix(structure): spell Standardise the way the rest of the app does (0.7.0)
  • refactor(grid): drop the unused list of grid type command ids (0.7.0)
  • style(toast): write error toasts in the danger ink (0.7.0)
  • style(dialogs): show the copied tick in the ok ink (0.7.0)
  • style(extensions): write extension state and refusal text in the status inks (0.7.0)
  • style(chat): use the danger ink for chat errors and the danger button hover (0.7.0)
  • fix(structure): put the space back after Standardised: in the result toast (0.7.0)
  • fix(i18n): scan t() calls and text inside template placeholders (0.7.0)
  • fix(i18n): also scan the escaping t() wrappers h() and x() (0.7.0)
  • fix(structure): keep translated step names as written in the Standardise toast (0.7.0)
  • fix(i18n): leave code, MIME types, font names and report lines out of the scan (0.7.0)
  • fix(i18n): key toasts built from pieces as whole sentences (0.7.0)
  • feat(i18n): key the 427 window strings the widened scan found (0.7.0)
  • feat(i18n): key the engine texts the window shows and whole toast sentences (0.7.0)
  • feat(import): read a chemistry file, picture or drawing for insertion (0.7.0)
  • feat(import): POST /api/documents/import reads a path or an upload without opening it (0.7.0)
  • feat(clipboard): insert a drawing through the paste plan at a chosen spot (0.7.0)
  • fix(import): lay inserted structures out as a compact table that fits the page (0.7.0)
  • feat(import): insert picked files into the active drawing in free space (0.7.0)
  • feat(commands): File > Import... runs for people and agents with an optional path (0.7.0)
  • feat(i18n): key the Import strings and its engine messages (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Spanish (Spain) (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Spanish (Mexico) (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Portuguese (Brazil) (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into French (France) (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into French (Canada) (0.7.0)
  • feat(i18n): translate the Import strings into Spanish (Spain) (0.7.0)
  • feat(i18n): translate the Import strings into Spanish (Mexico) (0.7.0)
  • feat(i18n): translate the Import strings into Portuguese (Brazil) (0.7.0)
  • feat(i18n): translate the Import strings into French (France) (0.7.0)
  • feat(i18n): translate the Import strings into French (Canada) (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into German (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Italian (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Dutch (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Danish (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Finnish (0.7.0)
  • feat(i18n): translate the Import strings into German (0.7.0)
  • feat(i18n): translate the Import strings into Italian (0.7.0)
  • feat(i18n): translate the Import strings into Dutch (0.7.0)
  • feat(i18n): translate the Import strings into Danish (0.7.0)
  • feat(i18n): translate the Import strings into Finnish (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Norwegian Bokmål (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Swedish (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Russian (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Polish (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Czech (0.7.0)
  • feat(i18n): translate the Import strings into Norwegian Bokmål (0.7.0)
  • feat(i18n): translate the Import strings into Swedish (0.7.0)
  • feat(i18n): translate the Import strings into Russian (0.7.0)
  • feat(i18n): translate the Import strings into Polish (0.7.0)
  • feat(i18n): translate the Import strings into Czech (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Hungarian (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Ukrainian (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Turkish (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Indonesian (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Vietnamese (0.7.0)
  • feat(i18n): translate the Import strings into Hungarian (0.7.0)
  • feat(i18n): translate the Import strings into Ukrainian (0.7.0)
  • feat(i18n): translate the Import strings into Turkish (0.7.0)
  • feat(i18n): translate the Import strings into Indonesian (0.7.0)
  • feat(i18n): translate the Import strings into Vietnamese (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Simplified Chinese (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Traditional Chinese (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Japanese (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Korean (0.7.0)
  • feat(i18n): translate the 0.7.0 and catch-up strings into Thai (0.7.0)
  • feat(i18n): translate the Import strings into Simplified Chinese (0.7.0)
  • feat(i18n): translate the Import strings into Traditional Chinese (0.7.0)
  • feat(i18n): translate the Import strings into Japanese (0.7.0)
  • feat(i18n): translate the Import strings into Korean (0.7.0)
  • feat(i18n): translate the Import strings into Thai (0.7.0)
  • docs(notice): list fontTools and the one-folder macOS engine (0.7.0)
  • docs(format): keep the derived style values with the style and name the meta keys of 0.7.0 (0.7.0)
  • docs(changelog): add 0.7.0, formats and exchange with the fixes from the first desktop test (0.7.0)
  • docs(hashout): record the engine and setup decisions of 0.7.0 (0.7.0)
  • docs(hashout): record the window and desktop shell decisions of 0.7.0 (0.7.0)
  • docs(formats): describe every format, its losses, the report codes and the exchange routes (0.7.0)
  • docs(cli): document convert, batch, descriptors and render with examples and timings (0.7.0)
  • docs(wiki): add the Formats and Export page (0.7.0)
  • docs(wiki): add the Clipboard page (0.7.0)
  • docs(wiki): add the Command Line page (0.7.0)
  • docs(wiki): add the Grid and Page page (0.7.0)
  • docs(wiki): bring Drawing up to 0.7.0 with scaling, snapping, the clipboard and the scored layout (0.7.0)
  • docs(wiki): explain the one-folder macOS engine, the flatten rule and the desktop-only paths (0.7.0)
  • docs(wiki): list the export, clipboard, standardise, scale and grid commands agents can run (0.7.0)
  • docs(wiki): bring Project Format, Getting Started, Home and the engine wording up to 0.7.0 (0.7.0)
  • docs(readme): add the 0.7.0 features, status and the macOS engine folder (0.7.0)
  • docs(import): describe File > Import, its engine route and its report codes (0.7.0)
  • docs(hashout): say how the strings, engine texts and toasts of 0.7.0 are keyed (0.7.0)
  • docs(skills): bring the harness and skillset packs to 0.7.0 (0.7.0)
  • fix(build): freeze fontTools into the engine that build_app makes (0.7.0)
  • chore(release): 0.7.0 (0.7.0)
  • feat(agents): read back the structures an agent call touched and find free space on the page (0.8.0)
  • feat(agents): draw an agent's structures with the engine in the journal style when no window is open (0.8.0)
  • feat(window): let window modules answer their own agent tool calls (0.8.0)
  • feat(window): render drawings, report the selection and show drawings for agents (0.8.0)
  • feat(app): answer the agent render, selection and show calls in every window (0.8.0)
  • feat(bridge): ask the next window when one does not answer a render or selection call (0.8.0)
  • feat(agents): render through the window's own renderer and answer every agent write with structure and picture (0.8.0)
  • feat(agents): lay out SMILES, molfiles and reaction SMILES as one set of ops in free space (0.8.0)
  • feat(mcp): add the render tool for objects, the selection or the page as PNG or SVG (0.8.0)
  • feat(mcp): list, make, open, save and close drawings from an agent (0.8.0)
  • feat(mcp): draw structures and reaction schemes from SMILES and molfiles (0.8.0)
  • fix(agents): end agent result sentences once and count a single atom as one atom (0.8.0)
  • feat(agents): gather identifiers, masses and a molfile per fragment for agents (0.8.0)
  • feat(mcp): add get_structure for one object, the selection or every fragment (0.8.0)
  • feat(mcp): add validate and compute_properties under the spec 9.1 names (0.8.0)
  • feat(agents): convert text or files and batch folders through the CLI's own batch runner (0.8.0)
  • fix(agents): never write a conversion over an existing file or into a full folder, temporary or not (0.8.0)
  • feat(mcp): add convert and batch_convert with per-record failures (0.8.0)
  • docs(mcp): describe the drawing, checking, document and file tools in the instructions, workflow, guide and get_context (0.8.0)
  • docs(agents): regenerate the tools reference and manifest for the drawing and document tools (0.8.0)
  • fix(agents): place new structures below a reaction scheme instead of after its arrow (0.8.0)
  • feat(agents): add atoms and bonds by id as pure document edits (0.8.0)
  • feat(agents): set an atom's charge, element, isotope, label or radical by id (0.8.0)
  • feat(agents): delete atoms, bonds and objects by id in one edit (0.8.0)
  • feat(agents): move and scale structures and objects engine-side (0.8.0)
  • feat(agents): align and distribute objects by id (0.8.0)
  • feat(agents): clean up or lay out structures through the scored layout (0.8.0)
  • feat(agents): set R or S on a centre and E or Z on a double bond (0.8.0)
  • feat(agents): replace a SMARTS match with a SMILES group in place (0.8.0)
  • feat(agents): add arrows, text, captions and reaction schemes by id (0.8.0)
  • feat(mcp): list a drawing's atoms and bonds by id with get_atoms (0.8.0)
  • feat(mcp): add atoms and bonds, set charges and atoms by id as agent tools (0.8.0)
  • feat(mcp): set CIP labels and replace substructures as agent tools (0.8.0)
  • feat(mcp): delete, move, scale, align and clean up as agent tools (0.8.0)
  • feat(mcp): add arrows, text and reaction schemes as agent tools (0.8.0)
  • docs(mcp): describe the edit tools in the instructions, workflow and guide (0.8.0)
  • chore(agents): regenerate the tools reference and manifest for the edit tools (0.8.0)
  • fix(mcp): word edit results the way the shared write_result words them (0.8.0)
  • feat(engine): keep an agent token for HTTP MCP in the data folder (0.8.0)
  • fix(setup): send the agent token from the stdio transport and the cli (0.8.0)
  • fix(mcp): refuse HTTP MCP requests that carry no agent token (0.8.0)
  • feat(setup): write the agent token into agent configs and print it with agents token (0.8.0)
  • feat(engine): let services hear every applied change, undo and redo (0.8.0)
  • feat(engine): record every agent call with its drawing, transaction and touched objects (0.8.0)
  • feat(engine): let the person stop one agent and allow it again (0.8.0)
  • feat(mcp): log every tool call in one place and refuse a stopped agent (0.8.0)
  • feat(engine): serve the agent call log with undo, stop, allow and the agent token (0.8.0)
  • feat(app): mirror the engine's agent call log in the window (0.8.0)
  • feat(canvas): flash what an agent call changed in a keyed marks layer (0.8.0)
  • feat(ui): add the Agent activity panel (0.8.0)
  • feat(ui): show which agent is editing the drawing, with Stop, in the title bar (0.8.0)
  • style(ui): style the Agent activity panel, the editing chip, the canvas edge and the marks (0.8.0)
  • feat(app): wire Agent activity into the window and the Window menu (0.8.0)
  • feat(ui): put the agent token in the Agents dialog setups (0.8.0)
  • docs(wiki): document the agent token, the agent call log and Agent activity (0.8.0)
  • fix(layout): give a lone hydrogen or agent ion real 2D coordinates (0.8.0)
  • fix(reactions): read formula text over an arrow as conditions, as the format says (0.8.0)
  • fix(canvas): write lone water, H2S and the hydrogen halides hydrogen first (0.8.0)
  • refactor(mcp): let the edit tools pick the drawing the window shows and return the shared write result (0.8.0)
  • fix(app): flash what an agent drew once its new drawing is shown (0.8.0)
  • fix(i18n): translate the engine's message after a translated "Could not" prefix (0.8.0)
  • fix(chat): tell the agent about the agent token in the copied prompt (0.8.0)
  • fix(ui): show each Analysis warning in its own keyed node so each translates (0.8.0)
  • fix(ui): show each Standardise step detail in its own node so each translates (0.8.0)
  • fix(agents): keep an undone agent call marked undone after later edits clear redo (0.8.0)
  • fix(geometry): count a lone atom's hydrogens in its box on the side they are written (0.8.0)
  • fix(engine): write settings under one lock so two saves cannot race (0.8.0)
  • refactor(i18n): pass the agent chip's texts to t() with numbered placeholders (0.8.0)
  • refactor(i18n): pass the Agent activity texts to t() with numbered placeholders (0.8.0)
  • refactor(i18n): write the copied agent prompt's URL as a numbered placeholder (0.8.0)
  • fix(i18n): translate the call's result line in the Agent activity row tooltip (0.8.0)
  • chore(i18n): leave the agent-window answers and phase 8 noise out of the scan (0.8.0)
  • feat(i18n): key the agent activity, agent chip and agent setup strings (0.8.0)
  • feat(i18n): key the agent texts the scan cannot see (0.8.0)
  • docs(changelog): add the 0.8.0 agents release notes (0.8.0)
  • docs(hashout): log the engine side of the 0.8.0 agent tools (0.8.0)
  • docs(hashout): log the window side of the 0.8.0 agent tools (0.8.0)
  • docs(agents): add the agent reference with every tool, the token and the call log (0.8.0)
  • docs(wiki): describe the 42 agent tools, drawing directly, consent and Stop (0.8.0)
  • docs(wiki): add the Agent Activity page and link it in the sidebar (0.8.0)
  • docs(wiki): give Home the 0.8.0 status and the Agent Activity row (0.8.0)
  • docs(wiki): show how to connect an agent in Getting Started (0.8.0)
  • docs(wiki): explain the agent write path, the render bridge and the call log (0.8.0)
  • docs(cli): say that the agent convert tools now run the same runners (0.8.0)
  • docs(readme): describe the 0.8.0 agent tools, the token and Agent Activity (0.8.0)
  • docs(security): cover the agent token, Stop and the agent call log (0.8.0)
  • feat(skills): teach the harness to draw and edit with the 0.8.0 tools (0.8.0)
  • feat(skills): check drawings with render and get_structure, and hand off with undo steps (0.8.0)
  • feat(skills): bring the harness sub-skills and evaluations to the 0.8.0 tools (0.8.0)
  • feat(skills): map the agent tools, call log and token in the skillset (0.8.0)
  • feat(i18n): translate the agent strings into Spanish (Spain) (0.8.0)
  • feat(i18n): translate the agent strings into Spanish (Mexico) (0.8.0)
  • feat(i18n): translate the agent strings into Portuguese (Brazil) (0.8.0)
  • feat(i18n): translate the agent strings into French (France) (0.8.0)
  • feat(i18n): translate the agent strings into French (Canada) (0.8.0)
  • feat(i18n): translate the agent strings into German (0.8.0)
  • feat(i18n): translate the agent strings into Italian (0.8.0)
  • feat(i18n): translate the agent strings into Dutch (0.8.0)
  • feat(i18n): translate the agent strings into Danish (0.8.0)
  • feat(i18n): translate the agent strings into Finnish (0.8.0)
  • feat(i18n): translate the agent strings into Norwegian Bokmål (0.8.0)
  • feat(i18n): translate the agent strings into Swedish (0.8.0)
  • feat(i18n): translate the agent strings into Russian (0.8.0)
  • feat(i18n): translate the agent strings into Polish (0.8.0)
  • feat(i18n): translate the agent strings into Czech (0.8.0)
  • feat(i18n): translate the agent strings into Hungarian (0.8.0)
  • feat(i18n): translate the agent strings into Ukrainian (0.8.0)
  • feat(i18n): translate the agent strings into Turkish (0.8.0)
  • feat(i18n): translate the agent strings into Indonesian (0.8.0)
  • feat(i18n): translate the agent strings into Vietnamese (0.8.0)
  • feat(i18n): translate the agent strings into Simplified Chinese (0.8.0)
  • feat(i18n): translate the agent strings into Traditional Chinese (0.8.0)
  • feat(i18n): translate the agent strings into Japanese (0.8.0)
  • feat(i18n): translate the agent strings into Korean (0.8.0)
  • feat(i18n): translate the agent strings into Thai (0.8.0)
  • docs(agents): tell agents about the 0.8.0 tools and the token in CLAUDE.md and AGENTS.md (0.8.0)
  • docs(security): name 0.8.x as the supported line (0.8.0)
  • chore(release): 0.8.0 (0.8.0)

Version

v0.8.0 (release commit is last; v0.7.0 is the release commit at the end of phase 7). Version sites bumped: frontend/package.json, both fields of frontend/package-lock.json, frontend/src/version.ts, backend/app/init.py, src-tauri/Cargo.toml, the formchem entry of src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the Flatpak metainfo release line, the README badge.

Checks

  • npx tsc --noEmit, ./formchem build, compileall and formchem_engine.py --selfcheck (formchem 0.8.0, rdkit 2025.09.3, indigo 1.49.0), cargo check --locked in src-tauri (Linux with WebKitGTK 2.52): pass.
  • ./formchem i18n check (26 languages), setup/agents.py sync --check, setup/notices.py --check (fontTools 4.69.1 MIT added), bash -n on the shell scripts, no em dash in markdown, no emoji in changed files: pass. god-tier-skill-creator validate_skill.py on both packs and both mirrors: PASS.
  • Phase 7 in headless Chromium at 4x CPU slowdown: dark page default and toggle; Taxol insert, 150% corner resize and Scale with SMILES and wedges unchanged; Analysis panel at 240 and 296 px with no overlap; menu bar at 980 to 1920 px in English and German with no overlap; all grid types with snapping (32 of 32 atoms on lattice points); CDXML, SD and RD import reports; PNG, SVG, PDF, EPS, CDXML, molfile and SMILES exports reopen with the same SMILES; clipboard copy, every Copy As, paste and Paste Special; Standardise; Import of SD, RXN, CDXML and PNG with one undo each; no container rebuilds; agents' run_command works right after a keyboard edit.
  • Phase 8 exit criterion with a window open: through setup/mcp_stdio.py, draw_from_smiles aspirin, render (window renderer) and get_structure returned BSYNRYMUTXBXSQ-UHFFFAOYSA-N after one Allow once; one Undo removed it; acetic acid built with the edit tools and undone call by call from Agent Activity; HTTP MCP without the token 401, with it 200.
  • Release smoke test: served 0.8.0, Home renders, dark page on by default, no console errors, MCP without the token 401. A PyInstaller one-file freeze (Linux) passes --selfcheck; one-folder start to address 0.55 s against 1.5 s one-file.
  • Not run: the macOS app (the one-folder engine, flatten step, native Edit menu items and real launch time), Windows and Linux desktop builds, real Claude Code or Codex clients against the token, Safari and Firefox, EPS rendering (no Ghostscript here). No tests exist yet (the owner has not asked; TEST_PLAN.md in the planning sidecar covers 0.7.0, 0.8.0 and the desktop build).

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

…ted text (0.7.0)

Copy As and paste need one place that asks the engine for SMILES, CXSMILES, molfile, InChI, SMARTS, CDXML and reaction text, and that recognises pasted native data, reactions, SMARTS and every text format the parser reads. It prefers the new export route and falls back to the older per-format routes.
Clean-up, normalise, salt and solvent removal, largest fragment, reionise, neutralise, canonical tautomer, isotopes, stereo and explicit H run in one fixed order and each step reports what it changed, for the CLI and the Standardize dialog alike.
…orm fallbacks (0.7.0)

Copy puts native data, HTML, text and pictures on the clipboard at once; the asynchronous Clipboard API is used where it is allowed and a copy event carries the text flavours where it is not, so the desktop webviews still get native data.
…e through the export modules (0.7.0)

Copy as PNG and SVG and paste of pictures reuse the offscreen picture renderer and the embedded-source reader of the export work; the adapter finds them at build time so the clipboard builds before they land.
…transaction (0.7.0)

The selected fragments are standardised together so a drawn Na+ next to a benzoate counts as a salt; atoms keep their ids and places, changed ring systems get fresh Kekule bonds, hydrogens are pinned only where the drawing would read them wrong, and emptied structures leave the page.
…n (0.7.0)

POST /api/analysis/standardise takes a drawing and its fragments (or one fragment) plus the steps and answers the step report, the SMILES before and after and the transaction, applied when asked, like the other 0.6.0 analysis edits; GET lists the steps with their methods.
… work (0.7.0)

SD, SMILES, CXSMILES and InChI stream in chunks straight to RDKit molecules with a reason for every record that fails, and the other formats go through the existing readers, behind one iter_records name so the 0.7.0 format readers can replace it in one line.
…l style (0.7.0)

Batch rendering runs without a window, so RDKit's SVG and Cairo drawers are set to 14.4 pt bonds, 0.6 pt lines, 18 percent double bond spacing and Arimo labels at 10 pt; SVG is sized in points and PNG is 300 dpi with its resolution recorded.
…s a fragment (0.7.0)

Descriptors for thousands of file records must not rebuild a drawing per record, so the 0.6.0 property code is split into measure (a molecule) and compute (a fragment), with the window's answers unchanged.
…anvas (0.7.0)

The canvas answers the copy, cut and paste events and the Edit commands: copy writes every flavour, paste picks the richest one that parses and lands at the pointer or the view centre, selected, as one undo step, and Paste Special lists what the clipboard holds.
The dialog lists each way to paste with its detail on one row and marks the chosen one with the accent tint.
…0.7.0)

The Edit commands were text-field only with 0.7.0 placeholders for Copy As; they now act on the drawing when no field has focus, carry their usual shortcuts for the menus, and the placeholders give way to the real Copy As commands.
…0.7.0)

Copy As now lists SMILES, CXSMILES, molfile, InChI, InChIKey, SMARTS, SVG, PNG and CDXML in one place, so Copy as SMARTS moves there from the end of the Edit menu.
…groups and reactions (0.7.0)

Duplicate copied atoms and bonds into bare fragments, dropping stereo groups, R-group definitions, styles and the reaction steps bound to the copies; it now shares the remapping paste uses.
…d report (0.7.0)

convert_file and batch stream records through the optional standardise steps into the target format, spread large files and folders over worker processes, and log every failed record with its number, name and RDKit's own reason instead of stopping.
…an image folder (0.7.0)

Both reuse the record stream, the worker pool and the report of conversion: descriptors take the 0.6.0 property set with SMILES, name, InChI and rule counts as columns, and rendering writes one SVG or 300 dpi PNG per record named by its number and title.
…mmand line (0.7.0)

python -m app.cli runs the engine's chemistry in-process with no server: it resolves paths from the caller's folder, prints one summary line with the timing, lists failed records or writes them to --errors, and exits 1 only when nothing was written and 2 on bad arguments.
A conversion that wrote nothing used to leave a zero-byte file that a later batch run would read as an empty input.
With 10 pt labels on 14.4 pt bonds a bond between two labelled atoms, such as S-S, all but vanished; half the padding keeps it visible and closer to the window's 1.6 pt margin.
Both start the engine's command line in the backend venv from the caller's folder, so relative input and output paths mean what the person typed.
…m (0.7.0)

The four commands go straight to the engine's command line in the venv, and the usage text says what each takes, how failures are reported and when the exit code is non-zero.
….7.0)

The engine refuses commands by the enabled state the window last mirrored, which lags behind pastes and keyboard edits, so an agent could not copy a page it had just filled; an empty page now answers with a short note instead.
The Windows twin hands its whole command line to convert.bat, so comma lists such as --props mw,clogp and --standardise=all reach the engine intact instead of being split by cmd.
…pt (0.7.0)

Edit Paste and Paste Special read the clipboard through the Clipboard API; WebKitGTK refuses script clipboard access and WebView2 asks on every read unless the webview enables it, which wry only does when asked (macOS WKWebView always allows it behind a user gesture).
A module of its own beside analysis-api keeps the shared client untouched while other 0.7.0 work edits it; it reads the step list once and the step report, SMILES and transaction of each run.
…ies nothing (0.7.0)

WebKitGTK hands the paste event an empty DataTransfer when the clipboard holds a picture, while the Clipboard API reads it as image/png, so a keyboard paste of a picture in the Linux desktop app did nothing.
… preview (0.7.0)

Each change of the checklist asks the engine again, so the dialog shows per step what it would change and the SMILES before and after without touching the drawing; Apply returns the steps, which are remembered for next time.
Steps sit in a three-column grid with their outcome in the ok or danger ink, the SMILES preview keeps its height while the engine answers, and the status line reserves its space so nothing jumps.
…(0.7.0)

Without steps it opens the dialog; with steps (from an agent or ./formchem cli) it runs at once; either way the engine's transaction is committed as one undo step after checking the drawing did not change meanwhile.
…7.0)

Two one-line edits in shared files: the registration beside the other chemistry commands and Standardize... after Check Structure.
Adds part10 and part11 for de so the agent activity and tool result texts appear in German.
Adds part10 and part11 for it so the agent activity and tool result texts appear in Italian.
Adds part10 and part11 for nl so the agent activity and tool result texts appear in Dutch.
Adds part10 and part11 for da so the agent activity and tool result texts appear in Danish.
Adds part10 and part11 for fi so the agent activity and tool result texts appear in Finnish.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 3, 2026 17:24
@nodemode-ai
nodemode-ai merged commit ed5624a into main Dec 3, 2026
4 checks passed
@nodemode-ai
nodemode-ai deleted the feat/formats-agents-0.8.0 branch December 3, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant