@oscharko-dev/keiko 0.3.8 → 0.3.10

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 (302) hide show
  1. package/dist/ui/csp-hashes.json +28 -27
  2. package/dist/ui/static/404.html +1 -1
  3. package/dist/ui/static/__next.__PAGE__.txt +2 -2
  4. package/dist/ui/static/__next._full.txt +11 -12
  5. package/dist/ui/static/__next._head.txt +1 -1
  6. package/dist/ui/static/__next._index.txt +3 -3
  7. package/dist/ui/static/__next._tree.txt +1 -1
  8. package/dist/ui/static/_next/static/chunks/03la2o0tcodk_.js +1 -0
  9. package/dist/ui/static/_next/static/chunks/061l2tjhvak63.js +1 -0
  10. package/dist/ui/static/_next/static/chunks/{440of1tk-svp7.js → 0d5rtaf3-jc-x.js} +1 -1
  11. package/dist/ui/static/_next/static/chunks/0lorosh9iyl5i.js +7 -0
  12. package/dist/ui/static/_next/static/chunks/0ncsz59mr16k6.js +1 -0
  13. package/dist/ui/static/_next/static/chunks/{2ris2qfh-i8yp.js → 0ovebg0sbcqct.js} +1 -1
  14. package/dist/ui/static/_next/static/chunks/0q76qswp80ci1.js +1 -0
  15. package/dist/ui/static/_next/static/chunks/0rvhrleg8f98b.js +1 -0
  16. package/dist/ui/static/_next/static/chunks/0umcj95dn7ptb.js +1 -0
  17. package/dist/ui/static/_next/static/chunks/{1d7s5tsir6fhz.js → 1_m1z_f54hkji.js} +1 -1
  18. package/dist/ui/static/_next/static/chunks/1kfsvai94yvr2.js +1 -0
  19. package/dist/ui/static/_next/static/chunks/1pcygmx7pvpwp.js +4 -0
  20. package/dist/ui/static/_next/static/chunks/1q2pujkdoaygu.js +1 -0
  21. package/dist/ui/static/_next/static/chunks/1ziptu5xlzq_p.js +1 -0
  22. package/dist/ui/static/_next/static/chunks/{0q1jeqzmpadwy.js → 2b7g5wrm7slyv.js} +1 -1
  23. package/dist/ui/static/_next/static/chunks/2bzjr2ai0a8hq.js +1 -0
  24. package/dist/ui/static/_next/static/chunks/{1um8zhr3ig3xv.js → 2ksqufkg3ptp1.js} +1 -1
  25. package/dist/ui/static/_next/static/chunks/2lz9ujlsm75kc.js +3 -0
  26. package/dist/ui/static/_next/static/chunks/{0rt2s2w_savnr.js → 2ohow-fui5d_w.js} +1 -1
  27. package/dist/ui/static/_next/static/chunks/2qhtb4qq3arii.js +1 -0
  28. package/dist/ui/static/_next/static/chunks/2r_lex4m5unw5.js +3 -0
  29. package/dist/ui/static/_next/static/chunks/{2643eg8cfungj.js → 2rcawuh-77fnp.js} +1 -1
  30. package/dist/ui/static/_next/static/chunks/2sji-23jqwpol.js +1 -0
  31. package/dist/ui/static/_next/static/chunks/3-4iik5ytvbed.js +1 -0
  32. package/dist/ui/static/_next/static/chunks/36z66lssar4oh.js +1 -0
  33. package/dist/ui/static/_next/static/chunks/3ljwwkelljh81.js +1 -0
  34. package/dist/ui/static/_next/static/chunks/3mmcvq93ws1o_.js +1 -0
  35. package/dist/ui/static/_next/static/chunks/{2ghf_333iydt2.js → 3mw_ni1a9rykb.js} +1 -1
  36. package/dist/ui/static/_next/static/chunks/3oqygeiv31fa7.js +1 -0
  37. package/dist/ui/static/_next/static/chunks/3p83_dt4-z7q2.js +1 -0
  38. package/dist/ui/static/_next/static/chunks/3r74c2jeognx2.js +1 -0
  39. package/dist/ui/static/_next/static/chunks/3yu-e53axqbxi.js +1 -0
  40. package/dist/ui/static/_next/static/chunks/3zn27dbqgst19.js +1 -0
  41. package/dist/ui/static/_not-found/__next._full.txt +19 -14
  42. package/dist/ui/static/_not-found/__next._head.txt +1 -1
  43. package/dist/ui/static/_not-found/__next._index.txt +3 -3
  44. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
  45. package/dist/ui/static/_not-found/__next._not-found.txt +1 -1
  46. package/dist/ui/static/_not-found/__next._tree.txt +1 -1
  47. package/dist/ui/static/_not-found.html +1 -1
  48. package/dist/ui/static/_not-found.txt +19 -14
  49. package/dist/ui/static/atlassian-connectors/__next._full.txt +21 -17
  50. package/dist/ui/static/atlassian-connectors/__next._head.txt +1 -1
  51. package/dist/ui/static/atlassian-connectors/__next._index.txt +3 -3
  52. package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
  53. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +2 -2
  54. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.txt +2 -2
  55. package/dist/ui/static/atlassian-connectors.html +1 -1
  56. package/dist/ui/static/atlassian-connectors.txt +21 -17
  57. package/dist/ui/static/index.html +1 -1
  58. package/dist/ui/static/index.txt +11 -12
  59. package/dist/ui/static/launch/__next._full.txt +14 -15
  60. package/dist/ui/static/launch/__next._head.txt +1 -1
  61. package/dist/ui/static/launch/__next._index.txt +3 -3
  62. package/dist/ui/static/launch/__next._tree.txt +1 -1
  63. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +2 -2
  64. package/dist/ui/static/launch/__next.launch.txt +1 -1
  65. package/dist/ui/static/launch.html +1 -1
  66. package/dist/ui/static/launch.txt +14 -15
  67. package/dist/ui/static/local-knowledge/__next._full.txt +23 -25
  68. package/dist/ui/static/local-knowledge/__next._head.txt +1 -1
  69. package/dist/ui/static/local-knowledge/__next._index.txt +3 -3
  70. package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
  71. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +2 -2
  72. package/dist/ui/static/local-knowledge/__next.local-knowledge.txt +1 -1
  73. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +20 -19
  74. package/dist/ui/static/local-knowledge/capsule/__next._head.txt +1 -1
  75. package/dist/ui/static/local-knowledge/capsule/__next._index.txt +3 -3
  76. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
  77. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +2 -2
  78. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.txt +2 -2
  79. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.txt +1 -1
  80. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  81. package/dist/ui/static/local-knowledge/capsule.txt +20 -19
  82. package/dist/ui/static/local-knowledge.html +1 -1
  83. package/dist/ui/static/local-knowledge.txt +23 -25
  84. package/node_modules/@oscharko-dev/keiko-cli/package.json +13 -13
  85. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  86. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway-setup-audit.d.ts +35 -0
  87. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway-setup-audit.d.ts.map +1 -0
  88. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway-setup-audit.js +98 -0
  89. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +6 -0
  90. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
  91. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +1 -1
  92. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +6 -4
  93. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
  94. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.js +4 -3
  95. package/node_modules/@oscharko-dev/keiko-contracts/dist/prompt-enhancer-analyzer.d.ts.map +1 -1
  96. package/node_modules/@oscharko-dev/keiko-contracts/dist/prompt-enhancer-analyzer.js +4 -0
  97. package/node_modules/@oscharko-dev/keiko-contracts/dist/qualityIntelligence/bffWire.d.ts +19 -4
  98. package/node_modules/@oscharko-dev/keiko-contracts/dist/qualityIntelligence/bffWire.d.ts.map +1 -1
  99. package/node_modules/@oscharko-dev/keiko-contracts/dist/qualityIntelligence/bffWire.js +12 -0
  100. package/node_modules/@oscharko-dev/keiko-contracts/dist/qualityIntelligence/index.d.ts +2 -2
  101. package/node_modules/@oscharko-dev/keiko-contracts/dist/qualityIntelligence/index.d.ts.map +1 -1
  102. package/node_modules/@oscharko-dev/keiko-contracts/dist/qualityIntelligence/index.js +1 -1
  103. package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
  104. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  105. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  106. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts.map +1 -1
  107. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  108. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  109. package/node_modules/@oscharko-dev/keiko-git/dist/index.d.ts +1 -1
  110. package/node_modules/@oscharko-dev/keiko-git/dist/index.d.ts.map +1 -1
  111. package/node_modules/@oscharko-dev/keiko-git/dist/index.js +1 -1
  112. package/node_modules/@oscharko-dev/keiko-git/dist/resolve.d.ts +11 -0
  113. package/node_modules/@oscharko-dev/keiko-git/dist/resolve.d.ts.map +1 -1
  114. package/node_modules/@oscharko-dev/keiko-git/dist/resolve.js +11 -1
  115. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  116. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  117. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts.map +1 -1
  118. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  119. package/node_modules/@oscharko-dev/keiko-harness/package.json +6 -6
  120. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-batcher.d.ts.map +1 -1
  121. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-batcher.js +22 -9
  122. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator.d.ts.map +1 -1
  123. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator.js +15 -6
  124. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  125. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts.map +1 -1
  126. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  127. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
  128. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/salience.d.ts +1 -1
  129. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/salience.d.ts.map +1 -1
  130. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/salience.js +32 -8
  131. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  132. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts.map +1 -1
  133. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  134. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  135. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  136. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts.map +1 -1
  137. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  138. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  139. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  140. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts.map +1 -1
  141. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  142. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  143. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  144. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts.map +1 -1
  145. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  146. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  147. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  148. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts.map +1 -1
  149. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  150. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  151. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts +1 -1
  152. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts.map +1 -1
  153. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.js +24 -7
  154. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts +3 -1
  155. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts.map +1 -1
  156. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.js +3 -3
  157. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/promptEnhancer/generator.d.ts.map +1 -1
  158. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/promptEnhancer/generator.js +45 -4
  159. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  160. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts.map +1 -1
  161. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  162. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +3 -3
  163. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  164. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  165. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  166. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  167. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts.map +1 -1
  168. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  169. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  170. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +11 -0
  171. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
  172. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +144 -53
  173. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
  174. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +70 -15
  175. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
  176. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +11 -6
  177. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts +15 -0
  178. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts.map +1 -0
  179. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.js +40 -0
  180. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
  181. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +5 -1
  182. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts +17 -0
  183. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts.map +1 -0
  184. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.js +62 -0
  185. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +3 -1
  186. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  187. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +8 -0
  188. package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts +15 -0
  189. package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts.map +1 -1
  190. package/node_modules/@oscharko-dev/keiko-server/dist/files.js +61 -7
  191. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
  192. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +36 -6
  193. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +2 -0
  194. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
  195. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +120 -6
  196. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts +10 -1
  197. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts.map +1 -1
  198. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.js +20 -6
  199. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +3 -0
  200. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts.map +1 -1
  201. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.js +3 -1
  202. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +5 -1
  203. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
  204. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +72 -29
  205. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts +2 -1
  206. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts.map +1 -1
  207. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +24 -11
  208. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.d.ts.map +1 -1
  209. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.js +3 -4
  210. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.d.ts.map +1 -1
  211. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.js +15 -10
  212. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/uiRoutes.d.ts.map +1 -1
  213. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/uiRoutes.js +8 -0
  214. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts.map +1 -1
  215. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.js +7 -2
  216. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
  217. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +4 -1
  218. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts +1 -0
  219. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
  220. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +27 -0
  221. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +1 -0
  222. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
  223. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/mutex.d.ts +1 -0
  224. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/mutex.d.ts.map +1 -1
  225. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/mutex.js +52 -1
  226. package/node_modules/@oscharko-dev/keiko-server/package.json +21 -21
  227. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  228. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts.map +1 -1
  229. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  230. package/node_modules/@oscharko-dev/keiko-tools/package.json +5 -5
  231. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  232. package/node_modules/@oscharko-dev/keiko-workflows/dist/qualityIntelligence/modelRoutedTestDesign.d.ts.map +1 -1
  233. package/node_modules/@oscharko-dev/keiko-workflows/dist/qualityIntelligence/modelRoutedTestDesign.js +25 -4
  234. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  235. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  236. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts.map +1 -1
  237. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  238. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  239. package/package.json +25 -25
  240. package/release-impact.catalog.json +107 -2
  241. package/vendor/{oscharko-dev-keiko-cli-0.3.8.tgz → oscharko-dev-keiko-cli-0.3.10.tgz} +0 -0
  242. package/vendor/{oscharko-dev-keiko-connectors-0.3.8.tgz → oscharko-dev-keiko-connectors-0.3.10.tgz} +0 -0
  243. package/vendor/oscharko-dev-keiko-contracts-0.3.10.tgz +0 -0
  244. package/vendor/{oscharko-dev-keiko-evaluations-0.3.8.tgz → oscharko-dev-keiko-evaluations-0.3.10.tgz} +0 -0
  245. package/vendor/{oscharko-dev-keiko-evidence-0.3.8.tgz → oscharko-dev-keiko-evidence-0.3.10.tgz} +0 -0
  246. package/vendor/oscharko-dev-keiko-git-0.3.10.tgz +0 -0
  247. package/vendor/oscharko-dev-keiko-harness-0.3.10.tgz +0 -0
  248. package/vendor/oscharko-dev-keiko-local-knowledge-0.3.10.tgz +0 -0
  249. package/vendor/oscharko-dev-keiko-memory-capture-0.3.10.tgz +0 -0
  250. package/vendor/oscharko-dev-keiko-memory-consolidation-0.3.10.tgz +0 -0
  251. package/vendor/oscharko-dev-keiko-memory-governance-0.3.10.tgz +0 -0
  252. package/vendor/{oscharko-dev-keiko-memory-retrieval-0.3.8.tgz → oscharko-dev-keiko-memory-retrieval-0.3.10.tgz} +0 -0
  253. package/vendor/{oscharko-dev-keiko-memory-vault-0.3.8.tgz → oscharko-dev-keiko-memory-vault-0.3.10.tgz} +0 -0
  254. package/vendor/oscharko-dev-keiko-model-gateway-0.3.10.tgz +0 -0
  255. package/vendor/{oscharko-dev-keiko-quality-intelligence-0.3.8.tgz → oscharko-dev-keiko-quality-intelligence-0.3.10.tgz} +0 -0
  256. package/vendor/oscharko-dev-keiko-sandbox-0.3.10.tgz +0 -0
  257. package/vendor/oscharko-dev-keiko-sdk-0.3.10.tgz +0 -0
  258. package/vendor/{oscharko-dev-keiko-security-0.3.8.tgz → oscharko-dev-keiko-security-0.3.10.tgz} +0 -0
  259. package/vendor/oscharko-dev-keiko-server-0.3.10.tgz +0 -0
  260. package/vendor/{oscharko-dev-keiko-tools-0.3.8.tgz → oscharko-dev-keiko-tools-0.3.10.tgz} +0 -0
  261. package/vendor/{oscharko-dev-keiko-verification-0.3.8.tgz → oscharko-dev-keiko-verification-0.3.10.tgz} +0 -0
  262. package/vendor/oscharko-dev-keiko-workflows-0.3.10.tgz +0 -0
  263. package/vendor/{oscharko-dev-keiko-workspace-0.3.8.tgz → oscharko-dev-keiko-workspace-0.3.10.tgz} +0 -0
  264. package/dist/ui/static/_next/static/chunks/086nnnmz_fywd.js +0 -1
  265. package/dist/ui/static/_next/static/chunks/0j7newhpahad3.js +0 -4
  266. package/dist/ui/static/_next/static/chunks/0qzc6iq46cys8.js +0 -1
  267. package/dist/ui/static/_next/static/chunks/0w9yukh2frhl7.js +0 -3
  268. package/dist/ui/static/_next/static/chunks/12tubu4vls8ub.js +0 -1
  269. package/dist/ui/static/_next/static/chunks/15dlwl7oa5tcy.js +0 -1
  270. package/dist/ui/static/_next/static/chunks/1k1foyy560lcg.js +0 -1
  271. package/dist/ui/static/_next/static/chunks/1nrtmr69b4b8b.js +0 -3
  272. package/dist/ui/static/_next/static/chunks/1xfdw53h1onrd.js +0 -1
  273. package/dist/ui/static/_next/static/chunks/2e2nqd6u2hlue.js +0 -1
  274. package/dist/ui/static/_next/static/chunks/2gnfi9geipm26.js +0 -1
  275. package/dist/ui/static/_next/static/chunks/2gsud81bhet1a.js +0 -1
  276. package/dist/ui/static/_next/static/chunks/2homfxfhdb03_.js +0 -7
  277. package/dist/ui/static/_next/static/chunks/2qmmts3k57-yo.js +0 -1
  278. package/dist/ui/static/_next/static/chunks/2wuojl4wm2nz2.js +0 -1
  279. package/dist/ui/static/_next/static/chunks/36ptysojb77co.js +0 -1
  280. package/dist/ui/static/_next/static/chunks/39fa_n4fmmm_n.js +0 -1
  281. package/dist/ui/static/_next/static/chunks/3d6nm9igh3-oe.js +0 -1
  282. package/dist/ui/static/_next/static/chunks/3jvnor1lofqja.js +0 -1
  283. package/dist/ui/static/_next/static/chunks/3vln5dgrjjzxf.js +0 -1
  284. package/dist/ui/static/_next/static/chunks/3vwy5ym45warf.js +0 -1
  285. package/dist/ui/static/_next/static/chunks/3w8dtm11s4f_j.js +0 -1
  286. package/dist/ui/static/_next/static/chunks/3z9z-4k1kedfm.js +0 -1
  287. package/dist/ui/static/_next/static/chunks/41utq0q7no-vg.js +0 -1
  288. package/vendor/oscharko-dev-keiko-contracts-0.3.8.tgz +0 -0
  289. package/vendor/oscharko-dev-keiko-git-0.3.8.tgz +0 -0
  290. package/vendor/oscharko-dev-keiko-harness-0.3.8.tgz +0 -0
  291. package/vendor/oscharko-dev-keiko-local-knowledge-0.3.8.tgz +0 -0
  292. package/vendor/oscharko-dev-keiko-memory-capture-0.3.8.tgz +0 -0
  293. package/vendor/oscharko-dev-keiko-memory-consolidation-0.3.8.tgz +0 -0
  294. package/vendor/oscharko-dev-keiko-memory-governance-0.3.8.tgz +0 -0
  295. package/vendor/oscharko-dev-keiko-model-gateway-0.3.8.tgz +0 -0
  296. package/vendor/oscharko-dev-keiko-sandbox-0.3.8.tgz +0 -0
  297. package/vendor/oscharko-dev-keiko-sdk-0.3.8.tgz +0 -0
  298. package/vendor/oscharko-dev-keiko-server-0.3.8.tgz +0 -0
  299. package/vendor/oscharko-dev-keiko-workflows-0.3.8.tgz +0 -0
  300. /package/dist/ui/static/_next/static/{HRXN4QzQnsMCEYDtmAj6R → kyhHbKw0xpyYbFeuC7Z7i}/_buildManifest.js +0 -0
  301. /package/dist/ui/static/_next/static/{HRXN4QzQnsMCEYDtmAj6R → kyhHbKw0xpyYbFeuC7Z7i}/_clientMiddlewareManifest.js +0 -0
  302. /package/dist/ui/static/_next/static/{HRXN4QzQnsMCEYDtmAj6R → kyhHbKw0xpyYbFeuC7Z7i}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34955,30985,e=>{"use strict";e.s(["sortProjects",0,function(e){return[...e].sort((e,t)=>e.favorite!==t.favorite?e.favorite?-1:1:e.lastOpenedAt!==t.lastOpenedAt?t.lastOpenedAt-e.lastOpenedAt:e.path.localeCompare(t.path));}],34955);let t=new Set(["completed","dry-run","fix-applied","fix-proposed","investigation-only"]);function r(e){return e.length>200?e.slice(0,200):e;}function n(e){if(null!==e&&"object"==typeof e)return e;}function i(){return"Investigation complete; root cause documented.";}function a(e){let t=e.workflowId;return"unit-test-generation"===t||"unit-tests"===t?"unit-tests":"bug-investigation"===t?"bug":"verify"===e.taskType?"verify":"explain-plan"===e.taskType?"explain":"other";}e.s(["classifyRunReport",0,function(e,s){let o,l,c,d=n(e);if(void 0===d)return{kind:"unknown"};let u=function(e){let t=e.status;if("string"==typeof t)return t;}(d),f=a(s);return"running"===u?{kind:"running"}:"cancelled"===u?{kind:"terminal",summary:{workflowStatus:"cancelled",shortResult:"Run cancelled."}}:"failed"===u||"rejected"===u?{kind:"terminal",summary:{workflowStatus:"failed",shortResult:r(void 0!==(c="string"==typeof(l=null==(o=n(d.failure))?void 0:o.message)&&l.length>0?l:void 0)?r(`Run failed: ${c}.`):"Run failed.")}}:void 0!==u&&t.has(u)?{kind:"terminal",summary:{workflowStatus:"completed",shortResult:r(function(e,t){if("unit-tests"===t)return function(e){let t,r=e.addedTestFiles;if(Array.isArray(r)){let e=0,i=!1;for(let t of r){let r=n(t),a=null==r?void 0:r.estimatedTestCount;"number"==typeof a&&Number.isFinite(a)&&(e+=a,i=!0);}i&&(t=e);}let i=Array.isArray(r)?r.length:0;return i>0&&void 0!==t?`Generated ${String(i)} test files; ${String(t)} tests proposed.`:i>0?`Generated ${String(i)} test files.`:"Completed.";}(e);if("bug"===t)return i();if("verify"===t){let t,r;return Array.isArray(r=null==(t=n(e.verificationSummary))?void 0:t.results)&&r.length>0?`Verification passed: ${String(r.length)} classifications.`:"Verification passed.";}if("explain"===t){let t=e.dryRunPreview;if("string"==typeof t&&t.length>0){let e=t.split("\n").filter(e=>e.trim().length>0);if(e.length>0)return`Plan generated; ${String(e.length)} steps.`;}return"Plan generated.";}return"Completed.";}(d,f))}}:{kind:"unknown"};},"formatRunSummaryFromManifest",0,function(e,t){let s=n(e),o=void 0===s?void 0:n(s.run),l=void 0===o?void 0:o.outcome,c=a(t);if("cancelled"===l)return{workflowStatus:"cancelled",shortResult:"Run cancelled."};if("failed"===l||"limit-exceeded"===l)return{workflowStatus:"failed",shortResult:"Run failed."};if("completed"===l)return{workflowStatus:"completed",shortResult:r("bug"===c?i():"verify"===c?"Verification passed.":"explain"===c?"Plan generated.":"unit-tests"===c?"Generated tests.":"Completed.")};return{workflowStatus:"completed",shortResult:"Completed."};}],30985);},86090,e=>{"use strict";var t=e.i(76055);let r=[/\bsk-[A-Za-z0-9_-]{12,}\b/g,/\bBearer\s+[\w.~+/=-]{12,}(?![\w.~+/=-])/gi,/\bgho_\w{12,}\b/g,/\bghp_\w{12,}\b/g];function n(e){let t=e;for(let e of r)t=t.replace(e,"[REDACTED]");return t.replace(/\bBearer\s+\[REDACTED\]/gi,"[REDACTED]");}function i(e){return""!==e&&/\s/u.test(e);}function a(e,t){return"BAD_REQUEST"===t&&e.toLowerCase().includes("too broad")&&e.toLowerCase().includes("connected");}function s(e){return"CLARIFICATION_NEEDED"===e;}function o(e,t,r){return"GATEWAY_TIMEOUT"===t&&(0===e.length||e===t)?"The model gateway timed out before the model returned a response.":e.length>0?e:r;}function l(e,t){return s(t)?"Keiko braucht mehr Kontext":a(e,t)?"Narrow the connected-source question":"GATEWAY_TIMEOUT"===t?"Model gateway timed out":"PAYLOAD_TOO_LARGE"===t?"Request is too large":"NO_MODEL"===t?"No model is available":void 0!==t?"Request failed":"Something went wrong";}function c(e,t){return s(t)?"Nenne eine konkrete Datei, einen Identifier, eine Fehlermeldung oder eine exakte Phrase.":a(e,t)?"Ask about a specific file, folder, symbol, identifier, or exact phrase. For broad questions over large project folders, narrow the Files scope first.":"GATEWAY_TIMEOUT"===t?"Retry. If it repeats, use a smaller prompt or another model, then check gateway URL, proxy, and deployment in Settings.":"PAYLOAD_TOO_LARGE"===t?"Reduce the selected scope or remove large attachments before retrying.":void 0;}e.s(["formatUserError",0,function(e,r){if(e instanceof t.ApiError){let t=o(n(e.message.trim()),e.code,r);return`${t} (${e.code})`;}return e instanceof Error&&e.message.trim().length>0?n(e.message.trim()):r;},"toUserErrorNotice",0,function(e,r){var a;let s;if(e instanceof t.ApiError){let t=o(n(e.message.trim()),e.code,r);return{title:l(t,e.code),message:t,code:e.code,remediation:c(t,e.code)};}let d=void 0===(s=function(e){var t,r,n,a,s;let o=e.length;for(;o>0&&i(null!=(t=e[o-1])?t:"");)o--;if(0===o||")"!==e[o-1])return;let l=o-1,c=l;for(;c>0&&(s=null!=(r=e[c-1])?r:"",/[A-Z0-9_/-]/u.test(s));)c--;let d=e.slice(c,l);if(d.length<3||!/^[A-Z]$/u.test(null!=(n=d[0])?n:""))return;let u=c-1;if(u<0||"("!==e[u])return;let f=u;for(;f>0&&i(null!=(a=e[f-1])?a:"");)f--;if(f!==u)return{prefixEnd:f,code:d};}(a=n(("string"==typeof e?e.trim():e instanceof Error?e.message.trim():"")||r)))?{message:a,code:void 0}:{message:a.slice(0,s.prefixEnd).trim(),code:s.code};return{title:l(d.message,d.code),message:d.message,code:d.code,remediation:c(d.message,d.code)};}]);},87552,28269,e=>{"use strict";let t,r,n,i;var a=e.i(87032),s=e.i(26428),o=e.i(50850),l=e.i(78025),c=e.i(76055),d=e.i(83500),u=e.i(20405),f=e.i(34955),v=e.i(30985),m=e.i(89956),h=e.i(86090);let p="Canonical voice hashing is unavailable.";function g(){return e.A(83233);}function y(e){if(void 0===t)throw Error(p);return t.sha256Hex(e);}e.s(["canonicalVoiceHasherIsReady",0,function(){return void 0!==t;},"canonicalVoiceSha256Hex",0,y,"prepareCanonicalVoiceHasher",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;if(void 0!==t)return Promise.resolve();if(void 0!==r)return r.promise;let n=Promise.resolve().then(e).then(e=>{if((null==r?void 0:r.generation)!==0||"function"!=typeof e.sha256Hex)throw Error(p);t=e;}).catch(()=>{throw Error(p);}).finally(()=>{(null==r?void 0:r.generation)===0&&(r=void 0);});return r={generation:0,promise:n},n;}],28269);var w=e.i(45624);function b(e){void 0!==e.previewUrl&&"function"==typeof URL.revokeObjectURL&&URL.revokeObjectURL(e.previewUrl);}async function C(e){let t=new Uint8Array(await e.arrayBuffer());return{sha256:Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",t)),e=>e.toString(16).padStart(2,"0")).join(""),contentBase64:function(e){let t="";for(let r=0;r<e.length;r+=32768)t+=String.fromCodePoint(...e.subarray(r,r+32768));return btoa(t);}(t)};}async function k(e,t,r){let n;if("document"===t)return{ok:!0};try{n=URL.createObjectURL(e);}catch{return{ok:!1,reason:"unsupported-type"};}if(void 0===r)return URL.revokeObjectURL(n),{ok:!1,reason:"delivery-refused"};try{let t=await C(e),i=await(0,c.uploadConversationAttachment)({projectPath:r.projectPath,chatId:r.id,mimeType:e.type,sizeBytes:e.size,sha256:t.sha256,contentBase64:t.contentBase64});return{ok:!0,previewUrl:n,upload:{attachmentRef:i.attachmentRef,expiresAt:i.expiresAt,sha256:t.sha256,projectPath:r.projectPath,chatId:r.id}};}catch{return URL.revokeObjectURL(n),{ok:!1,reason:"delivery-refused"};}}async function E(e){"image"===e.kind&&void 0!==e.attachmentRef&&void 0!==e.sha256&&void 0!==e.projectPath&&void 0!==e.chatId&&(await(0,c.deleteConversationAttachment)({attachmentRef:e.attachmentRef,projectPath:e.projectPath,chatId:e.chatId,mimeType:e.mimeType,sizeBytes:e.sizeBytes,sha256:e.sha256}));}let R="New chat",A="No conversation-eligible model is configured. Connect a gateway in Settings.",I="keiko:chat-upsert",T="keiko:chat-delete",M=129*s.MAX_DESKTOP_CHAT_INPUT_BYTES,S="The spoken turn is still pending. Retry it before sending another message.",P="A spoken turn identity was reused with different transcript content.",j=["completed","failed","cancelled"];function _(e){return"idle"!==e&&!j.includes(e);}let D="Attachments are not supported for grounded chats. Remove the attachment or switch to a non-grounded chat.",O="The model request completed, but the provider did not return any answer text. Retry once; if it happens again, check the selected model deployment in Settings.",L=new Set(["CONVERSATION_OVERSIZED_CONTEXT","GATEWAY_CONTEXT_OVERFLOW"]),U=["context length","context_length_exceeded","max_tokens","too many tokens"],x=["empty assistant response","empty grounded answer","without assistant content"];function N(e){let t;return function(e){if(e instanceof c.ApiError&&L.has(e.code))return!0;let t=e instanceof Error?e.message.toLowerCase():"";return 0!==t.length&&U.some(e=>t.includes(e));}(e)?"The conversation context exceeded the model's window. Open a new chat or pick a larger-context model.":0!==(t=e instanceof Error?e.message.toLowerCase():"").length&&x.some(e=>t.includes(e))?e instanceof c.ApiError?`${O} (${e.code})`:O:(0,h.formatUserError)(e,"Something went wrong. Try again.");}function B(e){return[...e].sort((e,t)=>t.updatedAt-e.updatedAt);}function F(e){return e.find(e=>"closed"!==e.status);}function G(e,t){return B([t,...e.filter(e=>e.id!==t.id)]);}function q(e,t,r){let n=new Set(t),i=new Set(r.map(e=>e.id)),a=[],s=!1;for(let t of e){if(n.has(t.id)){s||a.push(...r),s=!0;continue;}i.has(t.id)||a.push(t);}return s||a.push(...r),a;}function H(e,t,r){return e.some(e=>"user"===e.role&&!e.id.startsWith("local-")&&e.content===t&&e.timestamp>=r);}function $(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=new Set(e.map(e=>e.id)),a=new Set(n),s=[...r.values()].filter(r=>r.chatId===t&&!a.has(r.message.id)&&!i.has(r.message.id)&&!H(e,r.content,r.message.timestamp)).map(e=>e.message);return 0===s.length?Array.from(e):[...e,...s];}function z(e,t){return{id:`local-voice-${crypto.randomUUID()}`,chatId:e,role:"user",content:t,timestamp:Date.now(),runId:void 0,workflowId:void 0,workflowStatus:void 0,shortResult:void 0,taskType:void 0};}let V=new Set(),W=!1;function Y(e){for(let t of("delete"===e.type&&function(e){let t=er.queueRef.current.filter(t=>t.target.chat.id===e),r=`${e}\u0000`;for(let e of er.settledRef.current.keys())e.startsWith(r)&&er.settledRef.current.delete(e);0!==t.length&&eo(t,{status:"failed",retryable:!1});}(e.chatId),V))t(e);}function K(e){let t=e.detail;"object"==typeof t&&null!==t&&"string"==typeof t.id&&"string"==typeof t.projectPath&&"string"==typeof t.title&&"string"==typeof t.selectedModel&&(eT(),Y({type:"upsert",chat:t}));}function X(e){let t=e.detail;"object"==typeof t&&null!==t&&"string"==typeof t.chatId&&(eT(),Y({type:"delete",chatId:t.chatId}));}function Z(e){eT(),window.dispatchEvent(new CustomEvent(I,{detail:e}));}function Q(e){var t;return null==(t=e.find(J))?void 0:t.id;}function J(e){return(0,m.isConversationEligibleModel)(e)&&!0===e.conversationReady;}function ee(e,t){return void 0!==e&&t.some(t=>t.id===e&&J(t))?e:Q(t);}function et(e){return void 0!==e.connectedScope||void 0!==e.connectedScopes&&e.connectedScopes.length>0||void 0!==e.localKnowledgeScope||void 0!==e.localKnowledgeScopes&&e.localKnowledgeScopes.length>0;}let er={queueRef:{current:[]},queueBytesRef:{current:0},projectionRef:{current:new Map()},projectionBytesRef:{current:0},deliveriesRef:{current:new Map()},settledRef:{current:new Map()},drainingOwner:void 0,activeDelivery:void 0,runtimes:new Map(),wakes:new Set(),statusSubscribers:new Set(),status:{suspendedChatId:void 0,revision:0}};function en(e){for(let t of(er.status={suspendedChatId:e,revision:er.status.revision+1},er.statusSubscribers))t(er.status);}function ei(e){er.status.suspendedChatId!==e&&en(e);}function ea(){return void 0!==er.status.suspendedChatId;}function es(e,t){let r=er.settledRef.current;if(r.set(e,t),r.size<=258)return;let n=r.keys().next().value;void 0!==n&&r.delete(n);}function eo(e,t){let r,n=er.queueRef.current,i=new Set(e.map(e=>e.key));void 0!==(r=er.activeDelivery)&&i.has(r.key)&&r.abort();let a=function(e,t){let r=0;for(let n of e)!function(e){let t=er.projectionRef.current.get(e);void 0!==t&&(er.projectionRef.current.delete(e),er.projectionBytesRef.current=Math.max(0,er.projectionBytesRef.current-t.byteLength));}(n.key),er.deliveriesRef.current.delete(n.key),n.resolve(t),r+=n.byteLength;return r;}(e,t);er.queueBytesRef.current=Math.max(0,er.queueBytesRef.current-a);for(let e=n.length-1;e>=0;e-=1){let t=n[e];void 0!==t&&i.has(t.key)&&n.splice(e,1);}let s=er.status.suspendedChatId,o=void 0!==s&&ec(s);en(o?s:void 0),o||el();}function el(){for(let e of er.wakes)e();}function ec(e){return er.queueRef.current.some(t=>t.target.chat.id===e);}function ed(e,t){let r=e.filter(e=>"assistant"===e.role),n=1===r.length?r[0]:void 0;return void 0===n?{status:"failed"}:{status:"completed",assistantMessageId:n.id,...(void 0===t||0===t.length?{}:{deliveredImageIds:t.map(e=>e.id)})};}function eu(e){return"completed"===e.status||"in-progress"===e.status||"failed"===e.status&&!0===e.userPersisted||"cancelled"===e.status&&e.userPersisted;}function ef(e){return"completed"===e.status||"cancelled"===e.status&&(e.userPersisted||!0===e.interrupted)||"failed"===e.status&&!1===e.retryable&&!0!==e.suspend;}async function ev(e,t){try{if(await t.waitForSendSlot(),t.signal.aborted)return;return await t.send({text:e.content,reportOutcome:!0,clientTurnId:e.clientTurnId,canonicalVoiceTarget:e.target,optimisticMessage:e.optimistic,forceBuffered:!0});}catch{return;}}async function em(e){try{return await eD(1500,e),!0;}catch{return!1;}}async function eh(e,t){let r={admissionAttempts:0,inProgressPolls:0};for(;!t.signal.aborted;){let n=await ev(e,t);if(void 0!==n){let e=function(e,t,r){if(eu(e)&&t.onUserPersisted(),ef(e))return{kind:"terminal",outcome:e};if("failed"===e.status&&!0===e.suspend)return t.onDeliveryDelayed(),{kind:"suspended"};if("in-progress"!==e.status){r.admissionAttempts+=1;return;}if(r.inProgressPolls+=1,!(r.inProgressPolls<3))return t.onDeliveryDelayed(),{kind:"suspended"};}(n,t,r);if(void 0!==e)return e;}else t.signal.aborted||(r.admissionAttempts+=1);if(r.admissionAttempts>=3)return t.onDeliveryDelayed(),{kind:"suspended"};if(!(await em(t.signal)))break;}return{kind:"aborted"};}async function ep(e,t,r){if("terminal"!==r.kind||!eu(r.outcome))return;let n=[];for(let[r,i]of er.runtimes)r!==t&&i.activeChatIdRef.current===e.target.chat.id&&n.push(i.reconcilePersistedTarget(e.target));await Promise.all(n);}let eg={projects:[],chats:[],messages:[],models:[],configuredModelsAvailable:!1,activeProject:void 0,activeChat:void 0,selectedModel:void 0,restorableModelId:void 0};function ey(e){return{path:e.projectPath};}let ew=0,eb=new Map(),eC=new Map(),ek=new Set(),eE=0;function eR(e){for(let t of ek)t(e);}function eA(){let e=eE+1;eE=e,eT(),(0,c.resetModelRequestCache)(),eR({kind:"pending"}),(0,c.fetchModels)().then(t=>{let{models:r}=t;e===eE&&eR({kind:"success",models:r});},t=>{e===eE&&eR({kind:"failure",message:N(t)});});}function eI(e){let t={...e};return void 0!==e.projects&&(t.projects=[...e.projects]),void 0!==e.chats&&(t.chats=[...e.chats]),void 0!==e.messages&&(t.messages=[...e.messages]),void 0!==e.models&&(t.models=[...e.models]),t;}function eT(){ew+=1,n=void 0,i=void 0;}function eM(e){return{chats:Array.from(e.chats)};}function eS(e){return{messages:Array.from(e.messages)};}function eP(e){let t=eb.get(e);if(void 0!==t)return t.then(eM);let r=(0,c.fetchChats)(e).then(eM).finally(()=>{eb.get(e)===r&&eb.delete(e);});return eb.set(e,r),r.then(eM);}function ej(e,t){let r=`${t}\u0000${e}`,n=eC.get(r);if(void 0!==n)return n.then(eS);let i=(0,c.fetchChatMessages)(e,t).then(eS).finally(()=>{eC.get(r)===i&&eC.delete(r);});return eC.set(r,i),i.then(eS);}class e_ extends Error{constructor(){super("run-summary poll aborted"),this.name="PollAbortError";}}function eD(e,t){return(null==t?void 0:t.aborted)===!0?Promise.reject(new e_()):new Promise((r,n)=>{let i=globalThis.setTimeout(()=>{null==t||t.removeEventListener("abort",a),r();},e),a=()=>{globalThis.clearTimeout(i),n(new e_());};null==t||t.addEventListener("abort",a,{once:!0});});}let eO=new Map();async function eL(e,t){try{let r=await(0,c.fetchEvidenceManifest)(e),n=(0,v.formatRunSummaryFromManifest)(r.manifest,t),i="failed"===n.workflowStatus||"cancelled"===n.workflowStatus?n.workflowStatus:"completed";return{kind:"summary",summary:{workflowStatus:i,shortResult:n.shortResult}};}catch{return{kind:"retry"};}}async function eU(e,t){try{let r=await(0,c.fetchRunReport)(e),n=(0,v.classifyRunReport)(r.report,t);return"terminal"===n.kind?{kind:"summary",summary:n.summary}:{kind:"retry"};}catch(r){if(!(r instanceof c.ApiError)||404!==r.status)return{kind:"abort"};return eL(e,t);}}async function ex(e,t,r,n){var i;let a=r.runId;if(void 0===a)return;let s={...(void 0===r.workflowId?{}:{workflowId:r.workflowId}),...(void 0===r.taskType?{}:{taskType:r.taskType})};for(let o=0;o<120&&(null==n?void 0:n.aborted)!==!0;o+=1){let l=await eU(a,s);if("abort"===l.kind)break;if("summary"===l.kind){let n=await(0,c.patchChatMessage)(r.id,e.id,t,l.summary);return{chatId:e.id,messageId:r.id,message:n.message};}if(o<119)try{await eD((i=o,Math.min(1e3*2**Math.min(i,4),15e3)),n);}catch{break;}}}function eN(e,t){if(void 0===t){e.persistentSubscriber=!0;return;}if(t.aborted||e.subscribers.has(t))return;let r=()=>{let r;void 0!==(r=e.subscribers.get(t))&&(t.removeEventListener("abort",r),e.subscribers.delete(t),0===e.subscribers.size&&!e.persistentSubscriber&&e.controller.abort());};e.subscribers.set(t,r),t.addEventListener("abort",r,{once:!0});}async function eB(e){var t;let r=await(0,c.fetchModels)(),n=r.models.filter(J),i=r.models.length>0,a=Q(n),s=await(0,c.fetchProjects)(),o=(0,f.sortProjects)(s.projects),l=null!=(t=o.find(e=>e.available))?t:o[0],d=B((void 0===l?{chats:[]}:await eP(l.path)).chats),u=F(d);if(void 0!==l&&void 0!==u){let e=await ej(u.id,l.path),t=ee(u.selectedModel,n);return{models:n,configuredModelsAvailable:i,selectedModel:t,projects:Array.from(o),activeProject:l,chats:d,activeChat:u,messages:Array.from(e.messages)};}if(void 0===a||!e)return{models:n,configuredModelsAvailable:i,selectedModel:a,projects:Array.from(o),activeProject:l,chats:d,activeChat:void 0,messages:[]};let v={modelId:a,title:R};(null==l?void 0:l.available)===!0&&(v.projectPath=l.path);let m=await(0,c.createDesktopChat)(v);return Z(m.chat),{models:n,configuredModelsAvailable:i,selectedModel:m.chat.selectedModel,projects:Array.from(m.projects),activeProject:m.project,chats:B(m.chats),activeChat:m.chat,messages:Array.from(m.messages)};}function eF(e,t){return{selectedModel:ee(e,t),restorableModelId:e};}function eG(e){return e instanceof c.ApiError&&"CHAT_TURN_IN_PROGRESS"===e.code?{status:"failed",canonicalTurnInProgress:!0}:e instanceof c.ApiError&&"CHAT_TURN_IDEMPOTENCY_CONFLICT"===e.code?{status:"failed",permanentFailure:!0,identityConflict:!0}:e instanceof c.ApiError&&"GROUNDING_SCOPE_CHANGED"===e.code?{status:"failed",permanentFailure:!0,scopeChanged:!0}:e instanceof c.ApiError&&"CHAT_CLOSED"===e.code?{status:"failed",permanentFailure:!0,chatClosed:!0}:e instanceof c.ApiError&&[400,404,413,422].includes(e.status)?{status:"failed",permanentFailure:!0}:{status:"failed"};}async function eq(t,r){return(await e.A(83233)).sha256Hex((0,s.canonicalDesktopChatTurnReferenceSeed)(t,r));}function eH(e,t){return e.some(e=>"user"===e.role&&e.canonicalTurnRef===t);}function e$(e,t){return e.find(e=>"assistant"===e.role&&e.canonicalTurnRef===t);}let ez=new WeakMap();function eV(e,t,r){let n=t.current;n!==r&&((e.current===n||e.current===r)&&(e.current=r),t.current=r);}e.s(["notifyChatDeleted",0,function(e){eT(),(0,w.removeConversationMemorySettings)(e),window.dispatchEvent(new CustomEvent(T,{detail:{chatId:e}}));},"sharedFetchChats",0,eP,"useChatSession",0,function(){var t,r,f,v,m;let h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=(0,o.useTranslate)(),g=null==(t=h.autoCreate)||t,C=null!=(r=h.loadMemoryAutonomyModeImpl)?r:d.loadMemoryAutonomyMode,[j,L]=(0,a.useState)(eg);(0,a.useRef)(j).current=j;let[U,x]=(0,a.useState)(),[Y,en]=(0,a.useState)(""),[ev,em]=(0,a.useState)(!0),[eb,eC]=(0,a.useState)("idle"),[eE,eR]=(0,a.useState)(),eT=_(eb),eM=(0,a.useRef)("idle"),eS=(0,a.useRef)(null),e_=(0,a.useRef)(null),eD=(0,a.useRef)(null),eL=(0,a.useRef)(new Set()),eU=(0,a.useRef)(null),eW=(0,a.useRef)(new Map()),eY=(0,a.useRef)(null),eK=er.queueRef,eX=(0,a.useRef)(Symbol("canonical-voice-page-outbox-owner")),eZ=(0,a.useRef)(new AbortController()),eQ=er.projectionRef,eJ=er.projectionBytesRef,e0=er.deliveriesRef,e1=er.settledRef,e2=(0,a.useRef)(()=>void 0),[e5,e6]=(0,a.useState)(er.status),[e3,e8]=(0,a.useState)(),[e4,e9]=(0,a.useState)(),[e7,te]=(0,a.useState)(),[tt,tr]=(0,a.useState)(),tn=null==(v=j.activeChat)?void 0:v.id,ti=null==(m=j.activeProject)?void 0:m.path,{memoryEnabled:ta,setMemoryEnabled:ts,memoryBudgetTokens:to,setMemoryBudgetTokens:tl,memoryMode:tc,setMemoryMode:td}=(0,w.useConversationMemorySettings)(tn);(0,a.useEffect)(()=>{let e=!0,t=(0,w.currentConversationMemoryModeRevision)();return function(e){let t=ez.get(e);if(void 0!==t)return t;let r=e();ez.set(e,r);let n=()=>{ez.get(e)===r&&ez.delete(e);};return r.then(n,n),r;}(C).then(r=>{e&&(0,w.currentConversationMemoryModeRevision)()===t&&td(r.requestedMode);}).catch(()=>{}),()=>{e=!1;};},[C,td]);let tu=(0,a.useRef)(!0),tf=(0,a.useRef)(tn);eV(tf,(0,a.useRef)(tn),tn);let tv=(e,t)=>t.aborted||tf.current!==e,tm=(0,a.useRef)(ti);eV(tm,(0,a.useRef)(ti),ti);let th=(0,a.useRef)(new Set()),tp=(0,a.useRef)(new AbortController()),tg=(0,a.useRef)(new Set()),ty=(0,a.useRef)(0),tw=(0,a.useRef)(j.models);tw.current=j.models;let[tb,tC]=(0,a.useState)([]),tk=(0,a.useRef)([]);tk.current=tb;let[tE,tR]=(0,a.useState)([]),[tA,tI]=(0,a.useState)([]),tT=(0,a.useCallback)(async e=>{let t=function(e,t){var r;let n;if(0===e.size)return{ok:!1,reason:"empty"};if(e.size>s.MAX_ATTACHMENT_BYTES)return{ok:!1,reason:"oversized"};let i=(r=e.type,"unsupported"===(n=(0,s.classifyAttachmentMime)(r))?"unsupported-type":n);return"unsupported-type"===i?{ok:!1,reason:i}:"image"===i&&(null==t?void 0:t.supportsImageInput)===!1||"document"===i&&(null==t?void 0:t.supportsDocumentInput)===!1?{ok:!1,reason:"text-only-model"}:{ok:!0,kind:i};}(e,j.models.find(e=>e.id===j.selectedModel));if(!t.ok)return t;let r=await k(e,t.kind,j.activeChat);if(!r.ok)return r;let n={id:crypto.randomUUID(),kind:t.kind,name:e.name,mimeType:e.type,sizeBytes:e.size,previewUrl:r.previewUrl,...("document"===t.kind?{file:e}:{}),...r.upload};return tC(e=>[...e,n]),{ok:!0};},[j.activeChat,j.models,j.selectedModel]),tM=(0,a.useCallback)(e=>{let t=tk.current.find(t=>t.id===e);void 0!==t&&(b(t),E(t).catch(()=>{e8(l.ATTACHMENT_CLEANUP_DEFERRED_ERROR);})),tC(t=>t.filter(t=>t.id!==e));},[]),tS=(0,a.useCallback)(()=>{for(let e of tk.current)b(e),E(e).catch(()=>{e8(l.ATTACHMENT_CLEANUP_DEFERRED_ERROR);});tC(e=>0===e.length?e:[]);},[]),tP=(0,a.useCallback)(e=>{if(0===e.length)return;let t=new Set(e);for(let e of tk.current.filter(e=>t.has(e.id)))b(e),E(e).catch(()=>{e8(l.ATTACHMENT_CLEANUP_DEFERRED_ERROR);});tC(e=>{let r=e.filter(e=>!t.has(e.id));return r.length===e.length?e:r;});},[]),tj=(0,a.useCallback)(()=>{en(""),tS();},[tS]),t_=(0,a.useCallback)(async t=>{let r=t.filter(e=>"document"===e.kind&&void 0!==e.file).map(e=>({id:e.id,name:e.name,mimeType:e.mimeType,sizeBytes:e.sizeBytes,file:e.file})),n=0===r.length?{entries:[],failures:[]}:await e.A(52011).then(e=>{let{extractDocumentContext:t}=e;return t(r,p);}),i=n.failures;i.length>0&&e8(i.join(" "));let a=n.entries.map(e=>({id:e.id,displayName:e.displayName,truncated:e.truncated}));return{entries:n.entries,disclosures:a};},[p]),tD=(0,a.useCallback)(e=>e.map(e=>({id:e.id,kind:e.kind,name:e.name,mimeType:e.mimeType,sizeBytes:e.sizeBytes,...(void 0===e.attachmentRef?{}:{attachmentRef:e.attachmentRef}),...(void 0===e.sha256?{}:{sha256:e.sha256})})),[]),tO=(0,a.useCallback)(()=>{tr(void 0);},[]),tL=(0,a.useCallback)((e,t,r)=>({enabled:ta,budgetTokens:to,mode:tc,...(void 0===r?{}:{surface:r}),context:{userId:"local-operator",workspaceId:t.path,projectId:t.path,conversationId:e.id}}),[to,ta,tc]),tU=(0,a.useCallback)(async e=>{await(0,d.acceptMemoryProposal)(e),tr(t=>void 0===t?t:{...t,actions:t.actions.filter(t=>"candidate"!==t.kind||t.proposalId!==e)});},[]),tx=(0,a.useCallback)(async e=>{await(0,d.rejectMemoryProposal)(e),tr(t=>void 0===t?t:{...t,actions:t.actions.filter(t=>"candidate"!==t.kind||t.proposalId!==e)});},[]),tN=(0,a.useCallback)(async e=>{await(0,d.forgetMemory)(e),tr(t=>void 0===t?t:{...t,actions:t.actions.filter(t=>"forget"!==t.kind||t.memoryId!==e)});},[]),tB=(0,a.useCallback)(e=>{let t=_(eM.current);if(eM.current=e,eC(e),!(!t||_(e))){for(let e of eL.current)e();eL.current.clear();}},[]),tF=(0,a.useCallback)(e=>e.aborted?Promise.reject(new DOMException("cancelled","AbortError")):_(eM.current)?new Promise((t,r)=>{let n=()=>{eL.current.delete(i),e.removeEventListener("abort",a);},i=()=>{n(),t();},a=()=>{n(),r(new DOMException("cancelled","AbortError"));};eL.current.add(i),e.addEventListener("abort",a,{once:!0}),_(eM.current)||i();}):Promise.resolve(),[]),tG=(0,a.useRef)(tF);tG.current=tF;let tq=(0,a.useCallback)((e,t)=>{eU.current===e&&tB(t);},[tB]),tH=(0,a.useCallback)(async(e,t,r,n,i,a)=>{let s=new AbortController(),o=setTimeout(()=>{s.abort();},5e3);eW.current.set(s,o);try{var l,d,u,f;let o=await eq(e,n),v=await(l=(0,c.fetchChatMessages)(e,t,s.signal),d=s.signal,new Promise((e,t)=>{let r=!1,n=e=>{r||(r=!0,d.removeEventListener("abort",i),e());},i=()=>{n(()=>{t(new DOMException("Reconciliation cancelled.","AbortError"));});};l.then(t=>{n(()=>{e(t);});},e=>{n(()=>{t(e);});}),d.addEventListener("abort",i,{once:!0}),d.aborted&&i();})),m=eH(v.messages,o)?"persisted":"missing",h=e$(v.messages,o);if(tu.current&&tf.current===e&&eU.current===a){let e,t,n=(u=v.messages,f=i.canonicalUser,e=eH(u,o),t=void 0!==e$(u,o),e&&t?u:u.filter(e=>e.canonicalTurnRef!==o||"user"===e.role&&"preserve"===f));L(e=>({...e,messages:[...n,...("missing"===m&&"preserve"===i.missingOptimistic?[r]:[]),...e.messages.filter(e=>e.id.startsWith("local-")&&e.id!==r.id)]}));}return{persistence:m,...(void 0===h?{}:{completedAssistantMessageId:h.id})};}catch{return tu.current&&tf.current===e&&eU.current===a&&L(e=>e.messages.some(e=>e.id===r.id)?e:{...e,messages:[...e.messages,r]}),{persistence:"unknown"};}finally{clearTimeout(o),eW.current.delete(s);}},[]),t$=(0,a.useCallback)(async(e,t,r,n)=>{try{var i;let a=await function(e,t,r,n){var i;if((null==n?void 0:n.aborted)===!0)return Promise.resolve(void 0);let a=`${e.id}:${t}:${r.id}:${null!=(i=r.runId)?i:""}`,s=eO.get(a);if(void 0!==s&&!s.controller.signal.aborted)return eN(s,n),s.promise;void 0!==s&&eO.delete(a);let o=new AbortController(),l={controller:o,promise:Promise.resolve(void 0),subscribers:new Map(),persistentSubscriber:!1};eN(l,n);let c=ex(e,t,r,o.signal).finally(()=>{for(let[e,t]of l.subscribers)e.removeEventListener("abort",t);l.subscribers.clear(),eO.get(a)===l&&eO.delete(a);});return l.promise=c,eO.set(a,l),c;}(e,t,r,null==(i=tp.current)?void 0:i.signal);if(void 0===a){tu.current&&tg.current.add(n);return;}if(!tu.current||tf.current!==e.id)return;L(t=>{var r;return(null==(r=t.activeChat)?void 0:r.id)!==e.id?t:{...t,messages:t.messages.map(e=>e.id===a.messageId?a.message:e)};});}finally{th.current.delete(n);}},[]);(0,a.useEffect)(()=>{let e=!1;return async function(){em(!0),e8(void 0);try{let t=await function(e){if(e)return eB(e);let t=Date.now();if(void 0!==n&&n.expiresAt>t)return Promise.resolve(eI(n.value));if(void 0!==i)return i.then(eI);let r=ew,a=eB(!1).then(e=>{let t=eI(e);return ew===r&&(n={expiresAt:Date.now()+2e3,value:t}),eI(t);}).finally(()=>{i===a&&(i=void 0);});return i=a,a.then(eI);}(g);e||L(e=>{let r={...e,...t};return void 0===r.activeChat?r:{...r,messages:$(r.messages,r.activeChat.id,eQ.current)};});}catch(t){e||e8(N(t));}finally{e||em(!1);}}(),()=>{e=!0;};},[g,eQ]),(0,a.useEffect)(()=>{var e;return e=e=>{if("pending"===e.kind){e8(void 0),L(e=>{var t;return{...e,models:[],selectedModel:void 0,restorableModelId:null!=(t=e.selectedModel)?t:e.restorableModelId};});return;}"failure"===e.kind?e8(e.message):L(t=>{var r,n;let i;return i=(r=e.models).filter(J),{...t,models:i,configuredModelsAvailable:r.length>0,selectedModel:ee(null!=(n=t.selectedModel)?n:t.restorableModelId,i),restorableModelId:void 0};});},0===ek.size&&(window.addEventListener(u.GATEWAY_CONFIG_UPDATED_EVENT,eA),window.addEventListener(u.GATEWAY_MODEL_CATALOG_REFRESH_REQUESTED_EVENT,eA),window.addEventListener(u.GATEWAY_MODEL_READINESS_UPDATED_EVENT,eA)),ek.add(e),()=>{ek.delete(e),0===ek.size&&(window.removeEventListener(u.GATEWAY_CONFIG_UPDATED_EVENT,eA),window.removeEventListener(u.GATEWAY_MODEL_CATALOG_REFRESH_REQUESTED_EVENT,eA),window.removeEventListener(u.GATEWAY_MODEL_READINESS_UPDATED_EVENT,eA));};},[]),(0,a.useEffect)(()=>{var e;return e=e=>{"upsert"===e.type?L(t=>{var r,n,i,a,s;return(r=e.chat,(null==(a=t.activeProject)?void 0:a.path)===r.projectPath||(null==(s=t.activeChat)?void 0:s.id)===r.id||t.chats.some(e=>e.id===r.id))?{...t,chats:G(t.chats,r),activeChat:(null==(n=t.activeChat)?void 0:n.id)===r.id?r:t.activeChat,selectedModel:(null==(i=t.activeChat)?void 0:i.id)===r.id?ee(r.selectedModel,t.models):t.selectedModel}:t;}):L(t=>{var r,n,i,a;return{...t,chats:(i=t.chats,a=e.chatId,i.filter(e=>e.id!==a)),activeChat:(null==(r=t.activeChat)?void 0:r.id)===e.chatId?void 0:t.activeChat,messages:(null==(n=t.activeChat)?void 0:n.id)===e.chatId?[]:t.messages};});},V.add(e),W||(window.addEventListener(I,K),window.addEventListener(T,X),W=!0),()=>{V.delete(e),W&&!(V.size>0)&&(window.removeEventListener(I,K),window.removeEventListener(T,X),W=!1);};},[]),(0,a.useEffect)(()=>{let e=eW.current;return tu.current=!0,tp.current.signal.aborted&&(tp.current=new AbortController()),eZ.current.signal.aborted&&(eZ.current=new AbortController()),()=>{var t;for(let[r,n]of(tu.current=!1,eM.current="cancelled",null==(t=eS.current)||t.abort(),eS.current=null,e_.current=null,eU.current=null,e))clearTimeout(n),r.abort();for(let t of(e.clear(),eZ.current.abort(),tp.current.abort(),tk.current))b(t);};},[]),(0,a.useEffect)(()=>{let e=j.activeChat,t=j.activeProject;if(void 0!==e&&void 0!==t)for(let r of j.messages){if("system"!==r.role||"string"!=typeof r.runId||void 0!==r.workflowStatus&&"pending"!==r.workflowStatus&&"running"!==r.workflowStatus)continue;let n=r.runId;if(void 0===n)continue;let i=`${r.id}:${n}`;!th.current.has(i)&&(tg.current.has(i)||(th.current.add(i),t$(e,t.path,r,i)));}},[j.activeChat,j.activeProject,j.messages,t$]);let tz=(0,a.useCallback)(e=>{let t;e8(void 0),L(r=>(t={selectedModel:r.selectedModel,activeChat:r.activeChat,chats:r.chats},{...r,selectedModel:e,activeChat:void 0===r.activeChat?r.activeChat:{...r.activeChat,selectedModel:e},chats:r.chats.map(t=>{var n;return(null==(n=r.activeChat)?void 0:n.id)===t.id?{...t,selectedModel:e}:t;})})),tC(t=>{let r=t.filter(t=>{let r;return void 0===(r=tw.current.find(t=>t.id===e))||("image"===t.kind?r.supportsImageInput:r.supportsDocumentInput);});if(r.length===t.length)return t;let n=new Set(r.map(e=>e.id));for(let e of t)n.has(e.id)||b(e);return r;});let r=tf.current;if(void 0===r)return;let n=ty.current+1;ty.current=n,(0,c.updateChat)(r,{selectedModel:e}).then(e=>{ty.current!==n||tf.current===e.chat.id&&(Z(e.chat),L(t=>{var r,n,i;return{...t,selectedModel:e.chat.selectedModel,activeChat:(null==(r=t.activeChat)?void 0:r.id)===e.chat.id?e.chat:t.activeChat,chats:(n=t.chats,i=e.chat,n.map(e=>e.id===i.id?i:e))};}));}).catch(e=>{if(ty.current===n&&tf.current===r&&(e8(N(e)),void 0!==t)){let e=t;L(t=>{var n,i,a,s;return{...t,selectedModel:(null==(n=t.activeChat)?void 0:n.id)===r?e.selectedModel:t.selectedModel,activeChat:(null==(i=t.activeChat)?void 0:i.id)===r?e.activeChat:t.activeChat,chats:(a=t.chats,s=e.chats,a.map(e=>{if(e.id!==r)return e;let t=s.find(e=>e.id===r);return void 0!==t?{...e,selectedModel:t.selectedModel}:e;}))};});}});},[]),tV=(0,a.useCallback)(async(e,t)=>{let r=ee(j.selectedModel,j.models);if(void 0===r)return void e8(A);e8(void 0),e9(void 0),x(void 0),tj();try{var n,i;let a=null==t?void 0:t.trim(),s={modelId:r,title:void 0!==a&&a.length>0?a:R},o=null!=(n=null==e?void 0:e.path)?n:null==(i=j.activeProject)?void 0:i.path;void 0!==o&&(s.projectPath=o);let l=await(0,c.createDesktopChat)(s);if(Z(l.chat),void 0!==o&&tm.current!==o)return l.chat;return tf.current=l.chat.id,tm.current=l.project.path,L({projects:Array.from(l.projects),chats:B(l.chats),messages:Array.from(l.messages),models:j.models,configuredModelsAvailable:j.configuredModelsAvailable,activeProject:l.project,activeChat:l.chat,selectedModel:l.chat.selectedModel,restorableModelId:void 0}),l.chat;}catch(e){e8(N(e));return;}},[tj,j.selectedModel,j.activeProject,j.models,j.configuredModelsAvailable]),tW=(0,a.useCallback)(async e=>{e8(void 0),e9(void 0),x(void 0),tj(),tm.current=e.path,L(t=>({...t,activeProject:e}));try{let t=await eP(e.path);if(tm.current!==e.path)return;let r=B(t.chats),n=F(r);if(void 0===n){if(tm.current!==e.path)return;if(g)await tV(e);else tf.current=void 0,L(t=>({...t,chats:r,messages:[],activeProject:e,activeChat:void 0})),te(void 0),tr(void 0);return;}let i=await ej(n.id,e.path);if(tm.current!==e.path)return;tf.current=n.id,L(e=>({...e,chats:r,activeChat:n,...eF(n.selectedModel,j.models),messages:$(i.messages,n.id,eQ.current)})),tr(void 0);}catch(t){if(tm.current!==e.path)return;e8(N(t));}},[g,eQ,tV,tj,j.models]),tY=(0,a.useCallback)(async e=>{var t,r;if(tf.current!==e.id||(null==(t=j.activeChat)?void 0:t.id)!==e.id){e8(void 0),e9(void 0),x(void 0),"canonical-voice"!==e_.current&&(null==(r=eS.current)||r.abort(),eS.current=null,e_.current=null),tf.current=e.id,te(void 0),tr(void 0),tR([]),tI([]),tj();try{let t,r=await ej(e.id,e.projectPath);if(t=e.id,tf.current!==t)return;L(t=>{let n=t.projects.find(t=>t.path===e.projectPath);return{...t,activeProject:n,activeChat:e,...eF(e.selectedModel,j.models),messages:$(r.messages,e.id,eQ.current)};});}catch(r){let t;if(t=e.id,tf.current!==t)return;e8(N(r));}}},[eQ,tj,null==(f=j.activeChat)?void 0:f.id,j.models]),tK=(0,a.useCallback)(async e=>{let t=e.trim();if(0!==t.length){e8(void 0),e9(void 0);try{let e=await(0,c.createProject)({path:t}),r=await(0,c.fetchProjects)();return L(e=>({...e,projects:Array.from(r.projects)})),await tW(e.project),void 0===Q(j.models)&&e8(A),e9((0,c.projectResponseWarningMessage)(e)),e.project;}catch(e){e8(N(e));return;}}},[tW,j.models]),tX=(0,a.useCallback)(e=>{x(t=>(null==t?void 0:t.id)===e?void 0:t),L(t=>({...t,messages:t.messages.filter(t=>t.id!==e)}));},[]),tZ=(0,a.useCallback)((e,t,r,n,i)=>{let a=!1,s="",o=null,l="function"==typeof requestAnimationFrame,d=()=>{if(o=null,0===s.length)return;let e=s;s="",x(r=>(null==r?void 0:r.id)===t?{...r,content:r.content+e}:r);},u=()=>{null!==o&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o),o=null;};return{onToken:t=>{if(!tv(e,n)){if(a||(tq(n,"streaming"),a=!0),s+=t,!l)return void d();null!=o||(o=requestAnimationFrame(d));}},onDone:a=>{if(u(),d(),tv(e,n)){x(e=>(null==e?void 0:e.id)===t?void 0:e),i({status:"cancelled"});return;}x(e=>(null==e?void 0:e.id)===t?void 0:e),L(e=>({...e,activeChat:a.chat,chats:G(e.chats,a.chat),messages:q(e.messages,[r,t],a.messages)})),Z(a.chat),void 0!==a.memory&&tr(a.memory);let s=ed(a.messages,a.attachmentDeliveries);"failed"===s.status&&e8(O),i(s);},onError:r=>{let{code:a,message:o}=r;if(u(),s="",tv(e,n)){tX(t),i({status:"cancelled"});return;}if("CHAT_TURN_IN_PROGRESS"===a){tX(t),i({status:"failed",canonicalTurnInProgress:!0});return;}e8(N(new c.ApiError(a,o,0))),tX(t),i({status:"failed"});},onCancelled:()=>{u(),s="",tX(t),i({status:"cancelled"});}};},[tX,tq]),tQ=(0,a.useCallback)(e=>{let{chat:t,project:r,content:n,optimisticId:i,modelId:a,signal:s,documentContext:o,attachments:l,memory:d,clientTurnId:u}=e,f=`stream-${String(Date.now())}`;x({id:f,chatId:t.id,role:"assistant",content:"",timestamp:Date.now(),runId:void 0,workflowId:void 0,workflowStatus:void 0,shortResult:void 0,taskType:void 0});let v={chatId:t.id,projectPath:r.path,content:n,modelId:a,memory:d,...(o.length>0?{documentContext:o}:{}),...(l.length>0?{attachments:l}:{}),...(void 0===u?{}:{clientTurnId:u}),...(void 0===u||void 0===t.groundingScopeIdentity?{}:{expectedGroundingScopeIdentity:t.groundingScopeIdentity})};return new Promise((e,r)=>{let n=tZ(t.id,f,i,s,e);(0,c.sendDesktopChatStream)(v,s,n).catch(n=>{if(tX(f),n instanceof c.StreamingUnavailableError)r(n);else if(n instanceof DOMException&&"AbortError"===n.name)e({status:"cancelled"});else if(tv(t.id,s))e({status:"cancelled"});else e8(N(n)),e({status:"failed"});});});},[tZ,tX]),tJ=(0,a.useCallback)(async e=>{let{chat:t,optimisticId:r,signal:n}=e;try{let i;tq(n,"contacting");let a=await(0,c.sendDesktopChat)(function(e){let{chat:t,project:r,content:n,modelId:i,documentContext:a,attachments:s,memory:o,clientTurnId:l}=e;return{chatId:t.id,projectPath:r.path,content:n,modelId:i,memory:o,...(a.length>0?{documentContext:a}:{}),...(s.length>0?{attachments:s}:{}),...(s.some(e=>"image"===e.kind)?{attachmentIntent:"deliver-images-to-selected-model"}:{}),...(void 0===l?{}:{clientTurnId:l}),...(void 0===l||void 0===t.groundingScopeIdentity?{}:{expectedGroundingScopeIdentity:t.groundingScopeIdentity})};}(e),n);if(n.aborted)return{status:"cancelled"};let s=ed(a.messages,a.attachmentDeliveries);if(i=t.id,tf.current!==i)return s;return L(e=>({...e,activeChat:a.chat,chats:B([a.chat,...e.chats.filter(e=>e.id!==a.chat.id)]),messages:q(e.messages,[r],a.messages)})),Z(a.chat),tr(a.memory),"failed"===s.status&&e8(O),s;}catch(r){if(r instanceof DOMException&&"AbortError"===r.name||tv(t.id,n))return{status:"cancelled"};let e=eG(r);return!0!==e.canonicalTurnInProgress&&e8(N(r)),e;}},[tq]),t0=(0,a.useCallback)(async e=>{var t;let{modelId:r,signal:n}=e;if((null==(t=j.models.find(e=>e.id===r))?void 0:t.streaming)!==!0)return tJ(e);tq(n,"contacting");try{return await tQ(e);}catch(e){if(!(e instanceof c.StreamingUnavailableError))throw e;}return tJ(e);},[j.models,tJ,tQ,tq]),t1=(0,a.useCallback)(async(e,t,r,n,i,a,s)=>{te(void 0);try{let o,l;tq(i,"contacting");let d=await(0,c.askGrounded)({chatId:e.id,content:t,modelId:n,memory:a,...(void 0===s?{}:{clientTurnId:s}),...(void 0===s||void 0===e.groundingScopeIdentity?{}:{expectedGroundingScopeIdentity:e.groundingScopeIdentity})},i);if(o=e.id,tf.current!==o)return{status:"completed",assistantMessageId:d.assistantMessageId};if(i.aborted)return{status:"cancelled"};te(d),tr(d.memory);let[u,f]=await Promise.all([(0,c.fetchChatMessages)(e.id,e.projectPath),(0,c.fetchChats)(e.projectPath)]);if(l=e.id,tf.current!==l)return{status:"completed",assistantMessageId:d.assistantMessageId};if(i.aborted)return{status:"cancelled"};let v=f.chats.find(t=>t.id===e.id);return L(t=>{var n;return tf.current!==e.id||(null==(n=t.activeChat)?void 0:n.id)!==e.id?t:{...t,messages:$(u.messages,e.id,eQ.current,[r]),chats:B(f.chats),activeChat:null!=v?v:t.activeChat};}),void 0!==v&&Z(v),{status:"completed",assistantMessageId:d.assistantMessageId};}catch(r){if(r instanceof DOMException&&"AbortError"===r.name||tv(e.id,i))return{status:"cancelled"};let t=eG(r);return!0!==t.canonicalTurnInProgress&&e8(N(r)),t;}},[eQ,tq]),t2=(0,a.useCallback)(async e=>{var t,r;let{chat:n,canonicalTarget:i,signal:a}=e,s=et(n),o=null!=(t=null==i?void 0:i.attachments)?t:tb,l=s?{entries:[],disclosures:[]}:await t_(o),c=s?[]:tD(o),d=s?[]:o.map(e=>e.id),u=null!=(r=null==i?void 0:i.memory)?r:tL(n,e.project);if(s)return o.length>0&&e8(D),{terminal:await t1(n,e.content,e.optimisticId,e.modelId,a,u,e.clientTurnId),disclosures:l.disclosures,consumedAttachmentIds:d};let f={chat:n,project:e.project,content:e.content,optimisticId:e.optimisticId,modelId:e.modelId,signal:a,documentContext:l.entries,attachments:c,memory:u,clientTurnId:e.clientTurnId};return{terminal:e.forceBuffered||o.some(e=>"image"===e.kind)?await tJ(f):await t0(f),disclosures:l.disclosures,consumedAttachmentIds:d};},[tD,t_,tL,tb,t1,t0,tJ]),t5=(0,a.useCallback)(async e=>{var t,r;let n,i=e.signal.aborted?{status:"cancelled"}:e.terminal;if("completed"===i.status)return{settled:i,persistence:"persisted"};let a="failed"===e.terminal.status&&!0===e.terminal.canonicalTurnInProgress,s=await tH(e.chat.id,e.projectPath,e.optimistic,e.clientTurnId,(t=i,r=e.preserveUserOnMissing,n="cancelled"===t.status||r,{canonicalUser:a||n?"preserve":"hide",missingOptimistic:!a&&n?"preserve":"hide"}),e.signal),o=a?"persisted":s.persistence;return"persisted"!==s.persistence||void 0===s.completedAssistantMessageId||(i={status:"completed",assistantMessageId:s.completedAssistantMessageId},tu.current&&tf.current===e.chat.id&&eU.current===e.signal&&e8(void 0)),{settled:i,persistence:o};},[tH]),t6=(0,a.useCallback)(e=>{var t;if("completed"!==e.settled.status||!tu.current||(tP(e.consumedAttachmentIds),tf.current!==e.chatId||eU.current!==e.signal))return;tR(e.disclosures);let r=new Set(null!=(t=e.settled.deliveredImageIds)?t:[]);tI(tk.current.filter(e=>r.has(e.id)).map(e=>({id:e.id,displayName:e.name})));},[tP]),t3=(0,a.useCallback)(()=>{eS.current=null,e_.current=null,eR(void 0),tB("cancelled");},[tB]),t8=(0,a.useCallback)(()=>{var e;_(eM.current)&&(null==(e=eS.current)||e.abort(),t3());},[t3]),t4=(0,a.useCallback)(()=>{if(!_(eM.current)||"canonical-voice"!==e_.current)return;let e=eS.current;null!==e&&(eD.current=e.signal,e.abort()),t3();},[t3]),t9=(0,a.useCallback)(async e=>{var t,r;let n=function(e){var t,r,n,i;let{options:a,draft:s,activeChat:o,selectedModel:l,models:c,pendingAttachmentCount:d,sendInFlight:u}=e,f=null==a?void 0:a.canonicalVoiceTarget,v=null!=(t=null==f?void 0:f.chat)?t:o;if(void 0===f&&void 0!==v&&ec(v.id))return{kind:"rejected",error:S};if(u)return{kind:"rejected"};let m=(null!=(r=null==a?void 0:a.text)?r:s).trim(),h=null!=(n=null==f?void 0:f.project)?n:v&&ey(v),p=null!=(i=null==f?void 0:f.modelId)?i:ee(l,c);return 0===m.length||void 0===v||void 0===h||void 0===p?{kind:"rejected"}:void 0===f&&et(v)&&d>0?{kind:"rejected",error:D}:{kind:"accepted",canonicalTarget:f,chat:v,project:h,content:m,modelId:p};}({options:e,draft:Y,activeChat:j.activeChat,selectedModel:j.selectedModel,models:j.models,pendingAttachmentCount:tb.length,sendInFlight:_(eM.current)});if("rejected"===n.kind)return void 0!==n.error&&e8(n.error),{status:"not-sent"};let{canonicalTarget:i,chat:a,project:s,content:o,modelId:l}=n,c=null!=(t=null==e?void 0:e.clientTurnId)?t:crypto.randomUUID(),d=null!=(r=null==e?void 0:e.optimisticMessage)?r:z(a.id,o);tB("queued"),(null==e?void 0:e.text)===void 0&&en(""),e8(void 0),L(t=>{var r,n,i;let s,o;return r=a.id,n=(null==e?void 0:e.optimisticMessage)!==void 0,s=t.messages.some(e=>e.id===d.id),o=n&&H(t.messages,d.content,d.timestamp),(null==(i=t.activeChat)?void 0:i.id)!==r||s||o?t:{...t,messages:[...t.messages,d]};});let u=new AbortController();eS.current=u,e_.current=void 0===i?"composer":"canonical-voice",eU.current=u.signal,tr(void 0);try{let{terminal:t,disclosures:r,consumedAttachmentIds:n}=await t2({chat:a,project:s,content:o,optimisticId:d.id,modelId:l,signal:u.signal,canonicalTarget:i,forceBuffered:(null==e?void 0:e.forceBuffered)===!0,clientTurnId:c}),{settled:f,persistence:v}=await t5({terminal:t,chat:a,projectPath:s.path,optimistic:d,clientTurnId:c,signal:u.signal,preserveUserOnMissing:(null==e?void 0:e.clientTurnId)!==void 0});return tq(u.signal,f.status),t6({settled:f,chatId:a.id,signal:u.signal,disclosures:r,consumedAttachmentIds:n}),function(e){let{settled:t,terminal:r,persistence:n,canonicalTarget:i,interrupted:a}=e;if("cancelled"===t.status){let e="persisted"===n;return a?{status:"cancelled",userPersisted:e,interrupted:!0}:{status:"cancelled",userPersisted:e};}let s="failed"===t.status&&"failed"===r.status&&void 0!==i;return s&&!0===r.scopeChanged?{status:"failed",retryable:!1,userPersisted:!0}:s&&!0===r.chatClosed?{status:"failed",suspend:!0}:s&&!0===r.permanentFailure?"persisted"===n?{status:"failed",retryable:!1,userPersisted:!0}:{status:"failed",retryable:!1}:"failed"===t.status&&"persisted"===n?{status:"in-progress"}:"completed"===t.status?t:{status:"failed"};}({settled:f,terminal:t,persistence:v,canonicalTarget:i,interrupted:eD.current===u.signal});}finally{eS.current===u&&(eS.current=null,e_.current=null),eU.current===u.signal&&(eU.current=null),eD.current===u.signal&&(eD.current=null);}},[Y,j.activeChat,j.selectedModel,j.models,tb,t2,t6,t5,tq,tB]);eY.current=t9;let t7=(0,a.useCallback)(async e=>{let t=e.chat.id;try{let[r,n]=await Promise.all([ej(t,e.project.path),eP(e.project.path)]);if(!tu.current||tf.current!==t)return;let i=n.chats.find(e=>e.id===t);L(e=>{var a;return(null==(a=e.activeChat)?void 0:a.id)!==t?e:{...e,messages:$(r.messages,t,eQ.current),chats:B(n.chats),activeChat:null!=i?i:e.activeChat};});}catch(e){tu.current&&tf.current===t&&e8(N(e));}},[eQ]);(0,a.useEffect)(()=>{let e=eX.current,t={sendRef:eY,waitForSendSlotRef:tG,onDeliveryDelayed:()=>e8(S),activeChatIdRef:tf,reconcilePersistedTarget:t7};return er.runtimes.set(e,t),el(),()=>{er.runtimes.get(e)===t&&er.runtimes.delete(e);let r=er.activeDelivery;(null==r?void 0:r.runtimeOwner)===e&&r.abort(),el();};},[t7]);let re=(0,a.useCallback)(e=>{let t=eQ.current.get(e.key);(null==t?void 0:t.message.id)===e.optimistic.id&&(eQ.current.delete(e.key),eJ.current-=t.byteLength);},[eJ,eQ]),rt=(0,a.useCallback)((e,t)=>{es(e.key,{contentDigest:e.contentDigest,outcome:t});},[]),rr=(0,a.useCallback)(async(e,t)=>{let r=function(e,t){let r=e.target.chat.id,n=er.runtimes.get(e.deliveryOwner);if((null==n?void 0:n.activeChatIdRef.current)===r)return{owner:e.deliveryOwner,registration:n};for(let[e,t]of er.runtimes)if(t.activeChatIdRef.current===r)return{owner:e,registration:t};let i=er.runtimes.get(t);return void 0===i?void 0:{owner:t,registration:i};}(e,eX.current);if(void 0===r)return;let n=r.registration.sendRef.current;if(null===n)return;let i=new AbortController(),a=()=>i.abort();t.addEventListener("abort",a,{once:!0}),er.activeDelivery={key:e.key,runtimeOwner:r.owner,abort:a};try{let t=await eh(e,{signal:i.signal,send:n,waitForSendSlot:()=>r.registration.waitForSendSlotRef.current(i.signal),onDeliveryDelayed:r.registration.onDeliveryDelayed,onUserPersisted:()=>{re(e);}});return await ep(e,r.owner,t),t;}finally{var s;t.removeEventListener("abort",a),(null==(s=er.activeDelivery)?void 0:s.key)===e.key&&(er.activeDelivery=void 0);}},[re]),rn=(0,a.useCallback)((e,t,r)=>{if(void 0===t)return!1;if("suspended"===t.kind)return ei(e.target.chat.id),!1;if("aborted"===t.kind)return!r.aborted&&eK.current[0]!==e;let{outcome:n}=t;return(!r.aborted||!!eu(n))&&((eu(n)||ef(n))&&(re(e),rt(e,n)),e.resolve(n),e0.current.delete(e.key),eK.current[0]===e&&(eK.current.shift(),er.queueBytesRef.current=Math.max(0,er.queueBytesRef.current-e.byteLength)),!0);},[rt,e0,eK,re]),ri=(0,a.useCallback)(async()=>{let e=eX.current;if(ev||void 0!==er.drainingOwner||ea())return;er.drainingOwner=e;let t=eZ.current.signal;try{for(;er.drainingOwner===e&&!t.aborted&&eK.current.length>0;){let e=eK.current[0];if(void 0===e)break;let r=await rr(e,t);if(!rn(e,r,t))break;}}finally{er.drainingOwner===e&&(er.drainingOwner=void 0),eK.current.length>0&&!ea()&&el();}},[eK,ev,rr,rn]);e2.current=()=>{ri();},(0,a.useEffect)(()=>{let e=e=>{e6(e);};return er.statusSubscribers.add(e),e(er.status),()=>{er.statusSubscribers.delete(e);};},[]),(0,a.useEffect)(()=>{if(ev)return;let e=()=>{eZ.current.signal.aborted||ea()||e2.current();};return er.wakes.add(e),e(),()=>{er.wakes.delete(e);};},[ev]);let ra=(0,a.useCallback)(e=>{var t,r,n;let i,a,o,l=e.text.trim(),c=e.clientTurnId,d=e.target.chat,u=ey(d),f=e.target.modelId,v=new TextEncoder().encode(l).byteLength;if(0===l.length||l.length>s.MAX_DESKTOP_CHAT_INPUT_CHARS||v>s.MAX_DESKTOP_CHAT_INPUT_BYTES||0===c.length||c.length>s.MAX_DESKTOP_CHAT_CLIENT_TURN_ID_CHARS)return void e8("The final spoken transcript or its turn identity is outside the supported size limit.");if(!(0,s.isGroundingScopeIdentity)(d.groundingScopeIdentity))return void e8("The chat grounding scope could not be frozen for this spoken turn. Reload the chat and try again.");try{i=y(`keiko:canonical-voice-turn-content:v1\u0000${l}`);}catch{e8("The spoken transcript could not be added to chat. Restart Voice and try again.");return;}let m=(r=d.id,`${r}\u0000${c}`),h=e0.current.get(m);if(void 0!==h)return h.contentDigest===i?h.promise:void e8(P);let p=e1.current.get(m);if(void 0!==p)return p.contentDigest===i?Promise.resolve(p.outcome):void e8(P);let g=eQ.current.get(m);if(void 0!==g&&g.content!==l)return void e8(P);if(void 0===g&&(n=!0===e.allowReservedCapacity,a=er.queueBytesRef.current,o=n?M:128*s.MAX_DESKTOP_CHAT_INPUT_BYTES,er.queueRef.current.length>=(n?129:128)||a<0||a>o||!(v<=o-a)))return void e8("The spoken-turn queue is full. Wait for the pending turns to finish, then try again.");let w=null!=(t=null==g?void 0:g.message)?t:z(d.id,l),b=()=>void 0,C=new Promise(e=>{b=e;}),k={key:m,content:l,contentDigest:i,clientTurnId:c,target:{chat:d,project:u,modelId:f,memory:tL(d,u,"voice"),attachments:tk.current},optimistic:w,byteLength:v,promise:C,resolve:b,deliveryOwner:eX.current};return e0.current.set(m,{contentDigest:i,promise:C}),eK.current.push(k),er.queueBytesRef.current+=v,void 0===g&&(eQ.current.set(m,{chatId:d.id,content:l,message:w,byteLength:v}),eJ.current+=v),e8(void 0),L(e=>{var t;return(null==(t=e.activeChat)?void 0:t.id)!==d.id||e.messages.some(e=>e.id===w.id)?e:{...e,messages:[...e.messages,w]};}),ea()||ri(),C;},[tL,e0,eJ,eQ,eK,e1,ri]),rs=(0,a.useCallback)(()=>{ea()&&0!==eK.current.length&&(e8(void 0),ei(void 0),ri());},[eK,ri]),ro=(0,a.useCallback)(()=>{let e=tf.current;if(void 0===e)return;let{discarded:t,ownedActiveDelivery:r}=function(e){var t;let r=er.queueRef.current.filter(t=>t.target.chat.id===e);if(0===r.length)return{discarded:!1,ownedActiveDelivery:!1};let n=null==(t=er.activeDelivery)?void 0:t.key,i=void 0!==n&&r.some(e=>e.key===n),a={status:"cancelled",userPersisted:!1,interrupted:!0};for(let e of r)es(e.key,{contentDigest:e.contentDigest,outcome:a});return eo(r,a),{discarded:!0,ownedActiveDelivery:i};}(e);t&&(r&&t4(),e8(void 0),ri());},[ri,t4]),rl=(0,a.useCallback)(()=>eK.current.length>=128,[eK]),rc=void 0!==e5.suspendedChatId&&void 0!==j.activeChat&&ec(j.activeChat.id),rd=(0,a.useCallback)(async e=>{if(_(eM.current))return;let t=j.activeChat,r=j.activeProject,n=ee(j.selectedModel,j.models);if(void 0===t||void 0===r||void 0===n)return;tB("queued"),eR(e),e8(void 0),te(void 0),tr(void 0);let i=new AbortController();eS.current=i,e_.current="composer",eU.current=i.signal;try{tq(i.signal,"contacting");let a=await(0,c.regenerateDesktopChat)({chatId:t.id,projectPath:r.path,assistantMessageId:e,modelId:n,memory:tL(t,r)},i.signal);if(i.signal.aborted)return void tq(i.signal,"cancelled");if(tf.current!==t.id)return;let s=a.messages.find(t=>t.id===e);L(t=>({...t,activeChat:a.chat,chats:B([a.chat,...t.chats.filter(e=>e.id!==a.chat.id)]),messages:void 0===s?t.messages:t.messages.map(t=>t.id===e?s:t)})),Z(a.chat),tr(a.memory),tq(i.signal,"completed");}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return void tq(i.signal,"cancelled");eU.current===i.signal&&e8(N(e)),tq(i.signal,"failed");}finally{eS.current===i&&(eS.current=null,e_.current=null),eU.current===i.signal&&(eU.current=null,eR(void 0));}},[j.activeChat,j.activeProject,j.selectedModel,j.models,tL,tq,tB]),ru=(0,a.useCallback)(e=>{Z(e),L(t=>{var r;return{...t,chats:t.chats.map(t=>t.id===e.id?e:t),activeChat:(null==(r=t.activeChat)?void 0:r.id)===e.id?e:t.activeChat};});},[]),rf=(0,a.useCallback)(()=>{e8(void 0);},[]),rv=(0,a.useCallback)(()=>{e9(void 0);},[]),rm=!ev&&void 0===ee(j.selectedModel,j.models);return(0,a.useMemo)(()=>({projects:j.projects,chats:j.chats,messages:j.messages,streamingAssistantMessage:U,models:j.models,configuredModelsAvailable:j.configuredModelsAvailable,activeProject:j.activeProject,activeChat:j.activeChat,selectedModel:j.selectedModel,noEligibleModels:rm,draft:Y,loading:ev,sending:eT,sendStatus:eb,regeneratingMessageId:eE,error:e3,notice:e4,clearError:rf,clearNotice:rv,setDraft:en,setSelectedModel:tz,openNewChat:tV,openProject:tW,openChat:tY,addProject:tK,sendMessage:t9,enqueueCanonicalVoiceTurn:ra,canonicalVoiceCaptureMustPause:rl,canonicalVoiceTurnRequiresRetry:rc,retryPendingCanonicalVoiceTurn:rs,discardPendingCanonicalVoiceTurn:ro,interruptCanonicalVoiceDelivery:t4,regenerateMessage:rd,cancelSend:t8,replaceChat:ru,latestGrounded:e7,cancelGrounded:t8,pendingAttachments:tb,addPendingAttachment:tT,removePendingAttachment:tM,clearPendingAttachments:tS,lastSentDocuments:tE,lastSentImages:tA,memoryEnabled:ta,setMemoryEnabled:ts,memoryBudgetTokens:to,setMemoryBudgetTokens:tl,latestMemory:tt,clearLatestMemory:tO,acceptMemoryCandidate:tU,rejectMemoryCandidate:tx,forgetMemoryAction:tN}),[j.projects,j.chats,j.messages,U,j.models,j.configuredModelsAvailable,j.activeProject,j.activeChat,j.selectedModel,rm,Y,ev,eT,eb,eE,e3,e4,rf,rv,tz,tV,tW,tY,tK,t9,ra,rl,rc,rs,ro,t4,rd,t8,ru,e7,t8,tb,tT,tM,tS,tE,tA,ta,ts,to,tl,tt,tO,tU,tx,tN]);}],87552);}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91592,e=>{"use strict";let t="\n…[truncated]",n=["text/"],a=new Set(["application/json","application/x-yaml","application/yaml"]);function i(e){return!!n.some(t=>e.startsWith(t))||a.has(e);}let r=new TextEncoder();function c(e){return r.encode(e).length;}function m(e){let t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));return t>=0?e.slice(t+1):e;}let o=`${String(256)} KB`;function l(e,t){return t("attachment.notice.budgetExhausted",{name:e,limit:o});}async function u(e,n,a){var i;let r,o,u,s,f;if(e.remainingAggregate<=0)return l(m(n.name),a);try{let e=65536+c(t)+4;r=await n.file.slice(0,e).text();}catch{return a("attachment.notice.readFailed",{name:m(n.name)});}let g=Math.min(65536,Math.max(e.remainingAggregate-c(t),0));if(g<=0)return l(m(n.name),a);let{entry:T,consumed:d}=(u=(o=c(i=r)>g)?function(e,t){if(t<=0)return"";if(c(e)<=t)return e;let n=0,a="";for(let i of e){let e=n+c(i);if(e>t)break;n=e,a+=i;}return a;}(i,g):i,s=c(u),f=o?c(t):0,{entry:{id:n.id,displayName:m(n.name),mimeType:n.mimeType,sizeBytes:n.sizeBytes,extractedBytes:s,truncated:o,truncationMarker:o?t:void 0,text:u},consumed:s+f});if(0===T.text.length)return 0===r.length?void 0:l(m(n.name),a);e.entries.push(T),e.remainingAggregate-=d;}async function s(e,t){let n=[],a=[];for(let r of e)i(r.mimeType)?a.push(r):n.push(t("attachment.notice.nonTextDocument",{name:m(r.name)}));let r=a.slice(0,16),c={entries:[],remainingAggregate:262144};for(let e of r){let a=await u(c,e,t);void 0!==a&&n.push(a);}for(let e of a.slice(16))n.push(t("attachment.notice.countExceeded",{name:m(e.name),max:String(16)}));return{entries:c.entries,failures:n};}e.s(["DOCUMENT_TRUNCATION_MARKER",0,t,"MAX_AGGREGATE_DOCUMENT_BYTES",0,262144,"MAX_DOCUMENT_CONTEXT_ENTRIES",0,16,"MAX_DOCUMENT_CONTEXT_TEXT_BYTES",0,65536,"extractDocumentContext",0,s,"isTextExtractableMime",0,i,"undeliverableAttachmentNotices",0,function(e,t){return e.filter(e=>"image"===e.kind).map(e=>t("attachment.notice.imageUndeliverable",{name:m(e.name)}));}]);}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67914,e=>{"use strict";var t=e.i(10582),n=e.i(87032),l=e.i(5353),a=e.i(50850);function i(e){return e.findIndex(e=>!0!==e.disabled);}function r(e,t,n){if(0===e.length)return-1;for(let a of e.keys()){var l;let i=(t+(a+1)*n+e.length)%e.length;if((null==(l=e[i])?void 0:l.disabled)!==!0)return i;}return-1;}function s(e){let{active:a,index:i,onCommit:r,onOptionKeyDown:s,option:o,selected:u,setOptionRef:d}=e,c=(0,n.useRef)(null),g=(0,n.useRef)(null),p=(0,n.useRef)(null),[h,m]=(0,n.useState)(null),f=()=>{null!==p.current&&(clearTimeout(p.current),p.current=null),m(null);},v=()=>{null!==p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{let e=g.current,t=c.current;if(null===e||null===t||e.scrollWidth<=e.clientWidth)return;let n=t.getBoundingClientRect(),l=Math.min(520,window.innerWidth-32),a=n.right+8+l<=window.innerWidth-16?"top-left":"top-right";m({left:"top-left"===a?n.right+8:n.left-8,placement:a,top:n.top-6});},1500);};return(0,n.useEffect)(()=>f,[]),(0,t.jsxs)("button",{ref:e=>{c.current=e,d(i,e);},"aria-selected":u,className:`ksel-option${a?" ksel-option-active":""}`,"data-disabled":!0===o.disabled?"true":void 0,disabled:o.disabled,onBlur:f,onClick:()=>r(o),onFocus:v,onKeyDown:e=>s(e,i),onPointerEnter:v,onPointerLeave:f,role:"option",type:"button",children:[(0,t.jsxs)("span",{className:"ksel-option-copy",children:[(0,t.jsx)("span",{className:"ksel-option-label",ref:g,children:o.label}),void 0!==o.description?(0,t.jsx)("span",{className:"ksel-option-desc",children:o.description}):null]}),void 0!==o.badge?(0,t.jsx)("span",{className:"ksel-option-badge",children:o.badge}):null,null!==h?(0,l.createPortal)((0,t.jsx)("div",{className:"ksel-overflow-tooltip","data-placement":h.placement,role:"tooltip",style:{left:`${h.left.toString()}px`,top:`${h.top.toString()}px`},children:o.label}),document.body):null]});}function o(e){let{activeIndex:n,flatOptions:l,menuId:a,onCommit:i,onOptionKeyDown:r,section:o,sectionIndex:u,selectedIndex:d,setOptionRef:c}=e,g=void 0!==o.label?`${a}-section-${u.toString()}`:void 0;return(0,t.jsxs)("div",{className:"ksel-section",role:void 0!==o.label?"group":"presentation","aria-labelledby":g,children:[void 0!==o.label?(0,t.jsx)("div",{className:"ksel-section-label",id:g,children:o.label}):null,o.options.map(e=>{var a;let u=l.findIndex(t=>t.value===e.value&&t.sectionLabel===o.label),g=l[u];return void 0===g?null:(0,t.jsx)(s,{active:u===n,index:u,onCommit:i,onOptionKeyDown:r,option:g,selected:u===d,setOptionRef:c},`${null!=(a=o.label)?a:"section"}-${e.value}`);})]});}function u(e){var n;let{activeIndex:a,ariaLabel:i,flatOptions:r,menuClassName:s,menuCountLabel:u,menuId:d,menuLabel:c,menuRef:g,menuTitle:p,onCommit:h,onOptionKeyDown:m,placeholder:f,position:v,selectedIndex:b,sections:x,setOptionRef:y,showMenuHeader:w}=e;return(0,l.createPortal)((0,t.jsxs)("div",{ref:g,className:["ksel-menu",v.attached?"ksel-menu-attached":"",v.openUp?"ksel-menu-open-up":"ksel-menu-open-down",null!=s?s:""].filter(e=>e.length>0).join(" "),style:{left:`${v.left.toString()}px`,top:`${v.top.toString()}px`,width:`${v.width.toString()}px`,"--ksel-option-height":`${v.optionHeight.toString()}px`,fontFamily:v.fontFamily,fontSize:v.fontSize,fontWeight:v.fontWeight,letterSpacing:v.letterSpacing,lineHeight:v.lineHeight},children:[w?(0,t.jsxs)("div",{className:"ksel-menu-head",children:[(0,t.jsx)("div",{className:"ksel-menu-title",children:null!=(n=null!=p?p:i)?n:f}),(0,t.jsx)("div",{className:"ksel-menu-note",children:null!=u?u:`${r.length.toString()} options`})]}):null,(0,t.jsx)("div",{className:"ksel-menu-scroll",role:"listbox",id:d,"aria-label":c,style:{maxHeight:`${v.maxHeight.toString()}px`},children:x.map((e,n)=>{var l;return(0,t.jsx)(o,{activeIndex:a,flatOptions:r,menuId:d,onCommit:h,onOptionKeyDown:m,section:e,sectionIndex:n,selectedIndex:b,setOptionRef:y},`${null!=(l=e.label)?l:"section"}-${n.toString()}`);})})]}),document.body);}e.s(["default",0,function(e){var l,s,o,d,c,g;let{value:p,sections:h,onValueChange:m,onOpen:f,disabled:v=!1,placeholder:b,ariaLabel:x,ariaDescribedBy:y,ariaLabelledBy:w,triggerClassName:k,menuClassName:j,menuTitle:N,menuCountLabel:L,showMenuHeader:C=!0,leadingVisual:E,mono:F=!1,showChevron:S=!0,menuMinWidth:D,attached:T=!0,triggerStyle:P,autoFocus:R=!1}=e,M=(0,a.useTranslate)(),I=(0,n.useRef)(null),O=(0,n.useRef)(null),W=(0,n.useRef)([]),A=(0,n.useId)(),[K,$]=(0,n.useState)(!1),[H,B]=(0,n.useState)(-1),[_,U]=(0,n.useState)(null),[z,q]=(0,n.useState)(!1),V=(0,n.useMemo)(()=>h.flatMap((e,t)=>e.options.map((n,l)=>{var a;return{...n,key:`${null!=(a=e.label)?a:"section"}-${t.toString()}-${n.value}-${l.toString()}`,sectionLabel:e.label};})),[h]),G=V.findIndex(e=>e.value===p),J=-1===G?null:V[G],Y=null!=b?b:M("select.placeholder"),Q=null!=(l=null==J?void 0:J.label)?l:Y,X=null!=(s=null==J?void 0:J.description)?s:null,Z=null!=(o=null!=N?N:x)?o:Y,ee=()=>{$(!1),B(-1);},et=e=>{var t,n;if(v||0===V.length)return;let l=void 0!==e&&(null==(t=V[e])?void 0:t.disabled)!==!0?e:G>=0&&(null==(n=V[G])?void 0:n.disabled)!==!0?G:i(V);$(!0),B(l),null==f||f();};function en(e){var t;e.disabled||(m(e.value),ee(),null==(t=I.current)||t.focus());}(0,n.useEffect)(()=>{if(!K)return;let e=e=>{let t=e.target;null!==I.current&&t instanceof Node&&I.current.contains(t)||null!==O.current&&t instanceof Node&&O.current.contains(t)||ee();},t=()=>ee();return window.addEventListener("pointerdown",e,!0),window.addEventListener("blur",t),()=>{window.removeEventListener("pointerdown",e,!0),window.removeEventListener("blur",t);};},[K]),(0,n.useLayoutEffect)(()=>{if(!K||null===I.current)return;let e=()=>{var e;let t=null==(e=I.current)?void 0:e.getBoundingClientRect();if(void 0===t)return;let n=Math.min(void 0!==D&&t.width<Math.min(D,96)?D:t.width,window.innerWidth-32),l=T&&1>Math.abs(n-t.width),a=l?-1:6,i=window.innerHeight-t.bottom-16,r=t.top-16,s=i<Math.max(96,2*t.height)&&r>i;q(s);let o=s?r:i,u=50*!!C+2,d=Math.max(t.height,Math.min(Math.max(t.height,o-u),380)),c=d+u,g=window.getComputedStyle(I.current);U({left:Math.min(Math.max(16,t.left),window.innerWidth-n-16),width:n,top:s?Math.max(16,t.top-c-a):Math.min(t.bottom+a,window.innerHeight-16-c),optionHeight:Math.max(28,Math.min(t.height,30)),maxHeight:d,openUp:s,attached:l,fontFamily:g.fontFamily,fontSize:g.fontSize,fontWeight:g.fontWeight,letterSpacing:g.letterSpacing,lineHeight:g.lineHeight});};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0);};},[K,T,D,C]),(0,n.useLayoutEffect)(()=>{if(!K||null===_||!_.openUp||null===I.current||null===O.current)return;let e=I.current.getBoundingClientRect(),t=O.current.getBoundingClientRect();if(t.height<=0)return;let n=_.attached?-1:6,l=Math.max(16,e.top-t.height-n);.5>Math.abs(l-_.top)||U(e=>null===e?e:{...e,top:l});},[K,_]),(0,n.useEffect)(()=>{var e,t;K&&!(H<0)&&(null==(e=W.current[H])||e.focus(),null==(t=W.current[H])||t.scrollIntoView({block:"nearest"}));},[K,H]),(0,n.useEffect)(()=>{if(!K)return;let e=e=>{var t,n;if("Escape"===e.key){ee(),null==(t=I.current)||t.focus();return;}if(1===e.key.length&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if((n=e.target)instanceof HTMLElement&&("INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SELECT"===n.tagName||n.isContentEditable))return;let t=function(e,t,n){for(let l=1;l<=e.length;l+=1){let a=(t+l)%e.length,i=e[a];if(void 0!==i&&!0!==i.disabled&&i.label.toLowerCase().startsWith(n))return a;}return-1;}(V,H>=0?H:Math.max(G,0),e.key.toLowerCase());-1!==t&&B(t);}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e);},[K,H,V,G]);let el=["ksel-trigger",(d={disabled:v,mono:F,open:K,openUp:z,position:_,triggerClassName:k}).mono?"mono":"",null!=(c=d.triggerClassName)?c:"",d.open?"ksel-trigger-open":"",d.open&&(null==(g=d.position)?void 0:g.attached)===!0?d.openUp?"ksel-trigger-open-up":"ksel-trigger-open-down":"",d.disabled?"ksel-trigger-disabled":""].filter(e=>e.length>0).join(" "),ea=K&&null!==_?(0,t.jsx)(u,{activeIndex:H,ariaLabel:x,flatOptions:V,menuClassName:j,menuCountLabel:L,menuId:A,menuLabel:Z,menuRef:O,menuTitle:N,onCommit:en,onOptionKeyDown:function(e,t){var n,l;if("Escape"===e.key){e.preventDefault(),ee(),null==(n=I.current)||n.focus();return;}if("Tab"===e.key){e.preventDefault(),ee(),null==(l=I.current)||l.focus();return;}if("ArrowDown"===e.key){e.preventDefault(),B(r(V,t,1));return;}if("ArrowUp"===e.key){e.preventDefault(),B(r(V,t,-1));return;}if("Home"===e.key){e.preventDefault(),B(i(V));return;}if("End"===e.key){e.preventDefault(),B(r(V,0,-1));return;}if("Enter"===e.key||" "===e.key){e.preventDefault();let n=V[t];void 0!==n&&en(n);}},placeholder:b,position:_,selectedIndex:G,sections:h,setOptionRef:(e,t)=>{W.current[e]=t;},showMenuHeader:C}):null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{ref:I,"aria-controls":A,"aria-describedby":y,"aria-expanded":K,"aria-haspopup":"listbox","aria-label":x,"aria-labelledby":w,autoFocus:R,className:el,disabled:v,onClick:()=>{K?ee():et();},onKeyDown:function(e){if(!v){if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault(),et(G>=0?G:i(V));return;}("Enter"===e.key||" "===e.key)&&(e.preventDefault(),K?ee():et());}},role:"combobox",style:P,type:"button",children:[void 0!==E?(0,t.jsx)("span",{className:"ksel-trigger-leading",children:E}):null,(0,t.jsxs)("span",{className:"ksel-trigger-copy",children:[(0,t.jsx)("span",{className:"ksel-trigger-label",children:Q}),null!==X?(0,t.jsx)("span",{className:"ksel-trigger-desc",children:X}):null]}),S?(0,t.jsx)("span",{"aria-hidden":"true",className:`ksel-trigger-caret${K?" ksel-trigger-caret-open":""}`,children:(0,t.jsx)("svg",{fill:"none",height:"12",viewBox:"0 0 12 12",width:"12",children:(0,t.jsx)("path",{d:"M2.25 4.5 6 8.25 9.75 4.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}):null]}),ea]});}]);},48268,64533,e=>{"use strict";let t,n;var l=e.i(87032),a=e.i(76055);async function i(){return void 0!==t?t:(null!=n||(n=(0,a.fetchNativeFileDialogCapability)().then(e=>(t=e.supported,e.supported)).catch(()=>!1).finally(()=>{n=void 0;})),n);}async function r(e){try{let t=await(0,a.openNativeFileDialog)(e);if(t.cancelled)return{kind:"cancelled"};return{kind:"picked",paths:t.selections.map(e=>e.path)};}catch(e){if(e instanceof a.ApiError){if("NATIVE_DIALOG_ALREADY_OPEN"===e.code)return{kind:"busy"};if("NATIVE_DIALOG_UNSUPPORTED"===e.code)return{kind:"unsupported"};return{kind:"error",message:e.message};}return{kind:"error",message:"The native dialog request failed."};}}e.s(["nativeFileDialogSupported",0,i,"nativePathsToRootAndFiles",0,function(e){let t,n=e[0];if(void 0===n)return{rootPath:"",files:[]};let l=(t=Math.max(n.lastIndexOf("/"),n.lastIndexOf("\\")))>0?n.slice(0,t):n,a=l.length,i=e.map(e=>{let t=e.charAt(a);return e.startsWith(l)&&("/"===t||"\\"===t)?e.slice(a+1):e;});return{rootPath:l,files:i};},"pickWithNativeDialog",0,r],64533),e.s(["useNativeFileDialogCapability",0,function(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=!0;return i().then(n=>{e&&t(n);}),()=>{e=!1;};},[]),e;}],48268);},37522,e=>{"use strict";var t=e.i(10582),n=e.i(87032),l=e.i(76055),a=e.i(64533),i=e.i(17161),r=e.i(48268),s=e.i(95313),o=e.i(48143),u=e.i(67914),d=e.i(27391),c=e.i(50850),g=e.i(85912),p=e.i(62156);let h=i.Icons.files,m=i.Icons.close;function f(e,t){return e instanceof Error?e.message:t("newWindow.unexpectedError");}async function v(e,t,n,l,i){let r=e.trim(),s=await(0,a.pickWithNativeDialog)({mode:"open-directory",title:t,...(r.length>0?{defaultPath:r}:{})});"picked"===s.kind&&void 0!==s.paths[0]?n(s.paths[0]):("busy"===s.kind&&l(i("nativeDialog.busy")),"unsupported"===s.kind&&l(i("nativeDialog.unsupported")),"error"===s.kind&&l(s.message));}let b=[{id:"unit-test-generation",labelKey:"agentLauncher.workflow.unitTest",scopeKey:"agentLauncher.scope.sourceFile"},{id:"bug-investigation",labelKey:"agentLauncher.workflow.bugfix",scopeKey:"agentLauncher.scope.bugReport"}];function x(e){return e.filter(e=>e.available).map(e=>e.path);}function y(e){return e.split(/[\n,]/u).map(e=>e.trim()).filter(e=>e.length>0);}function w(e){var t,n;return null!=(t=null==(n=e[0])?void 0:n.id)?t:"";}let k=function(e){return"chat"===e.kind&&e.toolCalling&&e.structuredOutput;};function j(e){return e.replaceAll("\\","/");}function N(e,t){let n=j(t.trim());if(0===n.length)return"";let l=function(e){let t=e.length;for(;t>0&&"/"===e.charAt(t-1);)t-=1;return e.slice(0,t);}(j(e.trim()));if(0===l.length)return n;if(n===l)return".";let a=`${l}/`;return n.startsWith(a)?n.slice(a.length):n;}let L={"governed-assist":{label:"agentLauncher.mode.governedAssist.label",description:"agentLauncher.mode.governedAssist.description"},"supervised-coding":{label:"agentLauncher.mode.supervisedCoding.label",description:"agentLauncher.mode.supervisedCoding.description"},"autonomous-delivery":{label:"agentLauncher.mode.autonomousDelivery.label",description:"agentLauncher.mode.autonomousDelivery.description"}};function C(e){let{value:n,onChange:l,optionalT:a}=e;return(0,t.jsxs)("fieldset",{className:"dlg-agent-task",children:[(0,t.jsx)("legend",{className:"dlg-agent-task-title",children:a("agentLauncher.autonomy")}),p.CODING_WORKBENCH_MODES.map(e=>{let i=L[e];return(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("input",{type:"radio",name:"agent-autonomy-mode",value:e,checked:n===e,onChange:()=>l(e)})," ",(0,t.jsx)("strong",{children:a(i.label)})]}),(0,t.jsx)("span",{className:"dlg-note",children:a(i.description)})]},e);}),(0,t.jsx)("span",{className:"dlg-note",children:a("agentLauncher.executionUnavailable")})]});}function E(e){return"string"==typeof e?e:void 0===e?"":String(e);}function F(e){var t;return null!=(t=b.find(t=>t.id===e))?t:b[0];}function S(e){var i,s,o,d,p,m;let{filesContext:j,setDialogError:L,onConfirm:E,onClose:S}=e,D=(0,c.useTranslate)(),T=(0,g.useOptionalWidgetTranslate)(),[P,R]=(0,n.useState)("unit-test-generation"),[M,I]=(0,n.useState)(null!=(i=null==j?void 0:j.root)?i:""),[O,W]=(0,n.useState)(""),[A,K]=(0,n.useState)("governed-assist"),[$,H]=(0,n.useState)([]),[B,_]=(0,n.useState)([]),[U,z]=(0,n.useState)(()=>{var e,t,n,l;let a;return n=null!=(e=null==j?void 0:j.root)?e:"",{verifyTargetFiles:a=null===(l=null!=(t=null==j?void 0:j.activeFilePath)?t:null)?"":N(n,l),explainFilePath:a,explainQuestion:"",unitFilePath:a,bugDescription:"",bugFailingOutput:"",bugStackTrace:"",bugTargetFiles:a};}),[q,V]=(0,n.useState)(!0),[G,J]=(0,n.useState)(!1),[Y,Q]=(0,n.useState)(!1),X=M.trim(),Z=null===j||j.root!==X||void 0===j.activeFilePath?null:j.activeFilePath,ee=X.length>0&&B.includes(X),et=0===X.length?D("agentLauncher.validation.repositoryRequired"):0===O.length?D("agentLauncher.validation.noModel"):"unit-test-generation"===P&&0===U.unitFilePath.trim().length?D("agentLauncher.validation.unitSource"):"bug-investigation"===P&&0===U.bugDescription.trim().length?D("agentLauncher.validation.bugDescription"):null,en=null===et&&ee&&!Y&&!q,el=F(P),ea=D("agentLauncher.start",{label:D(F(P).labelKey)}),ei=(0,r.useNativeFileDialogCapability)(),er=null!=(s=B[0])?s:"",es=X.length>0?X:null!=(o=null==j?void 0:j.root)?o:er,eo="agent-repository-browse-help",eu=ei&&X.length>0;(0,n.useEffect)(()=>{let e=!1;return V(!0),L(null),Promise.all([(0,l.fetchModels)(),(0,l.fetchProjects)()]).then(t=>{let[n,l]=t;if(e)return;let a=n.models.filter(k);H(a),W(e=>e||w(a)),_(x(l.projects));}).catch(t=>{e||L(f(t,D));}).finally(()=>{e||V(!1);}),()=>{e=!0;};},[L,D]);let ed=e=>{z(t=>({...t,...e}));};(0,n.useEffect)(()=>{if(null===Z)return;let e=N(X,Z);z(t=>{let n;return n={},0===t.verifyTargetFiles.trim().length&&(n.verifyTargetFiles=e),0===t.explainFilePath.trim().length&&(n.explainFilePath=e),0===t.unitFilePath.trim().length&&(n.unitFilePath=e),0===t.bugTargetFiles.trim().length&&(n.bugTargetFiles=e),0===Object.keys(n).length?t:{...t,...n};});},[Z,X]);let ec=async()=>{_(x((await(0,l.fetchProjects)()).projects));},eg=async()=>{if(0!==X.length){J(!0),L(null);try{var e;let t=await(0,l.createProject)({path:X});await ec(),L(null!=(e=(0,l.projectResponseWarningMessage)(t))?e:null);}catch(e){L(f(e,D));}finally{J(!1);}}},ep=async()=>{if(!en)return void L(null!=et?et:D("agentLauncher.notRegistered"));Q(!0),L(null);let e="unit-test-generation"===P?{workflowId:"unit-test-generation",modelId:O,requestedMode:A,input:{workspaceRoot:X,target:{kind:"file",filePath:N(X,U.unitFilePath)}}}:{workflowId:"bug-investigation",modelId:O,requestedMode:A,input:{workspaceRoot:X,report:{...(U.bugDescription.trim().length>0?{description:U.bugDescription.trim()}:{}),...(U.bugFailingOutput.trim().length>0?{failingOutput:U.bugFailingOutput.trim()}:{}),...(U.bugStackTrace.trim().length>0?{stackTrace:U.bugStackTrace.trim()}:{}),...(y(U.bugTargetFiles).length>0?{targetFiles:y(U.bugTargetFiles).map(e=>N(X,e))}:{})}}};try{let t=await(0,l.startRun)(e);if(void 0===t.governance)throw Error(T("agentLauncher.governanceUnavailable"));let n=t.governance;E({workflow:P,model:O,runId:t.runId,fingerprint:t.fingerprint,workspaceRoot:X,inputJson:JSON.stringify(e.input),requestedMode:n.requestedMode,effectiveMode:n.effectiveMode,deploymentCeiling:n.deploymentCeiling,connectorExecution:n.connectorExecution,deliveryExecution:n.deliveryExecution,...(null!==j&&j.root===X?{__connectFilesId:j.id}:{})});}catch(e){e instanceof l.ApiError&&"WORKSPACE_NOT_REGISTERED"===e.code?(await ec().catch(()=>void 0),L(D("agentLauncher.notRegistered"))):L(f(e,D));}finally{Q(!1);}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"dlg-agent-grid",children:[(0,t.jsxs)("div",{className:"dlg-field",children:[(0,t.jsx)("span",{className:"dlg-label",children:D("agentLauncher.agent")}),(0,t.jsx)("span",{className:"dlg-selwrap",children:(0,t.jsx)(u.default,{triggerClassName:"dlg-input",value:P,ariaLabel:D("agentLauncher.agent"),autoFocus:!0,menuTitle:D("agentLauncher.agent"),menuCountLabel:D("agentLauncher.agentCount",{count:b.length}),sections:[{options:b.map(e=>({value:e.id,label:D(e.labelKey)}))}],onValueChange:e=>{let t=b.find(t=>t.id===e);void 0!==t&&R(t.id);}})})]}),(0,t.jsxs)("div",{className:"dlg-field",children:[(0,t.jsx)("span",{className:"dlg-label",children:D("agentLauncher.model")}),(0,t.jsx)("span",{className:"dlg-selwrap",children:(0,t.jsx)(u.default,{triggerClassName:"dlg-input mono",value:O,ariaLabel:D("agentLauncher.model"),disabled:0===$.length,menuTitle:D("agentLauncher.model"),mono:!0,sections:[{options:$.map(e=>({value:e.id,label:e.id}))}],onValueChange:W})})]})]}),(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsx)("span",{className:"dlg-label",children:D("agentLauncher.repository")}),(0,t.jsxs)("span",{className:"dlg-dirwrap",children:[(0,t.jsx)("input",{className:"dlg-input mono",value:M,placeholder:D("agentLauncher.repositoryPlaceholder"),onChange:e=>I(e.target.value)}),(0,t.jsx)("button",{type:"button",className:"dlg-btn dlg-dirbtn",disabled:!ei,"aria-describedby":ei?void 0:eo,onClick:()=>{ei&&v(es,D("nativeDialog.selectRepository"),I,L,D);},children:D("common.browse")})]}),ei?null:(0,t.jsx)("span",{id:eo,className:"dlg-note",children:D("nativeDialog.unsupported")})]}),(d=()=>void eg(),0===X.length||ee?null:(0,t.jsxs)("div",{className:"dlg-agent-warning",children:[(0,t.jsx)("span",{children:D("agentLauncher.notRegistered")}),(0,t.jsx)("button",{type:"button",className:"dlg-btn",disabled:G,onClick:d,children:D(G?"agentLauncher.registering":"agentLauncher.register")})]})),(0,t.jsx)(C,{value:A,onChange:K,optionalT:T}),(p=()=>{if(null===Z)return;let e=N(X,Z);"unit-test-generation"===P?ed({unitFilePath:e}):ed({bugTargetFiles:e});},null===Z?null:(0,t.jsxs)("button",{type:"button",className:"dlg-current-file",onClick:p,title:Z,children:[(0,t.jsx)(h,{size:13})," ",D("agentLauncher.useCurrentFile")," ",(0,t.jsx)("span",{className:"mono",children:Z})]})),(0,t.jsxs)("div",{className:"dlg-agent-task",children:[(0,t.jsxs)("div",{className:"dlg-agent-task-head",children:[(0,t.jsx)("span",{className:"dlg-agent-task-title",children:D(el.labelKey)}),(0,t.jsx)("span",{className:"dlg-agent-task-scope",children:D(el.scopeKey)})]}),"unit-test-generation"===(m={workflow:P,fields:U,workspace:X,canBrowseSourceFile:eu,nativeDialogSupported:ei,sourceBrowseHelperId:"agent-source-file-browse-help",t:D,updateField:ed,onBrowseSourceFile:()=>{eu&&(0,a.pickWithNativeDialog)({mode:"open-file",title:D("nativeDialog.selectSourceFile"),defaultPath:X}).then(e=>{let t=function(e,t,n){if("picked"===e.kind&&void 0!==e.paths[0]){let n=N(t,e.paths[0]);return n.startsWith("/")||/^[A-Za-z]:[\\/]/u.test(n)||n.startsWith("\\\\")?{kind:"outside-workspace"}:{kind:"picked",relative:n};}return"busy"===e.kind?{kind:"message",message:n("nativeDialog.busy")}:"unsupported"===e.kind?{kind:"message",message:n("nativeDialog.unsupported")}:"error"===e.kind?{kind:"message",message:e.message}:{kind:"noop"};}(e,X,D);"picked"===t.kind?ed({unitFilePath:t.relative}):"outside-workspace"===t.kind?L(D("agentLauncher.fileOutsideRepository")):"message"===t.kind&&L(t.message);});}}).workflow?function(e){let{fields:n,workspace:l,canBrowseSourceFile:a,nativeDialogSupported:i,sourceBrowseHelperId:r,t:s,updateField:o,onBrowseSourceFile:u}=e;return(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsx)("span",{className:"dlg-label",children:s("agentLauncher.scope.sourceFile")}),(0,t.jsxs)("span",{className:"dlg-dirwrap",children:[(0,t.jsx)("input",{className:"dlg-input mono",placeholder:s("agentLauncher.sourceFilePlaceholder"),value:n.unitFilePath,onChange:e=>o({unitFilePath:e.target.value}),onBlur:e=>o({unitFilePath:N(l,e.target.value)})}),(0,t.jsx)("button",{type:"button",className:"dlg-btn dlg-dirbtn","aria-label":s("agentLauncher.browseSourceFile"),disabled:!a,"aria-describedby":a?void 0:r,onClick:u,children:s("common.browse")})]}),a?null:(0,t.jsx)("span",{id:r,className:"dlg-note",children:s(i?"agentLauncher.selectRepositoryFirst":"nativeDialog.unsupported")})]});}(m):function(e){let{fields:n,workspace:l,t:a,updateField:i}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsx)("span",{className:"dlg-label",children:a("agentLauncher.observedBehavior")}),(0,t.jsx)("textarea",{className:"dlg-input dlg-textarea",rows:2,placeholder:a("agentLauncher.observedBehaviorPlaceholder"),value:n.bugDescription,onChange:e=>i({bugDescription:e.target.value})})]}),(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsxs)("span",{className:"dlg-label",children:[a("agentLauncher.failingOutput")," ",(0,t.jsx)("span",{className:"dlg-opt",children:a("common.optional")})]}),(0,t.jsx)("textarea",{className:"dlg-input dlg-textarea mono",rows:2,value:n.bugFailingOutput,onChange:e=>i({bugFailingOutput:e.target.value})})]}),(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsxs)("span",{className:"dlg-label",children:[a("agentLauncher.stackTrace")," ",(0,t.jsx)("span",{className:"dlg-opt",children:a("common.optional")})]}),(0,t.jsx)("textarea",{className:"dlg-input dlg-textarea mono",rows:2,value:n.bugStackTrace,onChange:e=>i({bugStackTrace:e.target.value})})]}),(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsxs)("span",{className:"dlg-label",children:[a("agentLauncher.relatedFiles")," ",(0,t.jsx)("span",{className:"dlg-opt",children:a("common.optional")})]}),(0,t.jsx)("textarea",{className:"dlg-input dlg-textarea mono",rows:2,placeholder:a("agentLauncher.relatedFilesPlaceholder"),value:n.bugTargetFiles,onChange:e=>i({bugTargetFiles:e.target.value}),onBlur:e=>i({bugTargetFiles:y(e.target.value).map(e=>N(l,e)).join(", ")})})]})]});}(m)]}),(0,t.jsxs)("div",{className:"dlg-agent-actions",children:[q?(0,t.jsx)("output",{id:"agent-start-validation",className:"dlg-note",children:D("agentLauncher.loading")}):null,q||null===et?null:(0,t.jsx)("output",{id:"agent-start-validation",className:"dlg-note",children:et}),(0,t.jsx)("button",{type:"button",className:"dlg-btn",onClick:S,children:D("common.cancel")}),(0,t.jsx)("button",{type:"button",className:"dlg-btn dlg-primary",disabled:!en,"aria-busy":Y,"aria-describedby":en||Y?void 0:"agent-start-validation",onClick:()=>void ep(),children:Y?D("agentLauncher.starting"):ea})]})]});}e.s(["NewWindowDialog",0,function(e){var a;let{type:g,types:p,filesContext:h=null,onConfirm:b,onClose:y}=e,w=(0,c.useTranslate)(),k=p[g],j=(0,n.useMemo)(()=>(0,s.localizedWindowConfigFields)(w,g),[w,g]),[N,L]=(0,n.useState)(()=>function(e){let t={};for(let n of e)t[n.key]=n.def;return t;}(j)),[C,F]=(0,n.useState)(!1),[D,T]=(0,n.useState)(null),P=(0,r.useNativeFileDialogCapability)(),R=(0,n.useRef)(null),M=(0,n.useRef)(null),I=(0,n.useRef)(null),O=(0,s.localizedWindowTitle)(w,g),W=w("newWindow.title",{label:O}),A=(0,s.localizedWindowDesc)(w,g),K=null!=(a=(0,s.localizedWindowCta)(w,g))?a:w("newWindow.open",{label:O});(0,n.useEffect)(()=>(I.current=document.activeElement,()=>{let e=I.current;(null==e?void 0:e.isConnected)===!0?e.focus():requestAnimationFrame(()=>{var e,t;(null!=(e=null!=(t=document.querySelector('.window[data-top="true"]'))?t:document.querySelector(".ws-fab"))?e:document.body).focus({preventScroll:!0});});}),[]),(0,n.useEffect)(()=>{let e=requestAnimationFrame(()=>{var e,t;F(!0),null==(t=null!=(e=R.current)?e:M.current)||t.focus();});return()=>cancelAnimationFrame(e);},[]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&y();};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e);};},[y]),(0,n.useEffect)(()=>{if("files"!==g&&"editor"!==g)return;let e=!1,t=N.root;if("string"!=typeof t||!(t.length>0))return T(null),(0,l.fetchProjects)().then(t=>{let n=x(t.projects)[0];e||void 0===n||L(e=>({...e,root:n}));}).catch(t=>{e||T(f(t,w));}),()=>{e=!0;};},[N.root,g,w]);let $=(e,t)=>L(n=>({...n,[e]:t})),H={supported:P,open:(e,t)=>{T(null),v(t,w("nativeDialog.selectFolder"),t=>$(e,t),T,w);}},B=()=>{"agents"!==g&&b(function(e,t,n){var l,a;if("chat"!==e)return n;let i=null!=(l=null==(a=t.find(e=>"title"===e.key))?void 0:a.def)?l:"",r=E(n.title).trim();if(r.length>0&&r!==i.trim())return n;let{title:s,...u}=n;return{...u,[o.CHAT_TITLE_IS_DEFAULT_CFG_KEY]:!0};}(g,j,N));},_=i.Icons[k.icon];return(0,t.jsx)("div",{className:"dlg-overlay"+(C?" in":""),onPointerDown:y,children:(0,t.jsxs)("dialog",{open:!0,ref:M,className:"agents"===g?"dlg dlg-agents":"dlg","aria-modal":"true","aria-labelledby":"new-window-title","aria-describedby":"new-window-desc",tabIndex:-1,style:{position:"relative",inset:"auto",margin:0,padding:0,color:"inherit"},onPointerDown:e=>e.stopPropagation(),onKeyDown:e=>{let t,n;if("Escape"===e.key)return void y();if("Enter"===e.key&&(e.metaKey||e.ctrlKey))return void B();if("Enter"===e.key){let t=e.target instanceof HTMLElement?e.target.tagName:"";("INPUT"===t||"SELECT"===t)&&(e.preventDefault(),B());return;}if("Tab"!==e.key)return;let l=(t=e.currentTarget.querySelectorAll("button,input,select,textarea"),n=[],t.forEach(e=>{e.hasAttribute("disabled")||(null!==e.offsetParent||"BUTTON"===e.tagName)&&n.push(e);}),n);if(0===l.length)return;let a=l[0],i=l.at(-1);e.shiftKey&&document.activeElement===a?(e.preventDefault(),i.focus()):e.shiftKey||document.activeElement!==i||(e.preventDefault(),a.focus());},children:[(0,t.jsxs)("div",{className:"dlg-head",children:[(0,t.jsx)("span",{className:"dlg-ico",children:(0,t.jsx)(_,{size:20})}),(0,t.jsxs)("div",{className:"dlg-htext",children:[(0,t.jsx)("span",{id:"new-window-title",className:"dlg-title",children:W}),(0,t.jsx)("span",{id:"new-window-desc",className:"dlg-sub",children:A})]}),(0,t.jsx)("span",{className:"spacer"}),(0,t.jsx)("button",{type:"button",className:"palette-x",onClick:y,"aria-label":w("common.cancel"),title:w("common.cancel"),children:(0,t.jsx)(m,{size:16})})]}),(0,t.jsxs)("div",{className:"dlg-body",children:["agents"===g?(0,t.jsx)(S,{filesContext:h,setDialogError:T,onConfirm:b,onClose:y}):0===j.length&&(0,t.jsx)("div",{className:"dlg-empty",children:w("newWindow.empty",{label:O})}),"agents"!==g&&j.map((e,n)=>(0,t.jsxs)("label",{className:"dlg-field",children:[(0,t.jsxs)("span",{className:"dlg-label",children:[e.label,!0===e.optional&&(0,t.jsx)("span",{className:"dlg-opt",children:w("common.optional")})]}),function(e,n,l,a,i,r){var s,o,c,g;if("perm"===e.type)return(0,t.jsx)(d.PermControl,{cfg:n,set:l});let p=E(n[e.key]);if("select"===e.type){let n=null!=(o=e.options)?o:[];return(0,t.jsx)("span",{className:"dlg-selwrap",children:(0,t.jsx)(u.default,{triggerClassName:"dlg-input mono",value:p,disabled:0===n.length,autoFocus:null!==a,menuTitle:e.label,mono:!0,sections:[{options:n.map(t=>{var n;return{value:t,label:`${null!=(n=e.prefix)?n:""}${t}`};})}],onValueChange:t=>l(e.key,t)})});}if("textarea"===e.type)return(0,t.jsx)("textarea",{ref:null!=a?a:void 0,className:"dlg-input dlg-textarea",rows:3,placeholder:null!=(c=e.placeholder)?c:"",value:p,onChange:t=>l(e.key,t.target.value)});if("directory"===e.type){let n=`dlg-native-note-${e.key}`;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"dlg-dirwrap",children:[(0,t.jsx)("input",{ref:null!=a?a:void 0,className:"dlg-input mono",placeholder:null!=(g=e.placeholder)?g:e.label,value:p,onChange:t=>l(e.key,t.target.value)}),(0,t.jsx)("button",{type:"button",className:"dlg-btn dlg-dirbtn",disabled:!i.supported,"aria-describedby":i.supported?void 0:n,onClick:()=>i.open(e.key,p),children:r("common.browse")})]}),i.supported?null:(0,t.jsx)("span",{id:n,className:"dlg-note",children:r("nativeDialog.unsupported")})]});}return(0,t.jsx)("input",{ref:null!=a?a:void 0,className:"dlg-input mono",placeholder:null!=(s=e.placeholder)?s:e.label,value:p,onChange:t=>l(e.key,t.target.value)});}(e,N,$,0===n?e=>{R.current=e;}:null,H,w)]},e.key)),null!==D?(0,t.jsx)("div",{className:"dlg-error",role:"alert",children:D}):null]}),"agents"!==g?(0,t.jsxs)("div",{className:"dlg-foot",children:[(0,t.jsx)("button",{type:"button",className:"dlg-btn",onClick:y,children:w("common.cancel")}),(0,t.jsx)("button",{type:"button",className:"dlg-btn dlg-primary",onClick:B,children:K})]}):null]})});},"chooseDefaultModel",0,w,"isAgentWorkflowModel",0,k,"resolveFieldValue",0,E],37522);},92757,e=>{e.n(e.i(37522));}]);
@@ -1,17 +1,22 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[81186,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
3
- 3:I[86677,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
4
- 4:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"OutletBoundary"]
5
- 5:"$Sreact.suspense"
6
- 8:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"ViewportBoundary"]
7
- a:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"MetadataBoundary"]
8
- c:I[34152,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default",1]
2
+ 3:I[81186,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
3
+ 4:I[86677,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
4
+ a:I[34152,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default",1]
9
5
  :HL["/_next/static/chunks/3m3iq9-8cj9md.css","style"]
10
6
  :HL["/fonts/jetbrains-mono-latin-wght-normal.woff2","font",{"crossOrigin":"anonymous","type":"font/woff2"}]
11
- 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var k=\"keiko.app-boot-recovery-reload-count\";setTimeout(function(){try{if(document.querySelector(\"main.workspace\"))return;if(!document.querySelector(\".app[aria-hidden='true'] .app-boot\"))return;var n=parseInt(sessionStorage.getItem(k)||\"0\",10);if(!isFinite(n)||n<0)n=0;if(n>=2)return;sessionStorage.setItem(k,String(n+1));location.reload()}catch(e){}},8000)}catch(e){}"}}],["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"HRXN4QzQnsMCEYDtmAj6R"}
12
- d:[]
13
- 7:"$Wd"
14
- 9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4EBA87"}],["$","meta","3",{"name":"color-scheme","content":"dark light"}]]
15
- e:I[25083,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"IconMark"]
16
- 6:null
17
- b:[["$","title","0",{"children":"Keiko | Ex experientia disco"}],["$","meta","1",{"name":"description","content":"Keiko — a governed agentic workspace for knowledge work."}],["$","link","2",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","3",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180","type":"image/png"}],["$","$Le","5",{}]]
7
+ 2:T525,try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":"$L5"}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]]}]]}],{"children":["$L6",{"children":["$L7",{},null,false,null]},null,false,"$@8"]},null,false,null],"$L9",false]],"m":"$undefined","G":["$a",["$Lb"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"kyhHbKw0xpyYbFeuC7Z7i"}
8
+ c:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"OutletBoundary"]
9
+ d:"$Sreact.suspense"
10
+ 10:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"ViewportBoundary"]
11
+ 12:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"MetadataBoundary"]
12
+ 5:["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]
13
+ 6:["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]
14
+ 7:["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$5:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$Lc",null,{"children":["$","$d",null,{"name":"Next.MetadataOutlet","children":"$@e"}]}]]}]
15
+ f:[]
16
+ 8:"$Wf"
17
+ 9:["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L10",null,{"children":"$L11"}],["$","div",null,{"hidden":true,"children":["$","$L12",null,{"children":["$","$d",null,{"name":"Next.Metadata","children":"$L13"}]}]}],null]}]
18
+ b:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
19
+ 11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4EBA87"}],["$","meta","3",{"name":"color-scheme","content":"dark light"}]]
20
+ 14:I[25083,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"IconMark"]
21
+ e:null
22
+ 13:[["$","title","0",{"children":"Keiko | Ex experientia disco"}],["$","meta","1",{"name":"description","content":"Keiko — a governed agentic workspace for knowledge work."}],["$","link","2",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","3",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180","type":"image/png"}],["$","$L14","5",{}]]
@@ -3,4 +3,4 @@
3
3
  3:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[25083,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"IconMark"]
