paracosm 0.9.1124 → 0.9.1125
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-B7lhjZaZ.css +1 -0
- package/dist/dashboard/dist/assets/index-BkKYRfoL.js +205 -0
- package/dist/dashboard/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/dashboard/dist/assets/index-BcNVOEMi.js +0 -197
- package/dist/dashboard/dist/assets/index-GxB_GO-g.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. With `ADMIN_WRITE=true` the dashboard's Settings tab shows an Admin Token field, where an operator enters the token once for that browser.
|
|
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`, `POST /scenarios/:id/rename`) 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. The dashboard sends it on Save to Disk, Delete server data, and a scenario's Rename and Delete; Clear local data clears the browser's cached data and lets go of that browser's own run on the server, stopping it when it is running; run history, saved sessions and output files are kept.
|
|
465
465
|
|
|
466
466
|
---
|
|
467
467
|
|