hive-am 1.2.2 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/CHANGELOG.md +34 -1
  2. package/README.md +19 -0
  3. package/package.json +1 -1
  4. package/server/dist/context.js +62 -0
  5. package/server/dist/db/migrations.js +7 -0
  6. package/server/dist/db.js +4 -4
  7. package/server/dist/history/claude.js +8 -2
  8. package/server/dist/http/routes/agents.js +1 -1
  9. package/server/dist/http/validate.js +2 -0
  10. package/server/dist/instructions.js +4 -0
  11. package/server/dist/models.js +2 -0
  12. package/server/dist/objects/index.js +4 -6
  13. package/server/dist/objects/runner.js +20 -0
  14. package/server/dist/objects/supervisor.js +2 -2
  15. package/server/dist/providers/claude.js +13 -1
  16. package/server/dist/providers/opencode-server.js +59 -0
  17. package/server/dist/providers/opencode.js +4 -1
  18. package/server/dist/stats.js +15 -3
  19. package/web/.next/BUILD_ID +1 -1
  20. package/web/.next/app-build-manifest.json +80 -71
  21. package/web/.next/app-path-routes-manifest.json +6 -5
  22. package/web/.next/build-manifest.json +2 -2
  23. package/web/.next/prerender-manifest.json +73 -49
  24. package/web/.next/routes-manifest.json +6 -0
  25. package/web/.next/server/app/_not-found/page.js +1 -1
  26. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  27. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  28. package/web/.next/server/app/_not-found.html +1 -1
  29. package/web/.next/server/app/_not-found.rsc +3 -3
  30. package/web/.next/server/app/agents/[id]/page.js +4 -4
  31. package/web/.next/server/app/agents/[id]/page.js.nft.json +1 -1
  32. package/web/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
  33. package/web/.next/server/app/agents/page.js +1 -1
  34. package/web/.next/server/app/agents/page.js.nft.json +1 -1
  35. package/web/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  36. package/web/.next/server/app/agents.html +1 -1
  37. package/web/.next/server/app/agents.rsc +4 -4
  38. package/web/.next/server/app/chat/page.js +2 -0
  39. package/web/.next/server/app/chat/page.js.nft.json +1 -0
  40. package/web/.next/server/app/chat/page_client-reference-manifest.js +1 -0
  41. package/web/.next/server/app/chat.html +1 -0
  42. package/web/.next/server/app/chat.meta +15 -0
  43. package/web/.next/server/app/chat.rsc +25 -0
  44. package/web/.next/server/app/connections/page.js +1 -1
  45. package/web/.next/server/app/connections/page.js.nft.json +1 -1
  46. package/web/.next/server/app/connections/page_client-reference-manifest.js +1 -1
  47. package/web/.next/server/app/connections.html +1 -1
  48. package/web/.next/server/app/connections.rsc +4 -4
  49. package/web/.next/server/app/index.html +1 -1
  50. package/web/.next/server/app/index.rsc +4 -4
  51. package/web/.next/server/app/page.js +1 -1
  52. package/web/.next/server/app/page.js.nft.json +1 -1
  53. package/web/.next/server/app/page_client-reference-manifest.js +1 -1
  54. package/web/.next/server/app/relations/page.js +2 -2
  55. package/web/.next/server/app/relations/page.js.nft.json +1 -1
  56. package/web/.next/server/app/relations/page_client-reference-manifest.js +1 -1
  57. package/web/.next/server/app/relations.html +1 -1
  58. package/web/.next/server/app/relations.rsc +4 -4
  59. package/web/.next/server/app/resources/[id]/page.js +2 -2
  60. package/web/.next/server/app/resources/[id]/page.js.nft.json +1 -1
  61. package/web/.next/server/app/resources/[id]/page_client-reference-manifest.js +1 -1
  62. package/web/.next/server/app/resources/page.js +2 -2
  63. package/web/.next/server/app/resources/page.js.nft.json +1 -1
  64. package/web/.next/server/app/resources/page_client-reference-manifest.js +1 -1
  65. package/web/.next/server/app/resources.html +1 -1
  66. package/web/.next/server/app/resources.rsc +4 -4
  67. package/web/.next/server/app/schedules/page.js +1 -1
  68. package/web/.next/server/app/schedules/page.js.nft.json +1 -1
  69. package/web/.next/server/app/schedules/page_client-reference-manifest.js +1 -1
  70. package/web/.next/server/app/schedules.html +1 -1
  71. package/web/.next/server/app/schedules.rsc +4 -4
  72. package/web/.next/server/app/sessions/page.js +2 -2
  73. package/web/.next/server/app/sessions/page.js.nft.json +1 -1
  74. package/web/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  75. package/web/.next/server/app/sessions.html +1 -1
  76. package/web/.next/server/app/sessions.rsc +4 -4
  77. package/web/.next/server/app/skills/page.js +1 -1
  78. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  79. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  80. package/web/.next/server/app/skills.html +1 -1
  81. package/web/.next/server/app/skills.rsc +4 -4
  82. package/web/.next/server/app/types/page.js +1 -1
  83. package/web/.next/server/app/types/page.js.nft.json +1 -1
  84. package/web/.next/server/app/types/page_client-reference-manifest.js +1 -1
  85. package/web/.next/server/app/types.html +1 -1
  86. package/web/.next/server/app/types.rsc +4 -4
  87. package/web/.next/server/app-paths-manifest.json +6 -5
  88. package/web/.next/server/chunks/143.js +1 -1
  89. package/web/.next/server/chunks/148.js +1 -0
  90. package/web/.next/server/chunks/213.js +6 -0
  91. package/web/.next/server/chunks/274.js +1 -1
  92. package/web/.next/server/chunks/368.js +1 -0
  93. package/web/.next/server/chunks/403.js +1 -0
  94. package/web/.next/server/chunks/{790.js → 435.js} +2 -2
  95. package/web/.next/server/chunks/505.js +1 -6
  96. package/web/.next/server/chunks/612.js +1 -1
  97. package/web/.next/server/chunks/716.js +2 -2
  98. package/web/.next/server/pages/404.html +1 -1
  99. package/web/.next/server/pages/500.html +1 -1
  100. package/web/.next/server/server-reference-manifest.json +1 -1
  101. package/web/.next/static/YT6HM6qmegMJaBMX5QvuP/_buildManifest.js +1 -0
  102. package/web/.next/static/chunks/281-113274e705940a55.js +1 -0
  103. package/web/.next/static/chunks/350-0fe82e622e7a670f.js +1 -0
  104. package/web/.next/static/chunks/391-18768499e741112e.js +1 -0
  105. package/web/.next/static/chunks/517-373a80c8ba432bdc.js +1 -0
  106. package/web/.next/static/chunks/587-8e4d2be01ba7d48f.js +1 -0
  107. package/web/.next/static/chunks/606-c9a19918b02a98d0.js +1 -0
  108. package/web/.next/static/chunks/654-92a63b3c4b412666.js +1 -0
  109. package/web/.next/static/chunks/656-f537149fe28f79aa.js +1 -0
  110. package/web/.next/static/chunks/705-f81face97b1bb1af.js +1 -0
  111. package/web/.next/static/chunks/app/agents/[id]/page-6ed6edb3e74b0ebe.js +1 -0
  112. package/web/.next/static/chunks/app/agents/{page-f4c4c80f955f3967.js → page-9bb8cba69776c719.js} +1 -1
  113. package/web/.next/static/chunks/app/chat/page-5261b12b7d50f5d1.js +1 -0
  114. package/web/.next/static/chunks/app/connections/{page-0936beaf02d863c6.js → page-eb11cfb1ffeab3ca.js} +1 -1
  115. package/web/.next/static/chunks/app/layout-fad968a635f9a4b3.js +1 -0
  116. package/web/.next/static/chunks/app/page-99e0351e6ccaa384.js +1 -0
  117. package/web/.next/static/chunks/app/relations/{page-fba25393c8688714.js → page-a44fd515a3b0525e.js} +1 -1
  118. package/web/.next/static/chunks/app/resources/[id]/{page-d110d89bb8b5fca7.js → page-fc494e85b01e8cb7.js} +1 -1
  119. package/web/.next/static/chunks/app/resources/{page-bbd0b450d3f3131d.js → page-61cccd8fdcc2f6c8.js} +1 -1
  120. package/web/.next/static/chunks/app/schedules/{page-a1124397fc760413.js → page-96976fff4ee23538.js} +1 -1
  121. package/web/.next/static/chunks/app/sessions/{page-0e322811b0cde724.js → page-a7534ebd90e982d6.js} +1 -1
  122. package/web/.next/static/chunks/app/skills/{page-22ea0ef89d9f7a13.js → page-bc1acd0663f36129.js} +1 -1
  123. package/web/.next/static/chunks/app/types/{page-18c4e1db2724d41d.js → page-ebd37e220f77c1f3.js} +1 -1
  124. package/web/.next/static/css/582723fcea1f9887.css +1 -0
  125. package/web/.next/trace +30 -29
  126. package/web/.next/types/app/chat/page.ts +84 -0
  127. package/web/.next/types/routes.d.ts +2 -1
  128. package/web/.next/types/validator.ts +9 -0
  129. package/web/.next/server/chunks/306.js +0 -1
  130. package/web/.next/server/chunks/555.js +0 -1
  131. package/web/.next/server/chunks/638.js +0 -1
  132. package/web/.next/server/chunks/802.js +0 -1
  133. package/web/.next/static/7BI__-ayGDTlOrSboD_bT/_buildManifest.js +0 -1
  134. package/web/.next/static/chunks/176-aeaf907a6ea5627d.js +0 -1
  135. package/web/.next/static/chunks/291-efae53ea5f7ee92d.js +0 -1
  136. package/web/.next/static/chunks/350-56599dc3bf06066d.js +0 -1
  137. package/web/.next/static/chunks/486-13e08542f3a1cbac.js +0 -1
  138. package/web/.next/static/chunks/491-6b4e6201f5110dff.js +0 -1
  139. package/web/.next/static/chunks/517-ccaf8cc5c733cbd8.js +0 -1
  140. package/web/.next/static/chunks/581-3ad5c4343dad3f50.js +0 -1
  141. package/web/.next/static/chunks/705-c7e75806f77b880c.js +0 -1
  142. package/web/.next/static/chunks/839-4aefe6e71be6e1ef.js +0 -1
  143. package/web/.next/static/chunks/844-fe55292e0701f436.js +0 -1
  144. package/web/.next/static/chunks/app/agents/[id]/page-3faf40800981a736.js +0 -1
  145. package/web/.next/static/chunks/app/layout-99620746d028dda8.js +0 -1
  146. package/web/.next/static/chunks/app/page-a7f292117b7d76bf.js +0 -1
  147. package/web/.next/static/css/b7a03c62468f4263.css +0 -1
  148. /package/web/.next/static/{7BI__-ayGDTlOrSboD_bT → YT6HM6qmegMJaBMX5QvuP}/_ssgManifest.js +0 -0
@@ -1,9 +1,9 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[5506,["586","static/chunks/586-f7017d585a84738d.js","839","static/chunks/839-4aefe6e71be6e1ef.js","177","static/chunks/app/layout-99620746d028dda8.js"],"Shell"]
2
+ 2:I[5506,["586","static/chunks/586-f7017d585a84738d.js","281","static/chunks/281-113274e705940a55.js","177","static/chunks/app/layout-fad968a635f9a4b3.js"],"Shell"]
3
3
  3:I[26082,[],""]
4
4
  4:I[64304,[],""]
5
5
  5:I[77363,[],"ClientPageRoot"]
6
- 6:I[47857,["586","static/chunks/586-f7017d585a84738d.js","706","static/chunks/706-fa2be0f10ffebe6a.js","839","static/chunks/839-4aefe6e71be6e1ef.js","517","static/chunks/517-ccaf8cc5c733cbd8.js","165","static/chunks/app/agents/page-f4c4c80f955f3967.js"],"default"]
6
+ 6:I[47857,["586","static/chunks/586-f7017d585a84738d.js","706","static/chunks/706-fa2be0f10ffebe6a.js","281","static/chunks/281-113274e705940a55.js","517","static/chunks/517-373a80c8ba432bdc.js","165","static/chunks/app/agents/page-9bb8cba69776c719.js"],"default"]
7
7
  9:I[40523,[],"OutletBoundary"]
8
8
  b:I[91962,[],"AsyncMetadataOutlet"]
9
9
  d:I[40523,[],"ViewportBoundary"]
