chat

chat-markdown

react-markdown + remark-gfm, styled by the .typeset prose sheet — no per-element styling. Handles headings, lists, links, inline + fenced code, tables, and blockquotes.

Here's what I found — a few load-bearing points:

  1. The store is content-addressed, so identical bytes dedupe.
  2. See the artifact spec for the digest rules.

Use getToolOutputData(part) to unwrap the MCP result:

const output = getToolOutputData(part)
if (!output?.url) return <ToolCall {...props} />
BackendDurableNative dep
in-memorynono
filesystemyesno
opendalyesyes

Prefer the filesystem store for single-host deployments.

A markdown sample exercising the full Typeset sheet: headings, ordered list, link, code fence, table, blockquote.

Installation

import from @workspace/chat module-owned, not registry-installable

Usage