v0.9.4 is live! — Read the latest technical documentation and migration guides.

docmd-assistant v0.1.3 introduces full page reading capabilities, custom reader callbacks, standardized reasoning options, and prompt citation rules.

Key Features & Improvements

Full Page Reader Tool (read_documentation_page)

Added read_documentation_page to createStandardTools(). When search snippets lack sufficient detail, the assistant can fetch and extract prose text and code blocks from specific documentation page paths.

Custom Reader Callback

createStandardTools() now accepts a second callback argument (customReader) allowing developers to plug in custom page loaders (e.g. headless CMS APIs, raw Markdown files, or database queries):

const tools = createStandardTools(
  customSearchCallback,
  async (path) => {
    const res = await fetch(`/api/page?path=${encodeURIComponent(path)}`);
    return await res.json();
  }
);

Standardised Reasoning Parameter

Updated the reasoning configuration option schema to support granular levels (false, 'low', 'medium', 'high') for reasoning models.

Upgrade

npm
pnpm
npm install docmd-assistant@0.1.3
pnpm add docmd-assistant@0.1.3