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

docmd-assistant v0.1.7 adds automatic browser context payload transmission in Relay Mode and handling for server-driven unconfigured onboarding states.

Key Features & Enhancements

Automatic Page Context Metadata

In Relay Mode, runRelayTurn automatically captures and transmits pageUrl (location.href) and pageTitle (document.title) with conversation requests:

{
  "pageUrl": "https://docs.example.com/configuration",
  "pageTitle": "Configuration Reference"
}

This enables backend relay APIs to deliver context-aware answers without requiring manual page context logic in UI applications.

Server-Driven Unconfigured Response Handling

If a cloud relay endpoint returns { unconfigured: true }, docmd-assistant returns a structured response object with unconfigured: true and unconfiguredData. Client UIs can use this flag to render onboarding setup UI dialogs or API configuration wizards automatically.

Upgrade

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