Files
hyperframes/packages
Miguel Ángel a4c5fd16e9 feat(studio): replace split/delete with Edit Range + Copy to Agent
Remove the Split and Delete toolbar buttons which had many edge cases
(style capture, media offset, depth counting, DOMParser + regex hybrid).

Replace with an Edit button that:
1. Opens a modal with time range selection (start/end sliders)
2. Shows all elements that overlap the selected range
3. Provides a prompt textarea for describing the desired change
4. "Copy to Agent" button copies structured context to clipboard

The AI agent handles the actual HTML mutation — which is what it's
good at. This eliminates ~300 lines of fragile split/delete code.

Removed: splitElement, deleteElement, applyBakedStyles, styleCapture.ts
Kept: parseStyleString, mergeStyleIntoTag, findElementBlock (useful utilities)
2026-03-26 14:02:59 -04:00
..
2026-03-24 06:06:12 +01:00