Skip to content

Release 0.9.2 - #201

Merged
mgks merged 6 commits into
mainfrom
dev-0.9.2
Aug 11, 2026
Merged

Release 0.9.2#201
mgks merged 6 commits into
mainfrom
dev-0.9.2

Conversation

@mgks

@mgks mgks commented Aug 11, 2026

Copy link
Copy Markdown
Member

✨ Key Changes

🤖 AI Assistant Engine & Plugin (@docmd/plugin-ai / docmd-assistant@0.1.11)

  • Autonomous Multi-Turn Tool Loop: Fixed context loss in runRelayLoop and runRelayStreamLoop by explicitly preserving user queries across intermediate tool executions.
  • Context-Grounded Synthesis: Enforced a grounded synthesis turn with search results injected directly into the LLM context, disabling further tool calls to prevent greeting loops or infinite iterations.
  • Stream Resiliency & JSON Fallback: Added automatic non-SSE JSON response parsing to eliminate sporadic "No response returned" errors across serverless / proxy relays.
  • Keyword Search Optimization: Decomposed natural-language queries into targeted, high-precision search keywords for documentation indexes.

🎨 UI & Markdown Formatting

  • Modern Code Block Layout: Redesigned code rendering in the chat UI with a dedicated .docmd-ai-code-wrap container and a distinct language header bar (.docmd-ai-code-header > .docmd-ai-code-lang), preventing language badges (e.g. bash) from mixing into the code block content.
  • Block-Level Element Wrapping: Fixed paragraph wrapping logic to prevent errant <p> / <br/> tags around code blocks and lists.

🛠 Monorepo & Types

  • Upgraded @docmd/plugin-ai dependency to docmd-assistant@^0.1.11.
  • Corrected TypeScript hook signatures and implicit any parameter typings across the plugin lifecycle.

Type of change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@mgks
mgks merged commit 1a1557a into main Aug 11, 2026
1 check passed
@mgks
mgks deleted the dev-0.9.2 branch August 11, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant