v0.16.1
Summary
Patch release fixing a stale-anchor regression in @haklex/rich-ext-ai-agent's diff review overlay. When the AI agent emitted multiple ops anchored to the same blockId (e.g. replace X, then insert after X), later ops would silently drop because the original node had already been detached. This release caches live LexicalNode references by blockId and refreshes the entry whenever a replace op swaps the block out, so chained inserts keep resolving.
Breaking Changes
None.
Bug Fixes
- rich-ext-ai-agent: keep diff anchors addressable across chained ops (#398516c) — sibling-insert paths now guard with
isAttached()to avoid splicing alongside detached nodes; anchor resolution is backed by ablockIndexcache refreshed on replace.
Bump rationale
| Package | Bump | Reason |
|---|---|---|
@haklex/rich-ext-ai-agent |
patch | Internal DiffReviewOverlayPlugin fix — no export delta, no behavior change for callers. |
Highest-wins across the shared version → patch (0.16.0 → 0.16.1). All other @haklex/* packages re-publish at the same version per the monorepo's shared-version policy, with no source changes.