Repository navigation
diting v0.8.3
Slider CAPTCHAs, the deterministic media pipeline, and a skill-side
jurisdiction clarification.
Engine:
- pointer capture: Element.setPointerCapture / releasePointerCapture /
hasPointerCapture with a capture registry and got/lostpointercapture
events. Drag-slider CAPTCHAs (the "hold the slider and drag it to the
right" wall) call setPointerCapture in their pointerdown handler and
track pointermove on the handle itself — the API being absent made the
handler throw at the press, so sliders could not be dragged at all.
The session/CDP mouse chains now honor capture: while a pointer is
captured, moves and the release dispatch to the captured element with
real coordinates, and pointerup releases as Chrome does implicitly.
Media pipeline (authored HTML in, fixed bytes out):
- /screenshot {html}: literal HTML renders straight to PNG — no URL, no
robots check, no network - /video {html}: CSS keyframe animations (or window.__timelines JS
orchestrations) render frame-by-frame through a virtual clock into an
MP4 — same input, same bytes - /render layout family: cover (WeChat-crop-safe square 1024x1024 and
wide 1080x460 with a dashed crop guide), card (square with
accent-spined body rows), title (vertical 1080x1920 opener frame)
Session:
- snapshots pierce open shadow DOM — ref=eN coverage completes on
componentized sites
Skill:
- tool-jurisdiction note: another tool's site policy governs that tool,
not diting — a user instruction to open a site in diting is not
overridden by a different tool's refusal