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:
- The store is content-addressed, so identical bytes dedupe.
- 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} />
| Backend | Durable | Native dep |
|---|---|---|
| in-memory | no | no |
| filesystem | yes | no |
| opendal | yes | yes |
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