@particle-academy/fancy-flow 0.37.0 → 0.39.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.
package/dist/index.cjs CHANGED
@@ -14900,6 +14900,30 @@ function errorText(error) {
14900
14900
  return error instanceof Error ? error.message : String(error);
14901
14901
  }
14902
14902
 
14903
+ // src/live.ts
14904
+ var flowLive = {
14905
+ namespace: "flow",
14906
+ events: [
14907
+ { event: "flow.run.created", keys: [["flow", "runs"]] },
14908
+ { event: "flow.run.updated", keys: [["flow", "runs"]] },
14909
+ { event: "flow.run.completed", keys: [["flow", "runs"]] },
14910
+ {
14911
+ event: "flow.run.awaiting",
14912
+ keys: [["flow", "runs"]],
14913
+ note: "A run parking on a human step \u2014 the moment a form has to appear in front of somebody. Its own event so a host can subscribe to just that, rather than filtering every update."
14914
+ },
14915
+ {
14916
+ event: "flow.run.failed",
14917
+ keys: [["flow", "runs"]],
14918
+ note: "Not one of the standard verbs: a failed run is a terminal state a host renders differently from a completed one, so collapsing the two would lose the distinction."
14919
+ }
14920
+ ]
14921
+ };
14922
+ var flowKeys = {
14923
+ runs: () => ["flow", "runs"],
14924
+ run: (runId) => ["flow", "runs", runId]
14925
+ };
14926
+
14903
14927
  // src/index.ts
14904
14928
  registerBuiltinKinds();
14905
14929
  /*! Bundled license information:
@@ -14950,6 +14974,8 @@ exports.defineNode = defineNode;
14950
14974
  exports.distributeNodes = distributeNodes;
14951
14975
  exports.encodePause = encodePause;
14952
14976
  exports.exportWorkflow = exportWorkflow;
14977
+ exports.flowKeys = flowKeys;
14978
+ exports.flowLive = flowLive;
14953
14979
  exports.getNodeKind = getNodeKind;
14954
14980
  exports.getRichInputAdapter = getRichInputAdapter;
14955
14981
  exports.importWorkflow = importWorkflow;