|
|
2 tháng trước cách đây | |
|---|---|---|
| .. | ||
| src | 2 tháng trước cách đây | |
| tests | 2 tháng trước cách đây | |
| README.md | 2 tháng trước cách đây | |
| package.json | 2 tháng trước cách đây | |
| tsconfig.json | 2 tháng trước cách đây | |
| tsdown.config.ts | 2 tháng trước cách đây | |
Pure React atoms (zero cordis): StateDot, icds* icons, Button/Pill/Menu/Modal/Input, markdown family (MessageText/MarkdownText/JsonBlock). Contract: api-contracts v3 §8.
MarkdownText renders GFM from untrusted assistant output through React elements. It omits raw HTML, neutralizes relative and non-HTTP(S)/mailto links, opens HTTP(S) links with safe external-link attributes, and renders image alt text without loading remote resources; MessageText remains the literal-text primitive for user-authored content.
None, as the package renders pure React atoms in the browser; nothing here reaches a model request.
None; this package neither assembles nor sends a provider request.
Active variant is a hidden placeholder in the design — not implemented; the four shipped states (done/warning/ongoing/error) are the complete P-I surface.