The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
[codex] ci: add public harness guard (#63)
PerishFireb799c2851420
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlnew file mode 100644index 00000000..77a7a777--- /dev/null+++ b/.github/workflows/ci.yml@@ -0,0 +1,51 @@+name: CI++on:+ pull_request:+ push:+ branches:+ - main++permissions:+ contents: read++jobs:+ public-checks:+ name: Public checks+ runs-on: ubuntu-latest++ steps:+ - name: Checkout+ uses: actions/checkout@v4++ - name: Setup Node+ uses: actions/setup-node@v4+ with:+ node-version: "24"++ - name: Enable Corepack+ run: corepack enable++ - name: Install dependencies+ run: pnpm install --frozen-lockfile++ - name: Guard project shape+ run: pnpm exec tsx scripts/guard.ts++ - name: Typecheck app+ run: pnpm -F @html-anything/next typecheck++ - name: Typecheck e2e+ run: pnpm -F @html-anything/e2e typecheck++ - name: App unit tests+ run: pnpm -F @html-anything/next test++ - name: Build+ run: pnpm -F @html-anything/next build++ - name: Install Playwright browser+ run: pnpm -F @html-anything/e2e exec playwright install --with-deps chromium++ - name: E2E smoke+ run: pnpm -F @html-anything/e2e testdiff --git a/.gitignore b/.gitignoreindex 74ce2735..e9b5542a 100644--- a/.gitignore+++ b/.gitignore@@ -2,6 +2,8 @@# dependencies/node_modules+/e2e/node_modules+/next/node_modules/.pnp.pnp.*.yarn/*@@ -14,10 +16,14 @@/coverage/test-results//playwright-report/+/e2e/ui/reports/+/e2e/ui/test-results/# next.js/.next/+/next/.next//out/+/next/out/# production/build@@ -41,6 +47,7 @@ yarn-error.log*# typescript*.tsbuildinfonext-env.d.ts+/next/next-env.d.ts# claude code.claude-sessions/diff --git a/AGENTS.md b/AGENTS.mdindex 8bd0e390..7d102196 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,5 +1,24 @@<!-- BEGIN:nextjs-agent-rules --># This is NOT the Next.js you know-This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.+This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `next/node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.<!-- END:nextjs-agent-rules -->++## Workspace Shape++- Root is the public harness boundary only: workspace metadata, `.github/workflows/ci.yml`, `scripts/guard.ts`, and repository docs.+- `next/` owns the complete Next application: app routes, components, app libraries, public assets, Next config, app TypeScript config, and app unit tests.+- `e2e/` owns browser-level tests as the only source of truth: Playwright config, e2e TypeScript config, helper scripts, and flat `ui/*.test.ts` cases.+- Do not add Playwright tests under `next/`. Do not add app source back at root `src/` or root `app/`.+- Root `package.json` must not proxy app or e2e scripts. Use pnpm workspace filters from the repository root.++## Commands++- Install: `pnpm install --frozen-lockfile`+- Guard shape: `pnpm exec tsx scripts/guard.ts`+- App dev: `pnpm -F @html-anything/next dev`+- App typecheck: `pnpm -F @html-anything/next typecheck`+- App unit tests: `pnpm -F @html-anything/next test`+- App build: `pnpm -F @html-anything/next build`+- E2E typecheck: `pnpm -F @html-anything/e2e typecheck`+- E2E tests: `pnpm -F @html-anything/e2e test`diff --git a/README.md b/README.mdindex a5515495..af99ed60 100644--- a/README.md+++ b/README.md@@ -38,42 +38,42 @@ The eight skills that surface at the top of the picker's **Featured / 推荐** g<table><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/deck-guizang-editorial/"><img src="docs/screenshots/skills/deck-guizang-editorial.png" alt="deck-guizang-editorial" /></a><br/>-<sub><b><a href="src/lib/templates/skills/deck-guizang-editorial/"><code>deck-guizang-editorial</code></a></b> · <i>deck</i> · <code>recommended: 1</code><br/>Magazine × e-ink editorial deck, inspired by <a href="https://github.com/op7418/guizang-ppt-skill"><code>op7418/guizang-ppt-skill</code></a> — 10 locked layouts × 5 palettes (Ink / Indigo Porcelain / Forest Ink / Kraft / Dune). Reads like a printed art-zine, not a slide deck.</sub>+<a href="next/src/lib/templates/skills/deck-guizang-editorial/"><img src="docs/screenshots/skills/deck-guizang-editorial.png" alt="deck-guizang-editorial" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/deck-guizang-editorial/"><code>deck-guizang-editorial</code></a></b> · <i>deck</i> · <code>recommended: 1</code><br/>Magazine × e-ink editorial deck, inspired by <a href="https://github.com/op7418/guizang-ppt-skill"><code>op7418/guizang-ppt-skill</code></a> — 10 locked layouts × 5 palettes (Ink / Indigo Porcelain / Forest Ink / Kraft / Dune). Reads like a printed art-zine, not a slide deck.</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/deck-swiss-international/"><img src="docs/screenshots/skills/deck-swiss-international.png" alt="deck-swiss-international" /></a><br/>-<sub><b><a href="src/lib/templates/skills/deck-swiss-international/"><code>deck-swiss-international</code></a></b> · <i>deck</i> · <code>recommended: 2</code><br/>Swiss International deck — 16-column grid + one saturated accent (Klein Blue / Lemon / Mint / Safety Orange) across 22 locked layouts. Cold, rational, institutional. The deck that reads "a designer made this" the moment it opens.</sub>+<a href="next/src/lib/templates/skills/deck-swiss-international/"><img src="docs/screenshots/skills/deck-swiss-international.png" alt="deck-swiss-international" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/deck-swiss-international/"><code>deck-swiss-international</code></a></b> · <i>deck</i> · <code>recommended: 2</code><br/>Swiss International deck — 16-column grid + one saturated accent (Klein Blue / Lemon / Mint / Safety Orange) across 22 locked layouts. Cold, rational, institutional. The deck that reads "a designer made this" the moment it opens.</sub></td></tr><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/doc-kami-parchment/"><img src="docs/screenshots/skills/doc-kami-parchment.png" alt="doc-kami-parchment" /></a><br/>-<sub><b><a href="src/lib/templates/skills/doc-kami-parchment/"><code>doc-kami-parchment</code></a></b> · <i>doc</i> · <code>recommended: 3</code><br/>Warm-parchment editorial document, inspired by <a href="https://github.com/tw93/kami"><code>tw93/kami</code></a>. <code>#f5f4ed</code> ground + ink-blue accent + single serif voice — a noticeably calmer reading surface than plain-white markdown for long essays, reports, and one-pagers.</sub>+<a href="next/src/lib/templates/skills/doc-kami-parchment/"><img src="docs/screenshots/skills/doc-kami-parchment.png" alt="doc-kami-parchment" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/doc-kami-parchment/"><code>doc-kami-parchment</code></a></b> · <i>doc</i> · <code>recommended: 3</code><br/>Warm-parchment editorial document, inspired by <a href="https://github.com/tw93/kami"><code>tw93/kami</code></a>. <code>#f5f4ed</code> ground + ink-blue accent + single serif voice — a noticeably calmer reading surface than plain-white markdown for long essays, reports, and one-pagers.</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/magazine-poster/"><img src="docs/screenshots/skills/magazine-poster.png" alt="magazine-poster" /></a><br/>-<sub><b><a href="src/lib/templates/skills/magazine-poster/"><code>magazine-poster</code></a></b> · <i>poster</i> · <code>recommended: 4</code><br/>Newsprint Sunday-paper poster — oversized serif headline, two-column body, six numbered sections, dot-pattern cream ground. Reads like a printed broadsheet, not a webpage.</sub>+<a href="next/src/lib/templates/skills/magazine-poster/"><img src="docs/screenshots/skills/magazine-poster.png" alt="magazine-poster" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/magazine-poster/"><code>magazine-poster</code></a></b> · <i>poster</i> · <code>recommended: 4</code><br/>Newsprint Sunday-paper poster — oversized serif headline, two-column body, six numbered sections, dot-pattern cream ground. Reads like a printed broadsheet, not a webpage.</sub></td></tr><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/video-hyperframes/"><img src="docs/screenshots/skills/video-hyperframes.png" alt="video-hyperframes" /></a><br/>-<sub><b><a href="src/lib/templates/skills/video-hyperframes/"><code>video-hyperframes</code></a></b> · <i>frame / video</i> · <code>recommended: 5</code><br/>Hyperframes / Remotion-compatible storyboard — 6–10 sequential <code>1920×1080</code> frames with hidden duration + transition markers and an auto-play script. Hand straight to <a href="https://github.com/heygen-com/hyperframes"><code>heygen-com/hyperframes</code></a> or Remotion to render <code>.mp4</code>.</sub>+<a href="next/src/lib/templates/skills/video-hyperframes/"><img src="docs/screenshots/skills/video-hyperframes.png" alt="video-hyperframes" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/video-hyperframes/"><code>video-hyperframes</code></a></b> · <i>frame / video</i> · <code>recommended: 5</code><br/>Hyperframes / Remotion-compatible storyboard — 6–10 sequential <code>1920×1080</code> frames with hidden duration + transition markers and an auto-play script. Hand straight to <a href="https://github.com/heygen-com/hyperframes"><code>heygen-com/hyperframes</code></a> or Remotion to render <code>.mp4</code>.</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/frame-glitch-title/"><img src="docs/screenshots/skills/frame-glitch-title.png" alt="frame-glitch-title" /></a><br/>-<sub><b><a href="src/lib/templates/skills/frame-glitch-title/"><code>frame-glitch-title</code></a></b> · <i>frame</i> · <code>recommended: 6</code><br/>Glitch title frame — cyan/magenta chromatic offset, CRT scanlines, corrupted-data subtitle, ASCII noise in the corners. Cyberpunk hero card or video transition.</sub>+<a href="next/src/lib/templates/skills/frame-glitch-title/"><img src="docs/screenshots/skills/frame-glitch-title.png" alt="frame-glitch-title" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/frame-glitch-title/"><code>frame-glitch-title</code></a></b> · <i>frame</i> · <code>recommended: 6</code><br/>Glitch title frame — cyan/magenta chromatic offset, CRT scanlines, corrupted-data subtitle, ASCII noise in the corners. Cyberpunk hero card or video transition.</sub></td></tr><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/vfx-text-cursor/"><img src="docs/screenshots/skills/vfx-text-cursor.png" alt="vfx-text-cursor" /></a><br/>-<sub><b><a href="src/lib/templates/skills/vfx-text-cursor/"><code>vfx-text-cursor</code></a></b> · <i>vfx</i> · <code>recommended: 7</code><br/>VFX text-cursor opener — a cursor "types" across the canvas, each character revealed with a hot-pink × cyan chromatic trail and directional light leaks. Drop in a quote, get a film-grade opening frame.</sub>+<a href="next/src/lib/templates/skills/vfx-text-cursor/"><img src="docs/screenshots/skills/vfx-text-cursor.png" alt="vfx-text-cursor" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/vfx-text-cursor/"><code>vfx-text-cursor</code></a></b> · <i>vfx</i> · <code>recommended: 7</code><br/>VFX text-cursor opener — a cursor "types" across the canvas, each character revealed with a hot-pink × cyan chromatic trail and directional light leaks. Drop in a quote, get a film-grade opening frame.</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/frame-logo-outro/"><img src="docs/screenshots/skills/frame-logo-outro.png" alt="frame-logo-outro" /></a><br/>-<sub><b><a href="src/lib/templates/skills/frame-logo-outro/"><code>frame-logo-outro</code></a></b> · <i>frame</i> · <code>recommended: 8</code><br/>Logo outro frame — logo assembles piece-by-piece with glow bloom, tagline rises, CTA appears. The closing card for a product reveal or brand film.</sub>+<a href="next/src/lib/templates/skills/frame-logo-outro/"><img src="docs/screenshots/skills/frame-logo-outro.png" alt="frame-logo-outro" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/frame-logo-outro/"><code>frame-logo-outro</code></a></b> · <i>frame</i> · <code>recommended: 8</code><br/>Logo outro frame — logo assembles piece-by-piece with glow bloom, tagline rises, CTA appears. The closing card for a product reveal or brand film.</sub></td></tr></table>@@ -97,7 +97,7 @@ But "writing HTML" used to mean writing CSS, picking type scales, snapping to aWe stand on four open-source shoulders:-- [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) — the agent-detection layer, the design-system model, and the `SKILL.md` protocol. `src/lib/agents/` and `src/lib/templates/skills/*` mirror this architecture directly.+- [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) — the agent-detection layer, the design-system model, and the `SKILL.md` protocol. `next/src/lib/agents/` and `next/src/lib/templates/skills/*` mirror this architecture directly.- [**`mdnice/markdown-nice`**](https://github.com/mdnice/markdown-nice) — proof that `juice`-inlined CSS pastes cleanly into WeChat and Zhihu without per-platform manual fix-up.- [**`gcui-art/markdown-to-image`**](https://github.com/gcui-art/markdown-to-image) — the iframe → high-DPI PNG export path.- [**`alchaincyf/huashu-md-html`**](https://github.com/alchaincyf/huashu-md-html) — the anti-AI-slop discipline that maps into the hard constraints inside every `SKILL.md` (CJK-first font stack, 8 px baseline grid, contrast ≥ 4.5, must-use-real-data rule).@@ -114,7 +114,7 @@ We stand on four open-source shoulders:| **Streaming render** | `POST /api/convert` over SSE. The agent's stdout JSON-line stream is parsed for text deltas → server-sent events → client appends → iframe `srcdoc` updates live. Waiting for an AI generation looks like watching it type in real time. || **Sandboxed preview** | `<iframe sandbox="allow-scripts allow-same-origin">`. User-emitted HTML runs in an isolated origin — Tailwind CDN / Google Fonts / inline scripts work, but cookies and localStorage are quarantined from the host. || **Format auto-detect** | The editor accepts Markdown / CSV / TSV / JSON / SQL / plain text. `papaparse` + `xlsx` parse tabular data in the browser — nothing is uploaded. |-| **Deployable to** | Local (`pnpm dev`) · Vercel for the web layer (the agent always stays on your laptop). |+| **Deployable to** | Local (`pnpm -F @html-anything/next dev`) · Vercel for the web layer (the agent always stays on your laptop). || **License** | Apache-2.0 |## Demo@@ -158,7 +158,7 @@ We stand on four open-source shoulders:git clone https://github.com/nexu-io/html-anythingcd html-anythingpnpm install-pnpm dev+pnpm -F @html-anything/next dev# → http://localhost:3000```@@ -166,6 +166,26 @@ Open the browser → the top bar auto-detects whichever coding-agent CLI you alr**No API key required.** We reuse the session you already have logged in (Claude / Cursor / Codex / Gemini / Copilot subscriptions all work).+## Workspace++This repo is a small pnpm workspace:++- `next/` is the complete Next app (`@html-anything/next`).+- `e2e/` is the browser-test package (`@html-anything/e2e`) and the only source of truth for Playwright cases.+- root owns CI, docs, and `scripts/guard.ts`; root `package.json` intentionally does not proxy app or e2e commands.++Run package commands from the repo root:++```bash+pnpm exec tsx scripts/guard.ts+pnpm -F @html-anything/next dev+pnpm -F @html-anything/next typecheck+pnpm -F @html-anything/next test+pnpm -F @html-anything/next build+pnpm -F @html-anything/e2e typecheck+pnpm -F @html-anything/e2e test+```+## Supported coding agentsOn startup we scan `PATH` (including `~/.local/bin`, `~/.bun/bin`, `/opt/homebrew/bin`, `~/.npm-global/bin` — directories normally missed by GUI-launched Node) and surface every CLI we recognize:@@ -181,13 +201,13 @@ On startup we scan `PATH` (including `~/.local/bin`, `~/.bun/bin`, `/opt/homebre| **Qwen Coder** | `qwen` | `qwen --yolo -` || **Aider** | `aider` | `aider --no-pretty --no-stream --yes-always --message-file -` |-> The detection strategy and per-CLI adapter shape are borrowed directly from [`nexu-io/open-design`](https://github.com/nexu-io/open-design) and [`multica-ai/multica`](https://github.com/multica-ai/multica): one privileged process spawns CLIs, JSON-line is the wire protocol, every CLI gets a thin adapter in [`src/lib/agents/argv.ts`](src/lib/agents/argv.ts).+> The detection strategy and per-CLI adapter shape are borrowed directly from [`nexu-io/open-design`](https://github.com/nexu-io/open-design) and [`multica-ai/multica`](https://github.com/multica-ai/multica): one privileged process spawns CLIs, JSON-line is the wire protocol, every CLI gets a thin adapter in [`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts).If you've already done `claude login` / `cursor login` / `gemini auth` in your terminal, HTML Anything reuses that session. **No second copy of the API key required.**## Skills-**75 skills under [`src/lib/templates/skills/`](src/lib/templates/skills/)**, each a folder following the Claude Code [`SKILL.md`](https://docs.anthropic.com/en/docs/claude-code/skills) convention plus an extended frontmatter (`mode` · `scenario` · `surface` · `preview` · `design_system`).+**75 skills under [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/)**, each a folder following the Claude Code [`SKILL.md`](https://docs.anthropic.com/en/docs/claude-code/skills) convention plus an extended frontmatter (`mode` · `scenario` · `surface` · `preview` · `design_system`).The two axes the picker uses:@@ -198,69 +218,69 @@ The two axes the picker uses:| Skill | Best for | Output ||---|---|---|-| [`prototype-web`](src/lib/templates/skills/prototype-web/) | Generic web prototype (default) | Single-page HTML, 1440×900 desktop |-| [`saas-landing`](src/lib/templates/skills/saas-landing/) | SaaS landing page | Hero / features / pricing / CTA |-| [`waitlist-page`](src/lib/templates/skills/waitlist-page/) | Waitlist / early-access page | Minimal form + social proof |-| [`pricing-page`](src/lib/templates/skills/pricing-page/) | Pricing page | Multi-tier comparison tables |-| [`dashboard`](src/lib/templates/skills/dashboard/) | Admin / analytics console | Sidebar + dense data layout |-| [`docs-page`](src/lib/templates/skills/docs-page/) | Technical documentation | 3-column docs layout |-| [`blog-post`](src/lib/templates/skills/blog-post/) | Long-form blog post | Editorial layout |-| [`mobile-app`](src/lib/templates/skills/mobile-app/) | iOS / Android prototype | iPhone 15 Pro chrome |-| [`mobile-onboarding`](src/lib/templates/skills/mobile-onboarding/) | App onboarding flow | Splash · value · sign-in trio |-| [`gamified-app`](src/lib/templates/skills/gamified-app/) | Gamified app | Quest · XP · level trio |-| [`dating-web`](src/lib/templates/skills/dating-web/) | Dating / matchmaking dashboard | Left rail · KPIs · 30-day chart |-| [`magazine-poster`](src/lib/templates/skills/magazine-poster/) | Single-page magazine poster | 1080×1920 |-| [`poster-hero`](src/lib/templates/skills/poster-hero/) | Marketing poster | Single-page display poster |-| [`web-proto-editorial`](src/lib/templates/skills/web-proto-editorial/) | Editorial-style web | Serif display + grid |-| [`web-proto-brutalist`](src/lib/templates/skills/web-proto-brutalist/) | Brutalist web | Hard edges, black & white, anti-grid |-| [`web-proto-soft`](src/lib/templates/skills/web-proto-soft/) | Soft / warm web | Soft shadows, rounded, warm palette |-| [`article-magazine`](src/lib/templates/skills/article-magazine/) | Long-form magazine article | A4 / long-page |-| [`digital-eguide`](src/lib/templates/skills/digital-eguide/) | Digital e-guide | Cover + lesson spread |-| [`resume-modern`](src/lib/templates/skills/resume-modern/) | Minimal résumé | A4 210×297mm |-| [`email-marketing`](src/lib/templates/skills/email-marketing/) | Brand product-launch email | Center single-column, table fallback |-| [`wireframe-sketch`](src/lib/templates/skills/wireframe-sketch/) | Hand-drawn wireframe | Early-pass ideation |+| [`prototype-web`](next/src/lib/templates/skills/prototype-web/) | Generic web prototype (default) | Single-page HTML, 1440×900 desktop |+| [`saas-landing`](next/src/lib/templates/skills/saas-landing/) | SaaS landing page | Hero / features / pricing / CTA |+| [`waitlist-page`](next/src/lib/templates/skills/waitlist-page/) | Waitlist / early-access page | Minimal form + social proof |+| [`pricing-page`](next/src/lib/templates/skills/pricing-page/) | Pricing page | Multi-tier comparison tables |+| [`dashboard`](next/src/lib/templates/skills/dashboard/) | Admin / analytics console | Sidebar + dense data layout |+| [`docs-page`](next/src/lib/templates/skills/docs-page/) | Technical documentation | 3-column docs layout |+| [`blog-post`](next/src/lib/templates/skills/blog-post/) | Long-form blog post | Editorial layout |+| [`mobile-app`](next/src/lib/templates/skills/mobile-app/) | iOS / Android prototype | iPhone 15 Pro chrome |+| [`mobile-onboarding`](next/src/lib/templates/skills/mobile-onboarding/) | App onboarding flow | Splash · value · sign-in trio |+| [`gamified-app`](next/src/lib/templates/skills/gamified-app/) | Gamified app | Quest · XP · level trio |+| [`dating-web`](next/src/lib/templates/skills/dating-web/) | Dating / matchmaking dashboard | Left rail · KPIs · 30-day chart |+| [`magazine-poster`](next/src/lib/templates/skills/magazine-poster/) | Single-page magazine poster | 1080×1920 |+| [`poster-hero`](next/src/lib/templates/skills/poster-hero/) | Marketing poster | Single-page display poster |+| [`web-proto-editorial`](next/src/lib/templates/skills/web-proto-editorial/) | Editorial-style web | Serif display + grid |+| [`web-proto-brutalist`](next/src/lib/templates/skills/web-proto-brutalist/) | Brutalist web | Hard edges, black & white, anti-grid |+| [`web-proto-soft`](next/src/lib/templates/skills/web-proto-soft/) | Soft / warm web | Soft shadows, rounded, warm palette |+| [`article-magazine`](next/src/lib/templates/skills/article-magazine/) | Long-form magazine article | A4 / long-page |+| [`digital-eguide`](next/src/lib/templates/skills/digital-eguide/) | Digital e-guide | Cover + lesson spread |+| [`resume-modern`](next/src/lib/templates/skills/resume-modern/) | Minimal résumé | A4 210×297mm |+| [`email-marketing`](next/src/lib/templates/skills/email-marketing/) | Brand product-launch email | Center single-column, table fallback |+| [`wireframe-sketch`](next/src/lib/templates/skills/wireframe-sketch/) | Hand-drawn wireframe | Early-pass ideation |### Decks (deck mode, 20 skills)| Skill | Best for ||---|---|-| [`deck-swiss-international`](src/lib/templates/skills/deck-swiss-international/) | Swiss International deck |-| [`deck-guizang-editorial`](src/lib/templates/skills/deck-guizang-editorial/) | Editorial-ink deck (from [op7418/guizang-ppt-skill](https://github.com/op7418/guizang-ppt-skill)) |-| [`deck-open-slide-canvas`](src/lib/templates/skills/deck-open-slide-canvas/) | 1920×1080 agent-native canvas (from [1weiho/open-slide](https://github.com/1weiho/open-slide)) |-| [`deck-magazine-web`](src/lib/templates/skills/deck-magazine-web/) | Magazine-style web deck |-| [`deck-hermes-cyber`](src/lib/templates/skills/deck-hermes-cyber/) | Hermes Cyber neon-luxe |-| [`deck-replit`](src/lib/templates/skills/deck-replit/) | Replit-style product walkthrough |-| [`deck-xhs-pastel`](src/lib/templates/skills/deck-xhs-pastel/) | Xiaohongshu pastel deck |-| [`deck-xhs-white`](src/lib/templates/skills/deck-xhs-white/) | Xiaohongshu pure-white deck |-| [`deck-xhs-post`](src/lib/templates/skills/deck-xhs-post/) | Xiaohongshu single-post deck |-| [`deck-tech-sharing`](src/lib/templates/skills/deck-tech-sharing/) | Tech-sharing deck |-| [`deck-product-launch`](src/lib/templates/skills/deck-product-launch/) | Product-launch event deck |-| [`deck-pitch`](src/lib/templates/skills/deck-pitch/) | Investor pitch |-| [`deck-blueprint`](src/lib/templates/skills/deck-blueprint/) | Blueprint / roadmap |-| [`deck-presenter-mode`](src/lib/templates/skills/deck-presenter-mode/) | Speaker-notes-aware |-| [`deck-course-module`](src/lib/templates/skills/deck-course-module/) | Course module deck |-| [`deck-dir-key-nav`](src/lib/templates/skills/deck-dir-key-nav/) | Directional key-nav deep browse |-| [`deck-graphify-dark`](src/lib/templates/skills/deck-graphify-dark/) | Dark, data-graphic-heavy deck |-| [`deck-obsidian-claude`](src/lib/templates/skills/deck-obsidian-claude/) | Obsidian / Claude-flavored notes |-| [`deck-safety-alert`](src/lib/templates/skills/deck-safety-alert/) | Incident / safety briefing |-| [`deck-simple`](src/lib/templates/skills/deck-simple/) | Minimal horizontal-swipe deck |+| [`deck-swiss-international`](next/src/lib/templates/skills/deck-swiss-international/) | Swiss International deck |+| [`deck-guizang-editorial`](next/src/lib/templates/skills/deck-guizang-editorial/) | Editorial-ink deck (from [op7418/guizang-ppt-skill](https://github.com/op7418/guizang-ppt-skill)) |+| [`deck-open-slide-canvas`](next/src/lib/templates/skills/deck-open-slide-canvas/) | 1920×1080 agent-native canvas (from [1weiho/open-slide](https://github.com/1weiho/open-slide)) |+| [`deck-magazine-web`](next/src/lib/templates/skills/deck-magazine-web/) | Magazine-style web deck |+| [`deck-hermes-cyber`](next/src/lib/templates/skills/deck-hermes-cyber/) | Hermes Cyber neon-luxe |+| [`deck-replit`](next/src/lib/templates/skills/deck-replit/) | Replit-style product walkthrough |+| [`deck-xhs-pastel`](next/src/lib/templates/skills/deck-xhs-pastel/) | Xiaohongshu pastel deck |+| [`deck-xhs-white`](next/src/lib/templates/skills/deck-xhs-white/) | Xiaohongshu pure-white deck |+| [`deck-xhs-post`](next/src/lib/templates/skills/deck-xhs-post/) | Xiaohongshu single-post deck |+| [`deck-tech-sharing`](next/src/lib/templates/skills/deck-tech-sharing/) | Tech-sharing deck |+| [`deck-product-launch`](next/src/lib/templates/skills/deck-product-launch/) | Product-launch event deck |+| [`deck-pitch`](next/src/lib/templates/skills/deck-pitch/) | Investor pitch |+| [`deck-blueprint`](next/src/lib/templates/skills/deck-blueprint/) | Blueprint / roadmap |+| [`deck-presenter-mode`](next/src/lib/templates/skills/deck-presenter-mode/) | Speaker-notes-aware |+| [`deck-course-module`](next/src/lib/templates/skills/deck-course-module/) | Course module deck |+| [`deck-dir-key-nav`](next/src/lib/templates/skills/deck-dir-key-nav/) | Directional key-nav deep browse |+| [`deck-graphify-dark`](next/src/lib/templates/skills/deck-graphify-dark/) | Dark, data-graphic-heavy deck |+| [`deck-obsidian-claude`](next/src/lib/templates/skills/deck-obsidian-claude/) | Obsidian / Claude-flavored notes |+| [`deck-safety-alert`](next/src/lib/templates/skills/deck-safety-alert/) | Incident / safety briefing |+| [`deck-simple`](next/src/lib/templates/skills/deck-simple/) | Minimal horizontal-swipe deck |### Hyperframes video frames & VFX & device mockups (frame / vfx / mockup, 12 skills)| Skill | Best for ||---|---|-| [`frame-liquid-bg-hero`](src/lib/templates/skills/frame-liquid-bg-hero/) | Liquid background hero |-| [`frame-data-chart-nyt`](src/lib/templates/skills/frame-data-chart-nyt/) | NYT-style data chart |-| [`frame-flowchart-sticky`](src/lib/templates/skills/frame-flowchart-sticky/) | Sticky-note flowchart |-| [`frame-glitch-title`](src/lib/templates/skills/frame-glitch-title/) | Glitch title card |-| [`frame-light-leak-cinema`](src/lib/templates/skills/frame-light-leak-cinema/) | Cinema light-leak |-| [`frame-macos-notification`](src/lib/templates/skills/frame-macos-notification/) | macOS notification toast |-| [`frame-logo-outro`](src/lib/templates/skills/frame-logo-outro/) | Brand logo outro |-| [`motion-frames`](src/lib/templates/skills/motion-frames/) | Generic motion-design frame |-| [`video-hyperframes`](src/lib/templates/skills/video-hyperframes/) | Hyperframes frame-script schema |-| [`sprite-animation`](src/lib/templates/skills/sprite-animation/) | Pixel / 8-bit animation |-| [`vfx-text-cursor`](src/lib/templates/skills/vfx-text-cursor/) | Text-cursor VFX |-| [`mockup-device-3d`](src/lib/templates/skills/mockup-device-3d/) | 3D device-frame mockup |+| [`frame-liquid-bg-hero`](next/src/lib/templates/skills/frame-liquid-bg-hero/) | Liquid background hero |+| [`frame-data-chart-nyt`](next/src/lib/templates/skills/frame-data-chart-nyt/) | NYT-style data chart |+| [`frame-flowchart-sticky`](next/src/lib/templates/skills/frame-flowchart-sticky/) | Sticky-note flowchart |+| [`frame-glitch-title`](next/src/lib/templates/skills/frame-glitch-title/) | Glitch title card |+| [`frame-light-leak-cinema`](next/src/lib/templates/skills/frame-light-leak-cinema/) | Cinema light-leak |+| [`frame-macos-notification`](next/src/lib/templates/skills/frame-macos-notification/) | macOS notification toast |+| [`frame-logo-outro`](next/src/lib/templates/skills/frame-logo-outro/) | Brand logo outro |+| [`motion-frames`](next/src/lib/templates/skills/motion-frames/) | Generic motion-design frame |+| [`video-hyperframes`](next/src/lib/templates/skills/video-hyperframes/) | Hyperframes frame-script schema |+| [`sprite-animation`](next/src/lib/templates/skills/sprite-animation/) | Pixel / 8-bit animation |+| [`vfx-text-cursor`](next/src/lib/templates/skills/vfx-text-cursor/) | Text-cursor VFX |+| [`mockup-device-3d`](next/src/lib/templates/skills/mockup-device-3d/) | 3D device-frame mockup |> Frame scripts conform to the [`heygen-com/hyperframes`](https://github.com/heygen-com/hyperframes) spec and hand off straight to [`remotion-dev/remotion`](https://github.com/remotion-dev/remotion) to render `.mp4`.@@ -268,45 +288,45 @@ The two axes the picker uses:| Skill | Best for ||---|---|-| [`social-x-post-card`](src/lib/templates/skills/social-x-post-card/) | X / Twitter quote card (1600×900) |-| [`social-spotify-card`](src/lib/templates/skills/social-spotify-card/) | Spotify-Wrapped style card |-| [`social-reddit-card`](src/lib/templates/skills/social-reddit-card/) | Reddit thread card |-| [`social-carousel`](src/lib/templates/skills/social-carousel/) | 3-card 1080×1080 carousel |-| [`card-xiaohongshu`](src/lib/templates/skills/card-xiaohongshu/) | Xiaohongshu image-with-text card |-| [`card-twitter`](src/lib/templates/skills/card-twitter/) | Twitter pull-quote card |-| [`social-media-dashboard`](src/lib/templates/skills/social-media-dashboard/) | Social-ops dashboard |-| [`social-media-matrix`](src/lib/templates/skills/social-media-matrix/) | Multi-platform content matrix |+| [`social-x-post-card`](next/src/lib/templates/skills/social-x-post-card/) | X / Twitter quote card (1600×900) |+| [`social-spotify-card`](next/src/lib/templates/skills/social-spotify-card/) | Spotify-Wrapped style card |+| [`social-reddit-card`](next/src/lib/templates/skills/social-reddit-card/) | Reddit thread card |+| [`social-carousel`](next/src/lib/templates/skills/social-carousel/) | 3-card 1080×1080 carousel |+| [`card-xiaohongshu`](next/src/lib/templates/skills/card-xiaohongshu/) | Xiaohongshu image-with-text card |+| [`card-twitter`](next/src/lib/templates/skills/card-twitter/) | Twitter pull-quote card |+| [`social-media-dashboard`](next/src/lib/templates/skills/social-media-dashboard/) | Social-ops dashboard |+| [`social-media-matrix`](next/src/lib/templates/skills/social-media-matrix/) | Multi-platform content matrix |### Office & operations (office / doc mode)| Skill | Scenario | Best for ||---|---|---|-| [`doc-kami-parchment`](src/lib/templates/skills/doc-kami-parchment/) | personal | Warm-parchment editorial doc (from [tw93/kami](https://github.com/tw93/kami)) |-| [`pm-spec`](src/lib/templates/skills/pm-spec/) | product | PM spec doc + decision log |-| [`team-okrs`](src/lib/templates/skills/team-okrs/) | product | OKR scoresheet |-| [`meeting-notes`](src/lib/templates/skills/meeting-notes/) | operation | Meeting decision log |-| [`weekly-update`](src/lib/templates/skills/weekly-update/) | operation | Team weekly cadence |-| [`kanban-board`](src/lib/templates/skills/kanban-board/) | operation | Board snapshot |-| [`eng-runbook`](src/lib/templates/skills/eng-runbook/) | engineering | Incident runbook |-| [`finance-report`](src/lib/templates/skills/finance-report/) | finance | Exec finance summary |-| [`invoice`](src/lib/templates/skills/invoice/) | finance | Single-page invoice |-| [`hr-onboarding`](src/lib/templates/skills/hr-onboarding/) | hr | Role onboarding plan |-| [`data-report`](src/lib/templates/skills/data-report/) | finance / product | CSV/Excel → visual data report |-| [`live-dashboard`](src/lib/templates/skills/live-dashboard/) | operation | Live data dashboard |-| [`flowai-team-dashboard`](src/lib/templates/skills/flowai-team-dashboard/) | operation | Team workflow dashboard |-| [`ppt-keynote`](src/lib/templates/skills/ppt-keynote/) | personal | Generic Keynote-style deck |--**Adding a skill takes one folder.** Copy a similar skill, edit its `SKILL.md` frontmatter, restart `pnpm dev`, the picker shows it. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for the bar a skill PR has to clear before we merge.+| [`doc-kami-parchment`](next/src/lib/templates/skills/doc-kami-parchment/) | personal | Warm-parchment editorial doc (from [tw93/kami](https://github.com/tw93/kami)) |+| [`pm-spec`](next/src/lib/templates/skills/pm-spec/) | product | PM spec doc + decision log |+| [`team-okrs`](next/src/lib/templates/skills/team-okrs/) | product | OKR scoresheet |+| [`meeting-notes`](next/src/lib/templates/skills/meeting-notes/) | operation | Meeting decision log |+| [`weekly-update`](next/src/lib/templates/skills/weekly-update/) | operation | Team weekly cadence |+| [`kanban-board`](next/src/lib/templates/skills/kanban-board/) | operation | Board snapshot |+| [`eng-runbook`](next/src/lib/templates/skills/eng-runbook/) | engineering | Incident runbook |+| [`finance-report`](next/src/lib/templates/skills/finance-report/) | finance | Exec finance summary |+| [`invoice`](next/src/lib/templates/skills/invoice/) | finance | Single-page invoice |+| [`hr-onboarding`](next/src/lib/templates/skills/hr-onboarding/) | hr | Role onboarding plan |+| [`data-report`](next/src/lib/templates/skills/data-report/) | finance / product | CSV/Excel → visual data report |+| [`live-dashboard`](next/src/lib/templates/skills/live-dashboard/) | operation | Live data dashboard |+| [`flowai-team-dashboard`](next/src/lib/templates/skills/flowai-team-dashboard/) | operation | Team workflow dashboard |+| [`ppt-keynote`](next/src/lib/templates/skills/ppt-keynote/) | personal | Generic Keynote-style deck |++**Adding a skill takes one folder.** Copy a similar skill, edit its `SKILL.md` frontmatter, restart `pnpm -F @html-anything/next dev`, the picker shows it. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for the bar a skill PR has to clear before we merge.## Six load-bearing ideas### 1 · We don't ship an agent. Yours is good enough.-On boot the browser calls `/api/agents`. The server scans `PATH` — including the dirs a GUI-launched Node usually misses (`~/.local/bin`, `~/.bun/bin`, `/opt/homebrew/bin`, `~/.npm-global/bin`) — and surfaces whichever CLIs it finds. Each CLI has one adapter (argv + stdin protocol + stream parser) in [`src/lib/agents/argv.ts`](src/lib/agents/argv.ts). The whole detection model is borrowed directly from [`nexu-io/open-design`](https://github.com/nexu-io/open-design) and [`multica-ai/multica`](https://github.com/multica-ai/multica): one privileged process spawns CLIs, JSON-line is the wire protocol.+On boot the browser calls `/api/agents`. The server scans `PATH` — including the dirs a GUI-launched Node usually misses (`~/.local/bin`, `~/.bun/bin`, `/opt/homebrew/bin`, `~/.npm-global/bin`) — and surfaces whichever CLIs it finds. Each CLI has one adapter (argv + stdin protocol + stream parser) in [`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts). The whole detection model is borrowed directly from [`nexu-io/open-design`](https://github.com/nexu-io/open-design) and [`multica-ai/multica`](https://github.com/multica-ai/multica): one privileged process spawns CLIs, JSON-line is the wire protocol.### 2 · Skills are folders, not plugins.-Following Claude Code's [`SKILL.md` convention](https://docs.anthropic.com/en/docs/claude-code/skills) — `SKILL.md` + `assets/` + `references/` + `example.html`. Drop a folder into [`src/lib/templates/skills/`](src/lib/templates/skills/), restart `pnpm dev`, the picker shows it. `deck-guizang-editorial` is vendored directly from [`op7418/guizang-ppt-skill`](https://github.com/op7418/guizang-ppt-skill) with original LICENSE and authorship preserved.+Following Claude Code's [`SKILL.md` convention](https://docs.anthropic.com/en/docs/claude-code/skills) — `SKILL.md` + `assets/` + `references/` + `example.html`. Drop a folder into [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/), restart `pnpm -F @html-anything/next dev`, the picker shows it. `deck-guizang-editorial` is vendored directly from [`op7418/guizang-ppt-skill`](https://github.com/op7418/guizang-ppt-skill) with original LICENSE and authorship preserved.### 3 · Hard constraints stop the model from freestyling.@@ -374,11 +394,11 @@ User-emitted HTML always renders inside `<iframe sandbox="allow-scripts allow-sa|---|---|| Frontend | Next.js 16 App Router + Turbopack · React 19 · Tailwind v4 · zustand state || Server routes | `GET /api/agents` (detection) · `POST /api/convert` (SSE streaming spawn) |-| Agent transport | `child_process.spawn` · one stdin/stdout adapter per CLI ([`src/lib/agents/argv.ts`](src/lib/agents/argv.ts)) |+| Agent transport | `child_process.spawn` · one stdin/stdout adapter per CLI ([`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts)) || Browser-side processing | `juice` (CSS inlining) · `modern-screenshot` (PNG export) · `xlsx` / `papaparse` (spreadsheet parsing) · `marked` + `highlight.js` (Markdown-compatible input) · `dompurify` (XSS defense) || Preview sandbox | `iframe[sandbox="allow-scripts allow-same-origin"]` + `srcdoc` || Export targets | `.html` standalone · `.png` high-DPI · `ClipboardItem` (text/html + image/png) · WeChat-compatible inlined CSS |-| Deploy | Local `pnpm dev` · Vercel one-click for the web layer (agent stays local) |+| Deploy | Local `pnpm -F @html-anything/next dev` · Vercel one-click for the web layer (agent stays local) |## Export targets@@ -422,9 +442,9 @@ Early but real. The closed loop — **detect agent → pick skill → SSE streamIssues, PRs, new skills, new agent adapters, new export targets, and translations are all welcome. The highest-leverage contributions are usually **one folder, one Markdown file, or one PR-sized adapter** — small surface area, big leverage. Pick the slot that matches what you want to add:-- **Add a skill** — drop a folder into [`src/lib/templates/skills/`](src/lib/templates/skills/) with `SKILL.md` + `example.html` (+ optional `assets/` and `references/`). The picker auto-discovers it after `pnpm dev` restart. The `SKILL.md` frontmatter has to set `mode` · `scenario` · `surface` · `preview` · `design_system` — copy a neighbour and edit.-- **Wire up a new coding-agent CLI** — one entry in [`src/lib/agents/argv.ts`](src/lib/agents/argv.ts) covering: detection binary, argv builder, stdin/stdout protocol, stream parser. Detection is exercised by [`src/app/api/agents/`](src/app/api/agents/) and the spawn loop by [`src/app/api/convert/`](src/app/api/convert/).-- **Add an export target** — drop a module under [`src/lib/export/`](src/lib/export/) (next to `wechat.ts` / `image.ts` / `clipboard.ts`) and add the button to the export menu. WeChat Channels · Douyin captions · Notion · Linear · Telegraph · RSS are all open.+- **Add a skill** — drop a folder into [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/) with `SKILL.md` + `example.html` (+ optional `assets/` and `references/`). The picker auto-discovers it after `pnpm -F @html-anything/next dev` restart. The `SKILL.md` frontmatter has to set `mode` · `scenario` · `surface` · `preview` · `design_system` — copy a neighbour and edit.+- **Wire up a new coding-agent CLI** — one entry in [`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts) covering: detection binary, argv builder, stdin/stdout protocol, stream parser. Detection is exercised by [`next/src/app/api/agents/`](next/src/app/api/agents/) and the spawn loop by [`next/src/app/api/convert/`](next/src/app/api/convert/).+- **Add an export target** — drop a module under [`next/src/lib/export/`](next/src/lib/export/) (next to `wechat.ts` / `image.ts` / `clipboard.ts`) and add the button to the export menu. WeChat Channels · Douyin captions · Notion · Linear · Telegraph · RSS are all open.- **Sharpen a `SKILL.md`** — strengthen the hard-constraints (CJK font stack, 8 px baseline, contrast ≥ 4.5, must-use-real-data), add a 5-dimensional self-critique, swap in a better palette. Anti-AI-slop discipline is the most underrated PR shape we accept.- **Translations & docs** — [`README.zh-CN.md`](README.zh-CN.md) and [`CONTRIBUTING.zh-CN.md`](CONTRIBUTING.zh-CN.md) are kept in parallel with the English files; please update both.@@ -436,21 +456,21 @@ Every external project this repo borrows from — what we take from each, and wh| Project | Role here ||---|---|-| [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) | The agent-detection layer, the `DESIGN.md` design-system schema, and the `SKILL.md` skill protocol. [`src/lib/agents/argv.ts`](src/lib/agents/argv.ts) and [`src/lib/templates/skills/`](src/lib/templates/skills/) mirror this architecture verbatim. |+| [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) | The agent-detection layer, the `DESIGN.md` design-system schema, and the `SKILL.md` skill protocol. [`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts) and [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/) mirror this architecture verbatim. || [**`multica-ai/multica`**](https://github.com/multica-ai/multica) | Daemon-and-runtime architecture: one privileged process spawns CLIs, JSON-line is the wire protocol, every CLI gets a thin per-adapter shape. |-| [**`alchaincyf/huashu-design`**](https://github.com/alchaincyf/huashu-design) | Anti-AI-slop discipline — Junior-Designer mode, 5-step brand-asset protocol, contrast-≥-4.5 / 8 px baseline-grid / must-use-real-data rules. Hard-coded into every [`SKILL.md`](src/lib/templates/skills/) frontmatter. |-| [`alchaincyf/huashu-md-html`](https://github.com/alchaincyf/huashu-md-html) | Proof that end-to-end WeChat / Zhihu paste-compatibility is solvable. Reference for [`src/lib/export/wechat.ts`](src/lib/export/wechat.ts). |-| [`mdnice/markdown-nice`](https://github.com/mdnice/markdown-nice) | `juice`-inlined-CSS pipeline → WeChat / Zhihu paste with zero re-formatting. Drives [`src/lib/export/wechat.ts`](src/lib/export/wechat.ts). |-| [`mdnice/markdown-resume`](https://github.com/mdnice/markdown-resume) | A4-formatted résumé inspiration → [`resume-modern`](src/lib/templates/skills/resume-modern/). |-| [`gcui-art/markdown-to-image`](https://github.com/gcui-art/markdown-to-image) | iframe → high-DPI PNG export, replicated with `modern-screenshot` in [`src/lib/export/image.ts`](src/lib/export/image.ts). |-| [**`op7418/guizang-ppt-skill`**](https://github.com/op7418/guizang-ppt-skill) | Magazine-ink editorial deck integrated verbatim as [`deck-guizang-editorial`](src/lib/templates/skills/deck-guizang-editorial/) and the Swiss variant [`deck-swiss-international`](src/lib/templates/skills/deck-swiss-international/). Original LICENSE + authorship preserved. |-| [**`tw93/kami`**](https://github.com/tw93/kami) | Warm-parchment monochrome editorial document system → [`doc-kami-parchment`](src/lib/templates/skills/doc-kami-parchment/). |-| [**`1weiho/open-slide`**](https://github.com/1weiho/open-slide) | 1920×1080 agent-native canvas convention → [`deck-open-slide-canvas`](src/lib/templates/skills/deck-open-slide-canvas/). |+| [**`alchaincyf/huashu-design`**](https://github.com/alchaincyf/huashu-design) | Anti-AI-slop discipline — Junior-Designer mode, 5-step brand-asset protocol, contrast-≥-4.5 / 8 px baseline-grid / must-use-real-data rules. Hard-coded into every [`SKILL.md`](next/src/lib/templates/skills/) frontmatter. |+| [`alchaincyf/huashu-md-html`](https://github.com/alchaincyf/huashu-md-html) | Proof that end-to-end WeChat / Zhihu paste-compatibility is solvable. Reference for [`next/src/lib/export/wechat.ts`](next/src/lib/export/wechat.ts). |+| [`mdnice/markdown-nice`](https://github.com/mdnice/markdown-nice) | `juice`-inlined-CSS pipeline → WeChat / Zhihu paste with zero re-formatting. Drives [`next/src/lib/export/wechat.ts`](next/src/lib/export/wechat.ts). |+| [`mdnice/markdown-resume`](https://github.com/mdnice/markdown-resume) | A4-formatted résumé inspiration → [`resume-modern`](next/src/lib/templates/skills/resume-modern/). |+| [`gcui-art/markdown-to-image`](https://github.com/gcui-art/markdown-to-image) | iframe → high-DPI PNG export, replicated with `modern-screenshot` in [`next/src/lib/export/image.ts`](next/src/lib/export/image.ts). |+| [**`op7418/guizang-ppt-skill`**](https://github.com/op7418/guizang-ppt-skill) | Magazine-ink editorial deck integrated verbatim as [`deck-guizang-editorial`](next/src/lib/templates/skills/deck-guizang-editorial/) and the Swiss variant [`deck-swiss-international`](next/src/lib/templates/skills/deck-swiss-international/). Original LICENSE + authorship preserved. |+| [**`tw93/kami`**](https://github.com/tw93/kami) | Warm-parchment monochrome editorial document system → [`doc-kami-parchment`](next/src/lib/templates/skills/doc-kami-parchment/). |+| [**`1weiho/open-slide`**](https://github.com/1weiho/open-slide) | 1920×1080 agent-native canvas convention → [`deck-open-slide-canvas`](next/src/lib/templates/skills/deck-open-slide-canvas/). || [`heygen-com/hyperframes`](https://github.com/heygen-com/hyperframes) | Frame-script schema for the entire `frame-*` / `vfx-*` / `mockup-*` / `social-*` family. Output hands straight off to Remotion to render `.mp4`. || [`remotion-dev/remotion`](https://github.com/remotion-dev/remotion) | Target renderer for Hyperframes frame scripts. || [`jimliu/baoyu-skills`](https://github.com/jimliu/baoyu-skills) | Practical skills collection — reference catalog for picker categorization. |-Each bundled upstream skill retains its original LICENSE and authorship inside its own `src/lib/templates/skills/<skill>/` folder.+Each bundled upstream skill retains its original LICENSE and authorship inside its own `next/src/lib/templates/skills/<skill>/` folder.## Stay in the loop@@ -482,4 +502,4 @@ If the curve bends up, that's the signal we look for. ★ this repo to push it.Apache-2.0 © 2026 HTML Anything contributors. See [`LICENSE`](LICENSE).-Bundled work retains its original license and authorship attribution — see the per-skill `LICENSE` / `README.md` inside each `src/lib/templates/skills/<skill>/` folder for what it inherits from upstream.+Bundled work retains its original license and authorship attribution — see the per-skill `LICENSE` / `README.md` inside each `next/src/lib/templates/skills/<skill>/` folder for what it inherits from upstream.diff --git a/README.zh-CN.md b/README.zh-CN.mdindex 409b7257..8c867342 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -38,42 +38,42 @@ picker 顶部 **推荐 / Featured** 分组里默认置顶的 8 个 skill ——<table><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/deck-guizang-editorial/"><img src="docs/screenshots/skills/deck-guizang-editorial.png" alt="deck-guizang-editorial" /></a><br/>-<sub><b><a href="src/lib/templates/skills/deck-guizang-editorial/"><code>deck-guizang-editorial</code></a></b> · <i>deck</i> · <code>recommended: 1</code><br/>编辑墨水 PPT,灵感来自 <a href="https://github.com/op7418/guizang-ppt-skill"><code>op7418/guizang-ppt-skill</code></a> —— 10 套锁死版面 × 5 套调色板(墨水 / 靛蓝瓷 / 森林墨 / 牛皮纸 / 沙丘),纸感印刷质感,开起来像一本电子杂志而不是 PPT。</sub>+<a href="next/src/lib/templates/skills/deck-guizang-editorial/"><img src="docs/screenshots/skills/deck-guizang-editorial.png" alt="deck-guizang-editorial" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/deck-guizang-editorial/"><code>deck-guizang-editorial</code></a></b> · <i>deck</i> · <code>recommended: 1</code><br/>编辑墨水 PPT,灵感来自 <a href="https://github.com/op7418/guizang-ppt-skill"><code>op7418/guizang-ppt-skill</code></a> —— 10 套锁死版面 × 5 套调色板(墨水 / 靛蓝瓷 / 森林墨 / 牛皮纸 / 沙丘),纸感印刷质感,开起来像一本电子杂志而不是 PPT。</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/deck-swiss-international/"><img src="docs/screenshots/skills/deck-swiss-international.png" alt="deck-swiss-international" /></a><br/>-<sub><b><a href="src/lib/templates/skills/deck-swiss-international/"><code>deck-swiss-international</code></a></b> · <i>deck</i> · <code>recommended: 2</code><br/>瑞士国际主义 PPT —— 16 列网格 + 单一饱和 accent(Klein Blue / Lemon / Mint / Safety Orange),22 套锁死版面。冷静、理性、学院派,开会时让人觉得 "这一定是 designer 做的"。</sub>+<a href="next/src/lib/templates/skills/deck-swiss-international/"><img src="docs/screenshots/skills/deck-swiss-international.png" alt="deck-swiss-international" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/deck-swiss-international/"><code>deck-swiss-international</code></a></b> · <i>deck</i> · <code>recommended: 2</code><br/>瑞士国际主义 PPT —— 16 列网格 + 单一饱和 accent(Klein Blue / Lemon / Mint / Safety Orange),22 套锁死版面。冷静、理性、学院派,开会时让人觉得 "这一定是 designer 做的"。</sub></td></tr><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/doc-kami-parchment/"><img src="docs/screenshots/skills/doc-kami-parchment.png" alt="doc-kami-parchment" /></a><br/>-<sub><b><a href="src/lib/templates/skills/doc-kami-parchment/"><code>doc-kami-parchment</code></a></b> · <i>doc</i> · <code>recommended: 3</code><br/>暖羊皮纸 + 墨蓝单色 editorial 文档系统,灵感来自 <a href="https://github.com/tw93/kami"><code>tw93/kami</code></a>。<code>#f5f4ed</code> 底色 + 单一衬线字体,长报告、读书笔记、one-pager、简历都能套,比纯白 markdown 高一个量级。</sub>+<a href="next/src/lib/templates/skills/doc-kami-parchment/"><img src="docs/screenshots/skills/doc-kami-parchment.png" alt="doc-kami-parchment" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/doc-kami-parchment/"><code>doc-kami-parchment</code></a></b> · <i>doc</i> · <code>recommended: 3</code><br/>暖羊皮纸 + 墨蓝单色 editorial 文档系统,灵感来自 <a href="https://github.com/tw93/kami"><code>tw93/kami</code></a>。<code>#f5f4ed</code> 底色 + 单一衬线字体,长报告、读书笔记、one-pager、简历都能套,比纯白 markdown 高一个量级。</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/magazine-poster/"><img src="docs/screenshots/skills/magazine-poster.png" alt="magazine-poster" /></a><br/>-<sub><b><a href="src/lib/templates/skills/magazine-poster/"><code>magazine-poster</code></a></b> · <i>poster</i> · <code>recommended: 4</code><br/>报纸风长图海报 —— 巨字 serif headline + 双栏正文 + 6 个编号小节 + cream 纸感底色,开起来像一份印好的 Sunday paper,不是网页。</sub>+<a href="next/src/lib/templates/skills/magazine-poster/"><img src="docs/screenshots/skills/magazine-poster.png" alt="magazine-poster" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/magazine-poster/"><code>magazine-poster</code></a></b> · <i>poster</i> · <code>recommended: 4</code><br/>报纸风长图海报 —— 巨字 serif headline + 双栏正文 + 6 个编号小节 + cream 纸感底色,开起来像一份印好的 Sunday paper,不是网页。</sub></td></tr><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/video-hyperframes/"><img src="docs/screenshots/skills/video-hyperframes.png" alt="video-hyperframes" /></a><br/>-<sub><b><a href="src/lib/templates/skills/video-hyperframes/"><code>video-hyperframes</code></a></b> · <i>frame / video</i> · <code>recommended: 5</code><br/>Hyperframes / Remotion 兼容的视频脚本 —— 6–10 个连续 <code>1920×1080</code> 帧,自带 duration / transition 注释和自动播放脚本。直接交给 <a href="https://github.com/heygen-com/hyperframes"><code>heygen-com/hyperframes</code></a> 或 Remotion 渲 <code>.mp4</code>。</sub>+<a href="next/src/lib/templates/skills/video-hyperframes/"><img src="docs/screenshots/skills/video-hyperframes.png" alt="video-hyperframes" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/video-hyperframes/"><code>video-hyperframes</code></a></b> · <i>frame / video</i> · <code>recommended: 5</code><br/>Hyperframes / Remotion 兼容的视频脚本 —— 6–10 个连续 <code>1920×1080</code> 帧,自带 duration / transition 注释和自动播放脚本。直接交给 <a href="https://github.com/heygen-com/hyperframes"><code>heygen-com/hyperframes</code></a> 或 Remotion 渲 <code>.mp4</code>。</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/frame-glitch-title/"><img src="docs/screenshots/skills/frame-glitch-title.png" alt="frame-glitch-title" /></a><br/>-<sub><b><a href="src/lib/templates/skills/frame-glitch-title/"><code>frame-glitch-title</code></a></b> · <i>frame</i> · <code>recommended: 6</code><br/>故障艺术标题帧 —— cyan / magenta 像散偏移 + CRT 扫描线 + 数据腐败副标 + 角落 ASCII 噪点。Cyberpunk hero 或视频转场用。</sub>+<a href="next/src/lib/templates/skills/frame-glitch-title/"><img src="docs/screenshots/skills/frame-glitch-title.png" alt="frame-glitch-title" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/frame-glitch-title/"><code>frame-glitch-title</code></a></b> · <i>frame</i> · <code>recommended: 6</code><br/>故障艺术标题帧 —— cyan / magenta 像散偏移 + CRT 扫描线 + 数据腐败副标 + 角落 ASCII 噪点。Cyberpunk hero 或视频转场用。</sub></td></tr><tr><td width="50%" valign="top">-<a href="src/lib/templates/skills/vfx-text-cursor/"><img src="docs/screenshots/skills/vfx-text-cursor.png" alt="vfx-text-cursor" /></a><br/>-<sub><b><a href="src/lib/templates/skills/vfx-text-cursor/"><code>vfx-text-cursor</code></a></b> · <i>vfx</i> · <code>recommended: 7</code><br/>VFX 文字光标开场 —— 光标在画布上"打字",每个字带 hot pink × cyan 像散拖尾 + 定向光斑。丢一句金句进去,就是电影级的视频片头。</sub>+<a href="next/src/lib/templates/skills/vfx-text-cursor/"><img src="docs/screenshots/skills/vfx-text-cursor.png" alt="vfx-text-cursor" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/vfx-text-cursor/"><code>vfx-text-cursor</code></a></b> · <i>vfx</i> · <code>recommended: 7</code><br/>VFX 文字光标开场 —— 光标在画布上"打字",每个字带 hot pink × cyan 像散拖尾 + 定向光斑。丢一句金句进去,就是电影级的视频片头。</sub></td><td width="50%" valign="top">-<a href="src/lib/templates/skills/frame-logo-outro/"><img src="docs/screenshots/skills/frame-logo-outro.png" alt="frame-logo-outro" /></a><br/>-<sub><b><a href="src/lib/templates/skills/frame-logo-outro/"><code>frame-logo-outro</code></a></b> · <i>frame</i> · <code>recommended: 8</code><br/>品牌 Logo 收尾帧 —— Logo 分块装配 + glow bloom + tagline 上浮 + CTA。产品发布或品牌片的片尾闭幕镜头。</sub>+<a href="next/src/lib/templates/skills/frame-logo-outro/"><img src="docs/screenshots/skills/frame-logo-outro.png" alt="frame-logo-outro" /></a><br/>+<sub><b><a href="next/src/lib/templates/skills/frame-logo-outro/"><code>frame-logo-outro</code></a></b> · <i>frame</i> · <code>recommended: 8</code><br/>品牌 Logo 收尾帧 —— Logo 分块装配 + glow bloom + tagline 上浮 + CTA。产品发布或品牌片的片尾闭幕镜头。</sub></td></tr></table>@@ -97,7 +97,7 @@ picker 顶部 **推荐 / Featured** 分组里默认置顶的 8 个 skill ——我们站在四个开源项目的肩膀上:-- [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) —— Agent 检测层 + 设计 system 思路 + Skills protocol;本仓库的 `src/lib/agents/` 和 `src/lib/templates/skills/*` 直接借鉴这套模型。+- [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) —— Agent 检测层 + 设计 system 思路 + Skills protocol;本仓库的 `next/src/lib/agents/` 和 `next/src/lib/templates/skills/*` 直接借鉴这套模型。- [**`mdnice/markdown-nice`**](https://github.com/mdnice/markdown-nice) —— `juice` 内联 CSS、公众号 / 知乎兼容粘贴的可行性证明。- [**`gcui-art/markdown-to-image`**](https://github.com/gcui-art/markdown-to-image) —— iframe → 高 DPI PNG 的截图导出路径。- [**`alchaincyf/huashu-md-html`**](https://github.com/alchaincyf/huashu-md-html) —— 反 AI-slop 的话术 / 设计哲学,对应我们模板里的硬约束(中文优先字体、8px 基线网格、对比 ≥ 4.5、必须用真实数据)。@@ -114,7 +114,7 @@ picker 顶部 **推荐 / Featured** 分组里默认置顶的 8 个 skill ——| **流式渲染** | `POST /api/convert` 走 SSE,agent stdout 的 JSON-line 流式抽出 text → 客户端 append → iframe `srcdoc` 实时刷新。等待时间 = 看 AI 现场写代码的体验。 || **沙箱预览** | `iframe[sandbox="allow-scripts allow-same-origin"]`,用户 HTML 隔离运行,宿主页面不受污染。 || **格式自动识别** | 编辑器一栏,粘 Markdown / CSV / TSV / JSON / SQL / 纯文本都识别,`papaparse` + `xlsx` 在浏览器端解析,不上传服务器。 |-| **部署** | 本地 `pnpm dev` / Vercel 一键部署 web 层(agent 永远跑在本地)。 |+| **部署** | 本地 `pnpm -F @html-anything/next dev` / Vercel 一键部署 web 层(agent 永远跑在本地)。 || **License** | Apache-2.0 |## Demo@@ -158,7 +158,7 @@ picker 顶部 **推荐 / Featured** 分组里默认置顶的 8 个 skill ——git clone https://github.com/nexu-io/html-anythingcd html-anythingpnpm install-pnpm dev+pnpm -F @html-anything/next dev# → http://localhost:3000```@@ -166,6 +166,26 @@ pnpm dev**无需 API Key**。我们直接复用你已经在用的 Claude / Cursor / Codex 订阅,**0 边际成本**。+## Workspace++这个仓库是一个很小的 pnpm workspace:++- `next/` 是完整 Next 应用(`@html-anything/next`)。+- `e2e/` 是浏览器测试包(`@html-anything/e2e`),也是 Playwright 用例的唯一真相源。+- 根目录只负责 CI、文档和 `scripts/guard.ts`;根 `package.json` 有意不代理 app 或 e2e 命令。++从仓库根目录运行 package 命令:++```bash+pnpm exec tsx scripts/guard.ts+pnpm -F @html-anything/next dev+pnpm -F @html-anything/next typecheck+pnpm -F @html-anything/next test+pnpm -F @html-anything/next build+pnpm -F @html-anything/e2e typecheck+pnpm -F @html-anything/e2e test+```+## 🧠 自动识别本地 agent进入主页时,我们扫描你的 `PATH`(包括 `~/.local/bin`、`~/.bun/bin`、`/opt/homebrew/bin`、`~/.npm-global/bin` 等通过 GUI 启动会被过滤掉的目录),检测以下 CLI:@@ -181,13 +201,13 @@ pnpm dev| **Qwen Coder** | `qwen` | `qwen --yolo -` || **Aider** | `aider` | `aider --no-pretty --no-stream --yes-always --message-file -` |-> 这一层的设计直接借鉴了 [`nexu-io/open-design`](https://github.com/nexu-io/open-design) 和 [`multica-ai/multica`](https://github.com/multica-ai/multica) 的 agent 检测策略:唯一被 spawn 子进程的进程是 server route,业务进程不直接 spawn;CLI 的 stdin / stdout 用 JSON-line 协议复用,每个 CLI 一个轻 adapter,统一在 [`src/lib/agents/argv.ts`](src/lib/agents/argv.ts)。+> 这一层的设计直接借鉴了 [`nexu-io/open-design`](https://github.com/nexu-io/open-design) 和 [`multica-ai/multica`](https://github.com/multica-ai/multica) 的 agent 检测策略:唯一被 spawn 子进程的进程是 server route,业务进程不直接 spawn;CLI 的 stdin / stdout 用 JSON-line 协议复用,每个 CLI 一个轻 adapter,统一在 [`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts)。只要你已经在终端里登录过对应的 CLI(例如 `claude login`、`cursor login`),HTML Anything 直接复用同一个 session,**不要求你再贴一遍 API Key**。## 🎨 Skills-**75 套 skill 在 [`src/lib/templates/skills/`](src/lib/templates/skills/) 下开箱即用。** 每个 skill 是一个文件夹,遵循 Claude Code [`SKILL.md`](https://docs.anthropic.com/en/docs/claude-code/skills) 约定 + 扩展 frontmatter(`mode` · `scenario` · `surface` · `preview` · `design_system`)。+**75 套 skill 在 [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/) 下开箱即用。** 每个 skill 是一个文件夹,遵循 Claude Code [`SKILL.md`](https://docs.anthropic.com/en/docs/claude-code/skills) 约定 + 扩展 frontmatter(`mode` · `scenario` · `surface` · `preview` · `design_system`)。picker 用两个维度组织:@@ -200,11 +220,11 @@ picker 用两个维度组织:### 1 · 我们不发 agent,你装的就够好-主界面进来时,浏览器调 `/api/agents`,server 端扫一遍 `PATH`(含 GUI 启动会丢的 `~/.local/bin` · `~/.bun/bin` · `/opt/homebrew/bin` · `~/.npm-global/bin`),识别到哪些 CLI 在场,就把哪些放进顶栏。每个 CLI 对应一个 adapter(参数 + stdin 协议 + 输出解析器),在 [`src/lib/agents/argv.ts`](src/lib/agents/argv.ts) 里集中维护。整套思路直接借鉴 [`nexu-io/open-design`](https://github.com/nexu-io/open-design) 和 [`multica-ai/multica`](https://github.com/multica-ai/multica) 的 agent-detection 模型。+主界面进来时,浏览器调 `/api/agents`,server 端扫一遍 `PATH`(含 GUI 启动会丢的 `~/.local/bin` · `~/.bun/bin` · `/opt/homebrew/bin` · `~/.npm-global/bin`),识别到哪些 CLI 在场,就把哪些放进顶栏。每个 CLI 对应一个 adapter(参数 + stdin 协议 + 输出解析器),在 [`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts) 里集中维护。整套思路直接借鉴 [`nexu-io/open-design`](https://github.com/nexu-io/open-design) 和 [`multica-ai/multica`](https://github.com/multica-ai/multica) 的 agent-detection 模型。### 2 · Skills 是文件夹,不是插件-遵循 Claude Code [`SKILL.md`](https://docs.anthropic.com/en/docs/claude-code/skills) 约定 —— `SKILL.md` + `assets/` + `references/` + `example.html`。drop 一个文件夹到 [`src/lib/templates/skills/`](src/lib/templates/skills/),重启 dev server,picker 里就出现。`deck-guizang-editorial` 直接 vendor 自 [`op7418/guizang-ppt-skill`](https://github.com/op7418/guizang-ppt-skill)(保留原始 LICENSE 与署名)。+遵循 Claude Code [`SKILL.md`](https://docs.anthropic.com/en/docs/claude-code/skills) 约定 —— `SKILL.md` + `assets/` + `references/` + `example.html`。drop 一个文件夹到 [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/),重启 dev server,picker 里就出现。`deck-guizang-editorial` 直接 vendor 自 [`op7418/guizang-ppt-skill`](https://github.com/op7418/guizang-ppt-skill)(保留原始 LICENSE 与署名)。### 3 · 强制约束让 AI 不再 freestyle@@ -270,11 +290,11 @@ picker 用两个维度组织:|---|---|| Frontend | Next.js 16 App Router + Turbopack · React 19 · Tailwind v4 · zustand 全局状态 || Server routes | `GET /api/agents`(检测) · `POST /api/convert`(SSE 流式 spawn) |-| Agent transport | `child_process.spawn` · 每个 CLI 一个 stdin/stdout adapter([`src/lib/agents/argv.ts`](src/lib/agents/argv.ts)) |+| Agent transport | `child_process.spawn` · 每个 CLI 一个 stdin/stdout adapter([`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts)) || 浏览器端处理 | `juice`(CSS 内联) · `modern-screenshot`(PNG 截图) · `xlsx` / `papaparse`(CSV/Excel 解析) · `marked` + `highlight.js`(markdown 兼容输入) · `dompurify`(XSS 防御) || 预览沙箱 | `iframe[sandbox="allow-scripts allow-same-origin"]` + `srcdoc` || 导出 | `.html` 单文件 · `.png` 高 DPI · ClipboardItem 富文本 / image/png · 微信兼容 inline CSS |-| 部署 | 本地 `pnpm dev` · Vercel 一键 web 层(agent 永远跑本地) |+| 部署 | 本地 `pnpm -F @html-anything/next dev` · Vercel 一键 web 层(agent 永远跑本地) |## 一键发布到平台@@ -318,9 +338,9 @@ picker 用两个维度组织:欢迎 issue、PR、新 skill、新 agent 适配、新平台导出、翻译。**最高杠杆的贡献往往就是一个文件夹、一份 Markdown、或者一段 PR-sized adapter** —— 面积小、影响大。按你想加的东西对号入座:-- **新 skill** —— 在 [`src/lib/templates/skills/`](src/lib/templates/skills/) 加一个文件夹,带 `SKILL.md` + `example.html`(可选 `assets/` 和 `references/`)。`pnpm dev` 重启后 picker 自动发现。`SKILL.md` frontmatter 必须设 `mode` · `scenario` · `surface` · `preview` · `design_system` —— 抄一个邻居改就行。-- **新 coding-agent CLI 适配** —— 在 [`src/lib/agents/argv.ts`](src/lib/agents/argv.ts) 加一行,覆盖:识别用的 binary 名字、argv 拼装、stdin/stdout 协议、流式 parser。检测路径走 [`src/app/api/agents/`](src/app/api/agents/),spawn 走 [`src/app/api/convert/`](src/app/api/convert/)。-- **新平台导出** —— 在 [`src/lib/export/`](src/lib/export/) 加一个模块(放在 `wechat.ts` / `image.ts` / `clipboard.ts` 隔壁),并在导出菜单里加按钮。微信视频号 · 抖音字幕 · Notion · Linear · Telegraph · RSS 都是空位。+- **新 skill** —— 在 [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/) 加一个文件夹,带 `SKILL.md` + `example.html`(可选 `assets/` 和 `references/`)。`pnpm -F @html-anything/next dev` 重启后 picker 自动发现。`SKILL.md` frontmatter 必须设 `mode` · `scenario` · `surface` · `preview` · `design_system` —— 抄一个邻居改就行。+- **新 coding-agent CLI 适配** —— 在 [`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts) 加一行,覆盖:识别用的 binary 名字、argv 拼装、stdin/stdout 协议、流式 parser。检测路径走 [`next/src/app/api/agents/`](next/src/app/api/agents/),spawn 走 [`next/src/app/api/convert/`](next/src/app/api/convert/)。+- **新平台导出** —— 在 [`next/src/lib/export/`](next/src/lib/export/) 加一个模块(放在 `wechat.ts` / `image.ts` / `clipboard.ts` 隔壁),并在导出菜单里加按钮。微信视频号 · 抖音字幕 · Notion · Linear · Telegraph · RSS 都是空位。- **打磨某个 `SKILL.md`** —— 加强硬约束(CJK 字体栈、8 px 基线、对比度 ≥ 4.5、必须用真实数据),加一段五维自检,换一套更合适的调色板。反 AI-slop 这类 PR 是我们最看重的形态。- **翻译与文档** —— [`README.md`](README.md) 和 [`CONTRIBUTING.md`](CONTRIBUTING.md) 都和中文版并行维护,改一边请同步另一边。@@ -332,21 +352,21 @@ picker 用两个维度组织:| 项目 | 在这里的角色 ||---|---|-| [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) | Agent 识别层、`DESIGN.md` 设计 system schema、`SKILL.md` 协议都来自这里。[`src/lib/agents/argv.ts`](src/lib/agents/argv.ts) 和 [`src/lib/templates/skills/`](src/lib/templates/skills/) 直接镜像了它的架构。 |+| [**`nexu-io/open-design`**](https://github.com/nexu-io/open-design) | Agent 识别层、`DESIGN.md` 设计 system schema、`SKILL.md` 协议都来自这里。[`next/src/lib/agents/argv.ts`](next/src/lib/agents/argv.ts) 和 [`next/src/lib/templates/skills/`](next/src/lib/templates/skills/) 直接镜像了它的架构。 || [**`multica-ai/multica`**](https://github.com/multica-ai/multica) | Daemon-and-runtime 架构:一个特权进程 spawn 各家 CLI、JSON-line 做线协议、每个 CLI 一个薄 adapter。 |-| [**`alchaincyf/huashu-design`**](https://github.com/alchaincyf/huashu-design) | 反 AI-slop 设计哲学 —— Junior-Designer 工作流、五步品牌资产协议、对比度 ≥ 4.5 / 8 px 基线 / 必须用真实数据。这些硬约束直接写进了每一个 [`SKILL.md`](src/lib/templates/skills/) frontmatter。 |-| [`alchaincyf/huashu-md-html`](https://github.com/alchaincyf/huashu-md-html) | 公众号 / 知乎复制端到端兼容性的可行性证明。[`src/lib/export/wechat.ts`](src/lib/export/wechat.ts) 的参考实现。 |-| [`mdnice/markdown-nice`](https://github.com/mdnice/markdown-nice) | `juice` 内联 CSS 链路 → 公众号 / 知乎粘贴零调整。驱动 [`src/lib/export/wechat.ts`](src/lib/export/wechat.ts)。 |-| [`mdnice/markdown-resume`](https://github.com/mdnice/markdown-resume) | A4 简历版式的灵感来源 → [`resume-modern`](src/lib/templates/skills/resume-modern/)。 |-| [`gcui-art/markdown-to-image`](https://github.com/gcui-art/markdown-to-image) | iframe → 高 DPI PNG 截图路径,用 `modern-screenshot` 复刻在 [`src/lib/export/image.ts`](src/lib/export/image.ts)。 |-| [**`op7418/guizang-ppt-skill`**](https://github.com/op7418/guizang-ppt-skill) | 编辑墨水 PPT 原封不动接入 [`deck-guizang-editorial`](src/lib/templates/skills/deck-guizang-editorial/) 和瑞士国际主义变体 [`deck-swiss-international`](src/lib/templates/skills/deck-swiss-international/)。原 LICENSE + 作者署名保留。 |-| [**`tw93/kami`**](https://github.com/tw93/kami) | 暖羊皮纸 + 墨蓝单色 editorial 文档系统 → [`doc-kami-parchment`](src/lib/templates/skills/doc-kami-parchment/)。 |-| [**`1weiho/open-slide`**](https://github.com/1weiho/open-slide) | 1920×1080 agent-native canvas 规范 → [`deck-open-slide-canvas`](src/lib/templates/skills/deck-open-slide-canvas/)。 |+| [**`alchaincyf/huashu-design`**](https://github.com/alchaincyf/huashu-design) | 反 AI-slop 设计哲学 —— Junior-Designer 工作流、五步品牌资产协议、对比度 ≥ 4.5 / 8 px 基线 / 必须用真实数据。这些硬约束直接写进了每一个 [`SKILL.md`](next/src/lib/templates/skills/) frontmatter。 |+| [`alchaincyf/huashu-md-html`](https://github.com/alchaincyf/huashu-md-html) | 公众号 / 知乎复制端到端兼容性的可行性证明。[`next/src/lib/export/wechat.ts`](next/src/lib/export/wechat.ts) 的参考实现。 |+| [`mdnice/markdown-nice`](https://github.com/mdnice/markdown-nice) | `juice` 内联 CSS 链路 → 公众号 / 知乎粘贴零调整。驱动 [`next/src/lib/export/wechat.ts`](next/src/lib/export/wechat.ts)。 |+| [`mdnice/markdown-resume`](https://github.com/mdnice/markdown-resume) | A4 简历版式的灵感来源 → [`resume-modern`](next/src/lib/templates/skills/resume-modern/)。 |+| [`gcui-art/markdown-to-image`](https://github.com/gcui-art/markdown-to-image) | iframe → 高 DPI PNG 截图路径,用 `modern-screenshot` 复刻在 [`next/src/lib/export/image.ts`](next/src/lib/export/image.ts)。 |+| [**`op7418/guizang-ppt-skill`**](https://github.com/op7418/guizang-ppt-skill) | 编辑墨水 PPT 原封不动接入 [`deck-guizang-editorial`](next/src/lib/templates/skills/deck-guizang-editorial/) 和瑞士国际主义变体 [`deck-swiss-international`](next/src/lib/templates/skills/deck-swiss-international/)。原 LICENSE + 作者署名保留。 |+| [**`tw93/kami`**](https://github.com/tw93/kami) | 暖羊皮纸 + 墨蓝单色 editorial 文档系统 → [`doc-kami-parchment`](next/src/lib/templates/skills/doc-kami-parchment/)。 |+| [**`1weiho/open-slide`**](https://github.com/1weiho/open-slide) | 1920×1080 agent-native canvas 规范 → [`deck-open-slide-canvas`](next/src/lib/templates/skills/deck-open-slide-canvas/)。 || [`heygen-com/hyperframes`](https://github.com/heygen-com/hyperframes) | 整个 `frame-*` / `vfx-*` / `mockup-*` / `social-*` 家族遵循的帧脚本 schema。输出可以直接交给 Remotion 渲 `.mp4`。 || [`remotion-dev/remotion`](https://github.com/remotion-dev/remotion) | Hyperframes 帧脚本的目标渲染器。 || [`jimliu/baoyu-skills`](https://github.com/jimliu/baoyu-skills) | 实用 skills 集合 —— picker 分类参考目录。 |-每一个 vendor 进来的 upstream skill 都在 `src/lib/templates/skills/<skill>/` 里保留了原始 LICENSE 和作者署名。+每一个 vendor 进来的 upstream skill 都在 `next/src/lib/templates/skills/<skill>/` 里保留了原始 LICENSE 和作者署名。## 📣 关注我们@@ -378,4 +398,4 @@ X 上关注 [**@nexudotio**](https://x.com/nexudotio),看版本发布、新 skilApache-2.0 © 2026 HTML Anything 贡献者。详见 [`LICENSE`](LICENSE)。-vendor 进来的第三方作品保留原始 LICENSE 与署名 —— 每个 `src/lib/templates/skills/<skill>/` 文件夹里若存在 `LICENSE` / `README.md`,以它为准。+vendor 进来的第三方作品保留原始 LICENSE 与署名 —— 每个 `next/src/lib/templates/skills/<skill>/` 文件夹里若存在 `LICENSE` / `README.md`,以它为准。diff --git a/e2e/AGENTS.md b/e2e/AGENTS.mdnew file mode 100644index 00000000..9a7f6be5--- /dev/null+++ b/e2e/AGENTS.md@@ -0,0 +1,25 @@+# e2e/AGENTS.md++Follow root repository instructions first when present. This package owns user-level end-to-end smoke tests and Playwright UI automation only.++## Directory layout++- `ui/`: flat Playwright UI automation test files only. Keep helpers, resources, and non-Playwright harnesses out of this directory.+- `scripts/`: Playwright auxiliary subcommands such as artifact cleanup; it must not wrap `playwright test`.++## Naming and tools++- UI files must be flat `*.test.ts` Playwright tests.+- Do not add app unit tests, component tests, JSX/TSX, jsdom, Testing Library, or Next-private harnesses under `e2e/`.+- Do not add Playwright cases under `next/`; `e2e/` is the only source of truth for browser-level cases.++## Commands++Run commands from the repository root:++```bash+pnpm -F @html-anything/e2e typecheck+pnpm -F @html-anything/e2e exec tsx scripts/playwright.ts clean+pnpm -F @html-anything/e2e exec playwright test -c playwright.config.ts --list+pnpm -F @html-anything/e2e test+```diff --git a/e2e/package.json b/e2e/package.jsonnew file mode 100644index 00000000..1807ce6a--- /dev/null+++ b/e2e/package.json@@ -0,0 +1,19 @@+{+ "name": "@html-anything/e2e",+ "version": "0.1.0",+ "private": true,+ "license": "Apache-2.0",+ "type": "module",+ "scripts": {+ "test": "playwright test -c playwright.config.ts",+ "typecheck": "tsc -p tsconfig.json --noEmit",+ "playwright:clean": "tsx scripts/playwright.ts clean"+ },+ "devDependencies": {+ "@playwright/test": "^1.60.0",+ "@types/node": "^20",+ "jszip": "^3.10.1",+ "tsx": "^4.22.1",+ "typescript": "^5"+ }+}diff --git a/e2e/playwright.config.ts b/e2e/playwright.config.tsnew file mode 100644index 00000000..0231e1a8--- /dev/null+++ b/e2e/playwright.config.ts@@ -0,0 +1,43 @@+import { defineConfig, devices } from "@playwright/test";++const webPort = Number(process.env.HTML_ANYTHING_E2E_PORT) || 3317;+const baseURL = `http://127.0.0.1:${webPort}`;++export default defineConfig({+ testDir: "./ui",+ outputDir: "./ui/reports/test-results",+ fullyParallel: true,+ timeout: 30_000,+ expect: {+ timeout: 7_500,+ },+ reporter: process.env.CI+ ? [+ ["github"],+ ["list"],+ ["html", { open: "never", outputFolder: "./ui/reports/playwright-html-report" }],+ ["json", { outputFile: "./ui/reports/results.json" }],+ ["junit", { outputFile: "./ui/reports/junit.xml" }],+ ]+ : [+ ["list"],+ ["html", { open: "never", outputFolder: "./ui/reports/playwright-html-report" }],+ ],+ use: {+ baseURL,+ trace: "on-first-retry",+ screenshot: "only-on-failure",+ },+ webServer: {+ command: `pnpm -F @html-anything/next build && pnpm -F @html-anything/next exec next start -p ${webPort}`,+ url: baseURL,+ reuseExistingServer: !process.env.CI,+ timeout: 180_000,+ },+ projects: [+ {+ name: "chromium",+ use: { ...devices["Desktop Chrome"] },+ },+ ],+});diff --git a/e2e/scripts/playwright.ts b/e2e/scripts/playwright.tsnew file mode 100644index 00000000..cd9b8fbb--- /dev/null+++ b/e2e/scripts/playwright.ts@@ -0,0 +1,51 @@+import { mkdir, rm } from "node:fs/promises";+import path from "node:path";+import { fileURLToPath } from "node:url";++const scriptDir = path.dirname(fileURLToPath(import.meta.url));+const e2eDir = path.resolve(scriptDir, "..");+const uiDir = path.join(e2eDir, "ui");++type Command = () => Promise<void>;++const commands: Record<string, Command> = {+ clean: cleanArtifacts,+ help: async () => printUsage(),+};++const commandName = process.argv[2] ?? "help";+const command = commands[commandName];++if (command == null) {+ console.error(`Unknown e2e Playwright helper command: ${commandName}`);+ printUsage();+ process.exitCode = 1;+} else {+ await command();+}++async function cleanArtifacts(): Promise<void> {+ const reportsDir = path.join(uiDir, "reports");+ const targets = [+ path.join(uiDir, "test-results"),+ path.join(reportsDir, "test-results"),+ path.join(reportsDir, "playwright-html-report"),+ path.join(reportsDir, "results.json"),+ path.join(reportsDir, "junit.xml"),+ path.join(uiDir, ".DS_Store"),+ ];++ await Promise.all(targets.map((target) => rm(target, { recursive: true, force: true })));+ await mkdir(path.join(reportsDir, "test-results"), { recursive: true });++ console.log("Cleaned e2e UI Playwright artifacts.");+}++function printUsage(): void {+ console.log(`Usage: tsx scripts/playwright.ts <command>++Commands:+ clean Remove e2e UI Playwright runtime data and reports+ help Show this help+`);+}diff --git a/e2e/tsconfig.json b/e2e/tsconfig.jsonnew file mode 100644index 00000000..7d9ed351--- /dev/null+++ b/e2e/tsconfig.json@@ -0,0 +1,21 @@+{+ "compilerOptions": {+ "target": "ES2022",+ "lib": ["ES2022", "DOM", "DOM.Iterable"],+ "module": "NodeNext",+ "moduleResolution": "NodeNext",+ "strict": true,+ "noUncheckedIndexedAccess": true,+ "exactOptionalPropertyTypes": true,+ "allowImportingTsExtensions": true,+ "noEmit": true,+ "isolatedModules": true,+ "esModuleInterop": true,+ "forceConsistentCasingInFileNames": true,+ "resolveJsonModule": true,+ "skipLibCheck": true,+ "types": ["node"]+ },+ "include": ["playwright.config.ts", "scripts/**/*.ts", "ui/**/*.ts"],+ "exclude": ["node_modules", "ui/reports", "ui/test-results"]+}diff --git a/tests/ui/export-menu.spec.ts b/e2e/ui/export-menu.test.tssimilarity index 100%rename from tests/ui/export-menu.spec.tsrename to e2e/ui/export-menu.test.tsdiff --git a/next.config.ts b/next/next.config.tssimilarity index 100%rename from next.config.tsrename to next/next.config.tsdiff --git a/next/package.json b/next/package.jsonnew file mode 100644index 00000000..47a8755a--- /dev/null+++ b/next/package.json@@ -0,0 +1,43 @@+{+ "name": "@html-anything/next",+ "version": "0.1.0",+ "private": true,+ "license": "Apache-2.0",+ "scripts": {+ "dev": "next",+ "build": "next build",+ "start": "next start",+ "typecheck": "tsc --noEmit",+ "test": "vitest run",+ "test:watch": "vitest"+ },+ "dependencies": {+ "clsx": "^2.1.1",+ "dompurify": "^3.4.2",+ "highlight.js": "^11.11.1",+ "jszip": "^3.10.1",+ "juice": "^11.1.1",+ "lucide-react": "^1.14.0",+ "marked": "^18.0.3",+ "modern-screenshot": "^4.7.0",+ "next": "16.2.6",+ "papaparse": "^5.5.3",+ "pptxgenjs": "^4.0.1",+ "react": "19.2.4",+ "react-dom": "19.2.4",+ "xlsx": "^0.18.5",+ "zustand": "^5.0.13"+ },+ "devDependencies": {+ "@tailwindcss/postcss": "^4",+ "@types/dompurify": "^3.2.0",+ "@types/node": "^20",+ "@types/papaparse": "^5.5.2",+ "@types/react": "^19",+ "@types/react-dom": "^19",+ "happy-dom": "^20.9.0",+ "tailwindcss": "^4",+ "typescript": "^5",+ "vitest": "^4.1.6"+ }+}diff --git a/postcss.config.mjs b/next/postcss.config.mjssimilarity index 100%rename from postcss.config.mjsrename to next/postcss.config.mjsdiff --git a/public/file.svg b/next/public/file.svgsimilarity index 100%rename from public/file.svgrename to next/public/file.svgdiff --git a/public/globe.svg b/next/public/globe.svgsimilarity index 100%rename from public/globe.svgrename to next/public/globe.svgdiff --git a/public/next.svg b/next/public/next.svgsimilarity index 100%rename from public/next.svgrename to next/public/next.svgdiff --git a/public/vercel.svg b/next/public/vercel.svgsimilarity index 100%rename from public/vercel.svgrename to next/public/vercel.svgdiff --git a/public/window.svg b/next/public/window.svgsimilarity index 100%rename from public/window.svgrename to next/public/window.svgdiff --git a/src/app/api/agents/route.ts b/next/src/app/api/agents/route.tssimilarity index 100%rename from src/app/api/agents/route.tsrename to next/src/app/api/agents/route.tsdiff --git a/src/app/api/convert/route.ts b/next/src/app/api/convert/route.tssimilarity index 100%rename from src/app/api/convert/route.tsrename to next/src/app/api/convert/route.tsdiff --git a/src/app/api/deploy/config/route.ts b/next/src/app/api/deploy/config/route.tssimilarity index 100%rename from src/app/api/deploy/config/route.tsrename to next/src/app/api/deploy/config/route.tsdiff --git a/src/app/api/deploy/route.ts b/next/src/app/api/deploy/route.tssimilarity index 100%rename from src/app/api/deploy/route.tsrename to next/src/app/api/deploy/route.tsdiff --git a/src/app/api/draft/route.ts b/next/src/app/api/draft/route.tssimilarity index 100%rename from src/app/api/draft/route.tsrename to next/src/app/api/draft/route.tsdiff --git a/src/app/api/templates/[id]/example/route.ts b/next/src/app/api/templates/[id]/example/route.tssimilarity index 100%rename from src/app/api/templates/[id]/example/route.tsrename to next/src/app/api/templates/[id]/example/route.tsdiff --git a/src/app/api/templates/[id]/preview/route.ts b/next/src/app/api/templates/[id]/preview/route.tssimilarity index 100%rename from src/app/api/templates/[id]/preview/route.tsrename to next/src/app/api/templates/[id]/preview/route.tsdiff --git a/src/app/api/templates/route.ts b/next/src/app/api/templates/route.tssimilarity index 100%rename from src/app/api/templates/route.tsrename to next/src/app/api/templates/route.tsdiff --git a/src/app/favicon.ico b/next/src/app/favicon.icosimilarity index 100%rename from src/app/favicon.icorename to next/src/app/favicon.icodiff --git a/src/app/globals.css b/next/src/app/globals.csssimilarity index 88%rename from src/app/globals.cssrename to next/src/app/globals.cssindex 242fa9bc..e8199840 100644--- a/src/app/globals.css+++ b/next/src/app/globals.css@@ -2,6 +2,15 @@/* ── open-design palette (editor + landing hybrid) ──────────────── */:root {+ --app-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;+ --app-font-display: "Inter Tight", var(--app-font-sans);+ --app-font-serif: "Playfair Display", ui-serif, Georgia, Cambria, "Times New Roman", serif;+ --app-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;+ --font-sans: var(--app-font-sans);+ --font-display: var(--app-font-display);+ --font-serif: var(--app-font-serif);+ --font-mono: var(--app-font-mono);+--paper: #faf9f7;--bone: #f7f1de;--surface: #ffffff;@@ -30,10 +39,10 @@}@theme inline {- --font-sans: var(--font-sans);- --font-display: var(--font-display);- --font-serif: var(--font-serif);- --font-mono: var(--font-mono);+ --font-sans: var(--app-font-sans);+ --font-display: var(--app-font-display);+ --font-serif: var(--app-font-serif);+ --font-mono: var(--app-font-mono);--color-paper: var(--paper);--color-bone: var(--bone);--color-ink: var(--ink);diff --git a/src/app/layout.tsx b/next/src/app/layout.tsxsimilarity index 54%rename from src/app/layout.tsxrename to next/src/app/layout.tsxindex 830814d9..c1fa5565 100644--- a/src/app/layout.tsx+++ b/next/src/app/layout.tsx@@ -1,32 +1,6 @@import type { Metadata } from "next";-import { Inter, Inter_Tight, Playfair_Display, JetBrains_Mono } from "next/font/google";import "./globals.css";-const inter = Inter({- variable: "--font-sans",- subsets: ["latin"],- weight: ["300", "400", "500", "600"],-});--const interTight = Inter_Tight({- variable: "--font-display",- subsets: ["latin"],- weight: ["400", "500", "600", "700", "800", "900"],-});--const playfair = Playfair_Display({- variable: "--font-serif",- subsets: ["latin"],- weight: ["400", "500", "600", "700"],- style: ["italic", "normal"],-});--const mono = JetBrains_Mono({- variable: "--font-mono",- subsets: ["latin"],- weight: ["400", "500"],-});-export const metadata: Metadata = {title: "HTML Anything — the agentic HTML editor",description:@@ -45,11 +19,7 @@ export default function RootLayout({children: React.ReactNode;}>) {return (- <html- lang="en"- className={`${inter.variable} ${interTight.variable} ${playfair.variable} ${mono.variable} h-full antialiased`}- suppressHydrationWarning- >+ <html lang="en" className="h-full antialiased" suppressHydrationWarning><bodyclassName="min-h-full bg-[var(--paper)] text-[var(--ink)] selection:bg-[var(--coral)]/30"suppressHydrationWarningdiff --git a/src/app/page.tsx b/next/src/app/page.tsxsimilarity index 100%rename from src/app/page.tsxrename to next/src/app/page.tsxdiff --git a/src/components/ai-prompt-bar.tsx b/next/src/components/ai-prompt-bar.tsxsimilarity index 100%rename from src/components/ai-prompt-bar.tsxrename to next/src/components/ai-prompt-bar.tsxdiff --git a/src/components/convert-chip.tsx b/next/src/components/convert-chip.tsxsimilarity index 100%rename from src/components/convert-chip.tsxrename to next/src/components/convert-chip.tsxdiff --git a/src/components/deck-viewer.tsx b/next/src/components/deck-viewer.tsxsimilarity index 100%rename from src/components/deck-viewer.tsxrename to next/src/components/deck-viewer.tsxdiff --git a/src/components/deploy-control.tsx b/next/src/components/deploy-control.tsxsimilarity index 100%rename from src/components/deploy-control.tsxrename to next/src/components/deploy-control.tsxdiff --git a/src/components/drafts-menu.tsx b/next/src/components/drafts-menu.tsxsimilarity index 100%rename from src/components/drafts-menu.tsxrename to next/src/components/drafts-menu.tsxdiff --git a/src/components/editor-pane.tsx b/next/src/components/editor-pane.tsxsimilarity index 100%rename from src/components/editor-pane.tsxrename to next/src/components/editor-pane.tsxdiff --git a/src/components/export-menu.tsx b/next/src/components/export-menu.tsxsimilarity index 100%rename from src/components/export-menu.tsxrename to next/src/components/export-menu.tsxdiff --git a/src/components/formats-gallery.tsx b/next/src/components/formats-gallery.tsxsimilarity index 100%rename from src/components/formats-gallery.tsxrename to next/src/components/formats-gallery.tsxdiff --git a/src/components/layout-mode-toggle.tsx b/next/src/components/layout-mode-toggle.tsxsimilarity index 100%rename from src/components/layout-mode-toggle.tsxrename to next/src/components/layout-mode-toggle.tsxdiff --git a/src/components/preview-pane.tsx b/next/src/components/preview-pane.tsxsimilarity index 100%rename from src/components/preview-pane.tsxrename to next/src/components/preview-pane.tsxdiff --git a/src/components/samples-gallery.tsx b/next/src/components/samples-gallery.tsxsimilarity index 100%rename from src/components/samples-gallery.tsxrename to next/src/components/samples-gallery.tsxdiff --git a/src/components/settings-modal.tsx b/next/src/components/settings-modal.tsxsimilarity index 100%rename from src/components/settings-modal.tsxrename to next/src/components/settings-modal.tsxdiff --git a/src/components/tasks-sidebar.tsx b/next/src/components/tasks-sidebar.tsxsimilarity index 100%rename from src/components/tasks-sidebar.tsxrename to next/src/components/tasks-sidebar.tsxdiff --git a/src/components/template-picker.tsx b/next/src/components/template-picker.tsxsimilarity index 100%rename from src/components/template-picker.tsxrename to next/src/components/template-picker.tsxdiff --git a/src/components/toolbar.tsx b/next/src/components/toolbar.tsxsimilarity index 100%rename from src/components/toolbar.tsxrename to next/src/components/toolbar.tsxdiff --git a/src/components/welcome-modal.tsx b/next/src/components/welcome-modal.tsxsimilarity index 100%rename from src/components/welcome-modal.tsxrename to next/src/components/welcome-modal.tsxdiff --git a/next/src/lib/__tests__/extract-html.test.ts b/next/src/lib/__tests__/extract-html.test.tsnew file mode 100644index 00000000..96892ae2--- /dev/null+++ b/next/src/lib/__tests__/extract-html.test.ts@@ -0,0 +1,27 @@+import { describe, expect, it } from "vitest";+import { extractHtml, previewHtml } from "../extract-html";++describe("extractHtml", () => {+ it("extracts fenced HTML", () => {+ expect(extractHtml("```html\n<html><body>ok</body></html>\n```")).toBe(+ "<html><body>ok</body></html>",+ );+ });++ it("extracts a full document from chatty output", () => {+ const source = "Here you go:\n<!DOCTYPE html><html><body>ok</body></html>\nDone.";+ expect(extractHtml(source)).toBe("<!DOCTYPE html><html><body>ok</body></html>");+ });++ it("wraps plain text in a previewable scaffold", () => {+ const html = extractHtml("hello <world>");+ expect(html).toContain("<!DOCTYPE html>");+ expect(html).toContain("hello <world>");+ });+});++describe("previewHtml", () => {+ it("closes partial streamed HTML for iframe rendering", () => {+ expect(previewHtml("<html><body><main>streaming")).toContain("</body>\n</html>");+ });+});diff --git a/src/lib/agents/argv.ts b/next/src/lib/agents/argv.tssimilarity index 100%rename from src/lib/agents/argv.tsrename to next/src/lib/agents/argv.tsdiff --git a/src/lib/agents/detect.ts b/next/src/lib/agents/detect.tssimilarity index 100%rename from src/lib/agents/detect.tsrename to next/src/lib/agents/detect.tsdiff --git a/src/lib/agents/invoke.ts b/next/src/lib/agents/invoke.tssimilarity index 100%rename from src/lib/agents/invoke.tsrename to next/src/lib/agents/invoke.tsdiff --git a/src/lib/deck.ts b/next/src/lib/deck.tssimilarity index 100%rename from src/lib/deck.tsrename to next/src/lib/deck.tsdiff --git a/src/lib/deploy/config.ts b/next/src/lib/deploy/config.tssimilarity index 100%rename from src/lib/deploy/config.tsrename to next/src/lib/deploy/config.tsdiff --git a/src/lib/deploy/url-check.ts b/next/src/lib/deploy/url-check.tssimilarity index 100%rename from src/lib/deploy/url-check.tsrename to next/src/lib/deploy/url-check.tsdiff --git a/src/lib/deploy/vercel.ts b/next/src/lib/deploy/vercel.tssimilarity index 100%rename from src/lib/deploy/vercel.tsrename to next/src/lib/deploy/vercel.tsdiff --git a/src/lib/drafts.ts b/next/src/lib/drafts.tssimilarity index 100%rename from src/lib/drafts.tsrename to next/src/lib/drafts.tsdiff --git a/src/lib/export/clipboard.ts b/next/src/lib/export/clipboard.tssimilarity index 100%rename from src/lib/export/clipboard.tsrename to next/src/lib/export/clipboard.tsdiff --git a/src/lib/export/deck.ts b/next/src/lib/export/deck.tssimilarity index 100%rename from src/lib/export/deck.tsrename to next/src/lib/export/deck.tsdiff --git a/src/lib/export/download.ts b/next/src/lib/export/download.tssimilarity index 100%rename from src/lib/export/download.tsrename to next/src/lib/export/download.tsdiff --git a/src/lib/export/image.ts b/next/src/lib/export/image.tssimilarity index 100%rename from src/lib/export/image.tsrename to next/src/lib/export/image.tsdiff --git a/src/lib/export/remotion.ts b/next/src/lib/export/remotion.tssimilarity index 100%rename from src/lib/export/remotion.tsrename to next/src/lib/export/remotion.tsdiff --git a/src/lib/export/wechat.ts b/next/src/lib/export/wechat.tssimilarity index 100%rename from src/lib/export/wechat.tsrename to next/src/lib/export/wechat.tsdiff --git a/src/lib/export/zhihu.ts b/next/src/lib/export/zhihu.tssimilarity index 100%rename from src/lib/export/zhihu.tsrename to next/src/lib/export/zhihu.tsdiff --git a/src/lib/extract-html.ts b/next/src/lib/extract-html.tssimilarity index 100%rename from src/lib/extract-html.tsrename to next/src/lib/extract-html.tsdiff --git a/src/lib/hyperframes.ts b/next/src/lib/hyperframes.tssimilarity index 100%rename from src/lib/hyperframes.tsrename to next/src/lib/hyperframes.tsdiff --git a/src/lib/i18n.ts b/next/src/lib/i18n.tssimilarity index 100%rename from src/lib/i18n.tsrename to next/src/lib/i18n.tsdiff --git a/src/lib/parsers/auto.ts b/next/src/lib/parsers/auto.tssimilarity index 100%rename from src/lib/parsers/auto.tsrename to next/src/lib/parsers/auto.tsdiff --git a/src/lib/parsers/file.ts b/next/src/lib/parsers/file.tssimilarity index 100%rename from src/lib/parsers/file.tsrename to next/src/lib/parsers/file.tsdiff --git a/src/lib/store.ts b/next/src/lib/store.tssimilarity index 100%rename from src/lib/store.tsrename to next/src/lib/store.tsdiff --git a/src/lib/templates/index.ts b/next/src/lib/templates/index.tssimilarity index 100%rename from src/lib/templates/index.tsrename to next/src/lib/templates/index.tsdiff --git a/src/lib/templates/loader.ts b/next/src/lib/templates/loader.tssimilarity index 100%rename from src/lib/templates/loader.tsrename to next/src/lib/templates/loader.tsdiff --git a/src/lib/templates/scenarios.ts b/next/src/lib/templates/scenarios.tssimilarity index 100%rename from src/lib/templates/scenarios.tsrename to next/src/lib/templates/scenarios.tsdiff --git a/src/lib/templates/shared.ts b/next/src/lib/templates/shared.tssimilarity index 100%rename from src/lib/templates/shared.tsrename to next/src/lib/templates/shared.tsdiff --git a/src/lib/templates/skills/article-magazine/SKILL.md b/next/src/lib/templates/skills/article-magazine/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/article-magazine/SKILL.mdrename to next/src/lib/templates/skills/article-magazine/SKILL.mddiff --git a/src/lib/templates/skills/article-magazine/example.html b/next/src/lib/templates/skills/article-magazine/example.htmlsimilarity index 100%rename from src/lib/templates/skills/article-magazine/example.htmlrename to next/src/lib/templates/skills/article-magazine/example.htmldiff --git a/src/lib/templates/skills/article-magazine/example.md b/next/src/lib/templates/skills/article-magazine/example.mdsimilarity index 100%rename from src/lib/templates/skills/article-magazine/example.mdrename to next/src/lib/templates/skills/article-magazine/example.mddiff --git a/src/lib/templates/skills/blog-post/SKILL.md b/next/src/lib/templates/skills/blog-post/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/blog-post/SKILL.mdrename to next/src/lib/templates/skills/blog-post/SKILL.mddiff --git a/src/lib/templates/skills/blog-post/example.html b/next/src/lib/templates/skills/blog-post/example.htmlsimilarity index 100%rename from src/lib/templates/skills/blog-post/example.htmlrename to next/src/lib/templates/skills/blog-post/example.htmldiff --git a/src/lib/templates/skills/card-twitter/SKILL.md b/next/src/lib/templates/skills/card-twitter/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/card-twitter/SKILL.mdrename to next/src/lib/templates/skills/card-twitter/SKILL.mddiff --git a/src/lib/templates/skills/card-twitter/example.html b/next/src/lib/templates/skills/card-twitter/example.htmlsimilarity index 100%rename from src/lib/templates/skills/card-twitter/example.htmlrename to next/src/lib/templates/skills/card-twitter/example.htmldiff --git a/src/lib/templates/skills/card-twitter/example.md b/next/src/lib/templates/skills/card-twitter/example.mdsimilarity index 100%rename from src/lib/templates/skills/card-twitter/example.mdrename to next/src/lib/templates/skills/card-twitter/example.mddiff --git a/src/lib/templates/skills/card-xiaohongshu/SKILL.md b/next/src/lib/templates/skills/card-xiaohongshu/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/card-xiaohongshu/SKILL.mdrename to next/src/lib/templates/skills/card-xiaohongshu/SKILL.mddiff --git a/src/lib/templates/skills/card-xiaohongshu/example.html b/next/src/lib/templates/skills/card-xiaohongshu/example.htmlsimilarity index 100%rename from src/lib/templates/skills/card-xiaohongshu/example.htmlrename to next/src/lib/templates/skills/card-xiaohongshu/example.htmldiff --git a/src/lib/templates/skills/card-xiaohongshu/example.md b/next/src/lib/templates/skills/card-xiaohongshu/example.mdsimilarity index 100%rename from src/lib/templates/skills/card-xiaohongshu/example.mdrename to next/src/lib/templates/skills/card-xiaohongshu/example.mddiff --git a/src/lib/templates/skills/dashboard/SKILL.md b/next/src/lib/templates/skills/dashboard/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/dashboard/SKILL.mdrename to next/src/lib/templates/skills/dashboard/SKILL.mddiff --git a/src/lib/templates/skills/dashboard/example.html b/next/src/lib/templates/skills/dashboard/example.htmlsimilarity index 100%rename from src/lib/templates/skills/dashboard/example.htmlrename to next/src/lib/templates/skills/dashboard/example.htmldiff --git a/src/lib/templates/skills/data-report/SKILL.md b/next/src/lib/templates/skills/data-report/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/data-report/SKILL.mdrename to next/src/lib/templates/skills/data-report/SKILL.mddiff --git a/src/lib/templates/skills/data-report/example.html b/next/src/lib/templates/skills/data-report/example.htmlsimilarity index 100%rename from src/lib/templates/skills/data-report/example.htmlrename to next/src/lib/templates/skills/data-report/example.htmldiff --git a/src/lib/templates/skills/data-report/example.md b/next/src/lib/templates/skills/data-report/example.mdsimilarity index 100%rename from src/lib/templates/skills/data-report/example.mdrename to next/src/lib/templates/skills/data-report/example.mddiff --git a/src/lib/templates/skills/dating-web/SKILL.md b/next/src/lib/templates/skills/dating-web/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/dating-web/SKILL.mdrename to next/src/lib/templates/skills/dating-web/SKILL.mddiff --git a/src/lib/templates/skills/dating-web/example.html b/next/src/lib/templates/skills/dating-web/example.htmlsimilarity index 100%rename from src/lib/templates/skills/dating-web/example.htmlrename to next/src/lib/templates/skills/dating-web/example.htmldiff --git a/src/lib/templates/skills/deck-blueprint/SKILL.md b/next/src/lib/templates/skills/deck-blueprint/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-blueprint/SKILL.mdrename to next/src/lib/templates/skills/deck-blueprint/SKILL.mddiff --git a/src/lib/templates/skills/deck-blueprint/example.html b/next/src/lib/templates/skills/deck-blueprint/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-blueprint/example.htmlrename to next/src/lib/templates/skills/deck-blueprint/example.htmldiff --git a/src/lib/templates/skills/deck-course-module/SKILL.md b/next/src/lib/templates/skills/deck-course-module/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-course-module/SKILL.mdrename to next/src/lib/templates/skills/deck-course-module/SKILL.mddiff --git a/src/lib/templates/skills/deck-course-module/example.html b/next/src/lib/templates/skills/deck-course-module/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-course-module/example.htmlrename to next/src/lib/templates/skills/deck-course-module/example.htmldiff --git a/src/lib/templates/skills/deck-dir-key-nav/SKILL.md b/next/src/lib/templates/skills/deck-dir-key-nav/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-dir-key-nav/SKILL.mdrename to next/src/lib/templates/skills/deck-dir-key-nav/SKILL.mddiff --git a/src/lib/templates/skills/deck-dir-key-nav/example.html b/next/src/lib/templates/skills/deck-dir-key-nav/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-dir-key-nav/example.htmlrename to next/src/lib/templates/skills/deck-dir-key-nav/example.htmldiff --git a/src/lib/templates/skills/deck-graphify-dark/SKILL.md b/next/src/lib/templates/skills/deck-graphify-dark/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-graphify-dark/SKILL.mdrename to next/src/lib/templates/skills/deck-graphify-dark/SKILL.mddiff --git a/src/lib/templates/skills/deck-graphify-dark/example.html b/next/src/lib/templates/skills/deck-graphify-dark/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-graphify-dark/example.htmlrename to next/src/lib/templates/skills/deck-graphify-dark/example.htmldiff --git a/src/lib/templates/skills/deck-guizang-editorial/SKILL.md b/next/src/lib/templates/skills/deck-guizang-editorial/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-guizang-editorial/SKILL.mdrename to next/src/lib/templates/skills/deck-guizang-editorial/SKILL.mddiff --git a/src/lib/templates/skills/deck-guizang-editorial/example.html b/next/src/lib/templates/skills/deck-guizang-editorial/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-guizang-editorial/example.htmlrename to next/src/lib/templates/skills/deck-guizang-editorial/example.htmldiff --git a/src/lib/templates/skills/deck-guizang-editorial/example.md b/next/src/lib/templates/skills/deck-guizang-editorial/example.mdsimilarity index 100%rename from src/lib/templates/skills/deck-guizang-editorial/example.mdrename to next/src/lib/templates/skills/deck-guizang-editorial/example.mddiff --git a/src/lib/templates/skills/deck-hermes-cyber/SKILL.md b/next/src/lib/templates/skills/deck-hermes-cyber/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-hermes-cyber/SKILL.mdrename to next/src/lib/templates/skills/deck-hermes-cyber/SKILL.mddiff --git a/src/lib/templates/skills/deck-hermes-cyber/example.html b/next/src/lib/templates/skills/deck-hermes-cyber/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-hermes-cyber/example.htmlrename to next/src/lib/templates/skills/deck-hermes-cyber/example.htmldiff --git a/src/lib/templates/skills/deck-magazine-web/SKILL.md b/next/src/lib/templates/skills/deck-magazine-web/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-magazine-web/SKILL.mdrename to next/src/lib/templates/skills/deck-magazine-web/SKILL.mddiff --git a/src/lib/templates/skills/deck-magazine-web/example.html b/next/src/lib/templates/skills/deck-magazine-web/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-magazine-web/example.htmlrename to next/src/lib/templates/skills/deck-magazine-web/example.htmldiff --git a/src/lib/templates/skills/deck-obsidian-claude/SKILL.md b/next/src/lib/templates/skills/deck-obsidian-claude/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-obsidian-claude/SKILL.mdrename to next/src/lib/templates/skills/deck-obsidian-claude/SKILL.mddiff --git a/src/lib/templates/skills/deck-obsidian-claude/example.html b/next/src/lib/templates/skills/deck-obsidian-claude/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-obsidian-claude/example.htmlrename to next/src/lib/templates/skills/deck-obsidian-claude/example.htmldiff --git a/src/lib/templates/skills/deck-open-slide-canvas/SKILL.md b/next/src/lib/templates/skills/deck-open-slide-canvas/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-open-slide-canvas/SKILL.mdrename to next/src/lib/templates/skills/deck-open-slide-canvas/SKILL.mddiff --git a/src/lib/templates/skills/deck-open-slide-canvas/example.html b/next/src/lib/templates/skills/deck-open-slide-canvas/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-open-slide-canvas/example.htmlrename to next/src/lib/templates/skills/deck-open-slide-canvas/example.htmldiff --git a/src/lib/templates/skills/deck-open-slide-canvas/example.md b/next/src/lib/templates/skills/deck-open-slide-canvas/example.mdsimilarity index 100%rename from src/lib/templates/skills/deck-open-slide-canvas/example.mdrename to next/src/lib/templates/skills/deck-open-slide-canvas/example.mddiff --git a/src/lib/templates/skills/deck-pitch/SKILL.md b/next/src/lib/templates/skills/deck-pitch/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-pitch/SKILL.mdrename to next/src/lib/templates/skills/deck-pitch/SKILL.mddiff --git a/src/lib/templates/skills/deck-pitch/example.html b/next/src/lib/templates/skills/deck-pitch/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-pitch/example.htmlrename to next/src/lib/templates/skills/deck-pitch/example.htmldiff --git a/src/lib/templates/skills/deck-presenter-mode/SKILL.md b/next/src/lib/templates/skills/deck-presenter-mode/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-presenter-mode/SKILL.mdrename to next/src/lib/templates/skills/deck-presenter-mode/SKILL.mddiff --git a/src/lib/templates/skills/deck-presenter-mode/example.html b/next/src/lib/templates/skills/deck-presenter-mode/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-presenter-mode/example.htmlrename to next/src/lib/templates/skills/deck-presenter-mode/example.htmldiff --git a/src/lib/templates/skills/deck-product-launch/SKILL.md b/next/src/lib/templates/skills/deck-product-launch/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-product-launch/SKILL.mdrename to next/src/lib/templates/skills/deck-product-launch/SKILL.mddiff --git a/src/lib/templates/skills/deck-product-launch/example.html b/next/src/lib/templates/skills/deck-product-launch/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-product-launch/example.htmlrename to next/src/lib/templates/skills/deck-product-launch/example.htmldiff --git a/src/lib/templates/skills/deck-replit/SKILL.md b/next/src/lib/templates/skills/deck-replit/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-replit/SKILL.mdrename to next/src/lib/templates/skills/deck-replit/SKILL.mddiff --git a/src/lib/templates/skills/deck-replit/example.html b/next/src/lib/templates/skills/deck-replit/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-replit/example.htmlrename to next/src/lib/templates/skills/deck-replit/example.htmldiff --git a/src/lib/templates/skills/deck-replit/example.md b/next/src/lib/templates/skills/deck-replit/example.mdsimilarity index 100%rename from src/lib/templates/skills/deck-replit/example.mdrename to next/src/lib/templates/skills/deck-replit/example.mddiff --git a/src/lib/templates/skills/deck-safety-alert/SKILL.md b/next/src/lib/templates/skills/deck-safety-alert/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-safety-alert/SKILL.mdrename to next/src/lib/templates/skills/deck-safety-alert/SKILL.mddiff --git a/src/lib/templates/skills/deck-safety-alert/example.html b/next/src/lib/templates/skills/deck-safety-alert/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-safety-alert/example.htmlrename to next/src/lib/templates/skills/deck-safety-alert/example.htmldiff --git a/src/lib/templates/skills/deck-simple/SKILL.md b/next/src/lib/templates/skills/deck-simple/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-simple/SKILL.mdrename to next/src/lib/templates/skills/deck-simple/SKILL.mddiff --git a/src/lib/templates/skills/deck-simple/example.html b/next/src/lib/templates/skills/deck-simple/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-simple/example.htmlrename to next/src/lib/templates/skills/deck-simple/example.htmldiff --git a/src/lib/templates/skills/deck-swiss-international/SKILL.md b/next/src/lib/templates/skills/deck-swiss-international/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-swiss-international/SKILL.mdrename to next/src/lib/templates/skills/deck-swiss-international/SKILL.mddiff --git a/src/lib/templates/skills/deck-swiss-international/example.html b/next/src/lib/templates/skills/deck-swiss-international/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-swiss-international/example.htmlrename to next/src/lib/templates/skills/deck-swiss-international/example.htmldiff --git a/src/lib/templates/skills/deck-swiss-international/example.md b/next/src/lib/templates/skills/deck-swiss-international/example.mdsimilarity index 100%rename from src/lib/templates/skills/deck-swiss-international/example.mdrename to next/src/lib/templates/skills/deck-swiss-international/example.mddiff --git a/src/lib/templates/skills/deck-tech-sharing/SKILL.md b/next/src/lib/templates/skills/deck-tech-sharing/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-tech-sharing/SKILL.mdrename to next/src/lib/templates/skills/deck-tech-sharing/SKILL.mddiff --git a/src/lib/templates/skills/deck-tech-sharing/example.html b/next/src/lib/templates/skills/deck-tech-sharing/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-tech-sharing/example.htmlrename to next/src/lib/templates/skills/deck-tech-sharing/example.htmldiff --git a/src/lib/templates/skills/deck-xhs-pastel/SKILL.md b/next/src/lib/templates/skills/deck-xhs-pastel/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-xhs-pastel/SKILL.mdrename to next/src/lib/templates/skills/deck-xhs-pastel/SKILL.mddiff --git a/src/lib/templates/skills/deck-xhs-pastel/example.html b/next/src/lib/templates/skills/deck-xhs-pastel/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-xhs-pastel/example.htmlrename to next/src/lib/templates/skills/deck-xhs-pastel/example.htmldiff --git a/src/lib/templates/skills/deck-xhs-post/SKILL.md b/next/src/lib/templates/skills/deck-xhs-post/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-xhs-post/SKILL.mdrename to next/src/lib/templates/skills/deck-xhs-post/SKILL.mddiff --git a/src/lib/templates/skills/deck-xhs-post/example.html b/next/src/lib/templates/skills/deck-xhs-post/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-xhs-post/example.htmlrename to next/src/lib/templates/skills/deck-xhs-post/example.htmldiff --git a/src/lib/templates/skills/deck-xhs-white/SKILL.md b/next/src/lib/templates/skills/deck-xhs-white/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/deck-xhs-white/SKILL.mdrename to next/src/lib/templates/skills/deck-xhs-white/SKILL.mddiff --git a/src/lib/templates/skills/deck-xhs-white/example.html b/next/src/lib/templates/skills/deck-xhs-white/example.htmlsimilarity index 100%rename from src/lib/templates/skills/deck-xhs-white/example.htmlrename to next/src/lib/templates/skills/deck-xhs-white/example.htmldiff --git a/src/lib/templates/skills/digital-eguide/SKILL.md b/next/src/lib/templates/skills/digital-eguide/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/digital-eguide/SKILL.mdrename to next/src/lib/templates/skills/digital-eguide/SKILL.mddiff --git a/src/lib/templates/skills/digital-eguide/example.html b/next/src/lib/templates/skills/digital-eguide/example.htmlsimilarity index 100%rename from src/lib/templates/skills/digital-eguide/example.htmlrename to next/src/lib/templates/skills/digital-eguide/example.htmldiff --git a/src/lib/templates/skills/doc-kami-parchment/SKILL.md b/next/src/lib/templates/skills/doc-kami-parchment/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/doc-kami-parchment/SKILL.mdrename to next/src/lib/templates/skills/doc-kami-parchment/SKILL.mddiff --git a/src/lib/templates/skills/doc-kami-parchment/example.html b/next/src/lib/templates/skills/doc-kami-parchment/example.htmlsimilarity index 100%rename from src/lib/templates/skills/doc-kami-parchment/example.htmlrename to next/src/lib/templates/skills/doc-kami-parchment/example.htmldiff --git a/src/lib/templates/skills/doc-kami-parchment/example.md b/next/src/lib/templates/skills/doc-kami-parchment/example.mdsimilarity index 100%rename from src/lib/templates/skills/doc-kami-parchment/example.mdrename to next/src/lib/templates/skills/doc-kami-parchment/example.mddiff --git a/src/lib/templates/skills/docs-page/SKILL.md b/next/src/lib/templates/skills/docs-page/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/docs-page/SKILL.mdrename to next/src/lib/templates/skills/docs-page/SKILL.mddiff --git a/src/lib/templates/skills/docs-page/example.html b/next/src/lib/templates/skills/docs-page/example.htmlsimilarity index 100%rename from src/lib/templates/skills/docs-page/example.htmlrename to next/src/lib/templates/skills/docs-page/example.htmldiff --git a/src/lib/templates/skills/email-marketing/SKILL.md b/next/src/lib/templates/skills/email-marketing/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/email-marketing/SKILL.mdrename to next/src/lib/templates/skills/email-marketing/SKILL.mddiff --git a/src/lib/templates/skills/email-marketing/example.html b/next/src/lib/templates/skills/email-marketing/example.htmlsimilarity index 100%rename from src/lib/templates/skills/email-marketing/example.htmlrename to next/src/lib/templates/skills/email-marketing/example.htmldiff --git a/src/lib/templates/skills/eng-runbook/SKILL.md b/next/src/lib/templates/skills/eng-runbook/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/eng-runbook/SKILL.mdrename to next/src/lib/templates/skills/eng-runbook/SKILL.mddiff --git a/src/lib/templates/skills/eng-runbook/example.html b/next/src/lib/templates/skills/eng-runbook/example.htmlsimilarity index 100%rename from src/lib/templates/skills/eng-runbook/example.htmlrename to next/src/lib/templates/skills/eng-runbook/example.htmldiff --git a/src/lib/templates/skills/finance-report/SKILL.md b/next/src/lib/templates/skills/finance-report/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/finance-report/SKILL.mdrename to next/src/lib/templates/skills/finance-report/SKILL.mddiff --git a/src/lib/templates/skills/finance-report/example.html b/next/src/lib/templates/skills/finance-report/example.htmlsimilarity index 100%rename from src/lib/templates/skills/finance-report/example.htmlrename to next/src/lib/templates/skills/finance-report/example.htmldiff --git a/src/lib/templates/skills/flowai-team-dashboard/SKILL.md b/next/src/lib/templates/skills/flowai-team-dashboard/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/flowai-team-dashboard/SKILL.mdrename to next/src/lib/templates/skills/flowai-team-dashboard/SKILL.mddiff --git a/src/lib/templates/skills/flowai-team-dashboard/example.html b/next/src/lib/templates/skills/flowai-team-dashboard/example.htmlsimilarity index 100%rename from src/lib/templates/skills/flowai-team-dashboard/example.htmlrename to next/src/lib/templates/skills/flowai-team-dashboard/example.htmldiff --git a/src/lib/templates/skills/frame-data-chart-nyt/SKILL.md b/next/src/lib/templates/skills/frame-data-chart-nyt/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/frame-data-chart-nyt/SKILL.mdrename to next/src/lib/templates/skills/frame-data-chart-nyt/SKILL.mddiff --git a/src/lib/templates/skills/frame-data-chart-nyt/example.html b/next/src/lib/templates/skills/frame-data-chart-nyt/example.htmlsimilarity index 100%rename from src/lib/templates/skills/frame-data-chart-nyt/example.htmlrename to next/src/lib/templates/skills/frame-data-chart-nyt/example.htmldiff --git a/src/lib/templates/skills/frame-data-chart-nyt/example.md b/next/src/lib/templates/skills/frame-data-chart-nyt/example.mdsimilarity index 100%rename from src/lib/templates/skills/frame-data-chart-nyt/example.mdrename to next/src/lib/templates/skills/frame-data-chart-nyt/example.mddiff --git a/src/lib/templates/skills/frame-flowchart-sticky/SKILL.md b/next/src/lib/templates/skills/frame-flowchart-sticky/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/frame-flowchart-sticky/SKILL.mdrename to next/src/lib/templates/skills/frame-flowchart-sticky/SKILL.mddiff --git a/src/lib/templates/skills/frame-flowchart-sticky/example.html b/next/src/lib/templates/skills/frame-flowchart-sticky/example.htmlsimilarity index 100%rename from src/lib/templates/skills/frame-flowchart-sticky/example.htmlrename to next/src/lib/templates/skills/frame-flowchart-sticky/example.htmldiff --git a/src/lib/templates/skills/frame-flowchart-sticky/example.md b/next/src/lib/templates/skills/frame-flowchart-sticky/example.mdsimilarity index 100%rename from src/lib/templates/skills/frame-flowchart-sticky/example.mdrename to next/src/lib/templates/skills/frame-flowchart-sticky/example.mddiff --git a/src/lib/templates/skills/frame-glitch-title/SKILL.md b/next/src/lib/templates/skills/frame-glitch-title/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/frame-glitch-title/SKILL.mdrename to next/src/lib/templates/skills/frame-glitch-title/SKILL.mddiff --git a/src/lib/templates/skills/frame-glitch-title/example.html b/next/src/lib/templates/skills/frame-glitch-title/example.htmlsimilarity index 100%rename from src/lib/templates/skills/frame-glitch-title/example.htmlrename to next/src/lib/templates/skills/frame-glitch-title/example.htmldiff --git a/src/lib/templates/skills/frame-glitch-title/example.md b/next/src/lib/templates/skills/frame-glitch-title/example.mdsimilarity index 100%rename from src/lib/templates/skills/frame-glitch-title/example.mdrename to next/src/lib/templates/skills/frame-glitch-title/example.mddiff --git a/src/lib/templates/skills/frame-light-leak-cinema/SKILL.md b/next/src/lib/templates/skills/frame-light-leak-cinema/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/frame-light-leak-cinema/SKILL.mdrename to next/src/lib/templates/skills/frame-light-leak-cinema/SKILL.mddiff --git a/src/lib/templates/skills/frame-light-leak-cinema/example.html b/next/src/lib/templates/skills/frame-light-leak-cinema/example.htmlsimilarity index 100%rename from src/lib/templates/skills/frame-light-leak-cinema/example.htmlrename to next/src/lib/templates/skills/frame-light-leak-cinema/example.htmldiff --git a/src/lib/templates/skills/frame-light-leak-cinema/example.md b/next/src/lib/templates/skills/frame-light-leak-cinema/example.mdsimilarity index 100%rename from src/lib/templates/skills/frame-light-leak-cinema/example.mdrename to next/src/lib/templates/skills/frame-light-leak-cinema/example.mddiff --git a/src/lib/templates/skills/frame-liquid-bg-hero/SKILL.md b/next/src/lib/templates/skills/frame-liquid-bg-hero/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/frame-liquid-bg-hero/SKILL.mdrename to next/src/lib/templates/skills/frame-liquid-bg-hero/SKILL.mddiff --git a/src/lib/templates/skills/frame-liquid-bg-hero/example.html b/next/src/lib/templates/skills/frame-liquid-bg-hero/example.htmlsimilarity index 100%rename from src/lib/templates/skills/frame-liquid-bg-hero/example.htmlrename to next/src/lib/templates/skills/frame-liquid-bg-hero/example.htmldiff --git a/src/lib/templates/skills/frame-liquid-bg-hero/example.md b/next/src/lib/templates/skills/frame-liquid-bg-hero/example.mdsimilarity index 100%rename from src/lib/templates/skills/frame-liquid-bg-hero/example.mdrename to next/src/lib/templates/skills/frame-liquid-bg-hero/example.mddiff --git a/src/lib/templates/skills/frame-logo-outro/SKILL.md b/next/src/lib/templates/skills/frame-logo-outro/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/frame-logo-outro/SKILL.mdrename to next/src/lib/templates/skills/frame-logo-outro/SKILL.mddiff --git a/src/lib/templates/skills/frame-logo-outro/example.html b/next/src/lib/templates/skills/frame-logo-outro/example.htmlsimilarity index 100%rename from src/lib/templates/skills/frame-logo-outro/example.htmlrename to next/src/lib/templates/skills/frame-logo-outro/example.htmldiff --git a/src/lib/templates/skills/frame-logo-outro/example.md b/next/src/lib/templates/skills/frame-logo-outro/example.mdsimilarity index 100%rename from src/lib/templates/skills/frame-logo-outro/example.mdrename to next/src/lib/templates/skills/frame-logo-outro/example.mddiff --git a/src/lib/templates/skills/frame-macos-notification/SKILL.md b/next/src/lib/templates/skills/frame-macos-notification/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/frame-macos-notification/SKILL.mdrename to next/src/lib/templates/skills/frame-macos-notification/SKILL.mddiff --git a/src/lib/templates/skills/frame-macos-notification/example.html b/next/src/lib/templates/skills/frame-macos-notification/example.htmlsimilarity index 100%rename from src/lib/templates/skills/frame-macos-notification/example.htmlrename to next/src/lib/templates/skills/frame-macos-notification/example.htmldiff --git a/src/lib/templates/skills/frame-macos-notification/example.md b/next/src/lib/templates/skills/frame-macos-notification/example.mdsimilarity index 100%rename from src/lib/templates/skills/frame-macos-notification/example.mdrename to next/src/lib/templates/skills/frame-macos-notification/example.mddiff --git a/src/lib/templates/skills/gamified-app/SKILL.md b/next/src/lib/templates/skills/gamified-app/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/gamified-app/SKILL.mdrename to next/src/lib/templates/skills/gamified-app/SKILL.mddiff --git a/src/lib/templates/skills/gamified-app/example.html b/next/src/lib/templates/skills/gamified-app/example.htmlsimilarity index 100%rename from src/lib/templates/skills/gamified-app/example.htmlrename to next/src/lib/templates/skills/gamified-app/example.htmldiff --git a/src/lib/templates/skills/hr-onboarding/SKILL.md b/next/src/lib/templates/skills/hr-onboarding/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/hr-onboarding/SKILL.mdrename to next/src/lib/templates/skills/hr-onboarding/SKILL.mddiff --git a/src/lib/templates/skills/hr-onboarding/example.html b/next/src/lib/templates/skills/hr-onboarding/example.htmlsimilarity index 100%rename from src/lib/templates/skills/hr-onboarding/example.htmlrename to next/src/lib/templates/skills/hr-onboarding/example.htmldiff --git a/src/lib/templates/skills/invoice/SKILL.md b/next/src/lib/templates/skills/invoice/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/invoice/SKILL.mdrename to next/src/lib/templates/skills/invoice/SKILL.mddiff --git a/src/lib/templates/skills/invoice/example.html b/next/src/lib/templates/skills/invoice/example.htmlsimilarity index 100%rename from src/lib/templates/skills/invoice/example.htmlrename to next/src/lib/templates/skills/invoice/example.htmldiff --git a/src/lib/templates/skills/kanban-board/SKILL.md b/next/src/lib/templates/skills/kanban-board/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/kanban-board/SKILL.mdrename to next/src/lib/templates/skills/kanban-board/SKILL.mddiff --git a/src/lib/templates/skills/kanban-board/example.html b/next/src/lib/templates/skills/kanban-board/example.htmlsimilarity index 100%rename from src/lib/templates/skills/kanban-board/example.htmlrename to next/src/lib/templates/skills/kanban-board/example.htmldiff --git a/src/lib/templates/skills/live-dashboard/SKILL.md b/next/src/lib/templates/skills/live-dashboard/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/live-dashboard/SKILL.mdrename to next/src/lib/templates/skills/live-dashboard/SKILL.mddiff --git a/src/lib/templates/skills/live-dashboard/example.html b/next/src/lib/templates/skills/live-dashboard/example.htmlsimilarity index 100%rename from src/lib/templates/skills/live-dashboard/example.htmlrename to next/src/lib/templates/skills/live-dashboard/example.htmldiff --git a/src/lib/templates/skills/magazine-poster/SKILL.md b/next/src/lib/templates/skills/magazine-poster/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/magazine-poster/SKILL.mdrename to next/src/lib/templates/skills/magazine-poster/SKILL.mddiff --git a/src/lib/templates/skills/magazine-poster/example.html b/next/src/lib/templates/skills/magazine-poster/example.htmlsimilarity index 100%rename from src/lib/templates/skills/magazine-poster/example.htmlrename to next/src/lib/templates/skills/magazine-poster/example.htmldiff --git a/src/lib/templates/skills/meeting-notes/SKILL.md b/next/src/lib/templates/skills/meeting-notes/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/meeting-notes/SKILL.mdrename to next/src/lib/templates/skills/meeting-notes/SKILL.mddiff --git a/src/lib/templates/skills/meeting-notes/example.html b/next/src/lib/templates/skills/meeting-notes/example.htmlsimilarity index 100%rename from src/lib/templates/skills/meeting-notes/example.htmlrename to next/src/lib/templates/skills/meeting-notes/example.htmldiff --git a/src/lib/templates/skills/mobile-app/SKILL.md b/next/src/lib/templates/skills/mobile-app/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/mobile-app/SKILL.mdrename to next/src/lib/templates/skills/mobile-app/SKILL.mddiff --git a/src/lib/templates/skills/mobile-app/example.html b/next/src/lib/templates/skills/mobile-app/example.htmlsimilarity index 100%rename from src/lib/templates/skills/mobile-app/example.htmlrename to next/src/lib/templates/skills/mobile-app/example.htmldiff --git a/src/lib/templates/skills/mobile-onboarding/SKILL.md b/next/src/lib/templates/skills/mobile-onboarding/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/mobile-onboarding/SKILL.mdrename to next/src/lib/templates/skills/mobile-onboarding/SKILL.mddiff --git a/src/lib/templates/skills/mobile-onboarding/example.html b/next/src/lib/templates/skills/mobile-onboarding/example.htmlsimilarity index 100%rename from src/lib/templates/skills/mobile-onboarding/example.htmlrename to next/src/lib/templates/skills/mobile-onboarding/example.htmldiff --git a/src/lib/templates/skills/mockup-device-3d/SKILL.md b/next/src/lib/templates/skills/mockup-device-3d/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/mockup-device-3d/SKILL.mdrename to next/src/lib/templates/skills/mockup-device-3d/SKILL.mddiff --git a/src/lib/templates/skills/mockup-device-3d/example.html b/next/src/lib/templates/skills/mockup-device-3d/example.htmlsimilarity index 100%rename from src/lib/templates/skills/mockup-device-3d/example.htmlrename to next/src/lib/templates/skills/mockup-device-3d/example.htmldiff --git a/src/lib/templates/skills/mockup-device-3d/example.md b/next/src/lib/templates/skills/mockup-device-3d/example.mdsimilarity index 100%rename from src/lib/templates/skills/mockup-device-3d/example.mdrename to next/src/lib/templates/skills/mockup-device-3d/example.mddiff --git a/src/lib/templates/skills/motion-frames/SKILL.md b/next/src/lib/templates/skills/motion-frames/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/motion-frames/SKILL.mdrename to next/src/lib/templates/skills/motion-frames/SKILL.mddiff --git a/src/lib/templates/skills/motion-frames/example.html b/next/src/lib/templates/skills/motion-frames/example.htmlsimilarity index 100%rename from src/lib/templates/skills/motion-frames/example.htmlrename to next/src/lib/templates/skills/motion-frames/example.htmldiff --git a/src/lib/templates/skills/pm-spec/SKILL.md b/next/src/lib/templates/skills/pm-spec/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/pm-spec/SKILL.mdrename to next/src/lib/templates/skills/pm-spec/SKILL.mddiff --git a/src/lib/templates/skills/pm-spec/example.html b/next/src/lib/templates/skills/pm-spec/example.htmlsimilarity index 100%rename from src/lib/templates/skills/pm-spec/example.htmlrename to next/src/lib/templates/skills/pm-spec/example.htmldiff --git a/src/lib/templates/skills/poster-hero/SKILL.md b/next/src/lib/templates/skills/poster-hero/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/poster-hero/SKILL.mdrename to next/src/lib/templates/skills/poster-hero/SKILL.mddiff --git a/src/lib/templates/skills/poster-hero/example.html b/next/src/lib/templates/skills/poster-hero/example.htmlsimilarity index 100%rename from src/lib/templates/skills/poster-hero/example.htmlrename to next/src/lib/templates/skills/poster-hero/example.htmldiff --git a/src/lib/templates/skills/poster-hero/example.md b/next/src/lib/templates/skills/poster-hero/example.mdsimilarity index 100%rename from src/lib/templates/skills/poster-hero/example.mdrename to next/src/lib/templates/skills/poster-hero/example.mddiff --git a/src/lib/templates/skills/ppt-keynote/SKILL.md b/next/src/lib/templates/skills/ppt-keynote/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/ppt-keynote/SKILL.mdrename to next/src/lib/templates/skills/ppt-keynote/SKILL.mddiff --git a/src/lib/templates/skills/ppt-keynote/example.html b/next/src/lib/templates/skills/ppt-keynote/example.htmlsimilarity index 100%rename from src/lib/templates/skills/ppt-keynote/example.htmlrename to next/src/lib/templates/skills/ppt-keynote/example.htmldiff --git a/src/lib/templates/skills/ppt-keynote/example.md b/next/src/lib/templates/skills/ppt-keynote/example.mdsimilarity index 100%rename from src/lib/templates/skills/ppt-keynote/example.mdrename to next/src/lib/templates/skills/ppt-keynote/example.mddiff --git a/src/lib/templates/skills/pricing-page/SKILL.md b/next/src/lib/templates/skills/pricing-page/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/pricing-page/SKILL.mdrename to next/src/lib/templates/skills/pricing-page/SKILL.mddiff --git a/src/lib/templates/skills/pricing-page/example.html b/next/src/lib/templates/skills/pricing-page/example.htmlsimilarity index 100%rename from src/lib/templates/skills/pricing-page/example.htmlrename to next/src/lib/templates/skills/pricing-page/example.htmldiff --git a/src/lib/templates/skills/prototype-web/SKILL.md b/next/src/lib/templates/skills/prototype-web/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/prototype-web/SKILL.mdrename to next/src/lib/templates/skills/prototype-web/SKILL.mddiff --git a/src/lib/templates/skills/prototype-web/example.html b/next/src/lib/templates/skills/prototype-web/example.htmlsimilarity index 100%rename from src/lib/templates/skills/prototype-web/example.htmlrename to next/src/lib/templates/skills/prototype-web/example.htmldiff --git a/src/lib/templates/skills/prototype-web/example.md b/next/src/lib/templates/skills/prototype-web/example.mdsimilarity index 100%rename from src/lib/templates/skills/prototype-web/example.mdrename to next/src/lib/templates/skills/prototype-web/example.mddiff --git a/src/lib/templates/skills/resume-modern/SKILL.md b/next/src/lib/templates/skills/resume-modern/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/resume-modern/SKILL.mdrename to next/src/lib/templates/skills/resume-modern/SKILL.mddiff --git a/src/lib/templates/skills/resume-modern/example.html b/next/src/lib/templates/skills/resume-modern/example.htmlsimilarity index 100%rename from src/lib/templates/skills/resume-modern/example.htmlrename to next/src/lib/templates/skills/resume-modern/example.htmldiff --git a/src/lib/templates/skills/resume-modern/example.md b/next/src/lib/templates/skills/resume-modern/example.mdsimilarity index 100%rename from src/lib/templates/skills/resume-modern/example.mdrename to next/src/lib/templates/skills/resume-modern/example.mddiff --git a/src/lib/templates/skills/saas-landing/SKILL.md b/next/src/lib/templates/skills/saas-landing/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/saas-landing/SKILL.mdrename to next/src/lib/templates/skills/saas-landing/SKILL.mddiff --git a/src/lib/templates/skills/saas-landing/example.html b/next/src/lib/templates/skills/saas-landing/example.htmlsimilarity index 100%rename from src/lib/templates/skills/saas-landing/example.htmlrename to next/src/lib/templates/skills/saas-landing/example.htmldiff --git a/src/lib/templates/skills/social-carousel/SKILL.md b/next/src/lib/templates/skills/social-carousel/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/social-carousel/SKILL.mdrename to next/src/lib/templates/skills/social-carousel/SKILL.mddiff --git a/src/lib/templates/skills/social-carousel/example.html b/next/src/lib/templates/skills/social-carousel/example.htmlsimilarity index 100%rename from src/lib/templates/skills/social-carousel/example.htmlrename to next/src/lib/templates/skills/social-carousel/example.htmldiff --git a/src/lib/templates/skills/social-media-dashboard/SKILL.md b/next/src/lib/templates/skills/social-media-dashboard/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/social-media-dashboard/SKILL.mdrename to next/src/lib/templates/skills/social-media-dashboard/SKILL.mddiff --git a/src/lib/templates/skills/social-media-dashboard/example.html b/next/src/lib/templates/skills/social-media-dashboard/example.htmlsimilarity index 100%rename from src/lib/templates/skills/social-media-dashboard/example.htmlrename to next/src/lib/templates/skills/social-media-dashboard/example.htmldiff --git a/src/lib/templates/skills/social-media-matrix/SKILL.md b/next/src/lib/templates/skills/social-media-matrix/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/social-media-matrix/SKILL.mdrename to next/src/lib/templates/skills/social-media-matrix/SKILL.mddiff --git a/src/lib/templates/skills/social-media-matrix/example.html b/next/src/lib/templates/skills/social-media-matrix/example.htmlsimilarity index 100%rename from src/lib/templates/skills/social-media-matrix/example.htmlrename to next/src/lib/templates/skills/social-media-matrix/example.htmldiff --git a/src/lib/templates/skills/social-reddit-card/SKILL.md b/next/src/lib/templates/skills/social-reddit-card/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/social-reddit-card/SKILL.mdrename to next/src/lib/templates/skills/social-reddit-card/SKILL.mddiff --git a/src/lib/templates/skills/social-reddit-card/example.html b/next/src/lib/templates/skills/social-reddit-card/example.htmlsimilarity index 100%rename from src/lib/templates/skills/social-reddit-card/example.htmlrename to next/src/lib/templates/skills/social-reddit-card/example.htmldiff --git a/src/lib/templates/skills/social-reddit-card/example.md b/next/src/lib/templates/skills/social-reddit-card/example.mdsimilarity index 100%rename from src/lib/templates/skills/social-reddit-card/example.mdrename to next/src/lib/templates/skills/social-reddit-card/example.mddiff --git a/src/lib/templates/skills/social-spotify-card/SKILL.md b/next/src/lib/templates/skills/social-spotify-card/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/social-spotify-card/SKILL.mdrename to next/src/lib/templates/skills/social-spotify-card/SKILL.mddiff --git a/src/lib/templates/skills/social-spotify-card/example.html b/next/src/lib/templates/skills/social-spotify-card/example.htmlsimilarity index 100%rename from src/lib/templates/skills/social-spotify-card/example.htmlrename to next/src/lib/templates/skills/social-spotify-card/example.htmldiff --git a/src/lib/templates/skills/social-spotify-card/example.md b/next/src/lib/templates/skills/social-spotify-card/example.mdsimilarity index 100%rename from src/lib/templates/skills/social-spotify-card/example.mdrename to next/src/lib/templates/skills/social-spotify-card/example.mddiff --git a/src/lib/templates/skills/social-x-post-card/SKILL.md b/next/src/lib/templates/skills/social-x-post-card/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/social-x-post-card/SKILL.mdrename to next/src/lib/templates/skills/social-x-post-card/SKILL.mddiff --git a/src/lib/templates/skills/social-x-post-card/example.html b/next/src/lib/templates/skills/social-x-post-card/example.htmlsimilarity index 100%rename from src/lib/templates/skills/social-x-post-card/example.htmlrename to next/src/lib/templates/skills/social-x-post-card/example.htmldiff --git a/src/lib/templates/skills/social-x-post-card/example.md b/next/src/lib/templates/skills/social-x-post-card/example.mdsimilarity index 100%rename from src/lib/templates/skills/social-x-post-card/example.mdrename to next/src/lib/templates/skills/social-x-post-card/example.mddiff --git a/src/lib/templates/skills/sprite-animation/SKILL.md b/next/src/lib/templates/skills/sprite-animation/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/sprite-animation/SKILL.mdrename to next/src/lib/templates/skills/sprite-animation/SKILL.mddiff --git a/src/lib/templates/skills/sprite-animation/example.html b/next/src/lib/templates/skills/sprite-animation/example.htmlsimilarity index 100%rename from src/lib/templates/skills/sprite-animation/example.htmlrename to next/src/lib/templates/skills/sprite-animation/example.htmldiff --git a/src/lib/templates/skills/team-okrs/SKILL.md b/next/src/lib/templates/skills/team-okrs/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/team-okrs/SKILL.mdrename to next/src/lib/templates/skills/team-okrs/SKILL.mddiff --git a/src/lib/templates/skills/team-okrs/example.html b/next/src/lib/templates/skills/team-okrs/example.htmlsimilarity index 100%rename from src/lib/templates/skills/team-okrs/example.htmlrename to next/src/lib/templates/skills/team-okrs/example.htmldiff --git a/src/lib/templates/skills/vfx-text-cursor/SKILL.md b/next/src/lib/templates/skills/vfx-text-cursor/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/vfx-text-cursor/SKILL.mdrename to next/src/lib/templates/skills/vfx-text-cursor/SKILL.mddiff --git a/src/lib/templates/skills/vfx-text-cursor/example.html b/next/src/lib/templates/skills/vfx-text-cursor/example.htmlsimilarity index 100%rename from src/lib/templates/skills/vfx-text-cursor/example.htmlrename to next/src/lib/templates/skills/vfx-text-cursor/example.htmldiff --git a/src/lib/templates/skills/vfx-text-cursor/example.md b/next/src/lib/templates/skills/vfx-text-cursor/example.mdsimilarity index 100%rename from src/lib/templates/skills/vfx-text-cursor/example.mdrename to next/src/lib/templates/skills/vfx-text-cursor/example.mddiff --git a/src/lib/templates/skills/video-hyperframes/SKILL.md b/next/src/lib/templates/skills/video-hyperframes/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/video-hyperframes/SKILL.mdrename to next/src/lib/templates/skills/video-hyperframes/SKILL.mddiff --git a/src/lib/templates/skills/video-hyperframes/example.html b/next/src/lib/templates/skills/video-hyperframes/example.htmlsimilarity index 100%rename from src/lib/templates/skills/video-hyperframes/example.htmlrename to next/src/lib/templates/skills/video-hyperframes/example.htmldiff --git a/src/lib/templates/skills/video-hyperframes/example.md b/next/src/lib/templates/skills/video-hyperframes/example.mdsimilarity index 100%rename from src/lib/templates/skills/video-hyperframes/example.mdrename to next/src/lib/templates/skills/video-hyperframes/example.mddiff --git a/src/lib/templates/skills/waitlist-page/SKILL.md b/next/src/lib/templates/skills/waitlist-page/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/waitlist-page/SKILL.mdrename to next/src/lib/templates/skills/waitlist-page/SKILL.mddiff --git a/src/lib/templates/skills/waitlist-page/example.html b/next/src/lib/templates/skills/waitlist-page/example.htmlsimilarity index 100%rename from src/lib/templates/skills/waitlist-page/example.htmlrename to next/src/lib/templates/skills/waitlist-page/example.htmldiff --git a/src/lib/templates/skills/web-proto-brutalist/SKILL.md b/next/src/lib/templates/skills/web-proto-brutalist/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/web-proto-brutalist/SKILL.mdrename to next/src/lib/templates/skills/web-proto-brutalist/SKILL.mddiff --git a/src/lib/templates/skills/web-proto-brutalist/example.html b/next/src/lib/templates/skills/web-proto-brutalist/example.htmlsimilarity index 100%rename from src/lib/templates/skills/web-proto-brutalist/example.htmlrename to next/src/lib/templates/skills/web-proto-brutalist/example.htmldiff --git a/src/lib/templates/skills/web-proto-editorial/SKILL.md b/next/src/lib/templates/skills/web-proto-editorial/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/web-proto-editorial/SKILL.mdrename to next/src/lib/templates/skills/web-proto-editorial/SKILL.mddiff --git a/src/lib/templates/skills/web-proto-editorial/example.html b/next/src/lib/templates/skills/web-proto-editorial/example.htmlsimilarity index 100%rename from src/lib/templates/skills/web-proto-editorial/example.htmlrename to next/src/lib/templates/skills/web-proto-editorial/example.htmldiff --git a/src/lib/templates/skills/web-proto-soft/SKILL.md b/next/src/lib/templates/skills/web-proto-soft/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/web-proto-soft/SKILL.mdrename to next/src/lib/templates/skills/web-proto-soft/SKILL.mddiff --git a/src/lib/templates/skills/web-proto-soft/example.html b/next/src/lib/templates/skills/web-proto-soft/example.htmlsimilarity index 100%rename from src/lib/templates/skills/web-proto-soft/example.htmlrename to next/src/lib/templates/skills/web-proto-soft/example.htmldiff --git a/src/lib/templates/skills/weekly-update/SKILL.md b/next/src/lib/templates/skills/weekly-update/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/weekly-update/SKILL.mdrename to next/src/lib/templates/skills/weekly-update/SKILL.mddiff --git a/src/lib/templates/skills/weekly-update/example.html b/next/src/lib/templates/skills/weekly-update/example.htmlsimilarity index 100%rename from src/lib/templates/skills/weekly-update/example.htmlrename to next/src/lib/templates/skills/weekly-update/example.htmldiff --git a/src/lib/templates/skills/wireframe-sketch/SKILL.md b/next/src/lib/templates/skills/wireframe-sketch/SKILL.mdsimilarity index 100%rename from src/lib/templates/skills/wireframe-sketch/SKILL.mdrename to next/src/lib/templates/skills/wireframe-sketch/SKILL.mddiff --git a/src/lib/templates/skills/wireframe-sketch/example.html b/next/src/lib/templates/skills/wireframe-sketch/example.htmlsimilarity index 100%rename from src/lib/templates/skills/wireframe-sketch/example.htmlrename to next/src/lib/templates/skills/wireframe-sketch/example.htmldiff --git a/src/lib/use-autosave.ts b/next/src/lib/use-autosave.tssimilarity index 100%rename from src/lib/use-autosave.tsrename to next/src/lib/use-autosave.tsdiff --git a/src/lib/use-convert.ts b/next/src/lib/use-convert.tssimilarity index 100%rename from src/lib/use-convert.tsrename to next/src/lib/use-convert.tsdiff --git a/src/lib/use-deploy.ts b/next/src/lib/use-deploy.tssimilarity index 100%rename from src/lib/use-deploy.tsrename to next/src/lib/use-deploy.tsdiff --git a/src/lib/use-draft.ts b/next/src/lib/use-draft.tssimilarity index 100%rename from src/lib/use-draft.tsrename to next/src/lib/use-draft.tsdiff --git a/src/lib/use-upload.ts b/next/src/lib/use-upload.tssimilarity index 100%rename from src/lib/use-upload.tsrename to next/src/lib/use-upload.tsdiff --git a/tsconfig.json b/next/tsconfig.jsonsimilarity index 100%rename from tsconfig.jsonrename to next/tsconfig.jsondiff --git a/next/vitest.config.ts b/next/vitest.config.tsnew file mode 100644index 00000000..7931208e--- /dev/null+++ b/next/vitest.config.ts@@ -0,0 +1,8 @@+import { defineConfig } from "vitest/config";++export default defineConfig({+ test: {+ environment: "happy-dom",+ include: ["src/**/*.{test,spec}.{ts,tsx}"],+ },+});diff --git a/package.json b/package.jsonindex 44a27890..718b8f5e 100644--- a/package.json+++ b/package.json@@ -1,40 +1,10 @@{- "name": "html-anything",+ "name": "@html-anything/workspace","version": "0.1.0","private": true,"license": "Apache-2.0",- "scripts": {- "dev": "next dev",- "build": "next build",- "start": "next start",- "test:ui": "playwright test"- },- "dependencies": {- "clsx": "^2.1.1",- "dompurify": "^3.4.2",- "highlight.js": "^11.11.1",- "jszip": "^3.10.1",- "juice": "^11.1.1",- "lucide-react": "^1.14.0",- "marked": "^18.0.3",- "modern-screenshot": "^4.7.0",- "next": "16.2.6",- "papaparse": "^5.5.3",- "pptxgenjs": "^4.0.1",- "react": "19.2.4",- "react-dom": "19.2.4",- "xlsx": "^0.18.5",- "zustand": "^5.0.13"- },+ "packageManager": "[email protected]","devDependencies": {- "@playwright/test": "^1.60.0",- "@tailwindcss/postcss": "^4",- "@types/dompurify": "^3.2.0",- "@types/node": "^20",- "@types/papaparse": "^5.5.2",- "@types/react": "^19",- "@types/react-dom": "^19",- "tailwindcss": "^4",- "typescript": "^5"+ "tsx": "^4.22.1"}}diff --git a/playwright.config.ts b/playwright.config.tsdeleted file mode 100644index 199864dd..00000000--- a/playwright.config.ts+++ /dev/null@@ -1,27 +0,0 @@-import { defineConfig, devices } from "@playwright/test";--export default defineConfig({- testDir: "./tests/ui",- fullyParallel: true,- timeout: 30_000,- expect: {- timeout: 7_500,- },- reporter: "list",- use: {- baseURL: "http://localhost:3317",- trace: "on-first-retry",- },- webServer: {- command: "npm run dev -- -p 3317",- url: "http://localhost:3317",- reuseExistingServer: !process.env.CI,- timeout: 120_000,- },- projects: [- {- name: "chromium",- use: { ...devices["Desktop Chrome"] },- },- ],-});diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 9ef52332..d37a468d 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -7,6 +7,30 @@ settings:importers:.:+ devDependencies:+ tsx:+ specifier: ^4.22.1+ version: 4.22.1++ e2e:+ devDependencies:+ '@playwright/test':+ specifier: ^1.60.0+ version: 1.60.0+ '@types/node':+ specifier: ^20+ version: 20.19.40+ jszip:+ specifier: ^3.10.1+ version: 3.10.1+ tsx:+ specifier: ^4.22.1+ version: 4.22.1+ typescript:+ specifier: ^5+ version: 5.9.3++ next:dependencies:clsx:specifier: ^2.1.1@@ -54,9 +78,6 @@ importers:specifier: ^5.0.13version: 5.0.13(@types/[email protected])([email protected])devDependencies:- '@playwright/test':- specifier: ^1.60.0- version: 1.60.0'@tailwindcss/postcss':specifier: ^4version: 4.3.0@@ -75,12 +96,18 @@ importers:'@types/react-dom':specifier: ^19version: 19.2.3(@types/[email protected])+ happy-dom:+ specifier: ^20.9.0+ version: 20.9.0tailwindcss:specifier: ^4version: 4.3.0typescript:specifier: ^5version: 5.9.3+ vitest:+ specifier: ^4.1.6+ version: 4.1.6(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))packages:@@ -88,9 +115,171 @@ packages:resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}engines: {node: '>=10'}+ '@emnapi/[email protected]':+ resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==}+'@emnapi/[email protected]':resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==}+ '@emnapi/[email protected]':+ resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==}++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-lhRUCeuOyJQURhTxl4WkpFTjIsbDayJHih5kZC1giwE+MhIzAb7mEsQMqMf18rHLsrb5qI1tafG20mLxEWcWlA==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [aix]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-+WzIXQOSaGs33tLEgYPYe/yQHf0WTU0X42Jca3y8NWMbUVhp7rUnw+vAsRC/QiDrdD31IszMrZy+qwPOPjd+rw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-wqh0ByljabXLKHeWXYLqoJ5jKC4XBaw6Hk08OfMrCRd2nP2ZQ5eleDZC41XHyCNgktBGYMbqnrJKq/K/lzPMSQ==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-+VJggoaKhk2VNNqVL7f6S189UzShHC/mR9EE8rDdSkdpN0KflSwWY/gWjDrNxxisg8Fp1ZCD9jLMo4m0OUfeUA==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-0T+A9WZm+bZ84nZBtk1ckYsOvyA3x7e2Acj1KdVfV4/2tdG4fzUp91YHx+GArWLtwqp77pBXVCPn2We7Letr0Q==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [darwin]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-fyzLm/DLDl/84OCfp2f/XQ4flmORsjU7VKt8HLjvIXChJoFFOIL6pLJPH4Yhd1n1gGFF9mPwtlN5Wf82DZs+LQ==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [darwin]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-l9GeW5UZBT9k9brBYI+0WDffcRxgHQD8ShN2Ur4xWq/NFzUKm3k5lsH4PdaRgb2w7mI9u61nr2gI2mLI27Nh3Q==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [freebsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-BXoQai/A0wPO6Es3yFJ7APCiKGc1tdAEOgeTNy3SsB491S3aHn4S4r3e976eUnPdU+NbdtmBuLncYir2tMU9Nw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [freebsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-RVyzfb3FWsGA55n6WY0MEIEPURL1FcbhFE6BffZEMEekfCzCIMtB5yyDcFnVbTnwk+CLAgTujmV/Lgvih56W+A==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-CjaaREJagqJp7iTaNQjjidaNbCKYcd4IDkzbwwxtSvjI7NZm79qiHc8HqciMddQ6CKvJT6aBd8lO9kN/ZudLlw==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-KBnSTt1kxl9x70q+ydterVdl+Cn0H18ngRMRCEQfrbqdUuntQQ0LoMZv47uB97NljZFzY6HcfqEZ2SAyIUTQBQ==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-zpSlUce1mnxzgBADvxKXX5sl8aYQHo2ezvMNI8I0lbblJtp8V4odlm3Yzlj7gPyt3T8ReksE6bK+pT3WD+aJRg==}+ engines: {node: '>=18'}+ cpu: [loong64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-2jIfP6mmjkdmeTlsX/9vmdmhBmKADrWqN7zcdtHIeNSCH1SqIoNI63cYsjQR8J+wGa4Y5izRcSHSm8K3QWmk3w==}+ engines: {node: '>=18'}+ cpu: [mips64el]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-bc0FE9wWeC0WBm49IQMPSPILRocGTQt3j5KPCA8os6VprfuJ7KD+5PzESSrJ6GmPIPJK965ZJHTUlSA6GNYEhg==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-SQPZOwoTTT/HXFXQJG/vBX8sOFagGqvZyXcgLA3NhIqcBv1BJU1d46c0rGcrij2B56Z2rNiSLaZOYW5cUk7yLQ==}+ engines: {node: '>=18'}+ cpu: [riscv64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-SCfR0HN8CEEjnYnySJTd2cw0k9OHB/YFzt5zgJEwa+wL/T/raGWYMBqwDNAC6dqFKmJYZoQBRfHjgwLHGSrn3Q==}+ engines: {node: '>=18'}+ cpu: [s390x]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-us0dSb9iFxIi8srnpl931Nvs65it/Jd2a2K3qs7fz2WfGPHqzfzZTfec7oxZJRNPXPnNYZtanmRc4AL/JwVzHQ==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-CR/RYotgtCKwtftMwJlUU7xCVNg3lMYZ0RzTmAHSfLCXw3NtZtNpswLEj/Kkf6kEL3Gw+BpOekRX0BYCtklhUw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [netbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-nU1yhmYutL+fQ71Kxnhg8uEOdC0pwEW9entHykTgEbna2pw2dkbFSMeqjjyHZoCmt8SBkOSvV+yNmm94aUrrqw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [netbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-cXb5vApOsRsxsEl4mcZ1XY3D4DzcoMxR/nnc4IyqYs0rTI8ZKmW6kyyg+11Z8yvgMfAEldKzP7AdP64HnSC/6g==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [openbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-8wZM2qqtv9UP3mzy7HiGYNH/zjTA355mpeuA+859TyR+e+Tc08IHYpLJuMsfpDJwoLo1ikIJI8jC3GFjnRClzA==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [openbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-FLGfyizszcef5C3YtoyQDACyg95+dndv79i2EekILBofh5wpCa1KuBqOWKrEHZg3zrL3t5ouE5jgr94vA+Wb2w==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [openharmony]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-1ZgjUoEdHZZl/YlV76TSCz9Hqj9h9YmMGAgAPYd+q4SicWNX3G5GCyx9uhQWSLcbvPW8Ni7lj4gDa1T40akdlw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [sunos]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Q9StnDmQ/enxnpxCCLSg0oo4+34B9TdXpuyPeTedN/6+iXBJ4J+zwfQI28u/Jl40nOYAxGoNi7mFP40RUtkmUA==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [win32]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-zF3ag/gfiCe6U2iczcRzSYJKH1DCI+ByzSENHlM2FcDbEeo5Zd2C86Aq0tKUYAJJ1obRP84ymxIAksZUcdztHA==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [win32]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-pEl1bO9mfAmIC+tW5btTmrKaujg3zGtUmWNdCw/xs70FBjwAL3o9OEKNHvNmnyylD6ubxUERiEhdsL0xBQ9efw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [win32]+'@img/[email protected]':resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}engines: {node: '>=18'}@@ -121,89 +310,105 @@ packages:resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}cpu: [arm64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}cpu: [arm]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}cpu: [s390x]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}cpu: [x64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}cpu: [arm64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}cpu: [x64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [ppc64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [riscv64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [s390x]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}@@ -244,6 +449,12 @@ packages:'@jridgewell/[email protected]':resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}+ '@napi-rs/[email protected]':+ resolution: {integrity: sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==}+ peerDependencies:+ '@emnapi/core': ^1.7.1+ '@emnapi/runtime': ^1.7.1+'@next/[email protected]':resolution: {integrity: sha512-gd8HoHN4ufj73WmR3JmVolrpJR47ILK6LouP5xElPglaVxir6e1a7VzvTvDWkOoPXT9rkkTzyCxBu4yeZfZwcw==}@@ -264,24 +475,28 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-URUTu1+dMkxJsPFgm+OeEvq9wf5sujw0EvgYy80TDGHTSLTnIHeqb0Eu8A3sC95IRgjejQL+kC4mw+4yPxiAXA==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-DOj182mPV8G3UkrayLoREM5YEYI+Dk5wv7Ox9xl1fFibAELEsFD0lDPfHIeILlutMMfdyhlzYPELG3peuKaurw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-HKQ5SP/V/ub73UvF7n/zeJlxk2kLmtL7Wzrg4WfmkjmNos5onJ2tKu7yZOPdL18A6Svfn3max29ym+ry7NkK4g==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-LZXpTlPyS5v7HhSmnvsLGP3iIYgYOBnc8r8ArlT55sGHV89bR2HlDdBjWQ+PY6SJMmk8TuVGFuxalnP3k/0Dwg==}@@ -295,11 +510,115 @@ packages:cpu: [x64]os: [win32]+ '@oxc-project/[email protected]':+ resolution: {integrity: sha512-ibD2usx9JRu7f5pu2tMKMI4cpA4NgXJQoYRP4pQ7Pxmn1l6k/53qWtQWZayhYy3X4QZkt90Ot+mJEaeXouio6Q==}+'@playwright/[email protected]':resolution: {integrity: sha512-O71yZIbAh/PxDMNGns37GHBIfrVkEVyn+AXyIa5dOTfb4/xNvRWV+Vv/NMbNCtODB/pO7vLlF2OTmMVLhmr7Ag==}engines: {node: '>=18'}hasBin: true+ '@rolldown/[email protected]':+ resolution: {integrity: sha512-fJI3I0r3C3Oj/zdBCpaCmBRZYf07xpaq4yCfDDoSFm+beWNzbIl26puW8RraUdugoJw/95zerNOn6jasAhzSmg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [android]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-cKnAhWEsV7TPcA/5EAteDp6KcJZBQ2G+BqE7zayMMi7kMvwRsbv7WT9aOnn0WNl4SKEIf43vjS31iUPu80nzXg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [darwin]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-YKrVwQjIRBPo+5G/u03wGjbdy4q7pyzCe93DK9VJ7zkVmeg8LJ7GbgsiHWdR4xSoe4CAXRD7Bcjgbtr64bkXNg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [darwin]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-z/oBsREo46SsFqBwYtFe0kpJeBijAT48O/WXLI4suiCLBkr03RTtTJMCzSdDd2znlh8VJizL09XVkQgk8IZonw==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [freebsd]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-ik8q7GM11zxvYxFc2PeDcT6TBvhCQMaUxfph/M5l9sKuTs/Sjg3L+Byw0F7w0ZVLBZmx30P+gG0ECzzN+MFcmQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm]+ os: [linux]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-QoSx2EkyrrdZ6kcyE8stqZ62t0Yra8Fs5ia9lOxJrh6TMQJK7gQKmscdTHf7pOXKREKrVwOtJcQG3qVSfc866A==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-uwNwFpwKeNiZawfAWBgg0VIztPTV3ihhh1vV334h9ivnNLorxnQMU6Fz8wG1Zb4Qh9LC1/MkcyT3YlDXG3Rsgg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-zY1bul7OWr7DFBiJ++wofXvnr8B45ce3QsQUhKrIhXsygAh7bTkwyeM1bi1a2g5C/yC/N8TZyGDEoMfm/l9mpg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-0frlsT/f4Ft6I7SMESTKnF3cZsdicQn1dCMkF/jT9wDLE+gGoiQfv1nmT9e+s7s/fekvvy6tZM2jHvI2tkbJDQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-XABVmGp9Tg0WspTVvwduTc4fpqy6JnAUrSQe6OuyqD/03nI7r0O9OWUkMIwFrjKAIqolvqoA4ZrJppgwE0Gxmw==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-bV4fzswuzVcKD90o/VM6QqKxnxlDq0g2BISDLNVmxrnhpv1DDbyPhCIjYfvzYLV+MvkKKnQt2Q6AO86SEBULUQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-/Mh0Zhq3OP7fVs0kcQHZP6lZEthMGTaSf8UBQYSFEZDWGXXlEC+nJ6EqenaK2t4LBXMe3A+K/G2BVXXdtOr4PQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [openharmony]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-+1xc9X45l8ufsBAm6Gjvx2qDRIY9lTVt0cgWNcJ+1gdhXvkbxePA60yRTwSTuXL09CMhyJmjpV7E3NoyxbqFQQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [wasm32]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-1D+UqZdfnuR+Jy1GgMJwi85bD40H21uNmOPRWQhw4oRSuolZ/B5rixZ45DK2KXOTCvmVCecauWgEhbw8bI7tOw==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [win32]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-INAycaWuhlOK3wk4mRHGsdgwYWmd9cChdPdE9bwWmy6rn9VqVNYNFGhOdXrofXUxwHIncSiPNb8tNm8knDVIeQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [win32]++ '@rolldown/[email protected]':+ resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==}++ '@standard-schema/[email protected]':+ resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}+'@swc/[email protected]':resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}@@ -341,24 +660,28 @@ packages:engines: {node: '>= 20'}cpu: [arm64]os: [linux]+ libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-Z6sukiQsngnWO+l39X4pPbiWT81IC+PLKF+PHxIlyZbGNb9MODfYlXEVlFvej5BOZInWX01kVyzeLvHsXhfczQ==}engines: {node: '>= 20'}cpu: [arm64]os: [linux]+ libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-DRNdQRpSGzRGfARVuVkxvM8Q12nh19l4BF/G7zGA1oe+9wcC6saFBHTISrpIcKzhiXtSrlSrluCfvMuledoCTQ==}engines: {node: '>= 20'}cpu: [x64]os: [linux]+ libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-Z0IADbDo8bh6I7h2IQMx601AdXBLfFpEdUotft86evd/8ZPflZe9COPO8Q1vw+pfLWIUo9zN/JGZvwuAJqduqg==}engines: {node: '>= 20'}cpu: [x64]os: [linux]+ libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-HNZGOUxEmElksYR7S6sC5jTeNGpobAsy9u7Gu0AskJ8/20FR9GqebUyB+HBcU/ax6BHuiuJi+Oda4B+YX6H1yA==}@@ -391,10 +714,22 @@ packages:'@tailwindcss/[email protected]':resolution: {integrity: sha512-Jm05Tjx+9yCLGv5qw1c+84Psds8MnyrEQYCB+FFk2lgGiUjlRqdxke4mVTuYrj2xnVZqKim2Apr5ySuQRYAw/w==}+ '@tybys/[email protected]':+ resolution: {integrity: sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}+'@types/[email protected]':resolution: {integrity: sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==}deprecated: This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed.+ '@types/[email protected]':+ resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}+'@types/[email protected]':resolution: {integrity: sha512-xxx6M2IpSTnnKcR0cMvIiohkiCx20/oRPtWGbenFygKCGl3zqUzdNjQ/1V4solq1LU+dgv0nQzeGOuqkqZGg0Q==}@@ -415,6 +750,41 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}++ '@vitest/[email protected]':+ resolution: {integrity: sha512-7EHDquPthALSV0jhhjgEW8FXaviMx7rSqu8W6oqCoAuOhKov814P99QDV1pxMA3QPv21YudvJngIhjrNI4opLg==}++ '@vitest/[email protected]':+ resolution: {integrity: sha512-MCFc63czMjEInOlcY2cpQCvCN+KgbAn+60xu9cMgP4sKaLC5JNAKw7JH8QdAnoAC88hW1IiSNZ+GgVXlN1UcMQ==}+ peerDependencies:+ msw: ^2.4.9+ vite: ^6.0.0 || ^7.0.0 || ^8.0.0+ peerDependenciesMeta:+ msw:+ optional: true+ vite:+ optional: true++ '@vitest/[email protected]':+ resolution: {integrity: sha512-h5SxD/IzNhZYnrSZRsUZQIC+vD0GY8cUvq0iwsmkFKixRCKLLWqCXa/FIQ4S1R+sI+PGoojkHsdNrbZiM9Qpgw==}++ '@vitest/[email protected]':+ resolution: {integrity: sha512-nOPCmn2+yD0ZNmKdsXGv/UxMMWbMuKeD6GyYncNwdkYDxpQvrPSKYj2rWuDjC2Y4b6w6hjip5dBKFzEUuZe3vA==}++ '@vitest/[email protected]':+ resolution: {integrity: sha512-YhsdE6xAVfTDmzjxL2ZDUvjj+ZsgyOKe+TdQzqkD72wIOmHka8NuGQ6NpTNZv9D2Z63fbwWKJPeVpEw4EQgYxw==}++ '@vitest/[email protected]':+ resolution: {integrity: sha512-JFKxMx6udhwKh/Ldo270e17QX710vgunMkuPAvXjHSvC6oqLWAHhVhjg/I71q0u0CBSErIODV1Kjv0FQNSWjdg==}++ '@vitest/[email protected]':+ resolution: {integrity: sha512-FxIY+U81R3LGKCxaHHFRQ5+g6/iRgGLmeHWdp2Amj4ljQRrEIWHmZyDfDYBRZlpyqA7qKxtS9DD1dhk8RnRIVQ==}+resolution: {integrity: sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==}engines: {node: '>=0.8'}@@ -423,6 +793,10 @@ packages:resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==}engines: {node: '>=6'}+ resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-Asa2krT+XTPZINCS+2QcyS8WTkObE77RwkydwF7h6DmnKqbvlalz93m/dnphUyCa6SWSP51VgtEUf2FN+gelFQ==}engines: {node: '>=6.0.0'}@@ -438,6 +812,10 @@ packages:resolution: {integrity: sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==}engines: {node: '>=0.8'}+ resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==}@@ -460,6 +838,9 @@ packages:resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==}engines: {node: '>=18'}+ resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}+resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}@@ -517,10 +898,34 @@ packages:resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}engines: {node: '>=0.12'}+ resolution: {integrity: sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==}++ resolution: {integrity: sha512-sNR9MHpXSUV/XB4zmsFKN+QgVG82Cc7+/aaxJ8Adi8hyOac+EXptIp45QBPaVyX3N70664wRbTcLTOemCAnyqw==}+ engines: {node: '>=18'}+ hasBin: true+resolution: {integrity: sha512-w3PwNZJwRxlp47QGzhuEBldEqVHHhh8/tIPcl6ecf2Bou99cdAt0knihBV0Ecc7CGxYduXVBDheH1K2oADRlvw==}engines: {node: '>=10'}+ resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}++ resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==}+ engines: {node: '>=12.0.0'}++ resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}+ engines: {node: '>=12.0.0'}+ peerDependencies:+ picomatch: ^3 || ^4+ peerDependenciesMeta:+ picomatch:+ optional: true+resolution: {integrity: sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==}engines: {node: '>=0.8'}@@ -530,9 +935,18 @@ packages:engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}os: [darwin]+ resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}+ os: [darwin]+resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}+ resolution: {integrity: sha512-GZZ9mKe8r646NUAf/zemnGbjYh4Bt8/MqASJY+pSm5ZDtc3YQox+4gsLI7yi1hba6o+eCsGxpHn5+iEVn31/FQ==}+ engines: {node: '>=20.0.0'}+resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==}engines: {node: '>=12.0.0'}@@ -611,24 +1025,28 @@ packages:engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]+ libc: [glibc]resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]+ libc: [musl]resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]+ libc: [glibc]resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]+ libc: [musl]resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}@@ -699,6 +1117,9 @@ packages:resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}+ resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==}+resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}@@ -714,9 +1135,16 @@ packages:resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}+ resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}+resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}+ resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==}engines: {node: '>=18'}@@ -756,6 +1184,11 @@ packages:resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}+ resolution: {integrity: sha512-X0KQHljNnEkWNqqiz9zJrGunh1B0HgOxLXvnFpCOcadzcy5qohZ3tqMEUg00vncoRovXuK3ZqCT9KnnKzoInFQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ hasBin: true+resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}@@ -777,6 +1210,9 @@ packages:resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}+resolution: {integrity: sha512-4qdtOGcBjral6YIBCWJ0ljFSKNLz9KkhbWtuGvUyRowl1kxfuE1x/Z/aJcaiilpb3do9bl5K7/1h9XC5wWpY/A==}@@ -788,6 +1224,12 @@ packages:resolution: {integrity: sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==}engines: {node: '>=0.8'}+ resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}++ resolution: {integrity: sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==}+resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}@@ -811,9 +1253,29 @@ packages:resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}engines: {node: '>=6'}+ resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}++ resolution: {integrity: sha512-dAqSqE/RabpBKI8+h26GfLq6Vb3JVXs30XYQjdMjaj/c2tS8IYYMbIzP599KtRj7c57/wYApb3QjgRgXmrCukA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==}+ engines: {node: '>=12.0.0'}++ resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}+ engines: {node: '>=14.0.0'}+resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}+ resolution: {integrity: sha512-TvncJykhxAzFCk0VQZKBTClall4Pm7qXDSodb6uxi8QFa8X8mT6ABjxxsQ2opDRYxG7AzcRWXaFtruz5HJKuWg==}+ engines: {node: '>=18.0.0'}+ hasBin: true+resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}engines: {node: '>=14.17'}@@ -833,6 +1295,90 @@ packages:resolution: {integrity: sha512-jOWVmzVceKlVVdwjNSenT4PbGghU0SBIizAev8ofZVgivk/TVHXSbNL8LP6M3spZvkR9/QolkyJavGSX5Cs0UA==}engines: {node: '>=10'}+ resolution: {integrity: sha512-MFtjBYgzmSxmgA4RAfjIyXWpGe1oALnjgUTzzV7QLx/TKxCzjtMH6Fd9/eVK+5Fg1qNoz5VAwsmMs/NofrmJvw==}+ engines: {node: ^20.19.0 || >=22.12.0}+ hasBin: true+ peerDependencies:+ '@types/node': ^20.19.0 || >=22.12.0+ '@vitejs/devtools': ^0.1.18+ esbuild: ^0.27.0 || ^0.28.0+ jiti: '>=1.21.0'+ less: ^4.0.0+ sass: ^1.70.0+ sass-embedded: ^1.70.0+ stylus: '>=0.54.8'+ sugarss: ^5.0.0+ terser: ^5.16.0+ tsx: ^4.8.1+ yaml: ^2.4.2+ peerDependenciesMeta:+ '@types/node':+ optional: true+ '@vitejs/devtools':+ optional: true+ esbuild:+ optional: true+ jiti:+ optional: true+ less:+ optional: true+ sass:+ optional: true+ sass-embedded:+ optional: true+ stylus:+ optional: true+ sugarss:+ optional: true+ terser:+ optional: true+ tsx:+ optional: true+ yaml:+ optional: true++ resolution: {integrity: sha512-6lvjbS3p9b4CrdCmguzbh2/4uoXhGE2q71R4OX5sqF9R1bo9Xd6fGrMAfvp5wnCzlBnFVdCOp6onuTQVbo8iUQ==}+ engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}+ hasBin: true+ peerDependencies:+ '@edge-runtime/vm': '*'+ '@opentelemetry/api': ^1.9.0+ '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0+ '@vitest/browser-playwright': 4.1.6+ '@vitest/browser-preview': 4.1.6+ '@vitest/browser-webdriverio': 4.1.6+ '@vitest/coverage-istanbul': 4.1.6+ '@vitest/coverage-v8': 4.1.6+ '@vitest/ui': 4.1.6+ happy-dom: '*'+ jsdom: '*'+ vite: ^6.0.0 || ^7.0.0 || ^8.0.0+ peerDependenciesMeta:+ '@edge-runtime/vm':+ optional: true+ '@opentelemetry/api':+ optional: true+ '@types/node':+ optional: true+ '@vitest/browser-playwright':+ optional: true+ '@vitest/browser-preview':+ optional: true+ '@vitest/browser-webdriverio':+ optional: true+ '@vitest/coverage-istanbul':+ optional: true+ '@vitest/coverage-v8':+ optional: true+ '@vitest/ui':+ optional: true+ happy-dom:+ optional: true+ jsdom:+ optional: true+resolution: {integrity: sha512-Ezr98sqXW/+OCGoUEXuOKVR+oVFlSdn1tIySEEJdiSAw4IjrW8hQkwARSSBJTSB5Us5dnytDgL0ZDliAYBhaNA==}engines: {node: '>=10.0.0'}@@ -842,10 +1388,19 @@ packages:engines: {node: '>=18'}deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation+ resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==}engines: {node: '>=18'}+ resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==}+ engines: {node: '>=8'}+ hasBin: true+resolution: {integrity: sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==}engines: {node: '>=0.8'}@@ -854,6 +1409,18 @@ packages:resolution: {integrity: sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==}engines: {node: '>=0.8'}+ resolution: {integrity: sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==}+ engines: {node: '>=10.0.0'}+ peerDependencies:+ bufferutil: ^4.0.1+ utf-8-validate: '>=5.0.2'+ peerDependenciesMeta:+ bufferutil:+ optional: true+ utf-8-validate:+ optional: true+resolution: {integrity: sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==}engines: {node: '>=0.8'}@@ -881,11 +1448,100 @@ snapshots:'@alloc/[email protected]': {}+ '@emnapi/[email protected]':+ dependencies:+ '@emnapi/wasi-threads': 1.2.1+ tslib: 2.8.1+ optional: true+'@emnapi/[email protected]':dependencies:tslib: 2.8.1optional: true+ '@emnapi/[email protected]':+ dependencies:+ tslib: 2.8.1+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true+'@img/[email protected]':optional: true@@ -1002,6 +1658,13 @@ snapshots:'@jridgewell/resolve-uri': 3.1.2'@jridgewell/sourcemap-codec': 1.5.5+ dependencies:+ '@emnapi/core': 1.10.0+ '@emnapi/runtime': 1.10.0+ '@tybys/wasm-util': 0.10.2+ optional: true+'@next/[email protected]': {}'@next/[email protected]':@@ -1028,10 +1691,65 @@ snapshots:'@next/[email protected]':optional: true+ '@oxc-project/[email protected]': {}+'@playwright/[email protected]':dependencies:playwright: 1.60.0+ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ dependencies:+ '@emnapi/core': 1.10.0+ '@emnapi/runtime': 1.10.0+ '@napi-rs/wasm-runtime': 1.1.4(@emnapi/[email protected])(@emnapi/[email protected])+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]':+ optional: true++ '@rolldown/[email protected]': {}++ '@standard-schema/[email protected]': {}+'@swc/[email protected]':dependencies:tslib: 2.8.1@@ -1105,10 +1823,24 @@ snapshots:postcss: 8.5.14tailwindcss: 4.3.0+ '@tybys/[email protected]':+ dependencies:+ tslib: 2.8.1+ optional: true++ '@types/[email protected]':+ dependencies:+ '@types/deep-eql': 4.0.2+ assertion-error: 2.0.1++ '@types/[email protected]': {}+'@types/[email protected]':dependencies:dompurify: 3.4.2+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:undici-types: 6.21.0@@ -1132,10 +1864,59 @@ snapshots:'@types/[email protected]':optional: true+ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@types/node': 20.19.40++ '@vitest/[email protected]':+ dependencies:+ '@standard-schema/spec': 1.1.0+ '@types/chai': 5.2.3+ '@vitest/spy': 4.1.6+ '@vitest/utils': 4.1.6+ chai: 6.2.2+ tinyrainbow: 3.1.0++ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ dependencies:+ '@vitest/spy': 4.1.6+ estree-walker: 3.0.3+ magic-string: 0.30.21+ optionalDependencies:++ '@vitest/[email protected]':+ dependencies:+ tinyrainbow: 3.1.0++ '@vitest/[email protected]':+ dependencies:+ '@vitest/utils': 4.1.6+ pathe: 2.0.3++ '@vitest/[email protected]':+ dependencies:+ '@vitest/pretty-format': 4.1.6+ '@vitest/utils': 4.1.6+ magic-string: 0.30.21+ pathe: 2.0.3++ '@vitest/[email protected]': {}++ '@vitest/[email protected]':+ dependencies:+ '@vitest/pretty-format': 4.1.6+ convert-source-map: 2.0.0+ tinyrainbow: 3.1.0++ [email protected]: {}+@@ -1147,6 +1928,8 @@ snapshots:adler-32: 1.3.1crc-32: 1.2.2+ [email protected]: {}+dependencies:boolbase: 1.0.0@@ -1178,6 +1961,8 @@ snapshots:+ [email protected]: {}+@@ -1234,15 +2019,71 @@ snapshots:+ [email protected]: {}++ optionalDependencies:+ '@esbuild/aix-ppc64': 0.28.0+ '@esbuild/android-arm': 0.28.0+ '@esbuild/android-arm64': 0.28.0+ '@esbuild/android-x64': 0.28.0+ '@esbuild/darwin-arm64': 0.28.0+ '@esbuild/darwin-x64': 0.28.0+ '@esbuild/freebsd-arm64': 0.28.0+ '@esbuild/freebsd-x64': 0.28.0+ '@esbuild/linux-arm': 0.28.0+ '@esbuild/linux-arm64': 0.28.0+ '@esbuild/linux-ia32': 0.28.0+ '@esbuild/linux-loong64': 0.28.0+ '@esbuild/linux-mips64el': 0.28.0+ '@esbuild/linux-ppc64': 0.28.0+ '@esbuild/linux-riscv64': 0.28.0+ '@esbuild/linux-s390x': 0.28.0+ '@esbuild/linux-x64': 0.28.0+ '@esbuild/netbsd-arm64': 0.28.0+ '@esbuild/netbsd-x64': 0.28.0+ '@esbuild/openbsd-arm64': 0.28.0+ '@esbuild/openbsd-x64': 0.28.0+ '@esbuild/openharmony-arm64': 0.28.0+ '@esbuild/sunos-x64': 0.28.0+ '@esbuild/win32-arm64': 0.28.0+ '@esbuild/win32-ia32': 0.28.0+ '@esbuild/win32-x64': 0.28.0++ dependencies:+ '@types/estree': 1.0.9++ [email protected]: {}++ optionalDependencies:+ picomatch: 4.0.4+optional: true+ optional: true++ dependencies:+ '@types/node': 20.19.40+ '@types/whatwg-mimetype': 3.0.2+ '@types/ws': 8.18.1+ entities: 7.0.1+ whatwg-mimetype: 3.0.0+ ws: 8.20.1+ transitivePeerDependencies:+ - bufferutil+ - utf-8-validate+@@ -1386,6 +2227,8 @@ snapshots:dependencies:boolbase: 1.0.0+ [email protected]: {}+@@ -1403,8 +2246,12 @@ snapshots:dependencies:entities: 6.0.1+ [email protected]: {}++ [email protected]: {}+@@ -1455,6 +2302,27 @@ snapshots:string_decoder: 1.1.1util-deprecate: 1.0.2+ dependencies:+ '@oxc-project/types': 0.130.0+ '@rolldown/pluginutils': 1.0.1+ optionalDependencies:+ '@rolldown/binding-android-arm64': 1.0.1+ '@rolldown/binding-darwin-arm64': 1.0.1+ '@rolldown/binding-darwin-x64': 1.0.1+ '@rolldown/binding-freebsd-x64': 1.0.1+ '@rolldown/binding-linux-arm-gnueabihf': 1.0.1+ '@rolldown/binding-linux-arm64-gnu': 1.0.1+ '@rolldown/binding-linux-arm64-musl': 1.0.1+ '@rolldown/binding-linux-ppc64-gnu': 1.0.1+ '@rolldown/binding-linux-s390x-gnu': 1.0.1+ '@rolldown/binding-linux-x64-gnu': 1.0.1+ '@rolldown/binding-linux-x64-musl': 1.0.1+ '@rolldown/binding-openharmony-arm64': 1.0.1+ '@rolldown/binding-wasm32-wasi': 1.0.1+ '@rolldown/binding-win32-arm64-msvc': 1.0.1+ '@rolldown/binding-win32-x64-msvc': 1.0.1+@@ -1498,6 +2366,8 @@ snapshots:'@img/sharp-win32-x64': 0.34.5optional: true+ [email protected]: {}+@@ -1506,6 +2376,10 @@ snapshots:dependencies:frac: 1.1.2+ [email protected]: {}++ [email protected]: {}+dependencies:safe-buffer: 5.1.2@@ -1519,8 +2393,25 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ dependencies:+ fdir: 6.5.0([email protected])+ picomatch: 4.0.4++ [email protected]: {}++ dependencies:+ esbuild: 0.28.0+ optionalDependencies:+ fsevents: 2.3.3+@@ -1531,6 +2422,48 @@ snapshots:+ [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ dependencies:+ lightningcss: 1.32.0+ picomatch: 4.0.4+ postcss: 8.5.14+ rolldown: 1.0.1+ tinyglobby: 0.2.16+ optionalDependencies:+ '@types/node': 20.19.40+ esbuild: 0.28.0+ fsevents: 2.3.3+ jiti: 2.7.0+ tsx: 4.22.1++ [email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ dependencies:+ '@vitest/expect': 4.1.6+ '@vitest/mocker': 4.1.6([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ '@vitest/pretty-format': 4.1.6+ '@vitest/runner': 4.1.6+ '@vitest/snapshot': 4.1.6+ '@vitest/spy': 4.1.6+ '@vitest/utils': 4.1.6+ es-module-lexer: 2.1.0+ expect-type: 1.3.0+ magic-string: 0.30.21+ obug: 2.1.1+ pathe: 2.0.3+ picomatch: 4.0.4+ std-env: 4.1.0+ tinybench: 2.9.0+ tinyexec: 1.1.2+ tinyglobby: 0.2.16+ tinyrainbow: 3.1.0+ why-is-node-running: 2.3.0+ optionalDependencies:+ '@types/node': 20.19.40+ happy-dom: 20.9.0+ transitivePeerDependencies:+ - msw+dependencies:ansi-colors: 4.1.3@@ -1543,12 +2476,21 @@ snapshots:dependencies:iconv-lite: 0.6.3+ [email protected]: {}++ dependencies:+ siginfo: 2.0.0+ stackback: 0.0.2++ [email protected]: {}+dependencies:adler-32: 1.3.1diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 581a9d5b..dfeee6a4 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -1,3 +1,7 @@+packages:+ - e2e+ - next+ignoredBuiltDependencies:- sharp- unrs-resolverdiff --git a/scripts/guard.ts b/scripts/guard.tsnew file mode 100644index 00000000..bacc4212--- /dev/null+++ b/scripts/guard.ts@@ -0,0 +1,203 @@+import { existsSync, readFileSync, statSync } from "node:fs";+import path from "node:path";++type PackageJson = {+ packageManager?: string;+ scripts?: Record<string, string>;+ dependencies?: Record<string, string>;+ devDependencies?: Record<string, string>;+};++const root = process.cwd();+const failures: string[] = [];++function rel(p: string): string {+ return p.split(path.sep).join("/");+}++function hasPath(p: string): boolean {+ return existsSync(path.join(root, p));+}++function requirePath(p: string): void {+ if (!hasPath(p)) failures.push(`Missing required path: ${rel(p)}`);+}++function requireDir(p: string): void {+ const full = path.join(root, p);+ if (!existsSync(full)) {+ failures.push(`Missing required directory: ${rel(p)}`);+ return;+ }+ if (!statSync(full).isDirectory()) failures.push(`Expected directory: ${rel(p)}`);+}++function forbidPath(p: string, reason: string): void {+ if (hasPath(p)) failures.push(`Unexpected path: ${rel(p)} (${reason})`);+}++function requireText(p: string, needle: string): void {+ const full = path.join(root, p);+ if (!existsSync(full)) {+ failures.push(`Cannot inspect missing file: ${rel(p)}`);+ return;+ }+ const text = readFileSync(full, "utf8");+ if (!text.includes(needle)) {+ failures.push(`Expected ${rel(p)} to contain ${JSON.stringify(needle)}`);+ }+}++function readJson<T>(p: string): T | undefined {+ const full = path.join(root, p);+ if (!existsSync(full)) {+ failures.push(`Cannot inspect missing file: ${rel(p)}`);+ return undefined;+ }+ try {+ return JSON.parse(readFileSync(full, "utf8")) as T;+ } catch (err) {+ failures.push(`Invalid JSON in ${rel(p)}: ${err instanceof Error ? err.message : String(err)}`);+ return undefined;+ }+}++const rootPkg = readJson<PackageJson>("package.json");+const nextPkg = readJson<PackageJson>("next/package.json");+const e2ePkg = readJson<PackageJson>("e2e/package.json");++requirePath(".github/workflows/ci.yml");+requirePath(".gitignore");+requirePath("package.json");+requirePath("next/package.json");+requirePath("e2e/package.json");+requirePath("pnpm-lock.yaml");+requirePath("pnpm-workspace.yaml");+requirePath("next/tsconfig.json");+requirePath("next/next.config.ts");+requirePath("next/postcss.config.mjs");+requirePath("next/vitest.config.ts");+requirePath("e2e/playwright.config.ts");+requirePath("e2e/tsconfig.json");+requirePath("e2e/AGENTS.md");++requireDir("next");+requireDir("next/src");+requireDir("next/src/app");+requirePath("next/src/app/layout.tsx");+requirePath("next/src/app/page.tsx");+requireDir("next/src/app/api");+requireDir("next/src/components");+requireDir("next/src/lib");+requireDir("next/public");+requireDir("e2e");+requireDir("e2e/ui");+requirePath("e2e/ui/export-menu.test.ts");+requireDir("e2e/scripts");+requirePath("e2e/scripts/playwright.ts");+requireDir("scripts");+requirePath("scripts/guard.ts");++forbidPath("app", "the complete Next app lives under next/");+forbidPath("src", "Next app source lives under next/src/");+forbidPath("tests/ui", "browser tests live under top-level e2e/");+forbidPath("playwright.config.ts", "Playwright configuration is owned by e2e/");+forbidPath("e2e/export-menu.spec.ts", "Playwright UI cases live under e2e/ui/");+forbidPath("next/e2e", "browser tests live under top-level e2e/");+forbidPath("next/tests", "browser tests live under top-level e2e/");++if (rootPkg) {+ if (!rootPkg.packageManager?.startsWith("pnpm@")) {+ failures.push("root package.json must pin packageManager to pnpm");+ }++ const scriptNames = Object.keys(rootPkg.scripts ?? {});+ if (scriptNames.length > 0) {+ failures.push(`root package.json must not define scripts; use pnpm -F package filters (${scriptNames.join(", ")})`);+ }++ const rootDeps = Object.keys(rootPkg.dependencies ?? {});+ if (rootDeps.length > 0) {+ failures.push(`root package.json must not declare runtime dependencies (${rootDeps.join(", ")})`);+ }++ const rootDevDeps = rootPkg.devDependencies ?? {};+ for (const dep of Object.keys(rootDevDeps)) {+ if (dep !== "tsx") failures.push(`root package.json devDependency ${dep} belongs in a workspace package`);+ }+ if (!rootDevDeps.tsx) {+ failures.push("root package.json must declare tsx for scripts/guard.ts");+ }+}++if (nextPkg) {+ const scripts = nextPkg.scripts ?? {};+ const requiredScripts: Record<string, string> = {+ dev: "next",+ build: "next build",+ start: "next start",+ typecheck: "tsc --noEmit",+ test: "vitest run",+ "test:watch": "vitest",+ };++ for (const [name, expected] of Object.entries(requiredScripts)) {+ if (scripts[name] !== expected) {+ failures.push(`next/package.json script ${name} must be ${JSON.stringify(expected)}`);+ }+ }++ const deps = { ...(nextPkg.dependencies ?? {}), ...(nextPkg.devDependencies ?? {}) };+ for (const dep of ["happy-dom", "next", "react", "react-dom", "typescript", "vitest"]) {+ if (!deps[dep]) failures.push(`next/package.json must declare ${dep}`);+ }+}++if (e2ePkg) {+ const scripts = e2ePkg.scripts ?? {};+ const requiredScripts: Record<string, string> = {+ test: "playwright test -c playwright.config.ts",+ typecheck: "tsc -p tsconfig.json --noEmit",+ "playwright:clean": "tsx scripts/playwright.ts clean",+ };++ for (const [name, expected] of Object.entries(requiredScripts)) {+ if (scripts[name] !== expected) {+ failures.push(`e2e/package.json script ${name} must be ${JSON.stringify(expected)}`);+ }+ }++ const deps = { ...(e2ePkg.dependencies ?? {}), ...(e2ePkg.devDependencies ?? {}) };+ for (const dep of ["@playwright/test", "@types/node", "jszip", "tsx", "typescript"]) {+ if (!deps[dep]) failures.push(`e2e/package.json must declare ${dep}`);+ }+}++requireText("e2e/playwright.config.ts", 'testDir: "./ui"');+requireText("e2e/playwright.config.ts", "pnpm -F @html-anything/next build");+requireText("e2e/tsconfig.json", '"ui/**/*.ts"');+requireText("e2e/AGENTS.md", "Do not add Playwright cases under `next/`");+requireText("pnpm-workspace.yaml", " - e2e");+requireText("pnpm-workspace.yaml", " - next");+requireText(".gitignore", "/e2e/ui/reports/");+requireText(".gitignore", "/e2e/node_modules");+requireText(".gitignore", "/next/node_modules");+requireText(".gitignore", "/next/.next/");+requireText("next/vitest.config.ts", 'environment: "happy-dom"');+requireText(".github/workflows/ci.yml", "pull_request");+requireText(".github/workflows/ci.yml", "pnpm install --frozen-lockfile");+requireText(".github/workflows/ci.yml", "pnpm exec tsx scripts/guard.ts");+requireText(".github/workflows/ci.yml", "pnpm -F @html-anything/next typecheck");+requireText(".github/workflows/ci.yml", "pnpm -F @html-anything/e2e typecheck");+requireText(".github/workflows/ci.yml", "pnpm -F @html-anything/next test");+requireText(".github/workflows/ci.yml", "pnpm -F @html-anything/next build");+requireText(".github/workflows/ci.yml", "pnpm -F @html-anything/e2e exec playwright install --with-deps chromium");+requireText(".github/workflows/ci.yml", "pnpm -F @html-anything/e2e test");++if (failures.length) {+ console.error("Guard failed:");+ for (const failure of failures) console.error(`- ${failure}`);+ process.exit(1);+}++console.log("Guard passed.");