@oscharko-dev/keiko 0.3.3 → 0.3.6

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 (188) hide show
  1. package/dist/ui/csp-hashes.json +16 -16
  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 +2 -2
  5. package/dist/ui/static/__next._head.txt +1 -1
  6. package/dist/ui/static/__next._index.txt +1 -1
  7. package/dist/ui/static/__next._tree.txt +1 -1
  8. package/dist/ui/static/_next/static/chunks/{3ql3z-e3ohbu2.js → 0v0vrvwtrfjy7.js} +3 -3
  9. package/dist/ui/static/_next/static/chunks/{2_2qkgnh1dz0w.js → 0yetjgsqfhpjk.js} +1 -1
  10. package/dist/ui/static/_next/static/chunks/{1-voj04h-yqwz.js → 12mrameobjgif.js} +1 -1
  11. package/dist/ui/static/_next/static/chunks/{0ksa37i-utc0h.js → 1_aiwavt3hd8k.js} +1 -1
  12. package/dist/ui/static/_next/static/chunks/{0x1960pxw5y7a.js → 1ecmfvnoo52jh.js} +1 -1
  13. package/dist/ui/static/_next/static/chunks/{3zxbj77kx-r5_.js → 1m9a3jzo9q1u5.js} +1 -1
  14. package/dist/ui/static/_next/static/chunks/{2v37q27ax5l4p.js → 2ie-82h35jico.js} +1 -1
  15. package/dist/ui/static/_not-found/__next._full.txt +1 -1
  16. package/dist/ui/static/_not-found/__next._head.txt +1 -1
  17. package/dist/ui/static/_not-found/__next._index.txt +1 -1
  18. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
  19. package/dist/ui/static/_not-found/__next._not-found.txt +1 -1
  20. package/dist/ui/static/_not-found/__next._tree.txt +1 -1
  21. package/dist/ui/static/_not-found.html +1 -1
  22. package/dist/ui/static/_not-found.txt +1 -1
  23. package/dist/ui/static/atlassian-connectors/__next._full.txt +1 -1
  24. package/dist/ui/static/atlassian-connectors/__next._head.txt +1 -1
  25. package/dist/ui/static/atlassian-connectors/__next._index.txt +1 -1
  26. package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
  27. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +1 -1
  28. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.txt +1 -1
  29. package/dist/ui/static/atlassian-connectors.html +1 -1
  30. package/dist/ui/static/atlassian-connectors.txt +1 -1
  31. package/dist/ui/static/index.html +1 -1
  32. package/dist/ui/static/index.txt +2 -2
  33. package/dist/ui/static/launch/__next._full.txt +2 -2
  34. package/dist/ui/static/launch/__next._head.txt +1 -1
  35. package/dist/ui/static/launch/__next._index.txt +1 -1
  36. package/dist/ui/static/launch/__next._tree.txt +1 -1
  37. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +2 -2
  38. package/dist/ui/static/launch/__next.launch.txt +1 -1
  39. package/dist/ui/static/launch.html +1 -1
  40. package/dist/ui/static/launch.txt +2 -2
  41. package/dist/ui/static/local-knowledge/__next._full.txt +2 -2
  42. package/dist/ui/static/local-knowledge/__next._head.txt +1 -1
  43. package/dist/ui/static/local-knowledge/__next._index.txt +1 -1
  44. package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
  45. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +2 -2
  46. package/dist/ui/static/local-knowledge/__next.local-knowledge.txt +1 -1
  47. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +1 -1
  48. package/dist/ui/static/local-knowledge/capsule/__next._head.txt +1 -1
  49. package/dist/ui/static/local-knowledge/capsule/__next._index.txt +1 -1
  50. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
  51. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +1 -1
  52. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.txt +1 -1
  53. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.txt +1 -1
  54. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  55. package/dist/ui/static/local-knowledge/capsule.txt +1 -1
  56. package/dist/ui/static/local-knowledge.html +1 -1
  57. package/dist/ui/static/local-knowledge.txt +2 -2
  58. package/dist/ui/static/memoriaviva/__next._full.txt +1 -1
  59. package/dist/ui/static/memoriaviva/__next._head.txt +1 -1
  60. package/dist/ui/static/memoriaviva/__next._index.txt +1 -1
  61. package/dist/ui/static/memoriaviva/__next._tree.txt +1 -1
  62. package/dist/ui/static/memoriaviva/__next.memoriaviva.__PAGE__.txt +1 -1
  63. package/dist/ui/static/memoriaviva/__next.memoriaviva.txt +1 -1
  64. package/dist/ui/static/memoriaviva/consolidation/__next._full.txt +1 -1
  65. package/dist/ui/static/memoriaviva/consolidation/__next._head.txt +1 -1
  66. package/dist/ui/static/memoriaviva/consolidation/__next._index.txt +1 -1
  67. package/dist/ui/static/memoriaviva/consolidation/__next._tree.txt +1 -1
  68. package/dist/ui/static/memoriaviva/consolidation/__next.memoriaviva.consolidation.__PAGE__.txt +1 -1
  69. package/dist/ui/static/memoriaviva/consolidation/__next.memoriaviva.consolidation.txt +1 -1
  70. package/dist/ui/static/memoriaviva/consolidation/__next.memoriaviva.txt +1 -1
  71. package/dist/ui/static/memoriaviva/consolidation.html +1 -1
  72. package/dist/ui/static/memoriaviva/consolidation.txt +1 -1
  73. package/dist/ui/static/memoriaviva/detail/__next._full.txt +1 -1
  74. package/dist/ui/static/memoriaviva/detail/__next._head.txt +1 -1
  75. package/dist/ui/static/memoriaviva/detail/__next._index.txt +1 -1
  76. package/dist/ui/static/memoriaviva/detail/__next._tree.txt +1 -1
  77. package/dist/ui/static/memoriaviva/detail/__next.memoriaviva.detail.__PAGE__.txt +1 -1
  78. package/dist/ui/static/memoriaviva/detail/__next.memoriaviva.detail.txt +1 -1
  79. package/dist/ui/static/memoriaviva/detail/__next.memoriaviva.txt +1 -1
  80. package/dist/ui/static/memoriaviva/detail.html +1 -1
  81. package/dist/ui/static/memoriaviva/detail.txt +1 -1
  82. package/dist/ui/static/memoriaviva/health-scan/__next._full.txt +1 -1
  83. package/dist/ui/static/memoriaviva/health-scan/__next._head.txt +1 -1
  84. package/dist/ui/static/memoriaviva/health-scan/__next._index.txt +1 -1
  85. package/dist/ui/static/memoriaviva/health-scan/__next._tree.txt +1 -1
  86. package/dist/ui/static/memoriaviva/health-scan/__next.memoriaviva.health-scan.__PAGE__.txt +1 -1
  87. package/dist/ui/static/memoriaviva/health-scan/__next.memoriaviva.health-scan.txt +1 -1
  88. package/dist/ui/static/memoriaviva/health-scan/__next.memoriaviva.txt +1 -1
  89. package/dist/ui/static/memoriaviva/health-scan.html +1 -1
  90. package/dist/ui/static/memoriaviva/health-scan.txt +1 -1
  91. package/dist/ui/static/memoriaviva/journal/__next._full.txt +1 -1
  92. package/dist/ui/static/memoriaviva/journal/__next._head.txt +1 -1
  93. package/dist/ui/static/memoriaviva/journal/__next._index.txt +1 -1
  94. package/dist/ui/static/memoriaviva/journal/__next._tree.txt +1 -1
  95. package/dist/ui/static/memoriaviva/journal/__next.memoriaviva.journal.__PAGE__.txt +1 -1
  96. package/dist/ui/static/memoriaviva/journal/__next.memoriaviva.journal.txt +1 -1
  97. package/dist/ui/static/memoriaviva/journal/__next.memoriaviva.txt +1 -1
  98. package/dist/ui/static/memoriaviva/journal.html +1 -1
  99. package/dist/ui/static/memoriaviva/journal.txt +1 -1
  100. package/dist/ui/static/memoriaviva/review-queue/__next._full.txt +1 -1
  101. package/dist/ui/static/memoriaviva/review-queue/__next._head.txt +1 -1
  102. package/dist/ui/static/memoriaviva/review-queue/__next._index.txt +1 -1
  103. package/dist/ui/static/memoriaviva/review-queue/__next._tree.txt +1 -1
  104. package/dist/ui/static/memoriaviva/review-queue/__next.memoriaviva.review-queue.__PAGE__.txt +1 -1
  105. package/dist/ui/static/memoriaviva/review-queue/__next.memoriaviva.review-queue.txt +1 -1
  106. package/dist/ui/static/memoriaviva/review-queue/__next.memoriaviva.txt +1 -1
  107. package/dist/ui/static/memoriaviva/review-queue.html +1 -1
  108. package/dist/ui/static/memoriaviva/review-queue.txt +1 -1
  109. package/dist/ui/static/memoriaviva.html +1 -1
  110. package/dist/ui/static/memoriaviva.txt +1 -1
  111. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-platforms.d.ts.map +1 -1
  112. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-platforms.js +10 -11
  113. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-install.d.ts +1 -0
  114. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-install.d.ts.map +1 -1
  115. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-install.js +31 -22
  116. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-launch-notifier.d.ts +3 -0
  117. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-launch-notifier.d.ts.map +1 -1
  118. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-launch-notifier.js +88 -14
  119. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-maintenance.d.ts +4 -3
  120. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-maintenance.d.ts.map +1 -1
  121. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-maintenance.js +168 -38
  122. package/node_modules/@oscharko-dev/keiko-cli/dist/portable.d.ts.map +1 -1
  123. package/node_modules/@oscharko-dev/keiko-cli/dist/portable.js +1 -0
  124. package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
  125. package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +3 -3
  126. package/node_modules/@oscharko-dev/keiko-cli/package.json +13 -13
  127. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  128. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +2 -2
  129. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.js +2 -2
  130. package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
  131. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  132. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  133. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  134. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  135. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  136. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  137. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  138. package/node_modules/@oscharko-dev/keiko-harness/package.json +6 -6
  139. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  140. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  141. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
  142. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  143. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  144. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  145. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  146. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  147. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  148. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  149. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  150. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  151. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  152. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  153. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  154. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  155. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  156. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  157. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  158. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  159. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +3 -3
  160. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  161. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  162. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  163. package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +2 -0
  164. package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
  165. package/node_modules/@oscharko-dev/keiko-security/dist/index.js +1 -0
  166. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  167. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  168. package/node_modules/@oscharko-dev/keiko-security/dist/windows-shortcuts.d.ts +42 -0
  169. package/node_modules/@oscharko-dev/keiko-security/dist/windows-shortcuts.d.ts.map +1 -0
  170. package/node_modules/@oscharko-dev/keiko-security/dist/windows-shortcuts.js +185 -0
  171. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  172. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts +1 -0
  173. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts.map +1 -1
  174. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.js +80 -10
  175. package/node_modules/@oscharko-dev/keiko-server/package.json +21 -21
  176. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  177. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  178. package/node_modules/@oscharko-dev/keiko-tools/package.json +5 -5
  179. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  180. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  181. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  182. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  183. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  184. package/package.json +27 -39
  185. package/release-impact.catalog.json +180 -1
  186. /package/dist/ui/static/_next/static/{OLvh_PREYwGT5IVJISFs9 → AS69MxWoWkePQgeJ0TdtV}/_buildManifest.js +0 -0
  187. /package/dist/ui/static/_next/static/{OLvh_PREYwGT5IVJISFs9 → AS69MxWoWkePQgeJ0TdtV}/_clientMiddlewareManifest.js +0 -0
  188. /package/dist/ui/static/_next/static/{OLvh_PREYwGT5IVJISFs9 → AS69MxWoWkePQgeJ0TdtV}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/3nof1kn5xoy5o.js"/><script src="/_next/static/chunks/0yh2vbki0atqg.js" async=""></script><script src="/_next/static/chunks/42oe013n65ybj.js" async=""></script><script src="/_next/static/chunks/turbopack-0t75c6mqgusos.js" async=""></script><script src="/_next/static/chunks/3l_1uvcq2uu44.js" async=""></script><script src="/_next/static/chunks/12_3sgxxezr-u.js" async=""></script><link rel="preload" href="/_next/static/chunks/3m3iq9-8cj9md.css" as="style"/><meta name="theme-color" content="#4EBA87"/><meta name="color-scheme" content="dark light"/><title>Keiko</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 src="/_next/static/chunks/3nof1kn5xoy5o.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[39756,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"default\"]\n5:I[97367,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[97367,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"ViewportBoundary\"]\nb:I[97367,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"MetadataBoundary\"]\nd:I[68027,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.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\":[\"\",\"memoriaviva\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"memoriaviva\",{\"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/3l_1uvcq2uu44.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/12_3sgxxezr-u.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\":[\"$L4\",null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[[\"$\",\"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\":\"OLvh_PREYwGT5IVJISFs9\"}\n"])</script><script>self.__next_f.push([1,"4:E{\"digest\":\"NEXT_REDIRECT;replace;/;307;\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"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,"f:I[27201,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"IconMark\"]\n7:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"Keiko\"}],[\"$\",\"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\"}],[\"$\",\"$Lf\",\"5\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/3nof1kn5xoy5o.js"/><script src="/_next/static/chunks/0yh2vbki0atqg.js" async=""></script><script src="/_next/static/chunks/42oe013n65ybj.js" async=""></script><script src="/_next/static/chunks/turbopack-0t75c6mqgusos.js" async=""></script><script src="/_next/static/chunks/3l_1uvcq2uu44.js" async=""></script><script src="/_next/static/chunks/12_3sgxxezr-u.js" async=""></script><link rel="preload" href="/_next/static/chunks/3m3iq9-8cj9md.css" as="style"/><meta name="theme-color" content="#4EBA87"/><meta name="color-scheme" content="dark light"/><title>Keiko</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 src="/_next/static/chunks/3nof1kn5xoy5o.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[39756,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"default\"]\n5:I[97367,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[97367,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"ViewportBoundary\"]\nb:I[97367,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"MetadataBoundary\"]\nd:I[68027,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.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\":[\"\",\"memoriaviva\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"memoriaviva\",{\"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/3l_1uvcq2uu44.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/12_3sgxxezr-u.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\":[\"$L4\",null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[[\"$\",\"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\":\"AS69MxWoWkePQgeJ0TdtV\"}\n"])</script><script>self.__next_f.push([1,"4:E{\"digest\":\"NEXT_REDIRECT;replace;/;307;\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"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,"f:I[27201,[\"/_next/static/chunks/3l_1uvcq2uu44.js\",\"/_next/static/chunks/12_3sgxxezr-u.js\"],\"IconMark\"]\n7:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"Keiko\"}],[\"$\",\"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\"}],[\"$\",\"$Lf\",\"5\",{}]]\n"])</script></body></html>
