okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
a4af4df61
main
files
| persona-review-2026-10-05/ | |
| plans/ | |
| BACKLOG.md | 5.4 KiB |
| README.md | 3.8 KiB |
| design-system-notes.md | 19.3 KiB |
| interaction-guidelines.md | 12.5 KiB |
App developer docs
Current:
- interaction-guidelines.md: motion, materials, navigation and contrast rules.
scripts/audit-ui.mjsand the style sheets cite its sections. - design-system-notes.md: how the app uses the kit styles in
src/styles/kit/. - BACKLOG.md: UI requirements from the October 2026 campaign that are still open or unchecked.
- ../README.md: start here (build, preview, tests).
How the host is organised
This replaces the 14 October 2026 native-engine handover (kept in history; it was written against engine 0.1.38).
| Module | Responsibility |
|---|---|
server/native-control.mjs | The bridge to Strata Control and the installed engine: catalog, status, install jobs, saved job state, per-instance config copies, process start and stop, benchmark, calibration and updates. |
server/native-settings.mjs | Allowed per-model settings, their bounds, MCP configuration validation and credential masking. |
server/native-gateway.mjs | Forwards Chat Completions, Anthropic and Responses requests to the selected instance. |
server/chat-images.mjs | Validation of attached pictures. |
src/lib/native.ts | Shared native state and polling. |
src/components/NativeModels.tsx | Model setup, device assignment, version management and load. |
src/components/NativeSettings.tsx, NativeMcpEditor.tsx | Per-model parameters, JSON and tool-server configuration. |
src/components/NativeMonitor.tsx | Rates per instance, per-instance detail and host measurements. |
Contracts that still hold:
- Each loaded instance runs
serve/server.pyon its own private loopback port with a random API key, from a config copy in the app's data folder. The one public URL shown in Serving forwards to it; the public model id is an alias in that config, and unknown or ambiguous ids fail before streaming. - A source checkout finds a Strata installation through
STRATA_NATIVE_REPO(it must containsetup.py,tools/strata_mcp.pyandserve/server.py) and a Python throughSTRATA_PYTHONorSTRATA_NATIVE_PYTHON(server/python-resolver.mjs). The installed app uses the Control that ships beside it instead. - Saving settings validates first, keeps unrelated keys and non-Strata environment values, writes a
.bakand replaces the config atomically. New settings apply on the next load.
Moved to history
Pointer: history/README.md. The files, unchanged:
| Was | Now |
|---|---|
audit-fixes/ (next to this folder) | history/apps/host/audit-fixes |
README-historical.md | history/apps/host/docs/README-historical.md |
native-engine-handover.md | history/apps/host/docs/native-engine-handover.md |
annotations-19-2026-10-09.md, annotations-32-2026-10-09.md, annotations-followup-2026-10-09.md | history/apps/host/docs/ |
chat-shell-2026-10-06.md, ui-followup-2026-10-06.md | history/apps/host/docs/ |
design-improvements-2026-10-05.md, dsh-recon.md, engine-models-onboarding-2026-10-05.md | history/apps/host/docs/ |
user-feedback-2026-10-05.md, user-feedback-2026-10-06.md | history/apps/host/docs/ |
persona-review-2026-10-05/ | history/apps/host/docs/persona-review-2026-10-05 |
plans/ | history/apps/host/docs/plans |