2026-08-31 19:51:17 +03:00
|
|
|
/**
|
|
|
|
|
* THE CORE PUBLIC API — the only module the shell (app/, components/) may
|
|
|
|
|
* import. Everything exported here is browser-safe: pure logic + types,
|
|
|
|
|
* no node builtins, no fs, no network.
|
|
|
|
|
*
|
|
|
|
|
* Server-side surfaces (chat streaming, store reads) live behind
|
|
|
|
|
* src/server's barrel instead — the import law (eslint.config.mjs):
|
|
|
|
|
*
|
|
|
|
|
* components/** → "@/src/core" (this barrel, ONLY)
|
|
|
|
|
* app/** → "@/src/core" + "@/src/server"
|
|
|
|
|
*
|
2026-08-31 20:00:12 +03:00
|
|
|
* Server-only core modules (core/graph.ts emission/derivation,
|
|
|
|
|
* core/graph-context.ts) are pure but need storage ports passed in by a
|
|
|
|
|
* server caller, so they are deliberately NOT re-exported here — the
|
|
|
|
|
* server imports them directly. The storage PORT TYPES are types-only and
|
|
|
|
|
* browser-safe, hence re-exported.
|
2026-08-31 19:51:17 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export * from "./contracts.ts";
|
2026-08-31 20:00:12 +03:00
|
|
|
export * from "./ports.ts";
|
|
|
|
|
|
2026-08-31 19:51:17 +03:00
|
|
|
export * from "./question-core.ts";
|
|
|
|
|
export * from "./plan-tree.ts";
|
|
|
|
|
export * from "./phases.ts";
|
|
|
|
|
export * from "./pending.ts";
|
|
|
|
|
export * from "./math-delims.ts";
|
|
|
|
|
export * from "./ui-message.ts";
|
2026-09-11 02:43:35 +03:00
|
|
|
export * from "./prices.ts";
|