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 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
- engine/ the npm package
471
- core/ deterministic kernel: RNG, state, progression, personality drift
472
- compiler/ scenario draft + source grounding to ScenarioPackage compiler
473
- mars/ Mars Genesis scenario
474
- lunar/ Lunar Outpost scenario
475
-
476
- runtime/ orchestration (not exported)
477
- orchestrator turn pipeline: director, kernel, departments, commander
478
- director emergent event generation from simulation state
479
- departments parallel department analysis agents
480
- agent-reactions batched agent reactions, 10 agents per LLM call
481
- agent-memory persistent memory, consolidation, stance drift
482
- chat-agents post-simulation conversational agents
483
- schemas/ Zod schemas for every structured LLM call
484
- llm-invocations/ generateValidatedObject + sendAndValidate wrappers
485
- hexaco-cues/ trajectory and reaction cue translation helpers
486
-
487
- cli/ server + dashboard (not exported)
488
- serve.ts HTTP + SSE server
489
- dashboard/ React + Vite live visualization, cellular automata viz
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
  ---
@@ -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