@workflow/web 4.0.1-beta.21 → 4.0.1-beta.23
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page/server-reference-manifest.json +36 -21
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/server-reference-manifest.json +37 -22
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/run/[runId]/page/server-reference-manifest.json +37 -22
- package/.next/server/app/run/[runId]/page.js.nft.json +1 -1
- package/.next/server/app/run/[runId]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1365a866._.js +3 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1365a866._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__2168651f._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__2168651f._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__25c4ca9a._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__25c4ca9a._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d416fa5e._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d416fa5e._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__e576a2e1._.js +7 -7
- package/.next/server/chunks/ssr/[root-of-the-server]__e576a2e1._.js.map +1 -1
- package/.next/server/chunks/ssr/_af28dabd._.js +1 -1
- package/.next/server/chunks/ssr/_af28dabd._.js.map +1 -1
- package/.next/server/chunks/ssr/_bff7cae2._.js +1 -1
- package/.next/server/chunks/ssr/_bff7cae2._.js.map +1 -1
- package/.next/server/chunks/ssr/_c8bf1458._.js +1 -1
- package/.next/server/chunks/ssr/_c8bf1458._.js.map +1 -1
- package/.next/server/chunks/ssr/packages_web_src_19bb3951._.js +3 -0
- package/.next/server/chunks/ssr/packages_web_src_19bb3951._.js.map +1 -0
- package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js +2 -2
- package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js.map +1 -1
- package/.next/server/chunks/ssr/packages_web_src_app_run_[runId]_page_tsx_c7d0b139._.js +1 -1
- package/.next/server/chunks/ssr/packages_web_src_app_run_[runId]_page_tsx_c7d0b139._.js.map +1 -1
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +56 -27
- package/.next/static/chunks/{1633a4677cb7eacd.js → 30b98d965a129331.js} +1 -1
- package/.next/static/chunks/{a2fdd31ef7d1ed50.js → 31d3eed44663a2d8.js} +3 -3
- package/.next/static/chunks/4b98d98ef7601f2c.js +1 -0
- package/.next/static/chunks/50691ade475383ae.js +5 -0
- package/.next/static/chunks/837b0d5cc6ee8f87.js +60 -0
- package/.next/static/chunks/8f6413f9323a44e5.js +14 -0
- package/.next/static/chunks/{d3781b000675e89a.js → ce42d7684243cb43.js} +1 -1
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/package.json +4 -3
- package/.next/server/chunks/ssr/packages_web_src_components_ui_select_tsx_7c5238ef._.js +0 -3
- package/.next/server/chunks/ssr/packages_web_src_components_ui_select_tsx_7c5238ef._.js.map +0 -1
- package/.next/static/chunks/7993564ea9cd3862.js +0 -60
- package/.next/static/chunks/915c48af605695f8.js +0 -5
- package/.next/static/chunks/ebaf4c277606b4fc.js +0 -14
- /package/.next/static/{1Gd0u_mHFXgTr2DR4OTNR → Ven1ulyDX7wtUfVstJodR}/_buildManifest.js +0 -0
- /package/.next/static/{1Gd0u_mHFXgTr2DR4OTNR → Ven1ulyDX7wtUfVstJodR}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{1Gd0u_mHFXgTr2DR4OTNR → Ven1ulyDX7wtUfVstJodR}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
2
|
-
@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/ab6cd88fb6e08748.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[924437,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"default\"]\n3:I[243944,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"default\"]\n4:I[578369,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[578369,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"ViewportBoundary\"]\n9:I[578369,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"MetadataBoundary\"]\nb:I[908780,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"
|
|
1
|
+
<!DOCTYPE html><!--Ven1ulyDX7wtUfVstJodR--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/ab6cd88fb6e08748.js"/><script src="/_next/static/chunks/c4653dabfa8c5536.js" async=""></script><script src="/_next/static/chunks/e6423c6f04183499.js" async=""></script><script src="/_next/static/chunks/1642f219b3596cbe.js" async=""></script><script src="/_next/static/chunks/turbopack-444344f6e8c5b8fb.js" async=""></script><script src="/_next/static/chunks/20a47ca810fd218d.js" async=""></script><script src="/_next/static/chunks/3a2211fc9b2f44d4.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><link rel="icon" href="/favicon.ico?favicon.0b3bf435.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
|
|
2
|
+
@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/ab6cd88fb6e08748.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[924437,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"default\"]\n3:I[243944,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"default\"]\n4:I[578369,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[578369,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"ViewportBoundary\"]\n9:I[578369,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"MetadataBoundary\"]\nb:I[908780,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Ven1ulyDX7wtUfVstJodR\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$@8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$@a\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"c:I[802495,[\"/_next/static/chunks/20a47ca810fd218d.js\",\"/_next/static/chunks/3a2211fc9b2f44d4.js\"],\"IconMark\"]\na:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0b3bf435.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Lc\",\"1\",{}]]\n6:null\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"60d475755e65f2d083f0a65f3cc0f94a46705ac86b\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"cancelRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"cancelRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"cancelRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"cancelRun\"\n },\n \"70f91dbd9f46aefc4dc991fcd5df1d6fde348b9461\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchEvents\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchEvents\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchEvents\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchEvents\"\n },\n \"70a88aa27a7c293c608b126fc545e4297e8bb137f5\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchEventsByCorrelationId\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchEventsByCorrelationId\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchEventsByCorrelationId\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchEventsByCorrelationId\"\n },\n \"70cf8fadb1c8f0e691bd5c05615763524dc331bce7\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchHook\"\n },\n \"601a27ede3500e6752721d52159fa02a4f651737e4\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchHooks\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchHooks\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchHooks\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchHooks\"\n },\n \"7030edd123acf2239e1a1b722b178e82047a2cb29d\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchRun\"\n },\n \"601f12671778058299d2a76437f0c693277d05165c\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchRuns\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchRuns\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchRuns\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchRuns\"\n },\n \"786825094f43db8e9e500c10342d99b08ca4f62597\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchStep\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchStep\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchStep\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchStep\"\n },\n \"7030ac6b0572eb87b81871cba4d7aac44041423f2f\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchSteps\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchSteps\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchSteps\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchSteps\"\n },\n \"6079f4d9b24f09e7dac3da314529199fdb9689e252\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchStreams\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchStreams\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchStreams\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchStreams\"\n },\n \"709c0a162da94f1b1c2ae787cb408682c406588dd4\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"readStreamServerAction\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"readStreamServerAction\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"readStreamServerAction\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"readStreamServerAction\"\n },\n \"60137315ec1bc51742bf9509f1b6780de0df3471e9\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"recreateRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"recreateRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"recreateRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"recreateRun\"\n },\n \"600b727938b5ecd6373b9c24ac11ac27383bba2627\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"reenqueueRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"reenqueueRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"reenqueueRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"reenqueueRun\"\n },\n \"702d28b8c76ba1156ad063406cfdd9dd7e3fc530e9\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"resumeHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"resumeHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"resumeHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"resumeHook\"\n },\n \"7057a7038844c0d8ebc1ea7aef1cb50115b5c46f97\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"wakeUpRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"wakeUpRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"wakeUpRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"wakeUpRun\"\n },\n \"4092d8711f2d282bbab98f4435fd260f49c4d5106a\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"validateWorldConfig\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"validateWorldConfig\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"validateWorldConfig\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web/src/lib/config-world.ts\",\n \"exportedName\": \"validateWorldConfig\"\n },\n \"00d3f19c68ddef480c9481b99f05ac7baa954b04d9\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"checkWorldsAvailability\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"checkWorldsAvailability\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"checkWorldsAvailability\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web/src/lib/config-world.ts\",\n \"exportedName\": \"checkWorldsAvailability\"\n },\n \"40e6caa6d7f53d3d5dd7573c4b318b482a32f6a2ed\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchWorkflowsManifest\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchWorkflowsManifest\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchWorkflowsManifest\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"MBkIt7DAoxvfvByHt2MIBznjsce9bg1+e/buVecKsmo=\"\n}"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"6019d8232f3398f9c09c99b6995b1301ab71d938ea\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"cancelRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"cancelRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"cancelRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"cancelRun\"\n },\n \"7037db6b2b503a2117daefd06fdccaa765695c9eaa\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchEvents\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchEvents\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchEvents\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchEvents\"\n },\n \"707a1216502219351f78c1a58fa2f5c9af6b087d52\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchEventsByCorrelationId\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchEventsByCorrelationId\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchEventsByCorrelationId\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchEventsByCorrelationId\"\n },\n \"7003155114dbd7072050877231b349c849ddc0c31c\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchHook\"\n },\n \"60356e8f84b17d78c2406ff5b12f04da5a1742c63e\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchHooks\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchHooks\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchHooks\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchHooks\"\n },\n \"70354911e9955968209791a48a98db283da598f4f1\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchRun\"\n },\n \"6007b6d4765cff702b0aa6ed9fa3148a875589cd15\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchRuns\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchRuns\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchRuns\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchRuns\"\n },\n \"787bf347799ffcfc23d59bb3033a36c4cb0d6173e0\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchStep\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchStep\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchStep\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchStep\"\n },\n \"700ad736e6c626eff5645ca16362d3e512f7332bb9\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchSteps\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchSteps\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchSteps\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchSteps\"\n },\n \"6044a50a304c4134c177883919acb2c93db4f06f0a\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"fetchStreams\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchStreams\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchStreams\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchStreams\"\n },\n \"701d570a1be3c0be60874ba90120f1c1799cd743fe\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"readStreamServerAction\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"readStreamServerAction\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"readStreamServerAction\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"readStreamServerAction\"\n },\n \"60fa8ea48062b2589ccd3c4d1ddc129e5d9608720f\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"recreateRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"recreateRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"recreateRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"recreateRun\"\n },\n \"60718f9ea485aaa0e4a0242e68de0589517ddef0b7\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"reenqueueRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"reenqueueRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"reenqueueRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"reenqueueRun\"\n },\n \"7024d03a1c9b0f8ebb811e20747304b7a856e655c0\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"resumeHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"resumeHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"resumeHook\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"resumeHook\"\n },\n \"70be4d6bd33bb772740d05a6d274cd5106b2ea75a8\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"wakeUpRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"wakeUpRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"wakeUpRun\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"wakeUpRun\"\n },\n \"00834893a4627c2e34d4e9f9af2b13ddcc5fa0d3c7\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"checkWorldsAvailability\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"checkWorldsAvailability\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"checkWorldsAvailability\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web/src/lib/config-world.ts\",\n \"exportedName\": \"checkWorldsAvailability\"\n },\n \"40c2efafd73cce5bffcdc92ad70f000ca36b42c1db\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"resolveDataDirInfo\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"resolveDataDirInfo\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"resolveDataDirInfo\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web/src/lib/config-world.ts\",\n \"exportedName\": \"resolveDataDirInfo\"\n },\n \"40545b511b082880ffd69907a64d12bf51eb2405a5\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 832397,\n \"async\": false,\n \"exportedName\": \"validateWorldConfig\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"validateWorldConfig\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"validateWorldConfig\",\n \"filename\": \"packages/web/src/lib/config-world.ts\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web/src/lib/config-world.ts\",\n \"exportedName\": \"validateWorldConfig\"\n },\n \"404bb916501dc0d1d7dc93050c8c594f8b8a1c3ab8\": {\n \"workers\": {\n \"app/page\": {\n \"moduleId\": 704690,\n \"async\": false,\n \"exportedName\": \"fetchWorkflowsManifest\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n },\n \"app/run/[runId]/page\": {\n \"moduleId\": 378306,\n \"async\": false,\n \"exportedName\": \"fetchWorkflowsManifest\",\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\"\n }\n },\n \"layer\": {\n \"app/page\": \"action-browser\",\n \"app/run/[runId]/page\": \"action-browser\"\n },\n \"filename\": \"packages/web-shared/dist/api/workflow-server-actions.js\",\n \"exportedName\": \"fetchWorkflowsManifest\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"ojnlKj2r4xbN65oPDUr7xKeZvmzUbCQjOtUhx+puPbo=\"\n}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"node": {
|
|
3
|
-
"
|
|
3
|
+
"6019d8232f3398f9c09c99b6995b1301ab71d938ea": {
|
|
4
4
|
"workers": {
|
|
5
5
|
"app/_not-found/page": {
|
|
6
6
|
"moduleId": 832397,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
30
30
|
"exportedName": "cancelRun"
|
|
31
31
|
},
|
|
32
|
-
"
|
|
32
|
+
"7037db6b2b503a2117daefd06fdccaa765695c9eaa": {
|
|
33
33
|
"workers": {
|
|
34
34
|
"app/_not-found/page": {
|
|
35
35
|
"moduleId": 832397,
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
59
59
|
"exportedName": "fetchEvents"
|
|
60
60
|
},
|
|
61
|
-
"
|
|
61
|
+
"707a1216502219351f78c1a58fa2f5c9af6b087d52": {
|
|
62
62
|
"workers": {
|
|
63
63
|
"app/_not-found/page": {
|
|
64
64
|
"moduleId": 832397,
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
88
88
|
"exportedName": "fetchEventsByCorrelationId"
|
|
89
89
|
},
|
|
90
|
-
"
|
|
90
|
+
"7003155114dbd7072050877231b349c849ddc0c31c": {
|
|
91
91
|
"workers": {
|
|
92
92
|
"app/_not-found/page": {
|
|
93
93
|
"moduleId": 832397,
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
117
117
|
"exportedName": "fetchHook"
|
|
118
118
|
},
|
|
119
|
-
"
|
|
119
|
+
"60356e8f84b17d78c2406ff5b12f04da5a1742c63e": {
|
|
120
120
|
"workers": {
|
|
121
121
|
"app/_not-found/page": {
|
|
122
122
|
"moduleId": 832397,
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
146
146
|
"exportedName": "fetchHooks"
|
|
147
147
|
},
|
|
148
|
-
"
|
|
148
|
+
"70354911e9955968209791a48a98db283da598f4f1": {
|
|
149
149
|
"workers": {
|
|
150
150
|
"app/_not-found/page": {
|
|
151
151
|
"moduleId": 832397,
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
175
175
|
"exportedName": "fetchRun"
|
|
176
176
|
},
|
|
177
|
-
"
|
|
177
|
+
"6007b6d4765cff702b0aa6ed9fa3148a875589cd15": {
|
|
178
178
|
"workers": {
|
|
179
179
|
"app/_not-found/page": {
|
|
180
180
|
"moduleId": 832397,
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
204
204
|
"exportedName": "fetchRuns"
|
|
205
205
|
},
|
|
206
|
-
"
|
|
206
|
+
"787bf347799ffcfc23d59bb3033a36c4cb0d6173e0": {
|
|
207
207
|
"workers": {
|
|
208
208
|
"app/_not-found/page": {
|
|
209
209
|
"moduleId": 832397,
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
233
233
|
"exportedName": "fetchStep"
|
|
234
234
|
},
|
|
235
|
-
"
|
|
235
|
+
"700ad736e6c626eff5645ca16362d3e512f7332bb9": {
|
|
236
236
|
"workers": {
|
|
237
237
|
"app/_not-found/page": {
|
|
238
238
|
"moduleId": 832397,
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
262
262
|
"exportedName": "fetchSteps"
|
|
263
263
|
},
|
|
264
|
-
"
|
|
264
|
+
"6044a50a304c4134c177883919acb2c93db4f06f0a": {
|
|
265
265
|
"workers": {
|
|
266
266
|
"app/_not-found/page": {
|
|
267
267
|
"moduleId": 832397,
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
291
291
|
"exportedName": "fetchStreams"
|
|
292
292
|
},
|
|
293
|
-
"
|
|
293
|
+
"701d570a1be3c0be60874ba90120f1c1799cd743fe": {
|
|
294
294
|
"workers": {
|
|
295
295
|
"app/_not-found/page": {
|
|
296
296
|
"moduleId": 832397,
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
320
320
|
"exportedName": "readStreamServerAction"
|
|
321
321
|
},
|
|
322
|
-
"
|
|
322
|
+
"60fa8ea48062b2589ccd3c4d1ddc129e5d9608720f": {
|
|
323
323
|
"workers": {
|
|
324
324
|
"app/_not-found/page": {
|
|
325
325
|
"moduleId": 832397,
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
349
349
|
"exportedName": "recreateRun"
|
|
350
350
|
},
|
|
351
|
-
"
|
|
351
|
+
"60718f9ea485aaa0e4a0242e68de0589517ddef0b7": {
|
|
352
352
|
"workers": {
|
|
353
353
|
"app/_not-found/page": {
|
|
354
354
|
"moduleId": 832397,
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
378
378
|
"exportedName": "reenqueueRun"
|
|
379
379
|
},
|
|
380
|
-
"
|
|
380
|
+
"7024d03a1c9b0f8ebb811e20747304b7a856e655c0": {
|
|
381
381
|
"workers": {
|
|
382
382
|
"app/_not-found/page": {
|
|
383
383
|
"moduleId": 832397,
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
407
407
|
"exportedName": "resumeHook"
|
|
408
408
|
},
|
|
409
|
-
"
|
|
409
|
+
"70be4d6bd33bb772740d05a6d274cd5106b2ea75a8": {
|
|
410
410
|
"workers": {
|
|
411
411
|
"app/_not-found/page": {
|
|
412
412
|
"moduleId": 832397,
|
|
@@ -435,24 +435,24 @@
|
|
|
435
435
|
"filename": "packages/web-shared/dist/api/workflow-server-actions.js",
|
|
436
436
|
"exportedName": "wakeUpRun"
|
|
437
437
|
},
|
|
438
|
-
"
|
|
438
|
+
"00834893a4627c2e34d4e9f9af2b13ddcc5fa0d3c7": {
|
|
439
439
|
"workers": {
|
|
440
440
|
"app/_not-found/page": {
|
|
441
441
|
"moduleId": 832397,
|
|
442
442
|
"async": false,
|
|
443
|
-
"exportedName": "
|
|
443
|
+
"exportedName": "checkWorldsAvailability",
|
|
444
444
|
"filename": "packages/web/src/lib/config-world.ts"
|
|
445
445
|
},
|
|
446
446
|
"app/page": {
|
|
447
447
|
"moduleId": 704690,
|
|
448
448
|
"async": false,
|
|
449
|
-
"exportedName": "
|
|
449
|
+
"exportedName": "checkWorldsAvailability",
|
|
450
450
|
"filename": "packages/web/src/lib/config-world.ts"
|
|
451
451
|
},
|
|
452
452
|
"app/run/[runId]/page": {
|
|
453
453
|
"moduleId": 378306,
|
|
454
454
|
"async": false,
|
|
455
|
-
"exportedName": "
|
|
455
|
+
"exportedName": "checkWorldsAvailability",
|
|
456
456
|
"filename": "packages/web/src/lib/config-world.ts"
|
|
457
457
|
}
|
|
458
458
|
},
|
|
@@ -462,26 +462,26 @@
|
|
|
462
462
|
"app/run/[runId]/page": "action-browser"
|
|
463
463
|
},
|
|
464
464
|
"filename": "packages/web/src/lib/config-world.ts",
|
|
465
|
-
"exportedName": "
|
|
465
|
+
"exportedName": "checkWorldsAvailability"
|
|
466
466
|
},
|
|
467
|
-
"
|
|
467
|
+
"40c2efafd73cce5bffcdc92ad70f000ca36b42c1db": {
|
|
468
468
|
"workers": {
|
|
469
469
|
"app/_not-found/page": {
|
|
470
470
|
"moduleId": 832397,
|
|
471
471
|
"async": false,
|
|
472
|
-
"exportedName": "
|
|
472
|
+
"exportedName": "resolveDataDirInfo",
|
|
473
473
|
"filename": "packages/web/src/lib/config-world.ts"
|
|
474
474
|
},
|
|
475
475
|
"app/page": {
|
|
476
476
|
"moduleId": 704690,
|
|
477
477
|
"async": false,
|
|
478
|
-
"exportedName": "
|
|
478
|
+
"exportedName": "resolveDataDirInfo",
|
|
479
479
|
"filename": "packages/web/src/lib/config-world.ts"
|
|
480
480
|
},
|
|
481
481
|
"app/run/[runId]/page": {
|
|
482
482
|
"moduleId": 378306,
|
|
483
483
|
"async": false,
|
|
484
|
-
"exportedName": "
|
|
484
|
+
"exportedName": "resolveDataDirInfo",
|
|
485
485
|
"filename": "packages/web/src/lib/config-world.ts"
|
|
486
486
|
}
|
|
487
487
|
},
|
|
@@ -491,9 +491,38 @@
|
|
|
491
491
|
"app/run/[runId]/page": "action-browser"
|
|
492
492
|
},
|
|
493
493
|
"filename": "packages/web/src/lib/config-world.ts",
|
|
494
|
-
"exportedName": "
|
|
494
|
+
"exportedName": "resolveDataDirInfo"
|
|
495
|
+
},
|
|
496
|
+
"40545b511b082880ffd69907a64d12bf51eb2405a5": {
|
|
497
|
+
"workers": {
|
|
498
|
+
"app/_not-found/page": {
|
|
499
|
+
"moduleId": 832397,
|
|
500
|
+
"async": false,
|
|
501
|
+
"exportedName": "validateWorldConfig",
|
|
502
|
+
"filename": "packages/web/src/lib/config-world.ts"
|
|
503
|
+
},
|
|
504
|
+
"app/page": {
|
|
505
|
+
"moduleId": 704690,
|
|
506
|
+
"async": false,
|
|
507
|
+
"exportedName": "validateWorldConfig",
|
|
508
|
+
"filename": "packages/web/src/lib/config-world.ts"
|
|
509
|
+
},
|
|
510
|
+
"app/run/[runId]/page": {
|
|
511
|
+
"moduleId": 378306,
|
|
512
|
+
"async": false,
|
|
513
|
+
"exportedName": "validateWorldConfig",
|
|
514
|
+
"filename": "packages/web/src/lib/config-world.ts"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
"layer": {
|
|
518
|
+
"app/_not-found/page": "action-browser",
|
|
519
|
+
"app/page": "action-browser",
|
|
520
|
+
"app/run/[runId]/page": "action-browser"
|
|
521
|
+
},
|
|
522
|
+
"filename": "packages/web/src/lib/config-world.ts",
|
|
523
|
+
"exportedName": "validateWorldConfig"
|
|
495
524
|
},
|
|
496
|
-
"
|
|
525
|
+
"404bb916501dc0d1d7dc93050c8c594f8b8a1c3ab8": {
|
|
497
526
|
"workers": {
|
|
498
527
|
"app/page": {
|
|
499
528
|
"moduleId": 704690,
|
|
@@ -517,5 +546,5 @@
|
|
|
517
546
|
}
|
|
518
547
|
},
|
|
519
548
|
"edge": {},
|
|
520
|
-
"encryptionKey": "
|
|
549
|
+
"encryptionKey": "ojnlKj2r4xbN65oPDUr7xKeZvmzUbCQjOtUhx+puPbo="
|
|
521
550
|
}
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
C ${r-50} ${i},
|
|
5
5
|
${r-50} ${l},
|
|
6
6
|
${a} ${l}
|
|
7
|
-
`,h=r-50+5,f=i+u/2-12;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.BaseEdge,{id:o,path:c,markerEnd:d,style:{stroke:e.strokeColor,strokeWidth:2}}),s&&(0,t.jsx)(n.EdgeLabelRenderer,{children:(0,t.jsx)("div",{style:{position:"absolute",transform:`translate(-100%, -50%) translate(${h}px, ${f}px)`,pointerEvents:"all"},className:"nodrag nopan",children:(0,t.jsx)("span",{className:`px-1.5 py-0.5 text-[9px] font-bold rounded border whitespace-nowrap ${e.labelBgClass}`,children:s})})})]})}}let m={selfLoop:g(p)};function y(e=p){return{selfLoop:g(e)}}function x(e){return"workflow_start"===e||"workflow_end"===e?"var(--node-bg-start)":"primitive"===e?"var(--node-bg-primitive)":"agent"===e?"var(--node-bg-agent)":"tool"===e?"var(--node-bg-tool)":"conditional"===e?"var(--node-bg-conditional)":"var(--node-bg-step)"}function w(e,n){return"workflow_start"===e?(0,t.jsx)(s,{className:"h-3.5 w-3.5 text-blue-600 dark:text-blue-400"}):"workflow_end"===e?(0,t.jsx)(d,{className:"h-3.5 w-3.5 text-blue-600 dark:text-blue-400"}):"primitive"===e?"sleep"===n?(0,t.jsx)(a,{className:"h-3.5 w-3.5 text-orange-600 dark:text-orange-400"}):"createHook"===n||"createWebhook"===n?(0,t.jsx)(l,{className:"h-3.5 w-3.5 text-orange-600 dark:text-orange-400"}):(0,t.jsx)(a,{className:"h-3.5 w-3.5 text-orange-600 dark:text-orange-400"}):"agent"===e?(0,t.jsx)("span",{className:"h-3.5 w-3.5 text-pink-600 dark:text-pink-400 text-xs",children:"🤖"}):"tool"===e?(0,t.jsx)("span",{className:"h-3.5 w-3.5 text-purple-600 dark:text-purple-400 text-xs",children:"🔧"}):"conditional"===e?(0,t.jsx)("span",{className:"h-3.5 w-3.5 text-red-600 dark:text-red-400 text-xs",children:"◇"}):(0,t.jsx)(u.Zap,{className:"h-3.5 w-3.5 text-green-600 dark:text-green-400"})}function b(e,t=c){let n=e.nodes.map(e=>({...e})),o=[],r=[],i=new Map,a=new Map,l=new Map;for(let e of n){if(e.metadata?.parallelGroupId){let t=i.get(e.metadata.parallelGroupId)||{nodes:[],method:e.metadata.parallelMethod};t.nodes.push(e),i.set(e.metadata.parallelGroupId,t)}if(e.metadata?.loopId){let t=a.get(e.metadata.loopId)||[];t.push(e),a.set(e.metadata.loopId,t)}if(e.metadata?.conditionalId){let t=l.get(e.metadata.conditionalId)||{thenBranch:[],elseBranch:[]};"Then"===e.metadata.conditionalBranch?t.thenBranch.push(e):t.elseBranch.push(e),l.set(e.metadata.conditionalId,t)}}for(let[e,n]of i){let r=n.nodes;if(0===r.length)continue;let i=r[0].position.y;if(r.length>1){let e=t.HORIZONTAL_SPACING,n=(r.length-1)*e,o=t.START_X-n/2;r.forEach((t,n)=>{t.position={x:o+n*e,y:i}})}let a=Math.min(...r.map(e=>e.position.x)),l=Math.max(...r.map(e=>e.position.x)),s="all"===n.method?"Promise.all":"race"===n.method?"Promise.race":"allSettled"===n.method?"Promise.allSettled":"any"===n.method?"Promise.any":"Parallel",d=l-a+t.NODE_WIDTH+2*t.PARALLEL_GROUP_PADDING,u=t.NODE_HEIGHT+2*t.PARALLEL_GROUP_PADDING;o.push({id:`group_${e}`,type:"group",position:{x:a-t.PARALLEL_GROUP_PADDING,y:i-t.PARALLEL_GROUP_PADDING},style:{width:d,height:u,backgroundColor:"rgba(59, 130, 246, 0.05)",border:"2px dashed rgba(59, 130, 246, 0.3)",borderRadius:12},data:{label:s,groupWidth:d,groupHeight:u}})}for(let[,e]of l){if([...e.thenBranch,...e.elseBranch].length<=1)continue;let t=e.thenBranch,n=e.elseBranch;if(t.length>0&&n.length>0){let e=Math.min(t[0]?.position.y||0,n[0]?.position.y||0);t.forEach((t,n)=>{t.position={x:100,y:e+120*n}}),n.forEach((t,n)=>{t.position={x:400,y:e+120*n}})}}for(let[,e]of a)if(e.length>0){let t=e.some(e=>e.metadata?.loopIsAwait);for(let n of e)r.push({id:`self_loop_${n.id}`,source:n.id,target:n.id,sourceHandle:"loop-out",targetHandle:"loop-in",type:"selfLoop",label:t?"await":"loop"})}return{nodes:n,groupNodes:o,additionalEdges:r}}function v(e,t){let n=new Map;for(let e of t)e.metadata?.parallelGroupId&&n.set(e.id,e.metadata.parallelGroupId);let o=new Map,r=[];for(let t of e){let e=n.get(t.source),i=n.get(t.target);if(e&&i&&e!==i){let n=`${e}->${i}`,r=o.get(n)||[];r.push(t),o.set(n,r)}else r.push(t)}let i=[...r];for(let[,e]of o)if(e.length>1){let t=[...new Set(e.map(e=>e.target))],n=e[0].source;for(let o of t){let t=e.find(e=>e.target===o),r=e.filter(e=>e.target===o).map(e=>e.id);i.push({...t,id:`consolidated_${n}_${o}`,source:n,target:o,isConsolidated:!0,originalEdgeIds:r})}}else i.push(...e);return i}function S(e){let{nodes:n,groupNodes:o}=b(e),r=new Map,i=new Map;for(let e of o)e.id.startsWith("group_")&&i.set(e.id,e.position);for(let e of n){let t=e.metadata?.parallelGroupId?`group_${e.metadata.parallelGroupId}`:null;t&&i.has(t)&&r.set(e.id,t)}let a=[];for(let e of o.filter(e=>e.id.startsWith("group_")))a.push({id:e.id,type:"parallelGroup",position:e.position,style:{...e.style,cursor:"grab",zIndex:-1},data:e.data,draggable:!0,selectable:!0});return n.forEach(e=>{var n;let o={color:"hsl(var(--card-foreground))",backgroundColor:x(n=e.data.nodeKind),borderColor:"workflow_start"===n||"workflow_end"===n?"#60a5fa":"primitive"===n?"#f97316":"agent"===n?"#ec4899":"tool"===n?"#a855f7":"conditional"===n?"#ef4444":"#22c55e"},l=e.metadata,s=!!l?.loopId,d=!!l?.loopIsAwait,u="conditional"===e.data.nodeKind,c=u?"diamondNode":s?"loopNode":"default";"workflowStart"===e.type?c="input":"workflowEnd"===e.type&&(c="output");let h=[],f=r.get(e.id),p=e.position;if(f){let t=i.get(f);t&&(p={x:e.position.x-t.x,y:e.position.y-t.y})}let g=(0,t.jsxs)("div",{className:"flex flex-col gap-1.5 w-full overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex items-start gap-2 w-full overflow-hidden",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:w(e.data.nodeKind,e.data.label)}),(0,t.jsx)("span",{className:"text-sm font-medium break-words whitespace-normal leading-tight flex-1 min-w-0",children:e.data.label})]}),h.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1",children:h})]},`label-${e.id}`);s?a.push({id:e.id,type:c,position:p,parentId:f,extent:f?"parent":void 0,expandParent:!0,data:{...e.data,label:g,isLoopNode:!0,isAwaitLoop:d,nodeStyle:o}}):u?a.push({id:e.id,type:c,position:p,parentId:f,extent:f?"parent":void 0,expandParent:!0,data:{...e.data,label:e.data.label,nodeStyle:o}}):a.push({id:e.id,type:c,position:p,parentId:f,extent:f?"parent":void 0,expandParent:!0,data:{...e.data,label:g},style:{borderWidth:1,borderRadius:8,padding:12,width:220,...o}})}),a}function k(e){let{additionalEdges:t}=b(e);return v([...e.edges.map(e=>"loop"===e.type?{...e,id:`loop_back_${e.source}_${e.target}`,isOriginal:!0}:{...e,isOriginal:!0}),...t.map(e=>({...e,isOriginal:!1}))],e.nodes).map(e=>{let t;if("selfLoop"===e.type)return{id:e.id,source:e.source,target:e.target,sourceHandle:e.sourceHandle,targetHandle:e.targetHandle,type:"selfLoop",label:e.label,markerEnd:{type:o.MarkerType.ArrowClosed,width:12,height:12,color:"#6b7280"}};let n="#6b7280",r=1,i=e.label,a="bezier",l=!1;switch(e.type){case"parallel":r=1.5,t="4,4",a="smoothstep",i=void 0;break;case"loop":r=2,t="8,4",a="step";break;case"conditional":t="8,4",a="smoothstep",l=!0;break;default:a="bezier"}let s=l?"#ffffff":"#6b7280",d=l?"#374151":"#f3f4f6",u=l?"#4b5563":"#d1d5db";return{id:e.id,source:e.source,target:e.target,type:a,animated:!1,label:i,labelStyle:{fill:s,fontWeight:500,fontSize:"11px"},labelBgPadding:[4,6],labelBgBorderRadius:4,labelBgStyle:{fill:d,fillOpacity:.95,stroke:u,strokeWidth:1},markerEnd:{type:o.MarkerType.ArrowClosed,width:12,height:12,color:n},style:{strokeWidth:r,stroke:n,strokeDasharray:t}}})}function C({workflow:e}){let o=(0,r.useMemo)(()=>S(e),[e]),i=(0,r.useMemo)(()=>k(e),[e]),[a,l,s]=(0,n.useNodesState)(o),[d,u,c]=(0,n.useEdgesState)(i);return(0,r.useEffect)(()=>{l(S(e)),u(k(e))},[e,l,u]),(0,t.jsx)("div",{className:"h-full w-full border rounded-lg bg-background relative overflow-hidden",children:(0,t.jsxs)(n.ReactFlow,{nodes:a,edges:d,onNodesChange:s,onEdgesChange:c,nodeTypes:f,edgeTypes:m,fitView:!0,minZoom:.1,maxZoom:2,defaultViewport:{x:0,y:0,zoom:1},proOptions:{hideAttribution:!0},children:[(0,t.jsx)(n.Background,{}),(0,t.jsx)(n.Controls,{}),(0,t.jsx)(n.Panel,{position:"top-left",className:"bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 border rounded-lg p-3 text-xs",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("div",{className:"font-semibold text-[10px] text-muted-foreground mb-1.5",children:"Node Types"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-blue-500"}),(0,t.jsx)("span",{children:"Start / End"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-green-500"}),(0,t.jsx)("span",{children:"Step"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-orange-500"}),(0,t.jsx)("span",{children:"Primitive (sleep, hook)"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-red-500"}),(0,t.jsx)("span",{children:"Conditional"})]})]}),(0,t.jsxs)("div",{className:"space-y-1 pt-2 border-t",children:[(0,t.jsx)("div",{className:"font-semibold text-[10px] text-muted-foreground mb-1.5",children:"Edge Types"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-8 h-0.5 bg-gray-500"}),(0,t.jsx)("span",{children:"Sequential"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-8 h-0.5",style:{backgroundImage:"repeating-linear-gradient(90deg, #6b7280, #6b7280 4px, transparent 4px, transparent 8px)"}}),(0,t.jsx)("span",{children:"Parallel / Loop / Conditional"})]})]})]})})]})})}e.s(["LAYOUT",0,c,"ParallelGroupComponent",()=>h,"WorkflowGraphViewer",()=>C,"calculateEnhancedLayout",()=>b,"consolidateEdges",()=>v,"createEdgeTypes",()=>y,"executionSelfLoopStyle",0,{strokeColor:"#a855f7",labelBgClass:"bg-purple-200 dark:bg-purple-900/50 text-black dark:text-purple-200 border-purple-400 dark:border-purple-600"},"getNodeBackgroundColor",()=>x,"getNodeIcon",()=>w],93698)},562918,e=>{"use strict";var t=e.i(666426),n=e.i(294237),o=e.i(949245);let r=(0,n.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:e,variant:n,...i}){return(0,t.jsx)("div",{className:(0,o.cn)(r({variant:n}),e),...i})}e.s(["Badge",()=>i])},479823,e=>{"use strict";e.i(169764);var t=e.i(531875),n=e.i(202311),o=(0,n.createServerReference)("40e6caa6d7f53d3d5dd7573c4b318b482a32f6a2ed",n.callServer,void 0,n.findSourceMapURL,"fetchWorkflowsManifest"),r=e.i(686107),i=e.i(620486);function a(e){let[n,a]=(0,r.useState)(null),[l,s]=(0,r.useState)(!0),[d,u]=(0,r.useState)(null),c=(0,r.useRef)(!1),h=(0,r.useCallback)(async()=>{if(!c.current){c.current=!0,s(!0),u(null);try{let n=(0,i.worldConfigToEnvMap)(e);console.log("[useWorkflowGraphManifest] Fetching with env:",n);let{result:r,error:l}=await (0,t.unwrapServerActionResult)(o(n));if(l)return void u(l);console.log("[useWorkflowGraphManifest] Raw manifest after unwrap:",r),console.log("[useWorkflowGraphManifest] Workflows in raw:",Object.keys(r?.workflows||{}));let s=function(e){let t={};if(console.log("[adaptManifest] Raw manifest version:",e?.version),console.log("[adaptManifest] Raw workflows keys:",Object.keys(e?.workflows||{})),!e?.workflows)return console.log("[adaptManifest] No workflows in manifest, returning empty"),{version:e?.version||"1.0.0",workflows:{}};for(let[n,o]of Object.entries(e.workflows))for(let[e,r]of Object.entries(o)){let o=function(e,t){if(0===e.length)return[];let n=new Map,o=new Map;for(let e of t){let t=n.get(e.source)||[];t.push(e.target),n.set(e.source,t);let r=o.get(e.target)||[];r.push(e.source),o.set(e.target,r)}let r=e.find(e=>"workflow_start"===e.data.nodeKind);if(!r)return e.map((e,t)=>({id:e.id,type:e.type,data:{label:e.data.label,nodeKind:e.data.nodeKind,stepId:e.data.stepId},metadata:e.metadata,position:{x:250,y:50+320*t}}));let i=new Map,a=new Set,l=[r.id];for(i.set(r.id,0);l.length>0;){let e=l.shift();if(a.has(e))continue;a.add(e);let t=i.get(e);for(let o of n.get(e)||[])!(o===e||a.has(o))&&(i.has(o)?t+1>i.get(o)&&(i.set(o,t+1),l.includes(o)||l.push(o)):(i.set(o,t+1),l.push(o)))}let s=Math.max(...Array.from(i.values()),0);for(let t of e)i.has(t.id)||(s++,i.set(t.id,s));let d=new Map;for(let t of e){let e=i.get(t.id)??0,n=d.get(e)||[];n.push(t),d.set(e,n)}let u=[];for(let t of e){let e=i.get(t.id)??0,n=d.get(e)||[t],o=n.findIndex(e=>e.id===t.id),r=(n.length-1)*280,a=250-r/2;u.push({id:t.id,type:t.type,data:{label:t.data.label,nodeKind:t.data.nodeKind,stepId:t.data.stepId},metadata:t.metadata,position:{x:a+280*o,y:50+320*e}})}return u}(r.graph.nodes,r.graph.edges),i={workflowId:r.workflowId,workflowName:e,filePath:n,nodes:o,edges:r.graph.edges};t[r.workflowId]=i}return console.log("[adaptManifest] Adapted workflows count:",Object.keys(t).length),{version:e.version,workflows:t}}(r);console.log("[useWorkflowGraphManifest] Adapted manifest workflows:",Object.keys(s.workflows)),a(s)}catch(e){u(e instanceof t.WorkflowWebAPIError?e:e instanceof Error?new t.WorkflowWebAPIError(e.message,{cause:e,layer:"client"}):new t.WorkflowWebAPIError(String(e),{layer:"client"})),a(null)}finally{s(!1),c.current=!1}}},[e]);return(0,r.useEffect)(()=>{h()},[h]),{manifest:n,loading:l,error:d,refetch:h}}e.s(["useWorkflowGraphManifest",()=>a],479823)},480462,e=>{"use strict";var t=e.i(655907);function n(){return(0,t.useQueryState)("sidebar",t.parseAsString)}function o(){return(0,t.useQueryState)("tab",t.parseAsString.withDefault("runs"))}function r(){return(0,t.useQueryState)("hookId",t.parseAsString)}function i(){return(0,t.useQueryState)("stepId",t.parseAsString)}function a(){return(0,t.useQueryState)("eventId",t.parseAsString)}e.s(["useEventIdState",()=>a,"useHookIdState",()=>r,"useSidebarState",()=>n,"useStepIdState",()=>i,"useTabState",()=>o])}]);
|
|
7
|
+
`,h=r-50+5,f=i+u/2-12;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.BaseEdge,{id:o,path:c,markerEnd:d,style:{stroke:e.strokeColor,strokeWidth:2}}),s&&(0,t.jsx)(n.EdgeLabelRenderer,{children:(0,t.jsx)("div",{style:{position:"absolute",transform:`translate(-100%, -50%) translate(${h}px, ${f}px)`,pointerEvents:"all"},className:"nodrag nopan",children:(0,t.jsx)("span",{className:`px-1.5 py-0.5 text-[9px] font-bold rounded border whitespace-nowrap ${e.labelBgClass}`,children:s})})})]})}}let m={selfLoop:g(p)};function y(e=p){return{selfLoop:g(e)}}function x(e){return"workflow_start"===e||"workflow_end"===e?"var(--node-bg-start)":"primitive"===e?"var(--node-bg-primitive)":"agent"===e?"var(--node-bg-agent)":"tool"===e?"var(--node-bg-tool)":"conditional"===e?"var(--node-bg-conditional)":"var(--node-bg-step)"}function w(e,n){return"workflow_start"===e?(0,t.jsx)(s,{className:"h-3.5 w-3.5 text-blue-600 dark:text-blue-400"}):"workflow_end"===e?(0,t.jsx)(d,{className:"h-3.5 w-3.5 text-blue-600 dark:text-blue-400"}):"primitive"===e?"sleep"===n?(0,t.jsx)(a,{className:"h-3.5 w-3.5 text-orange-600 dark:text-orange-400"}):"createHook"===n||"createWebhook"===n?(0,t.jsx)(l,{className:"h-3.5 w-3.5 text-orange-600 dark:text-orange-400"}):(0,t.jsx)(a,{className:"h-3.5 w-3.5 text-orange-600 dark:text-orange-400"}):"agent"===e?(0,t.jsx)("span",{className:"h-3.5 w-3.5 text-pink-600 dark:text-pink-400 text-xs",children:"🤖"}):"tool"===e?(0,t.jsx)("span",{className:"h-3.5 w-3.5 text-purple-600 dark:text-purple-400 text-xs",children:"🔧"}):"conditional"===e?(0,t.jsx)("span",{className:"h-3.5 w-3.5 text-red-600 dark:text-red-400 text-xs",children:"◇"}):(0,t.jsx)(u.Zap,{className:"h-3.5 w-3.5 text-green-600 dark:text-green-400"})}function b(e,t=c){let n=e.nodes.map(e=>({...e})),o=[],r=[],i=new Map,a=new Map,l=new Map;for(let e of n){if(e.metadata?.parallelGroupId){let t=i.get(e.metadata.parallelGroupId)||{nodes:[],method:e.metadata.parallelMethod};t.nodes.push(e),i.set(e.metadata.parallelGroupId,t)}if(e.metadata?.loopId){let t=a.get(e.metadata.loopId)||[];t.push(e),a.set(e.metadata.loopId,t)}if(e.metadata?.conditionalId){let t=l.get(e.metadata.conditionalId)||{thenBranch:[],elseBranch:[]};"Then"===e.metadata.conditionalBranch?t.thenBranch.push(e):t.elseBranch.push(e),l.set(e.metadata.conditionalId,t)}}for(let[e,n]of i){let r=n.nodes;if(0===r.length)continue;let i=r[0].position.y;if(r.length>1){let e=t.HORIZONTAL_SPACING,n=(r.length-1)*e,o=t.START_X-n/2;r.forEach((t,n)=>{t.position={x:o+n*e,y:i}})}let a=Math.min(...r.map(e=>e.position.x)),l=Math.max(...r.map(e=>e.position.x)),s="all"===n.method?"Promise.all":"race"===n.method?"Promise.race":"allSettled"===n.method?"Promise.allSettled":"any"===n.method?"Promise.any":"Parallel",d=l-a+t.NODE_WIDTH+2*t.PARALLEL_GROUP_PADDING,u=t.NODE_HEIGHT+2*t.PARALLEL_GROUP_PADDING;o.push({id:`group_${e}`,type:"group",position:{x:a-t.PARALLEL_GROUP_PADDING,y:i-t.PARALLEL_GROUP_PADDING},style:{width:d,height:u,backgroundColor:"rgba(59, 130, 246, 0.05)",border:"2px dashed rgba(59, 130, 246, 0.3)",borderRadius:12},data:{label:s,groupWidth:d,groupHeight:u}})}for(let[,e]of l){if([...e.thenBranch,...e.elseBranch].length<=1)continue;let t=e.thenBranch,n=e.elseBranch;if(t.length>0&&n.length>0){let e=Math.min(t[0]?.position.y||0,n[0]?.position.y||0);t.forEach((t,n)=>{t.position={x:100,y:e+120*n}}),n.forEach((t,n)=>{t.position={x:400,y:e+120*n}})}}for(let[,e]of a)if(e.length>0){let t=e.some(e=>e.metadata?.loopIsAwait);for(let n of e)r.push({id:`self_loop_${n.id}`,source:n.id,target:n.id,sourceHandle:"loop-out",targetHandle:"loop-in",type:"selfLoop",label:t?"await":"loop"})}return{nodes:n,groupNodes:o,additionalEdges:r}}function v(e,t){let n=new Map;for(let e of t)e.metadata?.parallelGroupId&&n.set(e.id,e.metadata.parallelGroupId);let o=new Map,r=[];for(let t of e){let e=n.get(t.source),i=n.get(t.target);if(e&&i&&e!==i){let n=`${e}->${i}`,r=o.get(n)||[];r.push(t),o.set(n,r)}else r.push(t)}let i=[...r];for(let[,e]of o)if(e.length>1){let t=[...new Set(e.map(e=>e.target))],n=e[0].source;for(let o of t){let t=e.find(e=>e.target===o),r=e.filter(e=>e.target===o).map(e=>e.id);i.push({...t,id:`consolidated_${n}_${o}`,source:n,target:o,isConsolidated:!0,originalEdgeIds:r})}}else i.push(...e);return i}function S(e){let{nodes:n,groupNodes:o}=b(e),r=new Map,i=new Map;for(let e of o)e.id.startsWith("group_")&&i.set(e.id,e.position);for(let e of n){let t=e.metadata?.parallelGroupId?`group_${e.metadata.parallelGroupId}`:null;t&&i.has(t)&&r.set(e.id,t)}let a=[];for(let e of o.filter(e=>e.id.startsWith("group_")))a.push({id:e.id,type:"parallelGroup",position:e.position,style:{...e.style,cursor:"grab",zIndex:-1},data:e.data,draggable:!0,selectable:!0});return n.forEach(e=>{var n;let o={color:"hsl(var(--card-foreground))",backgroundColor:x(n=e.data.nodeKind),borderColor:"workflow_start"===n||"workflow_end"===n?"#60a5fa":"primitive"===n?"#f97316":"agent"===n?"#ec4899":"tool"===n?"#a855f7":"conditional"===n?"#ef4444":"#22c55e"},l=e.metadata,s=!!l?.loopId,d=!!l?.loopIsAwait,u="conditional"===e.data.nodeKind,c=u?"diamondNode":s?"loopNode":"default";"workflowStart"===e.type?c="input":"workflowEnd"===e.type&&(c="output");let h=[],f=r.get(e.id),p=e.position;if(f){let t=i.get(f);t&&(p={x:e.position.x-t.x,y:e.position.y-t.y})}let g=(0,t.jsxs)("div",{className:"flex flex-col gap-1.5 w-full overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex items-start gap-2 w-full overflow-hidden",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:w(e.data.nodeKind,e.data.label)}),(0,t.jsx)("span",{className:"text-sm font-medium break-words whitespace-normal leading-tight flex-1 min-w-0",children:e.data.label})]}),h.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1",children:h})]},`label-${e.id}`);s?a.push({id:e.id,type:c,position:p,parentId:f,extent:f?"parent":void 0,expandParent:!0,data:{...e.data,label:g,isLoopNode:!0,isAwaitLoop:d,nodeStyle:o}}):u?a.push({id:e.id,type:c,position:p,parentId:f,extent:f?"parent":void 0,expandParent:!0,data:{...e.data,label:e.data.label,nodeStyle:o}}):a.push({id:e.id,type:c,position:p,parentId:f,extent:f?"parent":void 0,expandParent:!0,data:{...e.data,label:g},style:{borderWidth:1,borderRadius:8,padding:12,width:220,...o}})}),a}function k(e){let{additionalEdges:t}=b(e);return v([...e.edges.map(e=>"loop"===e.type?{...e,id:`loop_back_${e.source}_${e.target}`,isOriginal:!0}:{...e,isOriginal:!0}),...t.map(e=>({...e,isOriginal:!1}))],e.nodes).map(e=>{let t;if("selfLoop"===e.type)return{id:e.id,source:e.source,target:e.target,sourceHandle:e.sourceHandle,targetHandle:e.targetHandle,type:"selfLoop",label:e.label,markerEnd:{type:o.MarkerType.ArrowClosed,width:12,height:12,color:"#6b7280"}};let n="#6b7280",r=1,i=e.label,a="bezier",l=!1;switch(e.type){case"parallel":r=1.5,t="4,4",a="smoothstep",i=void 0;break;case"loop":r=2,t="8,4",a="step";break;case"conditional":t="8,4",a="smoothstep",l=!0;break;default:a="bezier"}let s=l?"#ffffff":"#6b7280",d=l?"#374151":"#f3f4f6",u=l?"#4b5563":"#d1d5db";return{id:e.id,source:e.source,target:e.target,type:a,animated:!1,label:i,labelStyle:{fill:s,fontWeight:500,fontSize:"11px"},labelBgPadding:[4,6],labelBgBorderRadius:4,labelBgStyle:{fill:d,fillOpacity:.95,stroke:u,strokeWidth:1},markerEnd:{type:o.MarkerType.ArrowClosed,width:12,height:12,color:n},style:{strokeWidth:r,stroke:n,strokeDasharray:t}}})}function C({workflow:e}){let o=(0,r.useMemo)(()=>S(e),[e]),i=(0,r.useMemo)(()=>k(e),[e]),[a,l,s]=(0,n.useNodesState)(o),[d,u,c]=(0,n.useEdgesState)(i);return(0,r.useEffect)(()=>{l(S(e)),u(k(e))},[e,l,u]),(0,t.jsx)("div",{className:"h-full w-full border rounded-lg bg-background relative overflow-hidden",children:(0,t.jsxs)(n.ReactFlow,{nodes:a,edges:d,onNodesChange:s,onEdgesChange:c,nodeTypes:f,edgeTypes:m,fitView:!0,minZoom:.1,maxZoom:2,defaultViewport:{x:0,y:0,zoom:1},proOptions:{hideAttribution:!0},children:[(0,t.jsx)(n.Background,{}),(0,t.jsx)(n.Controls,{}),(0,t.jsx)(n.Panel,{position:"top-left",className:"bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 border rounded-lg p-3 text-xs",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("div",{className:"font-semibold text-[10px] text-muted-foreground mb-1.5",children:"Node Types"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-blue-500"}),(0,t.jsx)("span",{children:"Start / End"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-green-500"}),(0,t.jsx)("span",{children:"Step"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-orange-500"}),(0,t.jsx)("span",{children:"Primitive (sleep, hook)"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-red-500"}),(0,t.jsx)("span",{children:"Conditional"})]})]}),(0,t.jsxs)("div",{className:"space-y-1 pt-2 border-t",children:[(0,t.jsx)("div",{className:"font-semibold text-[10px] text-muted-foreground mb-1.5",children:"Edge Types"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-8 h-0.5 bg-gray-500"}),(0,t.jsx)("span",{children:"Sequential"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-8 h-0.5",style:{backgroundImage:"repeating-linear-gradient(90deg, #6b7280, #6b7280 4px, transparent 4px, transparent 8px)"}}),(0,t.jsx)("span",{children:"Parallel / Loop / Conditional"})]})]})]})})]})})}e.s(["LAYOUT",0,c,"ParallelGroupComponent",()=>h,"WorkflowGraphViewer",()=>C,"calculateEnhancedLayout",()=>b,"consolidateEdges",()=>v,"createEdgeTypes",()=>y,"executionSelfLoopStyle",0,{strokeColor:"#a855f7",labelBgClass:"bg-purple-200 dark:bg-purple-900/50 text-black dark:text-purple-200 border-purple-400 dark:border-purple-600"},"getNodeBackgroundColor",()=>x,"getNodeIcon",()=>w],93698)},562918,e=>{"use strict";var t=e.i(666426),n=e.i(294237),o=e.i(949245);let r=(0,n.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:e,variant:n,...i}){return(0,t.jsx)("div",{className:(0,o.cn)(r({variant:n}),e),...i})}e.s(["Badge",()=>i])},479823,e=>{"use strict";e.i(169764);var t=e.i(531875),n=e.i(202311),o=(0,n.createServerReference)("404bb916501dc0d1d7dc93050c8c594f8b8a1c3ab8",n.callServer,void 0,n.findSourceMapURL,"fetchWorkflowsManifest"),r=e.i(686107),i=e.i(620486);function a(e){let[n,a]=(0,r.useState)(null),[l,s]=(0,r.useState)(!0),[d,u]=(0,r.useState)(null),c=(0,r.useRef)(!1),h=(0,r.useCallback)(async()=>{if(!c.current){c.current=!0,s(!0),u(null);try{let n=(0,i.worldConfigToEnvMap)(e);console.log("[useWorkflowGraphManifest] Fetching with env:",n);let{result:r,error:l}=await (0,t.unwrapServerActionResult)(o(n));if(l)return void u(l);console.log("[useWorkflowGraphManifest] Raw manifest after unwrap:",r),console.log("[useWorkflowGraphManifest] Workflows in raw:",Object.keys(r?.workflows||{}));let s=function(e){let t={};if(console.log("[adaptManifest] Raw manifest version:",e?.version),console.log("[adaptManifest] Raw workflows keys:",Object.keys(e?.workflows||{})),!e?.workflows)return console.log("[adaptManifest] No workflows in manifest, returning empty"),{version:e?.version||"1.0.0",workflows:{}};for(let[n,o]of Object.entries(e.workflows))for(let[e,r]of Object.entries(o)){let o=function(e,t){if(0===e.length)return[];let n=new Map,o=new Map;for(let e of t){let t=n.get(e.source)||[];t.push(e.target),n.set(e.source,t);let r=o.get(e.target)||[];r.push(e.source),o.set(e.target,r)}let r=e.find(e=>"workflow_start"===e.data.nodeKind);if(!r)return e.map((e,t)=>({id:e.id,type:e.type,data:{label:e.data.label,nodeKind:e.data.nodeKind,stepId:e.data.stepId},metadata:e.metadata,position:{x:250,y:50+320*t}}));let i=new Map,a=new Set,l=[r.id];for(i.set(r.id,0);l.length>0;){let e=l.shift();if(a.has(e))continue;a.add(e);let t=i.get(e);for(let o of n.get(e)||[])!(o===e||a.has(o))&&(i.has(o)?t+1>i.get(o)&&(i.set(o,t+1),l.includes(o)||l.push(o)):(i.set(o,t+1),l.push(o)))}let s=Math.max(...Array.from(i.values()),0);for(let t of e)i.has(t.id)||(s++,i.set(t.id,s));let d=new Map;for(let t of e){let e=i.get(t.id)??0,n=d.get(e)||[];n.push(t),d.set(e,n)}let u=[];for(let t of e){let e=i.get(t.id)??0,n=d.get(e)||[t],o=n.findIndex(e=>e.id===t.id),r=(n.length-1)*280,a=250-r/2;u.push({id:t.id,type:t.type,data:{label:t.data.label,nodeKind:t.data.nodeKind,stepId:t.data.stepId},metadata:t.metadata,position:{x:a+280*o,y:50+320*e}})}return u}(r.graph.nodes,r.graph.edges),i={workflowId:r.workflowId,workflowName:e,filePath:n,nodes:o,edges:r.graph.edges};t[r.workflowId]=i}return console.log("[adaptManifest] Adapted workflows count:",Object.keys(t).length),{version:e.version,workflows:t}}(r);console.log("[useWorkflowGraphManifest] Adapted manifest workflows:",Object.keys(s.workflows)),a(s)}catch(e){u(e instanceof t.WorkflowWebAPIError?e:e instanceof Error?new t.WorkflowWebAPIError(e.message,{cause:e,layer:"client"}):new t.WorkflowWebAPIError(String(e),{layer:"client"})),a(null)}finally{s(!1),c.current=!1}}},[e]);return(0,r.useEffect)(()=>{h()},[h]),{manifest:n,loading:l,error:d,refetch:h}}e.s(["useWorkflowGraphManifest",()=>a],479823)},480462,e=>{"use strict";var t=e.i(655907);function n(){return(0,t.useQueryState)("sidebar",t.parseAsString)}function o(){return(0,t.useQueryState)("tab",t.parseAsString.withDefault("runs"))}function r(){return(0,t.useQueryState)("hookId",t.parseAsString)}function i(){return(0,t.useQueryState)("stepId",t.parseAsString)}function a(){return(0,t.useQueryState)("eventId",t.parseAsString)}e.s(["useEventIdState",()=>a,"useHookIdState",()=>r,"useSidebarState",()=>n,"useStepIdState",()=>i,"useTabState",()=>o])}]);
|