Note 014
Quickstart
Requires Node.js 22 or newer and pnpm 10. From a fresh clone:
pnpm install
pnpm test
pnpm dev:apiThe API binds to 127.0.0.1 port 8787 unless PORT is set. In another shell, post the fictional fixture:
curl -s http://127.0.0.1:8787/v1/health
curl -s http://127.0.0.1:8787/v1/screens \
-H 'content-type: application/json' \
-d @packages/fixtures/examples/screen.jsonThe JSON file is a synthetic request shaped like a Florida Power & Light example. It is not the coverage map. Registered states are listed at /states. The response is an evidence envelope with nonproduction: true and charged_units: 0. Health and limits:
curl -s http://127.0.0.1:8787/v1/limits
curl -s http://127.0.0.1:8787/v1/openapi.jsonPreview the site after a build:
pnpm build:site
pnpm --filter @grid-accord/site previewThe website demo does not call this API. It runs the same screen function in the browser. MCP is a separate process: stdio setup.