@@ -8,7 +8,7 @@ b:I[97367,["/_next/static/chunks/3l_1uvcq2uu44.js","/_next/static/chunks/12_3sgx
8
8
  d:I[68027,["/_next/static/chunks/3l_1uvcq2uu44.js","/_next/static/chunks/12_3sgxxezr-u.js"],"default",1]
9
9
  :HL["/_next/static/chunks/3m3iq9-8cj9md.css","style"]
10
10
  :HL["/fonts/jetbrains-mono-latin-wght-normal.woff2","font",{"crossOrigin":"anonymous","type":"font/woff2"}]
11
- 0:{"P":null,"c":["","memoriaviva"],"q":"","i":false,"f":[[["",{"children":["memoriaviva",{"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/3l_1uvcq2uu44.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/12_3sgxxezr-u.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":["$L4",null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],null]}],false]],"m":"$undefined","G":["$d",[["$","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":"OLvh_PREYwGT5IVJISFs9"}
11
+ 0:{"P":null,"c":["","memoriaviva"],"q":"","i":false,"f":[[["",{"children":["memoriaviva",{"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/3l_1uvcq2uu44.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/12_3sgxxezr-u.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":["$L4",null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],null]}],false]],"m":"$undefined","G":["$d",[["$","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":"AS69MxWoWkePQgeJ0TdtV"}
12
12
  4:E{"digest":"NEXT_REDIRECT;replace;/;307;"}
13
13
  e:[]
14
14
  8:"$We"
@@ -1 +1 @@
1
- {"version":3,"file":"launcher-platforms.d.ts","sourceRoot":"","sources":["../src/launcher-platforms.ts"],"names":[],"mappings":"AAuCA,eAAO,MAAM,QAAQ,OAAO,CAAC;AAC7B,eAAO,MAAM,QAAQ,QAAQ,CAAC;AAE9B,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,qBAAa,aAAc,SAAQ,KAAK;IACtC,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,YAAY,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAIxC;CACF;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAoBrD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQjD;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC;IACtB,QAAQ,CAAC,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IACpD,QAAQ,CAAC,YAAY,EAAE,MAAM,MAAM,CAAC;IACpC,QAAQ,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,MAAM,CAAC;IAClE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;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AM,CAAC;CAC3B;AA8GD,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE/E;AAED,eAAO,MAAM,aAAa,EAAE,gBAoB3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,gBAiB3B,CAAC;AAMF,eAAO,MAAM,eAAe,EAAE,gBAO7B,CAAC;AAQF,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,gBAAgB,CASvE"}
@@ -7,15 +7,16 @@
7
7
  // outside the strict `validateExecPath` allow-list. The Windows generator preserves that legacy
8
8
  // format for allow-listed paths and otherwise uses an ASCII-only PowerShell encoded-command
9
9
  // transport whose script contains only a base64-encoded executable path and fixed arguments. Its
10
- // parser accepts only content the generator reproduces byte-for-byte.
10
+ // parser accepts only content the generator reproduces byte-for-byte. Portable-managed Windows
11
+ // installs create a real `.lnk` Start Menu app shortcut in `portable-maintenance.ts`; this helper
12
+ // remains for standalone `keiko launcher install` and legacy `.bat` recovery.
11
13
  //
12
14
  // PLATFORMS:
13
15
  // - Linux: `~/.local/share/applications/keiko.desktop` (XDG Desktop Entry, text).
14
16
  // - macOS: `~/Applications/Keiko Launcher.command` (bash script, chmod 0o755).
15
- // - Windows: `%APPDATA%\Microsoft\Windows\Start Menu\Programs\Keiko.bat` (.bat fallback,
16
- // per ADR-0024 D8 trade-off). The .bat opens a brief cmd window before
17
- // handing off to keiko; the binary `.lnk` format is out of scope for this
18
- // release. The fallback is acceptable per spec §"Windows .lnk (binary format)".
17
+ // - Windows: `%APPDATA%\Microsoft\Windows\Start Menu\Programs\Keiko.bat` for standalone
18
+ // launcher installs and legacy recovery. Portable-managed installs create
19
+ // `%APPDATA%\Microsoft\Windows\Start Menu\Programs\Keiko.lnk`.
19
20
  import { Buffer } from "node:buffer";
20
21
  import { posix as posixPath, win32 as win32Path } from "node:path";
21
22
  // Allow-list: alphanumerics + the small set of safe path separators / characters that npm
@@ -196,12 +197,10 @@ export const macosLauncher = {
196
197
  ].join("\n");
197
198
  },
198
199
  };
199
- // Windows .bat fallback (per ADR-0024 D8 trade-off, definitively chosen for this release).
200
- // A `.bat` opens a brief cmd window before launching keiko; the alternative — a binary
201
- // `.lnk` shortcut — would launch cleanly but requires emitting the MS-SHLLINK binary
202
- // shell-link format by hand, which is brittle and out of scope. The brief cmd window is
203
- // documented and acceptable for the pilot. `@start "" <exe> ...` detaches the keiko
204
- // process from the cmd window so the latter closes immediately after dispatch.
200
+ // Legacy Windows .bat content for `keiko launcher install` and old portable registrations.
201
+ // Portable-managed Windows installs create a real Start Menu `.lnk` in portable-maintenance.ts.
202
+ // `@start "" <exe> ...` detaches the keiko process from the cmd window so the latter closes
203
+ // immediately after dispatch.
205
204
  export const windowsLauncher = {
206
205
  id: "win32",
207
206
  installDirFor: (homedir) => win32Path.join(homedir, "AppData", "Roaming", "Microsoft", "Windows", "Start Menu", "Programs"),
@@ -15,6 +15,7 @@ export interface PortableManagedUpgradeInput {
15
15
  readonly env: EnvSource;
16
16
  readonly home: string;
17
17
  readonly now: Date;
18
+ readonly io: CliIo;
18
19
  }
19
20
  export declare class PortableSetupBusyError extends Error {
20
21
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"portable-install.d.ts","sourceRoot":"","sources":["../src/portable-install.ts"],"names":[],"mappings":"AAiBA,OAAO,EAUL,KAAK,2BAA2B,EACjC,MAAM,4BAA4B,CAAC;AASpC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAOL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,EAGlB,KAAK,OAAO,EACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;CAClC;AAED,MA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, mkdirSync, mkdtempSync, readdirSync, readFileSync, realpathSync, renameSync, rmdirSync, rmSync, statSync, writeFileSync, } from "node:fs";
3
3
  import { basename, dirname, join, resolve } from "node:path";
4
4
  import { readManagedRegistration, registrationMatches, writeFailedRegistration, writeManagedRegistration, hasPortableInstallRegistration, readPortableInstallRegistration, } from "./portable-registration.js";
5
- import { inspectPortableManagedInstall, installNativeRegistration, parseWindowsStartMenuRegistration, removePortableManagedInstall, windowsStartMenuRegistrationPath, } from "./portable-maintenance.js";
5
+ import { inspectPortableManagedInstall, installNativeRegistration, parseWindowsStartMenuRegistration, removePortableManagedInstall, windowsLegacyStartMenuRegistrationPath, windowsStartMenuRegistrationPath, } from "./portable-maintenance.js";
6
6
  import { assertManagedRootAllowed } from "./portable-root-policy.js";
7
7
  import { defaultManagedRoot, isPortableTarget, layoutFor, PACKAGE_NAME, primaryLauncherName, targetRuntime, } from "./portable-shared.js";
8
8
  class PortableUpgradeRollbackError extends Error {
@@ -273,7 +273,7 @@ function promoteStagedUpgrade(input, stagedSource, paths, verifyCurrent) {
273
273
  dryRun: false,
274
274
  env: input.env,
275
275
  home: input.home,
276
- }, layout, stagedSource.manifest, input.now);
276
+ }, layout, stagedSource.manifest, input.now, input.io);
277
277
  return layout;
278
278
  }
279
279
  catch (error) {
@@ -386,9 +386,9 @@ const SILENT_IO = {
386
386
  out: (_text) => undefined,
387
387
  err: (_text) => undefined,
388
388
  };
389
- function finalizeManagedSetup(options, layout, manifest, now) {
389
+ function finalizeManagedSetup(options, layout, manifest, now, io) {
390
390
  validatePortableRoot(options.target, layout.installRoot);
391
- installNativeRegistration(layout, options.target, options.managedRoot, options.env, options.home);
391
+ installNativeRegistration(layout, options.target, options.managedRoot, options.env, options.home, io);
392
392
  writeManagedRegistration({
393
393
  stateDir: options.stateDir,
394
394
  layout,
@@ -508,10 +508,12 @@ function attestedFailedManagedInstall(target, managedRoot, stateDir) {
508
508
  }
509
509
  }
510
510
  export function recoverableFailedWindowsManagedRoot(stateDir, env, home) {
511
- const registeredExe = parseWindowsStartMenuRegistration(windowsStartMenuRegistrationPath(env, home));
512
- if (registeredExe === undefined)
513
- return undefined;
514
- return recoverableFailedManagedRoot("windows-x64", dirname(registeredExe), stateDir);
511
+ for (const registeredExe of windowsRegisteredLauncherTargets(env, home)) {
512
+ const recovered = recoverableFailedManagedRoot("windows-x64", dirname(registeredExe), stateDir);
513
+ if (recovered !== undefined)
514
+ return recovered;
515
+ }
516
+ return undefined;
515
517
  }
516
518
  function canRecoverFailedManagedInstall(options) {
517
519
  if (!existsSync(options.managedRoot))
@@ -765,7 +767,7 @@ function assertFailedSetupRecoveryBound(options) {
765
767
  throw new Error("failed managed install root does not match its recorded identity");
766
768
  }
767
769
  }
768
- function validateExistingManagedSetup(options, source, now) {
770
+ function validateExistingManagedSetup(options, source, now, io) {
769
771
  if (options.dryRun || sameRealPath(source.layout.installRoot, options.managedRoot)) {
770
772
  return undefined;
771
773
  }
@@ -773,7 +775,7 @@ function validateExistingManagedSetup(options, source, now) {
773
775
  if (existing === undefined)
774
776
  return undefined;
775
777
  try {
776
- finalizeManagedSetup(options, existing.layout, existing.manifest, now);
778
+ finalizeManagedSetup(options, existing.layout, existing.manifest, now, io);
777
779
  }
778
780
  catch (error) {
779
781
  throw new PortableManagedRegistrationRepairError(error);
@@ -784,15 +786,15 @@ function validateExistingManagedSetup(options, source, now) {
784
786
  message: "Keiko portable setup validated at managed root.\n",
785
787
  };
786
788
  }
787
- function recoverBoundFailedSetup(options, source, now) {
789
+ function recoverBoundFailedSetup(options, source, now, io) {
788
790
  if (options.dryRun ||
789
791
  sameRealPath(source.layout.installRoot, options.managedRoot) ||
790
792
  !canRecoverFailedManagedInstall(options)) {
791
793
  return undefined;
792
794
  }
793
- return recoverLockedFailedSetup(options, source, now);
795
+ return recoverLockedFailedSetup(options, source, now, io);
794
796
  }
795
- function recoverLockedFailedSetup(options, source, now) {
797
+ function recoverLockedFailedSetup(options, source, now, io) {
796
798
  const current = requireAttestedFailedManagedInstall(options);
797
799
  if (compareStableVersions(source.manifest.packageVersion, current.manifest.packageVersion) < 0) {
798
800
  throw new Error("portable recovery candidate must not be older than the managed install");
@@ -801,7 +803,7 @@ function recoverLockedFailedSetup(options, source, now) {
801
803
  requireAttestedFailedManagedInstall(options);
802
804
  };
803
805
  return {
804
- layout: recoverFailedManagedInstall({ ...options, source, now }, verifyCurrent),
806
+ layout: recoverFailedManagedInstall({ ...options, source, now, io }, verifyCurrent),
805
807
  createdManagedInstall: false,
806
808
  message: "Keiko portable setup recovered at managed root.\n",
807
809
  };
@@ -812,18 +814,18 @@ function requireAttestedFailedManagedInstall(options) {
812
814
  throw new Error("failed managed install changed during recovery");
813
815
  return current;
814
816
  }
815
- function preparePortableSetup(options, source, now) {
816
- const existing = validateExistingManagedSetup(options, source, now);
817
+ function preparePortableSetup(options, source, now, io) {
818
+ const existing = validateExistingManagedSetup(options, source, now, io);
817
819
  if (existing !== undefined)
818
820
  return existing;
819
- const recovered = recoverBoundFailedSetup(options, source, now);
821
+ const recovered = recoverBoundFailedSetup(options, source, now, io);
820
822
  if (recovered !== undefined)
821
823
  return recovered;
822
824
  const layout = promoteToManaged(options.target, source.layout, options.managedRoot, options.stateDir, options.dryRun);
823
825
  const createdManagedInstall = !options.dryRun && !sameRealPath(source.layout.installRoot, layout.installRoot);
824
826
  try {
825
827
  if (!options.dryRun)
826
- finalizeManagedSetup(options, layout, source.manifest, now);
828
+ finalizeManagedSetup(options, layout, source.manifest, now, io);
827
829
  }
828
830
  catch (error) {
829
831
  if (createdManagedInstall)
@@ -847,10 +849,10 @@ export function setupPortable(options, io, now) {
847
849
  assertManagedRootAllowed(options.managedRoot, options.stateDir, options.target);
848
850
  assertFailedSetupRecoveryBound(options);
849
851
  const prepared = options.dryRun
850
- ? preparePortableSetup(options, source, now)
852
+ ? preparePortableSetup(options, source, now, io)
851
853
  : withPortableSetupLocks(options, () => {
852
854
  try {
853
- return preparePortableSetup(options, source, now);
855
+ return preparePortableSetup(options, source, now, io);
854
856
  }
855
857
  catch (error) {
856
858
  const original = error instanceof PortableManagedRegistrationRepairError ? error.original : error;
@@ -888,12 +890,19 @@ function candidateManagedRoots(registration, env, home) {
888
890
  roots.add(hintedRoot);
889
891
  if (target !== "windows-x64")
890
892
  return [...roots];
891
- const registeredExe = parseWindowsStartMenuRegistration(windowsStartMenuRegistrationPath(env, home));
892
- if (registeredExe !== undefined) {
893
+ for (const registeredExe of windowsRegisteredLauncherTargets(env, home)) {
893
894
  roots.add(dirname(registeredExe));
894
895
  }
895
896
  return [...roots];
896
897
  }
898
+ function windowsRegisteredLauncherTargets(env, home) {
899
+ return [
900
+ windowsStartMenuRegistrationPath(env, home),
901
+ windowsLegacyStartMenuRegistrationPath(env, home),
902
+ ]
903
+ .map((path) => parseWindowsStartMenuRegistration(path))
904
+ .filter((path) => path !== undefined);
905
+ }
897
906
  function resolveManagedRootLocator(registration, home) {
898
907
  if (registration.status !== "managed")
899
908
  return undefined;
@@ -3,6 +3,7 @@ export type PortableFailureNotifierFn = (message: string, env: EnvSource) => voi
3
3
  export interface PortableFailureNotifierDeps {
4
4
  readonly platform?: (() => NodeJS.Platform) | undefined;
5
5
  readonly runAlert?: ((script: string) => void) | undefined;
6
+ readonly runWindowsAlert?: ((message: string, env: EnvSource) => void) | undefined;
6
7
  /**
7
8
  * Receives one fixed, content-free line when the alert itself cannot be shown. The CLI wires
8
9
  * this to stderr: there is no operator diagnostic sink on this pre-server surface, and the
@@ -20,9 +21,11 @@ type DetachedAlertSpawn = (command: string, args: readonly string[], options: {
20
21
  readonly env: NodeJS.ProcessEnv;
21
22
  readonly shell: false;
22
23
  readonly stdio: "ignore";
24
+ readonly windowsHide?: boolean;
23
25
  }) => DetachedAlertChild;
24
26
  /** Exported for its direct test; production callers go through notifyPortableLaunchFailure. */
25
27
  export declare function runDetachedAlert(script: string, spawnFn?: DetachedAlertSpawn, reportAlertFailure?: (line: string) => void): void;
28
+ export declare function runDetachedWindowsAlert(message: string, env: EnvSource, spawnFn?: DetachedAlertSpawn, reportAlertFailure?: (line: string) => void): void;
26
29
  export declare function notifyPortableLaunchFailure(message: string, env: EnvSource, deps?: PortableFailureNotifierDeps): void;
27
30
  export {};
28
31
  //# sourceMappingURL=portable-launch-notifier.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"portable-launch-notifier.d.ts","sourceRoot":"","sources":["../src/portable-launch-notifier.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAsBnE,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,KAAK,IAAI,CAAC;AAElF,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,MAAM,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3D;;;;;OAKG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CACpE;AAiBD,UAAU,kBAAkB;IAC1B,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,OAAO,CAAC;IAC9D,KAAK,IAAI,IAAI,CAAC;CACf;AAED,KAAK,kBAAkB,GAAG,CACxB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,EAAE;IACP,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;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OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,EAAE;IACP,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;IACzB,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAChC,KACE,kBAAkB,CAAC;AAExB,+FAA+F;AAC/F,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,kBAA0B,EACnC,kBAAkB,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAgC,GACrE,IAAI,CAcN;AAkBD,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,SAAS,EACd,OAAO,GAAE,kBAA0B,EACnC,kBAAkB,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAgC,GACrE,IAAI,CAmCN;AAoDD,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,SAAS,EACd,IAAI,GAAE,2BAAgC,GACrC,IAAI,CAaN"}
@@ -1,10 +1,13 @@
1
1
  import { spawn } from "node:child_process";
2
+ import { join as joinWindowsPath } from "node:path/win32";
3
+ import { windowsSystemRoot } from "@oscharko-dev/keiko-security";
2
4
  /**
3
- * A Finder double-click gives the portable launcher no terminal: every `io.err` line vanishes and
5
+ * A desktop double-click gives the portable launcher no terminal: every `io.err` line vanishes and
4
6
  * a failed first start looks like the app simply did nothing. This surfaced twice in the 0.3.0
5
- * beta — a Gatekeeper-blocked bundle and a refused runtime activation both died without a visible
6
- * word. When a setup or launch command fails under a double-click, this notifier shows the
7
- * recorded reason in a native alert instead.
7
+ * beta on macOS — a Gatekeeper-blocked bundle and a refused runtime activation both died without
8
+ * a visible word — and again on Windows when the console-backed Node child was hidden. When a
9
+ * setup or launch command fails under a double-click, this notifier shows the recorded reason in a
10
+ * native alert instead.
8
11
  *
9
12
  * The double-click is detected by `KEIKO_PORTABLE_UI_LAUNCH=1`, which only the native launcher
10
13
  * binary sets. A TTY heuristic is deliberately NOT used: it cannot tell a Finder launch from a
@@ -17,13 +20,17 @@ import { spawn } from "node:child_process";
17
20
  */
18
21
  const MAX_ALERT_MESSAGE_LENGTH = 400;
19
22
  const OSASCRIPT_EXECUTABLE = "/usr/bin/osascript";
23
+ const WINDOWS_POWERSHELL_PARTS = ["System32", "WindowsPowerShell", "v1.0", "powershell.exe"];
20
24
  const ALERT_FAILURE_LINE = "keiko portable launch: the failure alert could not be shown\n";
21
- /** Kept to displayable text: AppleScript-quoted, control-free, bounded. */
22
- function alertScript(message) {
23
- const displayable = Array.from(message)
25
+ /** Kept to displayable text: platform-quoted, control-free, bounded. */
26
+ function displayableAlertMessage(message) {
27
+ return Array.from(message)
24
28
  .filter((character) => (character.codePointAt(0) ?? 0) >= 0x20)
25
29
  .join("")
26
30
  .slice(0, MAX_ALERT_MESSAGE_LENGTH);
31
+ }
32
+ function alertScript(message) {
33
+ const displayable = displayableAlertMessage(message);
27
34
  const quoted = displayable.replaceAll("\\", String.raw `\\`).replaceAll('"', String.raw `\"`);
28
35
  return (`display alert "Keiko could not start" message "${quoted}` +
29
36
  ` — start Keiko from the downloaded folder, or reinstall from a fresh download." as critical`);
@@ -44,23 +51,90 @@ export function runDetachedAlert(script, spawnFn = spawn, reportAlertFailure = d
44
51
  });
45
52
  child.unref();
46
53
  }
54
+ function windowsPowerShellExecutable(env) {
55
+ return joinWindowsPath(windowsSystemRoot(env), ...WINDOWS_POWERSHELL_PARTS);
56
+ }
57
+ function powershellSingleQuoted(value) {
58
+ return `'${value.replaceAll("'", "''")}'`;
59
+ }
60
+ function windowsAlertCommand(message) {
61
+ const text = powershellSingleQuoted(displayableAlertMessage(message));
62
+ return [
63
+ "Add-Type -AssemblyName PresentationFramework",
64
+ `[System.Windows.MessageBox]::Show(${text}, 'Keiko could not start', 'OK', 'Error') | Out-Null`,
65
+ ].join("; ");
66
+ }
67
+ export function runDetachedWindowsAlert(message, env, spawnFn = spawn, reportAlertFailure = defaultAlertFailureReport) {
68
+ const systemRoot = windowsSystemRoot(env);
69
+ const child = spawnFn(windowsPowerShellExecutable(env), [
70
+ "-NoLogo",
71
+ "-NoProfile",
72
+ "-Sta",
73
+ "-WindowStyle",
74
+ "Hidden",
75
+ "-NonInteractive",
76
+ "-ExecutionPolicy",
77
+ "Bypass",
78
+ "-Command",
79
+ windowsAlertCommand(message),
80
+ ], {
81
+ detached: true,
82
+ // PowerShell and WPF need the core system variables; a fully empty environment can fail
83
+ // to initialize the runtime. Everything else stays withheld from the detached child.
84
+ env: {
85
+ SystemRoot: systemRoot,
86
+ WINDIR: systemRoot,
87
+ ...(env.TEMP === undefined ? {} : { TEMP: env.TEMP }),
88
+ ...(env.TMP === undefined ? {} : { TMP: env.TMP }),
89
+ },
90
+ shell: false,
91
+ stdio: "ignore",
92
+ windowsHide: true,
93
+ });
94
+ child.on("error", () => {
95
+ reportAlertFailure(ALERT_FAILURE_LINE);
96
+ });
97
+ child.unref();
98
+ }
47
99
  function defaultAlertFailureReport(line) {
48
100
  process.stderr.write(line);
49
101
  }
102
+ function launchFailureMessage(message) {
103
+ return message.trim() === "" ? "The portable launch failed without a reason." : message;
104
+ }
105
+ function notifyMacosLaunchFailure(text, deps, reportAlertFailure) {
106
+ const runAlert = deps.runAlert ??
107
+ ((script) => {
108
+ runDetachedAlert(script, undefined, reportAlertFailure);
109
+ });
110
+ runAlert(alertScript(text));
111
+ }
112
+ function notifyWindowsLaunchFailure(text, env, deps, reportAlertFailure) {
113
+ const runWindowsAlert = deps.runWindowsAlert ??
114
+ ((alertMessage, notifyEnv) => {
115
+ runDetachedWindowsAlert(alertMessage, notifyEnv, undefined, reportAlertFailure);
116
+ });
117
+ runWindowsAlert(text, env);
118
+ }
119
+ function notifySupportedPlatformLaunchFailure(hostPlatform, text, env, deps, reportAlertFailure) {
120
+ if (hostPlatform === "darwin") {
121
+ notifyMacosLaunchFailure(text, deps, reportAlertFailure);
122
+ }
123
+ if (hostPlatform === "win32") {
124
+ notifyWindowsLaunchFailure(text, env, deps, reportAlertFailure);
125
+ }
126
+ }
50
127
  export function notifyPortableLaunchFailure(message, env, deps = {}) {
51
128
  if (env.KEIKO_PORTABLE_UI_LAUNCH !== "1")
52
129
  return;
53
130
  const platform = deps.platform ?? (() => process.platform);
54
- if (platform() !== "darwin")
131
+ const hostPlatform = platform();
132
+ if (hostPlatform !== "darwin" && hostPlatform !== "win32")
55
133
  return;
56
- const text = message.trim() === "" ? "The portable launch failed without a reason." : message;
134
+ const text = launchFailureMessage(message);
57
135
  const reportAlertFailure = deps.reportAlertFailure ?? defaultAlertFailureReport;
58
136
  try {
59
- const runAlert = deps.runAlert ??
60
- ((script) => {
61
- runDetachedAlert(script, undefined, reportAlertFailure);
62
- });
63
- runAlert(alertScript(text));
137
+ notifySupportedPlatformLaunchFailure(hostPlatform, text, env, deps, reportAlertFailure);
64
138
  }
65
139
  catch {
66
140
  // Best-effort by contract — see runDetachedAlert; the fixed line below is the evidence.
@@ -9,16 +9,17 @@ interface ManagedInstallScan {
9
9
  readonly issues: readonly string[];
10
10
  }
11
11
  export declare function windowsStartMenuRegistrationPath(env: EnvSource, home: string): string;
12
- export declare function parseWindowsStartMenuRegistration(path: string): string | undefined;
12
+ export declare function windowsLegacyStartMenuRegistrationPath(env: EnvSource, home: string): string;
13
+ export declare function parseWindowsStartMenuRegistration(path: string, env?: EnvSource): string | undefined;
13
14
  export declare function portableManagedRootMode(target: PortableTarget, managedRoot: string, env: EnvSource, home: string): ManagedRootMode;
14
15
  export declare function nativeRegistrationKinds(target: PortableTarget, managedRoot: string, env: EnvSource, home: string): readonly NativeRegistrationKind[];
15
- export declare function installNativeRegistration(layout: PortableLayout, target: PortableTarget, managedRoot: string, env: EnvSource, home: string): void;
16
+ export declare function installNativeRegistration(layout: PortableLayout, target: PortableTarget, managedRoot: string, env: EnvSource, home: string, io: CliIo): void;
16
17
  export declare function portableRegistrationHealth(layout: PortableLayout, target: PortableTarget, managedRoot: string, env: EnvSource, home: string): {
17
18
  readonly ok: number;
18
19
  readonly missing: number;
19
20
  readonly actionRequired: number;
20
21
  };
21
- export declare function repairUserLocalRegistration(layout: PortableLayout, target: PortableTarget, managedRoot: string, env: EnvSource, home: string): number;
22
+ export declare function repairUserLocalRegistration(layout: PortableLayout, target: PortableTarget, managedRoot: string, env: EnvSource, home: string, io: CliIo): number;
22
23
  export declare function inspectPortableManagedInstall(layout: PortableLayout): ManagedInstallScan;
23
24
  export declare function portableManagedInstallHealth(layout: PortableLayout): {
24
25
  readonly issueCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"portable-maintenance.d.ts","sourceRoot":"","sources":["../src/portable-maintenance.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAsB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEpG,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,CAAC;AACnD,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG,2BAA2B,CAAC;AASxF,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC;AAiDD,wBAAgB,gCAAgC,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAErF;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAWlF;AAMD,wB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