mateclaw/mateclaw-ui/src/composables
matevip 4e22b85557 fix(chat): surface SSE error in retry card and stop poll from wiping local-only failed turn
When SSE setup fails (e.g. workspace permission denied for shared channel
conversations opened from the web console), the failed turn is never
persisted on the backend. Two issues made the failure invisible to the user:

- The fallback errorInfo dropped data.message, so the inline retry card fell
  back to the generic "请求过程中遇到了意外问题" template instead of the
  actual reason. Carry rawMessage through, and lower the MessageBubble
  display threshold from >8 to >3 chars so short-but-informative messages
  (7-char Chinese / "Forbidden") aren't filtered out.

- The status-poll loop in useChat overwrote the local-only failed turn
  with the server's "no message" view, erasing the inline retry card.
  Skip the merge for turns that exist only locally and are in error state,
  so the user can still see the failure and retry.
2026-04-28 00:16:14 +08:00
..
chat fix(chat): surface SSE error in retry card and stop poll from wiping local-only failed turn 2026-04-28 00:16:14 +08:00
useAuthenticatedAttachment.ts feat(video): support video upload, preview, and multimodal analysis 2026-04-06 09:42:54 +08:00
useEChartsRenderer.ts feat(datasource): add auto ECharts visualization for SQL query results 2026-04-06 14:53:22 +08:00
useKatexRenderer.ts fix(wiki): smaller batch-create + resume button for partial generation 2026-04-26 18:42:27 +08:00
useMarkdownRenderer.ts fix(ui): code-block light-mode theme + cap header height at 38px 2026-04-26 19:09:10 +08:00
useMermaidRenderer.ts fix(wiki): smaller batch-create + resume button for partial generation 2026-04-26 18:42:27 +08:00
useSkillName.ts feat(skill): BuiltinSkillSeedService — close SQL/SKILL.md double-write 2026-04-24 06:55:18 +08:00
useToolLabel.ts feat(ui): localize tool call display via useToolLabel 2026-04-23 08:09:37 +08:00
useWikiJobPoller.ts chore: sync multiple commits from private dev 2026-04-19 18:37:44 +08:00