v2.1.1
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 /pathand 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.actionHintswith endpoint and try-it prefill to drive the UI.
- Detects headings like
- 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-changedevent.
- 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_PROMPTorconfig('idoc.chat.system_prompt_md'). If you publish the bundled prompt with--tag=idoc-prompts(toresources/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 /pathheadings 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