@workflow/web 5.0.2 → 5.0.3

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 (23) hide show
  1. package/build/client/assets/{arrow-up-right-CCSP9ily.js → arrow-up-right-ychoyK1y.js} +1 -1
  2. package/build/client/assets/{entry.client-DmlDFlyx.js → entry.client-GbcnkvKL.js} +7 -45
  3. package/build/client/assets/{highlighted-body-B3W2YXNL-QxC_q3zz.js → highlighted-body-B3W2YXNL-C53ps5L5.js} +2 -2
  4. package/build/client/assets/{home-D3lvKrxA.js → home-C3xDSPLC.js} +4 -4
  5. package/build/client/assets/{index-thGVuYbY.js → index-CRmVVsbP.js} +769 -330
  6. package/build/client/assets/{loader-circle-BV40-ex9.js → loader-circle-BaPqCMKN.js} +1 -1
  7. package/build/client/assets/{manifest-b2d18a63.js → manifest-4e8be598.js} +1 -1
  8. package/build/client/assets/{mermaid-3ZIDBTTL-DYqrMrvl.js → mermaid-3ZIDBTTL-COEB4Hc6.js} +62 -53
  9. package/build/client/assets/{root-cIgKV8UA.js → root-DixDz_si.js} +4 -4
  10. package/build/client/assets/{run-detail-xT6TzcQH.js → run-detail-CEQc0q3W.js} +4 -4
  11. package/build/client/assets/{workflow-graph-viewer-DDSZhqQ2.js → workflow-graph-viewer-B9ovZj-2.js} +2 -2
  12. package/build/client/assets/{zstd-browser-decoder-BbUG_G04.js → zstd-browser-decoder-D9w7uXpQ.js} +2 -2
  13. package/build/server/assets/{app-DtQP9zzZ.js → app-C8tzXy8V.js} +27938 -27420
  14. package/build/server/assets/{highlighted-body-B3W2YXNL-0R2gvzDD.js → highlighted-body-B3W2YXNL-B7OeHZjS.js} +6 -6
  15. package/build/server/assets/{index-xhDuD_-a.js → index-DB6rD0OI.js} +7 -7
  16. package/build/server/assets/{index-HeFIWQE6.js → index-oHATtR_7.js} +1 -1
  17. package/build/server/assets/{mermaid-3ZIDBTTL-Bubx0Bc0.js → mermaid-3ZIDBTTL-h6E4ztpF.js} +6 -6
  18. package/build/server/assets/{token-util-D-AD5yDZ.js → token-util-BIJWXlXW.js} +1 -1
  19. package/build/server/assets/{token-Dp-Ryz8o.js → token-zIvY_X5M.js} +1 -1
  20. package/build/server/assets/{wrapper-ikjqnRtL.js → wrapper-DiM8LB2q.js} +7 -7
  21. package/build/server/assets/{zstd-browser-decoder-uUOME713.js → zstd-browser-decoder-B2bHyQlS.js} +6 -6
  22. package/build/server/index.js +6 -6
  23. package/package.json +10 -10
