docs: update to slug - id changes

This commit is contained in:
2026-09-27 17:04:41 +05:00
parent 7b7e12fafc
commit 8cb3f1a8f0
9 changed files with 204 additions and 164 deletions
+6 -5
View File
@@ -70,11 +70,12 @@ pnpm build # static production export → web/build/
## Architecture
Everything is built around the **tool registry** (`web/src/lib/registry/`): each
tool is a self-contained entry
`{id, title, description, category, schema, run}`. Pages, forms, and pipelines
are generated from it, and all execution goes through a single
`executor.execute` entry point.
Everything is built around the **two-layer registry** (`web/src/lib/registry/`):
a tool is a self-contained implementation `{id, schema, input, result, run}`
(`registry/tools/`), and a page is `{slug, title, description, category, steps}`
(`registry/pages/`) that names the address and the tools to run — one tool can
back several pages. Pages, forms, and pipelines are generated from it, and all
execution goes through a single `executor.execute` entry point.
Core image processing lives in `web/src/lib/core/` and operates directly on
`ImageData`, with no browser API dependencies.