Files
museion/spike/apexhtml/Package.swift
T
AlexKucera 7afd1a00e9 spike(apexhtml): apex → HTML → WKWebView reading surface (#74)
Throwaway spike proving the #73 pivot chain:
- sentinel pre-pass (<!--S:N-->) → apex → regex stamp to data-source-line
- one WKWebView reloaded in place (no per-document remount — that was
  the dominant switch cost, not apex)
- early HTML handoff: stdout EOF = conversion done, apex teardown reaped
  async (PERF-3k end-to-end 34 ms, was 82)
- images via --embed-images base64: loadHTMLString fast path, no file
  access, no vault writes (loadFileURL path cost 4× paint)
- ⌘-click links, click→source-line map, scroll→top-line map
- self-check --check, headless --pipeline (0 mis-stamps corpus-wide)
2026-10-06 16:25:09 +02:00

9 lines
193 B
Swift

// swift-tools-version:6.2
import PackageDescription
let package = Package(
name: "ApexHTMLSpike",
platforms: [.macOS(.v26)],
targets: [.executableTarget(name: "ApexHTMLSpike")]
)