@decaf-ts/as-graph 0.5.0 → 0.6.0

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.
Files changed (125) hide show
  1. package/README.md +59 -13
  2. package/dist/as-graph.cjs +1 -1
  3. package/dist/as-graph.cjs.map +1 -1
  4. package/dist/as-graph.js +1 -1
  5. package/dist/as-graph.js.map +1 -1
  6. package/lib/cjs/dagster/DagsterGraphExecutionBackend.cjs +102 -11
  7. package/lib/cjs/dagster/DagsterGraphExecutionBackend.cjs.map +1 -1
  8. package/lib/cjs/engine/execution/GraphExecutionEngine.cjs +7 -0
  9. package/lib/cjs/engine/execution/GraphExecutionEngine.cjs.map +1 -1
  10. package/lib/cjs/engine/execution/LocalGraphExecutionBackend.cjs +39 -0
  11. package/lib/cjs/engine/execution/LocalGraphExecutionBackend.cjs.map +1 -1
  12. package/lib/cjs/engine/index.cjs +1 -0
  13. package/lib/cjs/engine/index.cjs.map +1 -1
  14. package/lib/cjs/engine/services/GraphNodeModelService.cjs +129 -0
  15. package/lib/cjs/engine/services/GraphNodeModelService.cjs.map +1 -0
  16. package/lib/cjs/engine/services/GraphWorkflowService.cjs +33 -0
  17. package/lib/cjs/engine/services/GraphWorkflowService.cjs.map +1 -1
  18. package/lib/cjs/mastra/MastraDefaultStepHandlers.cjs +217 -0
  19. package/lib/cjs/mastra/MastraDefaultStepHandlers.cjs.map +1 -0
  20. package/lib/cjs/mastra/MastraEventBridge.cjs +10 -3
  21. package/lib/cjs/mastra/MastraEventBridge.cjs.map +1 -1
  22. package/lib/cjs/mastra/MastraGraphExecutionBackend.cjs +111 -13
  23. package/lib/cjs/mastra/MastraGraphExecutionBackend.cjs.map +1 -1
  24. package/lib/cjs/mastra/MastraWorkflowCompiler.cjs +3 -3
  25. package/lib/cjs/mastra/MastraWorkflowCompiler.cjs.map +1 -1
  26. package/lib/cjs/mastra/index.cjs +1 -0
  27. package/lib/cjs/mastra/index.cjs.map +1 -1
  28. package/lib/cjs/mastra/types.cjs +5 -1
  29. package/lib/cjs/mastra/types.cjs.map +1 -1
  30. package/lib/cjs/nest/graph/GraphBackendHost.cjs +105 -19
  31. package/lib/cjs/nest/graph/GraphBackendHost.cjs.map +1 -1
  32. package/lib/cjs/nest/graph/GraphExecutionModule.cjs +37 -1
  33. package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -1
  34. package/lib/cjs/nest/graph/main.cjs +16 -1
  35. package/lib/cjs/nest/graph/main.cjs.map +1 -1
  36. package/lib/cjs/ram/GraphNodeRepository.cjs +40 -0
  37. package/lib/cjs/ram/GraphNodeRepository.cjs.map +1 -0
  38. package/lib/cjs/ram/index.cjs +1 -0
  39. package/lib/cjs/ram/index.cjs.map +1 -1
  40. package/lib/cjs/shared/graph/GraphNodeConverters.cjs +43 -0
  41. package/lib/cjs/shared/graph/GraphNodeConverters.cjs.map +1 -0
  42. package/lib/cjs/shared/graph/GraphNodeModel.cjs +74 -0
  43. package/lib/cjs/shared/graph/GraphNodeModel.cjs.map +1 -0
  44. package/lib/cjs/shared/graph/index.cjs +2 -0
  45. package/lib/cjs/shared/graph/index.cjs.map +1 -1
  46. package/lib/esm/dagster/DagsterGraphExecutionBackend.js +102 -11
  47. package/lib/esm/dagster/DagsterGraphExecutionBackend.js.map +1 -1
  48. package/lib/esm/engine/execution/GraphExecutionBackend.js.map +1 -1
  49. package/lib/esm/engine/execution/GraphExecutionEngine.js +7 -0
  50. package/lib/esm/engine/execution/GraphExecutionEngine.js.map +1 -1
  51. package/lib/esm/engine/execution/LocalGraphExecutionBackend.js +39 -0
  52. package/lib/esm/engine/execution/LocalGraphExecutionBackend.js.map +1 -1
  53. package/lib/esm/engine/index.js +1 -0
  54. package/lib/esm/engine/index.js.map +1 -1
  55. package/lib/esm/engine/services/GraphNodeModelService.js +120 -0
  56. package/lib/esm/engine/services/GraphNodeModelService.js.map +1 -0
  57. package/lib/esm/engine/services/GraphWorkflowService.js +34 -1
  58. package/lib/esm/engine/services/GraphWorkflowService.js.map +1 -1
  59. package/lib/esm/mastra/MastraDefaultStepHandlers.js +212 -0
  60. package/lib/esm/mastra/MastraDefaultStepHandlers.js.map +1 -0
  61. package/lib/esm/mastra/MastraEventBridge.js +10 -3
  62. package/lib/esm/mastra/MastraEventBridge.js.map +1 -1
  63. package/lib/esm/mastra/MastraGraphExecutionBackend.js +112 -14
  64. package/lib/esm/mastra/MastraGraphExecutionBackend.js.map +1 -1
  65. package/lib/esm/mastra/MastraWorkflowCompiler.js +3 -3
  66. package/lib/esm/mastra/MastraWorkflowCompiler.js.map +1 -1
  67. package/lib/esm/mastra/index.js +1 -0
  68. package/lib/esm/mastra/index.js.map +1 -1
  69. package/lib/esm/mastra/types.js +4 -0
  70. package/lib/esm/mastra/types.js.map +1 -1
  71. package/lib/esm/nest/graph/GraphBackendHost.js +69 -18
  72. package/lib/esm/nest/graph/GraphBackendHost.js.map +1 -1
  73. package/lib/esm/nest/graph/GraphExecutionModule.js +38 -2
  74. package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -1
  75. package/lib/esm/nest/graph/main.js +17 -2
  76. package/lib/esm/nest/graph/main.js.map +1 -1
  77. package/lib/esm/ram/GraphNodeRepository.js +31 -0
  78. package/lib/esm/ram/GraphNodeRepository.js.map +1 -0
  79. package/lib/esm/ram/index.js +1 -0
  80. package/lib/esm/ram/index.js.map +1 -1
  81. package/lib/esm/shared/graph/GraphNodeConverters.js +38 -0
  82. package/lib/esm/shared/graph/GraphNodeConverters.js.map +1 -0
  83. package/lib/esm/shared/graph/GraphNodeModel.js +65 -0
  84. package/lib/esm/shared/graph/GraphNodeModel.js.map +1 -0
  85. package/lib/esm/shared/graph/index.js +2 -0
  86. package/lib/esm/shared/graph/index.js.map +1 -1
  87. package/lib/types/dagster/DagsterGraphExecutionBackend.d.cts +40 -4
  88. package/lib/types/dagster/DagsterGraphExecutionBackend.d.mts +40 -4
  89. package/lib/types/engine/execution/GraphExecutionBackend.d.cts +27 -0
  90. package/lib/types/engine/execution/GraphExecutionBackend.d.mts +27 -0
  91. package/lib/types/engine/execution/GraphExecutionEngine.d.cts +9 -0
  92. package/lib/types/engine/execution/GraphExecutionEngine.d.mts +9 -0
  93. package/lib/types/engine/execution/LocalGraphExecutionBackend.d.cts +14 -0
  94. package/lib/types/engine/execution/LocalGraphExecutionBackend.d.mts +14 -0
  95. package/lib/types/engine/index.d.cts +1 -0
  96. package/lib/types/engine/index.d.mts +1 -0
  97. package/lib/types/engine/services/GraphNodeModelService.d.cts +54 -0
  98. package/lib/types/engine/services/GraphNodeModelService.d.mts +54 -0
  99. package/lib/types/engine/services/GraphWorkflowService.d.cts +21 -0
  100. package/lib/types/engine/services/GraphWorkflowService.d.mts +21 -0
  101. package/lib/types/mastra/MastraDefaultStepHandlers.d.cts +74 -0
  102. package/lib/types/mastra/MastraDefaultStepHandlers.d.mts +74 -0
  103. package/lib/types/mastra/MastraGraphExecutionBackend.d.cts +29 -0
  104. package/lib/types/mastra/MastraGraphExecutionBackend.d.mts +29 -0
  105. package/lib/types/mastra/MastraWorkflowCompiler.d.cts +3 -3
  106. package/lib/types/mastra/MastraWorkflowCompiler.d.mts +3 -3
  107. package/lib/types/mastra/index.d.cts +1 -0
  108. package/lib/types/mastra/index.d.mts +1 -0
  109. package/lib/types/mastra/types.d.cts +12 -0
  110. package/lib/types/mastra/types.d.mts +12 -0
  111. package/lib/types/nest/graph/GraphBackendHost.d.cts +52 -0
  112. package/lib/types/nest/graph/GraphBackendHost.d.mts +52 -0
  113. package/lib/types/nest/graph/GraphExecutionModule.d.cts +11 -0
  114. package/lib/types/nest/graph/GraphExecutionModule.d.mts +11 -0
  115. package/lib/types/ram/GraphNodeRepository.d.cts +13 -0
  116. package/lib/types/ram/GraphNodeRepository.d.mts +13 -0
  117. package/lib/types/ram/index.d.cts +1 -0
  118. package/lib/types/ram/index.d.mts +1 -0
  119. package/lib/types/shared/graph/GraphNodeConverters.d.cts +15 -0
  120. package/lib/types/shared/graph/GraphNodeConverters.d.mts +15 -0
  121. package/lib/types/shared/graph/GraphNodeModel.d.cts +24 -0
  122. package/lib/types/shared/graph/GraphNodeModel.d.mts +24 -0
  123. package/lib/types/shared/graph/index.d.cts +2 -0
  124. package/lib/types/shared/graph/index.d.mts +2 -0
  125. package/package.json +9 -3
