• v5.0.3 9ba8b682ef

    ktg released this 2026-05-13 13:08:20 +00:00 | 58 commits to main since this release

    The operator pointed at ~/repos/claude-code-100x/claude-code-100x/build-site.js
    as the annotation reference from the start. v4.2/v4.3 built a bespoke
    playground instead. v5.0.0 deleted it. v5.0.1 pointed at /playground
    document-critique (Claude-leads, wrong direction). v5.0.2 was operator-led
    but too thin (line-click + freeform note, no intent). v5.0.3 finally
    matches the reference.

    scripts/annotate.mjs rewritten:

    • Markdown rendered as proper article HTML (h1/p/li/ul/table/blockquote/pre)
      instead of line-numbered raw lines.
    • Pencil-toggle annotation mode in the topbar, default ON.
    • Select text OR click any element → form popover at cursor.
    • Three intent buttons: Fiks (red) / Endre (orange) / Spørsmål (blue).
    • Comment textarea. Save (Cmd+Enter), Cancel (Esc).
    • Section context auto-detected from nearest h1/h2.
    • Sidebar panel: annotations grouped by section, intent badges,
      snippet quotes, delete buttons, click-to-scroll with flash highlight.
    • Copy Prompt: structured markdown export with intent labels.
    • localStorage persistence keyed on absolute artifact path
      (voyage-annotate:v2: prefix to avoid colliding with v5.0.2 state).

    Tests: 12 (up from 10), all passing. npm test: 518 / 516 pass / 0 fail / 2 skipped.

    Reference: ~/repos/claude-code-100x/claude-code-100x/build-site.js
    lines 1431–2255 (annotation UI section).

    Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

    Downloads