paracosm 0.9.1024 → 0.9.1026
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 +33 -20
- package/assets/landing.css +0 -11
- package/dist/dashboard/dist/assets/{index-Da6eIzNW.js → index-DozeSllQ.js} +7 -5
- package/dist/dashboard/dist/assets/{pdf-CdfMQ2jQ.js → pdf-CZ47W0ov.js} +1 -1
- package/dist/dashboard/dist/index.html +24 -22
- package/dist/dashboard/dist/sitemap.xml +16 -0
- package/dist/dashboard/landing.html +17 -2
- package/dist/server/rate-limiter.d.ts +9 -0
- package/dist/server/rate-limiter.d.ts.map +1 -1
- package/dist/server/rate-limiter.js +17 -0
- package/dist/server/rate-limiter.js.map +1 -1
- package/dist/server/server-app.d.ts.map +1 -1
- package/dist/server/server-app.js +33 -20
- package/dist/server/server-app.js.map +1 -1
- package/dist/server/site-analytics.d.ts +39 -0
- package/dist/server/site-analytics.d.ts.map +1 -0
- package/dist/server/site-analytics.js +51 -0
- package/dist/server/site-analytics.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -467,28 +467,41 @@ Storage: SQLite through `@framers/sql-storage-adapter` (better-sqlite3, or sql.j
|
|
|
467
467
|
|
|
468
468
|
```
|
|
469
469
|
src/
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
470
|
+
index.ts the package root: run, runMany, WorldModel, compileScenario,
|
|
471
|
+
the built-in scenarios, trait models, presets and types
|
|
472
|
+
api/ run() and runMany()
|
|
473
|
+
engine/ scenario contract, compiler and deterministic kernel
|
|
474
|
+
core/ kernel: seeded RNG, state, snapshots, progression (paracosm/core)
|
|
475
|
+
compiler/ scenario draft + source grounding to ScenarioPackage (paracosm/compiler)
|
|
476
|
+
schema/ RunArtifact types and Zod schemas (paracosm/schema)
|
|
477
|
+
digital-twin/ WorldModel as DigitalTwin (paracosm/digital-twin)
|
|
478
|
+
scenarios/ loads Mars Genesis and Lunar Outpost from scenarios/*.json
|
|
479
|
+
data-driven-hooks/ turns a scenario's JSON hooks into runtime hooks
|
|
480
|
+
physics/ per-agent progression physics a scenario names in its JSON
|
|
481
|
+
traits/ trait models: HEXACO and the AI-agent model
|
|
482
|
+
registries/ effects, events and metrics
|
|
483
|
+
presets/ actor presets
|
|
484
|
+
provider/ provider key resolution
|
|
485
|
+
|
|
486
|
+
runtime/ simulation execution
|
|
487
|
+
orchestrator/ turn pipeline: event director, departments, commander, reactions
|
|
488
|
+
agents/ agent reactions, memory and post-run chat
|
|
489
|
+
world-model/ the WorldModel facade: simulate, replay, fork, intervene, batch
|
|
490
|
+
swarm/ views over a run's agent swarm (paracosm/swarm)
|
|
491
|
+
research/ citation and research memory
|
|
492
|
+
validators/ Zod validators for LLM responses
|
|
493
|
+
economics/ cost tracking and pricing
|
|
494
|
+
io/ output writer, artifact assembly, SSE envelopes
|
|
495
|
+
util/ parsers and shared helpers
|
|
496
|
+
|
|
497
|
+
llm/ validated LLM calls shared by the runtime and the compiler
|
|
498
|
+
cli/ the paracosm command
|
|
499
|
+
server/ the dashboard's HTTP and SSE server
|
|
500
|
+
dashboard/ the React + Vite dashboard at /sim, and the landing page
|
|
490
501
|
```
|
|
491
502
|
|
|
503
|
+
[docs/architecture/INTERNAL_LAYOUT.md](https://github.com/framerslab/paracosm/blob/master/docs/architecture/INTERNAL_LAYOUT.md) describes each folder.
|
|
504
|
+
|
|
492
505
|
The engine owns the chassis. The scenario owns the domain. The kernel handles state, time, randomness, and invariants. The scenario handles event categories, department instructions, progression hooks, and research citations. The orchestrator connects them.
|
|
493
506
|
|
|
494
507
|
---
|
package/assets/landing.css
CHANGED
|
@@ -858,14 +858,6 @@ a:hover { text-decoration: underline; }
|
|
|
858
858
|
width: 100%;
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
/* ── Pricing ──────────────────────────────────────────────────────────────── */
|
|
862
|
-
|
|
863
|
-
.pricing-banner { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 40px; text-align: center; max-width: 700px; margin: 0 auto; backdrop-filter: blur(12px); }
|
|
864
|
-
.pricing-banner h3 { font-family: var(--mono); font-size: var(--font-2xl); font-weight: 700; color: var(--t1); margin-bottom: 8px; }
|
|
865
|
-
.pricing-banner p { font-size: var(--font-lg); color: var(--t2); line-height: 1.8; margin-bottom: 8px; }
|
|
866
|
-
.pricing-tiers { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
|
|
867
|
-
.pricing-tier { font-family: var(--mono); font-size: var(--font-sm); font-weight: 700; padding: 6px 16px; border-radius: 6px; background: var(--bg4); color: var(--t2); border: 1px solid var(--border); }
|
|
868
|
-
|
|
869
861
|
/* ── Code Blocks ──────────────────────────────────────────────────────────── */
|
|
870
862
|
|
|
871
863
|
.code-sec { margin-top: 56px; width: 100%; max-width: 720px; }
|
|
@@ -1221,7 +1213,6 @@ html:not(.js) .rv {
|
|
|
1221
1213
|
.arch { grid-template-columns: 1fr; }
|
|
1222
1214
|
.contact-grid { grid-template-columns: 1fr; }
|
|
1223
1215
|
.hero-chips { gap: 6px; }
|
|
1224
|
-
.pricing-tiers { flex-direction: column; align-items: center; }
|
|
1225
1216
|
}
|
|
1226
1217
|
|
|
1227
1218
|
|
|
@@ -1263,7 +1254,6 @@ html:not(.js) .rv {
|
|
|
1263
1254
|
}
|
|
1264
1255
|
|
|
1265
1256
|
.light .arch-row { background: rgba(248, 242, 228, .7); border-color: var(--border); box-shadow: 0 2px 8px rgba(60, 40, 10, .06); }
|
|
1266
|
-
.light .pricing-banner { background: var(--bg3); border-color: var(--border); }
|
|
1267
1257
|
.light .contact-card { background: var(--bg3); border-color: var(--border); }
|
|
1268
1258
|
.light .faq-item { border-bottom-color: var(--border); }
|
|
1269
1259
|
|
|
@@ -1299,7 +1289,6 @@ html:not(.js) .rv {
|
|
|
1299
1289
|
.light footer { background: var(--bg2); border-top-color: var(--border); }
|
|
1300
1290
|
.light .banner::before { opacity: .15; }
|
|
1301
1291
|
.light .pc-badge { background: var(--bg4); color: var(--amber); border-color: var(--border); }
|
|
1302
|
-
.light .pricing-tier { background: var(--bg); color: var(--t2); border-color: var(--border); }
|
|
1303
1292
|
.light .theme-toggle { color: var(--t3); border-color: var(--border); }
|
|
1304
1293
|
.light .theme-toggle:hover { color: var(--t1); border-color: var(--border-hl); }
|
|
1305
1294
|
|