@workglow/task-graph 0.2.30 → 0.2.31

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.
@@ -62,5 +62,10 @@ export declare function setGlobalTaskConstructors(map: Map<string, AnyTaskConstr
62
62
  * falling back to the global TaskRegistry.
63
63
  */
64
64
  export declare function getTaskConstructors(registry?: ServiceRegistry): Map<string, AnyTaskConstructor>;
65
+ /**
66
+ * Registers the task constructor map default factory and the "tasks" input resolver/compactor
67
+ * on the given registry. Called by `bootstrapWorkglow` and `createOrchestrationContext`.
68
+ */
69
+ export declare function registerTaskDefaults(registry?: ServiceRegistry): void;
65
70
  export {};
66
71
  //# sourceMappingURL=TaskRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TaskRegistry.d.ts","sourceRoot":"","sources":["../../src/task/TaskRegistry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAML,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,kBAAkB,GAAG,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAQ1D;;;;;;;;GAQG;AACH,iBAAS,YAAY,CAAC,SAAS,EAAE,kBAAkB,GAAG,IAAI,CA2BzD;AAED;;;;;;GAMG;AACH,iBAAS,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7C;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CAEJ,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wEAC4C,CAAC;AAS3E;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAE3E;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,IAAI,CAEpF;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,eAAe,GAAG,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAG/F"}
1
+ {"version":3,"file":"TaskRegistry.d.ts","sourceRoot":"","sources":["../../src/task/TaskRegistry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAML,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,kBAAkB,GAAG,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAQ1D;;;;;;;;GAQG;AACH,iBAAS,YAAY,CAAC,SAAS,EAAE,kBAAkB,GAAG,IAAI,CA2BzD;AAED;;;;;;GAMG;AACH,iBAAS,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7C;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CAEJ,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wEAC4C,CAAC;AAE3E;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAE3E;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,IAAI,CAEpF;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,eAAe,GAAG,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAG/F;AA8DD;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,GAAE,eAAuC,GAAG,IAAI,CAQ5F"}
@@ -2,6 +2,7 @@
2
2
  * @license Copyright 2025 Steven Roussey <sroussey@gmail.com>
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
+ import { ServiceRegistry } from "@workglow/util";
5
6
  import type { ITransformDef } from "./TransformTypes";
6
7
  /** Register / unregister / inspect global transforms. */
7
8
  export declare const TransformRegistry: {
@@ -11,4 +12,9 @@ export declare const TransformRegistry: {
11
12
  };
12
13
  /** DI token — mirrors TASK_CONSTRUCTORS pattern. */
13
14
  export declare const TRANSFORM_DEFS: import("@workglow/util").ServiceToken<Map<string, ITransformDef<any>>>;
15
+ /**
16
+ * Registers the transform defs map default factory on the given registry.
17
+ * Called by `bootstrapWorkglow` and `createOrchestrationContext`.
18
+ */
19
+ export declare function registerTransformDefaults(registry?: ServiceRegistry): void;
14
20
  //# sourceMappingURL=TransformRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransformRegistry.d.ts","sourceRoot":"","sources":["../../src/task-graph/TransformRegistry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD,yDAAyD;AACzD,eAAO,MAAM,iBAAiB;IAC5B,GAAG;IACH,iBAAiB,MAAM,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI;IAGhD,mBAAmB,KAAK,MAAM,GAAG,IAAI;CAGtC,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,cAAc,wEAAwE,CAAC"}
1
+ {"version":3,"file":"TransformRegistry.d.ts","sourceRoot":"","sources":["../../src/task-graph/TransformRegistry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA6C,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD,yDAAyD;AACzD,eAAO,MAAM,iBAAiB;IAC5B,GAAG;IACH,iBAAiB,MAAM,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI;IAGhD,mBAAmB,KAAK,MAAM,GAAG,IAAI;CAGtC,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,cAAc,wEAAwE,CAAC;AAEpG;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,GAAE,eAAuC,GAAG,IAAI,CAMjG"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workglow/task-graph",
3
3
  "type": "module",
4
- "version": "0.2.30",
4
+ "version": "0.2.31",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/workglow-dev/workglow.git",
@@ -51,9 +51,9 @@
51
51
  "access": "public"
52
52
  },
53
53
  "peerDependencies": {
54
- "@workglow/job-queue": "0.2.30",
55
- "@workglow/storage": "0.2.30",
56
- "@workglow/util": "0.2.30"
54
+ "@workglow/job-queue": "0.2.31",
55
+ "@workglow/storage": "0.2.31",
56
+ "@workglow/util": "0.2.31"
57
57
  },
58
58
  "peerDependenciesMeta": {
59
59
  "@workglow/job-queue": {
@@ -67,8 +67,8 @@
67
67
  }
68
68
  },
69
69
  "devDependencies": {
70
- "@workglow/job-queue": "0.2.30",
71
- "@workglow/storage": "0.2.30",
72
- "@workglow/util": "0.2.30"
70
+ "@workglow/job-queue": "0.2.31",
71
+ "@workglow/storage": "0.2.31",
72
+ "@workglow/util": "0.2.31"
73
73
  }
74
74
  }