Types

loom-sprint-scaffoldsourcetypescript
Path: loom-sprint-scaffold/loom/src/dispatcher/core/types.tsRelative: loom/src/dispatcher/core/types.tsSubproject: loom-sprint-scaffoldCategory: other
Lines: 100Bytes: 3,297Imports: 1Exports: 12

Content Preview

  1. /**
  2. * Injectable interfaces for the Loop 2 dispatcher core.
  3. *
  4. * Every dependency is an interface so tests inject fakes.
  5. * Worker-side glue (src/dispatcher/index.ts) wires real D1 / Queue / fetch.
  6. */
  7. import type {
  8. DispatchEnvelope,
  9. GoalId,
  10. StageId,
  11. VarietyClass,
  12. HarnessProfile,
  13. ModeRegistryRow,
  14. Sha256Hex,
  15. } from "../../types";
  16. // Re-export the D1 row shape used across all dispatcher modules.
  17. export type { ModeRegistryRow };
  18. // ── Registry store (D1-backed mode_registry) ────