orcasynth 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/server.js +51 -18
- package/dist/cli/launcher.js +9 -1
- package/dist/cli/menu.js +15 -2
- package/package.json +1 -1
- package/web-dist/.next/BUILD_ID +1 -1
- package/web-dist/.next/build-manifest.json +3 -3
- package/web-dist/.next/server/app/_global-error.html +1 -1
- package/web-dist/.next/server/app/_global-error.rsc +1 -1
- package/web-dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web-dist/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web-dist/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web-dist/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web-dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web-dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/_not-found.html +1 -1
- package/web-dist/.next/server/app/_not-found.rsc +11 -11
- package/web-dist/.next/server/app/_not-found.segments/_full.segment.rsc +11 -11
- package/web-dist/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/_not-found.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/web-dist/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/web-dist/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/account/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/account.html +1 -1
- package/web-dist/.next/server/app/account.rsc +13 -13
- package/web-dist/.next/server/app/account.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/account.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/account.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/account.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/account.segments/account/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/account.segments/account.segment.rsc +3 -3
- package/web-dist/.next/server/app/dash/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/dash.html +1 -1
- package/web-dist/.next/server/app/dash.rsc +13 -13
- package/web-dist/.next/server/app/dash.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/dash.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/dash.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/dash.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/dash.segments/dash/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/dash.segments/dash.segment.rsc +3 -3
- package/web-dist/.next/server/app/escalations/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/escalations.html +1 -1
- package/web-dist/.next/server/app/escalations.rsc +13 -13
- package/web-dist/.next/server/app/escalations.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/escalations.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/escalations.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/escalations.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/escalations.segments/escalations/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/escalations.segments/escalations.segment.rsc +3 -3
- package/web-dist/.next/server/app/index.html +1 -1
- package/web-dist/.next/server/app/index.rsc +13 -13
- package/web-dist/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/index.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/index.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/kanban/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/kanban.html +1 -1
- package/web-dist/.next/server/app/kanban.rsc +13 -13
- package/web-dist/.next/server/app/kanban.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/kanban.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/kanban.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/kanban.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/kanban.segments/kanban/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/kanban.segments/kanban.segment.rsc +3 -3
- package/web-dist/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/onboarding.html +1 -1
- package/web-dist/.next/server/app/onboarding.rsc +13 -13
- package/web-dist/.next/server/app/onboarding.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/onboarding.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/onboarding.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/onboarding.segments/onboarding.segment.rsc +3 -3
- package/web-dist/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/projects.html +1 -1
- package/web-dist/.next/server/app/projects.rsc +13 -13
- package/web-dist/.next/server/app/projects.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/projects.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/projects.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/projects.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/projects.segments/projects.segment.rsc +3 -3
- package/web-dist/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/sessions.html +1 -1
- package/web-dist/.next/server/app/sessions.rsc +13 -13
- package/web-dist/.next/server/app/sessions.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/sessions.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/sessions.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/sessions.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/sessions.segments/sessions/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/sessions.segments/sessions.segment.rsc +3 -3
- package/web-dist/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/settings.html +1 -1
- package/web-dist/.next/server/app/settings.rsc +13 -13
- package/web-dist/.next/server/app/settings.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/settings.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/settings.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/settings.segments/settings.segment.rsc +3 -3
- package/web-dist/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/tasks.html +1 -1
- package/web-dist/.next/server/app/tasks.rsc +13 -13
- package/web-dist/.next/server/app/tasks.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/tasks.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/tasks.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/tasks.segments/tasks.segment.rsc +3 -3
- package/web-dist/.next/server/app/timeline/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/timeline.html +1 -1
- package/web-dist/.next/server/app/timeline.rsc +13 -13
- package/web-dist/.next/server/app/timeline.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/timeline.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/timeline.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/timeline.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/timeline.segments/timeline/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/timeline.segments/timeline.segment.rsc +3 -3
- package/web-dist/.next/server/app/users/page_client-reference-manifest.js +1 -1
- package/web-dist/.next/server/app/users.html +1 -1
- package/web-dist/.next/server/app/users.rsc +13 -13
- package/web-dist/.next/server/app/users.segments/_full.segment.rsc +13 -13
- package/web-dist/.next/server/app/users.segments/_head.segment.rsc +4 -4
- package/web-dist/.next/server/app/users.segments/_index.segment.rsc +6 -6
- package/web-dist/.next/server/app/users.segments/_tree.segment.rsc +2 -2
- package/web-dist/.next/server/app/users.segments/users/__PAGE__.segment.rsc +4 -4
- package/web-dist/.next/server/app/users.segments/users.segment.rsc +3 -3
- package/web-dist/.next/server/chunks/ssr/_057a06r._.js +1 -1
- package/web-dist/.next/server/chunks/ssr/_09x5h4x._.js +1 -1
- package/web-dist/.next/server/chunks/ssr/_0tzourm._.js +1 -1
- package/web-dist/.next/server/chunks/ssr/components_shell_Shell_tsx_1e5c27h._.js +1 -1
- package/web-dist/.next/server/middleware-build-manifest.js +3 -3
- package/web-dist/.next/server/pages/404.html +1 -1
- package/web-dist/.next/server/pages/500.html +1 -1
- package/web-dist/.next/static/chunks/{3bdts7sstygr0.css → 0x8sf96sz490-.css} +1 -1
- package/web-dist/.next/static/chunks/{2-j0lduvppz4v.js → 0xgdqczv5tvu5.js} +1 -1
- package/web-dist/.next/static/chunks/{16rotf1pkrqyn.js → 218i8jnxp91u8.js} +1 -1
- package/web-dist/.next/static/chunks/{0_5u1_tmtxso3.js → 2ki5va2_5l6d6.js} +1 -1
- package/web-dist/.next/static/chunks/3ssnuxdh0r51g.js +1 -0
- package/web-dist/.next/static/chunks/2m810vyp96um0.js +0 -1
- /package/web-dist/.next/static/{CxOYTELv4rEqlUTUze_od → qtJrbMvehxNiblgQJOzhz}/_buildManifest.js +0 -0
- /package/web-dist/.next/static/{CxOYTELv4rEqlUTUze_od → qtJrbMvehxNiblgQJOzhz}/_clientMiddlewareManifest.js +0 -0
- /package/web-dist/.next/static/{CxOYTELv4rEqlUTUze_od → qtJrbMvehxNiblgQJOzhz}/_ssgManifest.js +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[22833,["/_next/static/chunks/
|
|
3
|
-
3:I[39756,["/_next/static/chunks/
|
|
4
|
-
4:I[98168,["/_next/static/chunks/
|
|
5
|
-
5:I[37457,["/_next/static/chunks/
|
|
6
|
-
6:I[47257,["/_next/static/chunks/
|
|
7
|
-
7:I[34965,["/_next/static/chunks/
|
|
8
|
-
a:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[22833,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"Shell"]
|
|
3
|
+
3:I[39756,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"default"]
|
|
4
|
+
4:I[98168,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js","/_next/static/chunks/013bf3uuupmww.js"],"default"]
|
|
5
|
+
5:I[37457,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"default"]
|
|
6
|
+
6:I[47257,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"ClientPageRoot"]
|
|
7
|
+
7:I[34965,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js","/_next/static/chunks/3wo9m5v__3pi2.js"],"default"]
|
|
8
|
+
a:I[97367,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"OutletBoundary"]
|
|
9
9
|
b:"$Sreact.suspense"
|
|
10
|
-
e:I[97367,["/_next/static/chunks/
|
|
11
|
-
10:I[97367,["/_next/static/chunks/
|
|
12
|
-
12:I[68027,["/_next/static/chunks/
|
|
13
|
-
:HL["/_next/static/chunks/
|
|
10
|
+
e:I[97367,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"ViewportBoundary"]
|
|
11
|
+
10:I[97367,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"MetadataBoundary"]
|
|
12
|
+
12:I[68027,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"default",1]
|
|
13
|
+
:HL["/_next/static/chunks/0x8sf96sz490-.css","style"]
|
|
14
14
|
:HL["/_next/static/media/GeistMono_Variable.p.3ms9vq719j3f8.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
15
|
-
0:{"P":null,"c":["","users"],"q":"","i":false,"f":[[["",{"children":["users",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
15
|
+
0:{"P":null,"c":["","users"],"q":"","i":false,"f":[[["",{"children":["users",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0x8sf96sz490-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0xgdqczv5tvu5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/218i8jnxp91u8.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/3ssnuxdh0r51g.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0c179dg4znere.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geistmono_157ca88a-module__iaM1Ya__variable","suppressHydrationWarning":true,"children":["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{"children":["$","$L5",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/013bf3uuupmww.js","async":true}]],"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,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3wo9m5v__3pi2.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,"$@d"]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L11"}]}]}],null]}],false]],"m":"$undefined","G":["$12",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0x8sf96sz490-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"qtJrbMvehxNiblgQJOzhz"}
|
|
16
16
|
13:[]
|
|
17
17
|
d:"$W13"
|
|
18
18
|
8:{}
|
|
19
19
|
9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
20
20
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
21
|
-
14:I[27201,["/_next/static/chunks/
|
|
21
|
+
14:I[27201,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"IconMark"]
|
|
22
22
|
c:null
|
|
23
23
|
11:[["$","title","0",{"children":"Orca"}],["$","link","1",{"rel":"icon","href":"/icon.png?icon.0gfvm0_kk3zds.png","sizes":"256x256","type":"image/png"}],["$","$L14","2",{}]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[97367,["/_next/static/chunks/
|
|
3
|
-
3:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[97367,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"ViewportBoundary"]
|
|
3
|
+
3:I[97367,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
|
-
5:I[27201,["/_next/static/chunks/
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[null,["$","$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":[["$","title","0",{"children":"Orca"}],["$","link","1",{"rel":"icon","href":"/icon.png?icon.0gfvm0_kk3zds.png","sizes":"256x256","type":"image/png"}],["$","$L5","2",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
5
|
+
5:I[27201,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"IconMark"]
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[null,["$","$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":[["$","title","0",{"children":"Orca"}],["$","link","1",{"rel":"icon","href":"/icon.png?icon.0gfvm0_kk3zds.png","sizes":"256x256","type":"image/png"}],["$","$L5","2",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"qtJrbMvehxNiblgQJOzhz"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[22833,["/_next/static/chunks/
|
|
3
|
-
3:I[39756,["/_next/static/chunks/
|
|
4
|
-
4:I[98168,["/_next/static/chunks/
|
|
5
|
-
5:I[37457,["/_next/static/chunks/
|
|
6
|
-
:HL["/_next/static/chunks/
|
|
7
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
2
|
+
2:I[22833,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"Shell"]
|
|
3
|
+
3:I[39756,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"default"]
|
|
4
|
+
4:I[98168,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js","/_next/static/chunks/013bf3uuupmww.js"],"default"]
|
|
5
|
+
5:I[37457,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"default"]
|
|
6
|
+
:HL["/_next/static/chunks/0x8sf96sz490-.css","style"]
|
|
7
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0x8sf96sz490-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0xgdqczv5tvu5.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/218i8jnxp91u8.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/3ssnuxdh0r51g.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0c179dg4znere.js","async":true}]],["$","html",null,{"lang":"en","className":"geistmono_157ca88a-module__iaM1Ya__variable","suppressHydrationWarning":true,"children":["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{"children":["$","$L5",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/013bf3uuupmww.js","async":true}]],"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":"qtJrbMvehxNiblgQJOzhz"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
:HL["/_next/static/chunks/
|
|
1
|
+
:HL["/_next/static/chunks/0x8sf96sz490-.css","style"]
|
|
2
2
|
:HL["/_next/static/media/GeistMono_Variable.p.3ms9vq719j3f8.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
3
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"users","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
3
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"users","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"qtJrbMvehxNiblgQJOzhz"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[47257,["/_next/static/chunks/
|
|
3
|
-
3:I[34965,["/_next/static/chunks/
|
|
4
|
-
6:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[47257,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"ClientPageRoot"]
|
|
3
|
+
3:I[34965,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js","/_next/static/chunks/3wo9m5v__3pi2.js"],"default"]
|
|
4
|
+
6:I[97367,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
|
-
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3wo9m5v__3pi2.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3wo9m5v__3pi2.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"qtJrbMvehxNiblgQJOzhz"}
|
|
7
7
|
4:{}
|
|
8
8
|
5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
9
9
|
8:null
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[39756,["/_next/static/chunks/
|
|
3
|
-
3:I[37457,["/_next/static/chunks/
|
|
2
|
+
2:I[39756,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.js"],"default"]
|
|
3
|
+
3:I[37457,["/_next/static/chunks/0xgdqczv5tvu5.js","/_next/static/chunks/218i8jnxp91u8.js","/_next/static/chunks/3ssnuxdh0r51g.js","/_next/static/chunks/0c179dg4znere.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":"qtJrbMvehxNiblgQJOzhz"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[12794,a=>{"use strict";var b=a.i(18544),c=a.i(85659),d=a.i(21778),e=class extends c.Removable{#a;#b;#c;#d;constructor(a){super(),this.#a=a.client,this.mutationId=a.mutationId,this.#c=a.mutationCache,this.#b=[],this.state=a.state||f(),this.setOptions(a.options),this.scheduleGc()}setOptions(a){this.options=a,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(a){this.#b.includes(a)||(this.#b.push(a),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){this.#b=this.#b.filter(b=>b!==a),this.scheduleGc(),this.#c.notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){this.#b.length||("pending"===this.state.status?this.scheduleGc():this.#c.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(a){let b=()=>{this.#e({type:"continue"})},c={client:this.#a,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#d=(0,d.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(a,c):Promise.reject(Error("No mutationFn found")),onFail:(a,b)=>{this.#e({type:"failed",failureCount:a,error:b})},onPause:()=>{this.#e({type:"pause"})},onContinue:b,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#c.canRun(this)});let e="pending"===this.state.status,f=!this.#d.canStart();try{if(e)b();else{this.#e({type:"pending",variables:a,isPaused:f}),this.#c.config.onMutate&&await this.#c.config.onMutate(a,this,c);let b=await this.options.onMutate?.(a,c);b!==this.state.context&&this.#e({type:"pending",context:b,variables:a,isPaused:f})}let d=await this.#d.start();return await this.#c.config.onSuccess?.(d,a,this.state.context,this,c),await this.options.onSuccess?.(d,a,this.state.context,c),await this.#c.config.onSettled?.(d,null,this.state.variables,this.state.context,this,c),await this.options.onSettled?.(d,null,a,this.state.context,c),this.#e({type:"success",data:d}),d}catch(b){try{await this.#c.config.onError?.(b,a,this.state.context,this,c)}catch(a){Promise.reject(a)}try{await this.options.onError?.(b,a,this.state.context,c)}catch(a){Promise.reject(a)}try{await this.#c.config.onSettled?.(void 0,b,this.state.variables,this.state.context,this,c)}catch(a){Promise.reject(a)}try{await this.options.onSettled?.(void 0,b,a,this.state.context,c)}catch(a){Promise.reject(a)}throw this.#e({type:"error",error:b}),b}finally{this.#c.runNext(this)}}#e(a){this.state=(b=>{switch(a.type){case"failed":return{...b,failureCount:a.failureCount,failureReason:a.error};case"pause":return{...b,isPaused:!0};case"continue":return{...b,isPaused:!1};case"pending":return{...b,context:a.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:a.isPaused,status:"pending",variables:a.variables,submittedAt:Date.now()};case"success":return{...b,data:a.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...b,data:void 0,error:a.error,failureCount:b.failureCount+1,failureReason:a.error,isPaused:!1,status:"error"}}})(this.state),b.notifyManager.batch(()=>{this.#b.forEach(b=>{b.onMutationUpdate(a)}),this.#c.notify({mutation:this,type:"updated",action:a})})}};function f(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}a.s(["Mutation",0,e,"getDefaultState",0,f])},67453,a=>{"use strict";let b=(0,a.i(70106).default)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["CheckCircle2",0,b],67453)},92e3,a=>{"use strict";let b=(0,a.i(70106).default)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);a.s(["AlertCircle",0,b],92e3)},33508,a=>{"use strict";let b=(0,a.i(70106).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",0,b],33508)},89697,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(67453),e=a.i(92e3),f=a.i(33508);a.i(28130);var g=a.i(29457);let h=(0,c.createContext)(null),i=0;function j({item:a,meta:d,dismissLabel:e,onDismiss:g}){let{Icon:h,color:i,title:k}=d,[l,m]=(0,c.useState)(100),n=(0,c.useRef)(!1);return(0,c.useEffect)(()=>{let a=0,b=performance.now(),c=requestAnimationFrame(function d(e){(n.current||(a+=e-b),b=e,m(Math.max(0,100-a/4500*100)),a>=4500)?g():c=requestAnimationFrame(d)});return()=>cancelAnimationFrame(c)},[g]),(0,b.jsxs)("div",{role:"status",onMouseEnter:()=>{n.current=!0},onMouseLeave:()=>{n.current=!1},className:"pointer-events-auto relative flex items-start gap-3 overflow-hidden rounded-lg border border-border bg-surface py-3 pl-4 pr-3",style:{boxShadow:"var(--shadow-raised)",borderLeft:`3px solid ${i}`,animation:"toast-in 200ms var(--ease-out)"},children:[(0,b.jsx)(h,{size:20,"aria-hidden":!0,className:"mt-px shrink-0",style:{color:i}}),(0,b.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,b.jsx)("div",{className:"text-sm font-semibold text-text",children:k}),(0,b.jsx)("div",{className:"mt-0.5 break-words text-sm leading-snug text-text-muted",children:a.message})]}),(0,b.jsx)("button",{type:"button","aria-label":e,onClick:g,className:"-mr-1 -mt-1 flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-text-muted transition-colors hover:bg-elevated hover:text-text",children:(0,b.jsx)(f.X,{size:15,"aria-hidden":!0})}),(0,b.jsx)("span",{className:"absolute bottom-0 left-0 h-0.5",style:{width:`${l}%`,backgroundColor:i,opacity:.5},"aria-hidden":!0})]})}a.s(["ToastProvider",0,function({children:a}){let{t:f}=(0,g.useTranslation)(),k={ok:{Icon:d.CheckCircle2,color:"var(--color-success)",title:f.common.success},error:{Icon:e.AlertCircle,color:"var(--color-danger)",title:f.common.error}},[l,m]=(0,c.useState)([]),n=(0,c.useCallback)(a=>m(b=>b.filter(b=>b.id!==a)),[]),o=(0,c.useCallback)((a,b="ok")=>{let c=i++;m(d=>[...d,{id:c,message:a,tone:b}])},[]),p=(0,c.useMemo)(()=>({toast:o}),[o]);return(0,b.jsxs)(h.Provider,{value:p,children:[a,(0,b.jsx)("div",{className:"pointer-events-none fixed bottom-5 right-5 z-50 flex w-[22rem] max-w-[calc(100vw-2.5rem)] flex-col gap-2.5",children:l.map(a=>(0,b.jsx)(j,{item:a,meta:k[a.tone],dismissLabel:f.common.dismiss,onDismiss:()=>n(a.id)},a.id))})]})},"useToast",0,function(){let a=(0,c.useContext)(h);if(!a)throw Error("useToast must be used within ToastProvider");return a}])},18517,a=>{"use strict";var b=a.i(72131),c=a.i(12794),d=a.i(18544),e=a.i(33791),f=a.i(42871),g=class extends e.Subscribable{#a;#f=void 0;#g;#h;constructor(a,b){super(),this.#a=a,this.setOptions(b),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(a){let b=this.options;this.options=this.#a.defaultMutationOptions(a),(0,f.shallowEqualObjects)(this.options,b)||this.#a.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#g,observer:this}),b?.mutationKey&&this.options.mutationKey&&(0,f.hashKey)(b.mutationKey)!==(0,f.hashKey)(this.options.mutationKey)?this.reset():this.#g?.state.status==="pending"&&this.#g.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#g?.removeObserver(this)}onMutationUpdate(a){this.#i(),this.#j(a)}getCurrentResult(){return this.#f}reset(){this.#g?.removeObserver(this),this.#g=void 0,this.#i(),this.#j()}mutate(a,b){return this.#h=b,this.#g?.removeObserver(this),this.#g=this.#a.getMutationCache().build(this.#a,this.options),this.#g.addObserver(this),this.#g.execute(a)}#i(){let a=this.#g?.state??(0,c.getDefaultState)();this.#f={...a,isPending:"pending"===a.status,isSuccess:"success"===a.status,isError:"error"===a.status,isIdle:"idle"===a.status,mutate:this.mutate,reset:this.reset}}#j(a){d.notifyManager.batch(()=>{if(this.#h&&this.hasListeners()){let b=this.#f.variables,c=this.#f.context,d={client:this.#a,meta:this.options.meta,mutationKey:this.options.mutationKey};if(a?.type==="success"){try{this.#h.onSuccess?.(a.data,b,c,d)}catch(a){Promise.reject(a)}try{this.#h.onSettled?.(a.data,null,b,c,d)}catch(a){Promise.reject(a)}}else if(a?.type==="error"){try{this.#h.onError?.(a.error,b,c,d)}catch(a){Promise.reject(a)}try{this.#h.onSettled?.(void 0,a.error,b,c,d)}catch(a){Promise.reject(a)}}}this.listeners.forEach(a=>{a(this.#f)})})}},h=a.i(37927);function i(a,c){let e=(0,h.useQueryClient)(c),[i]=b.useState(()=>new g(e,a));b.useEffect(()=>{i.setOptions(a)},[i,a]);let j=b.useSyncExternalStore(b.useCallback(a=>i.subscribe(d.notifyManager.batchCalls(a)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),k=b.useCallback((a,b)=>{i.mutate(a,b).catch(f.noop)},[i]);if(j.error&&(0,f.shouldThrowError)(i.options.throwOnError,[j.error]))throw j.error;return{...j,mutate:k,mutateAsync:j.mutate}}var j=a.i(82717),k=a.i(76645);function l(a,b){a.invalidateQueries({queryKey:["project-files",b]}),a.invalidateQueries({queryKey:["project-git",b]}),a.invalidateQueries({queryKey:["project-changed",b]})}a.s(["useAssignProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>a.currentlyAssigned?j.orcaClient.unassignProject(a.userId,a.projectId):j.orcaClient.assignProject(a.userId,a.projectId),onSuccess:(b,c)=>a.invalidateQueries({queryKey:["user-projects",c.userId]})})},"useChangePassword",0,function(){return i({mutationFn:a=>j.orcaClient.changePassword(a.currentPassword,a.newPassword)})},"useCleanupAll",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:()=>j.orcaClient.cleanupAll(),onSuccess:()=>a.invalidateQueries()})},"useCloseTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.closeTask(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useCopyProjectEntry",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.copyProjectEntry(a.id,a.from,a.to),onSuccess:(b,c)=>l(a,c.id)})},"useCreateProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.createProject(a),onSuccess:()=>a.invalidateQueries({queryKey:["projects"]})})},"useCreateTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.createTask(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useCreateUser",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.createUser(a.username,a.password),onSuccess:()=>a.invalidateQueries({queryKey:["users"]})})},"useDeleteMission",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteMission(a),onSuccess:()=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:k.QUERY_KEYS.missions}),a.invalidateQueries({queryKey:["mission"]})}})},"useDeleteProjectEntry",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteProjectEntry(a.id,a.path),onSuccess:(b,c)=>l(a,c.id)})},"useDeleteTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteTask(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useDeleteUser",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteUser(a),onSuccess:()=>a.invalidateQueries({queryKey:["users"]})})},"useDisengage",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.disengageMission(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"useEngage",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.engage(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"useHermesInstall",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.hermesInstall(a),onSuccess:(b,c)=>{a.invalidateQueries({queryKey:c.home?["hermes-status",c.home]:["hermes-status"]})}})},"useInsertPhases",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.insertPhases(a.epicId,a.body),onSuccess:(b,c)=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:["mission",c.epicId]}),a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})}})},"useKillSession",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.killSession(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.sessions})})},"useLogin",0,function(){return i({mutationFn:a=>j.orcaClient.login(a.username,a.password)})},"useLogout",0,function(){return i({mutationFn:()=>j.orcaClient.logout()})},"useNewProjectDir",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.newProjectDir(a.id,a.path),onSuccess:(b,c)=>l(a,c.id)})},"useNewProjectFile",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.newProjectFile(a.id,a.path),onSuccess:(b,c)=>l(a,c.id)})},"usePauseMission",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.pauseMission(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"usePlanTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.planTask(a),onSuccess:()=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})}})},"useRemoveProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.removeProject(a),onSuccess:()=>a.invalidateQueries({queryKey:["projects"]})})},"useRenameProjectEntry",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.renameProjectEntry(a.id,a.from,a.to),onSuccess:(b,c)=>l(a,c.id)})},"useResumeMission",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.resumeMission(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"useSendInput",0,function(){return i({mutationFn:a=>j.orcaClient.sendKeys(a.name,a.keys)})},"useSetTaskExec",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.setTaskExec(a.id,a.exec),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useSetTaskStatus",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.setTaskStatus(a.id,a.status),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useSpawn",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.spawn(a),onSuccess:()=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:k.QUERY_KEYS.sessions})}})},"useUpdateConfig",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateConfig(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.config})})},"useUpdateMe",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateMe(a),onSuccess:()=>a.invalidateQueries({queryKey:["me"]})})},"useUpdateProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateProject(a.id,{path:a.path,notes:a.notes}),onSuccess:()=>a.invalidateQueries({queryKey:["projects"]})})},"useUpdateTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateTask(a.id,a.patch),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useUpdateUser",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateUser(a.id,a.patch),onSuccess:()=>{a.invalidateQueries({queryKey:["users"]}),a.invalidateQueries({queryKey:["me"]})}})},"useUploadAvatar",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.uploadAvatar(a),onSuccess:()=>a.invalidateQueries({queryKey:["me"]})})},"useWriteProjectFile",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.writeProjectFile(a.id,a.path,a.content),onSuccess:(b,c)=>{a.invalidateQueries({queryKey:["project-file",c.id,c.path]}),a.invalidateQueries({queryKey:["project-git",c.id]})}})}],18517)}];
|
|
1
|
+
module.exports=[12794,a=>{"use strict";var b=a.i(18544),c=a.i(85659),d=a.i(21778),e=class extends c.Removable{#a;#b;#c;#d;constructor(a){super(),this.#a=a.client,this.mutationId=a.mutationId,this.#c=a.mutationCache,this.#b=[],this.state=a.state||f(),this.setOptions(a.options),this.scheduleGc()}setOptions(a){this.options=a,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(a){this.#b.includes(a)||(this.#b.push(a),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){this.#b=this.#b.filter(b=>b!==a),this.scheduleGc(),this.#c.notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){this.#b.length||("pending"===this.state.status?this.scheduleGc():this.#c.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(a){let b=()=>{this.#e({type:"continue"})},c={client:this.#a,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#d=(0,d.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(a,c):Promise.reject(Error("No mutationFn found")),onFail:(a,b)=>{this.#e({type:"failed",failureCount:a,error:b})},onPause:()=>{this.#e({type:"pause"})},onContinue:b,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#c.canRun(this)});let e="pending"===this.state.status,f=!this.#d.canStart();try{if(e)b();else{this.#e({type:"pending",variables:a,isPaused:f}),this.#c.config.onMutate&&await this.#c.config.onMutate(a,this,c);let b=await this.options.onMutate?.(a,c);b!==this.state.context&&this.#e({type:"pending",context:b,variables:a,isPaused:f})}let d=await this.#d.start();return await this.#c.config.onSuccess?.(d,a,this.state.context,this,c),await this.options.onSuccess?.(d,a,this.state.context,c),await this.#c.config.onSettled?.(d,null,this.state.variables,this.state.context,this,c),await this.options.onSettled?.(d,null,a,this.state.context,c),this.#e({type:"success",data:d}),d}catch(b){try{await this.#c.config.onError?.(b,a,this.state.context,this,c)}catch(a){Promise.reject(a)}try{await this.options.onError?.(b,a,this.state.context,c)}catch(a){Promise.reject(a)}try{await this.#c.config.onSettled?.(void 0,b,this.state.variables,this.state.context,this,c)}catch(a){Promise.reject(a)}try{await this.options.onSettled?.(void 0,b,a,this.state.context,c)}catch(a){Promise.reject(a)}throw this.#e({type:"error",error:b}),b}finally{this.#c.runNext(this)}}#e(a){this.state=(b=>{switch(a.type){case"failed":return{...b,failureCount:a.failureCount,failureReason:a.error};case"pause":return{...b,isPaused:!0};case"continue":return{...b,isPaused:!1};case"pending":return{...b,context:a.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:a.isPaused,status:"pending",variables:a.variables,submittedAt:Date.now()};case"success":return{...b,data:a.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...b,data:void 0,error:a.error,failureCount:b.failureCount+1,failureReason:a.error,isPaused:!1,status:"error"}}})(this.state),b.notifyManager.batch(()=>{this.#b.forEach(b=>{b.onMutationUpdate(a)}),this.#c.notify({mutation:this,type:"updated",action:a})})}};function f(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}a.s(["Mutation",0,e,"getDefaultState",0,f])},67453,a=>{"use strict";let b=(0,a.i(70106).default)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["CheckCircle2",0,b],67453)},92e3,a=>{"use strict";let b=(0,a.i(70106).default)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);a.s(["AlertCircle",0,b],92e3)},33508,a=>{"use strict";let b=(0,a.i(70106).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",0,b],33508)},89697,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(67453),e=a.i(92e3),f=a.i(33508);a.i(28130);var g=a.i(29457);let h=(0,c.createContext)(null),i=0;function j({item:a,meta:d,dismissLabel:e,onDismiss:g}){let{Icon:h,color:i,title:k}=d,[l,m]=(0,c.useState)(100),n=(0,c.useRef)(!1);return(0,c.useEffect)(()=>{let a=0,b=performance.now(),c=requestAnimationFrame(function d(e){(n.current||(a+=e-b),b=e,m(Math.max(0,100-a/4500*100)),a>=4500)?g():c=requestAnimationFrame(d)});return()=>cancelAnimationFrame(c)},[g]),(0,b.jsxs)("div",{role:"status",onMouseEnter:()=>{n.current=!0},onMouseLeave:()=>{n.current=!1},className:"pointer-events-auto relative flex items-start gap-3 overflow-hidden rounded-lg border border-border bg-surface py-3 pl-4 pr-3",style:{boxShadow:"var(--shadow-raised)",borderLeft:`3px solid ${i}`,animation:"toast-in 200ms var(--ease-out)"},children:[(0,b.jsx)(h,{size:20,"aria-hidden":!0,className:"mt-px shrink-0",style:{color:i}}),(0,b.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,b.jsx)("div",{className:"text-sm font-semibold text-text",children:k}),(0,b.jsx)("div",{className:"mt-0.5 break-words text-sm leading-snug text-text-muted",children:a.message})]}),(0,b.jsx)("button",{type:"button","aria-label":e,onClick:g,className:"-mr-1 -mt-1 flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-text-muted transition-colors hover:bg-elevated hover:text-text",children:(0,b.jsx)(f.X,{size:15,"aria-hidden":!0})}),(0,b.jsx)("span",{className:"absolute bottom-0 left-0 h-0.5",style:{width:`${l}%`,backgroundColor:i,opacity:.5},"aria-hidden":!0})]})}a.s(["ToastProvider",0,function({children:a}){let{t:f}=(0,g.useTranslation)(),k={ok:{Icon:d.CheckCircle2,color:"var(--color-success)",title:f.common.success},error:{Icon:e.AlertCircle,color:"var(--color-danger)",title:f.common.error}},[l,m]=(0,c.useState)([]),n=(0,c.useCallback)(a=>m(b=>b.filter(b=>b.id!==a)),[]),o=(0,c.useCallback)((a,b="ok")=>{let c=i++;m(d=>[...d,{id:c,message:a,tone:b}])},[]),p=(0,c.useMemo)(()=>({toast:o}),[o]);return(0,b.jsxs)(h.Provider,{value:p,children:[a,(0,b.jsx)("div",{className:"pointer-events-none fixed bottom-5 right-5 z-50 flex w-[22rem] max-w-[calc(100vw-2.5rem)] flex-col gap-2.5",children:l.map(a=>(0,b.jsx)(j,{item:a,meta:k[a.tone],dismissLabel:f.common.dismiss,onDismiss:()=>n(a.id)},a.id))})]})},"useToast",0,function(){let a=(0,c.useContext)(h);if(!a)throw Error("useToast must be used within ToastProvider");return a}])},18517,a=>{"use strict";var b=a.i(72131),c=a.i(12794),d=a.i(18544),e=a.i(33791),f=a.i(42871),g=class extends e.Subscribable{#a;#f=void 0;#g;#h;constructor(a,b){super(),this.#a=a,this.setOptions(b),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(a){let b=this.options;this.options=this.#a.defaultMutationOptions(a),(0,f.shallowEqualObjects)(this.options,b)||this.#a.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#g,observer:this}),b?.mutationKey&&this.options.mutationKey&&(0,f.hashKey)(b.mutationKey)!==(0,f.hashKey)(this.options.mutationKey)?this.reset():this.#g?.state.status==="pending"&&this.#g.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#g?.removeObserver(this)}onMutationUpdate(a){this.#i(),this.#j(a)}getCurrentResult(){return this.#f}reset(){this.#g?.removeObserver(this),this.#g=void 0,this.#i(),this.#j()}mutate(a,b){return this.#h=b,this.#g?.removeObserver(this),this.#g=this.#a.getMutationCache().build(this.#a,this.options),this.#g.addObserver(this),this.#g.execute(a)}#i(){let a=this.#g?.state??(0,c.getDefaultState)();this.#f={...a,isPending:"pending"===a.status,isSuccess:"success"===a.status,isError:"error"===a.status,isIdle:"idle"===a.status,mutate:this.mutate,reset:this.reset}}#j(a){d.notifyManager.batch(()=>{if(this.#h&&this.hasListeners()){let b=this.#f.variables,c=this.#f.context,d={client:this.#a,meta:this.options.meta,mutationKey:this.options.mutationKey};if(a?.type==="success"){try{this.#h.onSuccess?.(a.data,b,c,d)}catch(a){Promise.reject(a)}try{this.#h.onSettled?.(a.data,null,b,c,d)}catch(a){Promise.reject(a)}}else if(a?.type==="error"){try{this.#h.onError?.(a.error,b,c,d)}catch(a){Promise.reject(a)}try{this.#h.onSettled?.(void 0,a.error,b,c,d)}catch(a){Promise.reject(a)}}}this.listeners.forEach(a=>{a(this.#f)})})}},h=a.i(37927);function i(a,c){let e=(0,h.useQueryClient)(c),[i]=b.useState(()=>new g(e,a));b.useEffect(()=>{i.setOptions(a)},[i,a]);let j=b.useSyncExternalStore(b.useCallback(a=>i.subscribe(d.notifyManager.batchCalls(a)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),k=b.useCallback((a,b)=>{i.mutate(a,b).catch(f.noop)},[i]);if(j.error&&(0,f.shouldThrowError)(i.options.throwOnError,[j.error]))throw j.error;return{...j,mutate:k,mutateAsync:j.mutate}}var j=a.i(82717),k=a.i(76645);function l(a,b){a.invalidateQueries({queryKey:["project-files",b]}),a.invalidateQueries({queryKey:["project-git",b]}),a.invalidateQueries({queryKey:["project-changed",b]})}a.s(["useApproveGate",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.approveGate(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useAssignProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>a.currentlyAssigned?j.orcaClient.unassignProject(a.userId,a.projectId):j.orcaClient.assignProject(a.userId,a.projectId),onSuccess:(b,c)=>a.invalidateQueries({queryKey:["user-projects",c.userId]})})},"useChangePassword",0,function(){return i({mutationFn:a=>j.orcaClient.changePassword(a.currentPassword,a.newPassword)})},"useCleanupAll",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:()=>j.orcaClient.cleanupAll(),onSuccess:()=>a.invalidateQueries()})},"useCloseTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.closeTask(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useCopyProjectEntry",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.copyProjectEntry(a.id,a.from,a.to),onSuccess:(b,c)=>l(a,c.id)})},"useCreateProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.createProject(a),onSuccess:()=>a.invalidateQueries({queryKey:["projects"]})})},"useCreateTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.createTask(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useCreateUser",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.createUser(a.username,a.password),onSuccess:()=>a.invalidateQueries({queryKey:["users"]})})},"useDeleteMission",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteMission(a),onSuccess:()=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:k.QUERY_KEYS.missions}),a.invalidateQueries({queryKey:["mission"]})}})},"useDeleteProjectEntry",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteProjectEntry(a.id,a.path),onSuccess:(b,c)=>l(a,c.id)})},"useDeleteTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteTask(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useDeleteUser",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.deleteUser(a),onSuccess:()=>a.invalidateQueries({queryKey:["users"]})})},"useDisengage",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.disengageMission(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"useEngage",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.engage(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"useHermesInstall",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.hermesInstall(a),onSuccess:(b,c)=>{a.invalidateQueries({queryKey:c.home?["hermes-status",c.home]:["hermes-status"]})}})},"useInsertPhases",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.insertPhases(a.epicId,a.body),onSuccess:(b,c)=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:["mission",c.epicId]}),a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})}})},"useKillSession",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.killSession(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.sessions})})},"useLogin",0,function(){return i({mutationFn:a=>j.orcaClient.login(a.username,a.password)})},"useLogout",0,function(){return i({mutationFn:()=>j.orcaClient.logout()})},"useNewProjectDir",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.newProjectDir(a.id,a.path),onSuccess:(b,c)=>l(a,c.id)})},"useNewProjectFile",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.newProjectFile(a.id,a.path),onSuccess:(b,c)=>l(a,c.id)})},"usePauseMission",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.pauseMission(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"usePlanTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.planTask(a),onSuccess:()=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})}})},"useRemoveProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.removeProject(a),onSuccess:()=>a.invalidateQueries({queryKey:["projects"]})})},"useRenameProjectEntry",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.renameProjectEntry(a.id,a.from,a.to),onSuccess:(b,c)=>l(a,c.id)})},"useResumeMission",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.resumeMission(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.missions})})},"useSendInput",0,function(){return i({mutationFn:a=>j.orcaClient.sendKeys(a.name,a.keys)})},"useSetTaskExec",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.setTaskExec(a.id,a.exec),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useSetTaskStatus",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.setTaskStatus(a.id,a.status),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useSpawn",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.spawn(a),onSuccess:()=>{a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks}),a.invalidateQueries({queryKey:k.QUERY_KEYS.sessions})}})},"useUpdateConfig",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateConfig(a),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.config})})},"useUpdateMe",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateMe(a),onSuccess:()=>a.invalidateQueries({queryKey:["me"]})})},"useUpdateProject",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateProject(a.id,{path:a.path,notes:a.notes}),onSuccess:()=>a.invalidateQueries({queryKey:["projects"]})})},"useUpdateTask",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateTask(a.id,a.patch),onSuccess:()=>a.invalidateQueries({queryKey:k.QUERY_KEYS.tasks})})},"useUpdateUser",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.updateUser(a.id,a.patch),onSuccess:()=>{a.invalidateQueries({queryKey:["users"]}),a.invalidateQueries({queryKey:["me"]})}})},"useUploadAvatar",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.uploadAvatar(a),onSuccess:()=>a.invalidateQueries({queryKey:["me"]})})},"useWriteProjectFile",0,function(){let a=(0,h.useQueryClient)();return i({mutationFn:a=>j.orcaClient.writeProjectFile(a.id,a.path,a.content),onSuccess:(b,c)=>{a.invalidateQueries({queryKey:["project-file",c.id,c.path]}),a.invalidateQueries({queryKey:["project-git",c.id]})}})}],18517)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_057a06r._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[70777,a=>{"use strict";var b=a.i(87924);a.s(["ModuleShell",0,function({moduleId:a,children:c}){return(0,b.jsx)("section",{"data-module":a,className:"module-root flex flex-col gap-4",children:c})}])},9173,a=>{"use strict";var b=a.i(87924),c=a.i(12466);a.i(28130);var d=a.i(29457);a.s(["EmptyState",0,function({title:a,description:c,icon:d,action:e}){return(0,b.jsxs)("div",{className:"flex animate-fade-up flex-col items-center justify-center gap-3 py-14 text-center",children:[d?(0,b.jsx)(d,{size:28,strokeWidth:1.25,className:"text-text-muted/40","aria-hidden":!0}):null,(0,b.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,b.jsx)("p",{className:"text-sm uppercase tracking-wide text-text",children:a}),c&&(0,b.jsx)("p",{className:"text-xs text-text-muted",children:c})]}),e]})},"ErrorState",0,function({message:a,onRetry:e}){let{t:f}=(0,d.useTranslation)();return(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2 py-12 text-center",children:[(0,b.jsx)("p",{className:"text-sm text-accent",children:a}),e&&(0,b.jsx)(c.Button,{onClick:e,children:f.common.retry})]})},"LoadingState",0,function({label:a,variant:c="list"}){let{t:e}=(0,d.useTranslation)();return a?(0,b.jsx)("div",{className:"flex items-center justify-center py-12 font-mono text-xs text-text-muted animate-pulse",children:a}):"cards"===c?(0,b.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3","aria-busy":"true","aria-label":e.common.loading,children:[0,1,2,3,4,5].map(a=>(0,b.jsxs)("div",{className:"flex flex-col gap-2.5 rounded-lg border border-border bg-surface p-3",style:{boxShadow:"var(--shadow-card)"},children:[(0,b.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,b.jsx)("div",{className:"skeleton h-9 w-9 rounded-lg"}),(0,b.jsxs)("div",{className:"flex flex-1 flex-col gap-1.5",children:[(0,b.jsx)("div",{className:"skeleton h-3.5 w-2/3 rounded"}),(0,b.jsx)("div",{className:"skeleton h-3 w-1/3 rounded"})]})]}),(0,b.jsx)("div",{className:"skeleton h-6 w-full rounded-md"})]},a))}):"kanban"===c?(0,b.jsx)("div",{className:"flex gap-3 overflow-hidden","aria-busy":"true","aria-label":e.common.loading,children:[0,1,2,3,4].map(a=>(0,b.jsxs)("div",{className:"flex min-w-[14rem] flex-1 flex-col gap-2 rounded-lg border border-border bg-surface p-2",children:[(0,b.jsx)("div",{className:"skeleton h-3 w-20 rounded"}),[0,1,2].map(a=>(0,b.jsx)("div",{className:"skeleton h-12 w-full rounded-md"},a))]},a))}):(0,b.jsx)("div",{className:"flex flex-col gap-2.5 py-2","aria-busy":"true","aria-label":e.common.loading,children:[88,72,80,64].map((a,c)=>(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"skeleton h-4 w-4 rounded-md"}),(0,b.jsx)("div",{className:"skeleton h-3.5 rounded",style:{width:`${a}%`}})]},c))})}])},97222,a=>{"use strict";var b=a.i(87924);a.s(["ModuleHeader",0,function({title:a,count:c,icon:d,children:e}){return(0,b.jsxs)("div",{className:"z-20 -mx-4 -mt-4 mb-5 flex flex-col gap-2 border-b border-border bg-bg px-4 py-3 md:sticky md:top-0 md:flex-row md:flex-wrap md:items-center md:gap-x-3",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[d?(0,b.jsx)(d,{size:16,className:"shrink-0 text-text-muted","aria-hidden":!0}):null,(0,b.jsx)("h1",{className:"text-base font-semibold tracking-tight text-text",children:a}),void 0!==c?(0,b.jsx)("span",{className:"rounded-full bg-elevated px-2 py-0.5 font-mono text-[11px] text-text-muted",children:c}):null]}),e?(0,b.jsx)("div",{className:"flex flex-wrap items-center gap-2 md:ml-auto",children:e}):null]})}])},4416,a=>{"use strict";let b=(0,a.i(70106).default)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["ShieldCheck",0,b],4416)},69922,a=>{"use strict";let b=(0,a.i(70106).default)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);a.s(["Link2",0,b],69922)},41710,a=>{"use strict";let b=(0,a.i(70106).default)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);a.s(["Clock",0,b],41710)},5641,a=>{"use strict";let b=(0,a.i(70106).default)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);a.s(["Play",0,b],5641)},70150,a=>{"use strict";var b=a.i(81415);a.s(["formatTaskTime",0,function(a,c,d){if(!a)return{label:"",title:""};let e=(0,b.parseTs)(a);if(null==e)return{label:a,title:a};let f=new Date(e).toLocaleString(d,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),g=c-e;if(g<864e5){if(g<0)return{label:"0s",title:f};let a=Math.floor(g/1e3);if(a<60)return{label:`${a}s`,title:f};let b=Math.floor(a/60);if(b<60)return{label:`${b}m`,title:f};let c=Math.floor(b/60);return{label:`${c}h`,title:f}}return{label:new Date(e).toLocaleString(d,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"}),title:f}}])},87654,a=>{"use strict";let b=(0,a.i(70106).default)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);a.s(["RotateCcw",0,b],87654)},40897,a=>{"use strict";var b=a.i(87924),c=a.i(70777),d=a.i(66384),e=a.i(4416),f=a.i(82478),g=a.i(5641),h=a.i(87654),i=a.i(69922),j=a.i(41710),k=a.i(76645),l=a.i(18517),m=a.i(82717),n=a.i(70150),o=a.i(97222),p=a.i(12466),q=a.i(9173),r=a.i(89697);a.i(28130);var s=a.i(29457);function t(){let{t:a,locale:c}=(0,s.useTranslation)(),t=(0,k.useEscalations)(),u=(0,l.useSetTaskStatus)(),v=(0,l.useResumeMission)(),{toast:
|
|
1
|
+
module.exports=[70777,a=>{"use strict";var b=a.i(87924);a.s(["ModuleShell",0,function({moduleId:a,children:c}){return(0,b.jsx)("section",{"data-module":a,className:"module-root flex flex-col gap-4",children:c})}])},9173,a=>{"use strict";var b=a.i(87924),c=a.i(12466);a.i(28130);var d=a.i(29457);a.s(["EmptyState",0,function({title:a,description:c,icon:d,action:e}){return(0,b.jsxs)("div",{className:"flex animate-fade-up flex-col items-center justify-center gap-3 py-14 text-center",children:[d?(0,b.jsx)(d,{size:28,strokeWidth:1.25,className:"text-text-muted/40","aria-hidden":!0}):null,(0,b.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,b.jsx)("p",{className:"text-sm uppercase tracking-wide text-text",children:a}),c&&(0,b.jsx)("p",{className:"text-xs text-text-muted",children:c})]}),e]})},"ErrorState",0,function({message:a,onRetry:e}){let{t:f}=(0,d.useTranslation)();return(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2 py-12 text-center",children:[(0,b.jsx)("p",{className:"text-sm text-accent",children:a}),e&&(0,b.jsx)(c.Button,{onClick:e,children:f.common.retry})]})},"LoadingState",0,function({label:a,variant:c="list"}){let{t:e}=(0,d.useTranslation)();return a?(0,b.jsx)("div",{className:"flex items-center justify-center py-12 font-mono text-xs text-text-muted animate-pulse",children:a}):"cards"===c?(0,b.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3","aria-busy":"true","aria-label":e.common.loading,children:[0,1,2,3,4,5].map(a=>(0,b.jsxs)("div",{className:"flex flex-col gap-2.5 rounded-lg border border-border bg-surface p-3",style:{boxShadow:"var(--shadow-card)"},children:[(0,b.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,b.jsx)("div",{className:"skeleton h-9 w-9 rounded-lg"}),(0,b.jsxs)("div",{className:"flex flex-1 flex-col gap-1.5",children:[(0,b.jsx)("div",{className:"skeleton h-3.5 w-2/3 rounded"}),(0,b.jsx)("div",{className:"skeleton h-3 w-1/3 rounded"})]})]}),(0,b.jsx)("div",{className:"skeleton h-6 w-full rounded-md"})]},a))}):"kanban"===c?(0,b.jsx)("div",{className:"flex gap-3 overflow-hidden","aria-busy":"true","aria-label":e.common.loading,children:[0,1,2,3,4].map(a=>(0,b.jsxs)("div",{className:"flex min-w-[14rem] flex-1 flex-col gap-2 rounded-lg border border-border bg-surface p-2",children:[(0,b.jsx)("div",{className:"skeleton h-3 w-20 rounded"}),[0,1,2].map(a=>(0,b.jsx)("div",{className:"skeleton h-12 w-full rounded-md"},a))]},a))}):(0,b.jsx)("div",{className:"flex flex-col gap-2.5 py-2","aria-busy":"true","aria-label":e.common.loading,children:[88,72,80,64].map((a,c)=>(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"skeleton h-4 w-4 rounded-md"}),(0,b.jsx)("div",{className:"skeleton h-3.5 rounded",style:{width:`${a}%`}})]},c))})}])},97222,a=>{"use strict";var b=a.i(87924);a.s(["ModuleHeader",0,function({title:a,count:c,icon:d,children:e}){return(0,b.jsxs)("div",{className:"z-20 -mx-4 -mt-4 mb-5 flex flex-col gap-2 border-b border-border bg-bg px-4 py-3 md:sticky md:top-0 md:flex-row md:flex-wrap md:items-center md:gap-x-3",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[d?(0,b.jsx)(d,{size:16,className:"shrink-0 text-text-muted","aria-hidden":!0}):null,(0,b.jsx)("h1",{className:"text-base font-semibold tracking-tight text-text",children:a}),void 0!==c?(0,b.jsx)("span",{className:"rounded-full bg-elevated px-2 py-0.5 font-mono text-[11px] text-text-muted",children:c}):null]}),e?(0,b.jsx)("div",{className:"flex flex-wrap items-center gap-2 md:ml-auto",children:e}):null]})}])},4416,a=>{"use strict";let b=(0,a.i(70106).default)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["ShieldCheck",0,b],4416)},69922,a=>{"use strict";let b=(0,a.i(70106).default)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);a.s(["Link2",0,b],69922)},41710,a=>{"use strict";let b=(0,a.i(70106).default)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);a.s(["Clock",0,b],41710)},5641,a=>{"use strict";let b=(0,a.i(70106).default)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);a.s(["Play",0,b],5641)},70150,a=>{"use strict";var b=a.i(81415);a.s(["formatTaskTime",0,function(a,c,d){if(!a)return{label:"",title:""};let e=(0,b.parseTs)(a);if(null==e)return{label:a,title:a};let f=new Date(e).toLocaleString(d,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),g=c-e;if(g<864e5){if(g<0)return{label:"0s",title:f};let a=Math.floor(g/1e3);if(a<60)return{label:`${a}s`,title:f};let b=Math.floor(a/60);if(b<60)return{label:`${b}m`,title:f};let c=Math.floor(b/60);return{label:`${c}h`,title:f}}return{label:new Date(e).toLocaleString(d,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"}),title:f}}])},87654,a=>{"use strict";let b=(0,a.i(70106).default)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);a.s(["RotateCcw",0,b],87654)},40897,a=>{"use strict";var b=a.i(87924),c=a.i(70777),d=a.i(66384),e=a.i(4416),f=a.i(82478),g=a.i(5641),h=a.i(87654),i=a.i(69922),j=a.i(41710),k=a.i(76645),l=a.i(18517),m=a.i(82717),n=a.i(70150),o=a.i(97222),p=a.i(12466),q=a.i(9173),r=a.i(89697);a.i(28130);var s=a.i(29457);function t(){let{t:a,locale:c}=(0,s.useTranslation)(),t=(0,k.useEscalations)(),u=(0,l.useSetTaskStatus)(),v=(0,l.useApproveGate)(),w=(0,l.useResumeMission)(),{toast:x}=(0,r.useToast)();return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.ModuleHeader,{title:a.escalations.title,count:t.length,icon:d.ShieldAlert}),0===t.length?(0,b.jsx)(q.EmptyState,{title:a.escalations.empty,description:a.escalations.emptyDesc,icon:e.ShieldCheck}):(0,b.jsx)("div",{className:"flex flex-col gap-3",children:t.map(e=>{let k=(0,n.formatTaskTime)(e.ts,Date.now(),c);return(0,b.jsxs)("article",{className:"flex flex-col gap-3 rounded-lg border border-warning/40 bg-warning/[0.05] p-4",style:{boxShadow:"var(--shadow-card)"},children:[(0,b.jsxs)("div",{className:"flex items-start gap-3",children:[(0,b.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-warning/40 bg-warning/10",children:(0,b.jsx)(d.ShieldAlert,{size:20,className:"text-warning","aria-hidden":!0})}),(0,b.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,b.jsx)("h2",{className:"truncate text-sm font-semibold text-text",children:e.title}),(0,b.jsxs)("div",{className:"mt-0.5 flex flex-wrap items-center gap-x-2 gap-y-0.5 font-mono text-[11px] text-text-muted",children:[e.epicId?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(f.Rocket,{size:11,className:"shrink-0","aria-hidden":!0}),(0,b.jsx)("span",{className:"truncate",children:e.epicId})]}):null,k.label?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{"aria-hidden":!0,className:"opacity-50",children:"·"}),(0,b.jsx)(j.Clock,{size:11,className:"shrink-0","aria-hidden":!0}),(0,b.jsx)("span",{title:k.title,children:k.label})]}):null]})]})]}),(0,b.jsxs)("div",{className:"rounded-md border border-border bg-elevated p-3",children:[(0,b.jsx)("div",{className:"mb-1 text-[11px] font-semibold uppercase tracking-wide text-text-muted",children:a.escalations.rationale}),(0,b.jsx)("p",{className:"whitespace-pre-wrap text-sm leading-relaxed text-text",children:e.rationale||a.escalations.noReason})]}),e.blocked.length>0?(0,b.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,b.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wide text-text-muted",children:a.escalations.blockedBy}),(0,b.jsx)("ul",{className:"flex flex-col gap-1",children:e.blocked.map(a=>(0,b.jsxs)("li",{className:"flex items-center gap-2 text-xs text-text",children:[(0,b.jsx)(i.Link2,{size:12,className:"shrink-0 text-text-muted","aria-hidden":!0}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate",children:a.title})]},a.id))})]}):null,(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[(0,b.jsx)(p.Button,{variant:"ghost",icon:h.RotateCcw,onClick:()=>{u.mutate({id:e.taskId,status:"open"},{onSuccess:()=>{e.epicId&&w.mutate(`m-${e.epicId}`,{onError:()=>{}}),x(a.escalations.rerunning)},onError:b=>x((0,m.apiErrorMessage)(b)||a.escalations.actionError,"error")})},disabled:u.isPending,children:a.escalations.rerun}),(0,b.jsx)(p.Button,{variant:"accent",icon:g.Play,onClick:()=>{0!==e.blocked.length&&v.mutate(e.taskId,{onSuccess:()=>{e.epicId&&w.mutate(`m-${e.epicId}`,{onError:()=>{}}),x(a.escalations.approved)},onError:b=>x((0,m.apiErrorMessage)(b)||a.escalations.actionError,"error")})},disabled:0===e.blocked.length||v.isPending,children:a.escalations.approve})]})]},`${e.taskId}-${e.ts}`)})})]})}a.s(["default",0,function(){return(0,b.jsx)(c.ModuleShell,{moduleId:"escalations",children:(0,b.jsx)(t,{})})},"dynamic",0,"force-dynamic"],40897)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_09x5h4x._.js.map
|