Caspian GitHub issue

vibecode
{"vibecode": {
    "doc": "github-puck-caspian",
    "status": "brainstorm — Caspian-specific tools the puck.uno site offers when viewing Caspian code",
    "parent": "../github.md",
    "sibling": "gitter.md",
    "scope": "features that only apply to Caspian code blocks or .casp files; not part of the general per-language formatter machinery"
}}

Caspian-specific rendering features that puck.uno (and Gitter post-V1) offers on top of the per-language format toggle. These are extras only Caspian gets — they exploit the Caspian→CJS transpiler that already lives in the engine.

View as CJS GitHub issue

A toggle next to every Caspian code block (or .casp file view) that swaps the displayed source from Caspian to its CJS representation. Click once to see what the engine actually consumes; click again to return to Caspian.

Interaction with the format toggle GitHub issue

For any Caspian block, two independent switches give four states:

Format-Caspian View-as-CJS What you see
off off Caspian source, as authored
on off Caspian source, reformatted per your Caspian style
off on CJS, pretty-printed per your JSON style
on on CJS, pretty-printed per your JSON style (Caspian style is irrelevant when displaying CJS)

Why this is cheap GitHub issue

The same Caspian→CJS transpiler that powers the Caspian format toggle, Differ's normalization, and the future Caspian web stack already produces the CJS — the view-as-CJS toggle just shows the intermediate output instead of running it back through the Caspian code generator. No new machinery required beyond the rendering switch and the toggle UI.

Open questions GitHub issue

Out of scope GitHub issue


© 2026 Puck.uno