Skip to content

v0.16.0

Choose a tag to compare

@Innei Innei released this 29 May 08:36
· 62 commits to main since this release
505a52e

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 types AgentDiffNodePayload, 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, plus ToolbarButton/ToolbarDropdown/ToolbarSeparator and types BlockType, FontFamilyDef, ToolbarState.

Bug Fixes

  • build: Migrate pnpm hoist config to pnpm-workspace.yaml for pnpm 11. pnpm 11 stopped reading public-hoist-pattern from .npmrc and the pnpm field from package.json; react/react-dom are now public-hoisted so transitive deps (tunnel-rat via @excalidraw/excalidraw) resolve react when rich-compose bundles the standalone litexml-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: minor0.16.0.