6
- 0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4EBA87"}],["$","meta","3",{"name":"color-scheme","content":"dark light"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Keiko | Ex experientia disco"}],["$","meta","1",{"name":"description","content":"Keiko — a governed agentic workspace for knowledge work."}],["$","link","2",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","3",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180","type":"image/png"}],["$","$L5","5",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"HRXN4QzQnsMCEYDtmAj6R"}
6
+ 0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4EBA87"}],["$","meta","3",{"name":"color-scheme","content":"dark light"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Keiko | Ex experientia disco"}],["$","meta","1",{"name":"description","content":"Keiko — a governed agentic workspace for knowledge work."}],["$","link","2",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","3",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180","type":"image/png"}],["$","$L5","5",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"kyhHbKw0xpyYbFeuC7Z7i"}
@@ -1,6 +1,6 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[81186,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
3
- 3:I[86677,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
2
+ 3:I[81186,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
3
+ 4:I[86677,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
4
4
  :HL["/_next/static/chunks/3m3iq9-8cj9md.css","style"]
5
5
  :HL["/fonts/jetbrains-mono-latin-wght-normal.woff2","font",{"crossOrigin":"anonymous","type":"font/woff2"}]
6
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var k=\"keiko.app-boot-recovery-reload-count\";setTimeout(function(){try{if(document.querySelector(\"main.workspace\"))return;if(!document.querySelector(\".app[aria-hidden='true'] .app-boot\"))return;var n=parseInt(sessionStorage.getItem(k)||\"0\",10);if(!isFinite(n)||n<0)n=0;if(n>=2)return;sessionStorage.setItem(k,String(n+1));location.reload()}catch(e){}},8000)}catch(e){}"}}],["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"HRXN4QzQnsMCEYDtmAj6R"}
6
+ 2:T525,try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"kyhHbKw0xpyYbFeuC7Z7i"}
@@ -1,5 +1,5 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"OutletBoundary"]
3
3
  3:"$Sreact.suspense"