@@ -14,8 +14,8 @@ f:I[40523,[],"MetadataBoundary"]
14
14
  :HL["/_next/static/media/33553e7595b74ccf-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
15
15
  :HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
16
16
  :HL["/_next/static/css/945795da867f5250.css","style"]
17
- :HL["/_next/static/css/b7a03c62468f4263.css","style"]
18
- 0:{"P":null,"b":"7BI__-ayGDTlOrSboD_bT","p":"","c":["","agents"],"i":false,"f":[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/945795da867f5250.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/b7a03c62468f4263.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_23d1a5 __variable_67a390 __variable_4dc837","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var d=document.documentElement,t=localStorage.getItem('hive-theme');if(t!=='light'&&t!=='dark'){var m=matchMedia('(prefers-color-scheme: dark)');t=m.matches?'dark':'light';m.addEventListener('change',function(e){if(!localStorage.getItem('hive-theme'))d.dataset.theme=e.matches?'dark':'light'})}d.dataset.theme=t;var l=localStorage.getItem(\"hive-locale\");if(l!=='en'&&l!=='es')l=(navigator.language||'').toLowerCase().indexOf('es')===0?'es':'en';d.lang=l}catch(e){}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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":["agents",["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","searchParams":{},"params":{},"promises":["$@7","$@8"]}],null,["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true}
17
+ :HL["/_next/static/css/582723fcea1f9887.css","style"]
18
+ 0:{"P":null,"b":"YT6HM6qmegMJaBMX5QvuP","p":"","c":["","agents"],"i":false,"f":[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/945795da867f5250.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/582723fcea1f9887.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_23d1a5 __variable_67a390 __variable_4dc837","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var d=document.documentElement,t=localStorage.getItem('hive-theme');if(t!=='light'&&t!=='dark'){var m=matchMedia('(prefers-color-scheme: dark)');t=m.matches?'dark':'light';m.addEventListener('change',function(e){if(!localStorage.getItem('hive-theme'))d.dataset.theme=e.matches?'dark':'light'})}d.dataset.theme=t;var l=localStorage.getItem(\"hive-locale\");if(l!=='en'&&l!=='es')l=(navigator.language||'').toLowerCase().indexOf('es')===0?'es':'en';d.lang=l}catch(e){}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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":["agents",["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","searchParams":{},"params":{},"promises":["$@7","$@8"]}],null,["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true}
19
19
  7:{}
20
20
  8:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
21
21
  e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -0,0 +1,2 @@
1
+ (()=>{var a={};a.id=457,a.ids=[457],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},1835:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(85972).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/chat/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/chat/page.tsx","default")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5284:(a,b,c)=>{Promise.resolve().then(c.bind(c,60729))},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20862:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Heading2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]])},22276:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("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"}]])},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29723:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},33873:a=>{"use strict";a.exports=require("path")},40196:(a,b,c)=>{Promise.resolve().then(c.bind(c,1835))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},46875:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},54143:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]])},55511:a=>{"use strict";a.exports=require("crypto")},55674:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]])},60729:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>m});var d=c(55322),e=c(17027),f=c(66252),g=c(54514),h=c(71267),i=c(60570);c(73269),c(62705);var j=c(81963),k=c(36143),l=c(93884);function m(){let{t:a}=(0,l.s9)(),{agents:b,ready:c,error:m,retry:n}=(0,i.q5)();(0,f.useRouter)();let[o,p]=(0,e.useState)(!1);return(0,d.jsxs)("div",{className:"page",children:[(0,d.jsx)("div",{className:"page-head",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{children:a("nav.chat")}),(0,d.jsx)("p",{children:a("chat.home.subtitle")})]})}),!c&&m&&(0,d.jsx)(j.lZ,{kind:"err",children:(0,d.jsxs)("div",{className:"row gap-s wrap",children:[(0,d.jsxs)("span",{className:"grow",children:[a("cx.loadFailed")," ",m]}),(0,d.jsx)("button",{className:"btn sm",onClick:()=>void n(),children:a("cx.retry")})]})}),c&&0===b.length&&(0,d.jsx)(j.pp,{icon:(0,d.jsx)(g.A,{size:28}),title:a("chat.home.empty.title"),body:a("chat.home.empty.body"),action:(0,d.jsxs)("button",{className:"btn primary",onClick:()=>p(!0),children:[(0,d.jsx)(h.A,{size:16}),a("newAgent.create")]})}),o&&(0,d.jsx)(k.b,{onClose:()=>p(!1)})]})}},62289:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>F.a,__next_app__:()=>L,handler:()=>N,pages:()=>K,routeModule:()=>M,tree:()=>J});var d=c(62009),e=c(51640),f=c(52679),g=c(69985),h=c(91790),i=c(81200),j=c(54530),k=c(35977),l=c(234),m=c(43472),n=c(12698),o=c(28976),p=c(54084),q=c(16307),r=c(53063),s=c(72428),t=c(261),u=c(48291),v=c(56032),w=c(26713),x=c(83370),y=c(10143),z=c(27155),A=c(77620),B=c(13428),C=c(50164),D=c(86439),E=c(2972),F=c.n(E),G=c(94672),H=c(18313),I={};for(let a in G)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(I[a]=()=>G[a]);c.d(b,I);let J={children:["",{children:["chat",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,1835)),"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/chat/page.tsx"]}]},{metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,84507))).default(a),async a=>(await Promise.resolve().then(c.bind(c,23575))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,54287))).default(a)],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(c.bind(c,61918)),"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,2972,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,96298,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,60075,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,79678,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,84507))).default(a),async a=>(await Promise.resolve().then(c.bind(c,23575))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,54287))).default(a)],openGraph:[],twitter:[],manifest:void 0}}]}.children,K=["/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/chat/page.tsx"],L={require:c,loadChunk:()=>Promise.resolve()},M=new e.AppPageRouteModule({definition:{kind:f.RouteKind.APP_PAGE,page:"/chat/page",pathname:"/chat",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:J},distDir:".next",relativeProjectDir:""});async function N(a,b,e){var E;let I="/chat/page";"/index"===I&&(I="/");let O=(0,i.getRequestMeta)(a,"postponed"),P=(0,i.getRequestMeta)(a,"minimalMode"),Q=await M.prepare(a,b,{srcPage:I,multiZoneDraftMode:!1});if(!Q)return b.statusCode=400,b.end("Bad Request"),null==e.waitUntil||e.waitUntil.call(e,Promise.resolve()),null;let{buildId:R,query:S,params:T,parsedUrl:U,pageIsDynamic:V,buildManifest:W,nextFontManifest:X,reactLoadableManifest:Y,serverActionsManifest:Z,clientReferenceManifest:$,subresourceIntegrityManifest:_,prerenderManifest:aa,isDraftMode:ab,resolvedPathname:ac,revalidateOnlyGenerated:ad,routerServerContext:ae,nextConfig:af,interceptionRoutePatterns:ag}=Q,ah=U.pathname||"/",ai=(0,t.normalizeAppPath)(I),{isOnDemandRevalidate:aj}=Q,ak=M.match(ah,aa),al=!!aa.routes[ac]&&(M.isDev||(0,d.isRouteCacheOwner)(ac,M.cacheOwner,aa.routes[ac])),am=!!(ak||al||aa.routes[ai]),an=a.headers["user-agent"]||"",ao=(0,w.getBotType)(an),ap=(0,r.isHtmlBotRequest)(a),aq=(0,i.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[v.NEXT_ROUTER_PREFETCH_HEADER],ar=(0,i.getRequestMeta)(a,"isRSCRequest")??(0,o.f)(a.headers[v.RSC_HEADER]),as=(0,u.getIsPossibleServerAction)(a),at=(0,n.checkIsAppPPREnabled)(af.experimental.ppr)&&(null==(E=aa.routes[ai]??aa.dynamicRoutes[ai])?void 0:E.renderingMode)==="PARTIALLY_STATIC",au=!1,av=!1,aw=at?O:void 0,ax=at&&ar&&!aq,ay=(0,i.getRequestMeta)(a,"segmentPrefetchRSCRequest"),az=!an||(0,r.shouldServeStreamingMetadata)(an,af.htmlLimitedBots);ap&&at&&(am=!1,az=!1);let aA=!0===M.isDev||!am||"string"==typeof O||ax,aB=ap&&at,aC=null;ab||!am||aA||as||aw||ax||(aC=ac);let aD=aC;!aD&&M.isDev&&(aD=ac),M.isDev||ab||!am||!ar||ax||(0,l.d)(a.headers);let aE={...G,tree:J,pages:K,GlobalError:F(),handler:N,routeModule:M,__next_app__:L};Z&&$&&(0,q.setReferenceManifestsSingleton)({page:I,clientReferenceManifest:$,serverActionsManifest:Z,serverModuleMap:(0,s.createServerModuleMap)({serverActionsManifest:Z})});let aF=a.method||"GET",aG=(0,h.getTracer)(),aH=aG.getActiveScopeSpan();try{let d=M.getVaryHeader(ac,ag);b.setHeader("Vary",d);let g=async(c,d)=>{let e=new m.NodeNextRequest(a),f=new m.NodeNextResponse(b);return M.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aG.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==j.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aF} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${a.url}`)})},l=async({span:d,postponed:f,fallbackRouteParams:h})=>{let j={query:S,params:T,page:ai,sharedContext:{buildId:R},serverComponentsHmrCache:(0,i.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:h,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,k.T)(aE),params:T,routeModule:M,page:I,postponed:f,shouldWaitOnAllReady:aB,serveStreamingMetadata:az,supportsDynamicResponse:"string"==typeof f||aA,buildManifest:W,nextFontManifest:X,reactLoadableManifest:Y,subresourceIntegrityManifest:_,serverActionsManifest:Z,clientReferenceManifest:$,setIsrStatus:null==ae?void 0:ae.setIsrStatus,dir:c(33873).join(process.cwd(),M.relativeProjectDir),isDraftMode:ab,isRevalidate:am&&!f&&!ax,botType:ao,isOnDemandRevalidate:aj,isPossibleServerAction:as,assetPrefix:af.assetPrefix,nextConfigOutput:af.output,crossOrigin:af.crossOrigin,trailingSlash:af.trailingSlash,previewProps:aa.preview,deploymentId:af.deploymentId,enableTainting:af.experimental.taint,htmlLimitedBots:af.htmlLimitedBots,devtoolSegmentExplorer:af.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:af.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,i.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:af.experimental.cacheLife,basePath:af.basePath,serverActions:af.experimental.serverActions,...au?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:au}:{},experimental:{isRoutePPREnabled:at,expireTime:af.expireTime,staleTimes:af.experimental.staleTimes,cacheComponents:!!af.experimental.cacheComponents,clientSegmentCache:!!af.experimental.clientSegmentCache,clientParamParsing:!!af.experimental.clientParamParsing,dynamicOnHover:!!af.experimental.dynamicOnHover,inlineCss:!!af.experimental.inlineCss,authInterrupts:!!af.experimental.authInterrupts,clientTraceMetadata:af.experimental.clientTraceMetadata||[]},waitUntil:e.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>M.onRequestError(a,b,d,ae),err:(0,i.getRequestMeta)(a,"invokeError"),dev:M.isDev}},l=await g(d,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[A.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,am&&(null==n?void 0:n.revalidate)===0&&!M.isDev&&!at){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ac}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:x.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:d,isRevalidating:g,span:h})=>{let j,k=!1===M.isDev,m=c||b.writableEnded;if(aj&&ad&&!d&&!P)return(null==ae?void 0:ae.render404)?await ae.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ak&&(j=(0,y.parseFallbackField)(ak.fallback)),j===y.FallbackMode.PRERENDER&&(0,w.isBot)(an)&&(!at||ap)&&(j=y.FallbackMode.BLOCKING_STATIC_RENDER),(null==d?void 0:d.isStale)===-1&&(aj=!0),aj&&(j!==y.FallbackMode.NOT_FOUND||d)&&(j=y.FallbackMode.BLOCKING_STATIC_RENDER),!P&&j!==y.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!m&&!ab&&V&&(k||!al)){let b;if((k||ak)&&j===y.FallbackMode.NOT_FOUND)throw new D.NoFallbackError;if(at&&!ar){let c="string"==typeof(null==ak?void 0:ak.fallback)?ak.fallback:k?ai:null;if(b=await M.handleResponse({cacheKey:c,req:a,nextConfig:af,routeKind:f.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:aa,isRoutePPREnabled:at,responseGenerator:async()=>l({span:h,postponed:void 0,fallbackRouteParams:k||av?(0,p.u)(ai):null}),waitUntil:e.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=aj||g||!aw?void 0:aw;if(au&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:x.CachedRouteKind.PAGES,html:z.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let o=V&&at&&((0,i.getRequestMeta)(a,"renderFallbackShell")||av)?(0,p.u)(ah):null;return l({span:h,postponed:n,fallbackRouteParams:o})},o=async c=>{var d,g,h,j,k;let m,o=await M.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:c,...a}),routeKind:f.RouteKind.APP_PAGE,isOnDemandRevalidate:aj,isRoutePPREnabled:at,req:a,nextConfig:af,prerenderManifest:aa,waitUntil:e.waitUntil});if(ab&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),M.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(d=o.value)?void 0:d.kind)!==x.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=o.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;am&&!ax&&(!p||aq)&&(P||b.setHeader("x-nextjs-cache",aj?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(v.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(aw)m={revalidate:0,expire:void 0};else if(P&&ar&&!aq&&at)m={revalidate:0,expire:void 0};else if(!M.isDev)if(ab)m={revalidate:0,expire:void 0};else if(am){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??af.expireTime}}else m={revalidate:A.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(o.cacheControl=m,"string"==typeof ay&&(null==q?void 0:q.kind)===x.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(v.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[A.NEXT_CACHE_TAGS_HEADER];P&&am&&c&&"string"==typeof c&&b.setHeader(A.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ay);return void 0!==d?(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.fromStatic(d,v.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,i.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,i.getRequestMeta)(a,"initURL")}))return null;if(p&&aw)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(P&&am||delete a[A.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[A.NEXT_CACHE_TAGS_HEADER];if(P&&am&&s&&"string"==typeof s&&b.setHeader(A.NEXT_CACHE_TAGS_HEADER,s),!q.status||ar&&at||(b.statusCode=q.status),!P&&q.status&&H.RedirectStatusCode[q.status]&&ar&&(b.statusCode=200),p&&b.setHeader(v.NEXT_DID_POSTPONE_HEADER,"1"),ar&&!ab){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:q.html,cacheControl:ax?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.fromStatic(q.rscData,v.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||P||ar)return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:o.cacheControl});if(au)return t.push(new ReadableStream({start(a){a.enqueue(B.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let u=new TransformStream;return t.push(u.readable),l({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==x.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(u.writable)}).catch(a=>{u.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(j.BaseServerSpan.handleRequest,{spanName:`${aF} ${a.url}`,kind:h.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof D.NoFallbackError||await M.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"render",revalidateReason:(0,g.c)({isRevalidate:am,isOnDemandRevalidate:aj})},ae),b}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69048:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]])},73136:a=>{"use strict";a.exports=require("node:url")},73726:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},76760:a=>{"use strict";a.exports=require("node:path")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},97299:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]])},98635:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("ListOrdered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]])}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[691,435,335,274,143],()=>b(b.s=62289));module.exports=c})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../node_modules/next/package.json","../../../package.json","../../chunks/143.js","../../chunks/274.js","../../chunks/335.js","../../chunks/423.js","../../chunks/435.js","../../chunks/691.js","../../chunks/692.js","../../chunks/919.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/chat/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"5506":{"*":{"id":"34720","name":"*","chunks":[],"async":false}},"11108":{"*":{"id":"93286","name":"*","chunks":[],"async":false}},"13970":{"*":{"id":"54880","name":"*","chunks":[],"async":false}},"20353":{"*":{"id":"66621","name":"*","chunks":[],"async":false}},"25382":{"*":{"id":"73026","name":"*","chunks":[],"async":false}},"26082":{"*":{"id":"7700","name":"*","chunks":[],"async":false}},"36098":{"*":{"id":"80749","name":"*","chunks":[],"async":false}},"40523":{"*":{"id":"96297","name":"*","chunks":[],"async":false}},"44209":{"*":{"id":"91184","name":"*","chunks":[],"async":false}},"46269":{"*":{"id":"54462","name":"*","chunks":[],"async":false}},"47857":{"*":{"id":"82921","name":"*","chunks":[],"async":false}},"51161":{"*":{"id":"44389","name":"*","chunks":[],"async":false}},"55890":{"*":{"id":"17740","name":"*","chunks":[],"async":false}},"64304":{"*":{"id":"87328","name":"*","chunks":[],"async":false}},"69925":{"*":{"id":"60729","name":"*","chunks":[],"async":false}},"75750":{"*":{"id":"82874","name":"*","chunks":[],"async":false}},"77363":{"*":{"id":"12197","name":"*","chunks":[],"async":false}},"86300":{"*":{"id":"39639","name":"*","chunks":[],"async":false}},"89146":{"*":{"id":"74050","name":"*","chunks":[],"async":false}},"89976":{"*":{"id":"15726","name":"*","chunks":[],"async":false}},"91962":{"*":{"id":"840","name":"*","chunks":[],"async":false}},"95339":{"*":{"id":"93177","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/client/components/builtin/global-error.js":{"id":89146,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":89146,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/client/components/client-page.js":{"id":77363,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/client/components/client-page.js":{"id":77363,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/client/components/client-segment.js":{"id":51161,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/client/components/client-segment.js":{"id":51161,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":55890,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":55890,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/client/components/layout-router.js":{"id":26082,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/client/components/layout-router.js":{"id":26082,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":91962,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":91962,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/client/components/render-from-template-context.js":{"id":64304,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":64304,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/lib/framework/boundary-components.js":{"id":40523,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":40523,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":13970,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":13970,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/components/Shell.tsx":{"id":5506,"name":"*","chunks":["586","static/chunks/586-f7017d585a84738d.js","281","static/chunks/281-113274e705940a55.js","177","static/chunks/app/layout-fad968a635f9a4b3.js"],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Bricolage_Grotesque\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--f-display\",\"axes\":[\"opsz\"]}],\"variableName\":\"display\"}":{"id":39856,"name":"*","chunks":["586","static/chunks/586-f7017d585a84738d.js","281","static/chunks/281-113274e705940a55.js","177","static/chunks/app/layout-fad968a635f9a4b3.js"],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Hanken_Grotesk\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--f-body\"}],\"variableName\":\"body\"}":{"id":98682,"name":"*","chunks":["586","static/chunks/586-f7017d585a84738d.js","281","static/chunks/281-113274e705940a55.js","177","static/chunks/app/layout-fad968a635f9a4b3.js"],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--f-mono\"}],\"variableName\":\"mono\"}":{"id":15151,"name":"*","chunks":["586","static/chunks/586-f7017d585a84738d.js","281","static/chunks/281-113274e705940a55.js","177","static/chunks/app/layout-fad968a635f9a4b3.js"],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/globals.css":{"id":87968,"name":"*","chunks":["586","static/chunks/586-f7017d585a84738d.js","281","static/chunks/281-113274e705940a55.js","177","static/chunks/app/layout-fad968a635f9a4b3.js"],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/connections/page.tsx":{"id":46269,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/chat/page.tsx":{"id":69925,"name":"*","chunks":["586","static/chunks/586-f7017d585a84738d.js","706","static/chunks/706-fa2be0f10ffebe6a.js","281","static/chunks/281-113274e705940a55.js","517","static/chunks/517-373a80c8ba432bdc.js","457","static/chunks/app/chat/page-5261b12b7d50f5d1.js"],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/relations/page.tsx":{"id":86300,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/agents/[id]/page.tsx":{"id":44209,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/agents/page.tsx":{"id":47857,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/resources/[id]/page.tsx":{"id":75750,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/resources/page.tsx":{"id":89976,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/page.tsx":{"id":36098,"name":"*","chunks":["586","static/chunks/586-f7017d585a84738d.js","706","static/chunks/706-fa2be0f10ffebe6a.js","391","static/chunks/391-18768499e741112e.js","281","static/chunks/281-113274e705940a55.js","517","static/chunks/517-373a80c8ba432bdc.js","350","static/chunks/350-0fe82e622e7a670f.js","606","static/chunks/606-c9a19918b02a98d0.js","587","static/chunks/587-8e4d2be01ba7d48f.js","974","static/chunks/app/page-99e0351e6ccaa384.js"],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/schedules/page.tsx":{"id":95339,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/sessions/page.tsx":{"id":25382,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/types/page.tsx":{"id":11108,"name":"*","chunks":[],"async":false},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/skills/page.tsx":{"id":20353,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/":[],"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/layout":[{"inlined":false,"path":"static/css/945795da867f5250.css"},{"inlined":false,"path":"static/css/582723fcea1f9887.css"}],"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/page":[],"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/chat/page":[]},"rscModuleMapping":{"5506":{"*":{"id":"55356","name":"*","chunks":[],"async":false}},"11108":{"*":{"id":"60068","name":"*","chunks":[],"async":false}},"13970":{"*":{"id":"27134","name":"*","chunks":[],"async":false}},"20353":{"*":{"id":"61959","name":"*","chunks":[],"async":false}},"25382":{"*":{"id":"64848","name":"*","chunks":[],"async":false}},"26082":{"*":{"id":"92090","name":"*","chunks":[],"async":false}},"36098":{"*":{"id":"10230","name":"*","chunks":[],"async":false}},"40523":{"*":{"id":"78683","name":"*","chunks":[],"async":false}},"44209":{"*":{"id":"27769","name":"*","chunks":[],"async":false}},"46269":{"*":{"id":"5420","name":"*","chunks":[],"async":false}},"47857":{"*":{"id":"94963","name":"*","chunks":[],"async":false}},"51161":{"*":{"id":"68875","name":"*","chunks":[],"async":false}},"55890":{"*":{"id":"65662","name":"*","chunks":[],"async":false}},"64304":{"*":{"id":"72702","name":"*","chunks":[],"async":false}},"69925":{"*":{"id":"1835","name":"*","chunks":[],"async":false}},"75750":{"*":{"id":"67744","name":"*","chunks":[],"async":false}},"77363":{"*":{"id":"18727","name":"*","chunks":[],"async":false}},"86300":{"*":{"id":"976","name":"*","chunks":[],"async":false}},"87968":{"*":{"id":"53140","name":"*","chunks":[],"async":false}},"89146":{"*":{"id":"2972","name":"*","chunks":[],"async":false}},"89976":{"*":{"id":"39016","name":"*","chunks":[],"async":false}},"91962":{"*":{"id":"5726","name":"*","chunks":[],"async":false}},"95339":{"*":{"id":"29143","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"13970":{"*":{"id":"54880","name":"*","chunks":[],"async":false}},"26082":{"*":{"id":"7700","name":"*","chunks":[],"async":false}},"40523":{"*":{"id":"96297","name":"*","chunks":[],"async":false}},"51161":{"*":{"id":"44389","name":"*","chunks":[],"async":false}},"55890":{"*":{"id":"17740","name":"*","chunks":[],"async":false}},"64304":{"*":{"id":"87328","name":"*","chunks":[],"async":false}},"77363":{"*":{"id":"12197","name":"*","chunks":[],"async":false}},"89146":{"*":{"id":"74050","name":"*","chunks":[],"async":false}},"91962":{"*":{"id":"840","name":"*","chunks":[],"async":false}}}}
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><!--YT6HM6qmegMJaBMX5QvuP--><html lang="en" class="__variable_23d1a5 __variable_67a390 __variable_4dc837"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/313510e2713fb214-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/33553e7595b74ccf-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/icon.png"/><link rel="stylesheet" href="/_next/static/css/945795da867f5250.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/582723fcea1f9887.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-ef515e41a83a16ac.js"/><script src="/_next/static/chunks/0937d497-114a2a3de515565e.js" async=""></script><script src="/_next/static/chunks/89-b194fcffe5120c44.js" async=""></script><script src="/_next/static/chunks/main-app-6086068e5fb5eacd.js" async=""></script><script src="/_next/static/chunks/586-f7017d585a84738d.js" async=""></script><script src="/_next/static/chunks/281-113274e705940a55.js" async=""></script><script src="/_next/static/chunks/app/layout-fad968a635f9a4b3.js" async=""></script><script src="/_next/static/chunks/706-fa2be0f10ffebe6a.js" async=""></script><script src="/_next/static/chunks/517-373a80c8ba432bdc.js" async=""></script><script src="/_next/static/chunks/app/chat/page-5261b12b7d50f5d1.js" async=""></script><meta name="next-size-adjust" content=""/><title>hive-am</title><meta name="description" content="Run a colony of coding agents across Claude Code, OpenCode and Kiro."/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/icon.png?4b73b0b54465bf4f" type="image/png" sizes="256x256"/><link rel="apple-touch-icon" href="/apple-icon.png?cac1d6d73e6ce0be" type="image/png" sizes="180x180"/><script>(function(){try{var d=document.documentElement,t=localStorage.getItem('hive-theme');if(t!=='light'&&t!=='dark'){var m=matchMedia('(prefers-color-scheme: dark)');t=m.matches?'dark':'light';m.addEventListener('change',function(e){if(!localStorage.getItem('hive-theme'))d.dataset.theme=e.matches?'dark':'light'})}d.dataset.theme=t;var l=localStorage.getItem("hive-locale");if(l!=='en'&&l!=='es')l=(navigator.language||'').toLowerCase().indexOf('es')===0?'es':'en';d.lang=l}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="shell"><nav class="rail" aria-label="Main"><div class="brand"><img src="/icon.png" width="34" height="34" alt="" aria-hidden="true" class="brand-mark"/><div>hive-am<small>agent colony manager</small></div></div><div class="lang-row" role="group" aria-label="Language"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-globe" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"></path><path d="M2 12h20"></path></svg><div class="seg"><button type="button" aria-pressed="true" lang="en" title="English" aria-label="English">EN</button><button type="button" aria-pressed="false" lang="es" title="Español" aria-label="Español">ES</button></div></div><a class="nav" aria-current="page" href="/chat"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg><span class="t">Chat</span></a><a class="nav" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-hexagon"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path></svg><span class="t">Colony</span></a><a class="nav" href="/resources"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-server"><rect width="20" height="8" x="2" y="2" rx="2" ry="2"></rect><rect width="20" height="8" x="2" y="14" rx="2" ry="2"></rect><line x1="6" x2="6.01" y1="6" y2="6"></line><line x1="6" x2="6.01" y1="18" y2="18"></line></svg><span class="t">Resources</span></a><a class="nav" href="/agents"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-users"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg><span class="t">Agents</span><span class="count">0</span></a><a class="nav" href="/relations"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-network"><rect x="16" y="16" width="6" height="6" rx="1"></rect><rect x="2" y="16" width="6" height="6" rx="1"></rect><rect x="9" y="2" width="6" height="6" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"></path><path d="M12 12V8"></path></svg><span class="t">Relations</span></a><a class="nav" href="/connections"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plug"><path d="M12 22v-5"></path><path d="M9 8V2"></path><path d="M15 8V2"></path><path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z"></path></svg><span class="t">Connections</span></a><a class="nav" href="/schedules"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar-clock"><path d="M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5"></path><path d="M16 2v4"></path><path d="M8 2v4"></path><path d="M3 10h5"></path><path d="M17.5 17.5 16 16.3V14"></path><circle cx="16" cy="16" r="6"></circle></svg><span class="t">Schedules</span></a><div class="nav-label">Library</div><a class="nav" href="/types"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-boxes"><path d="M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z"></path><path d="m7 16.5-4.74-2.85"></path><path d="m7 16.5 5-3"></path><path d="M7 16.5v5.17"></path><path d="M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z"></path><path d="m17 16.5-5-3"></path><path d="m17 16.5 4.74-2.85"></path><path d="M17 16.5v5.17"></path><path d="M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z"></path><path d="M12 8 7.26 5.15"></path><path d="m12 8 4.74-2.85"></path><path d="M12 13.5V8"></path></svg><span class="t">Agent types</span><span class="count">0</span></a><a class="nav" href="/skills"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-library"><path d="m16 6 4 14"></path><path d="M12 6v14"></path><path d="M8 8v12"></path><path d="M4 4v16"></path></svg><span class="t">Skills</span><span class="count">0</span></a><div class="nav-label">History</div><a class="nav" href="/sessions"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-history"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"></path><path d="M3 3v5h5"></path><path d="M12 7v5l4 2"></path></svg><span class="t">Sessions</span></a><div class="rail-foot"><button type="button" class="nav" aria-pressed="false" title="Terminal (Ctrl+`)"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-terminal"><path d="m7 11 2-2-2-2"></path><path d="M11 13h4"></path><rect width="18" height="18" x="3" y="3" rx="2" ry="2"></rect></svg><span class="t">Terminal</span></button><div class="conn"><i class="dot err"></i>Server offline. Retrying…</div><button type="button" class="nav" aria-pressed="false"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg><span class="t">Switch theme</span></button></div></nav><main class="main"><div class="page"><div class="page-head"><div><h1>Chat</h1><p>Your conversations with the agents of the colony.</p></div></div></div><!--$--><!--/$--></main></div><section class="dock" style="height:320px;display:none" aria-hidden="true" aria-label="Terminal panel"><div class="dock-grip" role="separator" aria-orientation="horizontal"></div><div class="dock-bar"><div class="dock-tabs" role="tablist" aria-label="Terminal panel"></div><button class="btn ghost icon sm" aria-label="New terminal" title="New terminal"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg></button><button class="btn ghost icon sm" aria-label="Terminal in a folder…" title="Terminal in a folder…"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg></button><span class="grow"></span><button class="btn ghost icon sm" aria-label="Hide the panel" title="Hide the panel (Ctrl+`)"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down"><path d="m6 9 6 6 6-6"></path></svg></button></div><div class="dock-body"><p class="gx-note">No terminals open. Press + to start one.</p></div></section><div class="toasts" data-live="true"></div><script src="/_next/static/chunks/webpack-ef515e41a83a16ac.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[5506,[\"586\",\"static/chunks/586-f7017d585a84738d.js\",\"281\",\"static/chunks/281-113274e705940a55.js\",\"177\",\"static/chunks/app/layout-fad968a635f9a4b3.js\"],\"Shell\"]\n3:I[26082,[],\"\"]\n4:I[64304,[],\"\"]\n5:I[77363,[],\"ClientPageRoot\"]\n6:I[69925,[\"586\",\"static/chunks/586-f7017d585a84738d.js\",\"706\",\"static/chunks/706-fa2be0f10ffebe6a.js\",\"281\",\"static/chunks/281-113274e705940a55.js\",\"517\",\"static/chunks/517-373a80c8ba432bdc.js\",\"457\",\"static/chunks/app/chat/page-5261b12b7d50f5d1.js\"],\"default\"]\n9:I[40523,[],\"OutletBoundary\"]\nb:I[91962,[],\"AsyncMetadataOutlet\"]\nd:I[40523,[],\"ViewportBoundary\"]\nf:I[40523,[],\"MetadataBoundary\"]\n10:\"$Sreact.suspense\"\n12:I[89146,[],\"\"]\n:HL[\"/_next/static/media/313510e2713fb214-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/33553e7595b74ccf-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/945795da867f5250.css\",\"style\"]\n:HL[\"/_next/static/css/582723fcea1f9887.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"YT6HM6qmegMJaBMX5QvuP\",\"p\":\"\",\"c\":[\"\",\"chat\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/945795da867f5250.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/582723fcea1f9887.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_23d1a5 __variable_67a390 __variable_4dc837\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var d=document.documentElement,t=localStorage.getItem('hive-theme');if(t!=='light'\u0026\u0026t!=='dark'){var m=matchMedia('(prefers-color-scheme: dark)');t=m.matches?'dark':'light';m.addEventListener('change',function(e){if(!localStorage.getItem('hive-theme'))d.dataset.theme=e.matches?'dark':'light'})}d.dataset.theme=t;var l=localStorage.getItem(\\\"hive-locale\\\");if(l!=='en'\u0026\u0026l!=='es')l=(navigator.language||'').toLowerCase().indexOf('es')===0?'es':'en';d.lang=l}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",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\":[\"chat\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L5\",null,{\"Component\":\"$6\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@7\",\"$@8\"]}],null,[\"$\",\"$L9\",null,{\"children\":[\"$La\",[\"$\",\"$Lb\",null,{\"promise\":\"$@c\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$10\",null,{\"fallback\":null,\"children\":\"$L11\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$12\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"7:{}\n8:\"$0:f:0:1:2:children:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\na:null\n"])</script><script>self.__next_f.push([1,"13:I[13970,[],\"IconMark\"]\nc:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"hive-am\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Run a colony of coding agents across Claude Code, OpenCode and Kiro.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/icon.png?4b73b0b54465bf4f\",\"type\":\"image/png\",\"sizes\":\"256x256\"}],[\"$\",\"link\",\"4\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-icon.png?cac1d6d73e6ce0be\",\"type\":\"image/png\",\"sizes\":\"180x180\"}],[\"$\",\"$L13\",\"5\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"11:\"$c:metadata\"\n"])</script></body></html>
@@ -0,0 +1,15 @@
1
+ {
2
+ "headers": {
3
+ "x-nextjs-stale-time": "300",
4
+ "x-nextjs-prerender": "1",
5
+ "x-next-cache-tags": "_N_T_/layout,_N_T_/chat/layout,_N_T_/chat/page,_N_T_/chat"
6
+ },
7
+ "routeCache": {
8
+ "key": "/route-cache/APP_PAGE/7140583d8682f3e107517ecbc1dd811545b16f6149c723d4d2802674e5919827/$/chat",
9
+ "owner": {
10
+ "kind": "APP_PAGE",
11
+ "sourceRoute": "/chat/page"
12
+ },
13
+ "isFallback": false
14
+ }
15
+ }
@@ -0,0 +1,25 @@
1
+ 1:"$Sreact.fragment"
2
+ 2:I[5506,["586","static/chunks/586-f7017d585a84738d.js","281","static/chunks/281-113274e705940a55.js","177","static/chunks/app/layout-fad968a635f9a4b3.js"],"Shell"]
3
+ 3:I[26082,[],""]
4
+ 4:I[64304,[],""]
5
+ 5:I[77363,[],"ClientPageRoot"]
6
+ 6:I[69925,["586","static/chunks/586-f7017d585a84738d.js","706","static/chunks/706-fa2be0f10ffebe6a.js","281","static/chunks/281-113274e705940a55.js","517","static/chunks/517-373a80c8ba432bdc.js","457","static/chunks/app/chat/page-5261b12b7d50f5d1.js"],"default"]
7
+ 9:I[40523,[],"OutletBoundary"]
8
+ b:I[91962,[],"AsyncMetadataOutlet"]
9
+ d:I[40523,[],"ViewportBoundary"]
10
+ f:I[40523,[],"MetadataBoundary"]
11
+ 10:"$Sreact.suspense"
12
+ 12:I[89146,[],""]
13
+ :HL["/_next/static/media/313510e2713fb214-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
+ :HL["/_next/static/media/33553e7595b74ccf-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
15
+ :HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
16
+ :HL["/_next/static/css/945795da867f5250.css","style"]
17
+ :HL["/_next/static/css/582723fcea1f9887.css","style"]
18
+ 0:{"P":null,"b":"YT6HM6qmegMJaBMX5QvuP","p":"","c":["","chat"],"i":false,"f":[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/945795da867f5250.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/582723fcea1f9887.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_23d1a5 __variable_67a390 __variable_4dc837","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var d=document.documentElement,t=localStorage.getItem('hive-theme');if(t!=='light'&&t!=='dark'){var m=matchMedia('(prefers-color-scheme: dark)');t=m.matches?'dark':'light';m.addEventListener('change',function(e){if(!localStorage.getItem('hive-theme'))d.dataset.theme=e.matches?'dark':'light'})}d.dataset.theme=t;var l=localStorage.getItem(\"hive-locale\");if(l!=='en'&&l!=='es')l=(navigator.language||'').toLowerCase().indexOf('es')===0?'es':'en';d.lang=l}catch(e){}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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":["chat",["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","searchParams":{},"params":{},"promises":["$@7","$@8"]}],null,["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true}
19
+ 7:{}
20
+ 8:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
21
+ e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
22
+ a:null
23
+ 13:I[13970,[],"IconMark"]
24
+ c:{"metadata":[["$","title","0",{"children":"hive-am"}],["$","meta","1",{"name":"description","content":"Run a colony of coding agents across Claude Code, OpenCode and Kiro."}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","link","3",{"rel":"icon","href":"/icon.png?4b73b0b54465bf4f","type":"image/png","sizes":"256x256"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-icon.png?cac1d6d73e6ce0be","type":"image/png","sizes":"180x180"}],["$","$L13","5",{}]],"error":null,"digest":"$undefined"}
25
+ 11:"$c:metadata"
@@ -1,2 +1,2 @@
1
1
  (()=>{var a={};a.id=572,a.ids=[572],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5189:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>F.a,__next_app__:()=>L,handler:()=>N,pages:()=>K,routeModule:()=>M,tree:()=>J});var d=c(62009),e=c(51640),f=c(52679),g=c(69985),h=c(91790),i=c(81200),j=c(54530),k=c(35977),l=c(234),m=c(43472),n=c(12698),o=c(28976),p=c(54084),q=c(16307),r=c(53063),s=c(72428),t=c(261),u=c(48291),v=c(56032),w=c(26713),x=c(83370),y=c(10143),z=c(27155),A=c(77620),B=c(13428),C=c(50164),D=c(86439),E=c(2972),F=c.n(E),G=c(94672),H=c(18313),I={};for(let a in G)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(I[a]=()=>G[a]);c.d(b,I);let J={children:["",{children:["connections",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,5420)),"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/connections/page.tsx"]}]},{metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,84507))).default(a),async a=>(await Promise.resolve().then(c.bind(c,23575))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,54287))).default(a)],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(c.bind(c,61918)),"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,2972,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,96298,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,60075,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,79678,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,84507))).default(a),async a=>(await Promise.resolve().then(c.bind(c,23575))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,54287))).default(a)],openGraph:[],twitter:[],manifest:void 0}}]}.children,K=["/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/connections/page.tsx"],L={require:c,loadChunk:()=>Promise.resolve()},M=new e.AppPageRouteModule({definition:{kind:f.RouteKind.APP_PAGE,page:"/connections/page",pathname:"/connections",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:J},distDir:".next",relativeProjectDir:""});async function N(a,b,e){var E;let I="/connections/page";"/index"===I&&(I="/");let O=(0,i.getRequestMeta)(a,"postponed"),P=(0,i.getRequestMeta)(a,"minimalMode"),Q=await M.prepare(a,b,{srcPage:I,multiZoneDraftMode:!1});if(!Q)return b.statusCode=400,b.end("Bad Request"),null==e.waitUntil||e.waitUntil.call(e,Promise.resolve()),null;let{buildId:R,query:S,params:T,parsedUrl:U,pageIsDynamic:V,buildManifest:W,nextFontManifest:X,reactLoadableManifest:Y,serverActionsManifest:Z,clientReferenceManifest:$,subresourceIntegrityManifest:_,prerenderManifest:aa,isDraftMode:ab,resolvedPathname:ac,revalidateOnlyGenerated:ad,routerServerContext:ae,nextConfig:af,interceptionRoutePatterns:ag}=Q,ah=U.pathname||"/",ai=(0,t.normalizeAppPath)(I),{isOnDemandRevalidate:aj}=Q,ak=M.match(ah,aa),al=!!aa.routes[ac]&&(M.isDev||(0,d.isRouteCacheOwner)(ac,M.cacheOwner,aa.routes[ac])),am=!!(ak||al||aa.routes[ai]),an=a.headers["user-agent"]||"",ao=(0,w.getBotType)(an),ap=(0,r.isHtmlBotRequest)(a),aq=(0,i.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[v.NEXT_ROUTER_PREFETCH_HEADER],ar=(0,i.getRequestMeta)(a,"isRSCRequest")??(0,o.f)(a.headers[v.RSC_HEADER]),as=(0,u.getIsPossibleServerAction)(a),at=(0,n.checkIsAppPPREnabled)(af.experimental.ppr)&&(null==(E=aa.routes[ai]??aa.dynamicRoutes[ai])?void 0:E.renderingMode)==="PARTIALLY_STATIC",au=!1,av=!1,aw=at?O:void 0,ax=at&&ar&&!aq,ay=(0,i.getRequestMeta)(a,"segmentPrefetchRSCRequest"),az=!an||(0,r.shouldServeStreamingMetadata)(an,af.htmlLimitedBots);ap&&at&&(am=!1,az=!1);let aA=!0===M.isDev||!am||"string"==typeof O||ax,aB=ap&&at,aC=null;ab||!am||aA||as||aw||ax||(aC=ac);let aD=aC;!aD&&M.isDev&&(aD=ac),M.isDev||ab||!am||!ar||ax||(0,l.d)(a.headers);let aE={...G,tree:J,pages:K,GlobalError:F(),handler:N,routeModule:M,__next_app__:L};Z&&$&&(0,q.setReferenceManifestsSingleton)({page:I,clientReferenceManifest:$,serverActionsManifest:Z,serverModuleMap:(0,s.createServerModuleMap)({serverActionsManifest:Z})});let aF=a.method||"GET",aG=(0,h.getTracer)(),aH=aG.getActiveScopeSpan();try{let d=M.getVaryHeader(ac,ag);b.setHeader("Vary",d);let g=async(c,d)=>{let e=new m.NodeNextRequest(a),f=new m.NodeNextResponse(b);return M.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aG.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==j.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aF} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${a.url}`)})},l=async({span:d,postponed:f,fallbackRouteParams:h})=>{let j={query:S,params:T,page:ai,sharedContext:{buildId:R},serverComponentsHmrCache:(0,i.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:h,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,k.T)(aE),params:T,routeModule:M,page:I,postponed:f,shouldWaitOnAllReady:aB,serveStreamingMetadata:az,supportsDynamicResponse:"string"==typeof f||aA,buildManifest:W,nextFontManifest:X,reactLoadableManifest:Y,subresourceIntegrityManifest:_,serverActionsManifest:Z,clientReferenceManifest:$,setIsrStatus:null==ae?void 0:ae.setIsrStatus,dir:c(33873).join(process.cwd(),M.relativeProjectDir),isDraftMode:ab,isRevalidate:am&&!f&&!ax,botType:ao,isOnDemandRevalidate:aj,isPossibleServerAction:as,assetPrefix:af.assetPrefix,nextConfigOutput:af.output,crossOrigin:af.crossOrigin,trailingSlash:af.trailingSlash,previewProps:aa.preview,deploymentId:af.deploymentId,enableTainting:af.experimental.taint,htmlLimitedBots:af.htmlLimitedBots,devtoolSegmentExplorer:af.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:af.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,i.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:af.experimental.cacheLife,basePath:af.basePath,serverActions:af.experimental.serverActions,...au?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:au}:{},experimental:{isRoutePPREnabled:at,expireTime:af.expireTime,staleTimes:af.experimental.staleTimes,cacheComponents:!!af.experimental.cacheComponents,clientSegmentCache:!!af.experimental.clientSegmentCache,clientParamParsing:!!af.experimental.clientParamParsing,dynamicOnHover:!!af.experimental.dynamicOnHover,inlineCss:!!af.experimental.inlineCss,authInterrupts:!!af.experimental.authInterrupts,clientTraceMetadata:af.experimental.clientTraceMetadata||[]},waitUntil:e.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>M.onRequestError(a,b,d,ae),err:(0,i.getRequestMeta)(a,"invokeError"),dev:M.isDev}},l=await g(d,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[A.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,am&&(null==n?void 0:n.revalidate)===0&&!M.isDev&&!at){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ac}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:x.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:d,isRevalidating:g,span:h})=>{let j,k=!1===M.isDev,m=c||b.writableEnded;if(aj&&ad&&!d&&!P)return(null==ae?void 0:ae.render404)?await ae.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ak&&(j=(0,y.parseFallbackField)(ak.fallback)),j===y.FallbackMode.PRERENDER&&(0,w.isBot)(an)&&(!at||ap)&&(j=y.FallbackMode.BLOCKING_STATIC_RENDER),(null==d?void 0:d.isStale)===-1&&(aj=!0),aj&&(j!==y.FallbackMode.NOT_FOUND||d)&&(j=y.FallbackMode.BLOCKING_STATIC_RENDER),!P&&j!==y.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!m&&!ab&&V&&(k||!al)){let b;if((k||ak)&&j===y.FallbackMode.NOT_FOUND)throw new D.NoFallbackError;if(at&&!ar){let c="string"==typeof(null==ak?void 0:ak.fallback)?ak.fallback:k?ai:null;if(b=await M.handleResponse({cacheKey:c,req:a,nextConfig:af,routeKind:f.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:aa,isRoutePPREnabled:at,responseGenerator:async()=>l({span:h,postponed:void 0,fallbackRouteParams:k||av?(0,p.u)(ai):null}),waitUntil:e.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=aj||g||!aw?void 0:aw;if(au&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:x.CachedRouteKind.PAGES,html:z.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let o=V&&at&&((0,i.getRequestMeta)(a,"renderFallbackShell")||av)?(0,p.u)(ah):null;return l({span:h,postponed:n,fallbackRouteParams:o})},o=async c=>{var d,g,h,j,k;let m,o=await M.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:c,...a}),routeKind:f.RouteKind.APP_PAGE,isOnDemandRevalidate:aj,isRoutePPREnabled:at,req:a,nextConfig:af,prerenderManifest:aa,waitUntil:e.waitUntil});if(ab&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),M.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(d=o.value)?void 0:d.kind)!==x.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=o.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;am&&!ax&&(!p||aq)&&(P||b.setHeader("x-nextjs-cache",aj?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(v.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(aw)m={revalidate:0,expire:void 0};else if(P&&ar&&!aq&&at)m={revalidate:0,expire:void 0};else if(!M.isDev)if(ab)m={revalidate:0,expire:void 0};else if(am){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??af.expireTime}}else m={revalidate:A.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(o.cacheControl=m,"string"==typeof ay&&(null==q?void 0:q.kind)===x.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(v.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[A.NEXT_CACHE_TAGS_HEADER];P&&am&&c&&"string"==typeof c&&b.setHeader(A.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ay);return void 0!==d?(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.fromStatic(d,v.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,i.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,i.getRequestMeta)(a,"initURL")}))return null;if(p&&aw)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(P&&am||delete a[A.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[A.NEXT_CACHE_TAGS_HEADER];if(P&&am&&s&&"string"==typeof s&&b.setHeader(A.NEXT_CACHE_TAGS_HEADER,s),!q.status||ar&&at||(b.statusCode=q.status),!P&&q.status&&H.RedirectStatusCode[q.status]&&ar&&(b.statusCode=200),p&&b.setHeader(v.NEXT_DID_POSTPONE_HEADER,"1"),ar&&!ab){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:q.html,cacheControl:ax?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.fromStatic(q.rscData,v.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||P||ar)return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:o.cacheControl});if(au)return t.push(new ReadableStream({start(a){a.enqueue(B.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let u=new TransformStream;return t.push(u.readable),l({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==x.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(u.writable)}).catch(a=>{u.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(j.BaseServerSpan.handleRequest,{spanName:`${aF} ${a.url}`,kind:h.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof D.NoFallbackError||await M.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"render",revalidateReason:(0,g.c)({isRevalidate:am,isOnDemandRevalidate:aj})},ae),b}}},5420:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(85972).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/connections/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/connections/page.tsx","default")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13520:(a,b,c)=>{"use strict";function d(a){}c.d(b,{h:()=>d}),c(17027)},16098:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]])},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},34410:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},54462:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>w});var d=c(55322),e=c(17027),f=c(71267),g=c(57943),h=c(91313),i=c(60570),j=c(58664),k=c(61162),l=c(93884),m=c(5207),n=c(34410),o=c(31251),p=c(16098),q=c(88404),r=c(7371),s=c(85669),t=c(13520);function u({connection:a,onClose:b}){let{t:c}=(0,l.s9)(),{agents:g,refresh:h}=(0,i.o0)(),j=(0,m.dj)(),u=!!a,[v,w]=(0,e.useState)(a?.name??""),[x,y]=(0,e.useState)(a?.agent_id??""),[z,A]=(0,e.useState)(""),[B,C]=(0,e.useState)(a?.allowed??[]),[D,E]=(0,e.useState)(a?.config.lang==="en"?"en":"es"),[F,G]=(0,e.useState)(a?.config.on_silent??"notice"),[H,I]=(0,e.useState)(a?.config.effort??""),[J,K]=(0,e.useState)(a?.config.group_mode==="open"?"open":"mention"),[L,M]=(0,e.useState)(a?.config.chats??[]),[N,O]=(0,e.useState)((a?.config.aliases??[]).join(", ")),[P,Q]=(0,e.useState)(a?.config.files!==!1),[R,S]=(0,e.useState)(a?.config.vision??null),[T,U]=(0,e.useState)(a?.enabled??!0),[V,W]=(0,e.useState)(!1),[X,Y]=(0,e.useState)(""),[Z,$]=(0,e.useState)({}),[_,aa]=(0,e.useState)([]),[ab,ac]=(0,e.useState)(!1),[ad,ae]=(0,e.useState)(!1),af=JSON.stringify([v,x,z,B,D,F,H,J,L,N,P,R,T]),ag=(0,e.useRef)(af),ah=af!==ag.current;(0,t.h)(ah);let ai=()=>{ah?ae(!0):b()},aj=g.find(a=>a.id===x),ak=aj?.effective.permission,al=a?.config.token?.set?a.config.token.hint:"",am=(0,e.useMemo)(()=>[...g].sort((a,b)=>a.name.localeCompare(b.name)),[g]),an=(a,b)=>C(c=>c.map((c,d)=>d===a?{...c,...b}:c)),ao=(a,b)=>M(c=>c.map((c,d)=>d===a?{...c,...b}:c)),ap=async b=>{try{await r.FH.patch(`/connections/${a.id}/threads/${b.id}`,{muted:!b.muted}),aa(a=>a.map(a=>a.id===b.id?{...a,muted:!b.muted}:a))}catch(a){j(a instanceof Error?a.message:String(a),"err")}},aq=async()=>{if(aj)try{let a=aj.effective.inherited.includes("permission")?[...new Set([...aj.overrides,"permission"])]:aj.overrides;await r.FH.patch(`/agents/${aj.id}`,{permission:"acceptEdits",overrides:a}),await h(["agents"]),j(c("conn.perm.fixed",{name:aj.name}))}catch(a){Y(a instanceof Error?a.message:String(a))}},ar=async()=>{let d={};if(v.trim()||(d.name=c("conn.err.name")),x||(d.agent=c("conn.err.agent")),u||z.trim()||(d.token=c("conn.err.token")),$(d),Y(""),Object.keys(d).length)return;W(!0);let e={kind:"telegram",name:v.trim(),agent_id:x,enabled:T,allowed:B.filter(a=>a.id.trim()),config:{...z.trim()?{token:z.trim()}:{},lang:D,on_silent:F,effort:H,group_mode:J,files:P,vision:R,chats:L.filter(a=>a.id.trim()),aliases:N.split(",").map(a=>a.trim()).filter(Boolean)}};try{a?await r.FH.patch(`/connections/${a.id}`,e):await r.FH.post("/connections",e),await h(["connections","agents"]),j(c(u?"conn.saved":"conn.created")),b()}catch(a){Y(a instanceof Error?a.message:String(a))}finally{W(!1)}},as=async()=>{try{let b=await r.FH.post(`/connections/${a.id}/test`);j(c("conn.test.ok",{detail:b.detail}))}catch(a){j(a instanceof Error?a.message:c("conn.test.failed"),"err")}},at=async()=>{await r.FH.del(`/connections/${a.id}`),await h(["connections","agents"]),j(c("conn.deleted")),b()};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(m._s,{title:c(u?"conn.edit":"conn.new"),subtitle:c("conn.shared"),onClose:ai,footer:(0,d.jsxs)(d.Fragment,{children:[u&&(0,d.jsxs)("button",{className:"btn danger push-r",onClick:()=>ac(!0),children:[(0,d.jsx)(n.A,{size:15}),c("conn.delete")]}),u&&(0,d.jsx)("button",{className:"btn",onClick:as,disabled:!T,children:c("conn.test")}),(0,d.jsx)("button",{className:"btn ghost",onClick:ai,children:c("common.cancel")}),(0,d.jsx)("button",{className:"btn primary",onClick:ar,disabled:V,children:c(u?"conn.save":"conn.create")})]}),children:[X&&(0,d.jsx)(m.lZ,{kind:"err",children:X}),(0,d.jsx)(m.D0,{label:c("conn.kind"),children:(0,d.jsx)(m.$q,{value:"telegram",onChange:()=>void 0,options:[{id:"telegram",label:c("conn.kind.telegram")},{id:"slack",label:c("conn.kind.soon"),disabled:!0}]})}),(0,d.jsx)(m.D0,{label:c("conn.name"),hint:c("conn.name.hint"),error:Z.name,children:(0,d.jsx)("input",{className:"input",value:v,onChange:a=>w(a.target.value),placeholder:c("conn.name.placeholder"),autoFocus:!u})}),(0,d.jsx)(m.D0,{label:c("conn.agent"),hint:c("conn.agent.hint"),error:Z.agent,children:(0,d.jsxs)("select",{className:"input",value:x,onChange:a=>y(a.target.value),children:[(0,d.jsx)("option",{value:"",children:c("conn.agent.pick")}),am.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})}),aj&&"plan"===ak&&(0,d.jsxs)(m.lZ,{kind:"err",children:[c("conn.perm.plan",{name:aj.name})," ",(0,d.jsx)("button",{type:"button",className:"btn sm",onClick:aq,children:c("conn.perm.fix")})]}),aj&&"bypassPermissions"===ak&&(0,d.jsx)(m.lZ,{kind:"honey",children:c("conn.perm.full",{name:aj.name})}),aj&&"opencode"===aj.provider&&(0,d.jsx)("p",{className:"hint m0",children:c("conn.perm.opencode")}),(0,d.jsx)(m.D0,{label:c("conn.token"),hint:c("conn.token.hint"),error:Z.token,children:(0,d.jsx)(s.y,{autoComplete:"off",value:z,onChange:a=>A(a.target.value),placeholder:al?c("conn.token.keep",{hint:al}):"123456:ABC…"})}),(0,d.jsx)(m.D0,{label:c("conn.allowed"),hint:c("conn.allowed.hint"),children:(0,d.jsxs)("div",{className:"stack-s",children:[0===B.length&&(0,d.jsx)("p",{className:"hint m0",children:c("conn.allowed.empty")}),B.map((a,b)=>(0,d.jsxs)("div",{className:"row gap-s",children:[(0,d.jsx)("input",{className:"input mono fa-w150",value:a.id,onChange:a=>an(b,{id:a.target.value.replace(/\D/g,"")}),placeholder:c("conn.allowed.id"),"aria-label":c("conn.allowed.id")}),(0,d.jsx)("input",{className:"input grow",value:a.name??"",onChange:a=>an(b,{name:a.target.value}),placeholder:c("conn.allowed.name"),"aria-label":c("conn.allowed.name")}),(0,d.jsx)("span",{title:c("conn.allowed.adminHint"),className:"nowrap",children:(0,d.jsx)(m.Tl,{checked:!!a.admin,onChange:a=>an(b,{admin:a}),label:c("conn.allowed.admin")})}),(0,d.jsx)("button",{className:"btn ghost icon sm",onClick:()=>C(a=>a.filter((a,c)=>c!==b)),"aria-label":c("conn.allowed.remove"),title:c("conn.allowed.remove"),children:(0,d.jsx)(o.A,{size:15})})]},b)),(0,d.jsx)("div",{children:(0,d.jsxs)("button",{className:"btn sm",onClick:()=>C(a=>[...a,{id:""}]),children:[(0,d.jsx)(f.A,{size:14}),c("conn.allowed.add")]})}),(0,d.jsx)("p",{className:"hint m0",children:c("conn.allowed.howto")})]})}),(0,d.jsx)(m.D0,{label:c("conn.groups"),children:(0,d.jsxs)("div",{className:"stack-s fa-gap10",children:[(0,d.jsx)("p",{className:"hint m0",children:c("conn.groups.hint")}),(0,d.jsx)(m.$q,{value:J,onChange:K,options:[{id:"mention",label:c("conn.mode.mention")},{id:"open",label:c("conn.mode.open")}]}),(0,d.jsx)("p",{className:"hint m0",children:c(`conn.mode.${J}.hint`)}),(0,d.jsx)("div",{className:"eyebrow",children:c("conn.chats")}),0===L.length&&(0,d.jsx)("p",{className:"hint m0",children:c("conn.chats.empty")}),L.map((a,b)=>(0,d.jsxs)("div",{className:"row gap-s",children:[(0,d.jsx)("input",{className:"input mono fa-w190",value:a.id,onChange:a=>ao(b,{id:a.target.value.replace(/[^\d-]/g,"")}),placeholder:c("conn.chats.id"),"aria-label":c("conn.chats.id")}),(0,d.jsx)("input",{className:"input grow",value:a.name??"",onChange:a=>ao(b,{name:a.target.value}),placeholder:c("conn.chats.name"),"aria-label":c("conn.chats.name")}),(0,d.jsx)("button",{className:"btn ghost icon sm",onClick:()=>M(a=>a.filter((a,c)=>c!==b)),"aria-label":c("conn.chats.remove"),title:c("conn.chats.remove"),children:(0,d.jsx)(o.A,{size:15})})]},b)),(0,d.jsx)("div",{children:(0,d.jsxs)("button",{className:"btn sm",onClick:()=>M(a=>[...a,{id:""}]),children:[(0,d.jsx)(f.A,{size:14}),c("conn.chats.add")]})}),(0,d.jsxs)("p",{className:"hint m0",children:[c("conn.chats.hint")," ",c("conn.chats.howto")]}),(0,d.jsx)(m.D0,{label:c("conn.aliases"),hint:c("conn.aliases.hint"),children:(0,d.jsx)("input",{className:"input",value:N,onChange:a=>O(a.target.value),placeholder:c("conn.aliases.placeholder")})})]})}),(0,d.jsx)(m.D0,{label:c("conn.files"),hint:c("conn.files.hint"),children:(0,d.jsx)(m.$q,{value:P?"on":"off",onChange:a=>Q("on"===a),options:[{id:"on",label:c("common.yes")},{id:"off",label:c("conn.files.off")}]})}),P&&(0,d.jsx)(m.D0,{label:c("conn.vision"),hint:c(R?"conn.vision.hint.other":"conn.vision.hint.agent"),children:(0,d.jsxs)("div",{className:"stack-s",children:[(0,d.jsx)(m.$q,{value:R?"other":"agent",onChange:a=>S("other"===a?{provider:"claude",model:"haiku"}:null),options:[{id:"agent",label:c("conn.vision.agent")},{id:"other",label:c("conn.vision.other")}]}),R&&(0,d.jsxs)("div",{className:"stack-s",children:[(0,d.jsx)("select",{className:"input",value:R.provider,onChange:a=>S({provider:a.target.value,model:""}),"aria-label":c("form.provider"),children:["claude","opencode","kiro"].map(a=>(0,d.jsx)("option",{value:a,children:"claude"===a?"Claude Code":"opencode"===a?"OpenCode":"Kiro"},a))}),(0,d.jsx)(m.CD,{provider:R.provider,value:R.model,onChange:a=>S({...R,model:a})})]})]})}),(0,d.jsx)(m.D0,{label:c("conn.lang"),children:(0,d.jsx)(m.$q,{value:D,onChange:E,options:[{id:"es",label:c("conn.lang.es")},{id:"en",label:c("conn.lang.en")}]})}),(0,d.jsx)(m.D0,{label:c("conn.silent"),children:(0,d.jsx)(m.$q,{value:F,onChange:G,options:["notice","send_text","ignore"].map(a=>({id:a,label:c(`conn.silent.${a}`)}))})}),(0,d.jsx)(m.D0,{label:c("conn.effort"),hint:c("conn.effort.hint"),children:(0,d.jsx)(m.$q,{value:H,onChange:I,options:[{id:"",label:c("conn.effort.default")},{id:"low",label:c("conn.effort.low")},{id:"medium",label:c("conn.effort.medium")},{id:"high",label:c("conn.effort.high")}]})}),(0,d.jsx)(m.D0,{label:c("conn.enabled"),hint:c("conn.enabled.hint"),children:(0,d.jsx)(m.$q,{value:T?"on":"off",onChange:a=>U("on"===a),options:[{id:"on",label:c("common.yes")},{id:"off",label:c("conn.status.stopped")}]})}),u&&(0,d.jsxs)("div",{className:"stack-s",children:[(0,d.jsx)("div",{className:"eyebrow",children:c("conn.threads.title")}),0===_.length?(0,d.jsx)("p",{className:"hint m0",children:c("conn.threads.empty")}):_.map(a=>(0,d.jsxs)("div",{className:"row gap-s small between",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:a.title||a.external_key})," ",(0,d.jsx)("span",{className:"muted mono",children:a.external_key})]}),(0,d.jsxs)("span",{className:"row gap-s muted",children:[a.muted&&(0,d.jsx)("span",{className:"gx-chip soft",children:c("conn.threads.muted")}),a.last_user?c("conn.threads.last",{user:a.last_user})+" \xb7 ":"",(0,k.KN)(a.last_activity),(0,d.jsx)("button",{type:"button",className:"btn ghost icon sm",onClick:()=>ap(a),title:c(a.muted?"conn.threads.unmute":"conn.threads.mute"),"aria-label":c(a.muted?"conn.threads.unmute":"conn.threads.mute"),children:a.muted?(0,d.jsx)(p.A,{size:14}):(0,d.jsx)(q.A,{size:14})})]})]},a.id))]})]}),ab&&(0,d.jsx)(m.TM,{danger:!0,title:c("conn.deleteTitle",{name:a.name}),body:c("conn.deleteBody"),confirmLabel:c("conn.delete"),onConfirm:at,onClose:()=>ac(!1)}),ad&&(0,d.jsx)(m.TM,{danger:!0,title:c("fa.unsaved.title"),body:c("fa.unsaved.body"),confirmLabel:c("fa.unsaved.discard"),cancelLabel:c("fa.unsaved.keep"),onClose:()=>ae(!1),onConfirm:b})]})}let v={connected:"ok",connecting:"run",error:"err",stopped:""};function w(){let{t:a}=(0,l.s9)(),{connections:b,agents:c,ready:n,refresh:o,error:p,retry:q}=(0,i.q5)(),[r,s]=(0,e.useState)(null);return(0,j.n)(()=>o(["connections"]),5e3,{immediate:!1}),(0,d.jsxs)("div",{className:"page",children:[(0,d.jsxs)("div",{className:"page-head",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{children:a("nav.connections")}),(0,d.jsx)("p",{children:a("conn.subtitle")})]}),(0,d.jsxs)("button",{className:"btn primary",onClick:()=>s("new"),children:[(0,d.jsx)(f.A,{size:16}),a("conn.new")]})]}),p&&(0,d.jsxs)(m.lZ,{kind:"err",children:[(0,d.jsx)("span",{children:p})," ",(0,d.jsx)("button",{type:"button",className:"btn sm",onClick:()=>void q(),children:a("fa.retry")})]}),n&&0===b.length?(0,d.jsx)(m.pp,{icon:(0,d.jsx)(g.A,{size:28}),title:a("conn.empty.title"),body:a("conn.empty.body"),action:(0,d.jsxs)("button",{className:"btn primary",onClick:()=>s("new"),children:[(0,d.jsx)(f.A,{size:16}),a("conn.new")]})}):(0,d.jsx)("div",{className:"conn-grid",children:b.map(b=>{let e=c.find(a=>a.id===b.agent_id);return(0,d.jsxs)("button",{type:"button",className:"card card-pad conncard",onClick:()=>s(b),children:[(0,d.jsxs)("div",{className:"row gap-s",children:[(0,d.jsx)(h.A,{size:16,"aria-hidden":!0}),(0,d.jsx)("b",{className:"grow tl",children:b.name}),(0,d.jsxs)("span",{className:"chip",children:[(0,d.jsx)("i",{className:`dot ${v[b.status.state]}`}),a(`conn.status.${b.enabled?b.status.state:"stopped"}`)]})]}),"error"===b.status.state&&b.enabled&&(0,d.jsx)("p",{className:"small m0 tl fa-err",children:b.status.detail}),(0,d.jsx)("div",{className:"row gap-s",children:e?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(m._h,{agent:e,size:"sm"}),(0,d.jsx)("span",{children:e.name})]}):(0,d.jsx)("span",{className:"muted small",children:a("conn.noAgent")})}),(0,d.jsxs)("div",{className:"muted small tl",children:["slack"===b.kind?a("conn.kind.slack"):a("conn.kind.telegram"),b.status.detail&&"connected"===b.status.state?` \xb7 ${b.status.detail}`:""," \xb7 ",a("conn.threads",{count:b.thread_count}),b.status.lastEventAt?` \xb7 ${a("conn.lastEvent",{when:(0,k.KN)(b.status.lastEventAt)})}`:""]})]},b.id)})}),r&&(0,d.jsx)(u,{connection:"new"===r?void 0:r,onClose:()=>s(null)})]})}},55511:a=>{"use strict";a.exports=require("crypto")},58664:(a,b,c)=>{"use strict";c.d(b,{n:()=>e});var d=c(17027);function e(a,b,{enabled:c=!0,pauseHidden:f=!0,immediate:g=!0,onError:h}={}){(0,d.useRef)(a).current=a,(0,d.useRef)(h).current=h}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},83823:(a,b,c)=>{Promise.resolve().then(c.bind(c,5420))},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},88404:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]])},91313:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},92071:(a,b,c)=>{Promise.resolve().then(c.bind(c,54462))}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[691,790,274],()=>b(b.s=5189));module.exports=c})();
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:x.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:d,isRevalidating:g,span:h})=>{let j,k=!1===M.isDev,m=c||b.writableEnded;if(aj&&ad&&!d&&!P)return(null==ae?void 0:ae.render404)?await ae.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ak&&(j=(0,y.parseFallbackField)(ak.fallback)),j===y.FallbackMode.PRERENDER&&(0,w.isBot)(an)&&(!at||ap)&&(j=y.FallbackMode.BLOCKING_STATIC_RENDER),(null==d?void 0:d.isStale)===-1&&(aj=!0),aj&&(j!==y.FallbackMode.NOT_FOUND||d)&&(j=y.FallbackMode.BLOCKING_STATIC_RENDER),!P&&j!==y.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!m&&!ab&&V&&(k||!al)){let b;if((k||ak)&&j===y.FallbackMode.NOT_FOUND)throw new D.NoFallbackError;if(at&&!ar){let c="string"==typeof(null==ak?void 0:ak.fallback)?ak.fallback:k?ai:null;if(b=await M.handleResponse({cacheKey:c,req:a,nextConfig:af,routeKind:f.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:aa,isRoutePPREnabled:at,responseGenerator:async()=>l({span:h,postponed:void 0,fallbackRouteParams:k||av?(0,p.u)(ai):null}),waitUntil:e.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=aj||g||!aw?void 0:aw;if(au&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:x.CachedRouteKind.PAGES,html:z.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let o=V&&at&&((0,i.getRequestMeta)(a,"renderFallbackShell")||av)?(0,p.u)(ah):null;return l({span:h,postponed:n,fallbackRouteParams:o})},o=async c=>{var d,g,h,j,k;let m,o=await M.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:c,...a}),routeKind:f.RouteKind.APP_PAGE,isOnDemandRevalidate:aj,isRoutePPREnabled:at,req:a,nextConfig:af,prerenderManifest:aa,waitUntil:e.waitUntil});if(ab&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),M.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(d=o.value)?void 0:d.kind)!==x.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=o.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;am&&!ax&&(!p||aq)&&(P||b.setHeader("x-nextjs-cache",aj?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(v.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(aw)m={revalidate:0,expire:void 0};else if(P&&ar&&!aq&&at)m={revalidate:0,expire:void 0};else if(!M.isDev)if(ab)m={revalidate:0,expire:void 0};else if(am){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??af.expireTime}}else m={revalidate:A.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(o.cacheControl=m,"string"==typeof ay&&(null==q?void 0:q.kind)===x.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(v.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[A.NEXT_CACHE_TAGS_HEADER];P&&am&&c&&"string"==typeof c&&b.setHeader(A.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ay);return void 0!==d?(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.fromStatic(d,v.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,i.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,i.getRequestMeta)(a,"initURL")}))return null;if(p&&aw)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(P&&am||delete a[A.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[A.NEXT_CACHE_TAGS_HEADER];if(P&&am&&s&&"string"==typeof s&&b.setHeader(A.NEXT_CACHE_TAGS_HEADER,s),!q.status||ar&&at||(b.statusCode=q.status),!P&&q.status&&H.RedirectStatusCode[q.status]&&ar&&(b.statusCode=200),p&&b.setHeader(v.NEXT_DID_POSTPONE_HEADER,"1"),ar&&!ab){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:q.html,cacheControl:ax?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:z.default.fromStatic(q.rscData,v.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||P||ar)return(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:o.cacheControl});if(au)return t.push(new ReadableStream({start(a){a.enqueue(B.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let u=new TransformStream;return t.push(u.readable),l({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==x.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(u.writable)}).catch(a=>{u.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,C.sendRenderResult)({req:a,res:b,generateEtags:af.generateEtags,poweredByHeader:af.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(j.BaseServerSpan.handleRequest,{spanName:`${aF} ${a.url}`,kind:h.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof D.NoFallbackError||await M.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"render",revalidateReason:(0,g.c)({isRevalidate:am,isOnDemandRevalidate:aj})},ae),b}}},5420:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(85972).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/connections/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/hugh/Documentos/projects/personal/hive-am/dist/stage/web/app/connections/page.tsx","default")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13520:(a,b,c)=>{"use strict";function d(a){}c.d(b,{h:()=>d}),c(17027)},16098:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]])},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},34410:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},54462:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>w});var d=c(55322),e=c(17027),f=c(71267),g=c(57943),h=c(91313),i=c(60570),j=c(58664),k=c(61162),l=c(93884),m=c(81963),n=c(34410),o=c(31251),p=c(16098),q=c(88404),r=c(7371),s=c(85669),t=c(13520);function u({connection:a,onClose:b}){let{t:c}=(0,l.s9)(),{agents:g,refresh:h}=(0,i.o0)(),j=(0,m.dj)(),u=!!a,[v,w]=(0,e.useState)(a?.name??""),[x,y]=(0,e.useState)(a?.agent_id??""),[z,A]=(0,e.useState)(""),[B,C]=(0,e.useState)(a?.allowed??[]),[D,E]=(0,e.useState)(a?.config.lang==="en"?"en":"es"),[F,G]=(0,e.useState)(a?.config.on_silent??"notice"),[H,I]=(0,e.useState)(a?.config.effort??""),[J,K]=(0,e.useState)(a?.config.group_mode==="open"?"open":"mention"),[L,M]=(0,e.useState)(a?.config.chats??[]),[N,O]=(0,e.useState)((a?.config.aliases??[]).join(", ")),[P,Q]=(0,e.useState)(a?.config.files!==!1),[R,S]=(0,e.useState)(a?.config.vision??null),[T,U]=(0,e.useState)(a?.enabled??!0),[V,W]=(0,e.useState)(!1),[X,Y]=(0,e.useState)(""),[Z,$]=(0,e.useState)({}),[_,aa]=(0,e.useState)([]),[ab,ac]=(0,e.useState)(!1),[ad,ae]=(0,e.useState)(!1),af=JSON.stringify([v,x,z,B,D,F,H,J,L,N,P,R,T]),ag=(0,e.useRef)(af),ah=af!==ag.current;(0,t.h)(ah);let ai=()=>{ah?ae(!0):b()},aj=g.find(a=>a.id===x),ak=aj?.effective.permission,al=a?.config.token?.set?a.config.token.hint:"",am=(0,e.useMemo)(()=>[...g].sort((a,b)=>a.name.localeCompare(b.name)),[g]),an=(a,b)=>C(c=>c.map((c,d)=>d===a?{...c,...b}:c)),ao=(a,b)=>M(c=>c.map((c,d)=>d===a?{...c,...b}:c)),ap=async b=>{try{await r.FH.patch(`/connections/${a.id}/threads/${b.id}`,{muted:!b.muted}),aa(a=>a.map(a=>a.id===b.id?{...a,muted:!b.muted}:a))}catch(a){j(a instanceof Error?a.message:String(a),"err")}},aq=async()=>{if(aj)try{let a=aj.effective.inherited.includes("permission")?[...new Set([...aj.overrides,"permission"])]:aj.overrides;await r.FH.patch(`/agents/${aj.id}`,{permission:"acceptEdits",overrides:a}),await h(["agents"]),j(c("conn.perm.fixed",{name:aj.name}))}catch(a){Y(a instanceof Error?a.message:String(a))}},ar=async()=>{let d={};if(v.trim()||(d.name=c("conn.err.name")),x||(d.agent=c("conn.err.agent")),u||z.trim()||(d.token=c("conn.err.token")),$(d),Y(""),Object.keys(d).length)return;W(!0);let e={kind:"telegram",name:v.trim(),agent_id:x,enabled:T,allowed:B.filter(a=>a.id.trim()),config:{...z.trim()?{token:z.trim()}:{},lang:D,on_silent:F,effort:H,group_mode:J,files:P,vision:R,chats:L.filter(a=>a.id.trim()),aliases:N.split(",").map(a=>a.trim()).filter(Boolean)}};try{a?await r.FH.patch(`/connections/${a.id}`,e):await r.FH.post("/connections",e),await h(["connections","agents"]),j(c(u?"conn.saved":"conn.created")),b()}catch(a){Y(a instanceof Error?a.message:String(a))}finally{W(!1)}},as=async()=>{try{let b=await r.FH.post(`/connections/${a.id}/test`);j(c("conn.test.ok",{detail:b.detail}))}catch(a){j(a instanceof Error?a.message:c("conn.test.failed"),"err")}},at=async()=>{await r.FH.del(`/connections/${a.id}`),await h(["connections","agents"]),j(c("conn.deleted")),b()};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(m._s,{title:c(u?"conn.edit":"conn.new"),subtitle:c("conn.shared"),onClose:ai,footer:(0,d.jsxs)(d.Fragment,{children:[u&&(0,d.jsxs)("button",{className:"btn danger push-r",onClick:()=>ac(!0),children:[(0,d.jsx)(n.A,{size:15}),c("conn.delete")]}),u&&(0,d.jsx)("button",{className:"btn",onClick:as,disabled:!T,children:c("conn.test")}),(0,d.jsx)("button",{className:"btn ghost",onClick:ai,children:c("common.cancel")}),(0,d.jsx)("button",{className:"btn primary",onClick:ar,disabled:V,children:c(u?"conn.save":"conn.create")})]}),children:[X&&(0,d.jsx)(m.lZ,{kind:"err",children:X}),(0,d.jsx)(m.D0,{label:c("conn.kind"),children:(0,d.jsx)(m.$q,{value:"telegram",onChange:()=>void 0,options:[{id:"telegram",label:c("conn.kind.telegram")},{id:"slack",label:c("conn.kind.soon"),disabled:!0}]})}),(0,d.jsx)(m.D0,{label:c("conn.name"),hint:c("conn.name.hint"),error:Z.name,children:(0,d.jsx)("input",{className:"input",value:v,onChange:a=>w(a.target.value),placeholder:c("conn.name.placeholder"),autoFocus:!u})}),(0,d.jsx)(m.D0,{label:c("conn.agent"),hint:c("conn.agent.hint"),error:Z.agent,children:(0,d.jsxs)("select",{className:"input",value:x,onChange:a=>y(a.target.value),children:[(0,d.jsx)("option",{value:"",children:c("conn.agent.pick")}),am.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})}),aj&&"plan"===ak&&(0,d.jsxs)(m.lZ,{kind:"err",children:[c("conn.perm.plan",{name:aj.name})," ",(0,d.jsx)("button",{type:"button",className:"btn sm",onClick:aq,children:c("conn.perm.fix")})]}),aj&&"bypassPermissions"===ak&&(0,d.jsx)(m.lZ,{kind:"honey",children:c("conn.perm.full",{name:aj.name})}),aj&&"opencode"===aj.provider&&(0,d.jsx)("p",{className:"hint m0",children:c("conn.perm.opencode")}),(0,d.jsx)(m.D0,{label:c("conn.token"),hint:c("conn.token.hint"),error:Z.token,children:(0,d.jsx)(s.y,{autoComplete:"off",value:z,onChange:a=>A(a.target.value),placeholder:al?c("conn.token.keep",{hint:al}):"123456:ABC…"})}),(0,d.jsx)(m.D0,{label:c("conn.allowed"),hint:c("conn.allowed.hint"),children:(0,d.jsxs)("div",{className:"stack-s",children:[0===B.length&&(0,d.jsx)("p",{className:"hint m0",children:c("conn.allowed.empty")}),B.map((a,b)=>(0,d.jsxs)("div",{className:"row gap-s",children:[(0,d.jsx)("input",{className:"input mono fa-w150",value:a.id,onChange:a=>an(b,{id:a.target.value.replace(/\D/g,"")}),placeholder:c("conn.allowed.id"),"aria-label":c("conn.allowed.id")}),(0,d.jsx)("input",{className:"input grow",value:a.name??"",onChange:a=>an(b,{name:a.target.value}),placeholder:c("conn.allowed.name"),"aria-label":c("conn.allowed.name")}),(0,d.jsx)("span",{title:c("conn.allowed.adminHint"),className:"nowrap",children:(0,d.jsx)(m.Tl,{checked:!!a.admin,onChange:a=>an(b,{admin:a}),label:c("conn.allowed.admin")})}),(0,d.jsx)("button",{className:"btn ghost icon sm",onClick:()=>C(a=>a.filter((a,c)=>c!==b)),"aria-label":c("conn.allowed.remove"),title:c("conn.allowed.remove"),children:(0,d.jsx)(o.A,{size:15})})]},b)),(0,d.jsx)("div",{children:(0,d.jsxs)("button",{className:"btn sm",onClick:()=>C(a=>[...a,{id:""}]),children:[(0,d.jsx)(f.A,{size:14}),c("conn.allowed.add")]})}),(0,d.jsx)("p",{className:"hint m0",children:c("conn.allowed.howto")})]})}),(0,d.jsx)(m.D0,{label:c("conn.groups"),children:(0,d.jsxs)("div",{className:"stack-s fa-gap10",children:[(0,d.jsx)("p",{className:"hint m0",children:c("conn.groups.hint")}),(0,d.jsx)(m.$q,{value:J,onChange:K,options:[{id:"mention",label:c("conn.mode.mention")},{id:"open",label:c("conn.mode.open")}]}),(0,d.jsx)("p",{className:"hint m0",children:c(`conn.mode.${J}.hint`)}),(0,d.jsx)("div",{className:"eyebrow",children:c("conn.chats")}),0===L.length&&(0,d.jsx)("p",{className:"hint m0",children:c("conn.chats.empty")}),L.map((a,b)=>(0,d.jsxs)("div",{className:"row gap-s",children:[(0,d.jsx)("input",{className:"input mono fa-w190",value:a.id,onChange:a=>ao(b,{id:a.target.value.replace(/[^\d-]/g,"")}),placeholder:c("conn.chats.id"),"aria-label":c("conn.chats.id")}),(0,d.jsx)("input",{className:"input grow",value:a.name??"",onChange:a=>ao(b,{name:a.target.value}),placeholder:c("conn.chats.name"),"aria-label":c("conn.chats.name")}),(0,d.jsx)("button",{className:"btn ghost icon sm",onClick:()=>M(a=>a.filter((a,c)=>c!==b)),"aria-label":c("conn.chats.remove"),title:c("conn.chats.remove"),children:(0,d.jsx)(o.A,{size:15})})]},b)),(0,d.jsx)("div",{children:(0,d.jsxs)("button",{className:"btn sm",onClick:()=>M(a=>[...a,{id:""}]),children:[(0,d.jsx)(f.A,{size:14}),c("conn.chats.add")]})}),(0,d.jsxs)("p",{className:"hint m0",children:[c("conn.chats.hint")," ",c("conn.chats.howto")]}),(0,d.jsx)(m.D0,{label:c("conn.aliases"),hint:c("conn.aliases.hint"),children:(0,d.jsx)("input",{className:"input",value:N,onChange:a=>O(a.target.value),placeholder:c("conn.aliases.placeholder")})})]})}),(0,d.jsx)(m.D0,{label:c("conn.files"),hint:c("conn.files.hint"),children:(0,d.jsx)(m.$q,{value:P?"on":"off",onChange:a=>Q("on"===a),options:[{id:"on",label:c("common.yes")},{id:"off",label:c("conn.files.off")}]})}),P&&(0,d.jsx)(m.D0,{label:c("conn.vision"),hint:c(R?"conn.vision.hint.other":"conn.vision.hint.agent"),children:(0,d.jsxs)("div",{className:"stack-s",children:[(0,d.jsx)(m.$q,{value:R?"other":"agent",onChange:a=>S("other"===a?{provider:"claude",model:"haiku"}:null),options:[{id:"agent",label:c("conn.vision.agent")},{id:"other",label:c("conn.vision.other")}]}),R&&(0,d.jsxs)("div",{className:"stack-s",children:[(0,d.jsx)("select",{className:"input",value:R.provider,onChange:a=>S({provider:a.target.value,model:""}),"aria-label":c("form.provider"),children:["claude","opencode","kiro"].map(a=>(0,d.jsx)("option",{value:a,children:"claude"===a?"Claude Code":"opencode"===a?"OpenCode":"Kiro"},a))}),(0,d.jsx)(m.CD,{provider:R.provider,value:R.model,onChange:a=>S({...R,model:a})})]})]})}),(0,d.jsx)(m.D0,{label:c("conn.lang"),children:(0,d.jsx)(m.$q,{value:D,onChange:E,options:[{id:"es",label:c("conn.lang.es")},{id:"en",label:c("conn.lang.en")}]})}),(0,d.jsx)(m.D0,{label:c("conn.silent"),children:(0,d.jsx)(m.$q,{value:F,onChange:G,options:["notice","send_text","ignore"].map(a=>({id:a,label:c(`conn.silent.${a}`)}))})}),(0,d.jsx)(m.D0,{label:c("conn.effort"),hint:c("conn.effort.hint"),children:(0,d.jsx)(m.$q,{value:H,onChange:I,options:[{id:"",label:c("conn.effort.default")},{id:"low",label:c("conn.effort.low")},{id:"medium",label:c("conn.effort.medium")},{id:"high",label:c("conn.effort.high")}]})}),(0,d.jsx)(m.D0,{label:c("conn.enabled"),hint:c("conn.enabled.hint"),children:(0,d.jsx)(m.$q,{value:T?"on":"off",onChange:a=>U("on"===a),options:[{id:"on",label:c("common.yes")},{id:"off",label:c("conn.status.stopped")}]})}),u&&(0,d.jsxs)("div",{className:"stack-s",children:[(0,d.jsx)("div",{className:"eyebrow",children:c("conn.threads.title")}),0===_.length?(0,d.jsx)("p",{className:"hint m0",children:c("conn.threads.empty")}):_.map(a=>(0,d.jsxs)("div",{className:"row gap-s small between",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:a.title||a.external_key})," ",(0,d.jsx)("span",{className:"muted mono",children:a.external_key})]}),(0,d.jsxs)("span",{className:"row gap-s muted",children:[a.muted&&(0,d.jsx)("span",{className:"gx-chip soft",children:c("conn.threads.muted")}),a.last_user?c("conn.threads.last",{user:a.last_user})+" \xb7 ":"",(0,k.KN)(a.last_activity),(0,d.jsx)("button",{type:"button",className:"btn ghost icon sm",onClick:()=>ap(a),title:c(a.muted?"conn.threads.unmute":"conn.threads.mute"),"aria-label":c(a.muted?"conn.threads.unmute":"conn.threads.mute"),children:a.muted?(0,d.jsx)(p.A,{size:14}):(0,d.jsx)(q.A,{size:14})})]})]},a.id))]})]}),ab&&(0,d.jsx)(m.TM,{danger:!0,title:c("conn.deleteTitle",{name:a.name}),body:c("conn.deleteBody"),confirmLabel:c("conn.delete"),onConfirm:at,onClose:()=>ac(!1)}),ad&&(0,d.jsx)(m.TM,{danger:!0,title:c("fa.unsaved.title"),body:c("fa.unsaved.body"),confirmLabel:c("fa.unsaved.discard"),cancelLabel:c("fa.unsaved.keep"),onClose:()=>ae(!1),onConfirm:b})]})}let v={connected:"ok",connecting:"run",error:"err",stopped:""};function w(){let{t:a}=(0,l.s9)(),{connections:b,agents:c,ready:n,refresh:o,error:p,retry:q}=(0,i.q5)(),[r,s]=(0,e.useState)(null);return(0,j.n)(()=>o(["connections"]),5e3,{immediate:!1}),(0,d.jsxs)("div",{className:"page",children:[(0,d.jsxs)("div",{className:"page-head",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{children:a("nav.connections")}),(0,d.jsx)("p",{children:a("conn.subtitle")})]}),(0,d.jsxs)("button",{className:"btn primary",onClick:()=>s("new"),children:[(0,d.jsx)(f.A,{size:16}),a("conn.new")]})]}),p&&(0,d.jsxs)(m.lZ,{kind:"err",children:[(0,d.jsx)("span",{children:p})," ",(0,d.jsx)("button",{type:"button",className:"btn sm",onClick:()=>void q(),children:a("fa.retry")})]}),n&&0===b.length?(0,d.jsx)(m.pp,{icon:(0,d.jsx)(g.A,{size:28}),title:a("conn.empty.title"),body:a("conn.empty.body"),action:(0,d.jsxs)("button",{className:"btn primary",onClick:()=>s("new"),children:[(0,d.jsx)(f.A,{size:16}),a("conn.new")]})}):(0,d.jsx)("div",{className:"conn-grid",children:b.map(b=>{let e=c.find(a=>a.id===b.agent_id);return(0,d.jsxs)("button",{type:"button",className:"card card-pad conncard",onClick:()=>s(b),children:[(0,d.jsxs)("div",{className:"row gap-s",children:[(0,d.jsx)(h.A,{size:16,"aria-hidden":!0}),(0,d.jsx)("b",{className:"grow tl",children:b.name}),(0,d.jsxs)("span",{className:"chip",children:[(0,d.jsx)("i",{className:`dot ${v[b.status.state]}`}),a(`conn.status.${b.enabled?b.status.state:"stopped"}`)]})]}),"error"===b.status.state&&b.enabled&&(0,d.jsx)("p",{className:"small m0 tl fa-err",children:b.status.detail}),(0,d.jsx)("div",{className:"row gap-s",children:e?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(m._h,{agent:e,size:"sm"}),(0,d.jsx)("span",{children:e.name})]}):(0,d.jsx)("span",{className:"muted small",children:a("conn.noAgent")})}),(0,d.jsxs)("div",{className:"muted small tl",children:["slack"===b.kind?a("conn.kind.slack"):a("conn.kind.telegram"),b.status.detail&&"connected"===b.status.state?` \xb7 ${b.status.detail}`:""," \xb7 ",a("conn.threads",{count:b.thread_count}),b.status.lastEventAt?` \xb7 ${a("conn.lastEvent",{when:(0,k.KN)(b.status.lastEventAt)})}`:""]})]},b.id)})}),r&&(0,d.jsx)(u,{connection:"new"===r?void 0:r,onClose:()=>s(null)})]})}},55511:a=>{"use strict";a.exports=require("crypto")},58664:(a,b,c)=>{"use strict";c.d(b,{n:()=>e});var d=c(17027);function e(a,b,{enabled:c=!0,pauseHidden:f=!0,immediate:g=!0,onError:h}={}){(0,d.useRef)(a).current=a,(0,d.useRef)(h).current=h}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},83823:(a,b,c)=>{Promise.resolve().then(c.bind(c,5420))},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},88404:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]])},91313:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(51537).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},92071:(a,b,c)=>{Promise.resolve().then(c.bind(c,54462))}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[691,435,274],()=>b(b.s=5189));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../node_modules/next/package.json","../../../package.json","../../chunks/274.js","../../chunks/423.js","../../chunks/691.js","../../chunks/692.js","../../chunks/790.js","../../chunks/919.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../node_modules/next/package.json","../../../package.json","../../chunks/274.js","../../chunks/423.js","../../chunks/435.js","../../chunks/691.js","../../chunks/692.js","../../chunks/919.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}