@@ -1 +1 @@
1
- {"version":3,"file":"GraphExecutionModule.js","sourceRoot":"","sources":["../../../../src/nest/graph/GraphExecutionModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;GASG;AACH,OAAO,EAAiB,MAAM,EAAkB,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EACL,eAAe,GAEhB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,eAAe,GAGhB,yBAAe;AAChB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,GACjB,6BAAkB;AACnB,OAAO,EAAE,sBAAsB,EAAE,0CAAuC;AACxE,OAAO,EACL,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,GAEnC,0CAAuC;AACxC,OAAO,EACL,kBAAkB,EAClB,iBAAiB,GAElB,gCAA6B;AAC9B,OAAO,EAAE,oBAAoB,EAAE,wDAAmD;AAClF,OAAO,EAAE,gBAAgB,EAAE,oDAA+C;AAE1E,OAAO,EAAE,yBAAyB,EAAE,oCAA+B;AAEnE,OAAO,EACL,uBAAuB,EACvB,sBAAsB,GAEvB,qCAAkC;AACnC,OAAO,EACL,qBAAqB,GACtB,mCAAgC;AACjC,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,EAC/B,4BAA4B,GAE7B,0CAAuC;AAExC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pB,kBAAkB;gBAClB,gBAAgB;gBAChB,qBAAqB;gBACrB,eAAe;gBACf,oBAAoB;gBACpB,4BAA4B;aAC7B;SACF,CAAC;IACJ,CAAC;CACF,CAAA;AAlQY,oBAAoB;IADhC,MAAM,CAAC,EAAE,CAAC;GACE,oBAAoB,CAkQhC"}
1
+ {"version":3,"file":"GraphExecutionModule.js","sourceRoot":"","sources":["../../../../src/nest/graph/GraphExecutionModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;GASG;AACH,OAAO,EAAiB,MAAM,EAAkB,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EACL,eAAe,GAEhB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,eAAe,GAGhB,yBAAe;AAChB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,GACjB,6BAAkB;AACnB,OAAO,EAAE,sBAAsB,EAAE,0CAAuC;AACxE,OAAO,EACL,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,GAEnC,0CAAuC;AACxC,OAAO,EACL,kBAAkB,EAClB,iBAAiB,GAElB,gCAA6B;AAC9B,OAAO,EAAE,oBAAoB,EAAE,wDAAmD;AAClF,OAAO,EAAE,gBAAgB,EAAE,oDAA+C;AAE1E,OAAO,EAAE,yBAAyB,EAAE,oCAA+B;AAEnE,OAAO,EACL,uBAAuB,EACvB,sBAAsB,GAEvB,qCAAkC;AACnC,OAAO,EACL,qBAAqB,GACtB,mCAAgC;AACjC,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,EAC/B,4BAA4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
  * run/workflow APIs. `initAdapter: true` installs the standalone RamAdapter
18
18
  * so the entry boots without a host-configured Decaf adapter.
19
19
  *
20
+ * Boot-time demo seeding of the fixture registry is on by default (a source
21
+ * checkout keeps its fixtures) and can be suppressed in a production host with
22
+ * `GRAPH_SEED_DEMO=off` (F5 hardening), with no code change.
23
+ *
20
24
  * Variant wiring:
21
25
  * - `local` (default): the built-in reference interpreter, no extra wiring.
22
26
  * - `mastra`: a real `@mastra/core` runtime (lazy-loaded) is injected as the
@@ -31,8 +35,9 @@
31
35
  */
32
36
  import { NestFactory } from "@nestjs/core";
33
37
  import { GraphExecutionModule } from "./GraphExecutionModule.js";
34
- import { createGraphBackendHost, graphEngineVariantFromEnv, } from "./GraphBackendHost.js";
38
+ import { createGraphBackendHost, graphDemoSeedEnabledFromEnv, graphEngineVariantFromEnv, loadGraphDemoWorkflows, } from "./GraphBackendHost.js";
35
39
  import { DagsterGraphQLClient } from "./../../dagster/DagsterGraphQLClient.js";
40
+ import { createMastraDefaultStepHandlers } from "./../../mastra/MastraDefaultStepHandlers.js";
36
41
  /** Builds a real `@mastra/core` runtime for the Mastra variant, lazily. */
37
42
  async function buildMastraConfig() {
38
43
  const [{ Mastra }, { InMemoryStore }] = await Promise.all([
@@ -42,7 +47,7 @@ async function buildMastraConfig() {
42
47
  const runtime = new Mastra({
43
48
  storage: new InMemoryStore(),
44
49
  });
45
- return { mastra: runtime };
50
+ return { mastra: runtime, stepHandlers: createMastraDefaultStepHandlers() };
46
51
  }
47
52
  /** Builds the read-only Dagster client from `DAGSTER_GRAPHQL_URL`, when set. */
48
53
  function buildDagsterClient() {
@@ -55,8 +60,18 @@ async function bootstrap() {
55
60
  const port = Number(process.env["GRAPH_BACKEND_PORT"] ?? process.argv[2] ?? 3000);
56
61
  const variant = graphEngineVariantFromEnv();
57
62
  const dagsterClient = variant === "dagster" ? buildDagsterClient() : undefined;
63
+ // Seed the demo workflow fixture registry (`src/workflows`) into whichever
64
+ // engine this driver boots, so the per-engine catalogue and the serving list
65
+ // expose the full fixture set out of the box. The registry is excluded from
66
+ // release packaging, so the loader yields an empty set there. Demo seeding can
67
+ // be suppressed in a source-built production host without a code change by
68
+ // setting `GRAPH_SEED_DEMO=off` (F5 hardening).
69
+ const demoWorkflows = graphDemoSeedEnabledFromEnv()
70
+ ? await loadGraphDemoWorkflows()
71
+ : [];
58
72
  const host = await createGraphBackendHost({
59
73
  variant,
74
+ ...(demoWorkflows.length > 0 ? { seedWorkflows: demoWorkflows } : {}),
60
75
  ...(variant === "mastra" ? { mastra: await buildMastraConfig() } : {}),
61
76
  ...(variant === "dagster"
62
77
  ? {
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../../../src/nest/graph/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,kCAA+B;AAC9D,OAAO,EACL,sBAAsB,EACtB,yBAAyB,GAC1B,8BAA2B;AAC5B,OAAO,EAAE,oBAAoB,EAAE,gDAA2C;AAI1E,2EAA2E;AAC3E,KAAK,UAAU,iBAAiB;IAC9B,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACxD,MAAM,CAAC,qBAAqB,CAAC;QAC7B,MAAM,CAAC,sBAAsB,CAAC;KAC/B,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,IAAK,MAER,CAAC;QACZ,OAAO,EAAE,IAAK,aAA8C,EAAE;KAC/D,CAAC,CAAC;IACH,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAC7B,CAAC;AAED,gFAAgF;AAChF,SAAS,kBAAkB;IACzB,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IAC/C,IAAI,CAAC,GAAG;QAAE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AG,CAAC,CAAC;IACvD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,31 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ /**
11
+ * @module as-graph/ram/GraphNodeRepository
12
+ * @summary Adapter-backed repository for graph node-kind rows (SAA-774 R3).
13
+ * @description Repository for {@link GraphNodeModel} rows. Callers provide the
14
+ * adapter (a `RamAdapter` via {@link createRamGraphAdapter} in tests, a durable
15
+ * adapter in production); it is never created implicitly.
16
+ */
17
+ import { Repository, repository } from "@decaf-ts/core";
18
+ import { DefaultFlavour } from "@decaf-ts/decoration";
19
+ import { GraphNodeModel } from "./../shared/graph/index.js";
20
+ /** Repository for {@link GraphNodeModel} rows. */
21
+ let GraphNodeRepository = class GraphNodeRepository extends Repository {
22
+ constructor(adapter) {
23
+ super(adapter, GraphNodeModel);
24
+ }
25
+ };
26
+ GraphNodeRepository = __decorate([
27
+ repository(GraphNodeModel, DefaultFlavour),
28
+ __metadata("design:paramtypes", [Function])
29
+ ], GraphNodeRepository);
30
+ export { GraphNodeRepository };
31
+ //# sourceMappingURL=GraphNodeRepository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphNodeRepository.js","sourceRoot":"","sources":["../../../src/ram/GraphNodeRepository.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;GAMG;AACH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAgB,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,mCAAwB;AAEjD,kDAAkD;AAE3C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,UAGxC;IACC,YAAY,OAAqC;QAC/C,KAAK,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;IACjC,CAAC;CACF,CAAA;AAPY,mBAAmB;IAD/B,UAAU,CAAC,cAAc,EAAE,cAAc,CAAC;;GAC9B,mBAAmB,CAO/B"}
@@ -24,6 +24,7 @@ export * from "./../engine/runs/GraphRunConverters.js";
24
24
  export * from "./GraphRunEventModel.js";
25
25
  export * from "./GraphRunStore.js";
26
26
  export * from "./GraphRunEventStore.js";
27
+ export * from "./GraphNodeRepository.js";
27
28
  /**
28
29
  * Creates and initializes a {@link RamAdapter} for use with the ram-backed
29
30
  * stores. Tests use this; production passes a durable adapter instead.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ram/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,qDAAgD;AAChD,0DAAqD;AACrD,uDAAkD;AAClD,wCAAqC;AACrC,mCAAgC;AAChC,wCAAqC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,KAAK,GAAG,cAAc;IAEtB,MAAM,OAAO,GAAG,IAAI,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACjD,MAAM,OAAO,CAAC,UAAU,EAAE,CAAC;IAC3B,OAAO,OAAO,CAAC;AACjB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ram/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,qDAAgD;AAChD,0DAAqD;AACrD,uDAAkD;AAClD,wCAAqC;AACrC,mCAAgC;AAChC,wCAAqC;AACrC,yCAAsC;AAEtC;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,KAAK,GAAG,cAAc;IAEtB,MAAM,OAAO,GAAG,IAAI,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACjD,MAAM,OAAO,CAAC,UAAU,EAAE,CAAC;IAC3B,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @module as-graph/shared/graph/GraphNodeConverters
3
+ * @summary Converters between {@link GraphNodeManifest} and {@link GraphNodeModel}.
4
+ * @description Lossless conversion used by the catalogue-backed node persistence
5
+ * service (SAA-774 R3). Manifests are validated and deep-cloned so persisted rows
6
+ * are JSON-safe and isolated from live in-memory catalogue state.
7
+ */
8
+ import { ValidationError } from "@decaf-ts/db-decorators";
9
+ import { deserializeGraphNodeManifest, serializeGraphNodeManifest, } from "./catalog/index.js";
10
+ import { GraphNodeModel } from "./GraphNodeModel.js";
11
+ /**
12
+ * Builds a {@link GraphNodeModel} row from a node-kind manifest, mirroring the
13
+ * display summary into dedicated columns while keeping the full JSON-safe
14
+ * manifest on the row.
15
+ */
16
+ export function manifestToNodeModel(manifest) {
17
+ return new GraphNodeModel({
18
+ kind: manifest.kind,
19
+ name: manifest.display?.name,
20
+ category: manifest.display?.category,
21
+ group: manifest.display?.group,
22
+ description: manifest.display?.description,
23
+ manifest: deserializeGraphNodeManifest(serializeGraphNodeManifest(manifest)),
24
+ });
25
+ }
26
+ /**
27
+ * Restores the JSON-safe {@link GraphNodeManifest} from a persisted
28
+ * {@link GraphNodeModel} row.
29
+ *
30
+ * @throws {ValidationError} When the row carries no manifest.
31
+ */
32
+ export function nodeModelToManifest(model) {
33
+ if (!model.manifest) {
34
+ throw new ValidationError(`Graph node row '${model.kind}' has no manifest to convert`);
35
+ }
36
+ return deserializeGraphNodeManifest(serializeGraphNodeManifest(model.manifest));
37
+ }
38
+ //# sourceMappingURL=GraphNodeConverters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphNodeConverters.js","sourceRoot":"","sources":["../../../../src/shared/graph/GraphNodeConverters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,GAC3B,2BAAkB;AACnB,OAAO,EAAE,cAAc,EAAE,4BAAyB;AAElD;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CACjC,QAA2B;IAE3B,OAAO,IAAI,cAAc,CAAC;QACxB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,QAAQ,CAAC,OAAO,EAAE,IAAI;QAC5B,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,QAAQ;QACpC,KAAK,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK;QAC9B,WAAW,EAAE,QAAQ,CAAC,OAAO,EAAE,WAAW;QAC1C,QAAQ,EAAE,4BAA4B,CACpC,0BAA0B,CAAC,QAAQ,CAAC,CACrC;KACF,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAqB;IACvD,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QACpB,MAAM,IAAI,eAAe,CACvB,mBAAmB,KAAK,CAAC,IAAI,8BAA8B,CAC5D,CAAC;IACJ,CAAC;IACD,OAAO,4BAA4B,CACjC,0BAA0B,CAAC,KAAK,CAAC,QAAQ,CAAC,CAC3C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,65 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ /**
11
+ * @module as-graph/shared/graph/GraphNodeModel
12
+ * @summary Persistable node-kind catalogue row (SAA-774 R3).
13
+ * @description Frontend-safe persistence model for a node kind registered in the
14
+ * {@link GraphNodeCatalogue}. One row per kind, carrying the display summary plus
15
+ * the full JSON-safe {@link GraphNodeManifest}. Living on the shared surface (a
16
+ * `persistedModelClass`) lets backend stores and UI listing/forms share the same
17
+ * decorated class, mirroring {@link GraphWorkflowModel} and {@link GraphRunModel}.
18
+ */
19
+ import { model } from "@decaf-ts/decorator-validation";
20
+ import { BaseModel, column, index, pk, table } from "@decaf-ts/core";
21
+ /**
22
+ * Persistent row for a node kind exposed through repository/adapter CRUD.
23
+ *
24
+ * `kind` is the catalogue key and the primary key. The `name`, `category`,
25
+ * `group` and `description` columns mirror `manifest.display` so listings can be
26
+ * filtered and sorted without deserialising the full manifest.
27
+ */
28
+ let GraphNodeModel = class GraphNodeModel extends BaseModel {
29
+ constructor(arg) {
30
+ super(arg);
31
+ }
32
+ };
33
+ __decorate([
34
+ pk({ type: String, generated: false }),
35
+ __metadata("design:type", String)
36
+ ], GraphNodeModel.prototype, "kind", void 0);
37
+ __decorate([
38
+ column(),
39
+ index(),
40
+ __metadata("design:type", String)
41
+ ], GraphNodeModel.prototype, "name", void 0);
42
+ __decorate([
43
+ column(),
44
+ index(),
45
+ __metadata("design:type", String)
46
+ ], GraphNodeModel.prototype, "category", void 0);
47
+ __decorate([
48
+ column(),
49
+ __metadata("design:type", String)
50
+ ], GraphNodeModel.prototype, "group", void 0);
51
+ __decorate([
52
+ column(),
53
+ __metadata("design:type", String)
54
+ ], GraphNodeModel.prototype, "description", void 0);
55
+ __decorate([
56
+ column(),
57
+ __metadata("design:type", Object)
58
+ ], GraphNodeModel.prototype, "manifest", void 0);
59
+ GraphNodeModel = __decorate([
60
+ table("graph_node"),
61
+ model(),
62
+ __metadata("design:paramtypes", [Object])
63
+ ], GraphNodeModel);
64
+ export { GraphNodeModel };
65
+ //# sourceMappingURL=GraphNodeModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphNodeModel.js","sourceRoot":"","sources":["../../../../src/shared/graph/GraphNodeModel.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGrE;;;;;;GAMG;AAGI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,SAAS;IA2B3C,YAAY,GAA6B;QACvC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF,CAAA;AA3BC;IADC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;4CACzB;AAKd;IAFC,MAAM,EAAE;IACR,KAAK,EAAE;;4CACM;AAKd;IAFC,MAAM,EAAE;IACR,KAAK,EAAE;;gDACU;AAIlB;IADC,MAAM,EAAE;;6CACM;AAIf;IADC,MAAM,EAAE;;mDACY;AAIrB;IADC,MAAM,EAAE;;gDACoB;AAzBlB,cAAc;IAF1B,KAAK,CAAC,YAAY,CAAC;IACnB,KAAK,EAAE;;GACK,cAAc,CA8B1B"}
@@ -16,6 +16,8 @@ export * from "./layout/index.js";
16
16
  export * from "./types.js";
17
17
  export * from "./GraphRunModel.js";
18
18
  export * from "./GraphWorkflowModel.js";
19
+ export * from "./GraphNodeModel.js";
20
+ export * from "./GraphNodeConverters.js";
19
21
  export * from "./GraphResolution.js";
20
22
  export * from "./GraphExecutionStateMapper.js";
21
23
  export * from "./category-styles.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/graph/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,yBAAyB,CAAC;AACjC,8BAAqB;AAErB,+BAA4B;AAC5B,0BAAuB;AACvB,gCAA6B;AAC7B,8BAA2B;AAC3B,qCAA4B;AAC5B,8BAA2B;AAC3B,4BAAyB;AACzB,oCAA2B;AAC3B,mCAA0B;AAC1B,kCAAyB;AACzB,2BAAwB;AACxB,mCAAgC;AAChC,wCAAqC;AACrC,qCAAkC;AAClC,+CAA4C;AAC5C,qCAAkC;AAClC,qCAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/graph/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,yBAAyB,CAAC;AACjC,8BAAqB;AAErB,+BAA4B;AAC5B,0BAAuB;AACvB,gCAA6B;AAC7B,8BAA2B;AAC3B,qCAA4B;AAC5B,8BAA2B;AAC3B,4BAAyB;AACzB,oCAA2B;AAC3B,mCAA0B;AAC1B,kCAAyB;AACzB,2BAAwB;AACxB,mCAAgC;AAChC,wCAAqC;AACrC,oCAAiC;AACjC,yCAAsC;AACtC,qCAAkC;AAClC,+CAA4C;AAC5C,qCAAkC;AAClC,qCAA4B"}
@@ -79,6 +79,13 @@ export declare class DagsterGraphExecutionBackend implements GraphExecutionBacke
79
79
  private client?;
80
80
  private readonly mapper;
81
81
  private readonly bridges;
82
+ /**
83
+ * Read-only catalogue of seeded canonical documents. Seeding registers the
84
+ * documents a host supplies at boot (its fixture registry) so they are listed
85
+ * and looked up through this backend; it is NOT an authoring surface — the
86
+ * backend's declared authoring capabilities stay `not_supported`.
87
+ */
88
+ private readonly seeded;
82
89
  private defaultTags;
83
90
  private _config?;
84
91
  private executionEnabled;
@@ -104,22 +111,51 @@ export declare class DagsterGraphExecutionBackend implements GraphExecutionBacke
104
111
  */
105
112
  get capabilities(): GraphBackendCapabilities;
106
113
  /**
107
- * Lists the deployment's Dagster jobs through the client port.
114
+ * Lists the seeded fixture catalogue plus the deployment's Dagster jobs
115
+ * through the client port. Seeded fixtures (owner-less, read-only) appear for
116
+ * ids the deployment does not define; a deployment job whose name collides with
117
+ * a seeded fixture replaces that fixture (F6), so the real job stays reachable
118
+ * from the listing as well as from {@link getWorkflow}.
108
119
  *
109
120
  * @returns Real workflow summaries.
110
- * @throws {GraphExecutionError} when the client port exposes no job listing.
121
+ * @throws {GraphExecutionError} when there is nothing to list: no seeded
122
+ * fixtures and the client port exposes no job listing.
111
123
  */
112
124
  listWorkflows(): Promise<GraphBackendWorkflowSummary[]>;
125
+ /**
126
+ * Seeds canonical workflow documents into this backend's read-only catalogue
127
+ * so they are listed and looked up alongside the deployment's jobs. Seeding is
128
+ * a host boot action, never an authoring surface: the backend's declared
129
+ * authoring capabilities stay `not_supported`.
130
+ *
131
+ * @param documents - The canonical documents to register.
132
+ * @returns The seeded workflow summaries.
133
+ */
134
+ seedWorkflows(documents: readonly GraphWorkflowDocument[]): Promise<GraphBackendWorkflowSummary[]>;
113
135
  /**
114
136
  * Reads a single already-deployed Dagster job through the client port and maps
115
137
  * its ACTUAL deployment structure (graph/op structure, asset keys,
116
138
  * schedules/sensors) into the canonical document shape.
117
139
  *
140
+ * The real deployment is authoritative on an id collision (F6): when the
141
+ * deployment defines a job whose name matches the requested id, the deployment
142
+ * job is served even if a seeded fixture shares that id, so a real job can never
143
+ * be shadowed by the boot seed. A seeded document is returned only for ids the
144
+ * deployment does not define (or when no client port is wired).
145
+ *
118
146
  * @param workflowId - The canonical workflow id (the Dagster job name).
119
- * @returns A canonical document describing the existing job.
120
- * @throws {GraphExecutionError} when the client port exposes no job lookup.
147
+ * @returns A canonical document describing the existing job, or the seeded fixture.
148
+ * @throws {GraphExecutionError} when no client is wired and the id is not seeded, or when the client port exposes no job lookup.
121
149
  */
122
150
  getWorkflow(workflowId: string): Promise<GraphWorkflowDocument>;
151
+ /**
152
+ * Whether the Dagster deployment defines a job with the given id (F6). Resolves
153
+ * an id collision between a seeded fixture and a real deployment job in favour
154
+ * of the deployment. Fails safe to `false` when the port exposes no job listing
155
+ * or the listing cannot be read, so an unavailable listing never hides the
156
+ * seeded catalogue.
157
+ */
158
+ private deploymentDefinesJob;
123
159
  /**
124
160
  * Reads an EXISTING Dagster run's terminal record through the client port.
125
161
  *
@@ -79,6 +79,13 @@ export declare class DagsterGraphExecutionBackend implements GraphExecutionBacke
79
79
  private client?;
80
80
  private readonly mapper;
81
81
  private readonly bridges;
82
+ /**
83
+ * Read-only catalogue of seeded canonical documents. Seeding registers the
84
+ * documents a host supplies at boot (its fixture registry) so they are listed
85
+ * and looked up through this backend; it is NOT an authoring surface — the
86
+ * backend's declared authoring capabilities stay `not_supported`.
87
+ */
88
+ private readonly seeded;
82
89
  private defaultTags;
83
90
  private _config?;
84
91
  private executionEnabled;
@@ -104,22 +111,51 @@ export declare class DagsterGraphExecutionBackend implements GraphExecutionBacke
104
111
  */
105
112
  get capabilities(): GraphBackendCapabilities;
106
113
  /**
107
- * Lists the deployment's Dagster jobs through the client port.
114
+ * Lists the seeded fixture catalogue plus the deployment's Dagster jobs
115
+ * through the client port. Seeded fixtures (owner-less, read-only) appear for
116
+ * ids the deployment does not define; a deployment job whose name collides with
117
+ * a seeded fixture replaces that fixture (F6), so the real job stays reachable
118
+ * from the listing as well as from {@link getWorkflow}.
108
119
  *
109
120
  * @returns Real workflow summaries.
110
- * @throws {GraphExecutionError} when the client port exposes no job listing.
121
+ * @throws {GraphExecutionError} when there is nothing to list: no seeded
122
+ * fixtures and the client port exposes no job listing.
111
123
  */
112
124
  listWorkflows(): Promise<GraphBackendWorkflowSummary[]>;
125
+ /**
126
+ * Seeds canonical workflow documents into this backend's read-only catalogue
127
+ * so they are listed and looked up alongside the deployment's jobs. Seeding is
128
+ * a host boot action, never an authoring surface: the backend's declared
129
+ * authoring capabilities stay `not_supported`.
130
+ *
131
+ * @param documents - The canonical documents to register.
132
+ * @returns The seeded workflow summaries.
133
+ */
134
+ seedWorkflows(documents: readonly GraphWorkflowDocument[]): Promise<GraphBackendWorkflowSummary[]>;
113
135
  /**
114
136
  * Reads a single already-deployed Dagster job through the client port and maps
115
137
  * its ACTUAL deployment structure (graph/op structure, asset keys,
116
138
  * schedules/sensors) into the canonical document shape.
117
139
  *
140
+ * The real deployment is authoritative on an id collision (F6): when the
141
+ * deployment defines a job whose name matches the requested id, the deployment
142
+ * job is served even if a seeded fixture shares that id, so a real job can never
143
+ * be shadowed by the boot seed. A seeded document is returned only for ids the
144
+ * deployment does not define (or when no client port is wired).
145
+ *
118
146
  * @param workflowId - The canonical workflow id (the Dagster job name).
119
- * @returns A canonical document describing the existing job.
120
- * @throws {GraphExecutionError} when the client port exposes no job lookup.
147
+ * @returns A canonical document describing the existing job, or the seeded fixture.
148
+ * @throws {GraphExecutionError} when no client is wired and the id is not seeded, or when the client port exposes no job lookup.
121
149
  */
122
150
  getWorkflow(workflowId: string): Promise<GraphWorkflowDocument>;
151
+ /**
152
+ * Whether the Dagster deployment defines a job with the given id (F6). Resolves
153
+ * an id collision between a seeded fixture and a real deployment job in favour
154
+ * of the deployment. Fails safe to `false` when the port exposes no job listing
155
+ * or the listing cannot be read, so an unavailable listing never hides the
156
+ * seeded catalogue.
157
+ */
158
+ private deploymentDefinesJob;
123
159
  /**
124
160
  * Reads an EXISTING Dagster run's terminal record through the client port.
125
161
  *
@@ -83,6 +83,22 @@ export interface GraphBackendWorkflowStore {
83
83
  listWorkflows(...args: MaybeContextualArg<Context>): Promise<GraphBackendWorkflowRecord[]>;
84
84
  /** Reads a single canonical workflow document. */
85
85
  getDocument(workflowId: string, ...args: MaybeContextualArg<Context>): Promise<GraphWorkflowDocument>;
86
+ /**
87
+ * Persists a canonical workflow document (the seed surface). Optional: a
88
+ * read-only store omits it, and the backend's `seedWorkflows` then fails
89
+ * closed instead of silently dropping the seeds. `GraphWorkflowService`
90
+ * structurally satisfies it.
91
+ */
92
+ saveDocument?(workflowId: string, document: GraphWorkflowDocument, ...args: MaybeContextualArg<Context>): Promise<unknown>;
93
+ /**
94
+ * Boot-seed surface: persists a canonical workflow document, treating an
95
+ * existing foreign-owned row as a skip rather than a hard failure (F2
96
+ * availability fix). Optional; when present the local backend prefers it over
97
+ * {@link saveDocument} for its host-boot seed so a fixture id a durable store
98
+ * already holds as a user-owned row cannot fail host bootstrap. Request-path
99
+ * writes never use it — they stay fail-closed through `saveDocument`.
100
+ */
101
+ seedDocument?(workflowId: string, document: GraphWorkflowDocument, ...args: MaybeContextualArg<Context>): Promise<unknown>;
86
102
  }
87
103
  /**
88
104
  * Facade-owned event sink handed to a backend. The facade owns event
@@ -204,6 +220,17 @@ export interface GraphExecutionBackend<CONFIG extends Record<string, unknown> =
204
220
  * without a catalogue omit this method (or declare `not_supported`).
205
221
  */
206
222
  getWorkflow?(workflowId: string, ...args: MaybeContextualArg<Context>): Promise<GraphWorkflowDocument>;
223
+ /**
224
+ * Seeds canonical workflow documents into this backend's own catalogue so
225
+ * they are served by {@link listWorkflows}/{@link getWorkflow}. The host
226
+ * supplies its fixture registry at boot and the backend registers the
227
+ * documents through its own engine-dependent store (persistence for the local
228
+ * backend, translated catalogue for Mastra, the read-only catalogue for
229
+ * Dagster). Returns the seeded summaries. A backend without a writable
230
+ * catalogue omits this method; the facade fails closed rather than silently
231
+ * dropping the seeds.
232
+ */
233
+ seedWorkflows?(documents: readonly GraphWorkflowDocument[], ...args: MaybeContextualArg<Context>): Promise<GraphBackendWorkflowSummary[]>;
207
234
  /**
208
235
  * Executes a validated/resolved workflow.
209
236
  *
@@ -83,6 +83,22 @@ export interface GraphBackendWorkflowStore {
83
83
  listWorkflows(...args: MaybeContextualArg<Context>): Promise<GraphBackendWorkflowRecord[]>;
84
84
  /** Reads a single canonical workflow document. */
85
85
  getDocument(workflowId: string, ...args: MaybeContextualArg<Context>): Promise<GraphWorkflowDocument>;
86
+ /**
87
+ * Persists a canonical workflow document (the seed surface). Optional: a
88
+ * read-only store omits it, and the backend's `seedWorkflows` then fails
89
+ * closed instead of silently dropping the seeds. `GraphWorkflowService`
90
+ * structurally satisfies it.
91
+ */
92
+ saveDocument?(workflowId: string, document: GraphWorkflowDocument, ...args: MaybeContextualArg<Context>): Promise<unknown>;
93
+ /**
94
+ * Boot-seed surface: persists a canonical workflow document, treating an
95
+ * existing foreign-owned row as a skip rather than a hard failure (F2
96
+ * availability fix). Optional; when present the local backend prefers it over
97
+ * {@link saveDocument} for its host-boot seed so a fixture id a durable store
98
+ * already holds as a user-owned row cannot fail host bootstrap. Request-path
99
+ * writes never use it — they stay fail-closed through `saveDocument`.
100
+ */
101
+ seedDocument?(workflowId: string, document: GraphWorkflowDocument, ...args: MaybeContextualArg<Context>): Promise<unknown>;
86
102
  }
87
103
  /**
88
104
  * Facade-owned event sink handed to a backend. The facade owns event
@@ -204,6 +220,17 @@ export interface GraphExecutionBackend<CONFIG extends Record<string, unknown> =
204
220
  * without a catalogue omit this method (or declare `not_supported`).
205
221
  */
206
222
  getWorkflow?(workflowId: string, ...args: MaybeContextualArg<Context>): Promise<GraphWorkflowDocument>;
223
+ /**
224
+ * Seeds canonical workflow documents into this backend's own catalogue so
225
+ * they are served by {@link listWorkflows}/{@link getWorkflow}. The host
226
+ * supplies its fixture registry at boot and the backend registers the
227
+ * documents through its own engine-dependent store (persistence for the local
228
+ * backend, translated catalogue for Mastra, the read-only catalogue for
229
+ * Dagster). Returns the seeded summaries. A backend without a writable
230
+ * catalogue omits this method; the facade fails closed rather than silently
231
+ * dropping the seeds.
232
+ */
233
+ seedWorkflows?(documents: readonly GraphWorkflowDocument[], ...args: MaybeContextualArg<Context>): Promise<GraphBackendWorkflowSummary[]>;
207
234
  /**
208
235
  * Executes a validated/resolved workflow.
209
236
  *
@@ -87,6 +87,15 @@ export interface GraphExecutionEngineConfig {
87
87
  * ignore this port.
88
88
  */
89
89
  workflowStore?: GraphBackendWorkflowStore;
90
+ /**
91
+ * Canonical workflow documents to seed into the active backend's own
92
+ * catalogue at boot (the host's fixture registry). Each backend registers
93
+ * them through its engine-dependent store so the per-engine catalogue
94
+ * (`graph/engines/{engineId}/workflows`) serves them. The engine fails closed
95
+ * with `GRAPH_BACKEND_SEED_NOT_SUPPORTED` when seeds are supplied but the
96
+ * backend exposes no seed surface, so a host never silently loses its seeds.
97
+ */
98
+ seedWorkflows?: readonly GraphWorkflowDocument[];
90
99
  /**
91
100
  * Decaf adapter backing cached/pinned value persistence. Defaults to the
92
101
  * globally configured adapter (`Adapter.current`); tests pass a `RamAdapter`
@@ -87,6 +87,15 @@ export interface GraphExecutionEngineConfig {
87
87
  * ignore this port.
88
88
  */
89
89
  workflowStore?: GraphBackendWorkflowStore;
90
+ /**
91
+ * Canonical workflow documents to seed into the active backend's own
92
+ * catalogue at boot (the host's fixture registry). Each backend registers
93
+ * them through its engine-dependent store so the per-engine catalogue
94
+ * (`graph/engines/{engineId}/workflows`) serves them. The engine fails closed
95
+ * with `GRAPH_BACKEND_SEED_NOT_SUPPORTED` when seeds are supplied but the
96
+ * backend exposes no seed surface, so a host never silently loses its seeds.
97
+ */
98
+ seedWorkflows?: readonly GraphWorkflowDocument[];
90
99
  /**
91
100
  * Decaf adapter backing cached/pinned value persistence. Defaults to the
92
101
  * globally configured adapter (`Adapter.current`); tests pass a `RamAdapter`
@@ -84,6 +84,20 @@ export declare class LocalGraphExecutionBackend implements GraphExecutionBackend
84
84
  * @throws {GraphExecutionError} when no workflow store is wired in.
85
85
  */
86
86
  getWorkflow(workflowId: string, ...args: MaybeContextualArg<Context>): Promise<GraphWorkflowDocument>;
87
+ /**
88
+ * Seeds canonical workflow documents into the wired `GraphWorkflowStore`
89
+ * port so the local reference backend's catalogue serves them. Each document
90
+ * is persisted through the store's own write path (`saveDocument`), so the
91
+ * seed honours the same boundary validation and ownership rules as any other
92
+ * write — never a bypass. The port must expose `saveDocument`; a read-only
93
+ * store fails closed.
94
+ *
95
+ * @param documents - The canonical documents to persist.
96
+ * @param args - Optional decaf contextual arguments forwarded to the store.
97
+ * @returns The seeded workflow summaries.
98
+ * @throws {GraphExecutionError} when no writable workflow store is wired in.
99
+ */
100
+ seedWorkflows(documents: readonly GraphWorkflowDocument[], ...args: MaybeContextualArg<Context>): Promise<GraphBackendWorkflowSummary[]>;
87
101
  /**
88
102
  * Executes a validated/resolved workflow's plan against the facade-owned
89
103
  * frame carried by the request's event sink.
@@ -84,6 +84,20 @@ export declare class LocalGraphExecutionBackend implements GraphExecutionBackend
84
84
  * @throws {GraphExecutionError} when no workflow store is wired in.
85
85
  */
86
86
  getWorkflow(workflowId: string, ...args: MaybeContextualArg<Context>): Promise<GraphWorkflowDocument>;
87
+ /**
88
+ * Seeds canonical workflow documents into the wired `GraphWorkflowStore`
89
+ * port so the local reference backend's catalogue serves them. Each document
90
+ * is persisted through the store's own write path (`saveDocument`), so the
91
+ * seed honours the same boundary validation and ownership rules as any other
92
+ * write — never a bypass. The port must expose `saveDocument`; a read-only
93
+ * store fails closed.
94
+ *
95
+ * @param documents - The canonical documents to persist.
96
+ * @param args - Optional decaf contextual arguments forwarded to the store.
97
+ * @returns The seeded workflow summaries.
98
+ * @throws {GraphExecutionError} when no writable workflow store is wired in.
99
+ */
100
+ seedWorkflows(documents: readonly GraphWorkflowDocument[], ...args: MaybeContextualArg<Context>): Promise<GraphBackendWorkflowSummary[]>;
87
101
  /**
88
102
  * Executes a validated/resolved workflow's plan against the facade-owned
89
103
  * frame carried by the request's event sink.
@@ -62,4 +62,5 @@ export * from "./runs/index.d.cts";
62
62
  export * from "./services/GraphEnvironment.d.cts";
63
63
  export * from "./services/GraphWorkflowService.d.cts";
64
64
  export * from "./services/GraphRunModelService.d.cts";
65
+ export * from "./services/GraphNodeModelService.d.cts";
65
66
  export * from "./snapshots/GraphExecutionSnapshotMapper.d.cts";
@@ -62,4 +62,5 @@ export * from "./runs/index.d.mts";
62
62
  export * from "./services/GraphEnvironment.d.mts";
63
63
  export * from "./services/GraphWorkflowService.d.mts";
64
64
  export * from "./services/GraphRunModelService.d.mts";
65
+ export * from "./services/GraphNodeModelService.d.mts";
65
66
  export * from "./snapshots/GraphExecutionSnapshotMapper.d.mts";