Spaces:
Running
Running
|
Download source/teaql-ts/examples/browser-sqlite/AGENTS.md from teaql/browser-sqlite-playground: direct link, hf CLI and curl.
- Browser
- Download file 970 Bytes
-
https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/examples/browser-sqlite/AGENTS.md
- Command line
-
hf download hf://spaces/teaql/browser-sqlite-playground/source/teaql-ts/examples/browser-sqlite/AGENTS.md
-
curl -L -o AGENTS.md https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/examples/browser-sqlite/AGENTS.md
970 Bytes
| # Browser SQLite example | |
| - Keep the existing WorkItem page and the generated Order page independently usable. | |
| - Application-owned code lives in `src/`, HTML, and `scripts/`. Never hand-edit `orders-lib/`. | |
| - Use `assist/query-*.md`, the required field help, and create/expression/debug Assist for API discovery. Do not inspect generated library source or guess method names. | |
| - Order queries must remain bounded and carry non-empty comment/purpose; seeding uses generated audited mutation APIs with the trusted context. | |
| - Search input is validated JSON. Never execute it with `eval` or `new Function`. | |
| - Read actual statement `traceChain` and `tracePath`; UI rendering must not manufacture lineage from SQL, routes or known aliases. | |
| - Dependencies resolve this repository's runtime, not a published package. | |
| - Run `npm run build`, `npm run smoke`, and `npm run smoke:orders`. The latter checks generated-library hashes; the repository example gate runs both smoke tests. | |