@fluidgrids/workflows 2026.1027.0 → 2026.1027.1

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 (52) hide show
  1. package/README.md +26 -5
  2. package/dist/{assemble-DMOuaxRI.d.ts → assemble-CrpUyd_3.d.ts} +20 -2
  3. package/dist/{assemble-BJo9TECS.d.cts → assemble-DEf3znGD.d.cts} +20 -2
  4. package/dist/chunk-3M34AUIY.cjs +27 -0
  5. package/dist/chunk-5AW745OG.js +25 -0
  6. package/dist/{chunk-RRQ5HOBF.cjs → chunk-6AIAC2FP.cjs} +4 -4
  7. package/dist/{chunk-GO34UHSY.js → chunk-6BEW4QD6.js} +3 -3
  8. package/dist/{chunk-SS4LT2IP.js → chunk-6U446SKY.js} +5 -10
  9. package/dist/{chunk-AU3YW7FZ.cjs → chunk-7YR7DI7B.cjs} +46 -51
  10. package/dist/{chunk-27HASETB.cjs → chunk-CSYBNN3V.cjs} +3 -1
  11. package/dist/{chunk-LRM6JXJA.cjs → chunk-E3APHA6O.cjs} +19 -1
  12. package/dist/{chunk-BWSLWF2E.js → chunk-EEAIM35V.js} +38 -12
  13. package/dist/{chunk-X4HKU3MX.js → chunk-IHKXLG6I.js} +3 -1
  14. package/dist/chunk-MBBKGD7K.js +440 -0
  15. package/dist/{chunk-LSKSBVL4.cjs → chunk-OSPTJCDI.cjs} +6 -6
  16. package/dist/{chunk-KUTMY2IO.cjs → chunk-TQF7MYEN.cjs} +101 -75
  17. package/dist/{chunk-BYJ7QTLY.cjs → chunk-TWOYB4Y7.cjs} +13 -13
  18. package/dist/{chunk-PL73GJR4.js → chunk-UB2BHU2M.js} +1 -1
  19. package/dist/{chunk-REV7ZOA4.js → chunk-UJNHTS6D.js} +13 -2
  20. package/dist/{chunk-IZQNUNSU.cjs → chunk-UWQWD7BP.cjs} +17 -17
  21. package/dist/{chunk-4DPEGDPW.js → chunk-W32BSO3M.js} +4 -4
  22. package/dist/{chunk-LMX35GNQ.js → chunk-XBIID5DY.js} +4 -4
  23. package/dist/chunk-Y7NWR3WH.cjs +450 -0
  24. package/dist/codegen/index.cjs +7 -7
  25. package/dist/codegen/index.js +5 -5
  26. package/dist/index.cjs +30 -30
  27. package/dist/index.d.cts +3 -3
  28. package/dist/index.d.ts +3 -3
  29. package/dist/index.js +3 -3
  30. package/dist/ir/index.cjs +118 -116
  31. package/dist/ir/index.d.cts +18 -8
  32. package/dist/ir/index.d.ts +18 -8
  33. package/dist/ir/index.js +21 -19
  34. package/dist/{lower-Dw5grNrI.d.ts → lower-CXggJTIo.d.ts} +20 -2
  35. package/dist/{lower-DcOY8ux0.d.cts → lower-DAzvsJCo.d.cts} +20 -2
  36. package/dist/node-evaluator-CH3XCJND.cjs +17 -0
  37. package/dist/node-evaluator-TULXA3WE.js +8 -0
  38. package/dist/quickjs/index.cjs +32 -78
  39. package/dist/quickjs/index.d.cts +4 -4
  40. package/dist/quickjs/index.d.ts +4 -4
  41. package/dist/quickjs/index.js +32 -78
  42. package/dist/roundtrip/index.cjs +201 -128
  43. package/dist/roundtrip/index.d.cts +7 -4
  44. package/dist/roundtrip/index.d.ts +7 -4
  45. package/dist/roundtrip/index.js +87 -18
  46. package/package.json +44 -18
  47. package/dist/chunk-265J2FCH.cjs +0 -33
  48. package/dist/chunk-LUXCXFOE.cjs +0 -269
  49. package/dist/chunk-S34NJE3A.js +0 -262
  50. package/dist/chunk-SRQRLWOS.js +0 -31
  51. package/dist/node-evaluator-2GTUZVPK.cjs +0 -17
  52. package/dist/node-evaluator-RMYEWCXZ.js +0 -8
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkLSKSBVL4_cjs = require('./chunk-LSKSBVL4.cjs');
4
- var chunkRRQ5HOBF_cjs = require('./chunk-RRQ5HOBF.cjs');
5
- var chunk27HASETB_cjs = require('./chunk-27HASETB.cjs');
6
- var chunkLRM6JXJA_cjs = require('./chunk-LRM6JXJA.cjs');
3
+ var chunkOSPTJCDI_cjs = require('./chunk-OSPTJCDI.cjs');
4
+ var chunk6AIAC2FP_cjs = require('./chunk-6AIAC2FP.cjs');
5
+ var chunkCSYBNN3V_cjs = require('./chunk-CSYBNN3V.cjs');
6
+ var chunkE3APHA6O_cjs = require('./chunk-E3APHA6O.cjs');
7
7
  var standalone = require('prettier/standalone');
