@devflow-tools/devflow 0.18.3 → 0.18.5

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 (174) hide show
  1. package/README.md +7 -3
  2. package/dist/cli.js +76 -80
  3. package/dist/dashboard/404.html +1 -1
  4. package/dist/dashboard/__next.__PAGE__.txt +4 -4
  5. package/dist/dashboard/__next._full.txt +4 -4
  6. package/dist/dashboard/__next._tree.txt +2 -2
  7. package/dist/dashboard/_next/static/EvEIGY0RpP7e0gDVLEPam/_buildManifest.js +1 -0
  8. package/dist/dashboard/_next/static/chunks/150-819052fe1a7b4063.js +1 -0
  9. package/dist/dashboard/_next/static/chunks/237-34a3fbfba7ff0de5.js +1 -0
  10. package/dist/dashboard/_next/static/chunks/407.105cf348816ce79d.js +1 -0
  11. package/dist/dashboard/_next/static/chunks/707.559b5bb6b367b0d8.js +1 -0
  12. package/dist/dashboard/_next/static/chunks/736.a061e521ba738792.js +1 -0
  13. package/dist/dashboard/_next/static/chunks/825-8d69033cd30489b9.js +1 -0
  14. package/dist/dashboard/_next/static/chunks/914-8a8dbb0d7c5f49dd.js +1 -0
  15. package/dist/dashboard/_next/static/chunks/app/accuracy/{page-72ef9620a52e345e.js → page-19a973c3ff0d74c7.js} +1 -1
  16. package/dist/dashboard/_next/static/chunks/app/context/page-093f938b03fefec3.js +1 -0
  17. package/dist/dashboard/_next/static/chunks/app/executions/page-3dc6f25a8270833f.js +1 -0
  18. package/dist/dashboard/_next/static/chunks/app/graph/page-27ca55336f1e5908.js +1 -0
  19. package/dist/dashboard/_next/static/chunks/app/intelligence/knowledge/page-e6a21c234798623f.js +1 -0
  20. package/dist/dashboard/_next/static/chunks/app/intelligence/memory/page-e6a21c234798623f.js +1 -0
  21. package/dist/dashboard/_next/static/chunks/app/intelligence/page-e6a21c234798623f.js +1 -0
  22. package/dist/dashboard/_next/static/chunks/app/knowledge/page-ad48a6c980322292.js +1 -0
  23. package/dist/dashboard/_next/static/chunks/app/layout-5c75ea62c5543a6e.js +1 -0
  24. package/dist/dashboard/_next/static/chunks/app/memory/page-88a6b6bce5fc6c54.js +1 -0
  25. package/dist/dashboard/_next/static/chunks/app/page-0dd1d745d94c448e.js +1 -0
  26. package/dist/dashboard/_next/static/chunks/app/replay/{page-7a6293c77eafe8b4.js → page-6decdec1bad1621e.js} +1 -1
  27. package/dist/dashboard/_next/static/chunks/app/runs/[id]/page-ae676b7ed6c7f061.js +1 -0
  28. package/dist/dashboard/_next/static/chunks/app/runs/page-33854ca5a31a5f29.js +1 -0
  29. package/dist/dashboard/_next/static/chunks/app/timeline/{page-c1f1b6c081532456.js → page-1b027d09e3ee35fe.js} +1 -1
  30. package/dist/dashboard/_next/static/chunks/app/tool-metrics/page-dc73b4433dbb9a04.js +1 -0
  31. package/dist/dashboard/_next/static/chunks/app/workflows/page-da494d4bd74cf25f.js +1 -0
  32. package/dist/dashboard/_next/static/chunks/webpack-c52cf5cbd2898ec1.js +1 -0
  33. package/dist/dashboard/_next/static/css/ec6498e6b4f4227c.css +3 -0
  34. package/dist/dashboard/_not-found/__next._full.txt +3 -3
  35. package/dist/dashboard/_not-found/__next._not-found.__PAGE__.txt +3 -3
  36. package/dist/dashboard/_not-found/__next._tree.txt +2 -2
  37. package/dist/dashboard/_not-found.html +1 -1
  38. package/dist/dashboard/_not-found.txt +3 -3
  39. package/dist/dashboard/accuracy/__next._full.txt +4 -4
  40. package/dist/dashboard/accuracy/__next._tree.txt +2 -2
  41. package/dist/dashboard/accuracy/__next.accuracy.__PAGE__.txt +4 -4
  42. package/dist/dashboard/accuracy.html +1 -1
  43. package/dist/dashboard/accuracy.txt +4 -4
  44. package/dist/dashboard/benchmark/__next._full.txt +4 -4
  45. package/dist/dashboard/benchmark/__next._tree.txt +2 -2
  46. package/dist/dashboard/benchmark/__next.benchmark.__PAGE__.txt +4 -4
  47. package/dist/dashboard/benchmark.html +1 -1
  48. package/dist/dashboard/benchmark.txt +4 -4
  49. package/dist/dashboard/context/__next._full.txt +4 -4
  50. package/dist/dashboard/context/__next._tree.txt +2 -2
  51. package/dist/dashboard/context/__next.context.__PAGE__.txt +4 -4
  52. package/dist/dashboard/context.html +1 -1
  53. package/dist/dashboard/context.txt +4 -4
  54. package/dist/dashboard/doctor/__next._full.txt +4 -4
  55. package/dist/dashboard/doctor/__next._tree.txt +2 -2
  56. package/dist/dashboard/doctor/__next.doctor.__PAGE__.txt +4 -4
  57. package/dist/dashboard/doctor.html +1 -1
  58. package/dist/dashboard/doctor.txt +4 -4
  59. package/dist/dashboard/executions/__next._full.txt +4 -4
  60. package/dist/dashboard/executions/__next._tree.txt +2 -2
  61. package/dist/dashboard/executions/__next.executions.__PAGE__.txt +4 -4
  62. package/dist/dashboard/executions.html +1 -1
  63. package/dist/dashboard/executions.txt +4 -4
  64. package/dist/dashboard/graph/__next._full.txt +4 -4
  65. package/dist/dashboard/graph/__next._tree.txt +2 -2
  66. package/dist/dashboard/graph/__next.graph.__PAGE__.txt +4 -4
  67. package/dist/dashboard/graph.html +1 -1
  68. package/dist/dashboard/graph.txt +4 -4
  69. package/dist/dashboard/index.html +1 -1
  70. package/dist/dashboard/index.txt +4 -4
  71. package/dist/dashboard/intelligence/__next._full.txt +19 -0
  72. package/dist/dashboard/intelligence/__next._tree.txt +2 -0
  73. package/dist/dashboard/intelligence/__next.intelligence.__PAGE__.txt +25 -0
  74. package/dist/dashboard/intelligence/knowledge/__next._full.txt +19 -0
  75. package/dist/dashboard/intelligence/knowledge/__next._tree.txt +2 -0
  76. package/dist/dashboard/intelligence/knowledge/__next.intelligence.knowledge.__PAGE__.txt +26 -0
  77. package/dist/dashboard/intelligence/knowledge.html +1 -0
  78. package/dist/dashboard/intelligence/knowledge.txt +19 -0
  79. package/dist/dashboard/intelligence/memory/__next._full.txt +19 -0
  80. package/dist/dashboard/intelligence/memory/__next._tree.txt +2 -0
  81. package/dist/dashboard/intelligence/memory/__next.intelligence.memory.__PAGE__.txt +26 -0
  82. package/dist/dashboard/intelligence/memory.html +1 -0
  83. package/dist/dashboard/intelligence/memory.txt +19 -0
  84. package/dist/dashboard/intelligence.html +1 -0
  85. package/dist/dashboard/intelligence.txt +19 -0
  86. package/dist/dashboard/knowledge/__next._full.txt +4 -4
  87. package/dist/dashboard/knowledge/__next._tree.txt +2 -2
  88. package/dist/dashboard/knowledge/__next.knowledge.__PAGE__.txt +4 -4
  89. package/dist/dashboard/knowledge.html +1 -1
  90. package/dist/dashboard/knowledge.txt +4 -4
  91. package/dist/dashboard/locales/en.json +60 -1
  92. package/dist/dashboard/locales/zh.json +60 -1
  93. package/dist/dashboard/memory/__next._full.txt +4 -4
  94. package/dist/dashboard/memory/__next._tree.txt +2 -2
  95. package/dist/dashboard/memory/__next.memory.__PAGE__.txt +4 -4
  96. package/dist/dashboard/memory.html +1 -1
  97. package/dist/dashboard/memory.txt +4 -4
  98. package/dist/dashboard/replay/__next._full.txt +4 -4
  99. package/dist/dashboard/replay/__next._tree.txt +2 -2
  100. package/dist/dashboard/replay/__next.replay.__PAGE__.txt +4 -4
  101. package/dist/dashboard/replay.html +1 -1
  102. package/dist/dashboard/replay.txt +4 -4
  103. package/dist/dashboard/runs/_/__next._full.txt +4 -4
  104. package/dist/dashboard/runs/_/__next._tree.txt +2 -2
  105. package/dist/dashboard/runs/_/__next.runs.$d$id.__PAGE__.txt +4 -4
  106. package/dist/dashboard/runs/_.html +1 -1
  107. package/dist/dashboard/runs/_.txt +4 -4
  108. package/dist/dashboard/runs/__next._full.txt +4 -4
  109. package/dist/dashboard/runs/__next._tree.txt +2 -2
  110. package/dist/dashboard/runs/__next.runs.__PAGE__.txt +4 -4
  111. package/dist/dashboard/runs.html +1 -1
  112. package/dist/dashboard/runs.txt +4 -4
  113. package/dist/dashboard/settings/__next._full.txt +4 -4
  114. package/dist/dashboard/settings/__next._tree.txt +2 -2
  115. package/dist/dashboard/settings/__next.settings.__PAGE__.txt +4 -4
  116. package/dist/dashboard/settings.html +1 -1
  117. package/dist/dashboard/settings.txt +4 -4
  118. package/dist/dashboard/timeline/__next._full.txt +4 -4
  119. package/dist/dashboard/timeline/__next._tree.txt +2 -2
  120. package/dist/dashboard/timeline/__next.timeline.__PAGE__.txt +4 -4
  121. package/dist/dashboard/timeline.html +1 -1
  122. package/dist/dashboard/timeline.txt +4 -4
  123. package/dist/dashboard/tool-metrics/__next._full.txt +4 -4
  124. package/dist/dashboard/tool-metrics/__next._tree.txt +2 -2
  125. package/dist/dashboard/tool-metrics/__next.tool-metrics.__PAGE__.txt +4 -4
  126. package/dist/dashboard/tool-metrics.html +1 -1
  127. package/dist/dashboard/tool-metrics.txt +4 -4
  128. package/dist/dashboard/workflows/__next._full.txt +4 -4
  129. package/dist/dashboard/workflows/__next._tree.txt +2 -2
  130. package/dist/dashboard/workflows/__next.workflows.__PAGE__.txt +4 -4
  131. package/dist/dashboard/workflows.html +1 -1
  132. package/dist/dashboard/workflows.txt +4 -4
  133. package/dist/hooks/hook-daemon.js +28 -27
  134. package/dist/hooks/post-tool-use-failure.js +2 -2
  135. package/dist/hooks/post-tool-use.js +6 -6
  136. package/dist/hooks/pre-compact.js +3 -3
  137. package/dist/hooks/pre-tool-use.js +4 -4
  138. package/dist/hooks/server-bootstrap.js +1 -109
  139. package/dist/hooks/session-end.js +5 -5
  140. package/dist/hooks/stop.js +9 -9
  141. package/dist/hooks/user-prompt-submit.js +8 -8
  142. package/dist/plugin/.claude-plugin/plugin.json +1 -1
  143. package/dist/plugin/dist/command-registry.json +5 -5
  144. package/dist/plugin/dist/hooks/hook-daemon.js +28 -27
  145. package/dist/plugin/dist/hooks/post-tool-use-failure.js +2 -2
  146. package/dist/plugin/dist/hooks/post-tool-use.js +6 -6
  147. package/dist/plugin/dist/hooks/pre-compact.js +3 -3
  148. package/dist/plugin/dist/hooks/pre-tool-use.js +4 -4
  149. package/dist/plugin/dist/hooks/server-bootstrap.js +1 -109
  150. package/dist/plugin/dist/hooks/session-end.js +5 -5
  151. package/dist/plugin/dist/hooks/stop.js +9 -9
  152. package/dist/plugin/dist/hooks/user-prompt-submit.js +8 -8
  153. package/dist/plugin/package.json +13 -13
  154. package/dist/plugin/skills/start/SKILL.md +20 -34
  155. package/package.json +17 -15
  156. package/plugin-registry.json +29 -29
  157. package/dist/dashboard/_next/static/JAFPWp0Do4yhq-QzxqyH3/_buildManifest.js +0 -1
  158. package/dist/dashboard/_next/static/chunks/240-8f45a6db4f75278b.js +0 -1
  159. package/dist/dashboard/_next/static/chunks/722-001c96b6723e043d.js +0 -1
  160. package/dist/dashboard/_next/static/chunks/914-7e538089692b7d1b.js +0 -1
  161. package/dist/dashboard/_next/static/chunks/app/context/page-070c5ebfffb71f1b.js +0 -1
  162. package/dist/dashboard/_next/static/chunks/app/executions/page-52f9a045f91548cc.js +0 -1
  163. package/dist/dashboard/_next/static/chunks/app/graph/page-c3487fe2482e734e.js +0 -1
  164. package/dist/dashboard/_next/static/chunks/app/knowledge/page-e184866ed2e92ef1.js +0 -1
  165. package/dist/dashboard/_next/static/chunks/app/layout-a28c30513212e363.js +0 -1
  166. package/dist/dashboard/_next/static/chunks/app/memory/page-36e047153bedfce2.js +0 -1
  167. package/dist/dashboard/_next/static/chunks/app/page-1daa0024f1e5dd18.js +0 -1
  168. package/dist/dashboard/_next/static/chunks/app/runs/[id]/page-7a92db57d7fb2265.js +0 -1
  169. package/dist/dashboard/_next/static/chunks/app/runs/page-36baf64267e36b28.js +0 -1
  170. package/dist/dashboard/_next/static/chunks/app/tool-metrics/page-1c5ddf6239cf1734.js +0 -1
  171. package/dist/dashboard/_next/static/chunks/app/workflows/page-e2ed74df546c3568.js +0 -1
  172. package/dist/dashboard/_next/static/chunks/webpack-5f4649c40b052b9f.js +0 -1
  173. package/dist/dashboard/_next/static/css/6912a202a7d0c151.css +0 -3
  174. /package/dist/dashboard/_next/static/{JAFPWp0Do4yhq-QzxqyH3 → EvEIGY0RpP7e0gDVLEPam}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="zh" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/6912a202a7d0c151.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-5f4649c40b052b9f.js"/><script src="/_next/static/chunks/87c73c54-5c63d5698583b654.js" async=""></script><script src="/_next/static/chunks/968-13e9b4b491d5e8de.js" async=""></script><script src="/_next/static/chunks/main-app-44f3d55a6e6befbb.js" async=""></script><script src="/_next/static/chunks/820-9606b69ff6f7f9b9.js" async=""></script><script src="/_next/static/chunks/567-65014d15b90b623c.js" async=""></script><script src="/_next/static/chunks/993-01834e67bc353d44.js" async=""></script><script src="/_next/static/chunks/240-8f45a6db4f75278b.js" async=""></script><script src="/_next/static/chunks/722-001c96b6723e043d.js" async=""></script><script src="/_next/static/chunks/914-7e538089692b7d1b.js" async=""></script><script src="/_next/static/chunks/app/layout-a28c30513212e363.js" async=""></script><meta name="robots" content="noindex"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="h-dvh overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-dvh items-center justify-center text-sm text-muted-foreground">Loading...</div><script src="/_next/static/chunks/webpack-5f4649c40b052b9f.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[589,[],\"ClientSegmentRoot\"]\n3:I[6248,[\"820\",\"static/chunks/820-9606b69ff6f7f9b9.js\",\"567\",\"static/chunks/567-65014d15b90b623c.js\",\"993\",\"static/chunks/993-01834e67bc353d44.js\",\"240\",\"static/chunks/240-8f45a6db4f75278b.js\",\"722\",\"static/chunks/722-001c96b6723e043d.js\",\"914\",\"static/chunks/914-7e538089692b7d1b.js\",\"177\",\"static/chunks/app/layout-a28c30513212e363.js\"],\"default\"]\n4:I[99630,[],\"\"]\n5:I[1380,[],\"\"]\n7:I[30887,[],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\nb:I[30887,[],\"ViewportBoundary\"]\nd:I[30887,[],\"MetadataBoundary\"]\nf:I[15718,[],\"default\",1]\n:HL[\"/_next/static/css/6912a202a7d0c151.css\",\"style\"]\na:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6912a202a7d0c151.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"$L2\",null,{\"Component\":\"$3\",\"slots\":{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]},\"serverProvidedParams\":{\"params\":{},\"promises\":[\"$@6\"]}}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,null]},null,false,\"$a\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"JAFPWp0Do4yhq-QzxqyH3\"}\na:C\n6:\"$0:f:0:1:0:props:children:1:props:serverProvidedParams:params\"\nc:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\ne:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="zh" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/ec6498e6b4f4227c.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c52cf5cbd2898ec1.js"/><script src="/_next/static/chunks/87c73c54-5c63d5698583b654.js" async=""></script><script src="/_next/static/chunks/968-13e9b4b491d5e8de.js" async=""></script><script src="/_next/static/chunks/main-app-44f3d55a6e6befbb.js" async=""></script><script src="/_next/static/chunks/820-9606b69ff6f7f9b9.js" async=""></script><script src="/_next/static/chunks/567-65014d15b90b623c.js" async=""></script><script src="/_next/static/chunks/993-01834e67bc353d44.js" async=""></script><script src="/_next/static/chunks/825-8d69033cd30489b9.js" async=""></script><script src="/_next/static/chunks/237-34a3fbfba7ff0de5.js" async=""></script><script src="/_next/static/chunks/914-8a8dbb0d7c5f49dd.js" async=""></script><script src="/_next/static/chunks/app/layout-5c75ea62c5543a6e.js" async=""></script><meta name="robots" content="noindex"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="h-dvh overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-dvh items-center justify-center text-sm text-muted-foreground">Loading...</div><script src="/_next/static/chunks/webpack-c52cf5cbd2898ec1.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[589,[],\"ClientSegmentRoot\"]\n3:I[30841,[\"820\",\"static/chunks/820-9606b69ff6f7f9b9.js\",\"567\",\"static/chunks/567-65014d15b90b623c.js\",\"993\",\"static/chunks/993-01834e67bc353d44.js\",\"825\",\"static/chunks/825-8d69033cd30489b9.js\",\"237\",\"static/chunks/237-34a3fbfba7ff0de5.js\",\"914\",\"static/chunks/914-8a8dbb0d7c5f49dd.js\",\"177\",\"static/chunks/app/layout-5c75ea62c5543a6e.js\"],\"default\"]\n4:I[99630,[],\"\"]\n5:I[1380,[],\"\"]\n7:I[30887,[],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\nb:I[30887,[],\"ViewportBoundary\"]\nd:I[30887,[],\"MetadataBoundary\"]\nf:I[15718,[],\"default\",1]\n:HL[\"/_next/static/css/ec6498e6b4f4227c.css\",\"style\"]\na:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/ec6498e6b4f4227c.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"$L2\",null,{\"Component\":\"$3\",\"slots\":{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]},\"serverProvidedParams\":{\"params\":{},\"promises\":[\"$@6\"]}}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,null]},null,false,\"$a\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"EvEIGY0RpP7e0gDVLEPam\"}\na:C\n6:\"$0:f:0:1:0:props:children:1:props:serverProvidedParams:params\"\nc:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\ne:[]\n"])</script></body></html>
