Skip to content

docmd@0.9.3 πŸš€ (Offline Mermaid, OpenAPI & AI Assistant Improvements)

Choose a tag to compare

@mgks mgks released this 19 Aug 14:20
· 45 commits to main since this release

docmd logo

Offline Mermaid, OpenAPI & AI Assistant Improvements

✨ This release brings fully offline Mermaid diagrams, richer OpenAPI examples, more reliable AI Assistant tool execution, and improved URL and file:// handling.

Highlights

docmd v0.9.3 improves offline and air-gapped documentation, expands OpenAPI support, and makes the AI Assistant more reliable across different tool-call formats. It also includes several URL, service worker, and layout stability fixes.

Offline Mermaid

Mermaid diagrams are now bundled locally, removing the runtime CDN dependency.

Diagrams work in air-gapped environments and when documentation is opened directly through file://. #198

OpenAPI

The OpenAPI plugin now supports:

  • Request and response examples.
  • Multiple schema examples and media types.
  • Contained schema tables with independent horizontal scrolling.
  • Better handling of deeply nested schemas without affecting the page layout.

AI Assistant

Upgraded to docmd-assistant v0.1.14 with improved tool-call handling.

  • Supports tool calls returned as JSON, Markdown code blocks, bracketed syntax, and zero-argument calls.
  • Prevents raw tool-call strings from appearing in chat responses.
  • Executes tools and produces clean, fact-grounded responses.
  • AI client assets now work correctly in offline file:// environments.

Fixes

  • Fixed protocol-relative URLs being incorrectly collapsed during URL sanitisation.
  • Added safe handling for service worker registration on file:// pages.
  • Fixed AI Assistant responses returning raw tool-call strings instead of the expected answer. #206
  • Improved verification and stability across the affected engine and plugin paths.
  • fix(parser): collapse a leading // in sanitizeUrl by @eeshsaxena in #203
  • Add support for examples and data types display in Open API plugin by @w666 in #200
  • fix(offline): bundle client assets as classic IIFE scripts and guard service worker on file://. #205

Thanks πŸ’–

Thanks to all contributors and community members who reported issues and provided feedback.

Documentation: https://docs.docmd.io/
docmd Cloud: https://cloud.docmd.io
docmd-assistant: https://github.com/docmd-io/docmd-assistant
docmd-search: https://github.com/docmd-io/docmd-search
Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: 0.9.2...0.9.3