8
8
  var prettierPluginEstree = require('prettier/plugins/estree');
9
9
  var prettierPluginTypescript = require('prettier/plugins/typescript');
@@ -199,7 +199,7 @@ function clientNames(manifests) {
199
199
  if (typeof manifest.nodeType !== "string" || manifest.nodeType.startsWith("internal:"))
200
200
  continue;
201
201
  const current = latest.get(manifest.nodeType);
202
- if (!current || chunkLSKSBVL4_cjs.compareVersions(manifest.nodeVersion, current.nodeVersion) > 0)
202
+ if (!current || chunkOSPTJCDI_cjs.compareVersions(manifest.nodeVersion, current.nodeVersion) > 0)
203
203
  latest.set(manifest.nodeType, manifest);
204
204
  }
205
205
  const usedTs = /* @__PURE__ */ new Set(["internal", "custom"]);
@@ -220,7 +220,7 @@ function clientNames(manifests) {
220
220
  const operations = /* @__PURE__ */ new Map();
221
221
  const opTs = /* @__PURE__ */ new Set();
222
222
  const opPy = /* @__PURE__ */ new Set();
223
- for (const operation of chunkLSKSBVL4_cjs.operationsOf(manifest)) {
223
+ for (const operation of chunkOSPTJCDI_cjs.operationsOf(manifest)) {
224
224
  if (operations.has(operation.name)) continue;
225
225
  let tsName = /^[A-Za-z_$][A-Za-z0-9_$]*$/.test(operation.name) ? operation.name : safeTsIdentifier(camelCase(operation.name), "op");
226
226
  let pyName = safePyIdentifier(snakeCase(operation.name), "op");
@@ -450,7 +450,7 @@ function str(text) {
450
450
  }
451
451
  function propertyKey(key) {
452
452
  if (key === "__proto__") return `[${str(key)}]`;
453
- return chunkLRM6JXJA_cjs.isJsIdentifier(key) ? key : str(key);
453
+ return chunkE3APHA6O_cjs.isJsIdentifier(key) ? key : str(key);
454
454
  }
455
455
  function nodeSource(nodeId, ctx) {
456
456
  const name = ctx.vars.get(nodeId);
@@ -460,7 +460,7 @@ function refText(ref, ctx) {
460
460
  let text = ref.target.kind === "node" ? `${nodeSource(ref.target.nodeId, ctx)}.output` : `wf.${ref.target.kind}`;
461
461
  for (const segment of ref.path) {
462
462
  if (segment.kind === "index") text += `[${segment.index}]`;
463
- else if (chunkLRM6JXJA_cjs.isJsIdentifier(segment.key) && !chunkRRQ5HOBF_cjs.RESERVED_REF_KEYS.has(segment.key))
463
+ else if (chunkE3APHA6O_cjs.isJsIdentifier(segment.key) && !chunk6AIAC2FP_cjs.RESERVED_REF_KEYS.has(segment.key))
464
464
  text += `.${segment.key}`;
465
465
  else text += `[${str(segment.key)}]`;
466
466
  }
@@ -579,7 +579,7 @@ function registrySnapshotHash(manifests) {
579
579
  const projection = manifests.filter((manifest) => typeof manifest.nodeType === "string").map((manifest) => ({
580
580
  nodeType: manifest.nodeType,
581
581
  nodeVersion: manifest.nodeVersion ?? null,
582
- operations: chunkLSKSBVL4_cjs.operationsOf(manifest).map((operation) => ({
582
+ operations: chunkOSPTJCDI_cjs.operationsOf(manifest).map((operation) => ({
583
583
  name: operation.name,
584
584
  type: operation.type ?? null,
585
585
  role: operation.role ?? null,
@@ -589,11 +589,11 @@ function registrySnapshotHash(manifests) {
589
589
  })).sort(
590
590
  (a, b) => a.nodeType === b.nodeType ? String(a.nodeVersion) < String(b.nodeVersion) ? -1 : 1 : a.nodeType < b.nodeType ? -1 : 1
591
591
  );
592
- return chunk27HASETB_cjs.sha256Tagged(chunk27HASETB_cjs.canonicalJson(projection));
592
+ return chunkCSYBNN3V_cjs.sha256Tagged(chunkCSYBNN3V_cjs.canonicalJson(projection));
593
593
  }
594
594
  function fieldOf(value) {
595
595
  if (typeof value === "string") return { type: value };
596
- return chunkLRM6JXJA_cjs.isRecord(value) ? value : {};
596
+ return chunkE3APHA6O_cjs.isRecord(value) ? value : {};
597
597
  }
598
598
  function stringChoices(field) {
599
599
  const choices = Array.isArray(field.enum) ? field.enum : Array.isArray(field.options) ? field.options : void 0;
@@ -627,7 +627,7 @@ function tsType(value, use, depth = 0) {
627
627
  return "Array<Json>";
628
628
  }
629
629
  case "object":
630
- if (chunkLRM6JXJA_cjs.isRecord(field.properties) && depth < 4)
630
+ if (chunkE3APHA6O_cjs.isRecord(field.properties) && depth < 4)
631
631
  return tsObject(field.properties, false, use, depth + 1);
632
632
  use.add("Json");
633
633
  return "Json";
@@ -664,7 +664,7 @@ function tsDescriptor(manifest, operation, use) {
664
664
  use,
665
665
  0
666
666
  );
667
- const factory = chunkLSKSBVL4_cjs.isTriggerOperation(operation) ? "trigger" : "op";
667
+ const factory = chunkOSPTJCDI_cjs.isTriggerOperation(operation) ? "trigger" : "op";
668
668
  const version = manifest.nodeVersion !== void 0 ? JSON.stringify(manifest.nodeVersion) : "undefined";
669
669
  return `${factory}<${input}, ${output}>(${JSON.stringify(manifest.nodeType)}, ${version}, ${JSON.stringify(operation.name)})`;
670
670
  }
@@ -688,12 +688,12 @@ async function generateTypeScript(manifests, snapshot) {
688
688
  for (const [client, manifest] of latestManifests(manifests, names)) {
689
689
  const members = [];
690
690
  const triggerMembers = [];
691
- for (const operation of chunkLSKSBVL4_cjs.operationsOf(manifest)) {
691
+ for (const operation of chunkOSPTJCDI_cjs.operationsOf(manifest)) {
692
692
  const key = client.operations.get(operation.name)?.ts;
693
693
  if (!key) continue;
694
694
  const descriptor = tsDescriptor(manifest, operation, use);
695
695
  members.push(`${comment(operation.description)}${tsKey(key)}: ${descriptor},`);
696
- if (chunkLSKSBVL4_cjs.isTriggerOperation(operation)) {
696
+ if (chunkOSPTJCDI_cjs.isTriggerOperation(operation)) {
697
697
  usesTrigger = true;
698
698
  triggerMembers.push(`${tsKey(key)}: ${descriptor},`);
699
699
  } else usesOp = true;
@@ -819,7 +819,7 @@ function generatePython(manifests, snapshot) {
819
819
  const triggerClassName = uniqueTypeName(`_${pascal(client.py)}Triggers`);
820
820
  const body = [];
821
821
  const triggerBody = [];
822
- for (const operation of chunkLSKSBVL4_cjs.operationsOf(manifest)) {
822
+ for (const operation of chunkOSPTJCDI_cjs.operationsOf(manifest)) {
823
823
  const opName = client.operations.get(operation.name)?.py;
824
824
  if (!opName) continue;
825
825
  const stem = `${pascal(client.py)}${pascal(opName)}`;
@@ -835,7 +835,7 @@ function generatePython(manifests, snapshot) {
835
835
  use
836
836
  )
837
837
  );
838
- const trigger = chunkLSKSBVL4_cjs.isTriggerOperation(operation);
838
+ const trigger = chunkOSPTJCDI_cjs.isTriggerOperation(operation);
839
839
  if (trigger) usesTrigger = true;
840
840
  else usesOp = true;
841
841
  const descriptor = {
@@ -1,5 +1,5 @@
1
- import { hashedProjection } from './chunk-SS4LT2IP.js';
2
- import { isRecord, deepEqual } from './chunk-REV7ZOA4.js';
1
+ import { hashedProjection } from './chunk-6U446SKY.js';
2
+ import { isRecord, deepEqual, ownValue } from './chunk-UJNHTS6D.js';
3
3
 
4
4
  // src/ir/diff.ts
5
5
  function keyPath(base, key) {
@@ -10,8 +10,8 @@ function diffValues(before, after, path, out) {
10
10
  if (isRecord(before) && isRecord(after)) {
11
11
  const keys = [.../* @__PURE__ */ new Set([...Object.keys(before), ...Object.keys(after)])].sort();
12
12
  for (const key of keys) {
13
- const left = before[key];
14
- const right = after[key];
13
+ const left = ownValue(before, key);
14
+ const right = ownValue(after, key);
15
15
  if (left === void 0 && right !== void 0)
16
16
  out.push({ kind: "added", path: keyPath(path, key), after: right });
17
17
  else if (left !== void 0 && right === void 0)
@@ -1,7 +1,7 @@
1
- import { compareVersions, operationsOf, isTriggerOperation } from './chunk-GO34UHSY.js';
2
- import { RESERVED_REF_KEYS } from './chunk-PL73GJR4.js';
3
- import { sha256Tagged, canonicalJson } from './chunk-X4HKU3MX.js';
4
- import { isJsIdentifier, isRecord } from './chunk-REV7ZOA4.js';
1
+ import { compareVersions, operationsOf, isTriggerOperation } from './chunk-6BEW4QD6.js';
2
+ import { RESERVED_REF_KEYS } from './chunk-UB2BHU2M.js';
3
+ import { sha256Tagged, canonicalJson } from './chunk-IHKXLG6I.js';
4
+ import { isJsIdentifier, isRecord } from './chunk-UJNHTS6D.js';
5
5
  import { format } from 'prettier/standalone';
6
6
  import * as prettierPluginEstree from 'prettier/plugins/estree';
7
7
  import * as prettierPluginTypescript from 'prettier/plugins/typescript';