instruckt 0.4.2 → 0.4.4

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/README.md CHANGED
@@ -87,6 +87,7 @@ new Instruckt({
87
87
  |-----|--------|
88
88
  | `A` | Toggle annotation mode |
89
89
  | `F` | Freeze page (pause animations, block navigation) |
90
+ | `X` | Clear all annotations on this page |
90
91
  | `Esc` | Exit annotation/freeze mode |
91
92
 
92
93
  ## Features
@@ -94,10 +95,12 @@ new Instruckt({
94
95
  - **Framework detection** — automatically identifies Livewire, Vue, Svelte, and React components
95
96
  - **Shadow DOM isolation** — all UI renders in shadow roots so it never conflicts with your styles
96
97
  - **Copy as markdown** — annotations auto-copy as structured markdown optimized for AI agents
97
- - **Freeze mode** — pause animations and block all navigation/interactions for stable annotation
98
+ - **Freeze mode** — pause animations, freeze popovers/dropdowns, and block all navigation
99
+ - **Annotation persistence** — annotations survive page reloads and Vite rebuilds via localStorage fallback; with a backend (Laravel), annotations are loaded from the API on init
98
100
  - **Minimize** — collapse to a small floating button with annotation count badge
99
- - **Page-scoped markers** — annotation pins only appear on the page where they were created
100
- - **Livewire navigation** — survives `wire:navigate` page transitions
101
+ - **Page-scoped markers** — annotation pins reposition on scroll/resize and only appear on the page where they were created
102
+ - **Clear controls** — clear current page (`X` key or trash icon), or clear all pages via flyout
103
+ - **SPA navigation** — survives `wire:navigate`, Vue Router, React Router, and browser back/forward
101
104
 
102
105
  ## Public API
103
106