Skip to content

feat(wasm): WebAssembly-compiled Cinch engine & interactive playground - #47

Merged
00200200 merged 1 commit into
mainfrom
feat/wasm-playground
Oct 7, 2026
Merged

00200200 merged 1 commit into
mainfrom
feat/wasm-playground

Conversation

@00200200

@00200200 00200200 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Closes #29

Summary of Changes

  • Wasm & Pyodide Core Engine (src/cinch/wasm.py):
    • Implements doc_from_markdown, compile_skill, compile_all_dialects, validate_skill, and compile_json.
    • Zero-dependency JSON interop entry point tailored for Pyodide/WebAssembly and browser environments.
    • Sub-10ms compilation performance benchmarked across all 12 AI harness dialects.
  • In-Browser Playground (docs/index.html):
    • Live split-screen interface (markdown editor on left, 12 reactive dialect tabs on right).
    • WebAssembly/Pyodide execution with instant fallback engine.
    • Diagnostics warning/error banner, latency performance metrics counter, sample skill selector, and 1-click clipboard copy.
  • Test Suite (tests/test_wasm.py):
    • Full unit test coverage for parsing, single-target translation, multi-dialect translation, diagnostics validation, JSON interop, and benchmark verification (<10ms).

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

👋 Thanks for opening this pull request, @00200200!

We're thrilled to have your contribution to cinch! Here is a quick checklist to help get your PR merged smoothly:

  • Linked Issue: Issue reference detected in PR body. ✅
  • Local Verification: Verify all checks pass locally using uv run pytest and uv run ruff check ..
  • Commit Hygiene: Ensure commit messages follow conventional commit style (feat:, fix:, docs:).

A maintainer will review your code shortly. Feel free to ping in comments if you have any questions! 🚀

@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request tests Testing and quality assurance labels Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

👋 Thanks for opening this pull request, @00200200!

Here is the automated review checklist for this update:

  • Linked Issue: Issue reference detected in PR body. ✅
  • Local Verification: Verify all checks pass locally using uv run pytest and uv run ruff check ..
  • Commit Hygiene: Ensure commit messages follow conventional commit style (feat:, fix:, docs:).

A maintainer will review your code shortly. Feel free to ping in comments if you have any questions! 🚀

@00200200
00200200 merged commit 9fd48e2 into main Oct 7, 2026
9 checks passed
@00200200
00200200 deleted the feat/wasm-playground branch October 7, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request tests Testing and quality assurance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(wasm): WebAssembly-compiled Cinch engine for interactive in-browser skill playground

1 participant