@ai-development-environment/server 0.0.45 → 0.0.46
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/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/chunks/ssr/_0dvnys0._.js +4 -4
- package/standalone/.next/server/chunks/ssr/_0k5jx04._.js +4 -4
- package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_settings-page_tsx_06dxqc7._.js +31 -31
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/{0zha00anzjjeh.js → 0eibx0a-j2s56.js} +4 -4
- package/standalone/.next/static/chunks/{2xeugqh9w5yfk.js → 0ftq0sdx2ck_7.js} +4 -4
- package/standalone/.next/static/chunks/1x-rxqwi4o4t2.css +1 -0
- package/standalone/.next/static/chunks/2t9stoad5r1nz.js +35 -0
- package/standalone/.next/static/chunks/1gz-q30e1qzuf.js +0 -35
- package/standalone/.next/static/chunks/2-6q03hqlurh2.css +0 -1
- /package/standalone/.next/static/{xU6QTRGzeBpwH4_PLChiN → HhiEyDs5GGmRv4pwGKg-m}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{xU6QTRGzeBpwH4_PLChiN → HhiEyDs5GGmRv4pwGKg-m}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{xU6QTRGzeBpwH4_PLChiN → HhiEyDs5GGmRv4pwGKg-m}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><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/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="manifest" href="/manifest.webmanifest"/><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.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>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.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[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"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,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$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\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html><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/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="manifest" href="/manifest.webmanifest"/><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.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>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.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[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"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,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$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\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"HhiEyDs5GGmRv4pwGKg-m\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"2\",{}]]\n"])</script></body></html>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
8:I[897367,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"ViewportBoundary"]
|
|
7
7
|
a:I[897367,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"MetadataBoundary"]
|
|
8
8
|
c:I[168027,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"default",1]
|
|
9
|
-
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/2yl1jv4w6po1z.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1m5ykreap-f2c.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$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":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
9
|
+
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/2yl1jv4w6po1z.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1m5ykreap-f2c.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$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":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"HhiEyDs5GGmRv4pwGKg-m"}
|
|
10
10
|
d:[]
|
|
11
11
|
7:"$Wd"
|
|
12
12
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
8:I[897367,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"ViewportBoundary"]
|
|
7
7
|
a:I[897367,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"MetadataBoundary"]
|
|
8
8
|
c:I[168027,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"default",1]
|
|
9
|
-
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/2yl1jv4w6po1z.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1m5ykreap-f2c.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$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":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
9
|
+
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/2yl1jv4w6po1z.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1m5ykreap-f2c.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$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":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"HhiEyDs5GGmRv4pwGKg-m"}
|
|
10
10
|
d:[]
|
|
11
11
|
7:"$Wd"
|
|
12
12
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
3:I[897367,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
5:I[154500,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"IconMark"]
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","link","0",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","link","1",{"rel":"icon","href":"/favicon.ico?favicon.2vob68tjqpejf.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","2",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","link","0",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","link","1",{"rel":"icon","href":"/favicon.ico?favicon.2vob68tjqpejf.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","2",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"HhiEyDs5GGmRv4pwGKg-m"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[339756,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"default"]
|
|
3
3
|
3:I[837457,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"default"]
|
|
4
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/2yl1jv4w6po1z.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/1m5ykreap-f2c.js","async":true}]],["$","html",null,{"children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
4
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/2yl1jv4w6po1z.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/1m5ykreap-f2c.js","async":true}]],["$","html",null,{"children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"HhiEyDs5GGmRv4pwGKg-m"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[897367,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"OutletBoundary"]
|
|
3
3
|
3:"$Sreact.suspense"
|
|
4
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
4
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","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,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@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","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"HhiEyDs5GGmRv4pwGKg-m"}
|
|
5
5
|
4:null
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
2:I[339756,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"default"]
|
|
3
3
|
3:I[837457,["/_next/static/chunks/2yl1jv4w6po1z.js","/_next/static/chunks/1m5ykreap-f2c.js"],"default"]
|
|
4
4
|
4:[]
|
|
5
|
-
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"
|
|
5
|
+
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"HhiEyDs5GGmRv4pwGKg-m"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
1
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"HhiEyDs5GGmRv4pwGKg-m"}
|
|
@@ -51,15 +51,15 @@ ${d}`}).replace(/([*_]+)(\S.*?)\1/g,(a,b,c)=>{switch(b.length){case 1:return`_${
|
|
|
51
51
|
addJiraComment(issueKey: $issueKey, content: $content) {
|
|
52
52
|
${L}
|
|
53
53
|
}
|
|
54
|
-
}`,{issueKey:c.key,content:b});a(d.addJiraComment)}catch(a){throw h(a instanceof Error?a.message:String(a)),a}finally{f(!1)}};return(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsx)("h3",{className:"font-semibold",children:d("comments",{count:c.comments.length})}),0===c.comments.length?(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:d("noComments")}):(0,b.jsx)(N.ItemGroup,{className:"gap-3",children:c.comments.map(a=>(0,b.jsx)(N.Item,{asChild:!0,variant:"outline",children:(0,b.jsx)("article",{children:(0,b.jsx)(N.ItemContent,{className:"@container/comment basis-full",children:(0,b.jsx)(z,{compactActionsMenu:!0,content:a.content,controlsClassName:"contents @md/comment:flex @md/comment:flex-wrap @md/comment:items-center @md/comment:justify-end @md/comment:gap-1",header:(0,b.jsx)(N.ItemTitle,{children:(0,b.jsx)(E.JiraUser,{avatarUrl:a.author?.avatarUrl??null,name:a.author?.displayName??d("unknownUser")})}),headerActions:(0,b.jsx)(M.DateTime,{className:"col-start-1 row-start-2 -mt-1 mr-auto shrink-0 text-xs text-muted-foreground",value:a.createdAt}),headerClassName:"grid grid-cols-[minmax(0,1fr)_auto] grid-rows-[auto_auto] items-start gap-x-2 gap-y-0.5 border-b pb-2 @md/comment:flex @md/comment:flex-row @md/comment:items-center @md/comment:gap-2",showFormatOverride:!1,value:a.body,viewActionsClassName:"col-start-2 row-start-1 ml-auto @md/comment:ml-0"})})})},a.id))}),(0,b.jsx)("div",{className:"border-t pt-4",children:(0,b.jsx)(A,{busy:e,error:g,onSubmit:i,submitLabel:d("addComment")})})]})}],103810);var O=a.i(795225),P=a.i(870430),Q=a.i(578672),R=a.i(668684),S=a.i(875083),T=a.i(786304);let U="worktree-branch-mode",
|
|
54
|
+
}`,{issueKey:c.key,content:b});a(d.addJiraComment)}catch(a){throw h(a instanceof Error?a.message:String(a)),a}finally{f(!1)}};return(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsx)("h3",{className:"font-semibold",children:d("comments",{count:c.comments.length})}),0===c.comments.length?(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:d("noComments")}):(0,b.jsx)(N.ItemGroup,{className:"gap-3",children:c.comments.map(a=>(0,b.jsx)(N.Item,{asChild:!0,variant:"outline",children:(0,b.jsx)("article",{children:(0,b.jsx)(N.ItemContent,{className:"@container/comment basis-full",children:(0,b.jsx)(z,{compactActionsMenu:!0,content:a.content,controlsClassName:"contents @md/comment:flex @md/comment:flex-wrap @md/comment:items-center @md/comment:justify-end @md/comment:gap-1",header:(0,b.jsx)(N.ItemTitle,{children:(0,b.jsx)(E.JiraUser,{avatarUrl:a.author?.avatarUrl??null,name:a.author?.displayName??d("unknownUser")})}),headerActions:(0,b.jsx)(M.DateTime,{className:"col-start-1 row-start-2 -mt-1 mr-auto shrink-0 text-xs text-muted-foreground",value:a.createdAt}),headerClassName:"grid grid-cols-[minmax(0,1fr)_auto] grid-rows-[auto_auto] items-start gap-x-2 gap-y-0.5 border-b pb-2 @md/comment:flex @md/comment:flex-row @md/comment:items-center @md/comment:gap-2",showFormatOverride:!1,value:a.body,viewActionsClassName:"col-start-2 row-start-1 ml-auto @md/comment:ml-0"})})})},a.id))}),(0,b.jsx)("div",{className:"border-t pt-4",children:(0,b.jsx)(A,{busy:e,error:g,onSubmit:i,submitLabel:d("addComment")})})]})}],103810);var O=a.i(795225),P=a.i(870430),Q=a.i(578672),R=a.i(668684),S=a.i(875083),T=a.i(786304);let U=/^[A-Z][A-Z0-9_]*-\d+$/;function V(a){let b=a?.trim().toUpperCase()??"";return U.test(b)?b:null}function W(a){let b,c=V(a);if(c)return c;try{b=new URL(a.trim())}catch{return null}if("https:"!==b.protocol&&"http:"!==b.protocol)return null;let d=V(b.searchParams.get("selectedIssue"));if(d)return d;let e=b.pathname.split("/").filter(Boolean);for(let a=0;a<e.length-1;a+=1){if(!/^(browse|issues)$/i.test(e[a]))continue;let b=V(e[a+1]);if(b)return b}return null}let X="worktree-branch-mode",Y="worktree-branch-mode-changed";function Z(){if("u"<typeof document)return"NEW";let a=document.cookie.split("; ").find(a=>a.startsWith(`${X}=`))?.split("=")[1];return"EXISTING"===a||"TICKET"===a?a:"NEW"}function $({target:a,busy:c,submitLabel:d,onSubmit:e,onSubmitError:f,recovery:g,fixedTicketKey:h}){let i=(0,k.useTranslations)("worktrees"),j=(0,l.useId)(),[m,n]=function(){let[a,b]=(0,l.useState)(Z);return(0,l.useEffect)(()=>{let a=()=>b(Z());return window.addEventListener(Y,a),()=>window.removeEventListener(Y,a)},[]),[a,a=>{document.cookie=`${X}=${a}; Max-Age=31536000; Path=/; SameSite=Lax`,b(a),window.dispatchEvent(new Event(Y))}]}(),o=h?"TICKET":m,[r,s]=(0,l.useState)(""),[t,u]=(0,l.useState)(a.currentBranch??""),[v,w]=(0,l.useState)(a.currentBaseBranch??a.defaultBranch??""),[x,y]=(0,l.useState)(h??""),[z,A]=(0,l.useState)(null),[B,C]=(0,l.useState)(!1),[E,F]=(0,l.useState)(null),H=(0,l.useRef)(0);(0,l.useEffect)(()=>{let b=++H.current,c=W(x),d=window.setTimeout(async()=>{if("TICKET"!==o||!c)return void C(!1);C(!0);try{let d=await (0,G.controlPlaneRequest)(`query PreviewWorktreeTicketBranch($input: PreviewWorktreeTicketBranchInput!) {
|
|
55
55
|
previewWorktreeTicketBranch(input: $input) { ticketKey ticketTitle ticketType projectKey branchName }
|
|
56
|
-
}`,{input:{codebaseId:a.codebaseId,worktreeId:a.worktreeId??null,ticketKey:c}});if(b!==H.current)return;A(d.previewWorktreeTicketBranch)}catch(a){if(b!==H.current)return;F(a instanceof Error?a.message:String(a))}finally{b===H.current&&C(!1)}},400);return()=>window.clearTimeout(d)},[o,a.codebaseId,a.worktreeId,x]);let I=(0,l.useMemo)(()=>a.remoteBranches.map(b=>({value:b,label:b,description:b===a.defaultBranch?i("remoteDefault"):void 0})),[i,a.defaultBranch,a.remoteBranches]),J=(0,l.useMemo)(()=>{let b=new Set(a.localBranches),c=new Set(a.remoteBranches),d=new Set(a.unavailableBranches);return[...new Set([...b,...c])].filter(a=>!d.has(a)).sort((a,b)=>a.localeCompare(b)).map(a=>({value:a,label:a,description:b.has(a)&&c.has(a)?i("localAndOrigin"):b.has(a)?i("localBranch"):i("originBranch")}))},[i,a.localBranches,a.remoteBranches,a.unavailableBranches]),K=async a=>{a.preventDefault();let b={mode:o,baseBranch:v,..."NEW"===o?{branchName:r}:"EXISTING"===o?{branchName:t}:{ticketKey:x
|
|
56
|
+
}`,{input:{codebaseId:a.codebaseId,worktreeId:a.worktreeId??null,ticketKey:c}});if(b!==H.current)return;A(d.previewWorktreeTicketBranch)}catch(a){if(b!==H.current)return;F(a instanceof Error?a.message:String(a))}finally{b===H.current&&C(!1)}},400);return()=>window.clearTimeout(d)},[o,a.codebaseId,a.worktreeId,x]);let I=(0,l.useMemo)(()=>a.remoteBranches.map(b=>({value:b,label:b,description:b===a.defaultBranch?i("remoteDefault"):void 0})),[i,a.defaultBranch,a.remoteBranches]),J=(0,l.useMemo)(()=>{let b=new Set(a.localBranches),c=new Set(a.remoteBranches),d=new Set(a.unavailableBranches);return[...new Set([...b,...c])].filter(a=>!d.has(a)).sort((a,b)=>a.localeCompare(b)).map(a=>({value:a,label:a,description:b.has(a)&&c.has(a)?i("localAndOrigin"):b.has(a)?i("localBranch"):i("originBranch")}))},[i,a.localBranches,a.remoteBranches,a.unavailableBranches]),K=async a=>{a.preventDefault();let b={mode:o,baseBranch:v,..."NEW"===o?{branchName:r}:"EXISTING"===o?{branchName:t}:{ticketKey:W(x)}};try{F(null),await e(b)}catch(c){let a=c instanceof Error?c:Error(String(c));F(a.message),f?.(b,a)}},L=c||!v||"NEW"===o&&!r.trim()||"EXISTING"===o&&!t||"TICKET"===o&&(!z||B);return(0,b.jsxs)("form",{className:"space-y-4",onSubmit:a=>void K(a),children:[!h&&(0,b.jsx)(S.Tabs,{onValueChange:a=>{A(null),C(!1),F(null),n(a)},value:o,children:(0,b.jsxs)(S.TabsList,{className:"grid w-full grid-cols-3",children:[(0,b.jsx)(S.TabsTrigger,{value:"NEW",children:i("newBranch")}),(0,b.jsx)(S.TabsTrigger,{value:"EXISTING",children:i("existingBranch")}),(0,b.jsx)(S.TabsTrigger,{value:"TICKET",children:i("fromTicket")})]})}),"NEW"===o&&(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",htmlFor:`${j}-branch`,children:i("branchName")}),(0,b.jsx)(D.Input,{autoComplete:"off",id:`${j}-branch`,onChange:a=>s(a.target.value),placeholder:"feature/TICKET-123-ticket-title",value:r})]}),"EXISTING"===o&&(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",children:i("existingBranch")}),(0,b.jsx)(Q.SearchableSelect,{ariaLabel:i("existingBranch"),emptyMessage:i("noMatchingBranches"),onValueChange:u,options:J,placeholder:i("selectExistingBranch"),searchPlaceholder:i("searchBranches"),value:t})]}),"TICKET"===o&&(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",htmlFor:`${j}-ticket`,children:i("ticketKey")}),(0,b.jsx)(D.Input,{autoComplete:"off",id:`${j}-ticket`,onChange:a=>{y(a.target.value),A(null),C(!1),F(null)},placeholder:"TICKET-123",readOnly:!!h,value:x})]}),B&&(0,b.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,b.jsx)(R.Spinner,{})," ",i("loadingTicketBranch")]}),z&&(0,b.jsx)(N.Item,{variant:"muted",children:(0,b.jsxs)(N.ItemContent,{children:[(0,b.jsxs)(N.ItemTitle,{className:"w-full flex-wrap",children:[(0,b.jsx)("span",{children:z.ticketKey}),z.ticketType&&(0,b.jsx)(T.Badge,{variant:"secondary",children:z.ticketType})]}),(0,b.jsx)(N.ItemDescription,{children:z.ticketTitle}),(0,b.jsx)(N.ItemDescription,{className:"break-all font-mono text-xs text-foreground",children:z.branchName})]})})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",children:i("baseBranch")}),(0,b.jsx)(Q.SearchableSelect,{ariaLabel:i("baseBranch"),emptyMessage:i("noMatchingBranches"),onValueChange:w,options:I,placeholder:i("selectBaseBranch"),searchPlaceholder:i("searchBranches"),value:v})]}),E&&(0,b.jsx)(p.Alert,{variant:"destructive",children:(0,b.jsx)(p.AlertDescription,{children:E})}),g,(0,b.jsx)("div",{className:"flex justify-end",children:(0,b.jsxs)(q.Button,{disabled:L,type:"submit",children:[c&&(0,b.jsx)(R.Spinner,{}),d]})})]})}async function _(a){let b=Date.now()+6e5;for(;Date.now()<b;){await new Promise(a=>window.setTimeout(a,750));let b=(await (0,G.controlPlaneRequest)("query WorktreeJob($id: ID!) { agentJob(id: $id) { status error } }",{id:a})).agentJob;if(!(!b||["QUEUED","RUNNING"].includes(b.status))){if("SUCCEEDED"!==b.status)throw Error(b.error||`Worktree operation ${b.status.toLowerCase()}`);return}}throw Error("Worktree operation is still running; check the agent job history")}async function aa(a){let b=Date.now()+12e5;for(;Date.now()<b;){await new Promise(a=>window.setTimeout(a,750));let b=(await (0,G.controlPlaneRequest)(`query WorktreeMove($id: ID!) {
|
|
57
57
|
worktreeMove(id: $id) {
|
|
58
58
|
id sourceWorktreeId sourceCodebaseId targetCodebaseId targetWorktreeId destinationMode
|
|
59
59
|
branch headSha deleteSource status sourceJobId targetJobId cleanupJobId error warning
|
|
60
60
|
createdAt updatedAt finishedAt
|
|
61
61
|
}
|
|
62
|
-
}`,{id:a})).worktreeMove;if(!b)throw Error("Worktree move disappeared");if(!["PUSHING","CHECKING_OUT","CLEANING_UP"].includes(b.status))return b}throw Error("Worktree move is still running; it will continue in the background")}function
|
|
62
|
+
}`,{id:a})).worktreeMove;if(!b)throw Error("Worktree move disappeared");if(!["PUSHING","CHECKING_OUT","CLEANING_UP"].includes(b.status))return b}throw Error("Worktree move is still running; it will continue in the background")}function ab(a,b){return{codebaseId:a.codebase.id,...b?{worktreeId:b.id}:{},defaultBranch:a.codebase.defaultBranch,currentBranch:b?.branch,currentBaseBranch:b?.baseBranch,localBranches:a.codebase.localBranches,remoteBranches:a.codebase.remoteBranches,unavailableBranches:a.worktrees.flatMap(a=>a.branch&&a.id!==b?.id?[a.branch]:[])}}a.s(["WorktreeBranchForm",0,$],830976),a.s(["waitForWorktreeJob",0,_,"waitForWorktreeMove",0,aa],971734),a.s(["TicketWorktreeDialog",0,function({issueKey:a,open:c,onOpenChange:d}){let e=(0,k.useTranslations)("jiraTickets"),[f,g]=(0,l.useState)(null),[h,i]=(0,l.useState)("NEW_WORKTREE"),[j,m]=(0,l.useState)(""),[n,o]=(0,l.useState)(!1),[r,s]=(0,l.useState)(!1),[t,u]=(0,l.useState)(null),[w,x]=(0,l.useState)(null),[y,z]=(0,l.useState)(null),A=(0,l.useCallback)(async()=>{o(!0);try{let a=await (0,G.controlPlaneRequest)(`query TicketWorktreeDestinations {
|
|
63
63
|
worktreeOverview {
|
|
64
64
|
agents {
|
|
65
65
|
agent { id name hostname connectionStatus capabilities }
|
|
@@ -73,6 +73,6 @@ ${d}`}).replace(/([*_]+)(\S.*?)\1/g,(a,b,c)=>{switch(b.length){case 1:return`_${
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
}`);g(a.worktreeOverview),u(null)}catch(a){u(a instanceof Error?a.message:String(a))}finally{o(!1)}},[]);(0,l.useEffect)(()=>{if(!c)return;let a=window.setTimeout(()=>void A(),0);return()=>window.clearTimeout(a)},[A,c]);let B=(0,l.useMemo)(()=>f?.agents.flatMap(a=>a.codebases.flatMap(b=>"ONLINE"===a.agent.connectionStatus&&a.agent.capabilities.includes("worktree.branch")&&"AVAILABLE"===b.codebase.availability?[{agentGroup:a,group:b}]:[]))??[],[f]),C=B.filter(({group:a})=>!a.worktrees.some(a=>a.activeJob)),D=B.flatMap(({agentGroup:a,group:b})=>b.worktrees.flatMap(c=>"AVAILABLE"!==c.availability||c.activeJob?[]:[{agentGroup:a,group:b,worktree:c}])),E="NEW_WORKTREE"===h?C.some(a=>a.group.codebase.id===j)?j:1===C.length?C[0].group.codebase.id:"":D.some(a=>a.worktree.id===j)?j:1===D.length?D[0].worktree.id:"",F=C.find(a=>a.group.codebase.id===E),H=D.find(a=>a.worktree.id===E),I=F
|
|
76
|
+
}`);g(a.worktreeOverview),u(null)}catch(a){u(a instanceof Error?a.message:String(a))}finally{o(!1)}},[]);(0,l.useEffect)(()=>{if(!c)return;let a=window.setTimeout(()=>void A(),0);return()=>window.clearTimeout(a)},[A,c]);let B=(0,l.useMemo)(()=>f?.agents.flatMap(a=>a.codebases.flatMap(b=>"ONLINE"===a.agent.connectionStatus&&a.agent.capabilities.includes("worktree.branch")&&"AVAILABLE"===b.codebase.availability?[{agentGroup:a,group:b}]:[]))??[],[f]),C=B.filter(({group:a})=>!a.worktrees.some(a=>a.activeJob)),D=B.flatMap(({agentGroup:a,group:b})=>b.worktrees.flatMap(c=>"AVAILABLE"!==c.availability||c.activeJob?[]:[{agentGroup:a,group:b,worktree:c}])),E="NEW_WORKTREE"===h?C.some(a=>a.group.codebase.id===j)?j:1===C.length?C[0].group.codebase.id:"":D.some(a=>a.worktree.id===j)?j:1===D.length?D[0].worktree.id:"",F=C.find(a=>a.group.codebase.id===E),H=D.find(a=>a.worktree.id===E),I=F?ab(F.group):H?ab(H.group,H.worktree):null,J=H?.worktree??null,K="NEW_WORKTREE"===h?C.map(({agentGroup:a,group:b})=>({value:b.codebase.id,label:`${b.repository.name} \xb7 ${a.agent.name}`,description:b.codebase.folder,keywords:`${b.repository.displayOrigin} ${a.agent.hostname}`})):D.map(({agentGroup:a,group:b,worktree:c})=>({value:c.id,label:c.branch??e("detachedBranch"),description:`${b.repository.name} \xb7 ${a.agent.name}`,secondaryDescription:c.folder,keywords:`${b.repository.displayOrigin} ${a.agent.hostname}`})),L=async(a,b=!1)=>{if(!I)throw Error(e("selectWorktreeDestination"));s(!0),x(null);try{let c="NEW_WORKTREE"===h,f=await (0,G.controlPlaneRequest)(c?"mutation CreateTicketWorktree($input: CreateWorktreeInput!) { createWorktree(input: $input) { id } }":"mutation ChangeTicketWorktree($input: ChangeWorktreeBranchInput!) { changeWorktreeBranch(input: $input) { id } }",{input:c?{codebaseId:I.codebaseId,selection:a,requestId:(0,v.createClientId)()}:{worktreeId:I.worktreeId,selection:a,requestId:(0,v.createClientId)(),stashOnFailure:b}}),g=c?f.createWorktree:f.changeWorktreeBranch;if(await _(g.id),z(null),u(null),c)return void d(!1);x(e("ticketBranchChanged")),await A()}finally{s(!1)}},M=async()=>{if(y)try{u(null),await L(y,!0)}catch(a){u(a instanceof Error?a.message:String(a))}};return(0,b.jsx)(O.Dialog,{onOpenChange:d,open:c,children:(0,b.jsxs)(O.DialogContent,{className:"max-h-[90vh] overflow-y-auto sm:max-w-2xl",children:[(0,b.jsxs)(O.DialogHeader,{children:[(0,b.jsx)(O.DialogTitle,{children:e("ticketWorktreeTitle",{issueKey:a})}),(0,b.jsx)(O.DialogDescription,{children:e("ticketWorktreeDescription")})]}),(0,b.jsx)(S.Tabs,{onValueChange:a=>{i(a),m(""),z(null),u(null),x(null)},value:h,children:(0,b.jsxs)(S.TabsList,{className:"grid w-full grid-cols-2",children:[(0,b.jsx)(S.TabsTrigger,{value:"NEW_WORKTREE",children:e("newWorktree")}),(0,b.jsx)(S.TabsTrigger,{value:"EXISTING_WORKTREE",children:e("existingWorktree")})]})}),t&&(0,b.jsx)(p.Alert,{variant:"destructive",children:(0,b.jsx)(p.AlertDescription,{children:t})}),w&&(0,b.jsx)(p.Alert,{children:(0,b.jsx)(p.AlertDescription,{children:w})}),n&&!f?(0,b.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,b.jsx)(R.Spinner,{})," ",e("loadingWorktreeDestinations")]}):(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",children:"NEW_WORKTREE"===h?e("agentAndCodebase"):e("existingWorktree")}),(0,b.jsx)(Q.SearchableSelect,{ariaLabel:e("selectWorktreeDestination"),disabled:r||0===K.length,emptyMessage:e("noWorktreeDestinations"),onValueChange:m,options:K,placeholder:e("selectWorktreeDestination"),searchPlaceholder:e("searchWorktreeDestinations"),showSelectedDetails:"EXISTING_WORKTREE"===h,value:E})]}),I?(0,b.jsx)($,{busy:r,fixedTicketKey:a,onSubmit:a=>L(a),onSubmitError:a=>{z("EXISTING_WORKTREE"===h&&J&&(J.hasStagedChanges||J.hasUnstagedChanges)?a:null)},recovery:y?(0,b.jsx)(p.Alert,{children:(0,b.jsxs)(p.AlertDescription,{className:"space-y-2",children:[(0,b.jsx)("p",{children:e("ticketStashRetryHelp")}),(0,b.jsxs)(q.Button,{disabled:r,onClick:()=>void M(),size:"sm",type:"button",variant:"outline",children:[r&&(0,b.jsx)(R.Spinner,{}),e("stashAndRetry")]})]})}):null,submitLabel:"NEW_WORKTREE"===h?e("createTicketWorktree"):e("createAndSwitchBranch"),target:I},`${h}:${E}:${a}`):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:K.length?e("chooseWorktreeDestination"):e("noWorktreeDestinations")})]})]})})}],492845)}];
|
|
77
77
|
|
|
78
78
|
//# sourceMappingURL=_0dvnys0._.js.map
|
|
@@ -51,15 +51,15 @@ ${d}`}).replace(/([*_]+)(\S.*?)\1/g,(a,b,c)=>{switch(b.length){case 1:return`_${
|
|
|
51
51
|
addJiraComment(issueKey: $issueKey, content: $content) {
|
|
52
52
|
${L}
|
|
53
53
|
}
|
|
54
|
-
}`,{issueKey:c.key,content:b});a(d.addJiraComment)}catch(a){throw h(a instanceof Error?a.message:String(a)),a}finally{f(!1)}};return(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsx)("h3",{className:"font-semibold",children:d("comments",{count:c.comments.length})}),0===c.comments.length?(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:d("noComments")}):(0,b.jsx)(N.ItemGroup,{className:"gap-3",children:c.comments.map(a=>(0,b.jsx)(N.Item,{asChild:!0,variant:"outline",children:(0,b.jsx)("article",{children:(0,b.jsx)(N.ItemContent,{className:"@container/comment basis-full",children:(0,b.jsx)(z,{compactActionsMenu:!0,content:a.content,controlsClassName:"contents @md/comment:flex @md/comment:flex-wrap @md/comment:items-center @md/comment:justify-end @md/comment:gap-1",header:(0,b.jsx)(N.ItemTitle,{children:(0,b.jsx)(E.JiraUser,{avatarUrl:a.author?.avatarUrl??null,name:a.author?.displayName??d("unknownUser")})}),headerActions:(0,b.jsx)(M.DateTime,{className:"col-start-1 row-start-2 -mt-1 mr-auto shrink-0 text-xs text-muted-foreground",value:a.createdAt}),headerClassName:"grid grid-cols-[minmax(0,1fr)_auto] grid-rows-[auto_auto] items-start gap-x-2 gap-y-0.5 border-b pb-2 @md/comment:flex @md/comment:flex-row @md/comment:items-center @md/comment:gap-2",showFormatOverride:!1,value:a.body,viewActionsClassName:"col-start-2 row-start-1 ml-auto @md/comment:ml-0"})})})},a.id))}),(0,b.jsx)("div",{className:"border-t pt-4",children:(0,b.jsx)(A,{busy:e,error:g,onSubmit:i,submitLabel:d("addComment")})})]})}],103810);var O=a.i(795225),P=a.i(870430),Q=a.i(578672),R=a.i(668684),S=a.i(875083),T=a.i(786304);let U="worktree-branch-mode",
|
|
54
|
+
}`,{issueKey:c.key,content:b});a(d.addJiraComment)}catch(a){throw h(a instanceof Error?a.message:String(a)),a}finally{f(!1)}};return(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsx)("h3",{className:"font-semibold",children:d("comments",{count:c.comments.length})}),0===c.comments.length?(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:d("noComments")}):(0,b.jsx)(N.ItemGroup,{className:"gap-3",children:c.comments.map(a=>(0,b.jsx)(N.Item,{asChild:!0,variant:"outline",children:(0,b.jsx)("article",{children:(0,b.jsx)(N.ItemContent,{className:"@container/comment basis-full",children:(0,b.jsx)(z,{compactActionsMenu:!0,content:a.content,controlsClassName:"contents @md/comment:flex @md/comment:flex-wrap @md/comment:items-center @md/comment:justify-end @md/comment:gap-1",header:(0,b.jsx)(N.ItemTitle,{children:(0,b.jsx)(E.JiraUser,{avatarUrl:a.author?.avatarUrl??null,name:a.author?.displayName??d("unknownUser")})}),headerActions:(0,b.jsx)(M.DateTime,{className:"col-start-1 row-start-2 -mt-1 mr-auto shrink-0 text-xs text-muted-foreground",value:a.createdAt}),headerClassName:"grid grid-cols-[minmax(0,1fr)_auto] grid-rows-[auto_auto] items-start gap-x-2 gap-y-0.5 border-b pb-2 @md/comment:flex @md/comment:flex-row @md/comment:items-center @md/comment:gap-2",showFormatOverride:!1,value:a.body,viewActionsClassName:"col-start-2 row-start-1 ml-auto @md/comment:ml-0"})})})},a.id))}),(0,b.jsx)("div",{className:"border-t pt-4",children:(0,b.jsx)(A,{busy:e,error:g,onSubmit:i,submitLabel:d("addComment")})})]})}],103810);var O=a.i(795225),P=a.i(870430),Q=a.i(578672),R=a.i(668684),S=a.i(875083),T=a.i(786304);let U=/^[A-Z][A-Z0-9_]*-\d+$/;function V(a){let b=a?.trim().toUpperCase()??"";return U.test(b)?b:null}function W(a){let b,c=V(a);if(c)return c;try{b=new URL(a.trim())}catch{return null}if("https:"!==b.protocol&&"http:"!==b.protocol)return null;let d=V(b.searchParams.get("selectedIssue"));if(d)return d;let e=b.pathname.split("/").filter(Boolean);for(let a=0;a<e.length-1;a+=1){if(!/^(browse|issues)$/i.test(e[a]))continue;let b=V(e[a+1]);if(b)return b}return null}let X="worktree-branch-mode",Y="worktree-branch-mode-changed";function Z(){if("u"<typeof document)return"NEW";let a=document.cookie.split("; ").find(a=>a.startsWith(`${X}=`))?.split("=")[1];return"EXISTING"===a||"TICKET"===a?a:"NEW"}function $({target:a,busy:c,submitLabel:d,onSubmit:e,onSubmitError:f,recovery:g,fixedTicketKey:h}){let i=(0,k.useTranslations)("worktrees"),j=(0,l.useId)(),[m,n]=function(){let[a,b]=(0,l.useState)(Z);return(0,l.useEffect)(()=>{let a=()=>b(Z());return window.addEventListener(Y,a),()=>window.removeEventListener(Y,a)},[]),[a,a=>{document.cookie=`${X}=${a}; Max-Age=31536000; Path=/; SameSite=Lax`,b(a),window.dispatchEvent(new Event(Y))}]}(),o=h?"TICKET":m,[r,s]=(0,l.useState)(""),[t,u]=(0,l.useState)(a.currentBranch??""),[v,w]=(0,l.useState)(a.currentBaseBranch??a.defaultBranch??""),[x,y]=(0,l.useState)(h??""),[z,A]=(0,l.useState)(null),[B,C]=(0,l.useState)(!1),[E,F]=(0,l.useState)(null),H=(0,l.useRef)(0);(0,l.useEffect)(()=>{let b=++H.current,c=W(x),d=window.setTimeout(async()=>{if("TICKET"!==o||!c)return void C(!1);C(!0);try{let d=await (0,G.controlPlaneRequest)(`query PreviewWorktreeTicketBranch($input: PreviewWorktreeTicketBranchInput!) {
|
|
55
55
|
previewWorktreeTicketBranch(input: $input) { ticketKey ticketTitle ticketType projectKey branchName }
|
|
56
|
-
}`,{input:{codebaseId:a.codebaseId,worktreeId:a.worktreeId??null,ticketKey:c}});if(b!==H.current)return;A(d.previewWorktreeTicketBranch)}catch(a){if(b!==H.current)return;F(a instanceof Error?a.message:String(a))}finally{b===H.current&&C(!1)}},400);return()=>window.clearTimeout(d)},[o,a.codebaseId,a.worktreeId,x]);let I=(0,l.useMemo)(()=>a.remoteBranches.map(b=>({value:b,label:b,description:b===a.defaultBranch?i("remoteDefault"):void 0})),[i,a.defaultBranch,a.remoteBranches]),J=(0,l.useMemo)(()=>{let b=new Set(a.localBranches),c=new Set(a.remoteBranches),d=new Set(a.unavailableBranches);return[...new Set([...b,...c])].filter(a=>!d.has(a)).sort((a,b)=>a.localeCompare(b)).map(a=>({value:a,label:a,description:b.has(a)&&c.has(a)?i("localAndOrigin"):b.has(a)?i("localBranch"):i("originBranch")}))},[i,a.localBranches,a.remoteBranches,a.unavailableBranches]),K=async a=>{a.preventDefault();let b={mode:o,baseBranch:v,..."NEW"===o?{branchName:r}:"EXISTING"===o?{branchName:t}:{ticketKey:x
|
|
56
|
+
}`,{input:{codebaseId:a.codebaseId,worktreeId:a.worktreeId??null,ticketKey:c}});if(b!==H.current)return;A(d.previewWorktreeTicketBranch)}catch(a){if(b!==H.current)return;F(a instanceof Error?a.message:String(a))}finally{b===H.current&&C(!1)}},400);return()=>window.clearTimeout(d)},[o,a.codebaseId,a.worktreeId,x]);let I=(0,l.useMemo)(()=>a.remoteBranches.map(b=>({value:b,label:b,description:b===a.defaultBranch?i("remoteDefault"):void 0})),[i,a.defaultBranch,a.remoteBranches]),J=(0,l.useMemo)(()=>{let b=new Set(a.localBranches),c=new Set(a.remoteBranches),d=new Set(a.unavailableBranches);return[...new Set([...b,...c])].filter(a=>!d.has(a)).sort((a,b)=>a.localeCompare(b)).map(a=>({value:a,label:a,description:b.has(a)&&c.has(a)?i("localAndOrigin"):b.has(a)?i("localBranch"):i("originBranch")}))},[i,a.localBranches,a.remoteBranches,a.unavailableBranches]),K=async a=>{a.preventDefault();let b={mode:o,baseBranch:v,..."NEW"===o?{branchName:r}:"EXISTING"===o?{branchName:t}:{ticketKey:W(x)}};try{F(null),await e(b)}catch(c){let a=c instanceof Error?c:Error(String(c));F(a.message),f?.(b,a)}},L=c||!v||"NEW"===o&&!r.trim()||"EXISTING"===o&&!t||"TICKET"===o&&(!z||B);return(0,b.jsxs)("form",{className:"space-y-4",onSubmit:a=>void K(a),children:[!h&&(0,b.jsx)(S.Tabs,{onValueChange:a=>{A(null),C(!1),F(null),n(a)},value:o,children:(0,b.jsxs)(S.TabsList,{className:"grid w-full grid-cols-3",children:[(0,b.jsx)(S.TabsTrigger,{value:"NEW",children:i("newBranch")}),(0,b.jsx)(S.TabsTrigger,{value:"EXISTING",children:i("existingBranch")}),(0,b.jsx)(S.TabsTrigger,{value:"TICKET",children:i("fromTicket")})]})}),"NEW"===o&&(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",htmlFor:`${j}-branch`,children:i("branchName")}),(0,b.jsx)(D.Input,{autoComplete:"off",id:`${j}-branch`,onChange:a=>s(a.target.value),placeholder:"feature/TICKET-123-ticket-title",value:r})]}),"EXISTING"===o&&(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",children:i("existingBranch")}),(0,b.jsx)(Q.SearchableSelect,{ariaLabel:i("existingBranch"),emptyMessage:i("noMatchingBranches"),onValueChange:u,options:J,placeholder:i("selectExistingBranch"),searchPlaceholder:i("searchBranches"),value:t})]}),"TICKET"===o&&(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",htmlFor:`${j}-ticket`,children:i("ticketKey")}),(0,b.jsx)(D.Input,{autoComplete:"off",id:`${j}-ticket`,onChange:a=>{y(a.target.value),A(null),C(!1),F(null)},placeholder:"TICKET-123",readOnly:!!h,value:x})]}),B&&(0,b.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,b.jsx)(R.Spinner,{})," ",i("loadingTicketBranch")]}),z&&(0,b.jsx)(N.Item,{variant:"muted",children:(0,b.jsxs)(N.ItemContent,{children:[(0,b.jsxs)(N.ItemTitle,{className:"w-full flex-wrap",children:[(0,b.jsx)("span",{children:z.ticketKey}),z.ticketType&&(0,b.jsx)(T.Badge,{variant:"secondary",children:z.ticketType})]}),(0,b.jsx)(N.ItemDescription,{children:z.ticketTitle}),(0,b.jsx)(N.ItemDescription,{className:"break-all font-mono text-xs text-foreground",children:z.branchName})]})})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",children:i("baseBranch")}),(0,b.jsx)(Q.SearchableSelect,{ariaLabel:i("baseBranch"),emptyMessage:i("noMatchingBranches"),onValueChange:w,options:I,placeholder:i("selectBaseBranch"),searchPlaceholder:i("searchBranches"),value:v})]}),E&&(0,b.jsx)(p.Alert,{variant:"destructive",children:(0,b.jsx)(p.AlertDescription,{children:E})}),g,(0,b.jsx)("div",{className:"flex justify-end",children:(0,b.jsxs)(q.Button,{disabled:L,type:"submit",children:[c&&(0,b.jsx)(R.Spinner,{}),d]})})]})}async function _(a){let b=Date.now()+6e5;for(;Date.now()<b;){await new Promise(a=>window.setTimeout(a,750));let b=(await (0,G.controlPlaneRequest)("query WorktreeJob($id: ID!) { agentJob(id: $id) { status error } }",{id:a})).agentJob;if(!(!b||["QUEUED","RUNNING"].includes(b.status))){if("SUCCEEDED"!==b.status)throw Error(b.error||`Worktree operation ${b.status.toLowerCase()}`);return}}throw Error("Worktree operation is still running; check the agent job history")}async function aa(a){let b=Date.now()+12e5;for(;Date.now()<b;){await new Promise(a=>window.setTimeout(a,750));let b=(await (0,G.controlPlaneRequest)(`query WorktreeMove($id: ID!) {
|
|
57
57
|
worktreeMove(id: $id) {
|
|
58
58
|
id sourceWorktreeId sourceCodebaseId targetCodebaseId targetWorktreeId destinationMode
|
|
59
59
|
branch headSha deleteSource status sourceJobId targetJobId cleanupJobId error warning
|
|
60
60
|
createdAt updatedAt finishedAt
|
|
61
61
|
}
|
|
62
|
-
}`,{id:a})).worktreeMove;if(!b)throw Error("Worktree move disappeared");if(!["PUSHING","CHECKING_OUT","CLEANING_UP"].includes(b.status))return b}throw Error("Worktree move is still running; it will continue in the background")}function
|
|
62
|
+
}`,{id:a})).worktreeMove;if(!b)throw Error("Worktree move disappeared");if(!["PUSHING","CHECKING_OUT","CLEANING_UP"].includes(b.status))return b}throw Error("Worktree move is still running; it will continue in the background")}function ab(a,b){return{codebaseId:a.codebase.id,...b?{worktreeId:b.id}:{},defaultBranch:a.codebase.defaultBranch,currentBranch:b?.branch,currentBaseBranch:b?.baseBranch,localBranches:a.codebase.localBranches,remoteBranches:a.codebase.remoteBranches,unavailableBranches:a.worktrees.flatMap(a=>a.branch&&a.id!==b?.id?[a.branch]:[])}}a.s(["WorktreeBranchForm",0,$],830976),a.s(["waitForWorktreeJob",0,_,"waitForWorktreeMove",0,aa],971734),a.s(["TicketWorktreeDialog",0,function({issueKey:a,open:c,onOpenChange:d}){let e=(0,k.useTranslations)("jiraTickets"),[f,g]=(0,l.useState)(null),[h,i]=(0,l.useState)("NEW_WORKTREE"),[j,m]=(0,l.useState)(""),[n,o]=(0,l.useState)(!1),[r,s]=(0,l.useState)(!1),[t,u]=(0,l.useState)(null),[w,x]=(0,l.useState)(null),[y,z]=(0,l.useState)(null),A=(0,l.useCallback)(async()=>{o(!0);try{let a=await (0,G.controlPlaneRequest)(`query TicketWorktreeDestinations {
|
|
63
63
|
worktreeOverview {
|
|
64
64
|
agents {
|
|
65
65
|
agent { id name hostname connectionStatus capabilities }
|
|
@@ -73,6 +73,6 @@ ${d}`}).replace(/([*_]+)(\S.*?)\1/g,(a,b,c)=>{switch(b.length){case 1:return`_${
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
}`);g(a.worktreeOverview),u(null)}catch(a){u(a instanceof Error?a.message:String(a))}finally{o(!1)}},[]);(0,l.useEffect)(()=>{if(!c)return;let a=window.setTimeout(()=>void A(),0);return()=>window.clearTimeout(a)},[A,c]);let B=(0,l.useMemo)(()=>f?.agents.flatMap(a=>a.codebases.flatMap(b=>"ONLINE"===a.agent.connectionStatus&&a.agent.capabilities.includes("worktree.branch")&&"AVAILABLE"===b.codebase.availability?[{agentGroup:a,group:b}]:[]))??[],[f]),C=B.filter(({group:a})=>!a.worktrees.some(a=>a.activeJob)),D=B.flatMap(({agentGroup:a,group:b})=>b.worktrees.flatMap(c=>"AVAILABLE"!==c.availability||c.activeJob?[]:[{agentGroup:a,group:b,worktree:c}])),E="NEW_WORKTREE"===h?C.some(a=>a.group.codebase.id===j)?j:1===C.length?C[0].group.codebase.id:"":D.some(a=>a.worktree.id===j)?j:1===D.length?D[0].worktree.id:"",F=C.find(a=>a.group.codebase.id===E),H=D.find(a=>a.worktree.id===E),I=F
|
|
76
|
+
}`);g(a.worktreeOverview),u(null)}catch(a){u(a instanceof Error?a.message:String(a))}finally{o(!1)}},[]);(0,l.useEffect)(()=>{if(!c)return;let a=window.setTimeout(()=>void A(),0);return()=>window.clearTimeout(a)},[A,c]);let B=(0,l.useMemo)(()=>f?.agents.flatMap(a=>a.codebases.flatMap(b=>"ONLINE"===a.agent.connectionStatus&&a.agent.capabilities.includes("worktree.branch")&&"AVAILABLE"===b.codebase.availability?[{agentGroup:a,group:b}]:[]))??[],[f]),C=B.filter(({group:a})=>!a.worktrees.some(a=>a.activeJob)),D=B.flatMap(({agentGroup:a,group:b})=>b.worktrees.flatMap(c=>"AVAILABLE"!==c.availability||c.activeJob?[]:[{agentGroup:a,group:b,worktree:c}])),E="NEW_WORKTREE"===h?C.some(a=>a.group.codebase.id===j)?j:1===C.length?C[0].group.codebase.id:"":D.some(a=>a.worktree.id===j)?j:1===D.length?D[0].worktree.id:"",F=C.find(a=>a.group.codebase.id===E),H=D.find(a=>a.worktree.id===E),I=F?ab(F.group):H?ab(H.group,H.worktree):null,J=H?.worktree??null,K="NEW_WORKTREE"===h?C.map(({agentGroup:a,group:b})=>({value:b.codebase.id,label:`${b.repository.name} \xb7 ${a.agent.name}`,description:b.codebase.folder,keywords:`${b.repository.displayOrigin} ${a.agent.hostname}`})):D.map(({agentGroup:a,group:b,worktree:c})=>({value:c.id,label:c.branch??e("detachedBranch"),description:`${b.repository.name} \xb7 ${a.agent.name}`,secondaryDescription:c.folder,keywords:`${b.repository.displayOrigin} ${a.agent.hostname}`})),L=async(a,b=!1)=>{if(!I)throw Error(e("selectWorktreeDestination"));s(!0),x(null);try{let c="NEW_WORKTREE"===h,f=await (0,G.controlPlaneRequest)(c?"mutation CreateTicketWorktree($input: CreateWorktreeInput!) { createWorktree(input: $input) { id } }":"mutation ChangeTicketWorktree($input: ChangeWorktreeBranchInput!) { changeWorktreeBranch(input: $input) { id } }",{input:c?{codebaseId:I.codebaseId,selection:a,requestId:(0,v.createClientId)()}:{worktreeId:I.worktreeId,selection:a,requestId:(0,v.createClientId)(),stashOnFailure:b}}),g=c?f.createWorktree:f.changeWorktreeBranch;if(await _(g.id),z(null),u(null),c)return void d(!1);x(e("ticketBranchChanged")),await A()}finally{s(!1)}},M=async()=>{if(y)try{u(null),await L(y,!0)}catch(a){u(a instanceof Error?a.message:String(a))}};return(0,b.jsx)(O.Dialog,{onOpenChange:d,open:c,children:(0,b.jsxs)(O.DialogContent,{className:"max-h-[90vh] overflow-y-auto sm:max-w-2xl",children:[(0,b.jsxs)(O.DialogHeader,{children:[(0,b.jsx)(O.DialogTitle,{children:e("ticketWorktreeTitle",{issueKey:a})}),(0,b.jsx)(O.DialogDescription,{children:e("ticketWorktreeDescription")})]}),(0,b.jsx)(S.Tabs,{onValueChange:a=>{i(a),m(""),z(null),u(null),x(null)},value:h,children:(0,b.jsxs)(S.TabsList,{className:"grid w-full grid-cols-2",children:[(0,b.jsx)(S.TabsTrigger,{value:"NEW_WORKTREE",children:e("newWorktree")}),(0,b.jsx)(S.TabsTrigger,{value:"EXISTING_WORKTREE",children:e("existingWorktree")})]})}),t&&(0,b.jsx)(p.Alert,{variant:"destructive",children:(0,b.jsx)(p.AlertDescription,{children:t})}),w&&(0,b.jsx)(p.Alert,{children:(0,b.jsx)(p.AlertDescription,{children:w})}),n&&!f?(0,b.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,b.jsx)(R.Spinner,{})," ",e("loadingWorktreeDestinations")]}):(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(P.Label,{className:"mb-1.5 block",children:"NEW_WORKTREE"===h?e("agentAndCodebase"):e("existingWorktree")}),(0,b.jsx)(Q.SearchableSelect,{ariaLabel:e("selectWorktreeDestination"),disabled:r||0===K.length,emptyMessage:e("noWorktreeDestinations"),onValueChange:m,options:K,placeholder:e("selectWorktreeDestination"),searchPlaceholder:e("searchWorktreeDestinations"),showSelectedDetails:"EXISTING_WORKTREE"===h,value:E})]}),I?(0,b.jsx)($,{busy:r,fixedTicketKey:a,onSubmit:a=>L(a),onSubmitError:a=>{z("EXISTING_WORKTREE"===h&&J&&(J.hasStagedChanges||J.hasUnstagedChanges)?a:null)},recovery:y?(0,b.jsx)(p.Alert,{children:(0,b.jsxs)(p.AlertDescription,{className:"space-y-2",children:[(0,b.jsx)("p",{children:e("ticketStashRetryHelp")}),(0,b.jsxs)(q.Button,{disabled:r,onClick:()=>void M(),size:"sm",type:"button",variant:"outline",children:[r&&(0,b.jsx)(R.Spinner,{}),e("stashAndRetry")]})]})}):null,submitLabel:"NEW_WORKTREE"===h?e("createTicketWorktree"):e("createAndSwitchBranch"),target:I},`${h}:${E}:${a}`):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:K.length?e("chooseWorktreeDestination"):e("noWorktreeDestinations")})]})]})})}],492845)}];
|
|
77
77
|
|
|
78
78
|
//# sourceMappingURL=_0k5jx04._.js.map
|