indusagi 0.12.33 → 0.12.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.34]
4
+
5
+ ### Added
6
+ - **React-Ink Markdown Rendering**: New `react-ink/markdown/` components exported from `indusagi/react-ink` — `Markdown`, `StreamingMarkdown` (stable-prefix streaming boundary), `MarkdownTable`, a `marked`-based `formatToken` (headings, bold/italic, depth-aware lists, blockquotes, inline code, links; module-level LRU cache + `hasMarkdownSyntax` fast-path), and a highlight.js wrapper for fenced code and tool bodies. `AssistantMessage` now renders assistant text as styled ANSI instead of raw markdown.
7
+ - **React-Ink Colored Diffs**: New `react-ink/diff/` components — `Diff` (themed added/removed backgrounds, right-aligned line-number gutter, context lines via the `diff` package's `structuredPatch`) with word-level intra-line highlighting; wired into `ToolEventBlock` for edit/write tool results.
8
+ - **Theme Roles**: `InkThemeAdapter` gains 12 new roles (inline-code, heading, blockquote bar, diff added/removed backgrounds + text, and syntax-highlight scopes) plus `role()` / `roleBackground()` accessors — fully backward-compatible through `createThemeAdapter`.
9
+
10
+ ### Changed
11
+ - **Dependencies**: Added `marked`, `highlight.js`, and `diff` (+ `@types/diff`).
12
+ - **Version Bump**: Updated package version to `0.12.34`.
13
+
3
14
  ## [0.12.31]
4
15
 
5
16
  ### Added