@@ -1,4 +1,4 @@
1
- import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
1
+ import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
2
2
  /**
3
3
  * @license lucide-react v0.575.0 - ISC
4
4
  *
@@ -1 +1 @@
1
- window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-DmlDFlyx.js","imports":["/assets/index-thGVuYbY.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-cIgKV8UA.js","imports":["/assets/index-thGVuYbY.js","/assets/mermaid-3ZIDBTTL-DYqrMrvl.js","/assets/loader-circle-BV40-ex9.js","/assets/arrow-up-right-CCSP9ily.js"],"css":["/assets/root-D51qsCcK.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-D3lvKrxA.js","imports":["/assets/index-thGVuYbY.js","/assets/workflow-graph-viewer-DDSZhqQ2.js","/assets/mermaid-3ZIDBTTL-DYqrMrvl.js","/assets/loader-circle-BV40-ex9.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-xT6TzcQH.js","imports":["/assets/index-thGVuYbY.js","/assets/workflow-graph-viewer-DDSZhqQ2.js","/assets/mermaid-3ZIDBTTL-DYqrMrvl.js","/assets/arrow-up-right-CCSP9ily.js"],"css":["/assets/run-detail-CWoGxu_0.css","/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-b2d18a63.js","version":"b2d18a63"};
1
+ window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-GbcnkvKL.js","imports":["/assets/index-CRmVVsbP.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-DixDz_si.js","imports":["/assets/index-CRmVVsbP.js","/assets/mermaid-3ZIDBTTL-COEB4Hc6.js","/assets/loader-circle-BaPqCMKN.js","/assets/arrow-up-right-ychoyK1y.js"],"css":["/assets/root-D51qsCcK.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-C3xDSPLC.js","imports":["/assets/index-CRmVVsbP.js","/assets/workflow-graph-viewer-B9ovZj-2.js","/assets/mermaid-3ZIDBTTL-COEB4Hc6.js","/assets/loader-circle-BaPqCMKN.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-CEQc0q3W.js","imports":["/assets/index-CRmVVsbP.js","/assets/workflow-graph-viewer-B9ovZj-2.js","/assets/mermaid-3ZIDBTTL-COEB4Hc6.js","/assets/arrow-up-right-ychoyK1y.js"],"css":["/assets/run-detail-CWoGxu_0.css","/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-4e8be598.js","version":"4e8be598"};
@@ -1,9 +1,9 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zstd-browser-decoder-BbUG_G04.js","assets/index-thGVuYbY.js","assets/highlighted-body-B3W2YXNL-QxC_q3zz.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zstd-browser-decoder-D9w7uXpQ.js","assets/index-CRmVVsbP.js","assets/highlighted-body-B3W2YXNL-C53ps5L5.js"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  var _a2, _b;
6
- import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, H as React, D as ReactDOM, R as ReactExports, I as getDefaultExportFromCjs } from "./index-thGVuYbY.js";
6
+ import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, G as React, D as ReactDOM, R as ReactExports, H as getDefaultExportFromCjs } from "./index-CRmVVsbP.js";
7
7
  function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
8
8
  return function handleEvent(event) {
9
9
  originalEventHandler == null ? void 0 : originalEventHandler(event);
@@ -14716,13 +14716,13 @@ const EventTypeSchema = compile(_enum([
14716
14716
  // meaning; replay skips it (see EventsConsumer). Never user-creatable.
14717
14717
  "noop"
14718
14718
  ]));
14719
- const RunEventTypeSchema = compile(EventTypeSchema.extract([
14719
+ const RunEventTypeSchema = EventTypeSchema.extract([
14720
14720
  "run_created",
14721
14721
  "run_started",
14722
14722
  "run_completed",
14723
14723
  "run_failed",
14724
14724
  "run_cancelled"
14725
- ]));
14725
+ ]);
14726
14726
  RunEventTypeSchema.options;
14727
14727
  const TerminalRunEventTypeSchema = compile(EventTypeSchema.extract([
14728
14728
  "run_completed",
@@ -14730,43 +14730,52 @@ const TerminalRunEventTypeSchema = compile(EventTypeSchema.extract([
14730
14730
  "run_cancelled"
14731
14731
  ]));
14732
14732
  TerminalRunEventTypeSchema.options;
14733
- const StepEventTypeSchema = compile(EventTypeSchema.extract([
14733
+ const StepEventTypeSchema = EventTypeSchema.extract([
14734
14734
  "step_created",
14735
14735
  "step_completed",
14736
14736
  "step_failed",
14737
14737
  "step_retrying",
14738
14738
  "step_started"
14739
- ]));
14739
+ ]);
14740
14740
  const STEP_EVENT_TYPES = StepEventTypeSchema.options;
14741
14741
  function isStepEventType(eventType) {
14742
14742
  return STEP_EVENT_TYPES.includes(eventType);
14743
14743
  }
14744
- const TerminalStepEventTypeSchema = compile(EventTypeSchema.extract(["step_completed", "step_failed"]));
14744
+ const TerminalStepEventTypeSchema = EventTypeSchema.extract([
14745
+ "step_completed",
14746
+ "step_failed"
14747
+ ]);
14745
14748
  const TERMINAL_STEP_EVENT_TYPES = TerminalStepEventTypeSchema.options;
14746
14749
  function isTerminalStepEventType(eventType) {
14747
14750
  return TERMINAL_STEP_EVENT_TYPES.includes(eventType);
14748
14751
  }
14749
- const HookLifecycleEventTypeSchema = compile(EventTypeSchema.extract([
14752
+ const HookLifecycleEventTypeSchema = EventTypeSchema.extract([
14750
14753
  "hook_created",
14751
14754
  "hook_received",
14752
14755
  "hook_disposed"
14753
- ]));
14756
+ ]);
14754
14757
  const HOOK_LIFECYCLE_EVENT_TYPES = HookLifecycleEventTypeSchema.options;
14755
14758
  function isHookLifecycleEventType(eventType) {
14756
14759
  return HOOK_LIFECYCLE_EVENT_TYPES.includes(eventType);
14757
14760
  }
14758
- const HookEventRequiringExistenceTypeSchema = compile(EventTypeSchema.extract(["hook_disposed", "hook_received"]));
14761
+ const HookEventRequiringExistenceTypeSchema = EventTypeSchema.extract([
14762
+ "hook_disposed",
14763
+ "hook_received"
14764
+ ]);
14759
14765
  HookEventRequiringExistenceTypeSchema.options;
14760
- const WaitEventTypeSchema = compile(EventTypeSchema.extract(["wait_created", "wait_completed"]));
14766
+ const WaitEventTypeSchema = EventTypeSchema.extract([
14767
+ "wait_created",
14768
+ "wait_completed"
14769
+ ]);
14761
14770
  const WAIT_EVENT_TYPES = WaitEventTypeSchema.options;
14762
14771
  function isWaitEventType(eventType) {
14763
14772
  return WAIT_EVENT_TYPES.includes(eventType);
14764
14773
  }
14765
- const ChildEntityCreationEventTypeSchema = compile(EventTypeSchema.extract([
14774
+ const ChildEntityCreationEventTypeSchema = EventTypeSchema.extract([
14766
14775
  "step_created",
14767
14776
  "hook_created",
14768
14777
  "wait_created"
14769
- ]));
14778
+ ]);
14770
14779
  ChildEntityCreationEventTypeSchema.options;
14771
14780
  const BaseEventSchema = compile(object({
14772
14781
  eventType: EventTypeSchema,
@@ -14804,7 +14813,7 @@ const stepLatencyTelemetryFields = {
14804
14813
  // 'optimisticStart'), so latency metrics can be segmented by them.
14805
14814
  optimizations: array(string$2()).optional()
14806
14815
  };
14807
- const StepCompletedEventSchema = compile(BaseEventSchema.extend({
14816
+ const StepCompletedEventSchema = BaseEventSchema.extend({
14808
14817
  eventType: literal("step_completed"),
14809
14818
  correlationId: string$2(),
14810
14819
  eventData: object({
@@ -14816,8 +14825,8 @@ const StepCompletedEventSchema = compile(BaseEventSchema.extend({
14816
14825
  result: SerializedDataSchema,
14817
14826
  ...stepLatencyTelemetryFields
14818
14827
  })
14819
- }));
14820
- const StepFailedEventSchema = compile(BaseEventSchema.extend({
14828
+ });
14829
+ const StepFailedEventSchema = BaseEventSchema.extend({
14821
14830
  eventType: literal("step_failed"),
14822
14831
  correlationId: string$2(),
14823
14832
  eventData: object({
@@ -14827,8 +14836,8 @@ const StepFailedEventSchema = compile(BaseEventSchema.extend({
14827
14836
  error: SerializedDataSchema,
14828
14837
  ...stepLatencyTelemetryFields
14829
14838
  })
14830
- }));
14831
- const StepRetryingEventSchema = compile(BaseEventSchema.extend({
14839
+ });
14840
+ const StepRetryingEventSchema = BaseEventSchema.extend({
14832
14841
  eventType: literal("step_retrying"),
14833
14842
  correlationId: string$2(),
14834
14843
  eventData: object({
@@ -14838,8 +14847,8 @@ const StepRetryingEventSchema = compile(BaseEventSchema.extend({
14838
14847
  error: SerializedDataSchema,
14839
14848
  retryAfter: date().optional()
14840
14849
  })
14841
- }));
14842
- const StepStartedEventSchema = compile(BaseEventSchema.extend({
14850
+ });
14851
+ const StepStartedEventSchema = BaseEventSchema.extend({
14843
14852
  eventType: literal("step_started"),
14844
14853
  correlationId: string$2(),
14845
14854
  eventData: object({
@@ -14865,8 +14874,8 @@ const StepStartedEventSchema = compile(BaseEventSchema.extend({
14865
14874
  // one message (see the Queue.createQueueHandler meta contract).
14866
14875
  ownerMessageId: string$2().optional()
14867
14876
  }).optional()
14868
- }));
14869
- const StepCreatedEventSchema = compile(BaseEventSchema.extend({
14877
+ });
14878
+ const StepCreatedEventSchema = BaseEventSchema.extend({
14870
14879
  eventType: literal("step_created"),
14871
14880
  correlationId: string$2(),
14872
14881
  eventData: object({
@@ -14874,7 +14883,7 @@ const StepCreatedEventSchema = compile(BaseEventSchema.extend({
14874
14883
  workflowName: string$2().optional(),
14875
14884
  input: SerializedDataSchema
14876
14885
  })
14877
- }));
14886
+ });
14878
14887
  const HookCreatedEventSchema = compile(BaseEventSchema.extend({
14879
14888
  eventType: literal("hook_created"),
14880
14889
  correlationId: string$2(),
@@ -14909,15 +14918,15 @@ const HookCreatedEventSchema = compile(BaseEventSchema.extend({
14909
14918
  }).optional()
14910
14919
  })
14911
14920
  }));
14912
- const HookReceivedEventSchema = compile(BaseEventSchema.extend({
14921
+ const HookReceivedEventSchema = BaseEventSchema.extend({
14913
14922
  eventType: literal("hook_received"),
14914
14923
  correlationId: string$2(),
14915
14924
  eventData: object({
14916
14925
  token: string$2().optional(),
14917
14926
  payload: SerializedDataSchema
14918
14927
  })
14919
- }));
14920
- const HookDisposedEventSchema = compile(BaseEventSchema.extend({
14928
+ });
14929
+ const HookDisposedEventSchema = BaseEventSchema.extend({
14921
14930
  eventType: literal("hook_disposed"),
14922
14931
  correlationId: string$2(),
14923
14932
  eventData: object({
@@ -14930,8 +14939,8 @@ const HookDisposedEventSchema = compile(BaseEventSchema.extend({
14930
14939
  */
