← toolbox

Stitch

v0

Upload helper that collects a tool's metadata and exports a toolbox-ready folder.

CONCEPT — UNDER CONSTRUCTION. This page is a placeholder; the tool hasn’t been built yet.
STORAGE — Not saved

Not built yet — nothing to save.

Export: not available · Import: not supported

Stitch

Goal

The upload helper for the toolbox. Fill in a form, get back a toolbox-ready folder — meta.json + info.md (+ your index.html if you drop it in) — as a zip you unzip straight into tools/public/. Replaces hand-writing meta.json by hand.

Current state

Concept — deferred to phase 1.5. Not built yet. This page is the placeholder that mode: "placeholder" renders instead of a half-built app — see /stitch itself, which shows this same write-up.

Deferred deliberately: the exact field list is likely to change as real tools get migrated and the storage block (added during the v1 build, see below) gets used in practice. Building stitch by hand is also good practice for the manual upload/move-folder workflow it's meant to eventually replace.

Spec to build against

Form fields (mirrors the full meta.json schema):

Guided info.md composer — Goal / Current state / Notes / Changelog sections, with a live preview using the same markdown rules as the build (scripts/lib/markdown.mjs — headings, bold/italic, links, lists, fenced code, blockquotes, hr).

Readiness checklist — verifies the folder is toolbox-ready before export: slug is URL-safe, title and description present, description reads as one sentence, icon exists in the sprite, index.html (if any) sits at the folder root.

Optional compatibility check — drag-drop your index.html (read locally, never uploaded anywhere) and get a report on what the chrome injection will do to it: does it use 100vh/height:100%, does it touch document.body directly, does it have position:fixed overlays. This is exactly the audit that was done by hand for the first five tools when the handoff's spec'd inline chrome bar turned out to break all of them.

Export — a zip ({slug}/meta.json, {slug}/info.md, your index.html if provided) via a hand-rolled store-only zip writer, no library. Unzip into tools/public/ (or private/paused), commit, done.

Notes

Changelog