Repository navigation
v2.3.0
Install or upgrade with npx framesmith, or npm i -g framesmith.
batch_design accepts multi-line ops and comments
batch_design used to treat every line as its own op. The README writes its chart and donut examples across several lines and comments its intro example with # lines, so those examples failed when pasted as written. Now an op can continue across lines while its (, { or [ brackets are open. A line starting with # between ops is a comment, and // comments out the rest of a line. Inside an open bracket, use //. Neither marker counts inside a quoted string, so "#RRGGBB" fills and https:// URLs are safe. A paren or brace inside a string value, such as content: "Total (incl. tax", no longer breaks the op. Before, that failed even on a single line. (#228, #229)
canvas_bind returns an ID map
Binding a repo gives the workspace and every project a new repo-* ID. canvas_bind now returns idMap: { workspace: { old: new }, projects: { old: new } }, so you can update stored IDs without listing again. Canvas IDs don't change on bind. Each canvas keeps its ID, and its projectId is updated to its new project. The docs used to say canvas IDs changed too; that was wrong and is corrected everywhere. (#227, #230)
Documentation fixes
- The LLM critique (
canvas_evaluatewithmode: "llm") never blocks presenting, with or without an API key. The heuristic directive is the only gate. Run the critique loop as the last step, and ifcanvas_revisestops with axes still failing, present the design and name them. Behaviour is unchanged; the docs used to say "re-judge until it passes", with no way out. - Every cliché tell blocks the directive, whatever its severity. Some passages described cliché findings as advisory. Behaviour is unchanged.
- The README's other audit findings are fixed: the theme count behind the pattern quality bar, where bound and unbound canvases are stored, the viewer port, the
batch_designparameters and properties, how category weights combine into the score, and which grid values are accepted. (#227, #230)
Upgrading
Nothing to change. Both new behaviours are additions: ops that parsed before parse the same way, and canvas_bind's existing fields are unchanged.