Skip to content

v2.1.1

Choose a tag to compare

@ovac ovac released this 07 Sep 16:56
· 19 commits to master since this release

v2.1.1 — 2025-09-07

Patch release with Chat UX improvements, endpoint-aware actions, and attachment capability gating.

Added

  • Endpoint-aware actions in assistant replies:
    • Detects headings like ### METHOD /path and adds two buttons:
      • Open endpoint: closes chat and scrolls docs to the operation.
      • Try it with this data: closes chat, opens Try It, prefills from the chat context, and executes.
    • Backend returns meta.actionHints with endpoint and try-it prefill to drive the UI.
  • Attachments UI gating:
    • Images are disabled when the current model lacks vision.
    • Entire attachments UI hides for providers that do not support attachments.
    • Runtime switching supported via idoc:chat-model-changed event.
  • Export helpers: download conversation as plain text, Markdown, or JSON ({ version: "idoc-1", messages: [...] }).
  • Configurable system prompt: you can supply a Markdown file via IDOC_CHAT_SYSTEM_PROMPT or config('idoc.chat.system_prompt_md'). If you publish the bundled prompt with --tag=idoc-prompts (to resources/vendor/idoc/prompts/chat-system.md), iDoc will automatically use that published file when present.

Changed

  • Markdown headings are not escaped (hashes preserved) so assistant headings render properly.
  • Strengthened system prompt to encourage ### METHOD /path headings and JSON examples.
  • Improved ChatController docs and inline Blade documentation to reflect capabilities.

Fixed

  • Avoid em dashes in user-facing strings.

Upgrade notes

  • No schema changes. If you published the view previously, republish to get the updated UI behaviors:
    php artisan vendor:publish --tag=idoc-views --force

Full Changelog: v2.1.0...v2.1.1