Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
Integrate PR #808 native embedded reading addresses
tt-a1i99032f0d94b4
diff --cc archify/references/viewer-runtime.mdindex 86643b65,f1171953..ea150622--- a/archify/references/viewer-runtime.md+++ b/archify/references/viewer-runtime.md@@@ -14,9 -14,24 +14,24 @@@ Read this only when the user asks for- Direct Relationship Pin makes a unique compiled relationship operable while preserving the authored line and stable relationship identity. It must fail closed on conflicting source/target/label/ID metadata.- Route Probe resolves exactly two endpoints over authored directed relationships. It never infers a route from geometry.+ ## Embedded reading addresses++ A host displaying the native reader in an opaque `srcdoc` frame may set+ `data-reading-link-template` on that reader's `html` element. Supply an absolute+ HTTP, HTTPS or file URL containing exactly one `{state}` marker, for example+ `https://example.test/architecture#page=mechanism&reader={state}`. Native Focus,+ Relationship, Reach, Route and Lens copy actions replace the marker with their+ percent-encoded opaque query state. The host keeps its page identity and restores+ that value as the native frame's hash; it never parses or reconstructs queries.++ Absent configuration preserves standalone links. Invalid, credential-bearing or+ unsupported URL templates make copying fail without accessing the clipboard.+ This seam changes copied addresses only, not query parsing, history, permissions,+ embedding isolation or authored geometry. It adds no network or storage surface.+## Motion and presentation-Every rendered diagram enables reader-controlled Live/Still motion by default. In Live, every edge runs a small light show on one shared cycle: a comet (halo, tail, head, plus a dimmer echo on long edges) cascades downstream, leaves a soft wake, and lands as a ripple on the target node, while nodes enter once and then glow on the same cycle with authored-step staggering. Phases follow the authored step order (source-node rank, chronological in sequence diagrams); the flow rides a separate Viewer overlay and the original line styles and arrowheads remain intact. Still stops the flow; resuming Live starts it again. Semantic exploration temporarily owns the motion budget, and continuous flow resumes when that action releases it. Diagrams without connections retain their bounded node entrance rather than inventing a flow. Omit `meta.animation`; historical `"trace"` and `"none"` values remain accepted for input compatibility and do not change this default. Reduced motion, page hiding, print, and canonical export preserve complete static meaning. Presentation Stage changes viewer chrome and framing, never authored geometry. This is not a mobile product feature; narrow layouts get containment only.+Every rendered diagram enables reader-controlled Live/Still motion by default. In Live, every edge runs a small light show on one shared cycle: a comet (glow, halo, tail, head, plus a dimmer echo on every edge) cascades downstream, leaves a soft wake, and lands as a ripple on the target node, while nodes enter once and then glow on the same cycle with authored-step staggering. Phases follow the authored step order (source-node rank, chronological in sequence diagrams); the flow rides a separate Viewer overlay and the original line styles and arrowheads remain intact. Compact edges receive a larger, brighter comet; echoes stay dimmer. With no saved preference, new pages start Still. Choosing Live starts continuous flow and saves that preference; choosing Still stops it and clears the saved Live preference. Existing saved Still preferences remain Still. Semantic exploration temporarily owns the motion budget, and continuous flow resumes when that action releases it. Diagrams without connections retain their bounded node entrance rather than inventing a flow. Omit `meta.animation`; historical `"trace"` and `"none"` values remain accepted for input compatibility and do not change this default. Reduced motion, page hiding, print, and canonical export preserve complete static meaning. Presentation Stage changes viewer chrome and framing, never authored geometry. This is not a mobile product feature; narrow layouts get containment only.## Canonical exports