@@ -1,16 +1,16 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[15698,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","914","static/chunks/914-7e538089692b7d1b.js","974","static/chunks/app/page-1daa0024f1e5dd18.js"],"ProjectOverview"]
2
+ 2:I[91180,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","825","static/chunks/825-8d69033cd30489b9.js","150","static/chunks/150-819052fe1a7b4063.js","914","static/chunks/914-8a8dbb0d7c5f49dd.js","974","static/chunks/app/page-0dd1d745d94c448e.js"],"DashboardHome"]
3
3
  3:I[30887,[],"OutletBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  8:I[30887,[],"ViewportBoundary"]
6
6
  9:I[30887,[],"MetadataBoundary"]
7
7
  b:I[589,[],"ClientSegmentRoot"]
8
- c:I[6248,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","240","static/chunks/240-8f45a6db4f75278b.js","722","static/chunks/722-001c96b6723e043d.js","914","static/chunks/914-7e538089692b7d1b.js","177","static/chunks/app/layout-a28c30513212e363.js"],"default"]
8
+ c:I[30841,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","825","static/chunks/825-8d69033cd30489b9.js","237","static/chunks/237-34a3fbfba7ff0de5.js","914","static/chunks/914-8a8dbb0d7c5f49dd.js","177","static/chunks/app/layout-5c75ea62c5543a6e.js"],"default"]
9
9
  d:I[99630,[],""]
10
10
  e:I[1380,[],""]
11
- :HL["/_next/static/css/6912a202a7d0c151.css","style"]
11
+ :HL["/_next/static/css/ec6498e6b4f4227c.css","style"]
12
12
  7:X
13
- 0:{"buildId":"JAFPWp0Do4yhq-QzxqyH3","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{}],null,["$","$L3",null,{"children":["$","$4",null,{"name":"Next.MetadataOutlet","children":"$@5"}]}]]}],"isPartial":"$@6","staleTime":"$7","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$L8",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[]}]}]}],null]}],"isPartial":"$@a","staleTime":"$7","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6912a202a7d0c151.css","precedence":"next"}]],["$","$Lb",null,{"Component":"$c","slots":{"children":["$","$Ld",null,{"parallelRouterKey":"children","template":["$","$Le",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]},"serverProvidedParams":{"params":{},"promises":["$@f"]}}]]}],"isPartial":"$@10","staleTime":"$7","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@11","rootVaryParams":null,"needsRuntimeRequest":"$@12"}
13
+ 0:{"buildId":"EvEIGY0RpP7e0gDVLEPam","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{}],null,["$","$L3",null,{"children":["$","$4",null,{"name":"Next.MetadataOutlet","children":"$@5"}]}]]}],"isPartial":"$@6","staleTime":"$7","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$L8",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[]}]}]}],null]}],"isPartial":"$@a","staleTime":"$7","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ec6498e6b4f4227c.css","precedence":"next"}]],["$","$Lb",null,{"Component":"$c","slots":{"children":["$","$Ld",null,{"parallelRouterKey":"children","template":["$","$Le",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]},"serverProvidedParams":{"params":{},"promises":["$@f"]}}]]}],"isPartial":"$@10","staleTime":"$7","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@11","rootVaryParams":null,"needsRuntimeRequest":"$@12"}
14
14
  5:null
15
15
  f:"$0:data:2:rsc:props:children:1:props:serverProvidedParams:params"
16
16
  7:300
@@ -1,16 +1,16 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[589,[],"ClientSegmentRoot"]
3
- 3:I[6248,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","240","static/chunks/240-8f45a6db4f75278b.js","722","static/chunks/722-001c96b6723e043d.js","914","static/chunks/914-7e538089692b7d1b.js","177","static/chunks/app/layout-a28c30513212e363.js"],"default"]
3
+ 3:I[30841,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","825","static/chunks/825-8d69033cd30489b9.js","237","static/chunks/237-34a3fbfba7ff0de5.js","914","static/chunks/914-8a8dbb0d7c5f49dd.js","177","static/chunks/app/layout-5c75ea62c5543a6e.js"],"default"]
4
4
  4:I[99630,[],""]
5
5
  5:I[1380,[],""]
6
- 7:I[15698,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","914","static/chunks/914-7e538089692b7d1b.js","974","static/chunks/app/page-1daa0024f1e5dd18.js"],"ProjectOverview"]
6
+ 7:I[91180,["820","static/chunks/820-9606b69ff6f7f9b9.js","567","static/chunks/567-65014d15b90b623c.js","993","static/chunks/993-01834e67bc353d44.js","825","static/chunks/825-8d69033cd30489b9.js","150","static/chunks/150-819052fe1a7b4063.js","914","static/chunks/914-8a8dbb0d7c5f49dd.js","974","static/chunks/app/page-0dd1d745d94c448e.js"],"DashboardHome"]
7
7
  8:I[30887,[],"OutletBoundary"]
8
8
  9:"$Sreact.suspense"
9
9
  b:I[30887,[],"ViewportBoundary"]
10
10
  d:I[30887,[],"MetadataBoundary"]
11
11
  f:I[15718,[],"default",1]
12
- :HL["/_next/static/css/6912a202a7d0c151.css","style"]
13
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6912a202a7d0c151.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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"}]},"serverProvidedParams":{"params":{},"promises":["$@6"]}}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{}],null,["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],null]}],false]],"m":"$undefined","G":["$f",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"JAFPWp0Do4yhq-QzxqyH3"}
12
+ :HL["/_next/static/css/ec6498e6b4f4227c.css","style"]
13
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ec6498e6b4f4227c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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"}]},"serverProvidedParams":{"params":{},"promises":["$@6"]}}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{}],null,["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],null]}],false]],"m":"$undefined","G":["$f",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"EvEIGY0RpP7e0gDVLEPam"}
14
14
  6:"$0:f:0:1:0:props:children:1:props:serverProvidedParams:params"
15
15
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
16
16
  a:null
