Skip to content

v0.3.2 β€” auto-quote leading-@ flowchart labels, mermaid.parse regression suite

Choose a tag to compare

@drakulavich drakulavich released this 10 Jun 07:42
· 6 commits to main since this release
6293fc9

Patch release.

Fixed

  • #17 β€” A flowchart node label starting with @ (e.g. N[@utils/utils -> …]) made Mermaid β‰₯ 10.5 reject the whole diagram on GitHub ([@ is lexed as edge-ID/shape syntax). iago/scripts/sanitize.ts now auto-quotes such labels inside flowchart/graph blocks β€” including blocks prefixed by %% comments or %%{init: …}%% directives β€” so posted diagrams self-heal. The authoring rule was added to SKILL.md and references/mermaid-templates.md.

Maintenance

  • #17 β€” New jsdom-backed mermaid.parse() validation helper and fixture-driven regression suite (cli/tests/fixtures/mermaid/{valid,invalid}/): the exact field-incident diagram is stored verbatim, and every Mermaid block in iago/examples/, the templates reference, and the README is parse-validated on each bun test run.
  • #16 β€” Gitignore local cocoindex index + blog drafts.
  • Aligned version bump across cli/package.json, .claude-plugin/plugin.json, and .claude-plugin/marketplace.json.

No breaking changes. The CLI is published to npm as @drakulavich/iago@0.3.2 (with provenance); the Claude plugin updates via the bumped marketplace manifests.

Full changelog: v0.3.1...v0.3.2