Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
cc697bc
feat(canvas): draw query marks for atom lists, query bonds and R-grou…
nodemode-ai Dec 3, 2026
6895f91
feat(canvas): keep the stereo group and query mark view options (0.6.0)
nodemode-ai Dec 3, 2026
0d1361a
feat(canvas): add a keyed chemistry marks layer for the renderer (0.6.0)
nodemode-ai Dec 3, 2026
58a229e
fix(chem): recompute derived values when stereo groups or the chiral …
nodemode-ai Dec 3, 2026
d822cf2
feat(chem): read enhanced stereo groups and the chiral flag on import…
nodemode-ai Dec 3, 2026
9f4a745
feat(tools): add reaction arrow tools for every straight arrow kind (…
nodemode-ai Dec 3, 2026
43aa14c
feat(engine): add the analysis engine client for stereo, hydrogens, a…
nodemode-ai Dec 3, 2026
78f29af
feat(tools): add anchored electron-pushing and fishhook arrow tools (…
nodemode-ai Dec 3, 2026
7ada76c
feat(tools): add plus, equals and adduct dot tools (0.5.0)
nodemode-ai Dec 3, 2026
cebae18
feat(chem): add a stereo report and stereo group edits (0.6.0)
nodemode-ai Dec 3, 2026
67a6b57
feat(app): add window-side edits for atom queries, query bonds, stere…
nodemode-ai Dec 3, 2026
8aba28c
feat(tools): add round, square and curly bracket tools (0.5.0)
nodemode-ai Dec 3, 2026
aa60a40
feat(ui): add icons for stereo, hydrogens, abbreviations, queries and…
nodemode-ai Dec 3, 2026
d548171
feat(chem): warn about unknown stereocentres and undefined double bon…
nodemode-ai Dec 3, 2026
e16a3aa
feat(tools): add the line and polyline tool (0.5.0)
nodemode-ai Dec 3, 2026
cb452c8
feat(ui): add a periodic table picker built once and patched (0.6.0)
nodemode-ai Dec 3, 2026
10e7a0a
feat(ui): add the atom list dialog with include and exclude (0.6.0)
nodemode-ai Dec 3, 2026
d578330
feat(tools): add the table tool (0.5.0)
nodemode-ai Dec 3, 2026
387c7ee
feat(tools): add the TLC plate tool (0.5.0)
nodemode-ai Dec 3, 2026
94dd34a
feat(chem): rewrite wedges from a configuration, wanted CIP labels or…
nodemode-ai Dec 3, 2026
037d9dd
feat(ui): add the R-group definition dialog (0.6.0)
nodemode-ai Dec 3, 2026
f8d923f
feat(tools): add orbital tools for s, p, d, dz2, sp, sigma and pi lob…
nodemode-ai Dec 3, 2026
3b402e1
feat(render): draw polylines and smooth Bezier lines (0.5.0)
nodemode-ai Dec 3, 2026
146bde2
feat(tools): add the image tool with a swappable media uploader (0.5.0)
nodemode-ai Dec 3, 2026
478f7bf
feat(ui): add query bond, atom query and stereo group submenus for th…
nodemode-ai Dec 3, 2026
69be2c0
feat(chem): grow the abbreviation library and read user abbreviations…
nodemode-ai Dec 3, 2026
746e0c8
feat(tools): add the caption tool that attaches text to a structure (…
nodemode-ai Dec 3, 2026
6e732eb
fix(tools): delete a group's members with the group (0.5.0)
nodemode-ai Dec 3, 2026
1c73a5b
feat(ui): add the enhanced stereo group popover (0.6.0)
nodemode-ai Dec 3, 2026
a4e56e7
feat(render): compute stoichiometry grid values for display (0.5.0)
nodemode-ai Dec 3, 2026
df5eafa
feat(ui): add the abbreviation picker with label entry (0.6.0)
nodemode-ai Dec 3, 2026
f1b456f
feat(tools): reshape and resize selected objects by their handles (0.…
nodemode-ai Dec 3, 2026
abe44e1
feat(tools): select the outermost group on click (0.5.0)
nodemode-ai Dec 3, 2026
a9bc3d6
feat(ui): add the structure check results panel (0.6.0)
nodemode-ai Dec 3, 2026
8f972d8
feat(render): draw tables and live stoichiometry grids (0.5.0)
nodemode-ai Dec 3, 2026
700fc00
feat(chem): contract substituents into abbreviations and expand them …
nodemode-ai Dec 3, 2026
8d5a1c9
feat(app): add bring to front, bring forward, send backward and send …
nodemode-ai Dec 3, 2026
28c4068
feat(app): add the property rows and the copy-analysis text formatter…
nodemode-ai Dec 3, 2026
9afdf85
feat(render): draw images from document media with crop, opacity and …
nodemode-ai Dec 3, 2026
eae9d7c
feat(app): add group and ungroup handlers (0.5.0)
nodemode-ai Dec 3, 2026
0cefa28
feat(render): draw TLC plates with origin, front, lanes, spots and Rf…
nodemode-ai Dec 3, 2026
c7bdf2c
feat(ui): add the analysis properties section with method tooltips (0…
nodemode-ai Dec 3, 2026
63a68b2
feat(app): add align, distribute and Arrange command definitions for …
nodemode-ai Dec 3, 2026
90f979a
feat(render): draw s, p, d, dz2, sp, sigma and pi orbitals with phase…
nodemode-ai Dec 3, 2026
741150a
feat(render): give groups a view that draws nothing and bounds their …
nodemode-ai Dec 3, 2026
5e5bfa9
feat(engine): accept a SMARTS pattern as the substructure query (0.6.0)
nodemode-ai Dec 3, 2026
1124634
feat(templates): add heterocycle template data (0.5.0)
nodemode-ai Dec 3, 2026
3bf40ef
feat(templates): add amino acid template data (0.5.0)
nodemode-ai Dec 3, 2026
cfb518c
feat(templates): add sugar and nucleotide template data (0.5.0)
nodemode-ai Dec 3, 2026
79531a0
feat(templates): add protecting group and reagent template data (0.5.0)
nodemode-ai Dec 3, 2026
c209a7d
feat(templates): add an original glassware vector set (0.5.0)
nodemode-ai Dec 3, 2026
8d4a883
feat(templates): add the templates service (0.5.0)
nodemode-ai Dec 3, 2026
f40e002
feat(templates): add the templates router (0.5.0)
nodemode-ai Dec 3, 2026
c7cd0b0
feat(render): place captions under their target structure (0.5.0)
nodemode-ai Dec 3, 2026
95d3080
feat(render): compute object bounds for every kind from the document …
nodemode-ai Dec 3, 2026
f8579b2
feat(chem): turn atom and bond query features into SMARTS (0.6.0)
nodemode-ai Dec 3, 2026
9ca52f8
feat(canvas): add a hit test helper for non-chemistry objects (0.5.0)
nodemode-ai Dec 3, 2026
6985e8c
feat(stoich): compute stoichiometry for a reaction step in the window…
nodemode-ai Dec 3, 2026
7760802
feat(stoich): build the ops that store typed stoichiometry values (0.…
nodemode-ai Dec 3, 2026
bdb2fd3
feat(chem): read SMARTS into a query fragment (0.6.0)
nodemode-ai Dec 3, 2026
878c1b2
feat(app): add the stereo, hydrogen, abbreviation, query and analysis…
nodemode-ai Dec 3, 2026
462ef0d
feat(render): dispatch every object kind through the registry in the …
nodemode-ai Dec 3, 2026
bce0e31
feat(chem): search document fragments for a query substructure (0.6.0)
nodemode-ai Dec 3, 2026
20e762f
style(canvas): add styles for stereo and query marks (0.6.0)
nodemode-ai Dec 3, 2026
94a8fc6
style(ui): add styles for the query, stereo, abbreviation, check and …
nodemode-ai Dec 3, 2026
37a073a
feat(chem): describe and enumerate Markush R-group structures (0.6.0)
nodemode-ai Dec 3, 2026
3f23c83
feat(chem): write query fragments and R-group definitions as V3000 mo…
nodemode-ai Dec 3, 2026
6ce000a
feat(stoich): add the stoichiometry panel (0.5.0)
nodemode-ai Dec 3, 2026
2e3f898
style(stoich): style the stoichiometry panel (0.5.0)
nodemode-ai Dec 3, 2026
2740de1
feat(chem): read V3000 query molfiles with their R-group blocks (0.6.0)
nodemode-ai Dec 3, 2026
d75f7f5
fix(tools): include a bent arrow's arc in its bounds (0.5.0)
nodemode-ai Dec 3, 2026
8fefb98
feat(templates): add ring and polycycle template data (0.5.0)
nodemode-ai Dec 3, 2026
d28a308
feat(stoich): insert the stoichiometry grid as a table (0.5.0)
nodemode-ai Dec 3, 2026
4890c2d
feat(chem): add and remove explicit hydrogens as one transaction (0.6.0)
nodemode-ai Dec 3, 2026
36e98b8
feat(chem): compute drug-like properties with method labels (0.6.0)
nodemode-ai Dec 3, 2026
f0f6e26
fix(chem): stop flagging metal cations such as Na+ as valence errors …
nodemode-ai Dec 3, 2026
6b5eef4
feat(chem): add a structure check report with codes and severities (0…
nodemode-ai Dec 3, 2026
de5fcd5
fix(render): keep TLC Rf labels from covering neighbouring lanes (0.5.0)
nodemode-ai Dec 3, 2026
aadf038
feat(tools): add rectangle, rounded rectangle, ellipse and polygon to…
nodemode-ai Dec 3, 2026
a15c8ab
feat(api): add analysis routes for properties, CIP stereo, structure …
nodemode-ai Dec 3, 2026
b71e9c2
fix(canvas): keep stereo and query marks clear of neighbouring labels…
nodemode-ai Dec 3, 2026
a573f84
fix(ui): keep the elemental analysis and Lipinski rows to one line (0…
nodemode-ai Dec 3, 2026
21ded46
fix(ui): show each property warning once (0.6.0)
nodemode-ai Dec 3, 2026
748cbeb
feat(api): add analysis commands that return or apply one transaction…
nodemode-ai Dec 3, 2026
e2a0b9e
feat(api): add SMARTS, substructure search, query molfile and Markush…
nodemode-ai Dec 3, 2026
4935796
fix(chem): report V3000 query losses once and drop label noise for qu…
nodemode-ai Dec 3, 2026
1ae9076
feat(mcp): give agents properties, check_structure, stereo and substr…
nodemode-ai Dec 3, 2026
2125d14
fix(chem): read query atoms as generic labels instead of unknown ones…
nodemode-ai Dec 3, 2026
095e388
feat(canvas): draw CIP labels and enhanced stereo group marks (0.6.0)
nodemode-ai Dec 3, 2026
5facaa8
feat(templates): add a light SVG thumbnail renderer for templates (0.…
nodemode-ai Dec 3, 2026
8873d2d
feat(templates): add the insert template dialog (0.5.0)
nodemode-ai Dec 3, 2026
15971af
feat(home): add a Templates section builder for Home (0.5.0)
nodemode-ai Dec 3, 2026
f10ad7c
style(templates): style the template dialog, cards and Home section (…
nodemode-ai Dec 3, 2026
64733e7
fix(templates): draw the cyclohexane chairs as a true chair projectio…
nodemode-ai Dec 3, 2026
6dee179
docs(templates): document the template library format and API (0.5.0)
nodemode-ai Dec 3, 2026
8c54fa2
fix(stoich): follow the engine's reference rule and stoich route (0.5.0)
nodemode-ai Dec 3, 2026
abb1fef
feat(engine): serve the reaction and template routes (0.5.0)
nodemode-ai Dec 3, 2026
147bece
build(setup): bundle the template library into the frozen engine (0.5.0)
nodemode-ai Dec 3, 2026
c3a0db6
feat(engine): upload and serve a drawing's media files (0.5.0)
nodemode-ai Dec 3, 2026
ff72817
feat(window): mount the stoichiometry panel and the template library …
nodemode-ai Dec 3, 2026
ccfdb38
feat(home): show the template library on Home (0.5.0)
nodemode-ai Dec 3, 2026
8f3dca8
feat(rail): give the annotation tools their own rail groups (0.5.0)
nodemode-ai Dec 3, 2026
13310e7
feat(window): register the arrange and insert commands for drawn obje…
nodemode-ai Dec 3, 2026
0d65519
fix(commands): point Find and Show Rulers at the versions that build …
nodemode-ai Dec 3, 2026
a43280b
feat(reactions): write a reaction export to a chosen file (0.5.0)
nodemode-ai Dec 3, 2026
1fe3eb9
feat(reaction): add the Reaction menu commands over the engine routes…
nodemode-ai Dec 3, 2026
0821529
fix(stoich): refresh the bound grid in the engine instead of adding a…
nodemode-ai Dec 3, 2026
f6aae31
refactor(render): draw the stoichiometry grid from the panel's comput…
nodemode-ai Dec 3, 2026
1fb8ec5
fix(tools): move an attached caption by its offset (0.5.0)
nodemode-ai Dec 3, 2026
41d07a8
fix(canvas): hit drawn objects by what is drawn (0.5.0)
nodemode-ai Dec 3, 2026
408f5f3
feat(canvas): draw the select tool's object handles (0.5.0)
nodemode-ai Dec 3, 2026
67c7629
fix(canvas): draw a drawing as soon as it becomes active (0.5.0)
nodemode-ai Dec 3, 2026
4a5d17b
feat(icons): draw the 24 annotation tool icons (0.5.0)
nodemode-ai Dec 3, 2026
dff9bc5
docs(format): settle the phase 5 reaction, stoichiometry, arrow, capt…
nodemode-ai Dec 3, 2026
812d34b
feat(derive): add each reaction step's balance check to the derived c…
nodemode-ai Dec 3, 2026
dc4c975
fix(render): move only the nodes whose z-order changed (0.5.0)
nodemode-ai Dec 3, 2026
39fed85
fix(tools): keep an attached caption's x, y cache in step with its ta…
nodemode-ai Dec 3, 2026
67cbd78
docs(changelog): describe reactions and annotations in 0.5.0 (0.5.0)
nodemode-ai Dec 3, 2026
71dbccd
docs(frontend): log the 0.5.0 object renderer, anchors, bounds and hi…
nodemode-ai Dec 3, 2026
4b50067
docs(frontend): log the 0.5.0 annotation tools, handles, captions and…
nodemode-ai Dec 3, 2026
2264f85
docs(frontend): log the 0.5.0 stoichiometry, templates, Reaction comm…
nodemode-ai Dec 3, 2026
8a52a88
feat(canvas): search a page's text, labels, elements and formulas (0.…
nodemode-ai Dec 3, 2026
c7c0ddd
feat(canvas): highlight find matches in a keyed doc-space layer (0.5.0)
nodemode-ai Dec 3, 2026
e7c5744
docs(reactions): document perception, mapping, balance, stoichiometry…
nodemode-ai Dec 3, 2026
04a9035
docs(backend): log the 0.5.0 reaction services and router (0.5.0)
nodemode-ai Dec 3, 2026
7a027c5
docs(backend): log the 0.5.0 media routes, template library, derived …
nodemode-ai Dec 3, 2026
d989c6d
feat(ui): add the find bar with next, previous and replace (0.5.0)
nodemode-ai Dec 3, 2026
d4e8f8e
docs(wiki): add the Reactions page (0.5.0)
nodemode-ai Dec 3, 2026
c5c5b9d
feat(app): wire Find, Find Next, Find Previous and Replace (0.5.0)
nodemode-ai Dec 3, 2026
1928063
docs(wiki): add the Annotations page (0.5.0)
nodemode-ai Dec 3, 2026
790b230
docs(wiki): point Drawing and Home at the 0.5.0 tools and commands (0…
nodemode-ai Dec 3, 2026
fcbd30d
docs(wiki): list the reaction tools and 0.5.0 commands for agents (0.…
nodemode-ai Dec 3, 2026
4bc6cc6
docs(wiki): describe 0.5.0 objects, reactions, media and the reaction…
nodemode-ai Dec 3, 2026
3364c87
docs(readme): add reactions, annotations, stoichiometry and templates…
nodemode-ai Dec 3, 2026
2b952b2
feat(canvas): draw rulers whose pooled ticks follow pan and zoom (0.5.0)
nodemode-ai Dec 3, 2026
5d4e02b
build(agents): give the generated MCP tools reference a contents list…
nodemode-ai Dec 3, 2026
2a85f4c
feat(canvas): drag guides out of the rulers (0.5.0)
nodemode-ai Dec 3, 2026
6275fee
feat(app): wire Show Rulers and Clear Guides (0.5.0)
nodemode-ai Dec 3, 2026
3e815da
feat(menus): list Find, Replace and Clear Guides (0.5.0)
nodemode-ai Dec 3, 2026
e4cb12d
chore(skills): teach formchem-harness the reaction tools and 0.5.0 co…
nodemode-ai Dec 3, 2026
d667284
chore(skills): add reactions and annotations specialists to formchem-…
nodemode-ai Dec 3, 2026
dabe708
feat(canvas): give the view doc-space overlay layers, edge insets and…
nodemode-ai Dec 3, 2026
f601266
fix(canvas): make every ruler corner click change the shown unit (0.5.0)
nodemode-ai Dec 3, 2026
12024df
docs(changelog): describe what Find searches and how rulers and guide…
nodemode-ai Dec 3, 2026
06510cb
docs(wiki): describe what Find searches and how rulers and guides beh…
nodemode-ai Dec 3, 2026
6be001a
fix(i18n): stop the string scan from keying SVG attributes and CSS ma…
nodemode-ai Dec 3, 2026
52f3e7e
feat(i18n): key the reaction, annotation, template, find and ruler st…
nodemode-ai Dec 3, 2026
63d2841
feat(i18n): translate the reaction and annotation strings into Spanis…
nodemode-ai Dec 3, 2026
f537bf5
feat(i18n): translate the reaction and annotation strings into Ukrain…
nodemode-ai Dec 3, 2026
e4f9be8
feat(i18n): translate the reaction and annotation strings into Tradit…
nodemode-ai Dec 3, 2026
d1b41e1
feat(i18n): translate the reaction and annotation strings into Japane…
nodemode-ai Dec 3, 2026
ce5b078
feat(i18n): translate the reaction and annotation strings into Korean…
nodemode-ai Dec 3, 2026
3d42dae
feat(i18n): translate the reaction and annotation strings into Thai (…
nodemode-ai Dec 3, 2026
0a4bfbb
feat(i18n): translate the reaction and annotation strings into Italia…
nodemode-ai Dec 3, 2026
3a9f7e6
feat(i18n): translate the reaction and annotation strings into Dutch …
nodemode-ai Dec 3, 2026
66c18fa
feat(i18n): translate the reaction and annotation strings into Danish…
nodemode-ai Dec 3, 2026
c58e3b2
feat(i18n): translate the reaction and annotation strings into Finnis…
nodemode-ai Dec 3, 2026
137be59
feat(i18n): translate the reaction and annotation strings into Turkis…
nodemode-ai Dec 3, 2026
aa12e11
feat(i18n): translate the reaction and annotation strings into Indone…
nodemode-ai Dec 3, 2026
ec7f240
feat(i18n): translate the reaction and annotation strings into Vietna…
nodemode-ai Dec 3, 2026
daf4390
feat(i18n): translate the reaction and annotation strings into Simpli…
nodemode-ai Dec 3, 2026
aba5b0e
feat(i18n): translate the reaction and annotation strings into Norweg…
nodemode-ai Dec 3, 2026
8734906
feat(i18n): translate the reaction and annotation strings into Swedis…
nodemode-ai Dec 3, 2026
f5286c6
feat(i18n): translate the reaction and annotation strings into Russia…
nodemode-ai Dec 3, 2026
e7ce55b
feat(i18n): translate the reaction and annotation strings into Polish…
nodemode-ai Dec 3, 2026
b352f7e
feat(i18n): translate the reaction and annotation strings into Czech …
nodemode-ai Dec 3, 2026
3ffb01d
feat(i18n): translate the reaction and annotation strings into Hungar…
nodemode-ai Dec 3, 2026
fd164ab
feat(i18n): translate the reaction and annotation strings into Spanis…
nodemode-ai Dec 3, 2026
008fc04
feat(i18n): translate the reaction and annotation strings into Portug…
nodemode-ai Dec 3, 2026
2160563
feat(i18n): translate the reaction and annotation strings into French…
nodemode-ai Dec 3, 2026
857e314
feat(i18n): translate the reaction and annotation strings into French…
nodemode-ai Dec 3, 2026
89d80c7
feat(i18n): translate the reaction and annotation strings into German…
nodemode-ai Dec 3, 2026
af933b0
chore(release): 0.5.0 (0.5.0)
nodemode-ai Dec 3, 2026
cd00681
feat(chem): carry enhanced stereo groups and the chiral flag into RDK…
nodemode-ai Dec 3, 2026
d665133
fix(api): keep the original atom ids when expanding an abbreviation i…
nodemode-ai Dec 3, 2026
e6c2fac
docs(format): add SMARTS atom queries, R-group attachment atoms, expa…
nodemode-ai Dec 3, 2026
19fd3e0
fix(chem): honour the attachment atoms an R-group definition names (0…
nodemode-ai Dec 3, 2026
cae38fb
feat(canvas): carry the enhanced stereo, query mark and group colour …
nodemode-ai Dec 3, 2026
dba6e31
feat(canvas): draw stereo, enhanced group and query marks through the…
nodemode-ai Dec 3, 2026
e7ffd46
feat(app): register the chemistry commands and retire their placehold…
nodemode-ai Dec 3, 2026
fedc818
feat(app): list the stereo, hydrogen, abbreviation, query and analysi…
nodemode-ai Dec 3, 2026
18d7c31
feat(canvas): add atom query, stereo group, R-group and query bond it…
nodemode-ai Dec 3, 2026
2c40cd7
feat(ui): show the engine's properties with their methods in the anal…
nodemode-ai Dec 3, 2026
0392fef
style(ui): load the chemistry marks and chemistry UI stylesheets (0.6.0)
nodemode-ai Dec 3, 2026
ceaf285
fix(engine): read the real analysis replies for properties, stereo an…
nodemode-ai Dec 3, 2026
c905a4f
fix(app): run the engine's named fix from a structure check row (0.6.0)
nodemode-ai Dec 3, 2026
75219a9
feat(chem): compute isotope patterns at 0.01 Da resolution with adduc…
nodemode-ai Dec 3, 2026
c82cbe9
feat(api): add the isotope pattern route for structures and formulas …
nodemode-ai Dec 3, 2026
d1169a5
feat(engine): type the analysis replies the engine sends (0.6.0)
nodemode-ai Dec 3, 2026
244fb55
feat(engine): add isotope pattern, Markush enumeration and SMARTS exp…
nodemode-ai Dec 3, 2026
4b5d386
feat(app): include the isotope pattern and adduct m/z in Copy Analysi…
nodemode-ai Dec 3, 2026
0f40ba7
feat(ui): draw the isotope pattern as a keyed stick plot in the prope…
nodemode-ai Dec 3, 2026
439254b
feat(ui): add the R-group enumeration results dialog (0.6.0)
nodemode-ai Dec 3, 2026
deda456
feat(app): add Enumerate R-Groups, Copy as SMARTS and Export SMARTS (…
nodemode-ai Dec 3, 2026
26aad79
feat(chem): build the ops that set reaction roles in a step (0.6.0)
nodemode-ai Dec 3, 2026
163acd4
feat(ui): add the reaction roles dialog (0.6.0)
nodemode-ai Dec 3, 2026
a199b6b
feat(app): set reaction roles by hand (0.6.0)
nodemode-ai Dec 3, 2026
a26831b
docs(mcp): tell agents about the reaction and analysis tools (0.6.0)
nodemode-ai Dec 3, 2026
edb2a8d
chore(agents): regenerate the tools reference and manifest for the an…
nodemode-ai Dec 3, 2026
1c85bef
fix(chem): stop reporting allene bonds as undefined E/Z double bonds …
nodemode-ai Dec 3, 2026
1e04495
fix(app): expand abbreviations against the open drawing so the expans…
nodemode-ai Dec 3, 2026
086dcc6
fix(chem): treat a bare star atom as an attachment point, not an unkn…
nodemode-ai Dec 3, 2026
19e1cd9
fix(canvas): turn a stereo or query mark within its free gap when a n…
nodemode-ai Dec 3, 2026
c9db35f
fix(ui): show formula, masses and elemental analysis once in the anal…
nodemode-ai Dec 3, 2026
84ae1a7
fix(build): pin the Tauri CLI 2.12.6 so the desktop build can run (0.…
nodemode-ai Dec 3, 2026
eb39796
fix(build): say what to check when the Tauri CLI is missing (0.6.0)
nodemode-ai Dec 3, 2026
51fbc93
fix(build): bundle the template library when build_app freezes the en…
nodemode-ai Dec 3, 2026
fe1a969
feat(api): serve the analysis routes from the engine (0.6.0)
nodemode-ai Dec 3, 2026
6c02b3a
feat(i18n): key the stereo, query, analysis and reaction role strings…
nodemode-ai Dec 3, 2026
d516020
feat(i18n): translate the stereo, query and analysis strings into Tra…
nodemode-ai Dec 3, 2026
9206be2
feat(i18n): translate the stereo, query and analysis strings into Jap…
nodemode-ai Dec 3, 2026
741119e
feat(i18n): translate the stereo, query and analysis strings into Kor…
nodemode-ai Dec 3, 2026
fe7e800
feat(i18n): translate the stereo, query and analysis strings into Tha…
nodemode-ai Dec 3, 2026
45d0208
feat(i18n): translate the stereo, query and analysis strings into Swe…
nodemode-ai Dec 3, 2026
717598f
feat(i18n): translate the stereo, query and analysis strings into Rus…
nodemode-ai Dec 3, 2026
aa4b393
feat(i18n): translate the stereo, query and analysis strings into Pol…
nodemode-ai Dec 3, 2026
7f3c2b7
feat(i18n): translate the stereo, query and analysis strings into Cze…
nodemode-ai Dec 3, 2026
94fa073
feat(i18n): translate the stereo, query and analysis strings into Hun…
nodemode-ai Dec 3, 2026
06be989
feat(i18n): translate the stereo, query and analysis strings into Ukr…
nodemode-ai Dec 3, 2026
b4b44ec
feat(i18n): translate the stereo, query and analysis strings into Tur…
nodemode-ai Dec 3, 2026
18440aa
feat(i18n): translate the stereo, query and analysis strings into Ind…
nodemode-ai Dec 3, 2026
934c144
feat(i18n): translate the stereo, query and analysis strings into Vie…
nodemode-ai Dec 3, 2026
7ce4a5f
feat(i18n): translate the stereo, query and analysis strings into Sim…
nodemode-ai Dec 3, 2026
d585e7c
feat(i18n): translate the stereo, query and analysis strings into Ita…
nodemode-ai Dec 3, 2026
3b5b063
feat(i18n): translate the stereo, query and analysis strings into Dut…
nodemode-ai Dec 3, 2026
a3099fa
feat(i18n): translate the stereo, query and analysis strings into Dan…
nodemode-ai Dec 3, 2026
17a1cbe
feat(i18n): translate the stereo, query and analysis strings into Fin…
nodemode-ai Dec 3, 2026
4a93eb4
feat(i18n): translate the stereo, query and analysis strings into Nor…
nodemode-ai Dec 3, 2026
3c26f7c
docs(changelog): add the 0.6.0 entry for stereo, queries and analysis…
nodemode-ai Dec 3, 2026
9651198
feat(i18n): translate the stereo, query and analysis strings into Spa…
nodemode-ai Dec 3, 2026
558056b
feat(i18n): translate the stereo, query and analysis strings into Spa…
nodemode-ai Dec 3, 2026
0e475f4
feat(i18n): translate the stereo, query and analysis strings into Por…
nodemode-ai Dec 3, 2026
d04b4aa
feat(i18n): translate the stereo, query and analysis strings into Fre…
nodemode-ai Dec 3, 2026
6d591fe
feat(i18n): translate the stereo, query and analysis strings into Fre…
nodemode-ai Dec 3, 2026
09a94b7
feat(i18n): translate the stereo, query and analysis strings into Ger…
nodemode-ai Dec 3, 2026
bfad448
docs(hashout): log the 0.6.0 analysis services, router, tools and bui…
nodemode-ai Dec 3, 2026
c562b06
docs(hashout): log the 0.6.0 window modules, marks, commands, dialogs…
nodemode-ai Dec 3, 2026
6a25418
docs(analysis): document stereo, queries, Markush, properties, the ch…
nodemode-ai Dec 3, 2026
1c2f5ca
docs(changelog): note that the desktop app now builds on macOS with t…
nodemode-ai Dec 3, 2026
fb55652
docs(hashout): record the owner's macOS desktop build in both logs (0…
nodemode-ai Dec 3, 2026
97d3ad8
docs(reactions): describe Set Reaction Roles and its transaction (0.6.0)
nodemode-ai Dec 3, 2026
5caf8f4
docs(wiki): add the Stereo and Queries page (0.6.0)
nodemode-ai Dec 3, 2026
b756d57
docs(wiki): add the Analysis page and bring Home to 0.6.0 (0.6.0)
nodemode-ai Dec 3, 2026
41c678b
docs(wiki): bring Drawing, Reactions and Project Format to 0.6.0 (0.6.0)
nodemode-ai Dec 3, 2026
50420eb
docs(wiki): list the fourteen MCP tools and the chemistry commands fo…
nodemode-ai Dec 3, 2026
6e9ba0c
docs(wiki): describe what build_app checks and the Tauri CLI pin rule…
nodemode-ai Dec 3, 2026
db8844f
docs(readme): add the stereo, query and structure check features and …
nodemode-ai Dec 3, 2026
22aea0a
docs(skills): teach the harness the analysis tools, chemistry command…
nodemode-ai Dec 3, 2026
8b66f9f
docs(skills): add the stereo and queries specialist and the Tauri CLI…
nodemode-ai Dec 3, 2026
0929671
chore(release): 0.6.0 (0.6.0)
nodemode-ai Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 73 additions & 2 deletions .agents/skills/formchem-harness/EVALS.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skill_name": "formchem-harness",
"notes": "Run with the FormChem engine and window open (./formchem) and the formchem MCP server connected, version 0.4.0. Expected behaviours are observable in the tool calls and the final answer. FormChem 0.4.0 has drawings but no direct agent drawing tools (0.8.0); agents work through run_command and Form extensions, and several evals check that the agent stays inside that.",
"notes": "Run with the FormChem engine and window open (./formchem) and the formchem MCP server connected, version 0.6.0. Expected behaviours are observable in the tool calls and the final answer. FormChem 0.6.0 has drawings, four reaction tools and four read-only analysis tools but no direct agent drawing tools (0.8.0); agents work through run_command, the reaction and analysis tools and Form extensions, and several evals check that the agent stays inside that. Evals 13 and 14 need a drawn esterification scheme (acetic acid + ethanol, arrow, ethyl acetate + water); evals 15 to 17 need ibuprofen inserted with insert-smiles CC(C)Cc1ccc(cc1)[C@@H](C)C(=O)O.",
"evals": [
{
"id": 1,
Expand Down Expand Up @@ -138,10 +138,79 @@
"Calls extensions_list and uses an extension command only if one states that it reads the drawing or checks structures",
"Reports valence errors only from that extension's answer; with no suitable extension, says the agent cannot read the rows and points the person at the Check Structure dialog instead of computing valence itself"
]
},
{
"id": 13,
"name": "map-and-export-the-drawn-reaction",
"prompt": "Map the atoms of the esterification I drew in FormChem and give me the reaction SMILES.",
"files": [],
"expected_behavior": [
"Calls get_context, then perceive_reactions, and keeps the reaction and step ids it returns",
"Calls map_reaction with those ids (mode left at discard) and reports the mapped count and the bonds broken and formed from its answer",
"Calls export_reaction with format smiles and quotes the text exactly, passing on any conditions_dropped warning",
"Ends with a ready handoff naming the drawing and that Undo removes the mapping"
]
},
{
"id": 14,
"name": "yield-without-amounts",
"prompt": "What is the theoretical yield of my FormChem reaction?",
"files": [],
"expected_behavior": [
"Calls perceive_reactions, then reaction_stoichiometry for the step",
"Quotes the theoretical yield with its unit only when the answer gives one, never computing it from its own molecular weights",
"When no amounts are typed, posts a question handoff asking the person to type a mass, volume, equivalents or scale in the Stoichiometry panel, and says no tool can type them"
]
},
{
"id": 15,
"name": "druglike-properties-with-methods",
"prompt": "Is the structure in my FormChem drawing drug-like? Give me cLogP and TPSA.",
"files": [],
"expected_behavior": [
"Calls get_context, then the properties tool (not compute-properties through run_command)",
"Quotes cLogP 3.07 and TPSA 37.3 with their units and the methods the tool names (Crippen.MolLogP, rdMolDescriptors.CalcTPSA), and the Lipinski and Veber verdicts as the tool gives them",
"Does not compute any value with its own chemistry and present it as FormChem's",
"Posts no approval-gated call for this read-only question"
]
},
{
"id": 16,
"name": "racemic-and-group",
"prompt": "In FormChem, mark the stereocentre of my ibuprofen as racemic and tell me what the CXSMILES becomes.",
"files": [],
"expected_behavior": [
"Calls stereo first to find the centre and its current label S",
"Says the command acts on the canvas selection and either asks the person to select the centre or explains what select-all would include, then runs set-stereo-group-and once",
"Calls stereo again and quotes the new CXSMILES with its &1 group exactly as returned",
"Ends with a ready handoff saying the change is one undo step"
]
},
{
"id": 17,
"name": "find-carboxylic-acids",
"prompt": "Which structures in my FormChem drawing have a carboxylic acid?",
"files": [],
"expected_behavior": [
"Calls substructure with a SMARTS such as C(=O)[OH] (or [CX3](=O)[OX2H1])",
"Reports the hit count and the fragment ids from the answer, naming the structures by what get_context or the tools say",
"Does not run search-substructure through run_command to get the answer, since its result is a selection the agent cannot read"
]
}
],
"trigger_evals": [
{"query": "what can FormChem do at the moment", "should_trigger": true},
{"query": "what is the cLogP and TPSA of the molecule in my FormChem drawing?", "should_trigger": true},
{"query": "is the stereocentre in my formchem drawing R or S?", "should_trigger": true},
{"query": "run a structure check on my FormChem drawing and list the warnings", "should_trigger": true},
{"query": "find every carboxylic acid in my formchem drawing with SMARTS", "should_trigger": true},
{"query": "make water an agent instead of a product in my FormChem reaction", "should_trigger": true},
{"query": "add enhanced stereo group support to formchem's backend/app/services/chem/stereo.py", "should_trigger": false},
{"query": "compute the Lipinski properties of this SMILES with an RDKit script", "should_trigger": false},
{"query": "map the atoms of the reaction in my formchem drawing", "should_trigger": true},
{"query": "export the drawn reaction in FormChem as an RXN file", "should_trigger": true},
{"query": "what is the limiting reagent in my formchem scheme?", "should_trigger": true},
{"query": "insert a cyclohexane chair template in FormChem", "should_trigger": true},
{"query": "open preferences in formchem", "should_trigger": true},
{"query": "is the formchem engine running? I get connection refused", "should_trigger": true},
{"query": "run the hello command of my formchem extension", "should_trigger": true},
Expand All @@ -167,6 +236,8 @@
{"query": "run the show-grid command in formvis", "should_trigger": false},
{"query": "install the molecule tools extension from FormPortal", "should_trigger": false},
{"query": "convert this SDF file to SMILES with RDKit in a Python script", "should_trigger": false},
{"query": "check the valence of this molfile with RDKit, no app needed", "should_trigger": false}
{"query": "check the valence of this molfile with RDKit, no app needed", "should_trigger": false},
{"query": "fix the perception distances in formchem's services/chem/reactions.py", "should_trigger": false},
{"query": "balance this equation for me: Fe + O2 -> Fe2O3", "should_trigger": false}
]
}
30 changes: 19 additions & 11 deletions .agents/skills/formchem-harness/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
---
name: formchem-harness
description: "Drives FormChem, the FormAI family's chemical structure drawing suite, through its MCP server. Use whenever the person wants an agent to work in FormChem: draw or insert a structure from SMILES, clean up a drawing, undo, select all, zoom, run a FormChem menu command or extension, read or change the open fchem drawing through an extension, check a structure for valence errors, leave a note in the window, or asks what FormChem can do, and FormChem is named or the formchem tools (get_context, list_commands, run_command, extensions_list, extension_command, handoff) are available. Covers connecting on 127.0.0.1:8220 when the tools do not show up, the approval question, the commands catalogue, the extension drawing contract and handoff. There are no direct drawing tools before 0.8.0, so it also covers saying so plainly. Not for changing FormChem's source code (use formchem-skillset), not for other Form apps such as FormDeck or FormVis, and not for standalone RDKit scripts."
description: "Drives FormChem, the FormAI family's chemical structure drawing suite, through its MCP server. Use whenever the person wants an agent to work in FormChem: insert a structure from SMILES or a template, undo, run a menu command or extension, read the open fchem drawing, perceive or map a reaction, export reaction SMILES or RXN, read stoichiometry, set reaction roles, get cLogP, TPSA or Lipinski, check a structure, read R/S labels and stereo groups, find a substructure by SMARTS, add hydrogens, contract an abbreviation, define an R-group, or asks what FormChem can do, and FormChem is named or its tools (get_context, list_commands, run_command, extensions_list, extension_command, handoff, perceive_reactions, map_reaction, export_reaction, reaction_stoichiometry, properties, check_structure, stereo, substructure) are available. Covers 127.0.0.1:8220, approval, handoff and what waits for 0.8.0. Not for changing FormChem's source (formchem-skillset), other Form apps such as FormDeck, or standalone RDKit scripts."
license: Apache-2.0
metadata:
author: nodemode-ai
version: "0.4.0"
version: "0.6.0"
---

# FormChem harness

FormChem is a chemical structure drawing suite running on this computer. Its MCP server (`formchem`) lives in the engine and reaches the FormChem window, where the person sees everything an agent does. This pack is the method for using it.

## What exists today (0.4.0)
## What exists today (0.6.0)

FormChem 0.4.0 has drawings: `.fchem` documents kept by the engine with undo, autosave and versions, an RDKit chemistry service that computes SMILES, InChIKey, formula, masses and valence warnings after every change, and a 2D canvas where the person draws with tools and hover keys. The family shell is still there: Home, menus, Preferences, the palette, the dock, Form extensions and Help.
FormChem 0.6.0 has drawings: `.fchem` documents kept by the engine with undo, autosave and versions, an RDKit chemistry service that computes SMILES, InChIKey, formula, masses, CIP labels and valence warnings after every change, and a 2D canvas where the person draws structures with tools and hover keys. 0.5.0 added reactions and annotations (arrows, brackets, shapes, tables, TLC plates, captions, reaction perception, atom mapping, balance, the Stoichiometry panel, 206 templates, Find and rulers). 0.6.0 adds stereo, queries and analysis: CIP labels and enhanced stereo groups, Assign Wedges, abbreviations, explicit hydrogens, atom lists and query bonds, R-groups and Markush enumeration, substructure search and SMARTS, calculated properties with their methods, the isotope pattern, the Check Structure panel and Set Reaction Roles. The family shell is still there: Home, menus, Preferences, the palette, the dock, Form extensions and Help.

The MCP server still has six tools: `get_context`, `list_commands`, `run_command`, `extensions_list`, `extension_command` and `handoff`, plus the resource `formchem://guide`. `references/tools.md` lists them with every argument; it is generated from the server.
The MCP server has fourteen tools: `get_context`, `list_commands`, `run_command`, `extensions_list`, `extension_command`, `handoff`, the reaction tools `perceive_reactions`, `map_reaction`, `export_reaction` and `reaction_stoichiometry`, and the read-only analysis tools `properties`, `check_structure`, `stereo` and `substructure`, plus the resource `formchem://guide`. `references/tools.md` lists them with every argument; it is generated from the server.

**What an agent can do with a drawing now.** `get_context` lists the drawings open in the window (id, title, path, unsaved changes, revision, fragment count, formula). Through `run_command`: open a `.fchem` or structure file by absolute path, insert a structure with `insert-smiles {smiles}` (it lands selected), undo and redo, save and close, and the canvas commands on the selection: select all, delete, duplicate, flip, rotate 90 degrees, align, distribute, clean up, lay out, check structure and zoom (`window-commands`). Through a Form extension with the document permission: read the drawing with its derived SMILES, InChIKey, formula and valence errors, and change it by id (`extension-drawings`).
**What an agent can do with a drawing now.** `get_context` lists the drawings open in the window (id, title, path, unsaved changes, revision, fragment count, formula). Through `run_command`: open a `.fchem` or structure file by absolute path, insert a structure with `insert-smiles {smiles}` (it lands selected) or a template with `insert-template {id}`, undo and redo, save and close, and the canvas commands on the selection: select all, delete, duplicate, flip, rotate 90 degrees, align, distribute, stacking order, group, clean up, lay out and zoom (`window-commands`), plus the chemistry commands (wedges, stereo groups, hydrogens, abbreviations, query features, R-groups). Through the reaction tools: read the steps of a drawn scheme, map its atoms, export it as reaction SMILES or RXN, read its stoichiometry and balance, and set roles with `set-reaction-roles {role, objects}` (`reactions`). Through the analysis tools: properties with their methods, the structure check, CIP labels and stereo groups, and substructure hits by id (`structure-analysis`). Through a Form extension with the document permission: read the drawing with its derived SMILES, InChIKey, formula and valence errors, and change it by id (`extension-drawings`).

**What it cannot do yet.** There are no direct drawing tools: no drawing atoms and bonds by call, no reading SMILES or InChIKey back through MCP (the formula in `get_context` is all), no rendering, no validation results for the agent, no conversion. They arrive in 0.8.0. When the person asks for something only those tools would do, say so plainly and offer the command or extension route. Never draw by other means and present it as FormChem's work.
**What it cannot do yet.** There are no direct drawing tools: no drawing atoms, bonds, arrows or shapes by call or at a position, no reading the whole structure or its InChIKey back through MCP (the formula in `get_context`, the SMILES and CXSMILES in `stereo` and the other tools' answers are all), no rendering, no conversion. They arrive in 0.8.0. Amounts in the Stoichiometry panel are typed by the person; no tool writes them. When the person asks for something only those tools would do, say so plainly and offer the command or extension route. Never draw by other means and present it as FormChem's work.

## Doctrine (applies to every route)

Expand All @@ -39,6 +39,8 @@ formchem-harness/
sub-skills/
session-and-connection/ connecting, get_context, the approval question, errors
window-commands/ drawing work through run_command; references/command-catalogue.md
reactions/ the four reaction tools, the Reaction menu commands and Set Reaction Roles
structure-analysis/ the four analysis tools and the stereo, hydrogen, abbreviation and query commands
extension-drawings/ reading and changing the drawing through a Form extension
handoff/ handoff states, notes, clearing, what the person sees
visual-qa/ checking what the person sees without a render tool
Expand All @@ -52,12 +54,14 @@ Paths inside a SUB-SKILL.md resolve against that sub-skill's own folder. `refere
| --- | --- |
| No FormChem tools, connection refused, "is FormChem running", the first call of a session | `session-and-connection` |
| "What can FormChem do?", open Preferences, show the grid, run a menu command | `session-and-connection`, then `list_commands` and `run_command` |
| Draw or insert a structure from SMILES, open a drawing or structure file, undo, save, select all, clean up, zoom | `window-commands` |
| Read atoms, bonds, SMILES, InChIKey or valence errors from the open drawing, change it by id, check a structure | `extension-drawings` (and `window-commands` when no extension fits) |
| Draw or insert a structure from SMILES, insert a template, open a drawing or structure file, undo, save, select all, clean up, group, stacking order, zoom | `window-commands` |
| The reaction in the drawing: its steps, roles, atom mapping, reaction SMILES or RXN, balance, moles, limiting reagent, yield | `reactions` |
| Properties (cLogP, TPSA, Lipinski), a structure check, R or S, stereo groups, a substructure or SMARTS match, hydrogens, abbreviations, atom lists, R-groups | `structure-analysis` |
| Read atoms, bonds, InChIKey or valence errors from the open drawing, change it by id | `extension-drawings` (and `window-commands` when no extension fits) |
| Run an extension's command, which extensions are installed | `session-and-connection`, then `extensions_list` and `extension_command` |
| Tell the person you are done, ask them something, clear your note | `handoff` |
| Check what the person sees, did the command work, which commands are on | `visual-qa` |
| Draw atom by atom, render an image, convert a format without opening it, 3D, names | Not yet: say the drawing tools arrive in 0.8.0 (3D in 0.10.0, names in 0.9.0) and offer what exists |
| Draw atom by atom, place an arrow or shape, render an image, convert a format without opening it, 3D, names | Not yet: say the drawing tools arrive in 0.8.0 (3D in 0.10.0, names in 0.9.0) and offer what exists |
| Change FormChem's own code, add an MCP tool, edit this pack | Not this pack: `formchem-skillset` |

## When something fails
Expand All @@ -74,11 +78,15 @@ Paths inside a SUB-SKILL.md resolve against that sub-skill's own folder. `refere
| "takes no parameters" | The command does not accept arguments in this build | Run it without `params`; if it prompts, ask the person to fill the prompt |
| "Could not read the SMILES" | `insert-smiles {smiles}` got a string the engine cannot parse; nothing was inserted | Check the SMILES, fix it once, or ask the person |
| "Give the absolute path" or "does not exist" | `open-recent` needs an absolute path to a file that exists | Ask the person for the full path |
| "No reaction arrow has structures before or after it" | The scheme is not drawn where perception reads it | Ask the person to put the structures on the arrow's line and reagents above or below it |
| An error naming `perceive_reactions` | A reaction or step id is unknown or stale | Call `perceive_reactions` once and use the ids it returns |
| "Give smarts, or query_object" or "is not a fragment of this drawing" | `substructure` has no pattern, or the query fragment id is wrong | Pass a SMARTS or a fragment id from the tools' answers |
| A fragment slot holding `error` in an analysis answer | The engine could not read that fragment; the others are fine | Report it for that fragment and go on with the rest |

## Done means

- `get_context` was called first and its answer shaped the plan.
- Nothing was claimed that the tools did not do; a structure was called drawn only when a command or extension answer said so, and requests beyond the commands were answered with "the drawing tools arrive in 0.8.0".
- Nothing was claimed that the tools did not do; a structure was called drawn only when a command or extension answer said so, reaction numbers were quoted from the reaction tools, and requests beyond them were answered with "the drawing tools arrive in 0.8.0".
- Every command run returned without `isError`, or its error was reported to the person.
- The work ends with a `handoff` (`ready` with a note, or `question` with the question).

Expand Down
Loading
Loading