paracosm 0.9.1115 → 0.9.1117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/dashboard/dist/assets/index-AftvQDyC.js +197 -0
- package/dist/dashboard/dist/assets/index-C2308Awz.css +1 -0
- package/dist/dashboard/dist/index.html +2 -2
- package/dist/engine/compiler/compile-from-seed.d.ts +15 -7
- package/dist/engine/compiler/compile-from-seed.d.ts.map +1 -1
- package/dist/engine/compiler/compile-from-seed.js +21 -7
- package/dist/engine/compiler/compile-from-seed.js.map +1 -1
- package/dist/engine/compiler/seed-draft-world.d.ts +62 -1
- package/dist/engine/compiler/seed-draft-world.d.ts.map +1 -1
- package/dist/engine/compiler/seed-draft-world.js +215 -1
- package/dist/engine/compiler/seed-draft-world.js.map +1 -1
- package/dist/engine/compiler/validate.d.ts +24 -3
- package/dist/engine/compiler/validate.d.ts.map +1 -1
- package/dist/engine/compiler/validate.js +33 -4
- package/dist/engine/compiler/validate.js.map +1 -1
- package/package.json +1 -1
- package/dist/dashboard/dist/assets/index-DZKYPCBt.js +0 -195
- package/dist/dashboard/dist/assets/index-DrZBEElm.css +0 -1
package/README.md
CHANGED
|
@@ -461,7 +461,7 @@ Programmatic surfaces: `paracosm` root (`run`, `runMany`, `WorldModel`, `compile
|
|
|
461
461
|
|
|
462
462
|
For non-SSE consumers there's `POST /simulate` (gated on `PARACOSM_ENABLE_SIMULATE_ENDPOINT=true`) and nine read-and-replay routes under `/api/v1/*`. Wire-level details: [`docs/HTTP_API.md`](docs/HTTP_API.md).
|
|
463
463
|
|
|
464
|
-
Storage: SQLite through `@framers/sql-storage-adapter` (better-sqlite3, or sql.js when the native module cannot load). Run history (Library) lives in `data/runs.db` under `APP_DIR`, the working directory when unset (`PARACOSM_RUN_HISTORY_DB_PATH` moves it), and saved sessions (Load menu) in `data/sessions.db`; `STORAGE_ADAPTER` and `DATABASE_URL` have no effect on either. Admin write routes (`/admin/sessions/save`, `/admin/data/wipe`, `DELETE /admin/scenarios/:id`) and the disk write of `POST /scenario/store` (`saveToDisk: true`) require both `ADMIN_WRITE=true` and an `ADMIN_TOKEN` bearer in the `X-Admin-Token` header; off by default.
|
|
464
|
+
Storage: SQLite through `@framers/sql-storage-adapter` (better-sqlite3, or sql.js when the native module cannot load). Run history (Library) lives in `data/runs.db` under `APP_DIR`, the working directory when unset (`PARACOSM_RUN_HISTORY_DB_PATH` moves it), and saved sessions (Load menu) in `data/sessions.db`; `STORAGE_ADAPTER` and `DATABASE_URL` have no effect on either. Admin write routes (`/admin/sessions/save`, `/admin/data/wipe`, `DELETE /admin/scenarios/:id`) and the disk write of `POST /scenario/store` (`saveToDisk: true`) require both `ADMIN_WRITE=true` and an `ADMIN_TOKEN` bearer in the `X-Admin-Token` header; off by default. With `ADMIN_WRITE=true` the dashboard's Settings tab shows an Admin Token field, where an operator enters the token once for that browser.
|
|
465
465
|
|
|
466
466
|
---
|
|
467
467
|
|