Skip to content

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.

[codex] ci: add public harness guard (#63)

PerishFireb799c2851420
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 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 test
diff --git a/.gitignore b/.gitignore
index 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
*.tsbuildinfo
next-env.d.ts
+/next/next-env.d.ts
# claude code
.claude-sessions/
diff --git a/AGENTS.md b/AGENTS.md
index 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.md
index 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 a
We 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-anything
cd html-anything
pnpm 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 agents
On 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 stream
Issues, 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.md
index 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-anything
cd html-anything
pnpm 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),看版本发布、新 skil
Apache-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.md
new file mode 100644
index 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.json
new file mode 100644
index 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.ts
new file mode 100644
index 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.ts
new file mode 100644
index 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.json
new file mode 100644
index 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.ts
similarity index 100%
rename from tests/ui/export-menu.spec.ts
rename to e2e/ui/export-menu.test.ts
diff --git a/next.config.ts b/next/next.config.ts
similarity index 100%
rename from next.config.ts
rename to next/next.config.ts
diff --git a/next/package.json b/next/package.json
new file mode 100644
index 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.mjs
similarity index 100%
rename from postcss.config.mjs
rename to next/postcss.config.mjs
diff --git a/public/file.svg b/next/public/file.svg
similarity index 100%
rename from public/file.svg
rename to next/public/file.svg
diff --git a/public/globe.svg b/next/public/globe.svg
similarity index 100%
rename from public/globe.svg
rename to next/public/globe.svg
diff --git a/public/next.svg b/next/public/next.svg
similarity index 100%
rename from public/next.svg
rename to next/public/next.svg
diff --git a/public/vercel.svg b/next/public/vercel.svg
similarity index 100%
rename from public/vercel.svg
rename to next/public/vercel.svg
diff --git a/public/window.svg b/next/public/window.svg
similarity index 100%
rename from public/window.svg
rename to next/public/window.svg
diff --git a/src/app/api/agents/route.ts b/next/src/app/api/agents/route.ts
similarity index 100%
rename from src/app/api/agents/route.ts
rename to next/src/app/api/agents/route.ts
diff --git a/src/app/api/convert/route.ts b/next/src/app/api/convert/route.ts
similarity index 100%
rename from src/app/api/convert/route.ts
rename to next/src/app/api/convert/route.ts
diff --git a/src/app/api/deploy/config/route.ts b/next/src/app/api/deploy/config/route.ts
similarity index 100%
rename from src/app/api/deploy/config/route.ts
rename to next/src/app/api/deploy/config/route.ts
diff --git a/src/app/api/deploy/route.ts b/next/src/app/api/deploy/route.ts
similarity index 100%
rename from src/app/api/deploy/route.ts
rename to next/src/app/api/deploy/route.ts
diff --git a/src/app/api/draft/route.ts b/next/src/app/api/draft/route.ts
similarity index 100%
rename from src/app/api/draft/route.ts
rename to next/src/app/api/draft/route.ts
diff --git a/src/app/api/templates/[id]/example/route.ts b/next/src/app/api/templates/[id]/example/route.ts
similarity index 100%
rename from src/app/api/templates/[id]/example/route.ts
rename to next/src/app/api/templates/[id]/example/route.ts
diff --git a/src/app/api/templates/[id]/preview/route.ts b/next/src/app/api/templates/[id]/preview/route.ts
similarity index 100%
rename from src/app/api/templates/[id]/preview/route.ts
rename to next/src/app/api/templates/[id]/preview/route.ts
diff --git a/src/app/api/templates/route.ts b/next/src/app/api/templates/route.ts
similarity index 100%
rename from src/app/api/templates/route.ts
rename to next/src/app/api/templates/route.ts
diff --git a/src/app/favicon.ico b/next/src/app/favicon.ico
similarity index 100%
rename from src/app/favicon.ico
rename to next/src/app/favicon.ico
diff --git a/src/app/globals.css b/next/src/app/globals.css
similarity index 88%
rename from src/app/globals.css
rename to next/src/app/globals.css
index 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.tsx
similarity index 54%
rename from src/app/layout.tsx
rename to next/src/app/layout.tsx
index 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>
<body
className="min-h-full bg-[var(--paper)] text-[var(--ink)] selection:bg-[var(--coral)]/30"
suppressHydrationWarning
diff --git a/src/app/page.tsx b/next/src/app/page.tsx
similarity index 100%
rename from src/app/page.tsx
rename to next/src/app/page.tsx
diff --git a/src/components/ai-prompt-bar.tsx b/next/src/components/ai-prompt-bar.tsx
similarity index 100%
rename from src/components/ai-prompt-bar.tsx
rename to next/src/components/ai-prompt-bar.tsx
diff --git a/src/components/convert-chip.tsx b/next/src/components/convert-chip.tsx
similarity index 100%
rename from src/components/convert-chip.tsx
rename to next/src/components/convert-chip.tsx
diff --git a/src/components/deck-viewer.tsx b/next/src/components/deck-viewer.tsx
similarity index 100%
rename from src/components/deck-viewer.tsx
rename to next/src/components/deck-viewer.tsx
diff --git a/src/components/deploy-control.tsx b/next/src/components/deploy-control.tsx
similarity index 100%
rename from src/components/deploy-control.tsx
rename to next/src/components/deploy-control.tsx
diff --git a/src/components/drafts-menu.tsx b/next/src/components/drafts-menu.tsx
similarity index 100%
rename from src/components/drafts-menu.tsx
rename to next/src/components/drafts-menu.tsx
diff --git a/src/components/editor-pane.tsx b/next/src/components/editor-pane.tsx
similarity index 100%
rename from src/components/editor-pane.tsx
rename to next/src/components/editor-pane.tsx
diff --git a/src/components/export-menu.tsx b/next/src/components/export-menu.tsx
similarity index 100%
rename from src/components/export-menu.tsx
rename to next/src/components/export-menu.tsx
diff --git a/src/components/formats-gallery.tsx b/next/src/components/formats-gallery.tsx
similarity index 100%
rename from src/components/formats-gallery.tsx
rename to next/src/components/formats-gallery.tsx
diff --git a/src/components/layout-mode-toggle.tsx b/next/src/components/layout-mode-toggle.tsx
similarity index 100%
rename from src/components/layout-mode-toggle.tsx
rename to next/src/components/layout-mode-toggle.tsx
diff --git a/src/components/preview-pane.tsx b/next/src/components/preview-pane.tsx
similarity index 100%
rename from src/components/preview-pane.tsx
rename to next/src/components/preview-pane.tsx
diff --git a/src/components/samples-gallery.tsx b/next/src/components/samples-gallery.tsx
similarity index 100%
rename from src/components/samples-gallery.tsx
rename to next/src/components/samples-gallery.tsx
diff --git a/src/components/settings-modal.tsx b/next/src/components/settings-modal.tsx
similarity index 100%
rename from src/components/settings-modal.tsx
rename to next/src/components/settings-modal.tsx
diff --git a/src/components/tasks-sidebar.tsx b/next/src/components/tasks-sidebar.tsx
similarity index 100%
rename from src/components/tasks-sidebar.tsx
rename to next/src/components/tasks-sidebar.tsx
diff --git a/src/components/template-picker.tsx b/next/src/components/template-picker.tsx
similarity index 100%
rename from src/components/template-picker.tsx
rename to next/src/components/template-picker.tsx
diff --git a/src/components/toolbar.tsx b/next/src/components/toolbar.tsx
similarity index 100%
rename from src/components/toolbar.tsx
rename to next/src/components/toolbar.tsx
diff --git a/src/components/welcome-modal.tsx b/next/src/components/welcome-modal.tsx
similarity index 100%
rename from src/components/welcome-modal.tsx
rename to next/src/components/welcome-modal.tsx
diff --git a/next/src/lib/__tests__/extract-html.test.ts b/next/src/lib/__tests__/extract-html.test.ts
new file mode 100644
index 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 &lt;world&gt;");
+ });
+});
+
+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.ts
similarity index 100%
rename from src/lib/agents/argv.ts
rename to next/src/lib/agents/argv.ts
diff --git a/src/lib/agents/detect.ts b/next/src/lib/agents/detect.ts
similarity index 100%
rename from src/lib/agents/detect.ts
rename to next/src/lib/agents/detect.ts
diff --git a/src/lib/agents/invoke.ts b/next/src/lib/agents/invoke.ts
similarity index 100%
rename from src/lib/agents/invoke.ts
rename to next/src/lib/agents/invoke.ts
diff --git a/src/lib/deck.ts b/next/src/lib/deck.ts
similarity index 100%
rename from src/lib/deck.ts
rename to next/src/lib/deck.ts
diff --git a/src/lib/deploy/config.ts b/next/src/lib/deploy/config.ts
similarity index 100%
rename from src/lib/deploy/config.ts
rename to next/src/lib/deploy/config.ts
diff --git a/src/lib/deploy/url-check.ts b/next/src/lib/deploy/url-check.ts
similarity index 100%
rename from src/lib/deploy/url-check.ts
rename to next/src/lib/deploy/url-check.ts
diff --git a/src/lib/deploy/vercel.ts b/next/src/lib/deploy/vercel.ts
similarity index 100%
rename from src/lib/deploy/vercel.ts
rename to next/src/lib/deploy/vercel.ts
diff --git a/src/lib/drafts.ts b/next/src/lib/drafts.ts
similarity index 100%
rename from src/lib/drafts.ts
rename to next/src/lib/drafts.ts
diff --git a/src/lib/export/clipboard.ts b/next/src/lib/export/clipboard.ts
similarity index 100%
rename from src/lib/export/clipboard.ts
rename to next/src/lib/export/clipboard.ts
diff --git a/src/lib/export/deck.ts b/next/src/lib/export/deck.ts
similarity index 100%
rename from src/lib/export/deck.ts
rename to next/src/lib/export/deck.ts
diff --git a/src/lib/export/download.ts b/next/src/lib/export/download.ts
similarity index 100%
rename from src/lib/export/download.ts
rename to next/src/lib/export/download.ts
diff --git a/src/lib/export/image.ts b/next/src/lib/export/image.ts
similarity index 100%
rename from src/lib/export/image.ts
rename to next/src/lib/export/image.ts
diff --git a/src/lib/export/remotion.ts b/next/src/lib/export/remotion.ts
similarity index 100%
rename from src/lib/export/remotion.ts
rename to next/src/lib/export/remotion.ts
diff --git a/src/lib/export/wechat.ts b/next/src/lib/export/wechat.ts
similarity index 100%
rename from src/lib/export/wechat.ts
rename to next/src/lib/export/wechat.ts
diff --git a/src/lib/export/zhihu.ts b/next/src/lib/export/zhihu.ts
similarity index 100%
rename from src/lib/export/zhihu.ts
rename to next/src/lib/export/zhihu.ts
diff --git a/src/lib/extract-html.ts b/next/src/lib/extract-html.ts
similarity index 100%
rename from src/lib/extract-html.ts
rename to next/src/lib/extract-html.ts
diff --git a/src/lib/hyperframes.ts b/next/src/lib/hyperframes.ts
similarity index 100%
rename from src/lib/hyperframes.ts
rename to next/src/lib/hyperframes.ts
diff --git a/src/lib/i18n.ts b/next/src/lib/i18n.ts
similarity index 100%
rename from src/lib/i18n.ts
rename to next/src/lib/i18n.ts
diff --git a/src/lib/parsers/auto.ts b/next/src/lib/parsers/auto.ts
similarity index 100%
rename from src/lib/parsers/auto.ts
rename to next/src/lib/parsers/auto.ts
diff --git a/src/lib/parsers/file.ts b/next/src/lib/parsers/file.ts
similarity index 100%
rename from src/lib/parsers/file.ts
rename to next/src/lib/parsers/file.ts
diff --git a/src/lib/store.ts b/next/src/lib/store.ts
similarity index 100%
rename from src/lib/store.ts
rename to next/src/lib/store.ts
diff --git a/src/lib/templates/index.ts b/next/src/lib/templates/index.ts
similarity index 100%
rename from src/lib/templates/index.ts
rename to next/src/lib/templates/index.ts
diff --git a/src/lib/templates/loader.ts b/next/src/lib/templates/loader.ts
similarity index 100%
rename from src/lib/templates/loader.ts
rename to next/src/lib/templates/loader.ts
diff --git a/src/lib/templates/scenarios.ts b/next/src/lib/templates/scenarios.ts
similarity index 100%
rename from src/lib/templates/scenarios.ts
rename to next/src/lib/templates/scenarios.ts
diff --git a/src/lib/templates/shared.ts b/next/src/lib/templates/shared.ts
similarity index 100%
rename from src/lib/templates/shared.ts
rename to next/src/lib/templates/shared.ts
diff --git a/src/lib/templates/skills/article-magazine/SKILL.md b/next/src/lib/templates/skills/article-magazine/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/article-magazine/SKILL.md
rename to next/src/lib/templates/skills/article-magazine/SKILL.md
diff --git a/src/lib/templates/skills/article-magazine/example.html b/next/src/lib/templates/skills/article-magazine/example.html
similarity index 100%
rename from src/lib/templates/skills/article-magazine/example.html
rename to next/src/lib/templates/skills/article-magazine/example.html
diff --git a/src/lib/templates/skills/article-magazine/example.md b/next/src/lib/templates/skills/article-magazine/example.md
similarity index 100%
rename from src/lib/templates/skills/article-magazine/example.md
rename to next/src/lib/templates/skills/article-magazine/example.md
diff --git a/src/lib/templates/skills/blog-post/SKILL.md b/next/src/lib/templates/skills/blog-post/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/blog-post/SKILL.md
rename to next/src/lib/templates/skills/blog-post/SKILL.md
diff --git a/src/lib/templates/skills/blog-post/example.html b/next/src/lib/templates/skills/blog-post/example.html
similarity index 100%
rename from src/lib/templates/skills/blog-post/example.html
rename to next/src/lib/templates/skills/blog-post/example.html
diff --git a/src/lib/templates/skills/card-twitter/SKILL.md b/next/src/lib/templates/skills/card-twitter/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/card-twitter/SKILL.md
rename to next/src/lib/templates/skills/card-twitter/SKILL.md
diff --git a/src/lib/templates/skills/card-twitter/example.html b/next/src/lib/templates/skills/card-twitter/example.html
similarity index 100%
rename from src/lib/templates/skills/card-twitter/example.html
rename to next/src/lib/templates/skills/card-twitter/example.html
diff --git a/src/lib/templates/skills/card-twitter/example.md b/next/src/lib/templates/skills/card-twitter/example.md
similarity index 100%
rename from src/lib/templates/skills/card-twitter/example.md
rename to next/src/lib/templates/skills/card-twitter/example.md
diff --git a/src/lib/templates/skills/card-xiaohongshu/SKILL.md b/next/src/lib/templates/skills/card-xiaohongshu/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/card-xiaohongshu/SKILL.md
rename to next/src/lib/templates/skills/card-xiaohongshu/SKILL.md
diff --git a/src/lib/templates/skills/card-xiaohongshu/example.html b/next/src/lib/templates/skills/card-xiaohongshu/example.html
similarity index 100%
rename from src/lib/templates/skills/card-xiaohongshu/example.html
rename to next/src/lib/templates/skills/card-xiaohongshu/example.html
diff --git a/src/lib/templates/skills/card-xiaohongshu/example.md b/next/src/lib/templates/skills/card-xiaohongshu/example.md
similarity index 100%
rename from src/lib/templates/skills/card-xiaohongshu/example.md
rename to next/src/lib/templates/skills/card-xiaohongshu/example.md
diff --git a/src/lib/templates/skills/dashboard/SKILL.md b/next/src/lib/templates/skills/dashboard/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/dashboard/SKILL.md
rename to next/src/lib/templates/skills/dashboard/SKILL.md
diff --git a/src/lib/templates/skills/dashboard/example.html b/next/src/lib/templates/skills/dashboard/example.html
similarity index 100%
rename from src/lib/templates/skills/dashboard/example.html
rename to next/src/lib/templates/skills/dashboard/example.html
diff --git a/src/lib/templates/skills/data-report/SKILL.md b/next/src/lib/templates/skills/data-report/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/data-report/SKILL.md
rename to next/src/lib/templates/skills/data-report/SKILL.md
diff --git a/src/lib/templates/skills/data-report/example.html b/next/src/lib/templates/skills/data-report/example.html
similarity index 100%
rename from src/lib/templates/skills/data-report/example.html
rename to next/src/lib/templates/skills/data-report/example.html
diff --git a/src/lib/templates/skills/data-report/example.md b/next/src/lib/templates/skills/data-report/example.md
similarity index 100%
rename from src/lib/templates/skills/data-report/example.md
rename to next/src/lib/templates/skills/data-report/example.md
diff --git a/src/lib/templates/skills/dating-web/SKILL.md b/next/src/lib/templates/skills/dating-web/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/dating-web/SKILL.md
rename to next/src/lib/templates/skills/dating-web/SKILL.md
diff --git a/src/lib/templates/skills/dating-web/example.html b/next/src/lib/templates/skills/dating-web/example.html
similarity index 100%
rename from src/lib/templates/skills/dating-web/example.html
rename to next/src/lib/templates/skills/dating-web/example.html
diff --git a/src/lib/templates/skills/deck-blueprint/SKILL.md b/next/src/lib/templates/skills/deck-blueprint/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-blueprint/SKILL.md
rename to next/src/lib/templates/skills/deck-blueprint/SKILL.md
diff --git a/src/lib/templates/skills/deck-blueprint/example.html b/next/src/lib/templates/skills/deck-blueprint/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-blueprint/example.html
rename to next/src/lib/templates/skills/deck-blueprint/example.html
diff --git a/src/lib/templates/skills/deck-course-module/SKILL.md b/next/src/lib/templates/skills/deck-course-module/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-course-module/SKILL.md
rename to next/src/lib/templates/skills/deck-course-module/SKILL.md
diff --git a/src/lib/templates/skills/deck-course-module/example.html b/next/src/lib/templates/skills/deck-course-module/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-course-module/example.html
rename to next/src/lib/templates/skills/deck-course-module/example.html
diff --git a/src/lib/templates/skills/deck-dir-key-nav/SKILL.md b/next/src/lib/templates/skills/deck-dir-key-nav/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-dir-key-nav/SKILL.md
rename to next/src/lib/templates/skills/deck-dir-key-nav/SKILL.md
diff --git a/src/lib/templates/skills/deck-dir-key-nav/example.html b/next/src/lib/templates/skills/deck-dir-key-nav/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-dir-key-nav/example.html
rename to next/src/lib/templates/skills/deck-dir-key-nav/example.html
diff --git a/src/lib/templates/skills/deck-graphify-dark/SKILL.md b/next/src/lib/templates/skills/deck-graphify-dark/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-graphify-dark/SKILL.md
rename to next/src/lib/templates/skills/deck-graphify-dark/SKILL.md
diff --git a/src/lib/templates/skills/deck-graphify-dark/example.html b/next/src/lib/templates/skills/deck-graphify-dark/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-graphify-dark/example.html
rename to next/src/lib/templates/skills/deck-graphify-dark/example.html
diff --git a/src/lib/templates/skills/deck-guizang-editorial/SKILL.md b/next/src/lib/templates/skills/deck-guizang-editorial/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-guizang-editorial/SKILL.md
rename to next/src/lib/templates/skills/deck-guizang-editorial/SKILL.md
diff --git a/src/lib/templates/skills/deck-guizang-editorial/example.html b/next/src/lib/templates/skills/deck-guizang-editorial/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-guizang-editorial/example.html
rename to next/src/lib/templates/skills/deck-guizang-editorial/example.html
diff --git a/src/lib/templates/skills/deck-guizang-editorial/example.md b/next/src/lib/templates/skills/deck-guizang-editorial/example.md
similarity index 100%
rename from src/lib/templates/skills/deck-guizang-editorial/example.md
rename to next/src/lib/templates/skills/deck-guizang-editorial/example.md
diff --git a/src/lib/templates/skills/deck-hermes-cyber/SKILL.md b/next/src/lib/templates/skills/deck-hermes-cyber/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-hermes-cyber/SKILL.md
rename to next/src/lib/templates/skills/deck-hermes-cyber/SKILL.md
diff --git a/src/lib/templates/skills/deck-hermes-cyber/example.html b/next/src/lib/templates/skills/deck-hermes-cyber/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-hermes-cyber/example.html
rename to next/src/lib/templates/skills/deck-hermes-cyber/example.html
diff --git a/src/lib/templates/skills/deck-magazine-web/SKILL.md b/next/src/lib/templates/skills/deck-magazine-web/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-magazine-web/SKILL.md
rename to next/src/lib/templates/skills/deck-magazine-web/SKILL.md
diff --git a/src/lib/templates/skills/deck-magazine-web/example.html b/next/src/lib/templates/skills/deck-magazine-web/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-magazine-web/example.html
rename to next/src/lib/templates/skills/deck-magazine-web/example.html
diff --git a/src/lib/templates/skills/deck-obsidian-claude/SKILL.md b/next/src/lib/templates/skills/deck-obsidian-claude/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-obsidian-claude/SKILL.md
rename to next/src/lib/templates/skills/deck-obsidian-claude/SKILL.md
diff --git a/src/lib/templates/skills/deck-obsidian-claude/example.html b/next/src/lib/templates/skills/deck-obsidian-claude/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-obsidian-claude/example.html
rename to next/src/lib/templates/skills/deck-obsidian-claude/example.html
diff --git a/src/lib/templates/skills/deck-open-slide-canvas/SKILL.md b/next/src/lib/templates/skills/deck-open-slide-canvas/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-open-slide-canvas/SKILL.md
rename to next/src/lib/templates/skills/deck-open-slide-canvas/SKILL.md
diff --git a/src/lib/templates/skills/deck-open-slide-canvas/example.html b/next/src/lib/templates/skills/deck-open-slide-canvas/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-open-slide-canvas/example.html
rename to next/src/lib/templates/skills/deck-open-slide-canvas/example.html
diff --git a/src/lib/templates/skills/deck-open-slide-canvas/example.md b/next/src/lib/templates/skills/deck-open-slide-canvas/example.md
similarity index 100%
rename from src/lib/templates/skills/deck-open-slide-canvas/example.md
rename to next/src/lib/templates/skills/deck-open-slide-canvas/example.md
diff --git a/src/lib/templates/skills/deck-pitch/SKILL.md b/next/src/lib/templates/skills/deck-pitch/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-pitch/SKILL.md
rename to next/src/lib/templates/skills/deck-pitch/SKILL.md
diff --git a/src/lib/templates/skills/deck-pitch/example.html b/next/src/lib/templates/skills/deck-pitch/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-pitch/example.html
rename to next/src/lib/templates/skills/deck-pitch/example.html
diff --git a/src/lib/templates/skills/deck-presenter-mode/SKILL.md b/next/src/lib/templates/skills/deck-presenter-mode/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-presenter-mode/SKILL.md
rename to next/src/lib/templates/skills/deck-presenter-mode/SKILL.md
diff --git a/src/lib/templates/skills/deck-presenter-mode/example.html b/next/src/lib/templates/skills/deck-presenter-mode/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-presenter-mode/example.html
rename to next/src/lib/templates/skills/deck-presenter-mode/example.html
diff --git a/src/lib/templates/skills/deck-product-launch/SKILL.md b/next/src/lib/templates/skills/deck-product-launch/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-product-launch/SKILL.md
rename to next/src/lib/templates/skills/deck-product-launch/SKILL.md
diff --git a/src/lib/templates/skills/deck-product-launch/example.html b/next/src/lib/templates/skills/deck-product-launch/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-product-launch/example.html
rename to next/src/lib/templates/skills/deck-product-launch/example.html
diff --git a/src/lib/templates/skills/deck-replit/SKILL.md b/next/src/lib/templates/skills/deck-replit/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-replit/SKILL.md
rename to next/src/lib/templates/skills/deck-replit/SKILL.md
diff --git a/src/lib/templates/skills/deck-replit/example.html b/next/src/lib/templates/skills/deck-replit/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-replit/example.html
rename to next/src/lib/templates/skills/deck-replit/example.html
diff --git a/src/lib/templates/skills/deck-replit/example.md b/next/src/lib/templates/skills/deck-replit/example.md
similarity index 100%
rename from src/lib/templates/skills/deck-replit/example.md
rename to next/src/lib/templates/skills/deck-replit/example.md
diff --git a/src/lib/templates/skills/deck-safety-alert/SKILL.md b/next/src/lib/templates/skills/deck-safety-alert/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-safety-alert/SKILL.md
rename to next/src/lib/templates/skills/deck-safety-alert/SKILL.md
diff --git a/src/lib/templates/skills/deck-safety-alert/example.html b/next/src/lib/templates/skills/deck-safety-alert/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-safety-alert/example.html
rename to next/src/lib/templates/skills/deck-safety-alert/example.html
diff --git a/src/lib/templates/skills/deck-simple/SKILL.md b/next/src/lib/templates/skills/deck-simple/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-simple/SKILL.md
rename to next/src/lib/templates/skills/deck-simple/SKILL.md
diff --git a/src/lib/templates/skills/deck-simple/example.html b/next/src/lib/templates/skills/deck-simple/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-simple/example.html
rename to next/src/lib/templates/skills/deck-simple/example.html
diff --git a/src/lib/templates/skills/deck-swiss-international/SKILL.md b/next/src/lib/templates/skills/deck-swiss-international/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-swiss-international/SKILL.md
rename to next/src/lib/templates/skills/deck-swiss-international/SKILL.md
diff --git a/src/lib/templates/skills/deck-swiss-international/example.html b/next/src/lib/templates/skills/deck-swiss-international/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-swiss-international/example.html
rename to next/src/lib/templates/skills/deck-swiss-international/example.html
diff --git a/src/lib/templates/skills/deck-swiss-international/example.md b/next/src/lib/templates/skills/deck-swiss-international/example.md
similarity index 100%
rename from src/lib/templates/skills/deck-swiss-international/example.md
rename to next/src/lib/templates/skills/deck-swiss-international/example.md
diff --git a/src/lib/templates/skills/deck-tech-sharing/SKILL.md b/next/src/lib/templates/skills/deck-tech-sharing/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-tech-sharing/SKILL.md
rename to next/src/lib/templates/skills/deck-tech-sharing/SKILL.md
diff --git a/src/lib/templates/skills/deck-tech-sharing/example.html b/next/src/lib/templates/skills/deck-tech-sharing/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-tech-sharing/example.html
rename to next/src/lib/templates/skills/deck-tech-sharing/example.html
diff --git a/src/lib/templates/skills/deck-xhs-pastel/SKILL.md b/next/src/lib/templates/skills/deck-xhs-pastel/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-xhs-pastel/SKILL.md
rename to next/src/lib/templates/skills/deck-xhs-pastel/SKILL.md
diff --git a/src/lib/templates/skills/deck-xhs-pastel/example.html b/next/src/lib/templates/skills/deck-xhs-pastel/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-xhs-pastel/example.html
rename to next/src/lib/templates/skills/deck-xhs-pastel/example.html
diff --git a/src/lib/templates/skills/deck-xhs-post/SKILL.md b/next/src/lib/templates/skills/deck-xhs-post/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-xhs-post/SKILL.md
rename to next/src/lib/templates/skills/deck-xhs-post/SKILL.md
diff --git a/src/lib/templates/skills/deck-xhs-post/example.html b/next/src/lib/templates/skills/deck-xhs-post/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-xhs-post/example.html
rename to next/src/lib/templates/skills/deck-xhs-post/example.html
diff --git a/src/lib/templates/skills/deck-xhs-white/SKILL.md b/next/src/lib/templates/skills/deck-xhs-white/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/deck-xhs-white/SKILL.md
rename to next/src/lib/templates/skills/deck-xhs-white/SKILL.md
diff --git a/src/lib/templates/skills/deck-xhs-white/example.html b/next/src/lib/templates/skills/deck-xhs-white/example.html
similarity index 100%
rename from src/lib/templates/skills/deck-xhs-white/example.html
rename to next/src/lib/templates/skills/deck-xhs-white/example.html
diff --git a/src/lib/templates/skills/digital-eguide/SKILL.md b/next/src/lib/templates/skills/digital-eguide/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/digital-eguide/SKILL.md
rename to next/src/lib/templates/skills/digital-eguide/SKILL.md
diff --git a/src/lib/templates/skills/digital-eguide/example.html b/next/src/lib/templates/skills/digital-eguide/example.html
similarity index 100%
rename from src/lib/templates/skills/digital-eguide/example.html
rename to next/src/lib/templates/skills/digital-eguide/example.html
diff --git a/src/lib/templates/skills/doc-kami-parchment/SKILL.md b/next/src/lib/templates/skills/doc-kami-parchment/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/doc-kami-parchment/SKILL.md
rename to next/src/lib/templates/skills/doc-kami-parchment/SKILL.md
diff --git a/src/lib/templates/skills/doc-kami-parchment/example.html b/next/src/lib/templates/skills/doc-kami-parchment/example.html
similarity index 100%
rename from src/lib/templates/skills/doc-kami-parchment/example.html
rename to next/src/lib/templates/skills/doc-kami-parchment/example.html
diff --git a/src/lib/templates/skills/doc-kami-parchment/example.md b/next/src/lib/templates/skills/doc-kami-parchment/example.md
similarity index 100%
rename from src/lib/templates/skills/doc-kami-parchment/example.md
rename to next/src/lib/templates/skills/doc-kami-parchment/example.md
diff --git a/src/lib/templates/skills/docs-page/SKILL.md b/next/src/lib/templates/skills/docs-page/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/docs-page/SKILL.md
rename to next/src/lib/templates/skills/docs-page/SKILL.md
diff --git a/src/lib/templates/skills/docs-page/example.html b/next/src/lib/templates/skills/docs-page/example.html
similarity index 100%
rename from src/lib/templates/skills/docs-page/example.html
rename to next/src/lib/templates/skills/docs-page/example.html
diff --git a/src/lib/templates/skills/email-marketing/SKILL.md b/next/src/lib/templates/skills/email-marketing/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/email-marketing/SKILL.md
rename to next/src/lib/templates/skills/email-marketing/SKILL.md
diff --git a/src/lib/templates/skills/email-marketing/example.html b/next/src/lib/templates/skills/email-marketing/example.html
similarity index 100%
rename from src/lib/templates/skills/email-marketing/example.html
rename to next/src/lib/templates/skills/email-marketing/example.html
diff --git a/src/lib/templates/skills/eng-runbook/SKILL.md b/next/src/lib/templates/skills/eng-runbook/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/eng-runbook/SKILL.md
rename to next/src/lib/templates/skills/eng-runbook/SKILL.md
diff --git a/src/lib/templates/skills/eng-runbook/example.html b/next/src/lib/templates/skills/eng-runbook/example.html
similarity index 100%
rename from src/lib/templates/skills/eng-runbook/example.html
rename to next/src/lib/templates/skills/eng-runbook/example.html
diff --git a/src/lib/templates/skills/finance-report/SKILL.md b/next/src/lib/templates/skills/finance-report/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/finance-report/SKILL.md
rename to next/src/lib/templates/skills/finance-report/SKILL.md
diff --git a/src/lib/templates/skills/finance-report/example.html b/next/src/lib/templates/skills/finance-report/example.html
similarity index 100%
rename from src/lib/templates/skills/finance-report/example.html
rename to next/src/lib/templates/skills/finance-report/example.html
diff --git a/src/lib/templates/skills/flowai-team-dashboard/SKILL.md b/next/src/lib/templates/skills/flowai-team-dashboard/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/flowai-team-dashboard/SKILL.md
rename to next/src/lib/templates/skills/flowai-team-dashboard/SKILL.md
diff --git a/src/lib/templates/skills/flowai-team-dashboard/example.html b/next/src/lib/templates/skills/flowai-team-dashboard/example.html
similarity index 100%
rename from src/lib/templates/skills/flowai-team-dashboard/example.html
rename to next/src/lib/templates/skills/flowai-team-dashboard/example.html
diff --git a/src/lib/templates/skills/frame-data-chart-nyt/SKILL.md b/next/src/lib/templates/skills/frame-data-chart-nyt/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/frame-data-chart-nyt/SKILL.md
rename to next/src/lib/templates/skills/frame-data-chart-nyt/SKILL.md
diff --git a/src/lib/templates/skills/frame-data-chart-nyt/example.html b/next/src/lib/templates/skills/frame-data-chart-nyt/example.html
similarity index 100%
rename from src/lib/templates/skills/frame-data-chart-nyt/example.html
rename to next/src/lib/templates/skills/frame-data-chart-nyt/example.html
diff --git a/src/lib/templates/skills/frame-data-chart-nyt/example.md b/next/src/lib/templates/skills/frame-data-chart-nyt/example.md
similarity index 100%
rename from src/lib/templates/skills/frame-data-chart-nyt/example.md
rename to next/src/lib/templates/skills/frame-data-chart-nyt/example.md
diff --git a/src/lib/templates/skills/frame-flowchart-sticky/SKILL.md b/next/src/lib/templates/skills/frame-flowchart-sticky/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/frame-flowchart-sticky/SKILL.md
rename to next/src/lib/templates/skills/frame-flowchart-sticky/SKILL.md
diff --git a/src/lib/templates/skills/frame-flowchart-sticky/example.html b/next/src/lib/templates/skills/frame-flowchart-sticky/example.html
similarity index 100%
rename from src/lib/templates/skills/frame-flowchart-sticky/example.html
rename to next/src/lib/templates/skills/frame-flowchart-sticky/example.html
diff --git a/src/lib/templates/skills/frame-flowchart-sticky/example.md b/next/src/lib/templates/skills/frame-flowchart-sticky/example.md
similarity index 100%
rename from src/lib/templates/skills/frame-flowchart-sticky/example.md
rename to next/src/lib/templates/skills/frame-flowchart-sticky/example.md
diff --git a/src/lib/templates/skills/frame-glitch-title/SKILL.md b/next/src/lib/templates/skills/frame-glitch-title/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/frame-glitch-title/SKILL.md
rename to next/src/lib/templates/skills/frame-glitch-title/SKILL.md
diff --git a/src/lib/templates/skills/frame-glitch-title/example.html b/next/src/lib/templates/skills/frame-glitch-title/example.html
similarity index 100%
rename from src/lib/templates/skills/frame-glitch-title/example.html
rename to next/src/lib/templates/skills/frame-glitch-title/example.html
diff --git a/src/lib/templates/skills/frame-glitch-title/example.md b/next/src/lib/templates/skills/frame-glitch-title/example.md
similarity index 100%
rename from src/lib/templates/skills/frame-glitch-title/example.md
rename to next/src/lib/templates/skills/frame-glitch-title/example.md
diff --git a/src/lib/templates/skills/frame-light-leak-cinema/SKILL.md b/next/src/lib/templates/skills/frame-light-leak-cinema/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/frame-light-leak-cinema/SKILL.md
rename to next/src/lib/templates/skills/frame-light-leak-cinema/SKILL.md
diff --git a/src/lib/templates/skills/frame-light-leak-cinema/example.html b/next/src/lib/templates/skills/frame-light-leak-cinema/example.html
similarity index 100%
rename from src/lib/templates/skills/frame-light-leak-cinema/example.html
rename to next/src/lib/templates/skills/frame-light-leak-cinema/example.html
diff --git a/src/lib/templates/skills/frame-light-leak-cinema/example.md b/next/src/lib/templates/skills/frame-light-leak-cinema/example.md
similarity index 100%
rename from src/lib/templates/skills/frame-light-leak-cinema/example.md
rename to next/src/lib/templates/skills/frame-light-leak-cinema/example.md
diff --git a/src/lib/templates/skills/frame-liquid-bg-hero/SKILL.md b/next/src/lib/templates/skills/frame-liquid-bg-hero/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/frame-liquid-bg-hero/SKILL.md
rename to next/src/lib/templates/skills/frame-liquid-bg-hero/SKILL.md
diff --git a/src/lib/templates/skills/frame-liquid-bg-hero/example.html b/next/src/lib/templates/skills/frame-liquid-bg-hero/example.html
similarity index 100%
rename from src/lib/templates/skills/frame-liquid-bg-hero/example.html
rename to next/src/lib/templates/skills/frame-liquid-bg-hero/example.html
diff --git a/src/lib/templates/skills/frame-liquid-bg-hero/example.md b/next/src/lib/templates/skills/frame-liquid-bg-hero/example.md
similarity index 100%
rename from src/lib/templates/skills/frame-liquid-bg-hero/example.md
rename to next/src/lib/templates/skills/frame-liquid-bg-hero/example.md
diff --git a/src/lib/templates/skills/frame-logo-outro/SKILL.md b/next/src/lib/templates/skills/frame-logo-outro/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/frame-logo-outro/SKILL.md
rename to next/src/lib/templates/skills/frame-logo-outro/SKILL.md
diff --git a/src/lib/templates/skills/frame-logo-outro/example.html b/next/src/lib/templates/skills/frame-logo-outro/example.html
similarity index 100%
rename from src/lib/templates/skills/frame-logo-outro/example.html
rename to next/src/lib/templates/skills/frame-logo-outro/example.html
diff --git a/src/lib/templates/skills/frame-logo-outro/example.md b/next/src/lib/templates/skills/frame-logo-outro/example.md
similarity index 100%
rename from src/lib/templates/skills/frame-logo-outro/example.md
rename to next/src/lib/templates/skills/frame-logo-outro/example.md
diff --git a/src/lib/templates/skills/frame-macos-notification/SKILL.md b/next/src/lib/templates/skills/frame-macos-notification/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/frame-macos-notification/SKILL.md
rename to next/src/lib/templates/skills/frame-macos-notification/SKILL.md
diff --git a/src/lib/templates/skills/frame-macos-notification/example.html b/next/src/lib/templates/skills/frame-macos-notification/example.html
similarity index 100%
rename from src/lib/templates/skills/frame-macos-notification/example.html
rename to next/src/lib/templates/skills/frame-macos-notification/example.html
diff --git a/src/lib/templates/skills/frame-macos-notification/example.md b/next/src/lib/templates/skills/frame-macos-notification/example.md
similarity index 100%
rename from src/lib/templates/skills/frame-macos-notification/example.md
rename to next/src/lib/templates/skills/frame-macos-notification/example.md
diff --git a/src/lib/templates/skills/gamified-app/SKILL.md b/next/src/lib/templates/skills/gamified-app/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/gamified-app/SKILL.md
rename to next/src/lib/templates/skills/gamified-app/SKILL.md
diff --git a/src/lib/templates/skills/gamified-app/example.html b/next/src/lib/templates/skills/gamified-app/example.html
similarity index 100%
rename from src/lib/templates/skills/gamified-app/example.html
rename to next/src/lib/templates/skills/gamified-app/example.html
diff --git a/src/lib/templates/skills/hr-onboarding/SKILL.md b/next/src/lib/templates/skills/hr-onboarding/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/hr-onboarding/SKILL.md
rename to next/src/lib/templates/skills/hr-onboarding/SKILL.md
diff --git a/src/lib/templates/skills/hr-onboarding/example.html b/next/src/lib/templates/skills/hr-onboarding/example.html
similarity index 100%
rename from src/lib/templates/skills/hr-onboarding/example.html
rename to next/src/lib/templates/skills/hr-onboarding/example.html
diff --git a/src/lib/templates/skills/invoice/SKILL.md b/next/src/lib/templates/skills/invoice/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/invoice/SKILL.md
rename to next/src/lib/templates/skills/invoice/SKILL.md
diff --git a/src/lib/templates/skills/invoice/example.html b/next/src/lib/templates/skills/invoice/example.html
similarity index 100%
rename from src/lib/templates/skills/invoice/example.html
rename to next/src/lib/templates/skills/invoice/example.html
diff --git a/src/lib/templates/skills/kanban-board/SKILL.md b/next/src/lib/templates/skills/kanban-board/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/kanban-board/SKILL.md
rename to next/src/lib/templates/skills/kanban-board/SKILL.md
diff --git a/src/lib/templates/skills/kanban-board/example.html b/next/src/lib/templates/skills/kanban-board/example.html
similarity index 100%
rename from src/lib/templates/skills/kanban-board/example.html
rename to next/src/lib/templates/skills/kanban-board/example.html
diff --git a/src/lib/templates/skills/live-dashboard/SKILL.md b/next/src/lib/templates/skills/live-dashboard/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/live-dashboard/SKILL.md
rename to next/src/lib/templates/skills/live-dashboard/SKILL.md
diff --git a/src/lib/templates/skills/live-dashboard/example.html b/next/src/lib/templates/skills/live-dashboard/example.html
similarity index 100%
rename from src/lib/templates/skills/live-dashboard/example.html
rename to next/src/lib/templates/skills/live-dashboard/example.html
diff --git a/src/lib/templates/skills/magazine-poster/SKILL.md b/next/src/lib/templates/skills/magazine-poster/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/magazine-poster/SKILL.md
rename to next/src/lib/templates/skills/magazine-poster/SKILL.md
diff --git a/src/lib/templates/skills/magazine-poster/example.html b/next/src/lib/templates/skills/magazine-poster/example.html
similarity index 100%
rename from src/lib/templates/skills/magazine-poster/example.html
rename to next/src/lib/templates/skills/magazine-poster/example.html
diff --git a/src/lib/templates/skills/meeting-notes/SKILL.md b/next/src/lib/templates/skills/meeting-notes/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/meeting-notes/SKILL.md
rename to next/src/lib/templates/skills/meeting-notes/SKILL.md
diff --git a/src/lib/templates/skills/meeting-notes/example.html b/next/src/lib/templates/skills/meeting-notes/example.html
similarity index 100%
rename from src/lib/templates/skills/meeting-notes/example.html
rename to next/src/lib/templates/skills/meeting-notes/example.html
diff --git a/src/lib/templates/skills/mobile-app/SKILL.md b/next/src/lib/templates/skills/mobile-app/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/mobile-app/SKILL.md
rename to next/src/lib/templates/skills/mobile-app/SKILL.md
diff --git a/src/lib/templates/skills/mobile-app/example.html b/next/src/lib/templates/skills/mobile-app/example.html
similarity index 100%
rename from src/lib/templates/skills/mobile-app/example.html
rename to next/src/lib/templates/skills/mobile-app/example.html
diff --git a/src/lib/templates/skills/mobile-onboarding/SKILL.md b/next/src/lib/templates/skills/mobile-onboarding/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/mobile-onboarding/SKILL.md
rename to next/src/lib/templates/skills/mobile-onboarding/SKILL.md
diff --git a/src/lib/templates/skills/mobile-onboarding/example.html b/next/src/lib/templates/skills/mobile-onboarding/example.html
similarity index 100%
rename from src/lib/templates/skills/mobile-onboarding/example.html
rename to next/src/lib/templates/skills/mobile-onboarding/example.html
diff --git a/src/lib/templates/skills/mockup-device-3d/SKILL.md b/next/src/lib/templates/skills/mockup-device-3d/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/mockup-device-3d/SKILL.md
rename to next/src/lib/templates/skills/mockup-device-3d/SKILL.md
diff --git a/src/lib/templates/skills/mockup-device-3d/example.html b/next/src/lib/templates/skills/mockup-device-3d/example.html
similarity index 100%
rename from src/lib/templates/skills/mockup-device-3d/example.html
rename to next/src/lib/templates/skills/mockup-device-3d/example.html
diff --git a/src/lib/templates/skills/mockup-device-3d/example.md b/next/src/lib/templates/skills/mockup-device-3d/example.md
similarity index 100%
rename from src/lib/templates/skills/mockup-device-3d/example.md
rename to next/src/lib/templates/skills/mockup-device-3d/example.md
diff --git a/src/lib/templates/skills/motion-frames/SKILL.md b/next/src/lib/templates/skills/motion-frames/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/motion-frames/SKILL.md
rename to next/src/lib/templates/skills/motion-frames/SKILL.md
diff --git a/src/lib/templates/skills/motion-frames/example.html b/next/src/lib/templates/skills/motion-frames/example.html
similarity index 100%
rename from src/lib/templates/skills/motion-frames/example.html
rename to next/src/lib/templates/skills/motion-frames/example.html
diff --git a/src/lib/templates/skills/pm-spec/SKILL.md b/next/src/lib/templates/skills/pm-spec/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/pm-spec/SKILL.md
rename to next/src/lib/templates/skills/pm-spec/SKILL.md
diff --git a/src/lib/templates/skills/pm-spec/example.html b/next/src/lib/templates/skills/pm-spec/example.html
similarity index 100%
rename from src/lib/templates/skills/pm-spec/example.html
rename to next/src/lib/templates/skills/pm-spec/example.html
diff --git a/src/lib/templates/skills/poster-hero/SKILL.md b/next/src/lib/templates/skills/poster-hero/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/poster-hero/SKILL.md
rename to next/src/lib/templates/skills/poster-hero/SKILL.md
diff --git a/src/lib/templates/skills/poster-hero/example.html b/next/src/lib/templates/skills/poster-hero/example.html
similarity index 100%
rename from src/lib/templates/skills/poster-hero/example.html
rename to next/src/lib/templates/skills/poster-hero/example.html
diff --git a/src/lib/templates/skills/poster-hero/example.md b/next/src/lib/templates/skills/poster-hero/example.md
similarity index 100%
rename from src/lib/templates/skills/poster-hero/example.md
rename to next/src/lib/templates/skills/poster-hero/example.md
diff --git a/src/lib/templates/skills/ppt-keynote/SKILL.md b/next/src/lib/templates/skills/ppt-keynote/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/ppt-keynote/SKILL.md
rename to next/src/lib/templates/skills/ppt-keynote/SKILL.md
diff --git a/src/lib/templates/skills/ppt-keynote/example.html b/next/src/lib/templates/skills/ppt-keynote/example.html
similarity index 100%
rename from src/lib/templates/skills/ppt-keynote/example.html
rename to next/src/lib/templates/skills/ppt-keynote/example.html
diff --git a/src/lib/templates/skills/ppt-keynote/example.md b/next/src/lib/templates/skills/ppt-keynote/example.md
similarity index 100%
rename from src/lib/templates/skills/ppt-keynote/example.md
rename to next/src/lib/templates/skills/ppt-keynote/example.md
diff --git a/src/lib/templates/skills/pricing-page/SKILL.md b/next/src/lib/templates/skills/pricing-page/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/pricing-page/SKILL.md
rename to next/src/lib/templates/skills/pricing-page/SKILL.md
diff --git a/src/lib/templates/skills/pricing-page/example.html b/next/src/lib/templates/skills/pricing-page/example.html
similarity index 100%
rename from src/lib/templates/skills/pricing-page/example.html
rename to next/src/lib/templates/skills/pricing-page/example.html
diff --git a/src/lib/templates/skills/prototype-web/SKILL.md b/next/src/lib/templates/skills/prototype-web/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/prototype-web/SKILL.md
rename to next/src/lib/templates/skills/prototype-web/SKILL.md
diff --git a/src/lib/templates/skills/prototype-web/example.html b/next/src/lib/templates/skills/prototype-web/example.html
similarity index 100%
rename from src/lib/templates/skills/prototype-web/example.html
rename to next/src/lib/templates/skills/prototype-web/example.html
diff --git a/src/lib/templates/skills/prototype-web/example.md b/next/src/lib/templates/skills/prototype-web/example.md
similarity index 100%
rename from src/lib/templates/skills/prototype-web/example.md
rename to next/src/lib/templates/skills/prototype-web/example.md
diff --git a/src/lib/templates/skills/resume-modern/SKILL.md b/next/src/lib/templates/skills/resume-modern/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/resume-modern/SKILL.md
rename to next/src/lib/templates/skills/resume-modern/SKILL.md
diff --git a/src/lib/templates/skills/resume-modern/example.html b/next/src/lib/templates/skills/resume-modern/example.html
similarity index 100%
rename from src/lib/templates/skills/resume-modern/example.html
rename to next/src/lib/templates/skills/resume-modern/example.html
diff --git a/src/lib/templates/skills/resume-modern/example.md b/next/src/lib/templates/skills/resume-modern/example.md
similarity index 100%
rename from src/lib/templates/skills/resume-modern/example.md
rename to next/src/lib/templates/skills/resume-modern/example.md
diff --git a/src/lib/templates/skills/saas-landing/SKILL.md b/next/src/lib/templates/skills/saas-landing/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/saas-landing/SKILL.md
rename to next/src/lib/templates/skills/saas-landing/SKILL.md
diff --git a/src/lib/templates/skills/saas-landing/example.html b/next/src/lib/templates/skills/saas-landing/example.html
similarity index 100%
rename from src/lib/templates/skills/saas-landing/example.html
rename to next/src/lib/templates/skills/saas-landing/example.html
diff --git a/src/lib/templates/skills/social-carousel/SKILL.md b/next/src/lib/templates/skills/social-carousel/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/social-carousel/SKILL.md
rename to next/src/lib/templates/skills/social-carousel/SKILL.md
diff --git a/src/lib/templates/skills/social-carousel/example.html b/next/src/lib/templates/skills/social-carousel/example.html
similarity index 100%
rename from src/lib/templates/skills/social-carousel/example.html
rename to next/src/lib/templates/skills/social-carousel/example.html
diff --git a/src/lib/templates/skills/social-media-dashboard/SKILL.md b/next/src/lib/templates/skills/social-media-dashboard/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/social-media-dashboard/SKILL.md
rename to next/src/lib/templates/skills/social-media-dashboard/SKILL.md
diff --git a/src/lib/templates/skills/social-media-dashboard/example.html b/next/src/lib/templates/skills/social-media-dashboard/example.html
similarity index 100%
rename from src/lib/templates/skills/social-media-dashboard/example.html
rename to next/src/lib/templates/skills/social-media-dashboard/example.html
diff --git a/src/lib/templates/skills/social-media-matrix/SKILL.md b/next/src/lib/templates/skills/social-media-matrix/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/social-media-matrix/SKILL.md
rename to next/src/lib/templates/skills/social-media-matrix/SKILL.md
diff --git a/src/lib/templates/skills/social-media-matrix/example.html b/next/src/lib/templates/skills/social-media-matrix/example.html
similarity index 100%
rename from src/lib/templates/skills/social-media-matrix/example.html
rename to next/src/lib/templates/skills/social-media-matrix/example.html
diff --git a/src/lib/templates/skills/social-reddit-card/SKILL.md b/next/src/lib/templates/skills/social-reddit-card/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/social-reddit-card/SKILL.md
rename to next/src/lib/templates/skills/social-reddit-card/SKILL.md
diff --git a/src/lib/templates/skills/social-reddit-card/example.html b/next/src/lib/templates/skills/social-reddit-card/example.html
similarity index 100%
rename from src/lib/templates/skills/social-reddit-card/example.html
rename to next/src/lib/templates/skills/social-reddit-card/example.html
diff --git a/src/lib/templates/skills/social-reddit-card/example.md b/next/src/lib/templates/skills/social-reddit-card/example.md
similarity index 100%
rename from src/lib/templates/skills/social-reddit-card/example.md
rename to next/src/lib/templates/skills/social-reddit-card/example.md
diff --git a/src/lib/templates/skills/social-spotify-card/SKILL.md b/next/src/lib/templates/skills/social-spotify-card/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/social-spotify-card/SKILL.md
rename to next/src/lib/templates/skills/social-spotify-card/SKILL.md
diff --git a/src/lib/templates/skills/social-spotify-card/example.html b/next/src/lib/templates/skills/social-spotify-card/example.html
similarity index 100%
rename from src/lib/templates/skills/social-spotify-card/example.html
rename to next/src/lib/templates/skills/social-spotify-card/example.html
diff --git a/src/lib/templates/skills/social-spotify-card/example.md b/next/src/lib/templates/skills/social-spotify-card/example.md
similarity index 100%
rename from src/lib/templates/skills/social-spotify-card/example.md
rename to next/src/lib/templates/skills/social-spotify-card/example.md
diff --git a/src/lib/templates/skills/social-x-post-card/SKILL.md b/next/src/lib/templates/skills/social-x-post-card/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/social-x-post-card/SKILL.md
rename to next/src/lib/templates/skills/social-x-post-card/SKILL.md
diff --git a/src/lib/templates/skills/social-x-post-card/example.html b/next/src/lib/templates/skills/social-x-post-card/example.html
similarity index 100%
rename from src/lib/templates/skills/social-x-post-card/example.html
rename to next/src/lib/templates/skills/social-x-post-card/example.html
diff --git a/src/lib/templates/skills/social-x-post-card/example.md b/next/src/lib/templates/skills/social-x-post-card/example.md
similarity index 100%
rename from src/lib/templates/skills/social-x-post-card/example.md
rename to next/src/lib/templates/skills/social-x-post-card/example.md
diff --git a/src/lib/templates/skills/sprite-animation/SKILL.md b/next/src/lib/templates/skills/sprite-animation/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/sprite-animation/SKILL.md
rename to next/src/lib/templates/skills/sprite-animation/SKILL.md
diff --git a/src/lib/templates/skills/sprite-animation/example.html b/next/src/lib/templates/skills/sprite-animation/example.html
similarity index 100%
rename from src/lib/templates/skills/sprite-animation/example.html
rename to next/src/lib/templates/skills/sprite-animation/example.html
diff --git a/src/lib/templates/skills/team-okrs/SKILL.md b/next/src/lib/templates/skills/team-okrs/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/team-okrs/SKILL.md
rename to next/src/lib/templates/skills/team-okrs/SKILL.md
diff --git a/src/lib/templates/skills/team-okrs/example.html b/next/src/lib/templates/skills/team-okrs/example.html
similarity index 100%
rename from src/lib/templates/skills/team-okrs/example.html
rename to next/src/lib/templates/skills/team-okrs/example.html
diff --git a/src/lib/templates/skills/vfx-text-cursor/SKILL.md b/next/src/lib/templates/skills/vfx-text-cursor/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/vfx-text-cursor/SKILL.md
rename to next/src/lib/templates/skills/vfx-text-cursor/SKILL.md
diff --git a/src/lib/templates/skills/vfx-text-cursor/example.html b/next/src/lib/templates/skills/vfx-text-cursor/example.html
similarity index 100%
rename from src/lib/templates/skills/vfx-text-cursor/example.html
rename to next/src/lib/templates/skills/vfx-text-cursor/example.html
diff --git a/src/lib/templates/skills/vfx-text-cursor/example.md b/next/src/lib/templates/skills/vfx-text-cursor/example.md
similarity index 100%
rename from src/lib/templates/skills/vfx-text-cursor/example.md
rename to next/src/lib/templates/skills/vfx-text-cursor/example.md
diff --git a/src/lib/templates/skills/video-hyperframes/SKILL.md b/next/src/lib/templates/skills/video-hyperframes/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/video-hyperframes/SKILL.md
rename to next/src/lib/templates/skills/video-hyperframes/SKILL.md
diff --git a/src/lib/templates/skills/video-hyperframes/example.html b/next/src/lib/templates/skills/video-hyperframes/example.html
similarity index 100%
rename from src/lib/templates/skills/video-hyperframes/example.html
rename to next/src/lib/templates/skills/video-hyperframes/example.html
diff --git a/src/lib/templates/skills/video-hyperframes/example.md b/next/src/lib/templates/skills/video-hyperframes/example.md
similarity index 100%
rename from src/lib/templates/skills/video-hyperframes/example.md
rename to next/src/lib/templates/skills/video-hyperframes/example.md
diff --git a/src/lib/templates/skills/waitlist-page/SKILL.md b/next/src/lib/templates/skills/waitlist-page/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/waitlist-page/SKILL.md
rename to next/src/lib/templates/skills/waitlist-page/SKILL.md
diff --git a/src/lib/templates/skills/waitlist-page/example.html b/next/src/lib/templates/skills/waitlist-page/example.html
similarity index 100%
rename from src/lib/templates/skills/waitlist-page/example.html
rename to next/src/lib/templates/skills/waitlist-page/example.html
diff --git a/src/lib/templates/skills/web-proto-brutalist/SKILL.md b/next/src/lib/templates/skills/web-proto-brutalist/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/web-proto-brutalist/SKILL.md
rename to next/src/lib/templates/skills/web-proto-brutalist/SKILL.md
diff --git a/src/lib/templates/skills/web-proto-brutalist/example.html b/next/src/lib/templates/skills/web-proto-brutalist/example.html
similarity index 100%
rename from src/lib/templates/skills/web-proto-brutalist/example.html
rename to next/src/lib/templates/skills/web-proto-brutalist/example.html
diff --git a/src/lib/templates/skills/web-proto-editorial/SKILL.md b/next/src/lib/templates/skills/web-proto-editorial/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/web-proto-editorial/SKILL.md
rename to next/src/lib/templates/skills/web-proto-editorial/SKILL.md
diff --git a/src/lib/templates/skills/web-proto-editorial/example.html b/next/src/lib/templates/skills/web-proto-editorial/example.html
similarity index 100%
rename from src/lib/templates/skills/web-proto-editorial/example.html
rename to next/src/lib/templates/skills/web-proto-editorial/example.html
diff --git a/src/lib/templates/skills/web-proto-soft/SKILL.md b/next/src/lib/templates/skills/web-proto-soft/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/web-proto-soft/SKILL.md
rename to next/src/lib/templates/skills/web-proto-soft/SKILL.md
diff --git a/src/lib/templates/skills/web-proto-soft/example.html b/next/src/lib/templates/skills/web-proto-soft/example.html
similarity index 100%
rename from src/lib/templates/skills/web-proto-soft/example.html
rename to next/src/lib/templates/skills/web-proto-soft/example.html
diff --git a/src/lib/templates/skills/weekly-update/SKILL.md b/next/src/lib/templates/skills/weekly-update/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/weekly-update/SKILL.md
rename to next/src/lib/templates/skills/weekly-update/SKILL.md
diff --git a/src/lib/templates/skills/weekly-update/example.html b/next/src/lib/templates/skills/weekly-update/example.html
similarity index 100%
rename from src/lib/templates/skills/weekly-update/example.html
rename to next/src/lib/templates/skills/weekly-update/example.html
diff --git a/src/lib/templates/skills/wireframe-sketch/SKILL.md b/next/src/lib/templates/skills/wireframe-sketch/SKILL.md
similarity index 100%
rename from src/lib/templates/skills/wireframe-sketch/SKILL.md
rename to next/src/lib/templates/skills/wireframe-sketch/SKILL.md
diff --git a/src/lib/templates/skills/wireframe-sketch/example.html b/next/src/lib/templates/skills/wireframe-sketch/example.html
similarity index 100%
rename from src/lib/templates/skills/wireframe-sketch/example.html
rename to next/src/lib/templates/skills/wireframe-sketch/example.html
diff --git a/src/lib/use-autosave.ts b/next/src/lib/use-autosave.ts
similarity index 100%
rename from src/lib/use-autosave.ts
rename to next/src/lib/use-autosave.ts
diff --git a/src/lib/use-convert.ts b/next/src/lib/use-convert.ts
similarity index 100%
rename from src/lib/use-convert.ts
rename to next/src/lib/use-convert.ts
diff --git a/src/lib/use-deploy.ts b/next/src/lib/use-deploy.ts
similarity index 100%
rename from src/lib/use-deploy.ts
rename to next/src/lib/use-deploy.ts
diff --git a/src/lib/use-draft.ts b/next/src/lib/use-draft.ts
similarity index 100%
rename from src/lib/use-draft.ts
rename to next/src/lib/use-draft.ts
diff --git a/src/lib/use-upload.ts b/next/src/lib/use-upload.ts
similarity index 100%
rename from src/lib/use-upload.ts
rename to next/src/lib/use-upload.ts
diff --git a/tsconfig.json b/next/tsconfig.json
similarity index 100%
rename from tsconfig.json
rename to next/tsconfig.json
diff --git a/next/vitest.config.ts b/next/vitest.config.ts
new file mode 100644
index 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.json
index 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.ts
deleted file mode 100644
index 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.yaml
index 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.13
version: 5.0.13(@types/[email protected])([email protected])
devDependencies:
- '@playwright/test':
- specifier: ^1.60.0
- version: 1.60.0
'@tailwindcss/postcss':
specifier: ^4
version: 4.3.0
@@ -75,12 +96,18 @@ importers:
'@types/react-dom':
specifier: ^19
version: 19.2.3(@types/[email protected])
+ happy-dom:
+ specifier: ^20.9.0
+ version: 20.9.0
tailwindcss:
specifier: ^4
version: 4.3.0
typescript:
specifier: ^5
version: 5.9.3
+ vitest:
+ specifier: ^4.1.6
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]
+
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]
resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
cpu: [arm]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
cpu: [x64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
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]
resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
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]
resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
+ libc: [musl]
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
+
resolution: {integrity: sha512-gd8HoHN4ufj73WmR3JmVolrpJR47ILK6LouP5xElPglaVxir6e1a7VzvTvDWkOoPXT9rkkTzyCxBu4yeZfZwcw==}
@@ -264,24 +475,28 @@ packages:
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-URUTu1+dMkxJsPFgm+OeEvq9wf5sujw0EvgYy80TDGHTSLTnIHeqb0Eu8A3sC95IRgjejQL+kC4mw+4yPxiAXA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-DOj182mPV8G3UkrayLoREM5YEYI+Dk5wv7Ox9xl1fFibAELEsFD0lDPfHIeILlutMMfdyhlzYPELG3peuKaurw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-HKQ5SP/V/ub73UvF7n/zeJlxk2kLmtL7Wzrg4WfmkjmNos5onJ2tKu7yZOPdL18A6Svfn3max29ym+ry7NkK4g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ libc: [musl]
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==}
+
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==}
+
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==}
+
resolution: {integrity: sha512-xxx6M2IpSTnnKcR0cMvIiohkiCx20/oRPtWGbenFygKCGl3zqUzdNjQ/1V4solq1LU+dgv0nQzeGOuqkqZGg0Q==}
@@ -415,6 +750,41 @@ packages:
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.1
optional: 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
+
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]': {}
@@ -1028,10 +1691,65 @@ snapshots:
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]': {}
+
dependencies:
tslib: 2.8.1
@@ -1105,10 +1823,24 @@ snapshots:
postcss: 8.5.14
tailwindcss: 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]': {}
+
dependencies:
dompurify: 3.4.2
+ '@types/[email protected]': {}
+
dependencies:
undici-types: 6.21.0
@@ -1132,10 +1864,59 @@ snapshots:
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
+
+ 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
+
+
@@ -1147,6 +1928,8 @@ snapshots:
adler-32: 1.3.1
crc-32: 1.2.2
+
dependencies:
boolbase: 1.0.0
@@ -1178,6 +1961,8 @@ snapshots:
+
@@ -1234,15 +2019,71 @@ snapshots:
+
+ 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
+
+
+ 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
+
@@ -1403,8 +2246,12 @@ snapshots:
dependencies:
entities: 6.0.1
+
+
@@ -1455,6 +2302,27 @@ snapshots:
string_decoder: 1.1.1
util-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.5
optional: true
+
@@ -1506,6 +2376,10 @@ snapshots:
dependencies:
frac: 1.1.2
+
+
dependencies:
safe-buffer: 5.1.2
@@ -1519,8 +2393,25 @@ snapshots:
+
+
+ dependencies:
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.4
+
+
+ dependencies:
+ esbuild: 0.28.0
+ optionalDependencies:
+ fsevents: 2.3.3
+
@@ -1531,6 +2422,48 @@ snapshots:
+ 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
+
+ dependencies:
+ '@vitest/expect': 4.1.6
+ '@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
+
+ dependencies:
+ siginfo: 2.0.0
+ stackback: 0.0.2
+
+
dependencies:
adler-32: 1.3.1
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 581a9d5b..dfeee6a4 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -1,3 +1,7 @@
+packages:
+ - e2e
+ - next
+
ignoredBuiltDependencies:
- sharp
- unrs-resolver
diff --git a/scripts/guard.ts b/scripts/guard.ts
new file mode 100644
index 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.");