4
- 0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"HRXN4QzQnsMCEYDtmAj6R"}
4
+ 0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"kyhHbKw0xpyYbFeuC7Z7i"}
5
5
  4:null
@@ -2,4 +2,4 @@
2
2
  2:I[81186,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
3
3
  3:I[86677,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
4
4
  4:[]
5
- 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"HRXN4QzQnsMCEYDtmAj6R"}
5
+ 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"kyhHbKw0xpyYbFeuC7Z7i"}
@@ -1,3 +1,3 @@
1
1
  :HL["/_next/static/chunks/3m3iq9-8cj9md.css","style"]
2
2
  :HL["/fonts/jetbrains-mono-latin-wght-normal.woff2","font",{"crossOrigin":"anonymous","type":"font/woff2"}]
3
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"HRXN4QzQnsMCEYDtmAj6R"}
3
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"kyhHbKw0xpyYbFeuC7Z7i"}
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" crossorigin="anonymous" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/3m3iq9-8cj9md.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0bl1mme-qzrda.js"/><script src="/_next/static/chunks/0pokgm9i-0aci.js" async=""></script><script src="/_next/static/chunks/0wm2mowlft-21.js" async=""></script><script src="/_next/static/chunks/turbopack-0ew-e2vnq_phu.js" async=""></script><script src="/_next/static/chunks/2tic-7414nl3n.js" async=""></script><script src="/_next/static/chunks/400spz4roxxtb.js" async=""></script><meta name="robots" content="noindex"/><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><title>404: This page could not be found.</title><meta name="theme-color" content="#4EBA87"/><meta name="color-scheme" content="dark light"/><title>Keiko | Ex experientia disco</title><meta name="description" content="Keiko — a governed agentic workspace for knowledge work."/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" type="image/png"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("keiko.theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><script>try{var l=null;try{l=localStorage.getItem("keiko.locale")}catch(e){}if(l===null&&typeof navigator==="object")l=navigator.language;l=String(l||"en").toLowerCase().replace("_","-");l=l==="de"||l.indexOf("de-")===0?"de":"en";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}</script><script>try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;if(!document.querySelector(".app[aria-hidden='true'] .app-boot"))return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n>=2)return;sessionStorage.setItem(k,String(n+1));location.reload()}catch(e){}},8000)}catch(e){}</script><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0bl1mme-qzrda.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[81186,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\n3:I[86677,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\n4:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"ViewportBoundary\"]\na:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"MetadataBoundary\"]\nc:I[34152,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"style\"]\n:HL[\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"font\",{\"crossOrigin\":\"anonymous\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2tic-7414nl3n.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/400spz4roxxtb.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"link\",null,{\"rel\":\"preload\",\"href\":\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"as\":\"font\",\"type\":\"font/woff2\",\"crossOrigin\":\"anonymous\"}]}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"keiko.theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var l=null;try{l=localStorage.getItem(\\\"keiko.locale\\\")}catch(e){}if(l===null\u0026\u0026typeof navigator===\\\"object\\\")l=navigator.language;l=String(l||\\\"en\\\").toLowerCase().replace(\\\"_\\\",\\\"-\\\");l=l===\\\"de\\\"||l.indexOf(\\\"de-\\\")===0?\\\"de\\\":\\\"en\\\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var k=\\\"keiko.app-boot-recovery-reload-count\\\";setTimeout(function(){try{if(document.querySelector(\\\"main.workspace\\\"))return;if(!document.querySelector(\\\".app[aria-hidden='true'] .app-boot\\\"))return;var n=parseInt(sessionStorage.getItem(k)||\\\"0\\\",10);if(!isFinite(n)||n\u003c0)n=0;if(n\u003e=2)return;sessionStorage.setItem(k,String(n+1));location.reload()}catch(e){}},8000)}catch(e){}\"}}],[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"HRXN4QzQnsMCEYDtmAj6R\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4EBA87\"}],[\"$\",\"meta\",\"3\",{\"name\":\"color-scheme\",\"content\":\"dark light\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[25083,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Keiko | Ex experientia disco\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Keiko — a governed agentic workspace for knowledge work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"4\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$Le\",\"5\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" crossorigin="anonymous" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/3m3iq9-8cj9md.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0bl1mme-qzrda.js"/><script src="/_next/static/chunks/0pokgm9i-0aci.js" async=""></script><script src="/_next/static/chunks/0wm2mowlft-21.js" async=""></script><script src="/_next/static/chunks/turbopack-0ew-e2vnq_phu.js" async=""></script><script src="/_next/static/chunks/2tic-7414nl3n.js" async=""></script><script src="/_next/static/chunks/400spz4roxxtb.js" async=""></script><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><title>404: This page could not be found.</title><meta name="robots" content="noindex"/><meta name="theme-color" content="#4EBA87"/><meta name="color-scheme" content="dark light"/><title>Keiko | Ex experientia disco</title><meta name="description" content="Keiko — a governed agentic workspace for knowledge work."/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" type="image/png"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("keiko.theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><script>try{var l=null;try{l=localStorage.getItem("keiko.locale")}catch(e){}if(l===null&&typeof navigator==="object")l=navigator.language;l=String(l||"en").toLowerCase().replace("_","-");l=l==="de"||l.indexOf("de-")===0?"de":"en";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}</script><script>try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}</script><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0bl1mme-qzrda.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n3:I[81186,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\n4:I[86677,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\na:I[34152,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"style\"]\n:HL[\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"font\",{\"crossOrigin\":\"anonymous\",\"type\":\"font/woff2\"}]\n2:T525,try{var k=\"keiko.app-boot-recovery-reload-count\";setTimeout(function(){try{if(document.querySelector(\"main.workspace\"))return;var b=document.querySelector(\".app[aria-hidden='true'] .app-boot\");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||\"0\",10);if(!isFinite(n)||n\u003c0)n=0;if(n\u003c2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute(\"aria-hidden\");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf(\"de\")==0;var c=document.createElement(\"div\");c.className=\"lk-alert\";c.setAttribute(\"role\",\"alert\");c.setAttribute(\"aria-atomic\",\"true\");var m=document.createElement(\"p\");m.className=\"lk-empty-title\";m.textContent=d?\"Keiko konnte den lokalen Dienst nicht erreichen.\":\"Keiko could not reach the local service.\";var q=document.createElement(\"p\");q.className=\"lk-empty-body\";q.textContent=d?\"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.\":\"Reload Keiko once the service is available again.\";var r=document.createElement(\"button\");r.type=\"button\";r.className=\"lk-alert-retry\";r.textContent=d?\"Erneut laden\":\"Reload Keiko\";r.addEventListener(\"click\",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2tic-7414nl3n.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/400spz4roxxtb.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"link\",null,{\"rel\":\"preload\",\"href\":\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"as\":\"font\",\"type\":\"font/woff2\",\"crossOrigin\":\"anonymous\"}]}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"keiko.theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var l=null;try{l=localStorage.getItem(\\\"keiko.locale\\\")}catch(e){}if(l===null\u0026\u0026typeof navigator===\\\"object\\\")l=navigator.language;l=String(l||\\\"en\\\").toLowerCase().replace(\\\"_\\\",\\\"-\\\");l=l===\\\"de\\\"||l.indexOf(\\\"de-\\\")===0?\\\"de\\\":\\\"en\\\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"$2\"}}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":\"$L5\"}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]]}]]}],{\"children\":[\"$L6\",{\"children\":[\"$L7\",{},null,false,null]},null,false,\"$@8\"]},null,false,null],\"$L9\",false]],\"m\":\"$undefined\",\"G\":[\"$a\",[\"$Lb\"]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"kyhHbKw0xpyYbFeuC7Z7i\"}\n"])</script><script>self.__next_f.push([1,"c:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"OutletBoundary\"]\nd:\"$Sreact.suspense\"\n10:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"ViewportBoundary\"]\n12:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"MetadataBoundary\"]\n5:[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]\n6:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n7:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$5:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@e\"}]}]]}]\nf:[]\n8:\"$Wf\"\n9:[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L10\",null,{\"children\":\"$L11\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L12\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L13\"}]}]}],null]}]\nb:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4EBA87\"}],[\"$\",\"meta\",\"3\",{\"name\":\"color-scheme\",\"content\":\"dark light\"}]]\n"])</script><script>self.__next_f.push([1,"14:I[25083,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"IconMark\"]\ne:null\n13:[[\"$\",\"title\",\"0\",{\"children\":\"Keiko | Ex experientia disco\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Keiko — a governed agentic workspace for knowledge work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"4\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$L14\",\"5\",{}]]\n"])</script></body></html>
@@ -1,17 +1,22 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[81186,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
3
- 3:I[86677,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
4
- 4:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"OutletBoundary"]
5
- 5:"$Sreact.suspense"
6
- 8:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"ViewportBoundary"]
7
- a:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"MetadataBoundary"]
8
- c:I[34152,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default",1]
2
+ 3:I[81186,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
3
+ 4:I[86677,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default"]
4
+ a:I[34152,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"default",1]
9
5
  :HL["/_next/static/chunks/3m3iq9-8cj9md.css","style"]
10
6
  :HL["/fonts/jetbrains-mono-latin-wght-normal.woff2","font",{"crossOrigin":"anonymous","type":"font/woff2"}]
11
- 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var k=\"keiko.app-boot-recovery-reload-count\";setTimeout(function(){try{if(document.querySelector(\"main.workspace\"))return;if(!document.querySelector(\".app[aria-hidden='true'] .app-boot\"))return;var n=parseInt(sessionStorage.getItem(k)||\"0\",10);if(!isFinite(n)||n<0)n=0;if(n>=2)return;sessionStorage.setItem(k,String(n+1));location.reload()}catch(e){}},8000)}catch(e){}"}}],["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"HRXN4QzQnsMCEYDtmAj6R"}
12
- d:[]
13
- 7:"$Wd"
14
- 9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4EBA87"}],["$","meta","3",{"name":"color-scheme","content":"dark light"}]]
15
- e:I[25083,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"IconMark"]
16
- 6:null
17
- b:[["$","title","0",{"children":"Keiko | Ex experientia disco"}],["$","meta","1",{"name":"description","content":"Keiko — a governed agentic workspace for knowledge work."}],["$","link","2",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","3",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180","type":"image/png"}],["$","$Le","5",{}]]
7
+ 2:T525,try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":"$L5"}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]]}]]}],{"children":["$L6",{"children":["$L7",{},null,false,null]},null,false,"$@8"]},null,false,null],"$L9",false]],"m":"$undefined","G":["$a",["$Lb"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"kyhHbKw0xpyYbFeuC7Z7i"}
8
+ c:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"OutletBoundary"]
9
+ d:"$Sreact.suspense"
10
+ 10:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"ViewportBoundary"]
11
+ 12:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"MetadataBoundary"]
12
+ 5:["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]
13
+ 6:["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]
14
+ 7:["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:3:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$5:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$Lc",null,{"children":["$","$d",null,{"name":"Next.MetadataOutlet","children":"$@e"}]}]]}]
15
+ f:[]
16
+ 8:"$Wf"
17
+ 9:["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L10",null,{"children":"$L11"}],["$","div",null,{"hidden":true,"children":["$","$L12",null,{"children":["$","$d",null,{"name":"Next.Metadata","children":"$L13"}]}]}],null]}]
18
+ b:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
19
+ 11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4EBA87"}],["$","meta","3",{"name":"color-scheme","content":"dark light"}]]
20
+ 14:I[25083,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"IconMark"]
21
+ e:null
22
+ 13:[["$","title","0",{"children":"Keiko | Ex experientia disco"}],["$","meta","1",{"name":"description","content":"Keiko — a governed agentic workspace for knowledge work."}],["$","link","2",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","3",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180","type":"image/png"}],["$","$L14","5",{}]]