@@ -1,2 +1,2 @@
1
- :HL["/_next/static/css/6912a202a7d0c151.css","style"]
2
- 0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"JAFPWp0Do4yhq-QzxqyH3"}
1
+ :HL["/_next/static/css/ec6498e6b4f4227c.css","style"]
2
+ 0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"EvEIGY0RpP7e0gDVLEPam"}
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:20,errorRate:1e-4,numBits:384,numHashes:14,bitArray:[0,1,1,1,1,0,1,1,0,0,1,0,0,0,1,1,0,1,0,0,0,0,1,0,0,1,0,0,1,0,1,0,1,0,0,0,1,1,0,1,0,1,1,0,0,1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,1,0,1,1,0,1,1,0,0,0,1,0,1,1,1,1,1,0,1,1,0,0,1,0,0,0,1,0,1,0,1,1,1,0,1,0,0,0,0,1,1,0,0,0,1,0,1,1,1,0,0,1,1,1,1,1,0,0,1,1,0,0,0,1,1,0,1,1,0,1,0,0,0,1,1,1,0,0,0,1,1,1,0,1,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,0,0,0,1,0,0,0,0,1,0,0,1,0,1,1,0,0,1,1,1,0,0,1,1,1,1,0,1,0,1,0,0,1,0,1,1,0,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,0,0,1,1,0,0,1,0,1,1,0,1,0,0,0,0,1,1,0,1,1,0,1,1,1,1,1,1,0,0,0,1,1,0,1,0,1,1,0,1,0,1,1,0,0,0,0,0,0,1,0,0,0,1,1,1,1,0,1,1,1,1,1,1,0,0,0,1,0,1,1,1,1,0,0,0,0,1,0,0,1,0,0,0,0,1,1,0,1,0,1,1,0]},__routerFilterDynamic:{numItems:1,errorRate:1e-4,numBits:20,numHashes:14,bitArray:[1,0,0,1,0,0,0,1,0,1,0,1,0,1,1,0,1,1,1,0]},sortedPages:["/_app"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{3140:(e,t,a)=>{e.exports=a(48558)},8490:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},14796:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},19851:(e,t,a)=>{a.d(t,{vt:()=>s});var r=a(27650),l=a(7620),n=a(3140);let{useDebugValue:d}=l,{useSyncExternalStoreWithSelector:u}=n,i=!1,o=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,r.y)(e):e,a=(e,a)=>(function(e,t=e=>e,a){a&&!i&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),i=!0);let r=u(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,a);return d(r),r})(t,e,a);return Object.assign(a,t),a},s=e=>e?o(e):o},27650:(e,t,a)=>{a.d(t,{y:()=>l});let r=e=>{let t,a=new Set,r=(e,r)=>{let l="function"==typeof e?e(t):e;if(!Object.is(l,t)){let e=t;t=(null!=r?r:"object"!=typeof l||null===l)?l:Object.assign({},t,l),a.forEach(a=>a(t,e))}},l=()=>t,n={setState:r,getState:l,getInitialState:()=>d,subscribe:e=>(a.add(e),()=>a.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),a.clear()}},d=t=e(r,l,n);return n},l=e=>e?r(e):r},28819:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]])},30307:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},36645:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},45894:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("FolderOpen",[["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",key:"usdka0"}]])},48558:(e,t,a)=>{var r=a(7620),l=a(16574),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},d=l.useSyncExternalStore,u=r.useRef,i=r.useEffect,o=r.useMemo,s=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,a,r,l){var c=u(null);if(null===c.current){var h={hasValue:!1,value:null};c.current=h}else h=c.current;var y=d(e,(c=o(function(){function e(e){if(!i){if(i=!0,d=e,e=r(e),void 0!==l&&h.hasValue){var t=h.value;if(l(t,e))return u=t}return u=e}if(t=u,n(d,e))return t;var a=r(e);return void 0!==l&&l(t,a)?(d=e,t):(d=e,u=a)}var d,u,i=!1,o=void 0===a?null:a;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,a,r,l]))[0],c[1]);return i(function(){h.hasValue=!0,h.value=y},[y]),s(y),y}},56242:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},57917:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("FolderGit2",[["path",{d:"M9 20H4a2 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.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]])},60527:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},61469:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]])},63322:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},76990:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).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"}]])},78516:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("Box",[["path",{d:"M21 8a2 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",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},81007:(e,t,a)=>{a.d(t,{A:()=>u});var r=a(7620);let l=(...e)=>e.filter((e,t,a)=>!!e&&a.indexOf(e)===t).join(" ");var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let d=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:d,className:u="",children:i,iconNode:o,...s},c)=>(0,r.createElement)("svg",{ref:c,...n,width:t,height:t,stroke:e,strokeWidth:d?24*Number(a)/Number(t):a,className:l("lucide",u),...s},[...o.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(i)?i:[i]])),u=(e,t)=>{let a=(0,r.forwardRef)(({className:a,...n},u)=>(0,r.createElement)(d,{ref:u,iconNode:t,className:l(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,a),...n}));return a.displayName=`${e}`,a}},91397:(e,t,a)=>{a.d(t,{F:()=>d});var r=a(9917);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=r.$,d=(e,t)=>a=>{var r;if((null==t?void 0:t.variants)==null)return n(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:d,defaultVariants:u}=t,i=Object.keys(d).map(e=>{let t=null==a?void 0:a[e],r=null==u?void 0:u[e];if(null===t)return null;let n=l(t)||l(r);return d[e][n]}),o=a&&Object.entries(a).reduce((e,t)=>{let[a,r]=t;return void 0===r||(e[a]=r),e},{});return n(e,i,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:a,className:r,...l}=t;return Object.entries(l).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...u,...o}[t]):({...u,...o})[t]===a})?[...e,a,r]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}},92402:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},92470:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]])},93441:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(81007).A)("FolderSync",[["path",{d:"M9 20H4a2 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.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[237],{3140:(e,t,i)=>{e.exports=i(48558)},7920:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},19851:(e,t,i)=>{i.d(t,{vt:()=>h});var r=i(27650),a=i(7620),s=i(3140);let{useDebugValue:n}=a,{useSyncExternalStoreWithSelector:o}=s,u=!1,l=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,r.y)(e):e,i=(e,i)=>(function(e,t=e=>e,i){i&&!u&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),u=!0);let r=o(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,i);return n(r),r})(t,e,i);return Object.assign(i,t),i},h=e=>e?l(e):l},22681:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},22996:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("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",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["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",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["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",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]])},23555:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},27650:(e,t,i)=>{i.d(t,{y:()=>a});let r=e=>{let t,i=new Set,r=(e,r)=>{let a="function"==typeof e?e(t):e;if(!Object.is(a,t)){let e=t;t=(null!=r?r:"object"!=typeof a||null===a)?a:Object.assign({},t,a),i.forEach(i=>i(t,e))}},a=()=>t,s={setState:r,getState:a,getInitialState:()=>n,subscribe:e=>(i.add(e),()=>i.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),i.clear()}},n=t=e(r,a,s);return s},a=e=>e?r(e):r},30774:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},36645:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},37270:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},40766:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},42154:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},43028:(e,t,i)=>{i.d(t,{A:()=>x});let{slice:r,forEach:a}=[],s=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,n=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"},r=encodeURIComponent(t),a=`${e}=${r}`;if(i.maxAge>0){let e=i.maxAge-0;if(Number.isNaN(e))throw Error("maxAge should be a Number");a+=`; Max-Age=${Math.floor(e)}`}if(i.domain){if(!s.test(i.domain))throw TypeError("option domain is invalid");a+=`; Domain=${i.domain}`}if(i.path){if(!s.test(i.path))throw TypeError("option path is invalid");a+=`; Path=${i.path}`}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invalid");a+=`; Expires=${i.expires.toUTCString()}`}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"none":a+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return i.partitioned&&(a+="; Partitioned"),a},o={create(e,t,i,r){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};i&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+60*i*1e3)),r&&(a.domain=r),document.cookie=n(e,t,a)},read(e){let t=`${e}=`,i=document.cookie.split(";");for(let e=0;e<i.length;e++){let r=i[e];for(;" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var u={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&"u">typeof document)return o.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:i,cookieMinutes:r,cookieDomain:a,cookieOptions:s}=t;i&&"u">typeof document&&o.create(i,e,r,a,s)}},l={name:"querystring",lookup(e){let t,{lookupQuerystring:i}=e;if("u">typeof window){let{search:e}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));let r=e.substring(1).split("&");for(let e=0;e<r.length;e++){let a=r[e].indexOf("=");a>0&&r[e].substring(0,a)===i&&(t=r[e].substring(a+1))}}return t}},h={name:"hash",lookup(e){let t,{lookupHash:i,lookupFromHashIndex:r}=e;if("u">typeof window){let{hash:e}=window.location;if(e&&e.length>2){let a=e.substring(1);if(i){let e=a.split("&");for(let r=0;r<e.length;r++){let a=e[r].indexOf("=");a>0&&e[r].substring(0,a)===i&&(t=e[r].substring(a+1))}}if(t)return t;if(!t&&r>-1){let t=e.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(t))return;return t["number"==typeof r?r:0]?.replace("/","")}}}return t}};let c=null,d=()=>{if(null!==c)return c;try{if(!(c="u">typeof window&&null!==window.localStorage))return!1;let e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){c=!1}return c};var f={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&d())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:i}=t;i&&d()&&window.localStorage.setItem(i,e)}};let p=null,y=()=>{if(null!==p)return p;try{if(!(p="u">typeof window&&null!==window.sessionStorage))return!1;let e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){p=!1}return p};var g={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&y())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:i}=t;i&&y()&&window.sessionStorage.setItem(i,e)}},m={name:"navigator",lookup(e){let t=[];if("u">typeof navigator){let{languages:e,userLanguage:i,language:r}=navigator;if(e)for(let i=0;i<e.length;i++)t.push(e[i]);i&&t.push(i),r&&t.push(r)}return t.length>0?t:void 0}},v={name:"htmlTag",lookup(e){let t,{htmlTag:i}=e,r=i||("u">typeof document?document.documentElement:null);return r&&"function"==typeof r.getAttribute&&(t=r.getAttribute("lang")),t}},w={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("u"<typeof window)return;let i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(Array.isArray(i))return i["number"==typeof t?t:0]?.replace("/","")}},b={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e,i="u">typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i["number"==typeof t?t+1:1]}};let k=!1;try{document.cookie,k=!0}catch(e){}let A=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];k||A.splice(1,1);class x{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return a.call(r.call(arguments,1),t=>{if(t)for(let i in t)void 0===e[i]&&(e[i]=t[i])}),e}(t,this.options||{},{order:A,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(u),this.addDetector(l),this.addDetector(f),this.addDetector(g),this.addDetector(m),this.addDetector(v),this.addDetector(w),this.addDetector(b),this.addDetector(h)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return(e.forEach(e=>{if(this.detectors[e]){let i=this.detectors[e].lookup(this.options);i&&"string"==typeof i&&(i=[i]),i&&(t=t.concat(i))}}),t=t.filter(e=>null!=e&&!("string"==typeof e&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(e)))).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes)?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;!t||this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)})}}x.type="languageDetector"},46548:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},48056:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Stethoscope",[["path",{d:"M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6a6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3",key:"10lez9"}],["path",{d:"M8 15v1a6 6 0 0 0 6 6a6 6 0 0 0 6-6v-4",key:"ce9bce"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]])},48558:(e,t,i)=>{var r=i(7620),a=i(16574),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=a.useSyncExternalStore,o=r.useRef,u=r.useEffect,l=r.useMemo,h=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,i,r,a){var c=o(null);if(null===c.current){var d={hasValue:!1,value:null};c.current=d}else d=c.current;var f=n(e,(c=l(function(){function e(e){if(!u){if(u=!0,n=e,e=r(e),void 0!==a&&d.hasValue){var t=d.value;if(a(t,e))return o=t}return o=e}if(t=o,s(n,e))return t;var i=r(e);return void 0!==a&&a(t,i)?(n=e,t):(n=e,o=i)}var n,o,u=!1,l=void 0===i?null:i;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,i,r,a]))[0],c[1]);return u(function(){d.hasValue=!0,d.value=f},[f]),h(f),f}},55769:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},60527:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},64955:(e,t,i)=>{i.d(t,{E:()=>f});var r=i(91961),a=i(63391),s=i(46676),n=i(18517),o=class extends n.Q{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,i){let s=t.queryKey,n=t.queryHash??(0,r.F$)(s,t),o=this.get(n);return o||(o=new a.X({client:e,queryKey:s,queryHash:n,options:e.defaultQueryOptions(t),state:i,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){s.jG.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r.MK)(e,t)):t}notify(e){s.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){s.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){s.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u=i(6407),l=class extends n.Q{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#i=new Map,this.#r=0}#t;#i;#r;build(e,t,i){let r=new u.s({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:i});return this.add(r),r}add(e){this.#t.add(e);let t=h(e);if("string"==typeof t){let i=this.#i.get(t);i?i.push(e):this.#i.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=h(e);if("string"==typeof t){let i=this.#i.get(t);if(i)if(i.length>1){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}else i[0]===e&&this.#i.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=h(e);if("string"!=typeof t)return!0;{let i=this.#i.get(t),r=i?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=h(e);if("string"!=typeof t)return Promise.resolve();{let i=this.#i.get(t)?.find(t=>t!==e&&t.state.isPaused);return i?.continue()??Promise.resolve()}}clear(){s.jG.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#i.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.nJ)(e,t))}notify(e){s.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return s.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.lQ))))}};function h(e){return e.options.scope?.id}var c=i(45467),d=i(55898),f=class{#a;#s;#n;#o;#u;#l;#h;#c;constructor(e={}){this.#a=e.queryCache||new o,this.#s=e.mutationCache||new l,this.#n=e.defaultOptions||{},this.#o=new Map,this.#u=new Map,this.#l=0}mount(){this.#l++,1===this.#l&&(this.#h=c.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#a.onFocus())}),this.#c=d.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#a.onOnline())}))}unmount(){this.#l--,0===this.#l&&(this.#h?.(),this.#h=void 0,this.#c?.(),this.#c=void 0)}isFetching(e){return this.#a.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#s.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#a.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),i=this.#a.build(this,t),a=i.state.data;return void 0===a?this.fetchQuery(e):(e.revalidateIfStale&&i.isStaleByTime((0,r.d2)(t.staleTime,i))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return this.#a.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,i){let a=this.defaultQueryOptions({queryKey:e}),s=this.#a.get(a.queryHash),n=s?.state.data,o=(0,r.Zw)(t,n);if(void 0!==o)return this.#a.build(this,a).setData(o,{...i,manual:!0})}setQueriesData(e,t,i){return s.jG.batch(()=>this.#a.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,i)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#a.get(t.queryHash)?.state}removeQueries(e){let t=this.#a;s.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let i=this.#a;return s.jG.batch(()=>(i.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let i={revert:!0,...t};return Promise.all(s.jG.batch(()=>this.#a.findAll(e).map(e=>e.cancel(i)))).then(r.lQ).catch(r.lQ)}invalidateQueries(e,t={}){return s.jG.batch(()=>(this.#a.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let i={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(s.jG.batch(()=>this.#a.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,i);return i.throwOnError||(t=t.catch(r.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(r.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let i=this.#a.build(this,t);return i.isStaleByTime((0,r.d2)(t.staleTime,i))?i.fetch(t):Promise.resolve(i.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.lQ).catch(r.lQ)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.lQ).catch(r.lQ)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return d.t.isOnline()?this.#s.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#a}getMutationCache(){return this.#s}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#o.set((0,r.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#o.values()],i={};return t.forEach(t=>{(0,r.Cp)(e,t.queryKey)&&Object.assign(i,t.defaultOptions)}),i}setMutationDefaults(e,t){this.#u.set((0,r.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#u.values()],i={};return t.forEach(t=>{(0,r.Cp)(e,t.mutationKey)&&Object.assign(i,t.defaultOptions)}),i}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#a.clear(),this.#s.clear()}}},73599:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},78914:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(81007).A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},79748:(e,t,i)=>{var r=i(79796);i.o(r,"usePathname")&&i.d(t,{usePathname:function(){return r.usePathname}}),i.o(r,"useRouter")&&i.d(t,{useRouter:function(){return r.useRouter}}),i.o(r,"useSearchParams")&&i.d(t,{useSearchParams:function(){return r.useSearchParams}})},81007:(e,t,i)=>{i.d(t,{A:()=>o});var r=i(7620);let a=(...e)=>e.filter((e,t,i)=>!!e&&i.indexOf(e)===t).join(" ");var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:i=2,absoluteStrokeWidth:n,className:o="",children:u,iconNode:l,...h},c)=>(0,r.createElement)("svg",{ref:c,...s,width:t,height:t,stroke:e,strokeWidth:n?24*Number(i)/Number(t):i,className:a("lucide",o),...h},[...l.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(u)?u:[u]])),o=(e,t)=>{let i=(0,r.forwardRef)(({className:i,...s},o)=>(0,r.createElement)(n,{ref:o,iconNode:t,className:a(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,i),...s}));return i.displayName=`${e}`,i}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[407],{21345:(e,t,a)=>{a.d(t,{Cf:()=>d,L3:()=>c,c7:()=>i,lG:()=>n});var s=a(54568);a(7620);var r=a(25296);let n=r.bL;r.l9;let l=r.ZL;function o({className:e,...t}){return(0,s.jsx)(r.hJ,{className:`fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 ${e??""}`,...t})}function d({className:e,children:t,...a}){return(0,s.jsxs)(l,{children:[(0,s.jsx)(o,{}),(0,s.jsx)(r.UC,{className:`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg ${e??""}`,...a,children:t})]})}function i({className:e,...t}){return(0,s.jsx)("div",{className:`flex flex-col space-y-1.5 text-center sm:text-left ${e??""}`,...t})}function c({className:e,...t}){return(0,s.jsx)(r.hE,{className:`text-lg font-semibold leading-none tracking-tight ${e??""}`,...t})}r.bm},23623:(e,t,a)=>{a.d(t,{p:()=>l});var s=a(54568),r=a(7620),n=a(64318);let l=r.forwardRef(({className:e,type:t,...a},r)=>(0,s.jsx)("input",{type:t,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...a}));l.displayName="Input"},28465:(e,t,a)=>{a.d(t,{$:()=>o});var s=a(54568),r=a(7620),n=a(64318);let l=(0,a(91397).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),o=r.forwardRef(({className:e,variant:t,size:a,...r},o)=>(0,s.jsx)("button",{className:(0,n.cn)(l({variant:t,size:a,className:e})),ref:o,...r}));o.displayName="Button"},32715:(e,t,a)=>{a.d(t,{h:()=>o,v:()=>d});var s=a(7620),r=a(68728),n=a(98368);async function l(e,t,a,s){let r=await fetch(`${(0,n.Ez)()}/api${e}`,{headers:{...(0,n.PK)(),...s?{"Last-Event-ID":String(s)}:{}},credentials:"same-origin",signal:t});if(!r.ok||!r.body)throw Error(`SSE ${r.status}`);let l=r.body.getReader(),o=new TextDecoder,d="";for(;!t.aborted;){let{value:e,done:t}=await l.read();if(t)break;let s=(d+=o.decode(e,{stream:!0})).split("\n\n");for(let e of(d=s.pop()??"",s)){let t="message",s=[];for(let a of e.split("\n"))a.startsWith("event:")&&(t=a.slice(6).trim()),a.startsWith("data:")&&s.push(a.slice(5).trim());if(0!==s.length)try{a({type:t,data:JSON.parse(s.join("\n"))})}catch{}}}}function o(e){let[t,a]=(0,s.useState)([]),r=(0,s.useRef)(0);return(0,s.useEffect)(()=>{if(!e)return;let t=new AbortController;return l(`/workflows/runs/${encodeURIComponent(e)}/stream`,t.signal,e=>{let t="number"==typeof e.data.sequence?e.data.sequence:void 0;t&&t<=r.current||(t&&(r.current=t),a(t=>[...t,e]))},r.current).catch(()=>void 0),()=>t.abort()},[e]),{events:t,clear:(0,s.useCallback)(()=>a([]),[])}}function d(e,t){let a=(0,r.jE)(),n=JSON.stringify(t);(0,s.useEffect)(()=>{let t=new AbortController,s=JSON.parse(n);return l(`/live/stream?channels=${encodeURIComponent(e)}`,t.signal,t=>{if("refresh"===t.type&&t.data.channel===e)for(let e of s)a.invalidateQueries({queryKey:e})}).catch(()=>void 0),()=>t.abort()},[e,a,n])}},64318:(e,t,a)=>{a.d(t,{cn:()=>n});var s=a(9917),r=a(2809);function n(...e){return(0,r.QP)((0,s.$)(e))}},89531:(e,t,a)=>{a.d(t,{Wu:()=>i,ZB:()=>d,Zp:()=>l,aR:()=>o});var s=a(54568),r=a(7620),n=a(64318);let l=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)("div",{ref:a,className:(0,n.cn)("rounded-lg border border-border bg-card text-card-foreground",e),...t}));l.displayName="Card";let o=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)("div",{ref:a,className:(0,n.cn)("flex flex-col space-y-1.5 p-4",e),...t}));o.displayName="CardHeader";let d=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)("h3",{ref:a,className:(0,n.cn)("text-sm font-semibold leading-none tracking-tight",e),...t}));d.displayName="CardTitle";let i=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)("div",{ref:a,className:(0,n.cn)("p-4 pt-0",e),...t}));i.displayName="CardContent"},91788:(e,t,a)=>{a.r(t),a.d(t,{MemoryPanel:()=>g});var s=a(54568),r=a(7620),n=a(794),l=a(44968),o=a(86914),d=a(89531),i=a(28465),c=a(23623),m=a(64567),u=a(32715),f=a(21345);let x=["semantic","procedural","episodic","failure_lesson"];function p({open:e,onOpenChange:t,mode:a,defaultValues:n}){let{t:l}=(0,m.Bd)(),d=(0,o.Kg)(),c=(0,o.I8)(),[u,h]=(0,r.useState)(n?.category??"semantic"),[g,y]=(0,r.useState)(n?.content??""),[v,j]=(0,r.useState)(n?.scope??"");return(0,r.useEffect)(()=>{e&&(h(n?.category??"semantic"),y(n?.content??""),j(n?.scope??""))},[e,n]),(0,s.jsx)(f.lG,{open:e,onOpenChange:t,children:(0,s.jsxs)(f.Cf,{children:[(0,s.jsx)(f.c7,{children:(0,s.jsx)(f.L3,{children:"add"===a?l("memory.addMemory"):l("memory.editMemory")})}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium",children:l("memory.categoryLabel")}),(0,s.jsx)("select",{className:"w-full mt-1 rounded-md border bg-background px-3 py-2 text-sm",value:u,onChange:e=>h(e.target.value),children:x.map(e=>{let t,a;return(0,s.jsx)("option",{value:e,children:(a=l(t=`memory.category.${e}`))===t?e:a},e)})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium",children:l("memory.content")}),(0,s.jsx)("textarea",{className:"w-full mt-1 rounded-md border bg-background px-3 py-2 text-sm min-h-[100px]",value:g,onChange:e=>y(e.target.value)})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium",children:l("memory.scope")}),(0,s.jsx)("input",{className:"w-full mt-1 rounded-md border bg-background px-3 py-2 text-sm",value:v,onChange:e=>j(e.target.value)})]}),(0,s.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,s.jsx)(i.$,{variant:"outline",onClick:()=>t(!1),children:l("memory.cancel")}),(0,s.jsx)(i.$,{onClick:()=>{g.trim()&&("add"===a?d.mutate({category:u,content:g.trim(),scope:v.trim()||void 0}):n?.id&&c.mutate({id:n.id,updates:{content:g.trim()}}),t(!1))},disabled:!g.trim(),children:l("memory.save")})]})]})]})})}let h=["all","failure_lesson","semantic","procedural","episodic"];function g(){(0,u.v)("memory",[["memory"],["memory-candidates"]]);let{t:e}=(0,m.Bd)(),{data:t}=(0,o.PA)(),a=(0,o.qV)(),f=(0,o.Oq)(),x=(0,o.Ko)(),g=function(){let{t:e}=(0,m.Bd)();return t=>{let a=`memory.category.${t}`,s=e(a);return s===a?t:s}}(),[y,v]=(0,r.useState)(""),{data:j}=(0,o.$s)(y),[b,N]=(0,r.useState)(!1),[w,C]=(0,r.useState)(),[k,$]=(0,r.useState)("all"),S=t?.memories?.filter(e=>"approved"===e.status)??[],z=t?.memories?.filter(e=>"pending"===e.status)??[],R="all"===k?S:S.filter(e=>e.category===k),E="all"===k?z:z.filter(e=>e.category===k),M=(0,r.useMemo)(()=>{let e=new Map;for(let t of E){let a=e.get(t.category)??[];a.push(t),e.set(t.category,a)}return[...e.entries()].sort(([e],[t])=>"failure_lesson"===e?-1:"failure_lesson"===t?1:e.localeCompare(t))},[E]),_=y&&j?j:R;return t?(0,s.jsxs)("div",{className:"p-6 space-y-4 h-full overflow-y-auto",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold",children:e("memory.title")}),(0,s.jsxs)(i.$,{size:"sm",onClick:()=>{C(void 0),N(!0)},children:["+ ",e("memory.addMemory")]})]}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(c.p,{placeholder:e("memory.searchPlaceholder"),value:y,onChange:e=>v(e.target.value)})}),!y&&(0,s.jsx)("div",{className:"flex gap-2 flex-wrap",children:h.map(t=>(0,s.jsx)(i.$,{variant:k===t?"default":"outline",size:"sm",onClick:()=>$(t),children:"all"===t?e("memory.allCategories","All"):g(t)},t))}),!y&&E.length>0&&(0,s.jsxs)(d.Zp,{children:[(0,s.jsx)(d.aR,{children:(0,s.jsxs)(d.ZB,{children:[e("memory.pendingApproval")," (",E.length,")"]})}),(0,s.jsx)(d.Wu,{children:(0,s.jsx)("div",{className:"space-y-4",children:M.map(([t,r])=>(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-2",children:g(t)}),(0,s.jsx)("div",{className:"space-y-2",children:r.map(t=>(0,s.jsxs)("div",{className:"flex items-start justify-between p-2 rounded bg-secondary/50",children:[(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("p",{className:"text-sm font-medium truncate",children:t.content}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e("memory.confidence"),": ",t.confidence]})]}),(0,s.jsxs)("div",{className:"flex gap-1 ml-2",children:[(0,s.jsx)(i.$,{size:"sm",variant:"outline",onClick:()=>a.mutate(t.id),children:e("memory.approve")}),(0,s.jsx)(i.$,{size:"sm",variant:"ghost",onClick:()=>f.mutate(t.id),children:e("memory.reject")})]})]},t.id))})]},t))})})]}),(0,s.jsxs)(d.Zp,{children:[(0,s.jsx)(d.aR,{children:(0,s.jsx)(d.ZB,{children:y?`${j?.length??0} results`:`${e("memory.approvedMemories")} (${R.length})`})}),(0,s.jsx)(d.Wu,{children:0===_.length?(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center py-8 border border-dashed border-border rounded-lg text-center",children:[(0,s.jsx)("p",{className:"text-muted-foreground text-sm font-medium",children:e("memory.noMemories")}),(0,s.jsx)("p",{className:"text-muted-foreground text-xs mt-1",children:e("memory.noMemoriesHint")})]}):(0,s.jsx)("div",{className:"space-y-2",children:_.map(t=>(0,s.jsxs)("div",{className:"p-2 rounded bg-secondary/50 text-sm",children:[(0,s.jsxs)("div",{className:"flex justify-between items-start",children:[(0,s.jsx)("span",{className:"flex-1",children:t.content}),(0,s.jsxs)("div",{className:"flex items-center gap-1 ml-2",children:[(0,s.jsx)("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:g(t.category)}),(0,s.jsx)(i.$,{size:"sm",variant:"ghost",className:"h-6 w-6 p-0",onClick:()=>{C({id:t.id,category:t.category,content:t.content,scope:t.scope??""}),N(!0)},title:e("memory.editMemory"),children:(0,s.jsx)(n.A,{className:"h-3.5 w-3.5"})}),(0,s.jsx)(i.$,{size:"sm",variant:"ghost",className:"h-6 w-6 p-0 text-destructive",onClick:()=>{window.confirm(e("memory.deleteConfirm"))&&x.mutate(t.id)},title:e("memory.deleteMemory"),children:(0,s.jsx)(l.A,{className:"h-3.5 w-3.5"})})]})]}),t.originalText&&(0,s.jsxs)("p",{className:"text-xs text-muted-foreground mt-1",children:[e("memory.original"),": ",t.originalText]})]},t.id))})})]}),(0,s.jsx)(p,{open:b,onOpenChange:N,mode:w?"edit":"add",defaultValues:w})]}):(0,s.jsx)("div",{className:"p-6 text-muted-foreground",children:e("memory.loading")})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[707],{23623:(e,s,n)=>{n.d(s,{p:()=>d});var r=n(54568),t=n(7620),l=n(64318);let d=t.forwardRef(({className:e,type:s,...n},t)=>(0,r.jsx)("input",{type:s,className:(0,l.cn)("flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:t,...n}));d.displayName="Input"},28465:(e,s,n)=>{n.d(s,{$:()=>a});var r=n(54568),t=n(7620),l=n(64318);let d=(0,n(91397).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),a=t.forwardRef(({className:e,variant:s,size:n,...t},a)=>(0,r.jsx)("button",{className:(0,l.cn)(d({variant:s,size:n,className:e})),ref:a,...t}));a.displayName="Button"},56707:(e,s,n)=>{n.r(s),n.d(s,{KnowledgeView:()=>c});var r=n(54568),t=n(7620),l=n(86914),d=n(89531),a=n(23623),o=n(28465),i=n(64567);function c(){let{t:e}=(0,i.Bd)(),{data:s,isLoading:n}=(0,l.w4)(),c=(0,l.zz)(),[u,m]=(0,t.useState)(""),{data:f}=(0,l.yy)(u);return(0,r.jsxs)("div",{className:"p-6 space-y-4 h-full overflow-y-auto",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold",children:e("knowledge.title","Knowledge Base")}),(0,r.jsx)(o.$,{onClick:()=>c.mutate(void 0),disabled:c.isPending,children:c.isPending?e("knowledge.syncing","Syncing..."):e("knowledge.syncAll","Sync All")})]}),n?(0,r.jsx)("div",{className:"text-muted-foreground",children:e("knowledge.loading","Loading...")}):s&&s.length>0?(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("h3",{className:"text-sm font-semibold text-muted-foreground",children:e("knowledge.sources","Sources")}),s.map(s=>(0,r.jsx)(d.Zp,{children:(0,r.jsxs)(d.Wu,{className:"p-4 flex justify-between items-center",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"font-semibold",children:s.source?.name??s.name}),(0,r.jsxs)("div",{className:"text-sm text-muted-foreground",children:[s.entryCount??0," chunks \xb7 ",s.source?.urls?.length??0," URLs \xb7 ","ready"===s.status?e("knowledge.synced"):e("knowledge.notSynced"),s.lastSyncTime?` \xb7 ${e("knowledge.last")}: ${new Date(s.lastSyncTime).toLocaleDateString()}`:""]})]}),(0,r.jsx)(o.$,{variant:"outline",size:"sm",onClick:()=>c.mutate(s.source?.name??s.name),disabled:c.isPending,children:e("knowledge.sync")})]})},s.source?.name??s.name))]}):(0,r.jsx)(d.Zp,{children:(0,r.jsx)(d.Wu,{className:"p-6 text-center text-muted-foreground",children:e("knowledge.noSources","No knowledge sources. Install a plugin and sync docs.")})}),(0,r.jsxs)("div",{className:"space-y-2 pt-4",children:[(0,r.jsx)("h3",{className:"text-sm font-semibold text-muted-foreground",children:e("knowledge.search","Search")}),(0,r.jsx)("div",{className:"flex gap-2",children:(0,r.jsx)(a.p,{placeholder:e("knowledge.searchPlaceholder","Search knowledge..."),value:u,onChange:e=>m(e.target.value)})}),f&&f.length>0&&(0,r.jsx)("div",{className:"space-y-2",children:f.map((s,n)=>(0,r.jsx)(d.Zp,{children:(0,r.jsxs)(d.Wu,{className:"p-4",children:[(0,r.jsx)("div",{className:"font-semibold",children:s.title}),(0,r.jsx)("div",{className:"text-sm text-muted-foreground mt-1",children:s.content?.slice(0,200)}),void 0!==s.score&&(0,r.jsxs)("div",{className:"text-xs text-muted-foreground mt-1",children:[e("knowledge.score"),": ",s.score.toFixed(2)]})]})},n))})]})]})}},64318:(e,s,n)=>{n.d(s,{cn:()=>l});var r=n(9917),t=n(2809);function l(...e){return(0,t.QP)((0,r.$)(e))}},89531:(e,s,n)=>{n.d(s,{Wu:()=>i,ZB:()=>o,Zp:()=>d,aR:()=>a});var r=n(54568),t=n(7620),l=n(64318);let d=t.forwardRef(({className:e,...s},n)=>(0,r.jsx)("div",{ref:n,className:(0,l.cn)("rounded-lg border border-border bg-card text-card-foreground",e),...s}));d.displayName="Card";let a=t.forwardRef(({className:e,...s},n)=>(0,r.jsx)("div",{ref:n,className:(0,l.cn)("flex flex-col space-y-1.5 p-4",e),...s}));a.displayName="CardHeader";let o=t.forwardRef(({className:e,...s},n)=>(0,r.jsx)("h3",{ref:n,className:(0,l.cn)("text-sm font-semibold leading-none tracking-tight",e),...s}));o.displayName="CardTitle";let i=t.forwardRef(({className:e,...s},n)=>(0,r.jsx)("div",{ref:n,className:(0,l.cn)("p-4 pt-0",e),...s}));i.displayName="CardContent"},91397:(e,s,n)=>{n.d(s,{F:()=>d});var r=n(9917);let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=r.$,d=(e,s)=>n=>{var r;if((null==s?void 0:s.variants)==null)return l(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:d,defaultVariants:a}=s,o=Object.keys(d).map(e=>{let s=null==n?void 0:n[e],r=null==a?void 0:a[e];if(null===s)return null;let l=t(s)||t(r);return d[e][l]}),i=n&&Object.entries(n).reduce((e,s)=>{let[n,r]=s;return void 0===r||(e[n]=r),e},{});return l(e,o,null==s||null==(r=s.compoundVariants)?void 0:r.reduce((e,s)=>{let{class:n,className:r,...t}=s;return Object.entries(t).every(e=>{let[s,n]=e;return Array.isArray(n)?n.includes({...a,...i}[s]):({...a,...i})[s]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[736],{638:(e,t,r)=>{r.d(t,{C:()=>i});var o=r(19851);let s="devflow-project-root",a="devflow-active-project-root";function l(e){try{return localStorage.getItem(e)}catch{return null}}function n(e,t){try{null===t?localStorage.removeItem(e):localStorage.setItem(e,t)}catch{}}let i=(0,o.vt)(e=>({selectedNodeId:null,detailTab:"properties",searchQuery:"",projectRoot:l(s),activeProjectRoot:l(a),selectedRunId:null,selectNode:t=>e({selectedNodeId:t}),setDetailTab:t=>e({detailTab:t}),setSearchQuery:t=>e({searchQuery:t}),setProjectRoot:t=>{n(s,t),e({projectRoot:t})},setActiveProjectRoot:t=>{n(a,t),e({activeProjectRoot:t})},setSelectedRunId:t=>e({selectedRunId:t})}))},14736:(e,t,r)=>{r.r(t),r.d(t,{GraphView:()=>j});var o=r(54568),s=r(7620),a=r(23623),l=r(28465),n=r(638),i=r(91443);r(88682);var d=r(98058),c=r.n(d),u=r(8011);let h={component:"C",hook:"H",api:"A",store:"S",function:"F",class:"CL",interface:"I",enum:"E",type:"T",variable:"V",unknown:"?"};var f=r(86914);let g={graphNode:function({data:e}){let t=h[e.nodeType]??e.nodeType?.charAt(0)?.toUpperCase()??"?",r=e.layerColor??"#6b7280",s=void 0!==e.highlighted,a=!0===e.highlighted;return(0,o.jsxs)("div",{className:"px-3 py-2 rounded-lg border-2 text-xs font-medium transition-opacity duration-200",style:{borderColor:r,backgroundColor:`color-mix(in srgb, ${r} 8%, var(--background, #fff))`,boxShadow:a?`0 0 12px ${r}, 0 0 4px ${r}`:"0 1px 3px rgba(0,0,0,0.12)",opacity:s&&!a?.15:1},children:[(0,o.jsx)(i.h7,{type:"target",position:u.yX.Top,style:{background:r}}),(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsx)("span",{className:"inline-flex items-center justify-center w-5 h-5 rounded text-[10px] font-bold text-white flex-shrink-0",style:{backgroundColor:r},children:t}),(0,o.jsx)("span",{className:"truncate max-w-[140px]",children:e.label})]}),(0,o.jsx)(i.h7,{type:"source",position:u.yX.Bottom,style:{background:r}})]})}};function p({filterMode:e="highlight",searchQuery:t=""}){return(0,o.jsx)(i.Ln,{children:(0,o.jsx)(x,{filterMode:e,searchQuery:t})})}function x({filterMode:e,searchQuery:t}){let{data:r}=(0,f.eG)(),a=(0,n.C)(e=>e.selectNode),{fitView:l}=(0,i.VH)(),d=(0,s.useMemo)(()=>{if(!r)return{nodes:[],edges:[]};let o=(t??"").toLowerCase().trim(),s="filter"===e&&o?r.nodes.filter(e=>e.name.toLowerCase().includes(o)):r.nodes.slice(0,300),a=o.length>0,l=s.map(e=>({id:e.id,type:"graphNode",position:{x:0,y:0},data:{label:e.name,nodeType:e.type,layer:e.layer??"Other",layerColor:e.layerColor??"#6b7280",highlighted:a?e.name.toLowerCase().includes(o):void 0}})),n=new Set(l.map(e=>e.id)),i=r.edges.filter(e=>n.has(e.from)&&n.has(e.to)).slice(0,500).map((e,t)=>({id:`${e.from}->${e.to}-${t}`,source:e.from,target:e.to,animated:!1,style:{stroke:"#4b5563"}})),d=new(c()).graphlib.Graph;for(let e of(d.setDefaultEdgeLabel(()=>({})),d.setGraph({rankdir:"TB",ranksep:80,nodesep:60}),l))d.setNode(e.id,{width:180,height:50});for(let e of i)d.setEdge(e.source,e.target);return c().layout(d),{nodes:l.map(e=>{let t=d.node(e.id);return{...e,position:{x:t.x-90,y:t.y-25}}}),edges:i}},[r,t,e]),[u,h,p]=(0,i.ck)(d.nodes),[m,b,y]=(0,i.fM)(d.edges);(0,s.useEffect)(()=>{h(d.nodes),b(d.edges)},[d,h,b]),(0,s.useEffect)(()=>{if(t){let e=d.nodes.find(e=>!0===e.data.highlighted);e&&setTimeout(()=>{l({nodes:[e],duration:500,maxZoom:1.5})},100)}},[t,d.nodes,l]);let v=(0,s.useCallback)((e,t)=>{a(t.id)},[a]);return(0,o.jsxs)(i.Gc,{nodes:u,edges:m,onNodesChange:p,onEdgesChange:y,onNodeClick:v,nodeTypes:g,fitView:!0,children:[(0,o.jsx)(i.VS,{}),(0,o.jsx)(i.H2,{}),(0,o.jsx)(i.of,{nodeColor:e=>e.data?.layerColor??"#6b7280"})]})}var m=r(64567),b=r(23555),y=r(20732),v=r(18741);function j(){let{t:e}=(0,m.Bd)(),t=(0,n.C)(e=>e.searchQuery),r=(0,n.C)(e=>e.setSearchQuery),[i,d]=(0,s.useState)("highlight");return(0,o.jsxs)("div",{className:"flex flex-col h-full",children:[(0,o.jsxs)("div",{className:"p-3 border-b border-border flex items-center gap-2",children:[(0,o.jsxs)("div",{className:"relative flex-1 max-w-sm",children:[(0,o.jsx)(b.A,{className:"absolute left-2 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,o.jsx)(a.p,{placeholder:e("graph.searchPlaceholder"),value:t,onChange:e=>r(e.target.value),className:"pl-8"})]}),t&&(0,o.jsx)(l.$,{variant:"ghost",size:"sm",onClick:()=>d(e=>"highlight"===e?"filter":"highlight"),title:e("highlight"===i?"graph.filterOnly":"graph.highlightAll"),className:"flex-shrink-0",children:"highlight"===i?(0,o.jsx)(y.A,{className:"h-4 w-4"}):(0,o.jsx)(v.A,{className:"h-4 w-4"})})]}),(0,o.jsx)("div",{className:"flex-1",children:(0,o.jsx)(p,{filterMode:i,searchQuery:t})})]})}},23623:(e,t,r)=>{r.d(t,{p:()=>l});var o=r(54568),s=r(7620),a=r(64318);let l=s.forwardRef(({className:e,type:t,...r},s)=>(0,o.jsx)("input",{type:t,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:s,...r}));l.displayName="Input"},28465:(e,t,r)=>{r.d(t,{$:()=>n});var o=r(54568),s=r(7620),a=r(64318);let l=(0,r(91397).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),n=s.forwardRef(({className:e,variant:t,size:r,...s},n)=>(0,o.jsx)("button",{className:(0,a.cn)(l({variant:t,size:r,className:e})),ref:n,...s}));n.displayName="Button"},64318:(e,t,r)=>{r.d(t,{cn:()=>a});var o=r(9917),s=r(2809);function a(...e){return(0,s.QP)((0,o.$)(e))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[825],{29547:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(7620);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38631:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(75600),o=r(4553);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},46206:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let u=r(99649)._(r(46558)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(u.urlQueryToSearchParams(l)));let f=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),f&&"?"!==f[0]&&(f="?"+f),o=o.replace(/[?#]/g,encodeURIComponent),f=f.replace("#","%23"),`${n}${c}${o}${f}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},46558:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return i},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function u(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,u(e));else t.set(r,u(n));return t}function i(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},65587:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return v}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let u=r(99649),a=r(54568),i=u._(r(7620)),l=r(46206),c=r(16152),f=r(29547),s=r(75600),p=r(36306),d=r(73727),h=r(1411),y=r(38631),g=r(78774);function m(e){var t;let n,o,u,[m,v]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),P=(0,i.useRef)(null),{href:_,as:E,children:O,prefetch:S=null,passHref:j,replace:C,shallow:T,scroll:N,onClick:R,onMouseEnter:L,onTouchStart:k,legacyBehavior:x=!1,onNavigate:w,transitionTypes:A,ref:M,unstable_dynamicOnHover:$,...I}=e;n=O,x&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let U=i.default.useContext(c.AppRouterContext),F=!1!==S,D=!1===S?"none":!0===S?"full":"auto",B="none"!==D?"auto"===D?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,K="string"==typeof(t=E||_)?t:(0,l.formatUrl)(t);if(x){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let z=x?o&&"object"==typeof o&&o.ref:M,Q,W=i.default.useCallback(e=>(null!==U&&(P.current=(0,h.mountLinkInstance)(e,K,U,B,F,v,Q)),()=>{P.current&&((0,h.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,K,U,B,v,Q]),X={ref:(0,f.useMergedRef)(W,z),onClick(e){x||"function"!=typeof R||R(e),x&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!U||e.defaultPrevented||function(e,t,n,o,u,a,l,c="none"){{let f,{nodeName:s}=e.currentTarget;if("A"===s.toUpperCase()&&((f=e.currentTarget.getAttribute("target"))&&"_self"!==f||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:p}=r(23703);i.default.startTransition(()=>{p(t,o?"replace":"push",!1===u?d.ScrollBehavior.NoScroll:d.ScrollBehavior.Default,n.current,l,c)})}}(e,K,P,C,N,w,A,D)},onMouseEnter(e){x||"function"!=typeof L||L(e),x&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){x||"function"!=typeof k||k(e),x&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,s.isAbsoluteUrl)(K)?X.href=K:x&&!j&&("a"!==o.type||"href"in o.props)||(X.href=(0,p.addBasePath)(K)),u=x?i.default.cloneElement(o,X):(0,a.jsx)("a",{...I,...X,children:n}),(0,a.jsx)(b.Provider,{value:m,children:u})}let b=(0,i.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,i.useContext)(b);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75600:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return P},MissingStaticPage:function(){return v},NormalizeError:function(){return m},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return y},WEB_VITALS:function(){return o},execOnce:function(){return u},getDisplayName:function(){return f},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return s},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return _}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function u(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&a.test(e)};function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,y=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class m extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class P extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[914],{14133:(e,t,r)=>{r.d(t,{F:()=>u});var n=r(98368);async function o(e,t){let r=function(){try{return localStorage.getItem("devflow-active-project-root")}catch{return null}}(),o={"Content-Type":"application/json",...(0,n.PK)()};r&&(o["x-devflow-project"]=r);let u=await fetch(`${(0,n.Ez)()}/api${e}`,{...t,headers:{...o,...t?.headers},credentials:"same-origin"});if(!u.ok){let e=await u.text();if(401===u.status)throw Error("API 401: reload the local dashboard or configure a dashboard API key");throw Error(`API ${u.status}: ${e}`)}let s=await u.json();return s&&"object"==typeof s&&"ok"in s&&"data"in s?s.data:s}let u={runtimeReady:()=>o("/ready"),listProjects:()=>o("/projects"),getProject:e=>o(`/projects/${e}`),createProject:e=>o("/projects",{method:"POST",body:JSON.stringify(e)}),deleteProject:e=>o(`/projects/${e}`,{method:"DELETE"}),connectProject:e=>o("/projects/connect",{method:"POST",body:JSON.stringify({rootPath:e})}),disconnectProject:()=>o("/projects/active",{method:"DELETE"}),getActiveProject:()=>o("/projects/active"),getOnboardingPackByRoot:e=>o(`/projects/onboarding-pack?rootPath=${encodeURIComponent(e)}`),refreshOnboardingPack:e=>o("/projects/onboarding-pack/refresh",{method:"POST",body:JSON.stringify({rootPath:e})}),getContextStatus:()=>o("/context/status"),buildContext:e=>o("/context/build",{method:"POST",body:JSON.stringify(e)}),buildTaskContext:e=>o("/context/build-task",{method:"POST",body:JSON.stringify(e)}),submitFeedback:e=>o("/context/feedback",{method:"POST",body:JSON.stringify(e)}),getFeedbackSummary:()=>o("/context/feedback-summary"),getGraph:()=>o("/graph"),getLayeredGraph:()=>o("/graph?view=layered"),getNode:e=>o(`/graph/${e}`),expandNode:(e,t,r)=>o(`/graph/${e}/expand?depth=${t??2}&direction=${r??"both"}`),listWorkflows:()=>o("/workflows"),runWorkflow:(e,t)=>o(`/workflows/${e}/run`,{method:"POST",body:JSON.stringify({input:t})}),listRuns:(e=20,t=0)=>o(`/workflows/runs?limit=${e}&offset=${t}`),getRun:e=>o(`/workflows/runs/${e}`),approveRun:e=>o(`/workflows/runs/${e}/approve`,{method:"POST"}),rejectRun:(e,t)=>o(`/workflows/runs/${e}/reject`,{method:"POST",body:JSON.stringify({reason:t})}),getMemory:()=>o("/memory"),addMemory:e=>o("/memory",{method:"POST",body:JSON.stringify(e)}),updateMemoryEntry:(e,t)=>o(`/memory/${e}`,{method:"PUT",body:JSON.stringify(t)}),deleteMemoryEntry:e=>o(`/memory/${e}`,{method:"DELETE"}),getCandidates:()=>o("/memory/candidates"),approveCandidate:e=>o(`/memory/candidates/${e}/approve`,{method:"POST"}),rejectCandidate:e=>o(`/memory/candidates/${e}/reject`,{method:"POST"}),searchMemory:(e,t,r)=>o("/memory/search",{method:"POST",body:JSON.stringify({query:e,limit:t,categories:r})}),updateMemory:(e,t,r)=>o(`/memory/${e}/${t}`,{method:"PUT",body:JSON.stringify({value:r})}),searchKnowledge:(e,t)=>o(`/knowledge/search?q=${encodeURIComponent(e)}${t?`&scope=${t}`:""}`),syncKnowledge:e=>o("/knowledge/sync",{method:"POST",body:JSON.stringify({pluginName:e})}),getKnowledgeSources:()=>o("/knowledge/sources"),listTelemetryRuns:(e=20,t=0,r)=>o(`/telemetry/runs?limit=${e}&offset=${t}${r?`&source=${r}`:""}`),getTelemetryRun:e=>o(`/telemetry/runs/${e}`),getTimeline:(e,t)=>o(`/telemetry/timeline${e?`?from=${e}${t?`&to=${t}`:""}`:""}`),listSessions:(e=20,t=0,r)=>{let n=new URLSearchParams({limit:String(e),offset:String(t)});return r&&n.set("projectRoot",r),o(`/telemetry/sessions?${n}`)},getSession:e=>o(`/telemetry/sessions/${e}`),getSessionEvents:e=>o(`/telemetry/sessions/${e}/events`),getRunEvents:e=>o(`/telemetry/runs/${e}/events`),getRunStats:e=>o(`/telemetry/runs/${e}/stats`),completeRun:e=>o(`/telemetry/runs/${e}/complete`,{method:"POST"}),getTelemetryStats:(e=7)=>o(`/telemetry/stats?days=${e}`),getRoiSummary:(e=7)=>o(`/telemetry/roi-summary?days=${e}`),listBenchmarkReports:(e=50)=>o(`/benchmark/reports?limit=${e}`),getLatestBenchmarkReport:(e="default")=>o(`/benchmark/reports/latest?suite=${encodeURIComponent(e)}`),getBenchmarkReport:e=>o(`/benchmark/reports/${encodeURIComponent(e)}`),cleanupTelemetry:e=>o("/telemetry/cleanup",{method:"POST",body:JSON.stringify({olderThanDays:e})}),getToolMetricsSummary:(e=7)=>o(`/telemetry/tool-metrics/summary?days=${e}`),getAccuracyStats:(e,t)=>{let r=new URLSearchParams;e&&r.set("engine",e),t&&r.set("since",String(t));let n=r.toString();return o(`/telemetry/accuracy/stats${n?`?${n}`:""}`)},getAccuracyQueries:e=>{let t=new URLSearchParams;e?.engine&&t.set("engine",e.engine),e?.status&&t.set("status",e.status),e?.limit&&t.set("limit",String(e.limit)),e?.offset&&t.set("offset",String(e.offset));let r=t.toString();return o(`/telemetry/accuracy/queries${r?`?${r}`:""}`)},postAccuracyFeedback:e=>o("/telemetry/accuracy/feedback",{method:"POST",body:JSON.stringify(e)}),getAutoCheck:()=>o("/telemetry/auto-check"),getExecutions:(e=20,t)=>{let r=new URLSearchParams({limit:String(e)});return t&&r.set("skillName",t),o(`/telemetry/executions?${r}`)},getExecutionEvents:e=>o(`/telemetry/executions/${e}/events`),getMcpCompliance:()=>o("/telemetry/mcp-compliance"),getGovernanceRules:()=>o("/governance/rules"),createGovernanceRule:e=>o("/governance/rules",{method:"POST",body:JSON.stringify(e)}),updateGovernanceRule:e=>o(`/governance/rules/${encodeURIComponent(e.id)}`,{method:"PUT",body:JSON.stringify(e)}),deleteGovernanceRule:e=>o(`/governance/rules/${encodeURIComponent(e)}`,{method:"DELETE"}),getGovernanceAudit:(e=100,t=0)=>o(`/governance/audit-chain?limit=${e}&offset=${t}`),listPlugins:(e,t)=>o(`/registry/plugins${e?`?search=${encodeURIComponent(e)}${t?`&tag=${t}`:""}`:t?`?tag=${t}`:""}`),getPlugin:e=>o(`/registry/plugins/${e}`),publishPlugin:e=>o("/registry/plugins",{method:"POST",body:JSON.stringify(e)}),getPluginEffectiveness:e=>o(`/registry/plugins/effectiveness${e?`?rootPath=${encodeURIComponent(e)}`:""}`)}},86914:(e,t,r)=>{r.d(t,{$s:()=>q,B7:()=>d,C9:()=>x,CU:()=>B,Dr:()=>w,HG:()=>M,I8:()=>A,Kg:()=>b,Ko:()=>G,O:()=>J,Oq:()=>$,PA:()=>S,PS:()=>m,SU:()=>a,Tr:()=>X,UL:()=>R,WJ:()=>U,YK:()=>i,YZ:()=>Q,aW:()=>y,b_:()=>h,d6:()=>W,eG:()=>F,gM:()=>z,he:()=>_,jx:()=>g,lb:()=>O,ll:()=>l,mP:()=>p,nS:()=>c,pf:()=>V,pz:()=>H,qV:()=>v,qw:()=>j,tL:()=>Y,te:()=>P,uU:()=>f,w4:()=>T,wV:()=>K,xT:()=>L,y4:()=>E,yy:()=>N,z$:()=>I,zb:()=>k,zg:()=>D,zz:()=>C});var n=r(48820),o=r(68728),u=r(19053),s=r(14133);function i(){return(0,n.I)({queryKey:["projects"],queryFn:()=>s.F.listProjects()})}function a(){return(0,n.I)({queryKey:["runtime-ready"],queryFn:()=>s.F.runtimeReady(),refetchInterval:3e4,retry:!1})}function c(){return(0,n.I)({queryKey:["active-project"],queryFn:()=>s.F.getActiveProject()})}function y(e){return(0,n.I)({queryKey:["onboarding-pack",e],queryFn:()=>s.F.getOnboardingPackByRoot(e),enabled:!!e})}function l(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.refreshOnboardingPack(e),onSuccess:(t,r)=>e.setQueryData(["onboarding-pack",r],t)})}function m(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.connectProject(e),onSuccess:()=>e.invalidateQueries({queryKey:["active-project"]})})}function d(){let e=(0,o.jE)();return(0,u.n)({mutationFn:()=>s.F.disconnectProject(),onSuccess:()=>e.invalidateQueries({queryKey:["active-project"]})})}function g(){return(0,n.I)({queryKey:["context-status"],queryFn:()=>s.F.getContextStatus()})}function f(){return(0,n.I)({queryKey:["graph"],queryFn:()=>s.F.getGraph()})}function F(){return(0,n.I)({queryKey:["layered-graph"],queryFn:()=>s.F.getLayeredGraph()})}function p(){return(0,n.I)({queryKey:["workflows"],queryFn:()=>s.F.listWorkflows()})}function h(e=20,t=0){return(0,n.I)({queryKey:["workflow-runs",e,t],queryFn:()=>s.F.listRuns(e,t)})}function S(){return(0,n.I)({queryKey:["memory"],queryFn:()=>s.F.getMemory()})}function q(e,t){return(0,n.I)({queryKey:["memory-search",e,t],queryFn:()=>s.F.searchMemory(e,t?.limit,t?.categories),enabled:e.length>0})}function v(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.approveCandidate(e),onSuccess:()=>{e.invalidateQueries({queryKey:["memory"]}),e.invalidateQueries({queryKey:["memory-candidates"]})}})}function $(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.rejectCandidate(e),onSuccess:()=>{e.invalidateQueries({queryKey:["memory"]}),e.invalidateQueries({queryKey:["memory-candidates"]})}})}function b(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.addMemory(e),onSuccess:()=>e.invalidateQueries({queryKey:["memory"]})})}function k(e=20,t=0){return(0,n.I)({queryKey:["telemetry-runs",e,t],queryFn:()=>s.F.listTelemetryRuns(e,t)})}function P(e=20,t=0,r){return(0,n.I)({queryKey:["sessions",e,t,r],queryFn:()=>s.F.listSessions(e,t,r)})}function K(e){return(0,n.I)({queryKey:["session",e],queryFn:()=>s.F.getSession(e),enabled:!!e})}function w(e){return(0,n.I)({queryKey:["session-events",e],queryFn:()=>s.F.getSessionEvents(e),enabled:!!e})}function j(e,t){return(0,n.I)({queryKey:["plugins",e,t],queryFn:()=>s.F.listPlugins(e,t)})}function E(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.buildTaskContext(e),onSuccess:t=>e.setQueryData(["task-context-result"],t)})}function I(){return(0,n.I)({queryKey:["task-context-result"],queryFn:()=>Promise.reject(Error("No queryFn — this query is never enabled")),enabled:!1})}function O(){return(0,u.n)({mutationFn:e=>s.F.submitFeedback(e)})}function R(){let e=(0,o.jE)();return(0,u.n)({mutationFn:({type:e,input:t})=>s.F.runWorkflow(e,t),onSuccess:()=>e.invalidateQueries({queryKey:["workflow-runs"]})})}function T(){return(0,n.I)({queryKey:["knowledge-sources"],queryFn:()=>s.F.getKnowledgeSources()})}function C(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.syncKnowledge(e),onSuccess:()=>e.invalidateQueries({queryKey:["knowledge-sources"]})})}function N(e){return(0,n.I)({queryKey:["knowledge-search",e],queryFn:()=>s.F.searchKnowledge(e),enabled:e.length>0})}function x(e=7){return(0,n.I)({queryKey:["telemetry-stats",e],queryFn:()=>s.F.getTelemetryStats(e)})}function U(e=7){return(0,n.I)({queryKey:["roi-summary",e],queryFn:()=>s.F.getRoiSummary(e)})}function Q(e="default"){return(0,n.I)({queryKey:["benchmark-report","latest",e],queryFn:()=>s.F.getLatestBenchmarkReport(e)})}function J(e){return(0,n.I)({queryKey:["run-events",e],queryFn:()=>s.F.getRunEvents(e),enabled:!!e,refetchInterval:2e3})}function L(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.cleanupTelemetry(e),onSuccess:()=>e.invalidateQueries({queryKey:["telemetry-stats"]})})}function A(){let e=(0,o.jE)();return(0,u.n)({mutationFn:({id:e,updates:t})=>s.F.updateMemoryEntry(e,t),onSuccess:()=>e.invalidateQueries({queryKey:["memory"]})})}function G(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.deleteMemoryEntry(e),onSuccess:()=>e.invalidateQueries({queryKey:["memory"]})})}function M(e){return(0,n.I)({queryKey:["plugin-effectiveness",e],queryFn:()=>s.F.getPluginEffectiveness(e)})}function _(e=7){return(0,n.I)({queryKey:["tool-metrics-summary",e],queryFn:()=>s.F.getToolMetricsSummary(e)})}function B(e){return(0,n.I)({queryKey:["accuracy-stats",e],queryFn:()=>s.F.getAccuracyStats(e)})}function D(e){return(0,n.I)({queryKey:["accuracy-queries",e],queryFn:()=>s.F.getAccuracyQueries(e)})}function z(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.postAccuracyFeedback(e),onSuccess:()=>{e.invalidateQueries({queryKey:["accuracy-stats"]}),e.invalidateQueries({queryKey:["accuracy-queries"]})}})}function W(){return(0,n.I)({queryKey:["auto-check"],queryFn:()=>s.F.getAutoCheck()})}function V(){return(0,n.I)({queryKey:["governance-rules"],queryFn:()=>s.F.getGovernanceRules()})}function Y(){let e=(0,o.jE)();return(0,u.n)({mutationFn:({rule:e,create:t})=>t?s.F.createGovernanceRule(e):s.F.updateGovernanceRule(e),onSuccess:()=>e.invalidateQueries({queryKey:["governance-rules"]})})}function X(){let e=(0,o.jE)();return(0,u.n)({mutationFn:e=>s.F.deleteGovernanceRule(e),onSuccess:()=>e.invalidateQueries({queryKey:["governance-rules"]})})}function H(){return(0,n.I)({queryKey:["governance-audit"],queryFn:()=>s.F.getGovernanceAudit(),refetchInterval:1e4})}},98368:(e,t,r)=>{r.d(t,{Ez:()=>s,PK:()=>i});var n=r(84561);let o=n.env.NEXT_PUBLIC_DEVFLOW_API_KEY?.trim()??"",u=n.env.NEXT_PUBLIC_DEVFLOW_API_URL?.trim()??"";function s(){return u?u.replace(/\/$/,""):window.location.origin}function i(){let e=function(){if(o)return o;try{return localStorage.getItem("devflow-api-key")?.trim()||null}catch{return null}}();return e?{"x-api-key":e}:{}}}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[690],{928:(e,t,r)=>{"use strict";r.d(t,{AccuracyView:()=>c});var s=r(54568),a=r(7620),n=r(89531),i=r(6026),l=r(28465),d=r(86914),o=r(32715);function c(){(0,o.v)("accuracy",[["accuracy-stats"],["accuracy-queries"],["auto-check"]]);let[e,t]=(0,a.useState)(""),{data:r}=(0,d.CU)(e||void 0),{data:c}=(0,d.zg)({engine:e||void 0,status:"unannotated",limit:20}),{data:u}=(0,d.d6)(),m=(0,d.gM)(),f=r??{},x=Array.isArray(c)?c:[],h=Array.isArray(u)?u:[],g=(0,a.useCallback)((e,t)=>{m.mutate({queryId:e,relevance:t})},[m]);return(0,s.jsxs)("div",{className:"p-6 space-y-6",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"Accuracy"}),(0,s.jsxs)("select",{value:e,onChange:e=>t(e.target.value),className:"border rounded px-2 py-1 text-sm bg-background",children:[(0,s.jsx)("option",{value:"",children:"All Engines"}),(0,s.jsx)("option",{value:"codegraph",children:"CodeGraph"}),(0,s.jsx)("option",{value:"knowledge",children:"Knowledge"}),(0,s.jsx)("option",{value:"memory",children:"Memory"})]})]}),h.length>0&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("h3",{className:"text-sm font-medium",children:"Auto Check Results"}),h.map(e=>(0,s.jsxs)("div",{className:`flex items-center gap-3 p-2 rounded text-sm ${"error"===e.severity?"bg-red-50 dark:bg-red-950 border border-red-300":"warning"===e.severity?"bg-yellow-50 dark:bg-yellow-950 border border-yellow-300":"bg-green-50 dark:bg-green-950 border border-green-300"}`,children:[(0,s.jsx)(i.E,{variant:"ok"===e.severity?"default":"destructive",children:e.severity}),(0,s.jsx)("span",{className:"flex-1",children:e.detail})]},e.name))]}),Object.keys(f).length>0&&(0,s.jsx)("div",{className:"grid grid-cols-3 gap-4",children:Object.entries(f).map(([e,t])=>(0,s.jsxs)(n.Zp,{className:"p-4 space-y-2",children:[(0,s.jsx)("h3",{className:"font-medium text-sm capitalize",children:e}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-muted-foreground",children:"Queries"}),(0,s.jsx)("span",{className:"font-semibold text-right",children:t.totalQueries}),(0,s.jsx)("span",{className:"text-muted-foreground",children:"Annotated"}),(0,s.jsx)("span",{className:"font-semibold text-right",children:t.annotatedQueries}),(0,s.jsx)("span",{className:"text-muted-foreground",children:"Hit Rate"}),(0,s.jsx)("span",{className:"font-semibold text-right",children:null!=t.hitRate?`${Math.round(100*t.hitRate)}%`:"N/A"})]})]},e))}),x.length>0&&(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("h3",{className:"text-sm font-medium",children:["Annotation Queue (",x.length," unannotated)"]}),x.slice(0,10).map(e=>(0,s.jsxs)(n.Zp,{className:"p-3 space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)(i.E,{variant:"outline",children:e.engine}),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:new Date(e.createdAt).toLocaleString()})]}),(0,s.jsx)("p",{className:"text-sm font-mono",children:e.query}),(0,s.jsxs)("div",{className:"text-xs text-muted-foreground",children:["Top results: ",e.topKResults?.slice(0,3).map(e=>e.name??e.title).join(", ")||"none"]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(l.$,{size:"sm",variant:"default",onClick:()=>g(e.id,"hit"),children:"Hit"}),(0,s.jsx)(l.$,{size:"sm",variant:"secondary",onClick:()=>g(e.id,"partial"),children:"Partial"}),(0,s.jsx)(l.$,{size:"sm",variant:"destructive",onClick:()=>g(e.id,"miss"),children:"Miss"})]})]},e.id))]}),0===Object.keys(f).length&&0===x.length&&0===h.length&&(0,s.jsx)("p",{className:"text-muted-foreground text-sm",children:"No accuracy data yet. Start a Claude Code session to collect queries."})]})}},6026:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var s=r(54568);r(7620);var a=r(64318);let n=(0,r(91397).F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:e,variant:t,...r}){return(0,s.jsx)("div",{className:(0,a.cn)(n({variant:t}),e),...r})}},21617:(e,t,r)=>{Promise.resolve().then(r.bind(r,928))},28465:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var s=r(54568),a=r(7620),n=r(64318);let i=(0,r(91397).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef(({className:e,variant:t,size:r,...a},l)=>(0,s.jsx)("button",{className:(0,n.cn)(i({variant:t,size:r,className:e})),ref:l,...a}));l.displayName="Button"},32715:(e,t,r)=>{"use strict";r.d(t,{h:()=>l,v:()=>d});var s=r(7620),a=r(68728),n=r(98368);async function i(e,t,r){let s=await fetch(`${(0,n.Ez)()}/api${e}`,{headers:(0,n.PK)(),credentials:"same-origin",signal:t});if(!s.ok||!s.body)throw Error(`SSE ${s.status}`);let a=s.body.getReader(),i=new TextDecoder,l="";for(;!t.aborted;){let{value:e,done:t}=await a.read();if(t)break;let s=(l+=i.decode(e,{stream:!0})).split("\n\n");for(let e of(l=s.pop()??"",s)){let t="message",s=[];for(let r of e.split("\n"))r.startsWith("event:")&&(t=r.slice(6).trim()),r.startsWith("data:")&&s.push(r.slice(5).trim());if(0!==s.length)try{r({type:t,data:JSON.parse(s.join("\n"))})}catch{}}}}function l(e){let[t,r]=(0,s.useState)([]);return(0,s.useEffect)(()=>{if(!e)return;let t=new AbortController;return i(`/workflows/runs/${encodeURIComponent(e)}/stream`,t.signal,e=>r(t=>[...t,e])).catch(()=>void 0),()=>t.abort()},[e]),{events:t,clear:(0,s.useCallback)(()=>r([]),[])}}function d(e,t){let r=(0,a.jE)(),n=JSON.stringify(t);(0,s.useEffect)(()=>{let t=new AbortController,s=JSON.parse(n);return i(`/live/stream?channels=${encodeURIComponent(e)}`,t.signal,t=>{if("refresh"===t.type&&t.data.channel===e)for(let e of s)r.invalidateQueries({queryKey:e})}).catch(()=>void 0),()=>t.abort()},[e,r,n])}},64318:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var s=r(9917),a=r(2809);function n(...e){return(0,a.QP)((0,s.$)(e))}},89531:(e,t,r)=>{"use strict";r.d(t,{Wu:()=>o,ZB:()=>d,Zp:()=>i,aR:()=>l});var s=r(54568),a=r(7620),n=r(64318);let i=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("div",{ref:r,className:(0,n.cn)("rounded-lg border border-border bg-card text-card-foreground",e),...t}));i.displayName="Card";let l=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-4",e),...t}));l.displayName="CardHeader";let d=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("h3",{ref:r,className:(0,n.cn)("text-sm font-semibold leading-none tracking-tight",e),...t}));d.displayName="CardTitle";let o=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("div",{ref:r,className:(0,n.cn)("p-4 pt-0",e),...t}));o.displayName="CardContent"},91397:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var s=r(9917);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=s.$,i=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:l}=t,d=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],s=null==l?void 0:l[e];if(null===t)return null;let n=a(t)||a(s);return i[e][n]}),o=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,d,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...o}[t]):({...l,...o})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{e.O(0,[820,993,914,587,968,358],()=>e(e.s=21617)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[690],{928:(e,t,r)=>{"use strict";r.d(t,{AccuracyView:()=>c});var s=r(54568),a=r(7620),n=r(89531),i=r(6026),l=r(28465),d=r(86914),o=r(32715);function c(){(0,o.v)("accuracy",[["accuracy-stats"],["accuracy-queries"],["auto-check"]]);let[e,t]=(0,a.useState)(""),{data:r}=(0,d.CU)(e||void 0),{data:c}=(0,d.zg)({engine:e||void 0,status:"unannotated",limit:20}),{data:u}=(0,d.d6)(),m=(0,d.gM)(),f=r??{},x=Array.isArray(c)?c:[],h=Array.isArray(u)?u:[],g=(0,a.useCallback)((e,t)=>{m.mutate({queryId:e,relevance:t})},[m]);return(0,s.jsxs)("div",{className:"p-6 space-y-6",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"Accuracy"}),(0,s.jsxs)("select",{value:e,onChange:e=>t(e.target.value),className:"border rounded px-2 py-1 text-sm bg-background",children:[(0,s.jsx)("option",{value:"",children:"All Engines"}),(0,s.jsx)("option",{value:"codegraph",children:"CodeGraph"}),(0,s.jsx)("option",{value:"knowledge",children:"Knowledge"}),(0,s.jsx)("option",{value:"memory",children:"Memory"})]})]}),h.length>0&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("h3",{className:"text-sm font-medium",children:"Auto Check Results"}),h.map(e=>(0,s.jsxs)("div",{className:`flex items-center gap-3 p-2 rounded text-sm ${"error"===e.severity?"bg-red-50 dark:bg-red-950 border border-red-300":"warning"===e.severity?"bg-yellow-50 dark:bg-yellow-950 border border-yellow-300":"bg-green-50 dark:bg-green-950 border border-green-300"}`,children:[(0,s.jsx)(i.E,{variant:"ok"===e.severity?"default":"destructive",children:e.severity}),(0,s.jsx)("span",{className:"flex-1",children:e.detail})]},e.name))]}),Object.keys(f).length>0&&(0,s.jsx)("div",{className:"grid grid-cols-3 gap-4",children:Object.entries(f).map(([e,t])=>(0,s.jsxs)(n.Zp,{className:"p-4 space-y-2",children:[(0,s.jsx)("h3",{className:"font-medium text-sm capitalize",children:e}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-muted-foreground",children:"Queries"}),(0,s.jsx)("span",{className:"font-semibold text-right",children:t.totalQueries}),(0,s.jsx)("span",{className:"text-muted-foreground",children:"Annotated"}),(0,s.jsx)("span",{className:"font-semibold text-right",children:t.annotatedQueries}),(0,s.jsx)("span",{className:"text-muted-foreground",children:"Hit Rate"}),(0,s.jsx)("span",{className:"font-semibold text-right",children:null!=t.hitRate?`${Math.round(100*t.hitRate)}%`:"N/A"})]})]},e))}),x.length>0&&(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("h3",{className:"text-sm font-medium",children:["Annotation Queue (",x.length," unannotated)"]}),x.slice(0,10).map(e=>(0,s.jsxs)(n.Zp,{className:"p-3 space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)(i.E,{variant:"outline",children:e.engine}),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:new Date(e.createdAt).toLocaleString()})]}),(0,s.jsx)("p",{className:"text-sm font-mono",children:e.query}),(0,s.jsxs)("div",{className:"text-xs text-muted-foreground",children:["Top results: ",e.topKResults?.slice(0,3).map(e=>e.name??e.title).join(", ")||"none"]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(l.$,{size:"sm",variant:"default",onClick:()=>g(e.id,"hit"),children:"Hit"}),(0,s.jsx)(l.$,{size:"sm",variant:"secondary",onClick:()=>g(e.id,"partial"),children:"Partial"}),(0,s.jsx)(l.$,{size:"sm",variant:"destructive",onClick:()=>g(e.id,"miss"),children:"Miss"})]})]},e.id))]}),0===Object.keys(f).length&&0===x.length&&0===h.length&&(0,s.jsx)("p",{className:"text-muted-foreground text-sm",children:"No accuracy data yet. Start a Claude Code session to collect queries."})]})}},6026:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var s=r(54568);r(7620);var a=r(64318);let n=(0,r(91397).F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:e,variant:t,...r}){return(0,s.jsx)("div",{className:(0,a.cn)(n({variant:t}),e),...r})}},21617:(e,t,r)=>{Promise.resolve().then(r.bind(r,928))},28465:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var s=r(54568),a=r(7620),n=r(64318);let i=(0,r(91397).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef(({className:e,variant:t,size:r,...a},l)=>(0,s.jsx)("button",{className:(0,n.cn)(i({variant:t,size:r,className:e})),ref:l,...a}));l.displayName="Button"},32715:(e,t,r)=>{"use strict";r.d(t,{h:()=>l,v:()=>d});var s=r(7620),a=r(68728),n=r(98368);async function i(e,t,r,s){let a=await fetch(`${(0,n.Ez)()}/api${e}`,{headers:{...(0,n.PK)(),...s?{"Last-Event-ID":String(s)}:{}},credentials:"same-origin",signal:t});if(!a.ok||!a.body)throw Error(`SSE ${a.status}`);let i=a.body.getReader(),l=new TextDecoder,d="";for(;!t.aborted;){let{value:e,done:t}=await i.read();if(t)break;let s=(d+=l.decode(e,{stream:!0})).split("\n\n");for(let e of(d=s.pop()??"",s)){let t="message",s=[];for(let r of e.split("\n"))r.startsWith("event:")&&(t=r.slice(6).trim()),r.startsWith("data:")&&s.push(r.slice(5).trim());if(0!==s.length)try{r({type:t,data:JSON.parse(s.join("\n"))})}catch{}}}}function l(e){let[t,r]=(0,s.useState)([]),a=(0,s.useRef)(0);return(0,s.useEffect)(()=>{if(!e)return;let t=new AbortController;return i(`/workflows/runs/${encodeURIComponent(e)}/stream`,t.signal,e=>{let t="number"==typeof e.data.sequence?e.data.sequence:void 0;t&&t<=a.current||(t&&(a.current=t),r(t=>[...t,e]))},a.current).catch(()=>void 0),()=>t.abort()},[e]),{events:t,clear:(0,s.useCallback)(()=>r([]),[])}}function d(e,t){let r=(0,a.jE)(),n=JSON.stringify(t);(0,s.useEffect)(()=>{let t=new AbortController,s=JSON.parse(n);return i(`/live/stream?channels=${encodeURIComponent(e)}`,t.signal,t=>{if("refresh"===t.type&&t.data.channel===e)for(let e of s)r.invalidateQueries({queryKey:e})}).catch(()=>void 0),()=>t.abort()},[e,r,n])}},64318:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var s=r(9917),a=r(2809);function n(...e){return(0,a.QP)((0,s.$)(e))}},89531:(e,t,r)=>{"use strict";r.d(t,{Wu:()=>o,ZB:()=>d,Zp:()=>i,aR:()=>l});var s=r(54568),a=r(7620),n=r(64318);let i=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("div",{ref:r,className:(0,n.cn)("rounded-lg border border-border bg-card text-card-foreground",e),...t}));i.displayName="Card";let l=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-4",e),...t}));l.displayName="CardHeader";let d=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("h3",{ref:r,className:(0,n.cn)("text-sm font-semibold leading-none tracking-tight",e),...t}));d.displayName="CardTitle";let o=a.forwardRef(({className:e,...t},r)=>(0,s.jsx)("div",{ref:r,className:(0,n.cn)("p-4 pt-0",e),...t}));o.displayName="CardContent"},91397:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var s=r(9917);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=s.$,i=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:l}=t,d=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],s=null==l?void 0:l[e];if(null===t)return null;let n=a(t)||a(s);return i[e][n]}),o=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,d,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...o}[t]):({...l,...o})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{e.O(0,[820,993,914,587,968,358],()=>e(e.s=21617)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[114],{638:(e,t,s)=>{"use strict";s.d(t,{C:()=>c});var r=s(19851);let n="devflow-project-root",l="devflow-active-project-root";function a(e){try{return localStorage.getItem(e)}catch{return null}}function i(e,t){try{null===t?localStorage.removeItem(e):localStorage.setItem(e,t)}catch{}}let c=(0,r.vt)(e=>({selectedNodeId:null,detailTab:"properties",searchQuery:"",projectRoot:a(n),activeProjectRoot:a(l),selectedRunId:null,selectNode:t=>e({selectedNodeId:t}),setDetailTab:t=>e({detailTab:t}),setSearchQuery:t=>e({searchQuery:t}),setProjectRoot:t=>{i(n,t),e({projectRoot:t})},setActiveProjectRoot:t=>{i(l,t),e({activeProjectRoot:t})},setSelectedRunId:t=>e({selectedRunId:t})}))},3140:(e,t,s)=>{"use strict";e.exports=s(48558)},8490:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(81007).A)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},19851:(e,t,s)=>{"use strict";s.d(t,{vt:()=>d});var r=s(27650),n=s(7620),l=s(3140);let{useDebugValue:a}=n,{useSyncExternalStoreWithSelector:i}=l,c=!1,o=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,r.y)(e):e,s=(e,s)=>(function(e,t=e=>e,s){s&&!c&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),c=!0);let r=i(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,s);return a(r),r})(t,e,s);return Object.assign(s,t),s},d=e=>e?o(e):o},23555:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(81007).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},23623:(e,t,s)=>{"use strict";s.d(t,{p:()=>a});var r=s(54568),n=s(7620),l=s(64318);let a=n.forwardRef(({className:e,type:t,...s},n)=>(0,r.jsx)("input",{type:t,className:(0,l.cn)("flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...s}));a.displayName="Input"},27650:(e,t,s)=>{"use strict";s.d(t,{y:()=>n});let r=e=>{let t,s=new Set,r=(e,r)=>{let n="function"==typeof e?e(t):e;if(!Object.is(n,t)){let e=t;t=(null!=r?r:"object"!=typeof n||null===n)?n:Object.assign({},t,n),s.forEach(s=>s(t,e))}},n=()=>t,l={setState:r,getState:n,getInitialState:()=>a,subscribe:e=>(s.add(e),()=>s.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),s.clear()}},a=t=e(r,n,l);return l},n=e=>e?r(e):r},28465:(e,t,s)=>{"use strict";s.d(t,{$:()=>i});var r=s(54568),n=s(7620),l=s(64318);let a=(0,s(91397).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),i=n.forwardRef(({className:e,variant:t,size:s,...n},i)=>(0,r.jsx)("button",{className:(0,l.cn)(a({variant:t,size:s,className:e})),ref:i,...n}));i.displayName="Button"},36645:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(81007).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},38688:(e,t,s)=>{"use strict";s.d(t,{ContextViewer:()=>j});var r=s(54568),n=s(7620),l=s(86914),a=s(638),i=s(28465),c=s(89531),o=s(23623),d=s(23555),u=s(81007);let x=(0,u.A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);var m=s(63264),h=s(8490);let f=(0,u.A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),p=(0,u.A)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var v=s(36645),g=s(64567);function j(){let{t:e}=(0,g.Bd)(),[t,s]=(0,n.useState)(""),[u,j]=(0,n.useState)({}),y=(0,a.C)(e=>e.activeProjectRoot),b=(0,l.y4)(),{data:N}=(0,l.z$)(),k=(0,l.lb)(),w=b.isPending,A=()=>{t.trim()&&(j({}),b.mutate({query:t,mode:"fast"}))},R=e=>{t.trim()&&(j({[t]:e}),k.mutate({query:t,feedback:e,projectRoot:y??void 0,taskType:N?.taskType,contextMode:"task",tokenCount:N?.tokenCount}))};return(0,r.jsxs)("div",{className:"p-6 space-y-4 h-full overflow-y-auto",children:[(0,r.jsx)("div",{className:"flex items-center justify-between",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-2xl font-bold",children:e("context.taskContext")}),(0,r.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:e("context.taskContextDescription")})]})}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.p,{placeholder:e("context.placeholder"),value:t,onChange:e=>s(e.target.value),onKeyDown:e=>"Enter"===e.key&&A()}),(0,r.jsxs)(i.$,{onClick:A,disabled:w,children:[(0,r.jsx)(d.A,{className:"h-4 w-4 mr-1"})," ",e("context.build")]})]}),w&&(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:e("context.building")}),N&&(0,r.jsxs)(r.Fragment,{children:[N&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Zp,{children:(0,r.jsx)(c.aR,{children:(0,r.jsxs)(c.ZB,{className:"flex items-center justify-between",children:[(0,r.jsxs)("span",{children:[e("context.taskContext"),": ",N.taskType]}),(0,r.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:e("context.confidenceTokens",{confidence:(100*N.confidence).toFixed(0),tokens:N.tokenCount})})]})})}),(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.aR,{children:(0,r.jsxs)(c.ZB,{className:"flex items-center gap-2",children:[(0,r.jsx)(x,{className:"h-4 w-4"}),e("context.requiredFiles")," (",N.requiredFiles.files.length,")"]})}),(0,r.jsx)(c.Wu,{children:(0,r.jsx)("div",{className:"space-y-1",children:N.requiredFiles.files.map(e=>(0,r.jsxs)("div",{className:"text-sm font-mono text-green-700 dark:text-green-400",children:["● ",e]},e))})})]}),N.optionalFiles.files.length>0&&(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.aR,{children:(0,r.jsxs)(c.ZB,{className:"flex items-center gap-2",children:[(0,r.jsx)(x,{className:"h-4 w-4"}),e("context.optionalFiles")," (",N.optionalFiles.files.length,")"]})}),(0,r.jsx)(c.Wu,{children:(0,r.jsx)("div",{className:"space-y-1",children:N.optionalFiles.files.map(e=>(0,r.jsxs)("div",{className:"text-sm font-mono text-muted-foreground",children:["○ ",e]},e))})})]}),(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.aR,{children:(0,r.jsxs)(c.ZB,{children:[e("context.keySymbols")," (",N.keySymbols.length,")"]})}),(0,r.jsx)(c.Wu,{children:(0,r.jsx)("div",{className:"space-y-2",children:N.keySymbols.slice(0,10).map(t=>(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:`text-xs px-1.5 py-0.5 rounded ${"direct"===t.relevance?"bg-green-100 text-green-700":"bg-gray-100 text-gray-500"}`,children:"direct"===t.relevance?e("context.relevanceDirect"):e("context.relevanceIndirect")}),(0,r.jsx)("span",{className:"text-sm font-medium",children:t.name}),(0,r.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(",t.kind,")"]}),(0,r.jsx)("span",{className:"text-xs text-muted-foreground font-mono ml-auto",children:t.file})]},`${t.file}:${t.name}`))})})]}),N.riskHints.length>0&&(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.aR,{children:(0,r.jsxs)(c.ZB,{className:"flex items-center gap-2",children:[(0,r.jsx)(m.A,{className:"h-4 w-4"}),e("context.riskHints")," (",N.riskHints.length,")"]})}),(0,r.jsx)(c.Wu,{children:(0,r.jsx)("div",{className:"space-y-2",children:N.riskHints.map((t,s)=>(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[(0,r.jsx)("span",{className:`mt-0.5 px-1.5 py-0.5 rounded text-xs font-medium ${"high"===t.level?"bg-red-100 text-red-700":"medium"===t.level?"bg-yellow-100 text-yellow-700":"bg-gray-100 text-gray-600"}`,children:"high"===t.level?e("context.levelHigh"):"medium"===t.level?e("context.levelMedium"):e("context.levelLow")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-sm font-medium",children:t.category}),(0,r.jsx)("div",{className:"text-xs text-muted-foreground",children:t.description})]})]},s))})})]}),(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.aR,{children:(0,r.jsxs)(c.ZB,{className:"flex items-center gap-2",children:[(0,r.jsx)(h.A,{className:"h-4 w-4"}),e("context.nextActions")]})}),(0,r.jsx)(c.Wu,{children:(0,r.jsx)("div",{className:"space-y-2",children:N.nextActions.map((e,t)=>(0,r.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,r.jsx)("span",{className:"px-1.5 py-0.5 rounded bg-blue-100 text-blue-700 text-xs",children:e.kind}),(0,r.jsx)("span",{children:e.label}),(0,r.jsx)("span",{className:"text-xs text-muted-foreground font-mono",children:e.payload})]},t))})})]})]}),N&&(0,r.jsx)(c.Zp,{children:(0,r.jsx)(c.Wu,{className:"p-4",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground mr-2",children:e("context.wasHelpful")}),(0,r.jsxs)(i.$,{size:"sm",variant:"hit"===u[t]?"default":"outline",onClick:()=>R("hit"),disabled:k.isPending,children:[(0,r.jsx)(f,{className:"h-3 w-3 mr-1"})," ",e("context.hit")]}),(0,r.jsxs)(i.$,{size:"sm",variant:"partial"===u[t]?"default":"outline",onClick:()=>R("partial"),disabled:k.isPending,children:[(0,r.jsx)(p,{className:"h-3 w-3 mr-1"})," ",e("context.partial")]}),(0,r.jsxs)(i.$,{size:"sm",variant:"miss"===u[t]?"default":"outline",onClick:()=>R("miss"),disabled:k.isPending,children:[(0,r.jsx)(v.A,{className:"h-3 w-3 mr-1"})," ",e("context.miss")]}),k.isSuccess&&(0,r.jsx)("span",{className:"text-xs text-green-600 ml-2",children:e("context.thanks")})]})})})]})]})}},48558:(e,t,s)=>{"use strict";var r=s(7620),n=s(16574),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useSyncExternalStore,i=r.useRef,c=r.useEffect,o=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,s,r,n){var u=i(null);if(null===u.current){var x={hasValue:!1,value:null};u.current=x}else x=u.current;var m=a(e,(u=o(function(){function e(e){if(!c){if(c=!0,a=e,e=r(e),void 0!==n&&x.hasValue){var t=x.value;if(n(t,e))return i=t}return i=e}if(t=i,l(a,e))return t;var s=r(e);return void 0!==n&&n(t,s)?(a=e,t):(a=e,i=s)}var a,i,c=!1,o=void 0===s?null:s;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,s,r,n]))[0],u[1]);return c(function(){x.hasValue=!0,x.value=m},[m]),d(m),m}},63264:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(81007).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},64318:(e,t,s)=>{"use strict";s.d(t,{cn:()=>l});var r=s(9917),n=s(2809);function l(...e){return(0,n.QP)((0,r.$)(e))}},73893:(e,t,s)=>{Promise.resolve().then(s.bind(s,38688))},81007:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var r=s(7620);let n=(...e)=>e.filter((e,t,s)=>!!e&&s.indexOf(e)===t).join(" ");var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:a,className:i="",children:c,iconNode:o,...d},u)=>(0,r.createElement)("svg",{ref:u,...l,width:t,height:t,stroke:e,strokeWidth:a?24*Number(s)/Number(t):s,className:n("lucide",i),...d},[...o.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(c)?c:[c]])),i=(e,t)=>{let s=(0,r.forwardRef)(({className:s,...l},i)=>(0,r.createElement)(a,{ref:i,iconNode:t,className:n(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,s),...l}));return s.displayName=`${e}`,s}},89531:(e,t,s)=>{"use strict";s.d(t,{Wu:()=>o,ZB:()=>c,Zp:()=>a,aR:()=>i});var r=s(54568),n=s(7620),l=s(64318);let a=n.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,l.cn)("rounded-lg border border-border bg-card text-card-foreground",e),...t}));a.displayName="Card";let i=n.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,l.cn)("flex flex-col space-y-1.5 p-4",e),...t}));i.displayName="CardHeader";let c=n.forwardRef(({className:e,...t},s)=>(0,r.jsx)("h3",{ref:s,className:(0,l.cn)("text-sm font-semibold leading-none tracking-tight",e),...t}));c.displayName="CardTitle";let o=n.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,l.cn)("p-4 pt-0",e),...t}));o.displayName="CardContent"},91397:(e,t,s)=>{"use strict";s.d(t,{F:()=>a});var r=s(9917);let n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=r.$,a=(e,t)=>s=>{var r;if((null==t?void 0:t.variants)==null)return l(e,null==s?void 0:s.class,null==s?void 0:s.className);let{variants:a,defaultVariants:i}=t,c=Object.keys(a).map(e=>{let t=null==s?void 0:s[e],r=null==i?void 0:i[e];if(null===t)return null;let l=n(t)||n(r);return a[e][l]}),o=s&&Object.entries(s).reduce((e,t)=>{let[s,r]=t;return void 0===r||(e[s]=r),e},{});return l(e,c,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:s,className:r,...n}=t;return Object.entries(n).every(e=>{let[t,s]=e;return Array.isArray(s)?s.includes({...i,...o}[t]):({...i,...o})[t]===s})?[...e,s,r]:e},[]),null==s?void 0:s.class,null==s?void 0:s.className)}}},e=>{e.O(0,[820,567,993,914,587,968,358],()=>e(e.s=73893)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[488],{2985:(e,t,r)=>{Promise.resolve().then(r.bind(r,63746))},14133:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});var s=r(98368);async function o(e,t){let r=function(){try{return localStorage.getItem("devflow-active-project-root")}catch{return null}}(),o={"Content-Type":"application/json",...(0,s.PK)()};r&&(o["x-devflow-project"]=r);let n=await fetch(`${(0,s.Ez)()}/api${e}`,{...t,headers:{...o,...t?.headers},credentials:"same-origin"});if(!n.ok){let e=await n.text();if(401===n.status)throw Error("API 401: reload the local dashboard or configure a dashboard API key");throw Error(`API ${n.status}: ${e}`)}let a=await n.json();return a&&"object"==typeof a&&"ok"in a&&"data"in a?a.data:a}let n={runtimeReady:()=>o("/ready"),listProjects:()=>o("/projects"),getProject:e=>o(`/projects/${e}`),createProject:e=>o("/projects",{method:"POST",body:JSON.stringify(e)}),deleteProject:e=>o(`/projects/${e}`,{method:"DELETE"}),connectProject:e=>o("/projects/connect",{method:"POST",body:JSON.stringify({rootPath:e})}),disconnectProject:()=>o("/projects/active",{method:"DELETE"}),getActiveProject:()=>o("/projects/active"),getOnboardingPackByRoot:e=>o(`/projects/onboarding-pack?rootPath=${encodeURIComponent(e)}`),refreshOnboardingPack:e=>o("/projects/onboarding-pack/refresh",{method:"POST",body:JSON.stringify({rootPath:e})}),getContextStatus:()=>o("/context/status"),buildContext:e=>o("/context/build",{method:"POST",body:JSON.stringify(e)}),buildTaskContext:e=>o("/context/build-task",{method:"POST",body:JSON.stringify(e)}),submitFeedback:e=>o("/context/feedback",{method:"POST",body:JSON.stringify(e)}),getFeedbackSummary:()=>o("/context/feedback-summary"),getGraph:()=>o("/graph"),getLayeredGraph:()=>o("/graph?view=layered"),getNode:e=>o(`/graph/${e}`),expandNode:(e,t,r)=>o(`/graph/${e}/expand?depth=${t??2}&direction=${r??"both"}`),listWorkflows:()=>o("/workflows"),runWorkflow:(e,t)=>o(`/workflows/${e}/run`,{method:"POST",body:JSON.stringify({input:t})}),listRuns:(e=20,t=0)=>o(`/workflows/runs?limit=${e}&offset=${t}`),getRun:e=>o(`/workflows/runs/${e}`),approveRun:e=>o(`/workflows/runs/${e}/approve`,{method:"POST"}),rejectRun:(e,t)=>o(`/workflows/runs/${e}/reject`,{method:"POST",body:JSON.stringify({reason:t})}),getMemory:()=>o("/memory"),addMemory:e=>o("/memory",{method:"POST",body:JSON.stringify(e)}),updateMemoryEntry:(e,t)=>o(`/memory/${e}`,{method:"PUT",body:JSON.stringify(t)}),deleteMemoryEntry:e=>o(`/memory/${e}`,{method:"DELETE"}),getCandidates:()=>o("/memory/candidates"),approveCandidate:e=>o(`/memory/candidates/${e}/approve`,{method:"POST"}),rejectCandidate:e=>o(`/memory/candidates/${e}/reject`,{method:"POST"}),searchMemory:(e,t,r)=>o("/memory/search",{method:"POST",body:JSON.stringify({query:e,limit:t,categories:r})}),updateMemory:(e,t,r)=>o(`/memory/${e}/${t}`,{method:"PUT",body:JSON.stringify({value:r})}),searchKnowledge:(e,t)=>o(`/knowledge/search?q=${encodeURIComponent(e)}${t?`&scope=${t}`:""}`),syncKnowledge:e=>o("/knowledge/sync",{method:"POST",body:JSON.stringify({pluginName:e})}),getKnowledgeSources:()=>o("/knowledge/sources"),listTelemetryRuns:(e=20,t=0,r)=>o(`/telemetry/runs?limit=${e}&offset=${t}${r?`&source=${r}`:""}`),getTelemetryRun:e=>o(`/telemetry/runs/${e}`),getTimeline:(e,t)=>o(`/telemetry/timeline${e?`?from=${e}${t?`&to=${t}`:""}`:""}`),listSessions:(e=20,t=0,r)=>{let s=new URLSearchParams({limit:String(e),offset:String(t)});return r&&s.set("projectRoot",r),o(`/telemetry/sessions?${s}`)},getSession:e=>o(`/telemetry/sessions/${e}`),getSessionEvents:e=>o(`/telemetry/sessions/${e}/events`),getRunEvents:e=>o(`/telemetry/runs/${e}/events`),getRunStats:e=>o(`/telemetry/runs/${e}/stats`),completeRun:e=>o(`/telemetry/runs/${e}/complete`,{method:"POST"}),getTelemetryStats:(e=7)=>o(`/telemetry/stats?days=${e}`),getRoiSummary:(e=7)=>o(`/telemetry/roi-summary?days=${e}`),listBenchmarkReports:(e=50)=>o(`/benchmark/reports?limit=${e}`),getLatestBenchmarkReport:(e="default")=>o(`/benchmark/reports/latest?suite=${encodeURIComponent(e)}`),getBenchmarkReport:e=>o(`/benchmark/reports/${encodeURIComponent(e)}`),cleanupTelemetry:e=>o("/telemetry/cleanup",{method:"POST",body:JSON.stringify({olderThanDays:e})}),getToolMetricsSummary:(e=7)=>o(`/telemetry/tool-metrics/summary?days=${e}`),getAccuracyStats:(e,t)=>{let r=new URLSearchParams;e&&r.set("engine",e),t&&r.set("since",String(t));let s=r.toString();return o(`/telemetry/accuracy/stats${s?`?${s}`:""}`)},getAccuracyQueries:e=>{let t=new URLSearchParams;e?.engine&&t.set("engine",e.engine),e?.status&&t.set("status",e.status),e?.limit&&t.set("limit",String(e.limit)),e?.offset&&t.set("offset",String(e.offset));let r=t.toString();return o(`/telemetry/accuracy/queries${r?`?${r}`:""}`)},postAccuracyFeedback:e=>o("/telemetry/accuracy/feedback",{method:"POST",body:JSON.stringify(e)}),getAutoCheck:()=>o("/telemetry/auto-check"),getExecutions:(e=20,t)=>{let r=new URLSearchParams({limit:String(e)});return t&&r.set("skillName",t),o(`/telemetry/executions?${r}`)},getExecutionEvents:e=>o(`/telemetry/executions/${e}/events`),getMcpCompliance:()=>o("/telemetry/mcp-compliance"),getGovernanceRules:()=>o("/governance/rules"),createGovernanceRule:e=>o("/governance/rules",{method:"POST",body:JSON.stringify(e)}),updateGovernanceRule:e=>o(`/governance/rules/${encodeURIComponent(e.id)}`,{method:"PUT",body:JSON.stringify(e)}),deleteGovernanceRule:e=>o(`/governance/rules/${encodeURIComponent(e)}`,{method:"DELETE"}),getGovernanceAudit:(e=100,t=0)=>o(`/governance/audit-chain?limit=${e}&offset=${t}`),listPlugins:(e,t)=>o(`/registry/plugins${e?`?search=${encodeURIComponent(e)}${t?`&tag=${t}`:""}`:t?`?tag=${t}`:""}`),getPlugin:e=>o(`/registry/plugins/${e}`),publishPlugin:e=>o("/registry/plugins",{method:"POST",body:JSON.stringify(e)}),getPluginEffectiveness:e=>o(`/registry/plugins/effectiveness${e?`?rootPath=${encodeURIComponent(e)}`:""}`)}},47186:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(81007).A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},56242:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(81007).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},63746:(e,t,r)=>{"use strict";r.d(t,{ExecutionsView:()=>y});var s=r(54568),o=r(48820),n=r(14133),a=r(64567),l=r(7620),i=r(78914);let c=(0,r(81007).A)("CircleCheckBig",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var d=r(47186),m=r(73599),u=r(56242);function x({rate:e}){let t=e>=80?"bg-green-500":e>=50?"bg-yellow-500":"bg-red-500";return(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"w-20 h-2 bg-muted rounded-full overflow-hidden",children:(0,s.jsx)("div",{className:`h-full ${t} rounded-full`,style:{width:`${e}%`}})}),(0,s.jsxs)("span",{className:"text-xs text-muted-foreground",children:[e.toFixed(1),"%"]})]})}function y(){let{t:e}=(0,a.Bd)(),[t,r]=(0,l.useState)(null),{data:y,isLoading:g}=(0,o.I)({queryKey:["telemetry","executions"],queryFn:()=>n.F.getExecutions(50),refetchInterval:1e4}),{data:h}=(0,o.I)({queryKey:["telemetry","mcp-compliance"],queryFn:()=>n.F.getMcpCompliance()}),{data:p}=(0,o.I)({queryKey:["telemetry","executions",t,"events"],queryFn:()=>n.F.getExecutionEvents(t),enabled:!!t}),f=y??[];return g?(0,s.jsxs)("div",{className:"flex items-center justify-center h-full text-muted-foreground",children:[(0,s.jsx)(i.A,{className:"h-5 w-5 animate-spin mr-2"}),e("executions.loading")]}):(0,s.jsxs)("div",{className:"h-full overflow-auto p-6",children:[(0,s.jsx)("h2",{className:"text-xl font-bold mb-4",children:e("executions.title")}),h&&(0,s.jsxs)("div",{className:"grid grid-cols-3 gap-4 mb-6",children:[(0,s.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,s.jsx)("div",{className:"text-sm text-muted-foreground",children:e("executions.overallCompliance")}),(0,s.jsxs)("div",{className:"text-2xl font-bold mt-1",children:[h.overall.toFixed(1),"%"]})]}),(0,s.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,s.jsx)("div",{className:"text-sm text-muted-foreground",children:e("executions.totalExecutions")}),(0,s.jsx)("div",{className:"text-2xl font-bold mt-1",children:f.length})]}),(0,s.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,s.jsx)("div",{className:"text-sm text-muted-foreground",children:e("executions.skillsTracked")}),(0,s.jsx)("div",{className:"text-2xl font-bold mt-1",children:Object.keys(h.bySkill).length})]})]}),(0,s.jsx)("div",{className:"bg-card border border-border rounded-lg overflow-hidden",children:(0,s.jsxs)("table",{className:"w-full text-sm",children:[(0,s.jsx)("thead",{className:"bg-muted/50",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"text-left px-4 py-2 font-medium",children:e("executions.skill")}),(0,s.jsx)("th",{className:"text-left px-4 py-2 font-medium",children:e("executions.status")}),(0,s.jsx)("th",{className:"text-left px-4 py-2 font-medium",children:e("executions.tools")}),(0,s.jsx)("th",{className:"text-left px-4 py-2 font-medium",children:e("executions.mcpRate")}),(0,s.jsx)("th",{className:"text-left px-4 py-2 font-medium",children:e("executions.duration")})]})}),(0,s.jsxs)("tbody",{children:[f.map(e=>{var o;return(0,s.jsxs)("tr",{className:`border-t border-border cursor-pointer hover:bg-muted/30 ${t===e.executionId?"bg-muted/50":""}`,onClick:()=>r(e.executionId),children:[(0,s.jsx)("td",{className:"px-4 py-2 font-mono text-xs",children:e.skillName}),(0,s.jsx)("td",{className:"px-4 py-2",children:"completed"===e.status?(0,s.jsx)(c,{className:"h-4 w-4 text-green-500 inline"}):"failed"===e.status?(0,s.jsx)(d.A,{className:"h-4 w-4 text-red-500 inline"}):(0,s.jsx)(m.A,{className:"h-4 w-4 text-yellow-500 inline animate-spin"})}),(0,s.jsx)("td",{className:"px-4 py-2",children:e.totalToolCalls}),(0,s.jsx)("td",{className:"px-4 py-2",children:(0,s.jsx)(x,{rate:e.mcpComplianceRate??0})}),(0,s.jsx)("td",{className:"px-4 py-2",children:(o=e.totalDuration??0)<1e3?`${o}ms`:`${(o/1e3).toFixed(1)}s`})]},e.executionId)}),0===f.length&&(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:5,className:"px-4 py-8 text-center text-muted-foreground",children:e("executions.empty")})})]})]})}),t&&p&&(0,s.jsxs)("div",{className:"mt-6 bg-card border border-border rounded-lg p-4",children:[(0,s.jsxs)("h3",{className:"font-bold mb-3 flex items-center gap-2",children:[(0,s.jsx)(u.A,{className:"h-4 w-4"}),e("executions.traceTimeline")]}),(0,s.jsx)("div",{className:"space-y-2",children:(p??[]).map(t=>(0,s.jsxs)("div",{className:"flex items-start gap-3 p-2 rounded-md bg-muted/30 text-sm",children:[(0,s.jsx)("span",{className:"text-xs text-muted-foreground w-16 shrink-0",children:new Date(t.timestamp).toLocaleTimeString()}),(0,s.jsx)("span",{className:`px-1.5 py-0.5 rounded text-xs font-mono ${t.isMcpTool?"bg-green-500/20 text-green-400":"subagent"===t.toolType?"bg-blue-500/20 text-blue-400":"bg-muted text-muted-foreground"}`,children:t.toolType}),(0,s.jsx)("span",{className:"font-mono text-xs flex-1",children:t.toolName}),t.blocked&&(0,s.jsx)("span",{className:"px-1.5 py-0.5 rounded text-xs bg-red-500/20 text-red-400",children:e("executions.blocked")}),t.mcpEnforced&&(0,s.jsx)("span",{className:"px-1.5 py-0.5 rounded text-xs bg-green-500/20 text-green-400",children:"MCP"}),t.mcpFallback&&(0,s.jsx)("span",{className:"px-1.5 py-0.5 rounded text-xs bg-yellow-500/20 text-yellow-400",children:e("executions.fallback")})]},t.eventId))})]})]})}},73599:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(81007).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},78914:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(81007).A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},81007:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(7620);let o=(...e)=>e.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ");var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,s.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:l="",children:i,iconNode:c,...d},m)=>(0,s.createElement)("svg",{ref:m,...n,width:t,height:t,stroke:e,strokeWidth:a?24*Number(r)/Number(t):r,className:o("lucide",l),...d},[...c.map(([e,t])=>(0,s.createElement)(e,t)),...Array.isArray(i)?i:[i]])),l=(e,t)=>{let r=(0,s.forwardRef)(({className:r,...n},l)=>(0,s.createElement)(a,{ref:l,iconNode:t,className:o(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...n}));return r.displayName=`${e}`,r}},98368:(e,t,r)=>{"use strict";r.d(t,{Ez:()=>a,PK:()=>l});var s=r(84561);let o=s.env.NEXT_PUBLIC_DEVFLOW_API_KEY?.trim()??"",n=s.env.NEXT_PUBLIC_DEVFLOW_API_URL?.trim()??"";function a(){return n?n.replace(/\/$/,""):window.location.origin}function l(){let e=function(){if(o)return o;try{return localStorage.getItem("devflow-api-key")?.trim()||null}catch{return null}}();return e?{"x-api-key":e}:{}}}},e=>{e.O(0,[820,567,587,968,358],()=>e(e.s=2985)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[736,813],{638:(e,t,r)=>{"use strict";r.d(t,{C:()=>l});var o=r(19851);let s="devflow-project-root",a="devflow-active-project-root";function n(e){try{return localStorage.getItem(e)}catch{return null}}function i(e,t){try{null===t?localStorage.removeItem(e):localStorage.setItem(e,t)}catch{}}let l=(0,o.vt)(e=>({selectedNodeId:null,detailTab:"properties",searchQuery:"",projectRoot:n(s),activeProjectRoot:n(a),selectedRunId:null,selectNode:t=>e({selectedNodeId:t}),setDetailTab:t=>e({detailTab:t}),setSearchQuery:t=>e({searchQuery:t}),setProjectRoot:t=>{i(s,t),e({projectRoot:t})},setActiveProjectRoot:t=>{i(a,t),e({activeProjectRoot:t})},setSelectedRunId:t=>e({selectedRunId:t})}))},14736:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GraphView:()=>j});var o=r(54568),s=r(7620),a=r(23623),n=r(28465),i=r(638),l=r(91443);r(88682);var d=r(98058),c=r.n(d),u=r(8011);let h={component:"C",hook:"H",api:"A",store:"S",function:"F",class:"CL",interface:"I",enum:"E",type:"T",variable:"V",unknown:"?"};var f=r(86914);let g={graphNode:function({data:e}){let t=h[e.nodeType]??e.nodeType?.charAt(0)?.toUpperCase()??"?",r=e.layerColor??"#6b7280",s=void 0!==e.highlighted,a=!0===e.highlighted;return(0,o.jsxs)("div",{className:"px-3 py-2 rounded-lg border-2 text-xs font-medium transition-opacity duration-200",style:{borderColor:r,backgroundColor:`color-mix(in srgb, ${r} 8%, var(--background, #fff))`,boxShadow:a?`0 0 12px ${r}, 0 0 4px ${r}`:"0 1px 3px rgba(0,0,0,0.12)",opacity:s&&!a?.15:1},children:[(0,o.jsx)(l.h7,{type:"target",position:u.yX.Top,style:{background:r}}),(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsx)("span",{className:"inline-flex items-center justify-center w-5 h-5 rounded text-[10px] font-bold text-white flex-shrink-0",style:{backgroundColor:r},children:t}),(0,o.jsx)("span",{className:"truncate max-w-[140px]",children:e.label})]}),(0,o.jsx)(l.h7,{type:"source",position:u.yX.Bottom,style:{background:r}})]})}};function p({filterMode:e="highlight",searchQuery:t=""}){return(0,o.jsx)(l.Ln,{children:(0,o.jsx)(m,{filterMode:e,searchQuery:t})})}function m({filterMode:e,searchQuery:t}){let{data:r}=(0,f.eG)(),a=(0,i.C)(e=>e.selectNode),{fitView:n}=(0,l.VH)(),d=(0,s.useMemo)(()=>{if(!r)return{nodes:[],edges:[]};let o=(t??"").toLowerCase().trim(),s="filter"===e&&o?r.nodes.filter(e=>e.name.toLowerCase().includes(o)):r.nodes.slice(0,300),a=o.length>0,n=s.map(e=>({id:e.id,type:"graphNode",position:{x:0,y:0},data:{label:e.name,nodeType:e.type,layer:e.layer??"Other",layerColor:e.layerColor??"#6b7280",highlighted:a?e.name.toLowerCase().includes(o):void 0}})),i=new Set(n.map(e=>e.id)),l=r.edges.filter(e=>i.has(e.from)&&i.has(e.to)).slice(0,500).map((e,t)=>({id:`${e.from}->${e.to}-${t}`,source:e.from,target:e.to,animated:!1,style:{stroke:"#4b5563"}})),d=new(c()).graphlib.Graph;for(let e of(d.setDefaultEdgeLabel(()=>({})),d.setGraph({rankdir:"TB",ranksep:80,nodesep:60}),n))d.setNode(e.id,{width:180,height:50});for(let e of l)d.setEdge(e.source,e.target);return c().layout(d),{nodes:n.map(e=>{let t=d.node(e.id);return{...e,position:{x:t.x-90,y:t.y-25}}}),edges:l}},[r,t,e]),[u,h,p]=(0,l.ck)(d.nodes),[x,b,y]=(0,l.fM)(d.edges);(0,s.useEffect)(()=>{h(d.nodes),b(d.edges)},[d,h,b]),(0,s.useEffect)(()=>{if(t){let e=d.nodes.find(e=>!0===e.data.highlighted);e&&setTimeout(()=>{n({nodes:[e],duration:500,maxZoom:1.5})},100)}},[t,d.nodes,n]);let v=(0,s.useCallback)((e,t)=>{a(t.id)},[a]);return(0,o.jsxs)(l.Gc,{nodes:u,edges:x,onNodesChange:p,onEdgesChange:y,onNodeClick:v,nodeTypes:g,fitView:!0,children:[(0,o.jsx)(l.VS,{}),(0,o.jsx)(l.H2,{}),(0,o.jsx)(l.of,{nodeColor:e=>e.data?.layerColor??"#6b7280"})]})}var x=r(64567),b=r(23555),y=r(20732),v=r(18741);function j(){let{t:e}=(0,x.Bd)(),t=(0,i.C)(e=>e.searchQuery),r=(0,i.C)(e=>e.setSearchQuery),[l,d]=(0,s.useState)("highlight");return(0,o.jsxs)("div",{className:"flex flex-col h-full",children:[(0,o.jsxs)("div",{className:"p-3 border-b border-border flex items-center gap-2",children:[(0,o.jsxs)("div",{className:"relative flex-1 max-w-sm",children:[(0,o.jsx)(b.A,{className:"absolute left-2 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,o.jsx)(a.p,{placeholder:e("graph.searchPlaceholder"),value:t,onChange:e=>r(e.target.value),className:"pl-8"})]}),t&&(0,o.jsx)(n.$,{variant:"ghost",size:"sm",onClick:()=>d(e=>"highlight"===e?"filter":"highlight"),title:e("highlight"===l?"graph.filterOnly":"graph.highlightAll"),className:"flex-shrink-0",children:"highlight"===l?(0,o.jsx)(y.A,{className:"h-4 w-4"}):(0,o.jsx)(v.A,{className:"h-4 w-4"})})]}),(0,o.jsx)("div",{className:"flex-1",children:(0,o.jsx)(p,{filterMode:l,searchQuery:t})})]})}},23623:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var o=r(54568),s=r(7620),a=r(64318);let n=s.forwardRef(({className:e,type:t,...r},s)=>(0,o.jsx)("input",{type:t,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:s,...r}));n.displayName="Input"},28465:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});var o=r(54568),s=r(7620),a=r(64318);let n=(0,r(91397).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),i=s.forwardRef(({className:e,variant:t,size:r,...s},i)=>(0,o.jsx)("button",{className:(0,a.cn)(n({variant:t,size:r,className:e})),ref:i,...s}));i.displayName="Button"},64318:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var o=r(9917),s=r(2809);function a(...e){return(0,s.QP)((0,o.$)(e))}},90935:(e,t,r)=>{Promise.resolve().then(r.bind(r,14736))}},e=>{e.O(0,[159,383,820,567,993,73,914,587,968,358],()=>e(e.s=90935)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[238,259,712],{2896:(e,t,n)=>{"use strict";function r({moduleIds:e}){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(54568),n(97509),n(85999),n(12918),n(32106)},6035:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(59113).createAsyncLocalStorage)()},7377:(e,t,n)=>{"use strict";n.d(t,{ProjectIntelligenceView:()=>b});var r=n(54568),l=n(66446),a=n.n(l),o=n(65587),u=n.n(o),s=n(79748),i=n(64567);let d=a()(()=>Promise.all([n.e(159),n.e(383),n.e(820),n.e(993),n.e(73),n.e(914),n.e(736)]).then(n.bind(n,14736)).then(e=>e.GraphView),{loadableGenerated:{webpack:()=>[14736]},ssr:!1}),c=a()(()=>Promise.all([n.e(820),n.e(993),n.e(914),n.e(707)]).then(n.bind(n,56707)).then(e=>e.KnowledgeView),{loadableGenerated:{webpack:()=>[56707]},ssr:!1}),f=a()(()=>Promise.all([n.e(820),n.e(993),n.e(90),n.e(136),n.e(914),n.e(407)]).then(n.bind(n,91788)).then(e=>e.MemoryPanel),{loadableGenerated:{webpack:()=>[91788]},ssr:!1});function b(){let{t:e}=(0,i.Bd)(),t=(0,s.usePathname)(),n=t.endsWith("/knowledge")?"knowledge":t.endsWith("/memory")?"memory":"graph",l=[{key:"graph",href:"/intelligence",label:e("nav.graph")},{key:"knowledge",href:"/intelligence/knowledge",label:e("nav.knowledge")},{key:"memory",href:"/intelligence/memory",label:e("nav.memory")}];return(0,r.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,r.jsx)("div",{className:"flex gap-1 border-b border-border p-3",children:l.map(e=>(0,r.jsx)(u(),{href:e.href,className:`rounded-md px-3 py-1.5 text-sm ${n===e.key?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-accent"}`,children:e.label},e.key))}),(0,r.jsx)("div",{className:"min-h-0 flex-1",children:"knowledge"===n?(0,r.jsx)(c,{}):"memory"===n?(0,r.jsx)(f,{}):(0,r.jsx)(d,{})}),(0,r.jsx)("span",{className:"sr-only",children:e("shell.lazyLoaded")})]})}},23597:(e,t,n)=>{"use strict";function r({reason:e,children:t}){return t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(61841)},59113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={bindSnapshot:function(){return s},createAsyncLocalStorage:function(){return u},createSnapshot:function(){return i}};for(var r in n)Object.defineProperty(t,r,{enumerable:!0,get:n[r]});let l=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw l}getStore(){}run(){throw l}exit(){throw l}enterWith(){throw l}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function u(){return o?new o:new a}function s(e){return o?o.bind(e):a.bind(e)}function i(){return o?o.snapshot():function(e,...t){return e(...t)}}},66446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(74468)._(n(67926));function l(e,t){let n={};"function"==typeof e&&(n.loader=e);let l={...n,...t};return(0,r.default)({...l,modules:l.loadableGenerated?.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67926:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(54568),l=n(7620),a=n(23597);function o(e){return{default:e&&"default"in e?e.default:e}}n(2896);let u={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},s=function(e){let t={...u,...e},n=(0,l.lazy)(()=>t.loader().then(o)),s=t.loading;function i(e){let o=s?(0,r.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,u=!t.ssr||!!t.loading,i=u?l.Suspense:l.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(i,{...u?{fallback:o}:{},children:d})}return i.displayName="LoadableComponent",i}},79748:(e,t,n)=>{"use strict";var r=n(79796);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},85999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(6035)},86879:(e,t,n)=>{Promise.resolve().then(n.bind(n,7377))}},e=>{e.O(0,[567,825,587,968,358],()=>e(e.s=86879)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[238,259,712],{2896:(e,t,n)=>{"use strict";function r({moduleIds:e}){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(54568),n(97509),n(85999),n(12918),n(32106)},6035:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(59113).createAsyncLocalStorage)()},7377:(e,t,n)=>{"use strict";n.d(t,{ProjectIntelligenceView:()=>b});var r=n(54568),l=n(66446),a=n.n(l),o=n(65587),u=n.n(o),s=n(79748),i=n(64567);let d=a()(()=>Promise.all([n.e(159),n.e(383),n.e(820),n.e(993),n.e(73),n.e(914),n.e(736)]).then(n.bind(n,14736)).then(e=>e.GraphView),{loadableGenerated:{webpack:()=>[14736]},ssr:!1}),c=a()(()=>Promise.all([n.e(820),n.e(993),n.e(914),n.e(707)]).then(n.bind(n,56707)).then(e=>e.KnowledgeView),{loadableGenerated:{webpack:()=>[56707]},ssr:!1}),f=a()(()=>Promise.all([n.e(820),n.e(993),n.e(90),n.e(136),n.e(914),n.e(407)]).then(n.bind(n,91788)).then(e=>e.MemoryPanel),{loadableGenerated:{webpack:()=>[91788]},ssr:!1});function b(){let{t:e}=(0,i.Bd)(),t=(0,s.usePathname)(),n=t.endsWith("/knowledge")?"knowledge":t.endsWith("/memory")?"memory":"graph",l=[{key:"graph",href:"/intelligence",label:e("nav.graph")},{key:"knowledge",href:"/intelligence/knowledge",label:e("nav.knowledge")},{key:"memory",href:"/intelligence/memory",label:e("nav.memory")}];return(0,r.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,r.jsx)("div",{className:"flex gap-1 border-b border-border p-3",children:l.map(e=>(0,r.jsx)(u(),{href:e.href,className:`rounded-md px-3 py-1.5 text-sm ${n===e.key?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-accent"}`,children:e.label},e.key))}),(0,r.jsx)("div",{className:"min-h-0 flex-1",children:"knowledge"===n?(0,r.jsx)(c,{}):"memory"===n?(0,r.jsx)(f,{}):(0,r.jsx)(d,{})}),(0,r.jsx)("span",{className:"sr-only",children:e("shell.lazyLoaded")})]})}},23597:(e,t,n)=>{"use strict";function r({reason:e,children:t}){return t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(61841)},59113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={bindSnapshot:function(){return s},createAsyncLocalStorage:function(){return u},createSnapshot:function(){return i}};for(var r in n)Object.defineProperty(t,r,{enumerable:!0,get:n[r]});let l=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw l}getStore(){}run(){throw l}exit(){throw l}enterWith(){throw l}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function u(){return o?new o:new a}function s(e){return o?o.bind(e):a.bind(e)}function i(){return o?o.snapshot():function(e,...t){return e(...t)}}},66446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(74468)._(n(67926));function l(e,t){let n={};"function"==typeof e&&(n.loader=e);let l={...n,...t};return(0,r.default)({...l,modules:l.loadableGenerated?.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67926:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(54568),l=n(7620),a=n(23597);function o(e){return{default:e&&"default"in e?e.default:e}}n(2896);let u={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},s=function(e){let t={...u,...e},n=(0,l.lazy)(()=>t.loader().then(o)),s=t.loading;function i(e){let o=s?(0,r.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,u=!t.ssr||!!t.loading,i=u?l.Suspense:l.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(i,{...u?{fallback:o}:{},children:d})}return i.displayName="LoadableComponent",i}},79748:(e,t,n)=>{"use strict";var r=n(79796);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},85999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(6035)},86879:(e,t,n)=>{Promise.resolve().then(n.bind(n,7377))}},e=>{e.O(0,[567,825,587,968,358],()=>e(e.s=86879)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[238,259,712],{2896:(e,t,n)=>{"use strict";function r({moduleIds:e}){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(54568),n(97509),n(85999),n(12918),n(32106)},6035:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(59113).createAsyncLocalStorage)()},7377:(e,t,n)=>{"use strict";n.d(t,{ProjectIntelligenceView:()=>b});var r=n(54568),l=n(66446),a=n.n(l),o=n(65587),u=n.n(o),s=n(79748),i=n(64567);let d=a()(()=>Promise.all([n.e(159),n.e(383),n.e(820),n.e(993),n.e(73),n.e(914),n.e(736)]).then(n.bind(n,14736)).then(e=>e.GraphView),{loadableGenerated:{webpack:()=>[14736]},ssr:!1}),c=a()(()=>Promise.all([n.e(820),n.e(993),n.e(914),n.e(707)]).then(n.bind(n,56707)).then(e=>e.KnowledgeView),{loadableGenerated:{webpack:()=>[56707]},ssr:!1}),f=a()(()=>Promise.all([n.e(820),n.e(993),n.e(90),n.e(136),n.e(914),n.e(407)]).then(n.bind(n,91788)).then(e=>e.MemoryPanel),{loadableGenerated:{webpack:()=>[91788]},ssr:!1});function b(){let{t:e}=(0,i.Bd)(),t=(0,s.usePathname)(),n=t.endsWith("/knowledge")?"knowledge":t.endsWith("/memory")?"memory":"graph",l=[{key:"graph",href:"/intelligence",label:e("nav.graph")},{key:"knowledge",href:"/intelligence/knowledge",label:e("nav.knowledge")},{key:"memory",href:"/intelligence/memory",label:e("nav.memory")}];return(0,r.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,r.jsx)("div",{className:"flex gap-1 border-b border-border p-3",children:l.map(e=>(0,r.jsx)(u(),{href:e.href,className:`rounded-md px-3 py-1.5 text-sm ${n===e.key?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-accent"}`,children:e.label},e.key))}),(0,r.jsx)("div",{className:"min-h-0 flex-1",children:"knowledge"===n?(0,r.jsx)(c,{}):"memory"===n?(0,r.jsx)(f,{}):(0,r.jsx)(d,{})}),(0,r.jsx)("span",{className:"sr-only",children:e("shell.lazyLoaded")})]})}},23597:(e,t,n)=>{"use strict";function r({reason:e,children:t}){return t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(61841)},59113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={bindSnapshot:function(){return s},createAsyncLocalStorage:function(){return u},createSnapshot:function(){return i}};for(var r in n)Object.defineProperty(t,r,{enumerable:!0,get:n[r]});let l=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw l}getStore(){}run(){throw l}exit(){throw l}enterWith(){throw l}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function u(){return o?new o:new a}function s(e){return o?o.bind(e):a.bind(e)}function i(){return o?o.snapshot():function(e,...t){return e(...t)}}},66446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(74468)._(n(67926));function l(e,t){let n={};"function"==typeof e&&(n.loader=e);let l={...n,...t};return(0,r.default)({...l,modules:l.loadableGenerated?.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67926:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(54568),l=n(7620),a=n(23597);function o(e){return{default:e&&"default"in e?e.default:e}}n(2896);let u={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},s=function(e){let t={...u,...e},n=(0,l.lazy)(()=>t.loader().then(o)),s=t.loading;function i(e){let o=s?(0,r.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,u=!t.ssr||!!t.loading,i=u?l.Suspense:l.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(i,{...u?{fallback:o}:{},children:d})}return i.displayName="LoadableComponent",i}},79748:(e,t,n)=>{"use strict";var r=n(79796);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},85999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(6035)},86879:(e,t,n)=>{Promise.resolve().then(n.bind(n,7377))}},e=>{e.O(0,[567,825,587,968,358],()=>e(e.s=86879)),_N_E=e.O()}]);