Files
autocraft/web
aiongg 09ccdd6932 Similar items and semantic search from local sentence embeddings
craft-auto embed embeds new and changed tracked items with bge-small-en-v1.5
(int8 ONNX, CPU) into item_embeddings. The dashboard keeps the vectors in
memory and serves /api/similar/<repo>/<n> and /api/search?mode=semantic; the
Item page shows a Similar items panel and the search box gets a meaning toggle
(Alt+M).
2026-11-02 18:55:13 +00:00
..

Triage dashboard frontend

React + TypeScript + Vite + Tailwind. Design: docs/ui-design.md.

pnpm install
pnpm dev      # http://127.0.0.1:5173, mock API with fixture data
pnpm build    # tsc, then dist/ (no inline scripts or styles; fonts bundled)
VITE_MOCK=1 pnpm build   # the mockup: dist/ on fixture data, no server needed

A normal build talks to the dashboard server's JSON API (src/api/http.ts), and the server serves dist/ behind sign-in. The dev server and the mockup build run against createMockApi() (src/api/mock/); pick the signed-in role with ?as=operator|maintainer|viewer or the user menu.

A feature is a module in src/modules/<name>/ listed in src/registry/index.ts.