0.12.10

Nested emphasis and continued list items in rich text

A patch release. All six packages move to 0.12.10 together. Only @silverprotocol/richtext changes. The spec revision stays 1.0.0-draft.8.

Who should upgrade

  • You render chat text with parseRichText from @silverprotocol/richtext. Nested emphasis and indented continuation lines under a list item now parse as written. Read “Upgrading from 0.12.9” below first.
  • Anyone else gets the same events and fold results as from 0.12.9: @silverprotocol/core and the four framework packages change only their version.

Upgrading from 0.12.9

  • A table or heading line indented under a list item is now item text. 0.12.9 ended the list there: an indented pipe table became a top-level table, and an indented # heading line a paragraph. The line now joins the item’s text, as the README’s subset already states for block content inside a list item. The AST types don’t change: a RichTextListItem still holds inline content only.

@silverprotocol/richtext

  • An emphasis run closes the innermost open emphasis whose marker it matches exactly. *a **b** c* now parses as an em holding a strong; 0.12.9 closed the em at the strong’s ** and left * c* as literal text. *a *b* c* and _a __b__ c_ parse the same way. **a *b** c and *** runs parse as before, and emphasis still never closes across a [.
  • An indented line directly under a list item continues that item. A line indented by spaces or a tab joins the item’s inline content after a break, and the item’s lines parse as one inline run, so emphasis can span them. - item one, continued line, - item two is now one list of two items, where 0.12.9 gave a list, a paragraph and a second list. An unindented line or a blank line still ends the list.

The other five packages change only their version.

Verified versions

Unchanged from 0.12.9. Each framework package is verified end to end, tool calls included, against a live run at:

  • @anthropic-ai/claude-agent-sdk 0.3.292;
  • @openai/agents 0.21.0;
  • @google/adk 2.2.1;
  • ai 7.0.130.

Wire version

1.0.0-draft.8, unchanged.

npm’s provenance for all six 0.12.10 packages attests typescript-sdk commit e3febd39.