v0.16.0
Summary
This release redesigns the AI-agent diff-node UI and exposes the toolbar plugin's state and action helpers as a public API. It also fixes the package build under pnpm 11 by migrating hoist configuration to pnpm-workspace.yaml.
Breaking Changes
None. All changes are additive — existing exports remain.
Features
- rich-ext-ai-agent: Redesigned diff-node UI built on a dedicated node-state model and an imperative diff-node controller. New public exports:
projectAgentDiffNodesToFactualState, and typesAgentDiffNodePayload,AgentDiffOpType. - rich-plugin-toolbar: Toolbar state and action helpers are now public —
useToolbarState,INITIAL_TOOLBAR_STATE,applyBlockType,applyFontFamily,getBlockType,BLOCK_TYPE_LABELS,FONT_FAMILIES,getFontLabel, plusToolbarButton/ToolbarDropdown/ToolbarSeparatorand typesBlockType,FontFamilyDef,ToolbarState.
Bug Fixes
- build: Migrate pnpm hoist config to
pnpm-workspace.yamlfor pnpm 11. pnpm 11 stopped readingpublic-hoist-patternfrom.npmrcand thepnpmfield frompackage.json;react/react-domare now public-hoisted so transitive deps (tunnel-ratvia@excalidraw/excalidraw) resolvereactwhenrich-composebundles the standalonelitexml-html-preview-client.
Bump rationale
Shared version, highest-wins across changed packages.
| Package | Change | Bump |
|---|---|---|
| @haklex/rich-ext-ai-agent | additive exports (diff-node state/controller) | minor |
| @haklex/rich-plugin-toolbar | additive exports (toolbar state + actions) | minor |
Result: minor → 0.16.0.