14931
14940
  forceClaimedBy: object({ runId: string$2(), hookId: string$2() }).optional()
14932
14941
  }).optional()
14933
- }));
14934
- const HookConflictEventSchema = compile(BaseEventSchema.extend({
14942
+ });
14943
+ const HookConflictEventSchema = BaseEventSchema.extend({
14935
14944
  eventType: literal("hook_conflict"),
14936
14945
  correlationId: string$2(),
14937
14946
  eventData: object({
@@ -14951,28 +14960,28 @@ const HookConflictEventSchema = compile(BaseEventSchema.extend({
14951
14960
  */
14952
14961
  forceRefusedReason: literal("victim-spec-version").optional()
14953
14962
  })
14954
- }));
14955
- const NoopEventSchema = compile(BaseEventSchema.extend({
14963
+ });
14964
+ const NoopEventSchema = BaseEventSchema.extend({
14956
14965
  eventType: literal("noop"),
14957
14966
  eventData: object({
14958
14967
  sealed: boolean$2().optional()
14959
14968
  }).passthrough().optional()
14960
- }));
14961
- const WaitCreatedEventSchema = compile(BaseEventSchema.extend({
14969
+ });
14970
+ const WaitCreatedEventSchema = BaseEventSchema.extend({
14962
14971
  eventType: literal("wait_created"),
14963
14972
  correlationId: string$2(),
14964
14973
  eventData: object({
14965
14974
  resumeAt: date()
14966
14975
  })
14967
- }));
14968
- const WaitCompletedEventSchema = compile(BaseEventSchema.extend({
14976
+ });
14977
+ const WaitCompletedEventSchema = BaseEventSchema.extend({
14969
14978
  eventType: literal("wait_completed"),
14970
14979
  correlationId: string$2(),
14971
14980
  eventData: object({
14972
14981
  resumeAt: date().optional()
14973
14982
  }).optional()
14974
- }));
14975
- const AttributeWriterSchema = compile(discriminatedUnion("type", [
14983
+ });
14984
+ const AttributeWriterSchema = discriminatedUnion("type", [
14976
14985
  object({
14977
14986
  type: literal("workflow")
14978
14987
  }),
@@ -14981,8 +14990,8 @@ const AttributeWriterSchema = compile(discriminatedUnion("type", [
14981
14990
  stepId: string$2(),
14982
14991
  attempt: number$3()
14983
14992
  })
14984
- ]));
14985
- const AttrSetEventSchema = compile(BaseEventSchema.extend({
14993
+ ]);
14994
+ const AttrSetEventSchema = BaseEventSchema.extend({
14986
14995
  eventType: literal("attr_set"),
14987
14996
  correlationId: string$2().optional(),
14988
14997
  eventData: object({
@@ -14990,8 +14999,8 @@ const AttrSetEventSchema = compile(BaseEventSchema.extend({
14990
14999
  writer: AttributeWriterSchema,
14991
15000
  allowReservedAttributes: literal(true).optional()
14992
15001
  })
14993
- }));
14994
- const RunCreatedEventSchema = compile(BaseEventSchema.extend({
15002
+ });
15003
+ const RunCreatedEventSchema = BaseEventSchema.extend({
14995
15004
  eventType: literal("run_created"),
14996
15005
  eventData: object({
14997
15006
  deploymentId: string$2(),
@@ -15022,8 +15031,8 @@ const RunCreatedEventSchema = compile(BaseEventSchema.extend({
15022
15031
  path: ["dynamicWorkflowCodeRef"],
15023
15032
  message: "dynamicWorkflowCode and dynamicWorkflowCodeRef are mutually exclusive"
15024
15033
  })
15025
- }));
15026
- const RunStartedEventSchema = compile(BaseEventSchema.extend({
15034
+ });
15035
+ const RunStartedEventSchema = BaseEventSchema.extend({
15027
15036
  eventType: literal("run_started"),
15028
15037
  eventData: object({
15029
15038
  input: SerializedDataSchema.optional(),
@@ -15046,14 +15055,14 @@ const RunStartedEventSchema = compile(BaseEventSchema.extend({
15046
15055
  path: ["dynamicWorkflowCodeRef"],
15047
15056
  message: "dynamicWorkflowCode and dynamicWorkflowCodeRef are mutually exclusive"
15048
15057
  }).optional()
15049
- }));
15050
- const RunCompletedEventSchema = compile(BaseEventSchema.extend({
15058
+ });
15059
+ const RunCompletedEventSchema = BaseEventSchema.extend({
15051
15060
  eventType: literal("run_completed"),
15052
15061
  eventData: object({
15053
15062
  output: SerializedDataSchema.optional()
15054
15063
  })
15055
- }));
15056
- const RunFailedEventSchema = compile(BaseEventSchema.extend({
15064
+ });
15065
+ const RunFailedEventSchema = BaseEventSchema.extend({
15057
15066
  eventType: literal("run_failed"),
15058
15067
  eventData: object({
15059
15068
  // The thrown value, serialized via the workflow serialization pipeline.
@@ -15065,8 +15074,8 @@ const RunFailedEventSchema = compile(BaseEventSchema.extend({
15065
15074
  // the full error payload.
15066
15075
  errorCode: string$2().optional()
15067
15076
  })
15068
- }));
15069
- const RunCancelledEventSchema = compile(BaseEventSchema.extend({
15077
+ });
15078
+ const RunCancelledEventSchema = BaseEventSchema.extend({
15070
15079
  eventType: literal("run_cancelled"),
15071
15080
  eventData: object({
15072
15081
  // Optional free-text reason for the cancellation. Kept as small
@@ -15074,7 +15083,7 @@ const RunCancelledEventSchema = compile(BaseEventSchema.extend({
15074
15083
  // resolveData: 'none' and can be displayed without decryption.
15075
15084
  cancelReason: string$2().max(512).optional()
15076
15085
  }).optional()
15077
- }));
15086
+ });
15078
15087
  compile(discriminatedUnion("eventType", [
15079
15088
  // Run lifecycle events
15080
15089
  RunCreatedEventSchema,
@@ -15097,7 +15106,7 @@ compile(discriminatedUnion("eventType", [
15097
15106
  WaitCreatedEventSchema,
15098
15107
  WaitCompletedEventSchema
15099
15108
  ]));
15100
- const AllEventsSchema = compile(discriminatedUnion("eventType", [
15109
+ const AllEventsSchema = discriminatedUnion("eventType", [
15101
15110
  // Run lifecycle events
15102
15111
  RunCreatedEventSchema,
15103
15112
  RunStartedEventSchema,
@@ -15122,7 +15131,7 @@ const AllEventsSchema = compile(discriminatedUnion("eventType", [
15122
15131
  WaitCompletedEventSchema,
15123
15132
  NoopEventSchema
15124
15133
  // World-only: sealed-log filler for an abandoned slot
15125
- ]));
15134
+ ]);
15126
15135
  compile(AllEventsSchema.and(object({
15127
15136
  runId: string$2(),
15128
15137
  eventId: string$2(),
@@ -20940,7 +20949,7 @@ async function hydrateResourceIOAsync(resource, key) {
20940
20949
  return { hydrateDataWithKey: hydrateDataWithKey3, deriveRunPayloadKeys: deriveRunPayloadKeys3 };
20941
20950
  }, true ? void 0 : void 0);
20942
20951
  const { ensureZstdDecoderRegistered } = await __vitePreload(async () => {
20943
- const { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 } = await import("./zstd-browser-decoder-BbUG_G04.js");
20952
+ const { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 } = await import("./zstd-browser-decoder-D9w7uXpQ.js");
20944
20953
  return { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 };
20945
20954
  }, true ? __vite__mapDeps([0,1]) : void 0);
20946
20955
  ensureZstdDecoderRegistered();
@@ -48650,7 +48659,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
48650
48659
  var et = ({ className: e, language: t, style: o, isIncomplete: n, ...s2 }) => jsxRuntimeExports.jsx("div", { className: f("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2", e), "data-incomplete": n || void 0, "data-language": t, "data-streamdown": "code-block", style: { contentVisibility: "auto", containIntrinsicSize: "auto 200px", ...o }, ...s2 });
48651
48660
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
48652
48661
  var ot = ({ language: e }) => jsxRuntimeExports.jsx("div", { className: "flex h-8 items-center text-muted-foreground text-xs", "data-language": e, "data-streamdown": "code-block-header", children: jsxRuntimeExports.jsx("span", { className: "ml-1 font-mono lowercase", children: e }) });
48653
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-QxC_q3zz.js"), true ? __vite__mapDeps([2,1]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
48662
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-C53ps5L5.js"), true ? __vite__mapDeps([2,1]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
48654
48663
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
48655
48664
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
48656
48665
  return jsxRuntimeExports.jsx(Se.Provider, { value: { code: e }, children: jsxRuntimeExports.jsxs(et, { isIncomplete: s2, language: t, children: [jsxRuntimeExports.jsx(ot, { language: t }), n ? jsxRuntimeExports.jsx("div", { className: "pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end", children: jsxRuntimeExports.jsx("div", { className: "pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur", "data-streamdown": "code-block-actions", children: n }) }) : null, jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(Qe, { className: o, language: t, result: c, ...r2 }), children: jsxRuntimeExports.jsx(dn, { className: o, code: i, language: t, raw: c, ...r2 }) })] }) });
@@ -1,7 +1,7 @@
1
- import { r as reactExports, j as jsxRuntimeExports, w as withComponentProps, v as withErrorBoundaryProps, M as Meta, L as Links, S as ScrollRestoration, x as Scripts, O as Outlet, y as useRouteError, i as isRouteErrorResponse, z as Link, A as useNavigate, B as useSearchParams } from "./index-thGVuYbY.js";
2
- import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, d as runHealthCheck, t as toast, B as Button, e as cn, f as Toaster$1, S as ServerConfigProvider, g as TooltipProvider } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
3
- import { L as LoaderCircle } from "./loader-circle-BV40-ex9.js";
4
- import { A as ArrowUpRight } from "./arrow-up-right-CCSP9ily.js";
1
+ import { r as reactExports, j as jsxRuntimeExports, w as withComponentProps, v as withErrorBoundaryProps, M as Meta, L as Links, S as ScrollRestoration, x as Scripts, O as Outlet, y as useRouteError, i as isRouteErrorResponse, z as Link, A as useNavigate, B as useSearchParams } from "./index-CRmVVsbP.js";
2
+ import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, d as runHealthCheck, t as toast, B as Button, e as cn, f as Toaster$1, S as ServerConfigProvider, g as TooltipProvider } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
3
+ import { L as LoaderCircle } from "./loader-circle-BaPqCMKN.js";
4
+ import { A as ArrowUpRight } from "./arrow-up-right-ychoyK1y.js";
5
5
  var M = (e, i, s, u, m, a, l, h) => {
6
6
  let d = document.documentElement, w = ["light", "dark"];
7
7
  function p(n) {
@@ -1,7 +1,7 @@
1
- import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, D as ReactDOM, A as useNavigate, B as useSearchParams, z as Link, w as withComponentProps, G as useParams } from "./index-thGVuYbY.js";
2
- import { C as CircleAlert, O as parseStepName, B as parseWorkflowName, Q as ErrorCard, U as format, Z as Zap, S as Send, R as ResolveHookModal, q as ChevronUp, X, N as ErrorBoundary, V as Circle, u as unwrapOrThrow, W as WorkflowWebAPIError, I as unwrapServerActionResult, Y as useEscapeKeydown, t as composeEventHandlers, _ as useCallbackRef, $ as useLayoutEffect2, s as useControllableState, a0 as useId, a1 as createContext2, v as Presence, x as createContextScope, n as hideOthers, o as ReactRemoveScroll, a2 as useFocusGuards, a3 as LAYOUT, a4 as wakeUpRun, l as resumeHook, A as Alert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, a as Skeleton$1, a5 as RunActionsButtons, F as StatusBadge, h as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, a6 as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-DDSZhqQ2.js";
3
- import { c as createLucideIcon, Y as classifyEntityEvent, Z as TERMINAL_EVENT_CLASSES, $ as isSealedNoopEvent$1, a0 as cn, a1 as CopyableDataBlock, a2 as CollapsibleRoot, a3 as CollapsibleTrigger, a4 as CollapsibleContent, a5 as CopyButton, O as cva, a6 as RESERVED_ATTRIBUTE_KEY_PREFIX, a7 as Spinner, a8 as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent, a9 as ContextCardProvider, h as useToast, aa as Skeleton, ab as DecryptClickContext, ac as Yr, ad as isEncryptedMarker, ae as getEventDataRefFields, m as ChevronRight, af as TimestampTooltip, ag as formatDuration, C as Check, l as Copy, ah as DataInspector, ai as _r, aj as isHookLifecycleEventType, ak as isTerminalStepEventType, al as isWaitEventType, am as isStepEventType, an as RunClickContext, ao as StreamClickContext, ap as Collapsible, aq as isExpiredMarker, ar as isDoStreamStep, as as extractConversation, at as EncryptedDataBlock, au as hasEncryptedFields, av as useSidebarDataOptional, aw as isTerminalWorkflowRunStatus, ax as clsx, ay as useActiveSpan, az as useSidebarData, aA as IconButton, J as ChevronDown, aB as useRowWindow, aC as isSpanDimmedBySearch, aD as ROW_HEIGHT_PX, aE as getSpanDurationMs, aF as isSpanErrored, aG as isSpanCancelled, aH as formatDurationPrecise, aI as ActiveSpanProvider, aJ as useReducedMotion, aK as searchSpans, aL as computeRootBounds, aM as computeTimeMarkers, aN as clampViewportToRoot, aO as getHighResInMs, aP as scrollRowIntoView, aQ as TIMELINE_PADDING_PX, aR as Minimap, aS as Timeline, aT as TimelineHeader, aU as wheelZoomScaleFactor, aV as wheelDeltaToPixels, aW as SidebarDataProvider, aX as fetchHook, n as fetchEvents, aY as hydrateResourceIOAsync, N as fetchRun, aZ as fetchStep, a_ as hydrateResourceIO, a$ as fetchStreams, b0 as apiBase, b1 as Slot, L as useComposedRefs, b2 as Slottable, e as cn$1, b3 as buttonVariants, b4 as fetchEvent, b5 as fetchEventsByCorrelationId, b6 as isEncryptedData, b7 as hydrateData, b8 as decrypt, b9 as deriveRunPayloadKeys, ba as getWebRevivers, bb as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, bc as getEncryptionKeyForRun, t as toast, bd as StreamViewerSkeleton, be as Lock, bf as StreamViewer } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
4
- import { A as ArrowUpRight } from "./arrow-up-right-CCSP9ily.js";
1
+ import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, D as ReactDOM, A as useNavigate, B as useSearchParams, z as Link, w as withComponentProps, E as useParams } from "./index-CRmVVsbP.js";
2
+ import { C as CircleAlert, O as parseStepName, B as parseWorkflowName, Q as ErrorCard, U as format, Z as Zap, S as Send, R as ResolveHookModal, q as ChevronUp, X, N as ErrorBoundary, V as Circle, u as unwrapOrThrow, W as WorkflowWebAPIError, I as unwrapServerActionResult, Y as useEscapeKeydown, t as composeEventHandlers, _ as useCallbackRef, $ as useLayoutEffect2, s as useControllableState, a0 as useId, a1 as createContext2, v as Presence, x as createContextScope, n as hideOthers, o as ReactRemoveScroll, a2 as useFocusGuards, a3 as LAYOUT, a4 as wakeUpRun, l as resumeHook, A as Alert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, a as Skeleton$1, a5 as RunActionsButtons, F as StatusBadge, h as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, a6 as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-B9ovZj-2.js";
3
+ import { c as createLucideIcon, Y as classifyEntityEvent, Z as TERMINAL_EVENT_CLASSES, $ as isSealedNoopEvent$1, a0 as cn, a1 as CopyableDataBlock, a2 as CollapsibleRoot, a3 as CollapsibleTrigger, a4 as CollapsibleContent, a5 as CopyButton, O as cva, a6 as RESERVED_ATTRIBUTE_KEY_PREFIX, a7 as Spinner, a8 as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent, a9 as ContextCardProvider, h as useToast, aa as Skeleton, ab as DecryptClickContext, ac as Yr, ad as isEncryptedMarker, ae as getEventDataRefFields, m as ChevronRight, af as TimestampTooltip, ag as formatDuration, C as Check, l as Copy, ah as DataInspector, ai as _r, aj as isHookLifecycleEventType, ak as isTerminalStepEventType, al as isWaitEventType, am as isStepEventType, an as RunClickContext, ao as StreamClickContext, ap as Collapsible, aq as isExpiredMarker, ar as isDoStreamStep, as as extractConversation, at as EncryptedDataBlock, au as hasEncryptedFields, av as useSidebarDataOptional, aw as isTerminalWorkflowRunStatus, ax as clsx, ay as useActiveSpan, az as useSidebarData, aA as IconButton, J as ChevronDown, aB as useRowWindow, aC as isSpanDimmedBySearch, aD as ROW_HEIGHT_PX, aE as getSpanDurationMs, aF as isSpanErrored, aG as isSpanCancelled, aH as formatDurationPrecise, aI as ActiveSpanProvider, aJ as useReducedMotion, aK as searchSpans, aL as computeRootBounds, aM as computeTimeMarkers, aN as clampViewportToRoot, aO as getHighResInMs, aP as scrollRowIntoView, aQ as TIMELINE_PADDING_PX, aR as Minimap, aS as Timeline, aT as TimelineHeader, aU as wheelZoomScaleFactor, aV as wheelDeltaToPixels, aW as SidebarDataProvider, aX as fetchHook, n as fetchEvents, aY as hydrateResourceIOAsync, N as fetchRun, aZ as fetchStep, a_ as hydrateResourceIO, a$ as fetchStreams, b0 as apiBase, b1 as Slot, L as useComposedRefs, b2 as Slottable, e as cn$1, b3 as buttonVariants, b4 as fetchEvent, b5 as fetchEventsByCorrelationId, b6 as isEncryptedData, b7 as hydrateData, b8 as decrypt, b9 as deriveRunPayloadKeys, ba as getWebRevivers, bb as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, bc as getEncryptionKeyForRun, t as toast, bd as StreamViewerSkeleton, be as Lock, bf as StreamViewer } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
4
+ import { A as ArrowUpRight } from "./arrow-up-right-ychoyK1y.js";
5
5
  /**
6
6
  * @license lucide-react v0.575.0 - ISC
7
7
  *
@@ -1,8 +1,8 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { c as createLucideIcon, J as ChevronDown, a0 as cn, e as cn$1, O as cva, bg as composeRefs, L as useComposedRefs, bh as useFloating, bi as offset, bj as shift, bk as limitShift, bl as flip, bm as size, bn as arrow, bo as hide, bp as autoUpdate, m as ChevronRight, C as Check, bq as VERCEL_403_ERROR_MESSAGE, br as bulkCancelRuns$1, bs as reenqueueRun$1, bt as wakeUpRun$1, bu as resumeHook$1, bv as fetchHookToken$1, bw as cancelRun$1, bx as recreateRun$1, T as Tooltip, a as TooltipTrigger, l as Copy, b as TooltipContent, z as createContextScope$1, p as useComposedRefs$1, E as createSlot, ag as formatDuration, B as Button, t as toast, w as useId$1, P as Primitive$1, q as composeEventHandlers$1, G as useControllableState$1, o as useCallbackRef$2, U as Presence$1 } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
5
- import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, R as ReactExports, H as React, D as ReactDOM, a as requireReact, I as getDefaultExportFromCjs } from "./index-thGVuYbY.js";
4
+ import { c as createLucideIcon, J as ChevronDown, a0 as cn, e as cn$1, O as cva, bg as composeRefs, L as useComposedRefs, bh as useFloating, bi as offset, bj as shift, bk as limitShift, bl as flip, bm as size, bn as arrow, bo as hide, bp as autoUpdate, m as ChevronRight, C as Check, bq as VERCEL_403_ERROR_MESSAGE, br as bulkCancelRuns$1, bs as reenqueueRun$1, bt as wakeUpRun$1, bu as resumeHook$1, bv as fetchHookToken$1, bw as cancelRun$1, bx as recreateRun$1, T as Tooltip, a as TooltipTrigger, l as Copy, b as TooltipContent, z as createContextScope$1, p as useComposedRefs$1, E as createSlot, ag as formatDuration, B as Button, t as toast, w as useId$1, P as Primitive$1, q as composeEventHandlers$1, G as useControllableState$1, o as useCallbackRef$2, U as Presence$1 } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
5
+ import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, R as ReactExports, G as React, D as ReactDOM, a as requireReact, H as getDefaultExportFromCjs } from "./index-CRmVVsbP.js";
6
6
  function parseName(tag, name) {
7
7
  if (typeof name !== "string") {
8
8
  return null;
@@ -1,5 +1,5 @@
1
- import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-DYqrMrvl.js";
2
- import "./index-thGVuYbY.js";
1
+ import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
2
+ import "./index-CRmVVsbP.js";
3
3
  let registered = false;
4
4
  let modulePromise;
5
5
  function loadWasmModule() {