vibe64 0.1.78 → 0.1.80

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 (252) hide show
  1. package/bin/run.js +1523 -1512
  2. package/bin/server.js +100 -98
  3. package/bin/upgrade-state.js +3288 -3277
  4. package/dist/assets/{GithubBrowserTabs-B2r19V0U.js → GithubBrowserTabs-d5SRhPw-.js} +1 -1
  5. package/dist/assets/GithubBrowserTabs-d5SRhPw-.js.br +0 -0
  6. package/dist/assets/GithubBrowserTabs-d5SRhPw-.js.gz +0 -0
  7. package/dist/assets/{LocalDatabaseServer-Ck9nZrGW.js → LocalDatabaseServer-CIAX_Xx8.js} +1 -1
  8. package/dist/assets/LocalDatabaseServer-CIAX_Xx8.js.br +0 -0
  9. package/dist/assets/LocalDatabaseServer-CIAX_Xx8.js.gz +0 -0
  10. package/dist/assets/{Vibe64DashboardPageHeader-C4iTKeE0.js → Vibe64DashboardPageHeader-CyYFBVSw.js} +1 -1
  11. package/dist/assets/Vibe64DashboardPageHeader-CyYFBVSw.js.br +0 -0
  12. package/dist/assets/Vibe64DashboardPageHeader-CyYFBVSw.js.gz +0 -0
  13. package/dist/assets/{Vibe64DatabaseWorkspace-ChA-2QPU.js → Vibe64DatabaseWorkspace-Dep64whC.js} +1 -1
  14. package/dist/assets/Vibe64DatabaseWorkspace-Dep64whC.js.br +0 -0
  15. package/dist/assets/{Vibe64DatabaseWorkspace-ChA-2QPU.js.gz → Vibe64DatabaseWorkspace-Dep64whC.js.gz} +0 -0
  16. package/dist/assets/{Vibe64FileArea-DBEJsJSq.js → Vibe64FileArea-r9PP5pT7.js} +1 -1
  17. package/dist/assets/Vibe64FileArea-r9PP5pT7.js.br +0 -0
  18. package/dist/assets/Vibe64FileArea-r9PP5pT7.js.gz +0 -0
  19. package/dist/assets/Vibe64OutputControls-B6wjUtLL.js +8 -0
  20. package/dist/assets/Vibe64OutputControls-B6wjUtLL.js.br +0 -0
  21. package/dist/assets/Vibe64OutputControls-B6wjUtLL.js.gz +0 -0
  22. package/dist/assets/{Vibe64OutputControls-aQCEvUL2.css → Vibe64OutputControls-gSUdkqME.css} +1 -1
  23. package/dist/assets/Vibe64OutputControls-gSUdkqME.css.br +0 -0
  24. package/dist/assets/Vibe64OutputControls-gSUdkqME.css.gz +0 -0
  25. package/dist/assets/{Vibe64RepositoryWorkspace-sT07hHPs.js → Vibe64RepositoryWorkspace-C_ez14Jz.js} +1 -1
  26. package/dist/assets/Vibe64RepositoryWorkspace-C_ez14Jz.js.br +0 -0
  27. package/dist/assets/Vibe64RepositoryWorkspace-C_ez14Jz.js.gz +0 -0
  28. package/dist/assets/{Vibe64SessionFiles-Djef01EV.js → Vibe64SessionFiles-CJPrBsND.js} +1 -1
  29. package/dist/assets/Vibe64SessionFiles-CJPrBsND.js.br +0 -0
  30. package/dist/assets/Vibe64SessionFiles-CJPrBsND.js.gz +0 -0
  31. package/dist/assets/{Vibe64SessionSourceEditor-CIGBLYYN.js → Vibe64SessionSourceEditor-CwE0Y-ka.js} +1 -1
  32. package/dist/assets/Vibe64SessionSourceEditor-CwE0Y-ka.js.br +0 -0
  33. package/dist/assets/Vibe64SessionSourceEditor-CwE0Y-ka.js.gz +0 -0
  34. package/dist/assets/{Vibe64UiStoryboardView-CjkWoB8b.js → Vibe64UiStoryboardView-COViVA_8.js} +1 -1
  35. package/dist/assets/Vibe64UiStoryboardView-COViVA_8.js.br +0 -0
  36. package/dist/assets/Vibe64UiStoryboardView-COViVA_8.js.gz +0 -0
  37. package/dist/assets/{_pageId_-BTjeqgTN.js → _pageId_-DuE37c72.js} +1 -1
  38. package/dist/assets/{_sessionId_-C7Jh2bL4.js → _sessionId_-T6qoKZhb.js} +1 -1
  39. package/dist/assets/_sessionId_-T6qoKZhb.js.br +0 -0
  40. package/dist/assets/_sessionId_-T6qoKZhb.js.gz +0 -0
  41. package/dist/assets/{_sessionTool_-DITdXCS4.js → _sessionTool_-B-b_DFay.js} +1 -1
  42. package/dist/assets/{access-DIaPNdxr.js → access-Dx-76I4I.js} +1 -1
  43. package/dist/assets/access-Dx-76I4I.js.br +0 -0
  44. package/dist/assets/access-Dx-76I4I.js.gz +0 -0
  45. package/dist/assets/{app-mELSmS67.js → app-BM5ppUKY.js} +1 -1
  46. package/dist/assets/app-BM5ppUKY.js.br +0 -0
  47. package/dist/assets/app-BM5ppUKY.js.gz +0 -0
  48. package/dist/assets/{changes-DlxKdjdP.js → changes-CI15aJ2s.js} +1 -1
  49. package/dist/assets/{client-CL02nP02.js → client-CtgiCplj.js} +2 -2
  50. package/dist/assets/client-CtgiCplj.js.br +0 -0
  51. package/dist/assets/client-CtgiCplj.js.gz +0 -0
  52. package/dist/assets/{client-CLpGzGwX.js → client-wU-vn9Gt.js} +2 -2
  53. package/dist/assets/client-wU-vn9Gt.js.br +0 -0
  54. package/dist/assets/client-wU-vn9Gt.js.gz +0 -0
  55. package/dist/assets/{dashboard-km-kuDid.js → dashboard-DD-Kz8sQ.js} +1 -1
  56. package/dist/assets/{english-definitions-CMICWgdF.js → english-definitions-B-puV4oO.js} +1 -1
  57. package/dist/assets/english-definitions-B-puV4oO.js.br +0 -0
  58. package/dist/assets/english-definitions-B-puV4oO.js.gz +0 -0
  59. package/dist/assets/{env-DjkxkxdX.js → env-CsRMp84w.js} +1 -1
  60. package/dist/assets/env-CsRMp84w.js.br +0 -0
  61. package/dist/assets/env-CsRMp84w.js.gz +0 -0
  62. package/dist/assets/{error-C7q1-2bC.js → error-CL5AgVRX.js} +1 -1
  63. package/dist/assets/error-CL5AgVRX.js.br +0 -0
  64. package/dist/assets/error-CL5AgVRX.js.gz +0 -0
  65. package/dist/assets/{fileTypes-Dbn0qwKS.js → fileTypes-CFECKFVN.js} +1 -1
  66. package/dist/assets/fileTypes-CFECKFVN.js.br +0 -0
  67. package/dist/assets/fileTypes-CFECKFVN.js.gz +0 -0
  68. package/dist/assets/{health-BwJ6Z251.js → health-4aQl5EcU.js} +1 -1
  69. package/dist/assets/health-4aQl5EcU.js.br +0 -0
  70. package/dist/assets/health-4aQl5EcU.js.gz +0 -0
  71. package/dist/assets/{history-D2TywQVv.js → history-B5Sor4EE.js} +1 -1
  72. package/dist/assets/history-B5Sor4EE.js.br +0 -0
  73. package/dist/assets/history-B5Sor4EE.js.gz +0 -0
  74. package/dist/assets/{index-D14nUmm7.js → index-BAvE8_Ib.js} +5 -5
  75. package/dist/assets/index-BAvE8_Ib.js.br +0 -0
  76. package/dist/assets/index-BAvE8_Ib.js.gz +0 -0
  77. package/dist/assets/{integrations-BZFXW2Cp.js → integrations-DksSxQbj.js} +96 -10
  78. package/dist/assets/integrations-DksSxQbj.js.br +0 -0
  79. package/dist/assets/integrations-DksSxQbj.js.gz +0 -0
  80. package/dist/assets/{issues-CLvbBTek.js → issues-DK2L8AHT.js} +1 -1
  81. package/dist/assets/issues-DK2L8AHT.js.br +0 -0
  82. package/dist/assets/issues-DK2L8AHT.js.gz +0 -0
  83. package/dist/assets/{learning-DwytxEXC.js → learning-DeuGeINY.js} +1 -1
  84. package/dist/assets/{packages-BeiF8W7l.js → packages-Du3QFyu-.js} +1 -1
  85. package/dist/assets/packages-Du3QFyu-.js.br +0 -0
  86. package/dist/assets/packages-Du3QFyu-.js.gz +0 -0
  87. package/dist/assets/{pages-BIRQk4b8.js → pages-CBvnECLI.js} +1 -1
  88. package/dist/assets/{pages-BnAyUdL4.js → pages-D3MpRYy4.js} +1 -1
  89. package/dist/assets/pages-D3MpRYy4.js.br +0 -0
  90. package/dist/assets/pages-D3MpRYy4.js.gz +0 -0
  91. package/dist/assets/{project-GnljGud1.js → project-BFylqlOt.js} +13 -13
  92. package/dist/assets/project-BFylqlOt.js.br +0 -0
  93. package/dist/assets/project-BFylqlOt.js.gz +0 -0
  94. package/dist/assets/project-BZ-FhyDR.css +1 -0
  95. package/dist/assets/project-BZ-FhyDR.css.br +0 -0
  96. package/dist/assets/project-BZ-FhyDR.css.gz +0 -0
  97. package/dist/assets/{project-files-e4-Q65vT.js → project-files-CHgBwX2E.js} +1 -1
  98. package/dist/assets/project-files-CHgBwX2E.js.br +0 -0
  99. package/dist/assets/project-files-CHgBwX2E.js.gz +0 -0
  100. package/dist/assets/{project-shared-ShellOutlet-DKYDipmC.js → project-shared-ShellOutlet-CIoqgO35.js} +1 -1
  101. package/dist/assets/project-shared-ShellOutlet-CIoqgO35.js.br +0 -0
  102. package/dist/assets/project-shared-ShellOutlet-CIoqgO35.js.gz +0 -0
  103. package/dist/assets/{project-shared-VBottomSheet-BSE28ENQ.js → project-shared-VBottomSheet-Bezz1r7A.js} +1 -1
  104. package/dist/assets/project-shared-VBottomSheet-Bezz1r7A.js.br +0 -0
  105. package/dist/assets/project-shared-VBottomSheet-Bezz1r7A.js.gz +0 -0
  106. package/dist/assets/{project-shared-VToolbar-CrezJP9z.js → project-shared-VToolbar-DmXu_VIt.js} +1 -1
  107. package/dist/assets/project-shared-VToolbar-DmXu_VIt.js.br +0 -0
  108. package/dist/assets/project-shared-VToolbar-DmXu_VIt.js.gz +0 -0
  109. package/dist/assets/{project-shared-pageNames-6Jz0BfbS.js → project-shared-pageNames-BiomB55Q.js} +1 -1
  110. package/dist/assets/project-shared-pageNames-BiomB55Q.js.br +0 -0
  111. package/dist/assets/project-shared-pageNames-BiomB55Q.js.gz +0 -0
  112. package/dist/assets/{pull-requests-DH9gWw10.js → pull-requests-CPBGulVu.js} +1 -1
  113. package/dist/assets/pull-requests-CPBGulVu.js.br +0 -0
  114. package/dist/assets/pull-requests-CPBGulVu.js.gz +0 -0
  115. package/dist/assets/{repository-BNltUuvb.js → repository-CWDpx49H.js} +1 -1
  116. package/dist/assets/{session-Ck9aH4Yl.js → session-D2z1O4Y4.js} +1 -1
  117. package/dist/assets/session-D2z1O4Y4.js.br +0 -0
  118. package/dist/assets/session-D2z1O4Y4.js.gz +0 -0
  119. package/dist/assets/{settings-D8Ofbk56.js → settings-BZRdBSb9.js} +1 -1
  120. package/dist/assets/settings-BZRdBSb9.js.br +0 -0
  121. package/dist/assets/settings-BZRdBSb9.js.gz +0 -0
  122. package/dist/assets/{useArchivedVibe64Sessions-LIZjeLbd.js → useArchivedVibe64Sessions-C3jJk531.js} +1 -1
  123. package/dist/assets/useArchivedVibe64Sessions-C3jJk531.js.br +0 -0
  124. package/dist/assets/useArchivedVibe64Sessions-C3jJk531.js.gz +0 -0
  125. package/dist/assets/{vibe64AttachmentDownload-1_XfvfYp.js → vibe64AttachmentDownload-DcLsJc9X.js} +1 -1
  126. package/dist/assets/{vibe64SavedEnvValues-Bs7r4xWE.js → vibe64SavedEnvValues-hAfcxHhJ.js} +1 -1
  127. package/dist/assets/{vue-flow-core-iwGljzru.js → vue-flow-core-BwhpINSc.js} +1 -1
  128. package/dist/assets/vue-flow-core-BwhpINSc.js.br +0 -0
  129. package/dist/assets/vue-flow-core-BwhpINSc.js.gz +0 -0
  130. package/dist/index.html +2 -2
  131. package/docs/colleague-usage/ai-accounts.md +4 -4
  132. package/docs/colleague-usage/ai-tasks.md +3 -2
  133. package/docs/colleague-usage/auto-workflow.md +99 -43
  134. package/docs/colleague-usage/chat-settings.md +46 -44
  135. package/docs/colleague-usage/coding-agents.md +8 -5
  136. package/docs/colleague-usage/connected-projects.md +196 -48
  137. package/docs/colleague-usage/connected-repositories.md +50 -6
  138. package/docs/colleague-usage/development-env.md +2 -2
  139. package/docs/colleague-usage/github-work.md +3 -3
  140. package/docs/colleague-usage/main-chat-approvals.md +2 -2
  141. package/docs/colleague-usage/passes.md +177 -156
  142. package/docs/colleague-usage/plans.md +121 -38
  143. package/docs/colleague-usage/preview-starting-application.md +6 -0
  144. package/docs/colleague-usage/preview-stop-and-restart.md +51 -0
  145. package/docs/colleague-usage/preview.md +10 -37
  146. package/docs/colleague-usage/ui-pass.md +32 -22
  147. package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
  148. package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
  149. package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
  150. package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
  151. package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +5 -0
  152. package/node_modules/@jskit-ai/payments-core/README.md +72 -8
  153. package/node_modules/@jskit-ai/payments-core/contracts/configuration.schema.json +56 -1
  154. package/node_modules/@jskit-ai/payments-core/contracts/conformance.json +484 -0
  155. package/node_modules/@jskit-ai/payments-core/locales/en.json +17 -5
  156. package/node_modules/@jskit-ai/payments-core/package.json +2 -1
  157. package/node_modules/@local/vibe64-execution/package.json +1 -0
  158. package/node_modules/@local/vibe64-genesis/README.md +12 -0
  159. package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +96 -96
  160. package/node_modules/@local/vibe64-genesis/package.json +2 -1
  161. package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +182 -174
  162. package/node_modules/@local/vibe64-genesis/src/server/index.js +573 -569
  163. package/node_modules/@local/vibe64-project/package.json +1 -0
  164. package/node_modules/@local/vibe64-terminals/package.json +1 -0
  165. package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +900 -890
  166. package/node_modules/chokidar/LICENSE +21 -0
  167. package/node_modules/chokidar/README.md +305 -0
  168. package/node_modules/chokidar/package.json +14 -0
  169. package/node_modules/readdirp/LICENSE +21 -0
  170. package/node_modules/readdirp/README.md +122 -0
  171. package/node_modules/readdirp/package.json +9 -0
  172. package/package.json +11 -7
  173. package/server.bundle.mjs +46995 -45449
  174. package/dist/assets/GithubBrowserTabs-B2r19V0U.js.br +0 -0
  175. package/dist/assets/GithubBrowserTabs-B2r19V0U.js.gz +0 -0
  176. package/dist/assets/LocalDatabaseServer-Ck9nZrGW.js.br +0 -0
  177. package/dist/assets/LocalDatabaseServer-Ck9nZrGW.js.gz +0 -0
  178. package/dist/assets/Vibe64DashboardPageHeader-C4iTKeE0.js.br +0 -0
  179. package/dist/assets/Vibe64DashboardPageHeader-C4iTKeE0.js.gz +0 -0
  180. package/dist/assets/Vibe64DatabaseWorkspace-ChA-2QPU.js.br +0 -0
  181. package/dist/assets/Vibe64FileArea-DBEJsJSq.js.br +0 -0
  182. package/dist/assets/Vibe64FileArea-DBEJsJSq.js.gz +0 -0
  183. package/dist/assets/Vibe64OutputControls-DpFdKIO2.js +0 -8
  184. package/dist/assets/Vibe64OutputControls-DpFdKIO2.js.br +0 -0
  185. package/dist/assets/Vibe64OutputControls-DpFdKIO2.js.gz +0 -0
  186. package/dist/assets/Vibe64OutputControls-aQCEvUL2.css.br +0 -0
  187. package/dist/assets/Vibe64OutputControls-aQCEvUL2.css.gz +0 -0
  188. package/dist/assets/Vibe64RepositoryWorkspace-sT07hHPs.js.br +0 -0
  189. package/dist/assets/Vibe64RepositoryWorkspace-sT07hHPs.js.gz +0 -0
  190. package/dist/assets/Vibe64SessionFiles-Djef01EV.js.br +0 -0
  191. package/dist/assets/Vibe64SessionFiles-Djef01EV.js.gz +0 -0
  192. package/dist/assets/Vibe64SessionSourceEditor-CIGBLYYN.js.br +0 -0
  193. package/dist/assets/Vibe64SessionSourceEditor-CIGBLYYN.js.gz +0 -0
  194. package/dist/assets/Vibe64UiStoryboardView-CjkWoB8b.js.br +0 -0
  195. package/dist/assets/Vibe64UiStoryboardView-CjkWoB8b.js.gz +0 -0
  196. package/dist/assets/_sessionId_-C7Jh2bL4.js.br +0 -0
  197. package/dist/assets/_sessionId_-C7Jh2bL4.js.gz +0 -0
  198. package/dist/assets/access-DIaPNdxr.js.br +0 -0
  199. package/dist/assets/access-DIaPNdxr.js.gz +0 -0
  200. package/dist/assets/app-mELSmS67.js.br +0 -0
  201. package/dist/assets/app-mELSmS67.js.gz +0 -0
  202. package/dist/assets/client-CL02nP02.js.br +0 -0
  203. package/dist/assets/client-CL02nP02.js.gz +0 -0
  204. package/dist/assets/client-CLpGzGwX.js.br +0 -0
  205. package/dist/assets/client-CLpGzGwX.js.gz +0 -0
  206. package/dist/assets/english-definitions-CMICWgdF.js.br +0 -0
  207. package/dist/assets/english-definitions-CMICWgdF.js.gz +0 -0
  208. package/dist/assets/env-DjkxkxdX.js.br +0 -0
  209. package/dist/assets/env-DjkxkxdX.js.gz +0 -0
  210. package/dist/assets/error-C7q1-2bC.js.br +0 -0
  211. package/dist/assets/error-C7q1-2bC.js.gz +0 -0
  212. package/dist/assets/fileTypes-Dbn0qwKS.js.br +0 -0
  213. package/dist/assets/fileTypes-Dbn0qwKS.js.gz +0 -0
  214. package/dist/assets/health-BwJ6Z251.js.br +0 -0
  215. package/dist/assets/health-BwJ6Z251.js.gz +0 -0
  216. package/dist/assets/history-D2TywQVv.js.br +0 -0
  217. package/dist/assets/history-D2TywQVv.js.gz +0 -0
  218. package/dist/assets/index-D14nUmm7.js.br +0 -0
  219. package/dist/assets/index-D14nUmm7.js.gz +0 -0
  220. package/dist/assets/integrations-BZFXW2Cp.js.br +0 -0
  221. package/dist/assets/integrations-BZFXW2Cp.js.gz +0 -0
  222. package/dist/assets/issues-CLvbBTek.js.br +0 -0
  223. package/dist/assets/issues-CLvbBTek.js.gz +0 -0
  224. package/dist/assets/packages-BeiF8W7l.js.br +0 -0
  225. package/dist/assets/packages-BeiF8W7l.js.gz +0 -0
  226. package/dist/assets/pages-BnAyUdL4.js.br +0 -3
  227. package/dist/assets/pages-BnAyUdL4.js.gz +0 -0
  228. package/dist/assets/project-GnljGud1.js.br +0 -0
  229. package/dist/assets/project-GnljGud1.js.gz +0 -0
  230. package/dist/assets/project-W_VltXAt.css +0 -1
  231. package/dist/assets/project-W_VltXAt.css.br +0 -0
  232. package/dist/assets/project-W_VltXAt.css.gz +0 -0
  233. package/dist/assets/project-files-e4-Q65vT.js.br +0 -0
  234. package/dist/assets/project-files-e4-Q65vT.js.gz +0 -0
  235. package/dist/assets/project-shared-ShellOutlet-DKYDipmC.js.br +0 -0
  236. package/dist/assets/project-shared-ShellOutlet-DKYDipmC.js.gz +0 -0
  237. package/dist/assets/project-shared-VBottomSheet-BSE28ENQ.js.br +0 -0
  238. package/dist/assets/project-shared-VBottomSheet-BSE28ENQ.js.gz +0 -0
  239. package/dist/assets/project-shared-VToolbar-CrezJP9z.js.br +0 -0
  240. package/dist/assets/project-shared-VToolbar-CrezJP9z.js.gz +0 -0
  241. package/dist/assets/project-shared-pageNames-6Jz0BfbS.js.br +0 -0
  242. package/dist/assets/project-shared-pageNames-6Jz0BfbS.js.gz +0 -0
  243. package/dist/assets/pull-requests-DH9gWw10.js.br +0 -0
  244. package/dist/assets/pull-requests-DH9gWw10.js.gz +0 -0
  245. package/dist/assets/session-Ck9aH4Yl.js.br +0 -0
  246. package/dist/assets/session-Ck9aH4Yl.js.gz +0 -0
  247. package/dist/assets/settings-D8Ofbk56.js.br +0 -0
  248. package/dist/assets/settings-D8Ofbk56.js.gz +0 -0
  249. package/dist/assets/useArchivedVibe64Sessions-LIZjeLbd.js.br +0 -0
  250. package/dist/assets/useArchivedVibe64Sessions-LIZjeLbd.js.gz +0 -0
  251. package/dist/assets/vue-flow-core-iwGljzru.js.br +0 -0
  252. package/dist/assets/vue-flow-core-iwGljzru.js.gz +0 -0
@@ -1,173 +1,173 @@
1
1
  import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
2
- import{ARCHITECTURE_OBSERVATIONS_SCHEMA as un}from"genesis-compiler";import Y from"node:path";var K=class extends Error{constructor(n,t,s=void 0){super(t),this.name="Vibe64StackOperationErr\
2
+ import{ARCHITECTURE_OBSERVATIONS_SCHEMA as pn}from"genesis-compiler";import Y from"node:path";var X=class extends Error{constructor(n,t,s=void 0){super(t),this.name="Vibe64StackOperationErr\
3
3
  or",this.code=n,s!==void 0&&(this.details=s)}},pe=Object.freeze({VIBE64_WORKSPACE_SETUP_INVALID:"workspace-setup",VIBE64_OUTPUTS_INVALID:"\
4
4
  outputs",VIBE64_DEPLOYMENT_INVALID:"deployment",VIBE64_PACKAGING_INVALID:"packaging",VIBE64_RESOURCE_ESTIMATES_INVALID:"\
5
5
  resource-estimates",VIBE64_CONNECTED_DEVELOPMENT_INVALID:"connected-development",VIBE64_PROJECT_SERVICES_INVALID:"projec\
6
6
  t-services",VIBE64_INTEGRATION_SETUP_INVALID:"integration-setup",VIBE64_ARCHITECTURE_INSPECTION_INVALID:"architecture-in\
7
- spection",VIBE64_ARCHITECTURE_LAYOUT_INVALID:"architecture-layout",VIBE64_STAGING_DATA_INVALID:"staging-data"}),ut=/ Exact grammar: vibe64-helper spec [a-z-]+\.$/u;
8
- function lt(e,n){let t=pe[e],s=String(n).replace(ut,"");return t?`${s} Exact grammar: vibe64-helper spec ${t}.`:s}function y(e,n,t){
9
- return`Unknown ${e}: ${n}. Use one of: ${t.join("; ")}.`}function r(e,n,t,s,a={}){throw new K(e,lt(e,t),{path:n,...s===void 0?
10
- {}:{line:s},...a})}function pt(e){let n=[...String(e||"").matchAll(/`([^`\r\n]+)`/gu)];return n.length===0||n.map(t=>t[0]).join(" ")!==e?null:
11
- n.map(t=>t[1])}function f(e,n,t,s,a,i={}){let{count:o,maximum:l=64}=i,m=pt(e);if(!m||m.length>l||o!==void 0&&m.length!==
12
- o||m.some(w=>w.length>4096||/[\0\r\n]/u.test(w))){let w=o===void 0?"separate non-empty":`exactly ${o}`;r(n,t,`${s} must \
13
- contain ${w} backticked ${o===1?"value":"values"}.`,a)}return m}function dt(e=""){return typeof e=="string"&&!!e&&!/[\s\0{}]/u.
14
- test(e)&&!Y.isAbsolute(e)&&!e.split(/[\\/]/u).includes("..")}function T(e,n,t,s,a){let i=f(e,n,t,s,a);return dt(i[0])||r(
15
- n,t,`${s} must begin with a safe executable.`,a),i}function mt(e=""){return typeof e=="string"&&!!e&&!/[\0\r\n\\]/u.test(
16
- e)&&!Y.posix.isAbsolute(e)&&Y.posix.normalize(e)===e&&!e.split("/").some(n=>!n||n==="..")}function E(e,n,t,s,a,i={}){let{
17
- allowRoot:o=!0}=i;return(!mt(e)||!o&&e===".")&&r(n,t,`${s} must be a canonical project-relative path.`,a),e}function v(e,n,t,s,a){let i=f(e,n,t,s,a);return i.some(o=>!/^[a-z0-9]+(?:-[a-z0-9]+)*$/u.test(o))&&r(n,t,`${s} must use \
18
- lowercase technology ids separated into backticked values.`,a),new Set(i).size!==i.length&&r(n,t,`${s} contains a duplic\
19
- ate technology id.`,a),i}var X=/^[A-Za-z][A-Za-z0-9_-]{0,39}$/u;function g(e=[]){let n=e.map(t=>t.trim()).filter(Boolean);return n.length===1&&n[0]==="- Nothing."}var hn=Object.freeze(
7
+ spection",VIBE64_ARCHITECTURE_LAYOUT_INVALID:"architecture-layout",VIBE64_STAGING_DATA_INVALID:"staging-data"}),pt=/ Exact grammar: vibe64-helper spec [a-z-]+\.$/u;
8
+ function dt(e,n){let t=pe[e],s=String(n).replace(pt,"");return t?`${s} Exact grammar: vibe64-helper spec ${t}.`:s}function b(e,n,t){
9
+ return`Unknown ${e}: ${n}. Use one of: ${t.join("; ")}.`}function r(e,n,t,s,o={}){throw new X(e,dt(e,t),{path:n,...s===void 0?
10
+ {}:{line:s},...o})}function mt(e){let n=[...String(e||"").matchAll(/`([^`\r\n]+)`/gu)];return n.length===0||n.map(t=>t[0]).join(" ")!==e?null:
11
+ n.map(t=>t[1])}function f(e,n,t,s,o,i={}){let{count:a,maximum:l=64}=i,m=mt(e);if(!m||m.length>l||a!==void 0&&m.length!==
12
+ a||m.some(w=>w.length>4096||/[\0\r\n]/u.test(w))){let w=a===void 0?"separate non-empty":`exactly ${a}`;r(n,t,`${s} must \
13
+ contain ${w} backticked ${a===1?"value":"values"}.`,o)}return m}function ht(e=""){return typeof e=="string"&&!!e&&!/[\s\0{}]/u.
14
+ test(e)&&!Y.isAbsolute(e)&&!e.split(/[\\/]/u).includes("..")}function v(e,n,t,s,o){let i=f(e,n,t,s,o);return ht(i[0])||r(
15
+ n,t,`${s} must begin with a safe executable.`,o),i}function ft(e=""){return typeof e=="string"&&!!e&&!/[\0\r\n\\]/u.test(
16
+ e)&&!Y.posix.isAbsolute(e)&&Y.posix.normalize(e)===e&&!e.split("/").some(n=>!n||n==="..")}function E(e,n,t,s,o,i={}){let{
17
+ allowRoot:a=!0}=i;return(!ft(e)||!a&&e===".")&&r(n,t,`${s} must be a canonical project-relative path.`,o),e}function T(e,n,t,s,o){let i=f(e,n,t,s,o);return i.some(a=>!/^[a-z0-9]+(?:-[a-z0-9]+)*$/u.test(a))&&r(n,t,`${s} must use \
18
+ lowercase technology ids separated into backticked values.`,o),new Set(i).size!==i.length&&r(n,t,`${s} contains a duplic\
19
+ ate technology id.`,o),i}var Z=/^[A-Za-z][A-Za-z0-9_-]{0,39}$/u;function g(e=[]){let n=e.map(t=>t.trim()).filter(Boolean);return n.length===1&&n[0]==="- Nothing."}var En=Object.freeze(
20
20
  {SPEC_BY_ERROR_CODE:pe});var de="- Recreate on restore: ",me="- Generated secrets: ",he="- Setup code: ",P="- Sandbox allows: ",U="- Packages: ";var G="- Instances: up to ";var B=Object.freeze(["fuse","gvisor"]);var fe=Object.freeze({APP_ENV:"Deployment never sets APP_ENV: the host gives every step the environment it deploys to. R\
21
21
  emove APP_ENV from Deployment.",SIDE_EFFECTS:"SIDE_EFFECTS was replaced by APP_ENV, which the host gives every step. Rem\
22
22
  ove SIDE_EFFECTS from Deployment.",STAGING_REACHES_REAL_PEOPLE:"Deployment never sets STAGING_REACHES_REAL_PEOPLE: the h\
23
23
  ost gives it to a Staging only while the project's owner marks that real people use that Staging. Remove STAGING_REACHES\
24
- _REAL_PEOPLE from Deployment."}),Ee=Object.freeze({prepare:0,build:1,migrate:2,serve:3}),D=Object.keys(Ee).map(e=>e[0].toUpperCase()+
24
+ _REAL_PEOPLE from Deployment."}),Ee=Object.freeze({prepare:0,build:1,migrate:2,serve:3}),C=Object.keys(Ee).map(e=>e[0].toUpperCase()+
25
25
  e.slice(1)),M=Object.freeze(["- Workdir: `path`","- Runtimes: `runtime`...",`${de}\`glob\`...`,`${me}\`NAME\`...`,`${he}\
26
26
  \`NAME\``,`${P}${B.map(e=>`\`${e}\``).join(" ")}`,`${U}\`package\`...`,`${G}\`count\``,"- Ready when: `GET` `/path` retu\
27
- rns `200`",`- ${D.join("|")} \`label\`: \`command\` \`argument\`...`]);var On=Object.freeze(["public","internal"]),In=Object.freeze({"any instance":"any","each instance":"each"});var Z=e=>new RegExp(`^- ${e}: \`([^\`\\r\\n]*)\`$`,"u"),kn=Z("Exposure"),An=Z("Reached"),Nn=Z("Development"),wt=Object.freeze(
28
- ["local folder","own bucket"]),Dn=Object.freeze(["APP_ENV","HOST","PORT","APP_PUBLIC_URL","TRUSTED_PROXIES"]);var J=Object.freeze(["### Service `id`: summary","### Resource `id`"]),Q=Object.freeze(["- Exposure: `public` or `intern\
29
- al`","- Serve `label`: `command` `argument`...","- Ready when: `GET` `/path` returns `200`","- Instances: `min` to `max`",
30
- "- Needs at least: `N` vCPU, `N` GiB memory","- Production: `N` instances","- Reached: `any instance` or `each instance`",
31
- "- Reaches: `service` as `SETTING`","- Setting `NAME`: `value`",`${U}\`package\`...`,`${P}${B.map(e=>`\`${e}\``).join(" ")}`]),
32
- ee=Object.freeze([`- Development: ${wt.map(e=>`\`${e}\``).join(" or ")}`]),Cn=Object.freeze(M.filter(e=>![P,G,"- Ready w\
33
- hen: "].some(n=>e.startsWith(n))).map(e=>e.replace(`|${D.at(-1)} `," ")));var be="vibe64.application-deployment.v2";var ye="Deployment";var Se="vibe64.packaging.v1",_e="Packaging",Zn=Object.freeze(["genesis",".genesis",".agents",".claude",".codex",".openco\
34
- de"]);var Tt=Object.freeze({npm:Object.freeze({entries:["workdir","runtimes","prepare","build","environment","versionFrom"],required:[
27
+ rns `200`",`- ${C.join("|")} \`label\`: \`command\` \`argument\`...`]);var kn=Object.freeze(["public","internal"]),Nn=Object.freeze({"any instance":"any","each instance":"each"});var J=e=>new RegExp(`^- ${e}: \`([^\`\\r\\n]*)\`$`,"u"),An=J("Exposure"),Cn=J("Reached"),Dn=J("Development"),Tt=Object.freeze(
28
+ ["local folder","own bucket"]),$n=Object.freeze(["APP_ENV","HOST","PORT","APP_PUBLIC_URL","TRUSTED_PROXIES"]);var Q=Object.freeze(["### Service `id`: summary","### Resource `id`"]),ee=Object.freeze(["- Exposure: `public` or `inter\
29
+ nal`","- Serve `label`: `command` `argument`...","- Ready when: `GET` `/path` returns `200`","- Instances: `min` to `max\
30
+ `","- Needs at least: `N` vCPU, `N` GiB memory","- Production: `N` instances","- Reached: `any instance` or `each instan\
31
+ ce`","- Reaches: `service` as `SETTING`","- Setting `NAME`: `value`",`${U}\`package\`...`,`${P}${B.map(e=>`\`${e}\``).join(
32
+ " ")}`]),te=Object.freeze([`- Development: ${Tt.map(e=>`\`${e}\``).join(" or ")}`]),Pn=Object.freeze(M.filter(e=>![P,G,"\
33
+ - Ready when: "].some(n=>e.startsWith(n))).map(e=>e.replace(`|${C.at(-1)} `," ")));var Se="vibe64.application-deployment.v2";var be="Deployment";var ye="vibe64.packaging.v1",_e="Packaging",Qn=Object.freeze(["genesis",".genesis",".agents",".claude",".codex",".openco\
34
+ de"]);var Rt=Object.freeze({npm:Object.freeze({entries:["workdir","runtimes","prepare","build","environment","versionFrom"],required:[
35
35
  "versionFrom"],versionSources:["package.json","external"]}),"python-dist":Object.freeze({entries:["workdir","runtimes","\
36
36
  prepare","build","environment","output","versionFrom"],required:["build","output","versionFrom"],versionSources:["pyproj\
37
37
  ect.toml","external"]}),"web-bundle":Object.freeze({entries:["workdir","runtimes","prepare","build","environment","outpu\
38
38
  t"],required:["build","output"],versionSources:[]}),capacitor:Object.freeze({entries:["workdir","content","platforms","a\
39
39
  pplicationId","name","icon","versionFrom","deepLinkSchemeFrom","appLinkDomainsFrom","permission"],required:["content","p\
40
- latforms","applicationId","name","icon","versionFrom"],versionSources:["package.json","external"]})}),se=Object.freeze(Object.
41
- keys(Tt)),vt=Object.freeze(["android"]),Rt=Object.freeze(["package.json","pyproject.toml","external"]),ne=e=>e.map(n=>`\`${n}\
42
- \``).join(" | "),C=Object.freeze([["- Packer: ","packer",`- Packer: ${ne(se)}`],["- Workdir: ","workdir","- Workdir: `pa\
40
+ latforms","applicationId","name","icon","versionFrom"],versionSources:["package.json","external"]})}),ie=Object.freeze(Object.
41
+ keys(Rt)),Ot=Object.freeze(["android"]),It=Object.freeze(["package.json","pyproject.toml","external"]),se=e=>e.map(n=>`\`${n}\
42
+ \``).join(" | "),D=Object.freeze([["- Packer: ","packer",`- Packer: ${se(ie)}`],["- Workdir: ","workdir","- Workdir: `pa\
43
43
  th`"],["- Runtimes: ","runtimes","- Runtimes: `runtime`..."],["- Output: ","output","- Output: `path`"],["- Version from\
44
- : ","versionFrom",`- Version from: ${ne(Rt)}`],["- Platforms: ","platforms",`- Platforms: ${ne(vt)}...`],["- Id: ","appl\
44
+ : ","versionFrom",`- Version from: ${se(It)}`],["- Platforms: ","platforms",`- Platforms: ${se(Ot)}...`],["- Id: ","appl\
45
45
  icationId","- Id: `reverse.dns.id`"],["- Name: ","name","- Name: `Display name`"],["- Icon: ","icon","- Icon: `path/to/i\
46
46
  con-1024.png`"],["- Deep link scheme from: ","deepLinkSchemeFrom","- Deep link scheme from: `ENV_NAME`"],["- App link do\
47
- mains from: ","appLinkDomainsFrom","- App link domains from: `ENV_NAME`"]]),we="### Package `id`: Label",Te=Object.freeze(
48
- [C[0][2],C[1][2],C[2][2],"- Prepare|Build `label`: `command` `argument`...","- Environment `NAME`: `value`",C[3][2],C[4][2],
49
- "- Content: package `web-bundle-id`",...C.slice(5).map(([,,e])=>e),"- Permission `id`: User-facing reason."]),Jn=Object.
47
+ mains from: ","appLinkDomainsFrom","- App link domains from: `ENV_NAME`"]]),we="### Package `id`: Label",ve=Object.freeze(
48
+ [D[0][2],D[1][2],D[2][2],"- Prepare|Build `label`: `command` `argument`...","- Environment `NAME`: `value`",D[3][2],D[4][2],
49
+ "- Content: package `web-bundle-id`",...D.slice(5).map(([,,e])=>e),"- Permission `id`: User-facing reason."]),es=Object.
50
50
  freeze({packer:"Packer",workdir:"Workdir",runtimes:"Runtimes",prepare:"Prepare",build:"Build",environment:"Environment",
51
51
  output:"Output",versionFrom:"Version from",content:"Content",platforms:"Platforms",applicationId:"Id",name:"Name",icon:"\
52
- Icon",deepLinkSchemeFrom:"Deep link scheme from",appLinkDomainsFrom:"App link domains from",permission:"Permission"});var ve="vibe64.architecture-inspection.v1",Re="Architecture inspection",d="VIBE64_ARCHITECTURE_INSPECTION_INVALID",Ot="g\
53
- enesis/stack.md#Architecture inspection",Oe=120,Ie=64*1024*1024,ke=64*1024,It=Object.freeze(["runtimeRequirements","work\
52
+ Icon",deepLinkSchemeFrom:"Deep link scheme from",appLinkDomainsFrom:"App link domains from",permission:"Permission"});var Te="vibe64.architecture-inspection.v1",Re="Architecture inspection",d="VIBE64_ARCHITECTURE_INSPECTION_INVALID",kt="g\
53
+ enesis/stack.md#Architecture inspection",Oe=120,Ie=64*1024*1024,ke=64*1024,Nt=Object.freeze(["runtimeRequirements","work\
54
54
  dir","argv","timeout","maxBuffer"]),L=Object.freeze({Runtime:["runtimeRequirements","`runtime`..."],Directory:["workdir",
55
55
  "`path`"],Command:["argv","`command` `argument`..."],"Timeout seconds":["timeout",`\`1\` through \`${Oe}\``],"Max output\
56
56
  bytes":["maxBuffer",`\`1\` through \`${Ie}\``],"Entry files":["entryFiles","`path`... (optional)"],"Required files":["r\
57
- equiredFiles","`path`... (optional)"],"Preview locator":["previewLocator","`path` (optional .js file)"]}),kt=new RegExp(
58
- `^- (${Object.keys(L).join("|")}): (.+)$`,"u");function At(e,n={}){let{path:t=Ot}=n;if(Array.isArray(e)||r(d,t,"Architec\
59
- ture inspection requires exact Stack section lines."),g(e))return[];let s=[],a=new Set,i;function o(){if(i){for(let l of It)
57
+ equiredFiles","`path`... (optional)"],"Preview locator":["previewLocator","`path` (optional .js file)"]}),At=new RegExp(
58
+ `^- (${Object.keys(L).join("|")}): (.+)$`,"u");function Ct(e,n={}){let{path:t=kt}=n;if(Array.isArray(e)||r(d,t,"Architec\
59
+ ture inspection requires exact Stack section lines."),g(e))return[];let s=[],o=new Set,i;function a(){if(i){for(let l of Nt)
60
60
  i[l]===void 0&&r(d,t,`${i.id} is missing ${l}.`);s.push(i),i=null}}for(let[l,m]of e.entries()){let w=m.trim();if(!w)continue;
61
- let O=w.match(/^### Inspector `([a-z0-9]+(?:-[a-z0-9]+)*)`: (.+)$/u);if(O){o(),a.has(O[1])&&r(d,t,"Duplicate inspector i\
62
- d.",l+1),a.add(O[1]),i={id:O[1],title:O[2]};continue}i||r(d,t,"Expected an Inspector heading.",l+1);let p=w.match(kt);if(!p){
63
- let b=Object.entries(L).map(([h,[,x]])=>`- ${h}: ${x}`).join("; ");r(d,t,`Unknown architecture inspector field. Use one \
64
- of: ${b}.`,l+1)}let[c]=L[p[1]];if(i[c]!==void 0&&r(d,t,`Duplicate ${p[1]}.`,l+1),c==="runtimeRequirements")i[c]=v(p[2],d,
65
- t,"Inspector runtime",l+1);else if(c==="argv")i[c]=T(p[2],d,t,"Inspector command",l+1);else if(c==="entryFiles"||c==="re\
66
- quiredFiles")i[c]=f(p[2],d,t,p[1],l+1).map(b=>E(b,d,t,p[1],l+1));else{let[b]=f(p[2],d,t,p[1],l+1,{count:1});if(c==="work\
67
- dir")i[c]=E(b,d,t,"Inspector directory",l+1);else if(c==="previewLocator")i[c]=Nt(b,t,l+1);else{let h=Number(b),x=c==="t\
68
- imeout"?Oe:Ie;(!/^[1-9][0-9]*$/u.test(b)||!Number.isSafeInteger(h)||h>x)&&r(d,t,`${p[1]} must be from 1 to ${x}.`,l+1),i[c]=
69
- c==="timeout"?h*1e3:h}}}return o(),s.length||r(d,t,"Use an Inspector entry or - Nothing."),s}function Nt(e,n,t){return E(
70
- e,d,n,"Preview locator",t,{allowRoot:!1}),e.endsWith(".js")||r(d,n,"Preview locator must name a .js file.",t),e}var ts=Object.freeze({parseVibe64ArchitectureInspectionLines:At});var Ae="vibe64.architecture-layout.v1",Ne="Architecture layout",R="VIBE64_ARCHITECTURE_LAYOUT_INVALID",V=Object.freeze([
71
- "layer","libraries","support"]);function Dt(e,n={}){let{path:t="genesis/stack.md#Architecture layout"}=n;if(Array.isArray(
72
- e)||r(R,t,"Expected exact Stack section lines."),g(e))return[];let s=[],a=new Set,i=new Set,o;function l(){o&&((!o.kind||
73
- !o.purpose||!o.subsystems.length)&&r(R,t,`${o.id} needs Kind, Purpose and at least one Subsystem.`),s.push(o))}for(let[m,
61
+ let O=w.match(/^### Inspector `([a-z0-9]+(?:-[a-z0-9]+)*)`: (.+)$/u);if(O){a(),o.has(O[1])&&r(d,t,"Duplicate inspector i\
62
+ d.",l+1),o.add(O[1]),i={id:O[1],title:O[2]};continue}i||r(d,t,"Expected an Inspector heading.",l+1);let p=w.match(At);if(!p){
63
+ let S=Object.entries(L).map(([h,[,x]])=>`- ${h}: ${x}`).join("; ");r(d,t,`Unknown architecture inspector field. Use one \
64
+ of: ${S}.`,l+1)}let[c]=L[p[1]];if(i[c]!==void 0&&r(d,t,`Duplicate ${p[1]}.`,l+1),c==="runtimeRequirements")i[c]=T(p[2],d,
65
+ t,"Inspector runtime",l+1);else if(c==="argv")i[c]=v(p[2],d,t,"Inspector command",l+1);else if(c==="entryFiles"||c==="re\
66
+ quiredFiles")i[c]=f(p[2],d,t,p[1],l+1).map(S=>E(S,d,t,p[1],l+1));else{let[S]=f(p[2],d,t,p[1],l+1,{count:1});if(c==="work\
67
+ dir")i[c]=E(S,d,t,"Inspector directory",l+1);else if(c==="previewLocator")i[c]=Dt(S,t,l+1);else{let h=Number(S),x=c==="t\
68
+ imeout"?Oe:Ie;(!/^[1-9][0-9]*$/u.test(S)||!Number.isSafeInteger(h)||h>x)&&r(d,t,`${p[1]} must be from 1 to ${x}.`,l+1),i[c]=
69
+ c==="timeout"?h*1e3:h}}}return a(),s.length||r(d,t,"Use an Inspector entry or - Nothing."),s}function Dt(e,n,t){return E(
70
+ e,d,n,"Preview locator",t,{allowRoot:!1}),e.endsWith(".js")||r(d,n,"Preview locator must name a .js file.",t),e}var ss=Object.freeze({parseVibe64ArchitectureInspectionLines:Ct});var Ne="vibe64.architecture-layout.v1",Ae="Architecture layout",R="VIBE64_ARCHITECTURE_LAYOUT_INVALID",V=Object.freeze([
71
+ "layer","libraries","support"]);function $t(e,n={}){let{path:t="genesis/stack.md#Architecture layout"}=n;if(Array.isArray(
72
+ e)||r(R,t,"Expected exact Stack section lines."),g(e))return[];let s=[],o=new Set,i=new Set,a;function l(){a&&((!a.kind||
73
+ !a.purpose||!a.subsystems.length)&&r(R,t,`${a.id} needs Kind, Purpose and at least one Subsystem.`),s.push(a))}for(let[m,
74
74
  w]of e.entries()){let O=w.trim();if(!O)continue;let p=O.match(/^### Group `([a-z0-9]+(?:-[a-z0-9]+)*)`: (.+)$/u);if(p){l(),
75
- a.has(p[1])&&r(R,t,"Duplicate group id.",m+1),a.add(p[1]),o={id:p[1],title:p[2],subsystems:[]};continue}let c=O.match(/^- (Kind|Purpose|Subsystem): (.+)$/u);
76
- (!o||!c)&&r(R,t,"Expected a Group heading or Kind, Purpose, Subsystem field.",m+1);let b=f(c[2],R,t,c[1],m+1,{count:1});
77
- if(c[1]==="Subsystem"){let h=E(b[0],R,t,"Subsystem root",m+1);i.has(h)&&r(R,t,"Each directory root may be placed only on\
78
- ce.",m+1),i.add(h),o.subsystems.push({root:h})}else{let h=c[1].toLowerCase();o[h]!==void 0&&r(R,t,`Duplicate ${c[1]}.`,m+
79
- 1),h==="kind"&&!V.includes(b[0])&&r(R,t,`Kind must be ${V.slice(0,-1).join(", ")} or ${V.at(-1)}.`,m+1),o[h]=b[0]}}return l(),
80
- s.length||r(R,t,"Use a Group entry or - Nothing."),s}var is=Object.freeze({parseVibe64ArchitectureLayoutLines:Dt});var Ct="custom",De="vibe64.connected-sources.v2",ie=Object.freeze([Object.freeze({value:"npm",label:"npm (Node.js)"}),Object.
81
- freeze({value:"composer",label:"Composer (PHP)"}),Object.freeze({value:"pip",label:"pip (Python)"}),Object.freeze({value:"\
82
- bundler",label:"Bundler (Ruby)"}),Object.freeze({value:"gomod",label:"Go modules"}),Object.freeze({value:"cargo",label:"\
83
- Cargo (Rust)"}),Object.freeze({value:"maven",label:"Maven"}),Object.freeze({value:"gradle",label:"Gradle"}),Object.freeze(
84
- {value:"nuget",label:"NuGet (.NET)"}),Object.freeze({value:Ct,label:"custom"})]),Ce="Vibe64's preparer appends the absol\
85
- ute script path and --phase prepare|verify, --source-root <the session's copy of the repository>, --project-root <consum\
86
- ing project>, --sources-file <absolute Sources file> and --repository <GitHub URL> arguments to the Stack's Custom runne\
87
- r command, once per phase; execution checks the script remains inside the consuming project.",os=Object.freeze(ie.map(e=>e.
88
- value));var $e="Connected development",Pe="vibe64.connected-development.v1";var ae="with `runtime` [in `workdir`]: `command` `argument`...",Pt=Object.freeze({Prepare:`- Prepare \`label\` ${ae}`,Verify:`\
89
- - Verify \`label\` ${ae}`,"Custom runner":`- Custom runner ${ae}`}),Me=Object.freeze(["- Default package type: `type`","\
90
- - Sources file: `path`",...Object.values(Pt)]);var Le="vibe64.integration-setup.v1",Ve="Integration setup";var je="- Command with `runtime` in `workdir`: `command` `argument`...";var z="vibe64.preview-identity.command.v1";var oe=new Set(["HOME","LOGNAME","NODE_OPTIONS","PATH","TMPDIR","USER"]),jt=new Set(["email","login","user-id"]),xt=1e4,
91
- Ut=3e4,Gt=[["- Command: ","command","Command","`tools/preview-identity` `argument`..."],["- Protocol: ","protocol","Prot\
92
- ocol",`\`${z}\``],["- Identity types: ","identityTypes","Identity types",`one or more of ${[...jt].map(e=>`\`${e}\``).join(
75
+ o.has(p[1])&&r(R,t,"Duplicate group id.",m+1),o.add(p[1]),a={id:p[1],title:p[2],subsystems:[]};continue}let c=O.match(/^- (Kind|Purpose|Subsystem): (.+)$/u);
76
+ (!a||!c)&&r(R,t,"Expected a Group heading or Kind, Purpose, Subsystem field.",m+1);let S=f(c[2],R,t,c[1],m+1,{count:1});
77
+ if(c[1]==="Subsystem"){let h=E(S[0],R,t,"Subsystem root",m+1);i.has(h)&&r(R,t,"Each directory root may be placed only on\
78
+ ce.",m+1),i.add(h),a.subsystems.push({root:h})}else{let h=c[1].toLowerCase();a[h]!==void 0&&r(R,t,`Duplicate ${c[1]}.`,m+
79
+ 1),h==="kind"&&!V.includes(S[0])&&r(R,t,`Kind must be ${V.slice(0,-1).join(", ")} or ${V.at(-1)}.`,m+1),a[h]=S[0]}}return l(),
80
+ s.length||r(R,t,"Use a Group entry or - Nothing."),s}var as=Object.freeze({parseVibe64ArchitectureLayoutLines:$t});var Pt="custom",Ce="vibe64.connected-sources.v2",De="vibe64.connections.lock.json",$e="vibe64.connections-lock.v1",oe=Object.
81
+ freeze([Object.freeze({value:"npm",label:"npm (Node.js)"}),Object.freeze({value:"composer",label:"Composer (PHP)"}),Object.
82
+ freeze({value:"pip",label:"pip (Python)"}),Object.freeze({value:"bundler",label:"Bundler (Ruby)"}),Object.freeze({value:"\
83
+ gomod",label:"Go modules"}),Object.freeze({value:"cargo",label:"Cargo (Rust)"}),Object.freeze({value:"maven",label:"Mave\
84
+ n"}),Object.freeze({value:"gradle",label:"Gradle"}),Object.freeze({value:"nuget",label:"NuGet (.NET)"}),Object.freeze({value:Pt,
85
+ label:"custom"})]),Pe="Vibe64's preparer appends the absolute script path and --phase prepare|verify, --source-root <the\
86
+ session's copy of the repository>, --project-root <consuming project>, --sources-file <absolute Sources file> and --rep\
87
+ ository <GitHub URL> arguments to the Stack's Custom runner command, once per phase; execution checks the script remains\
88
+ inside the consuming project.",cs=Object.freeze(oe.map(e=>e.value));var Me="Connected development",Le="vibe64.connected-development.v1";var z="with `runtime` [in `workdir`]: `command` `argument`...",Lt=Object.freeze({Prepare:`- Prepare \`label\` ${z}`,Verify:`\
89
+ - Verify \`label\` ${z}`,Save:`- Save \`label\` ${z}`,"Custom runner":`- Custom runner ${z}`}),Ve=Object.freeze(["- Defa\
90
+ ult package type: `type`","- Sources file: `path`",...Object.values(Lt)]);var hs=Object.freeze({Prepare:"prepare",Verify:"verify",Save:"save"});var je="vibe64.integration-setup.v1",xe="Integration setup";var Ue="- Command with `runtime` in `workdir`: `command` `argument`...";var H="vibe64.preview-identity.command.v1";var ae=new Set(["HOME","LOGNAME","NODE_OPTIONS","PATH","TMPDIR","USER"]),Ut=new Set(["email","login","user-id"]),Gt=1e4,
91
+ Bt=3e4,Wt=[["- Command: ","command","Command","`tools/preview-identity` `argument`..."],["- Protocol: ","protocol","Prot\
92
+ ocol",`\`${H}\``],["- Identity types: ","identityTypes","Identity types",`one or more of ${[...Ut].map(e=>`\`${e}\``).join(
93
93
  " ")}`],["- Enabled environment: ","enabledEnvironment","Enabled environment","`ENV_NAME`"],["- Secret environment: ","s\
94
94
  ecretEnvironment","Secret environment","`ENV_NAME`"],["- Runtimes: ","runtimes","Runtimes","`runtime`..."],["- Timeout m\
95
- s: ","timeoutMs","Timeout ms",`\`1\` through \`${Ut}\` (default ${xt})`]],xe=Gt.map(([e,,,n])=>`${e}${n}`);var Ue="vibe64.outputs.v1",Ge="Outputs";var Bt=new Set(["finite","interactive"]),Wt=new Set(["development","test"]),zt=new Set(["terminal","web"]),Be=16,re=e=>[
96
- ...e].map(n=>`\`${n}\``).join(" or "),We=Object.freeze(["### Target `id`: Label","#### Parameter `id`: Label","#### Pres\
97
- entation","#### Preview identity","#### Download `id`"]),$=Object.freeze({target:["- Default.",`- Mode: ${re(Bt)}`,`- Da\
98
- ta: ${re(Wt)}`,"- Workdir: `path`","- Runtimes: `runtime`...","- Prepare|Build|Run `label`: `command` `argument`..."],parameter:[
99
- "- Default: `text`","- Description: `text`","- Required."],presentation:[`- Kind: ${re(zt)}`,"- Preferred port: `1024` t\
100
- hrough `65535`","- URL path: `/path`","- Ready when: `GET` `/path` returns `200`"],previewIdentity:xe,download:["- Path:\
101
- `path`","- Name: `file-name`","- Media type: `type/subtype`"]});var ze="Project services",He="vibe64.project-services.v1";var Fe="- Start `service-id` [per session] with `runtime` [in `workdir`]: `command` `argument`...";var qe="vibe64.workspace-setup.v1",Ye="Workspace setup";var Ke="- Prepare `label` [from `path`...] with `runtime` [in `workdir`] [when|if `path` exists]: `command` `argument`..\
102
- .";var Xe="vibe64.resource-estimates.v1",Ze="Resource estimates";var xs=1024*1024,Je=1024*1024,Qe=new Map([["Startup typical MiB","startupTypical"],["Startup high MiB","startupHigh"],["\
103
- Running typical MiB","runningTypical"],["Running high MiB","runningHigh"],["Typical MiB","typical"],["High MiB","high"]]);var tt="vibe64.staging-data.v1",nt="Staging data",F="VIBE64_STAGING_DATA_INVALID";var k=Object.freeze({"own copy, empty":"empty","own copy, full":"full","own copy, sampled":"sampled","shared with produc\
104
- tion":"shared","shared with production, structure frozen":"frozen"}),Bs=Object.freeze(Object.fromEntries(Object.entries(
105
- k).map(([e,n])=>[n,e]))),Ws=Object.freeze({empty:Object.freeze({source:!1,unlisted:!1,sampling:!1,contacts:!1}),full:Object.
95
+ s: ","timeoutMs","Timeout ms",`\`1\` through \`${Bt}\` (default ${Gt})`]],Ge=Wt.map(([e,,,n])=>`${e}${n}`);var Be="vibe64.outputs.v1",We="Outputs";var zt=new Set(["finite","interactive"]),Ht=new Set(["development","test"]),Ft=new Set(["terminal","web"]),ze=16,re=e=>[
96
+ ...e].map(n=>`\`${n}\``).join(" or "),He=Object.freeze(["### Target `id`: Label","#### Parameter `id`: Label","#### Pres\
97
+ entation","#### Preview identity","#### Download `id`"]),$=Object.freeze({target:["- Default.",`- Mode: ${re(zt)}`,`- Da\
98
+ ta: ${re(Ht)}`,"- Workdir: `path`","- Runtimes: `runtime`...","- Prepare|Build|Run `label`: `command` `argument`..."],parameter:[
99
+ "- Default: `text`","- Description: `text`","- Required."],presentation:[`- Kind: ${re(Ft)}`,"- Preferred port: `1024` t\
100
+ hrough `65535`","- URL path: `/path`","- Ready when: `GET` `/path` returns `200`"],previewIdentity:Ge,download:["- Path:\
101
+ `path`","- Name: `file-name`","- Media type: `type/subtype`"]});var Fe="Project services",Ke="vibe64.project-services.v1";var qe="- Start `service-id` [per session] with `runtime` [in `workdir`]: `command` `argument`...";var Ye="vibe64.workspace-setup.v1",Xe="Workspace setup";var Ze="- Prepare `label` [from `path`...] with `runtime` [in `workdir`] [when|if `path` exists]: `command` `argument`..\
102
+ .";var Je="vibe64.resource-estimates.v1",Qe="Resource estimates";var Hs=1024*1024,et=1024*1024,tt=new Map([["Startup typical MiB","startupTypical"],["Startup high MiB","startupHigh"],["\
103
+ Running typical MiB","runningTypical"],["Running high MiB","runningHigh"],["Typical MiB","typical"],["High MiB","high"]]);var st="vibe64.staging-data.v1",it="Staging data",K="VIBE64_STAGING_DATA_INVALID";var k=Object.freeze({"own copy, empty":"empty","own copy, full":"full","own copy, sampled":"sampled","shared with produc\
104
+ tion":"shared","shared with production, structure frozen":"frozen"}),qs=Object.freeze(Object.fromEntries(Object.entries(
105
+ k).map(([e,n])=>[n,e]))),Ys=Object.freeze({empty:Object.freeze({source:!1,unlisted:!1,sampling:!1,contacts:!1}),full:Object.
106
106
  freeze({source:!0,unlisted:!1,sampling:!1,contacts:!0}),sampled:Object.freeze({source:!0,unlisted:!0,sampling:!0,contacts:!0}),
107
107
  shared:Object.freeze({source:!1,unlisted:!1,sampling:!1,contacts:!1}),frozen:Object.freeze({source:!1,unlisted:!1,sampling:!1,
108
- contacts:!1})}),zs=Object.freeze({empty:"Staging's own database starts empty",full:"a whole copy keeps every row",shared:"\
109
- Staging uses production's database itself",frozen:"Staging uses production's database itself"}),Hs=Object.freeze(["mysql",
110
- "postgresql"]),H="{dump}",et=/\{[A-Za-z][A-Za-z0-9_:-]*\}/u,st=/^[A-Za-z_][A-Za-z0-9_]{0,63}$/u,A=Object.freeze({unlistedRows:Object.
111
- freeze([1,1e7]),days:Object.freeze([1,36500]),rows:Object.freeze([1,1e8])}),Ht=/^dump written by command with (.+?) in `([^`\r\n]+)`: (.+)$/u,
112
- Ft=/^all up to `([^`\r\n]*)` rows$/u,it=/^- `([^`\r\n]*)`: (.+)$/u,qt=/^recent by `([^`\r\n]*)`(?:, last `([^`\r\n]*)` days)?(?:, newest `([^`\r\n]*)` rows)?$/u,
113
- Yt=/^- `([^`\r\n]*)` to `([^`\r\n]*)`$/u,Kt=/^- `([^`\r\n]*)` keeps every `([^`\r\n]*)` row by `([^`\r\n]*)`$/u,Xt=Object.
114
- freeze(["email","phone"]),at="- Nothing.",Zt=Object.freeze(Object.keys(k).map(e=>`- Mode: ${e}`)),le="- Source: dump wri\
115
- tten by command with `runtime` in `workdir`: `command` `argument`... `{dump}`",ot="- Unlisted tables: all up to `n` rows",
116
- S=Object.freeze({section:Object.freeze(["- Database: `resource`",...Zt,le,ot]),tables:Object.freeze(["- `table`: all","-\
108
+ contacts:!1})}),Xs=Object.freeze({empty:"Staging's own database starts empty",full:"a whole copy keeps every row",shared:"\
109
+ Staging uses production's database itself",frozen:"Staging uses production's database itself"}),Zs=Object.freeze(["mysql",
110
+ "postgresql"]),F="{dump}",nt=/\{[A-Za-z][A-Za-z0-9_:-]*\}/u,ot=/^[A-Za-z_][A-Za-z0-9_]{0,63}$/u,N=Object.freeze({unlistedRows:Object.
111
+ freeze([1,1e7]),days:Object.freeze([1,36500]),rows:Object.freeze([1,1e8])}),Kt=/^dump written by command with (.+?) in `([^`\r\n]+)`: (.+)$/u,
112
+ qt=/^all up to `([^`\r\n]*)` rows$/u,at=/^- `([^`\r\n]*)`: (.+)$/u,Yt=/^recent by `([^`\r\n]*)`(?:, last `([^`\r\n]*)` days)?(?:, newest `([^`\r\n]*)` rows)?$/u,
113
+ Xt=/^- `([^`\r\n]*)` to `([^`\r\n]*)`$/u,Zt=/^- `([^`\r\n]*)` keeps every `([^`\r\n]*)` row by `([^`\r\n]*)`$/u,Jt=Object.
114
+ freeze(["email","phone"]),rt="- Nothing.",Qt=Object.freeze(Object.keys(k).map(e=>`- Mode: ${e}`)),le="- Source: dump wri\
115
+ tten by command with `runtime` in `workdir`: `command` `argument`... `{dump}`",ct="- Unlisted tables: all up to `n` rows",
116
+ y=Object.freeze({section:Object.freeze(["- Database: `resource`",...Qt,le,ct]),tables:Object.freeze(["- `table`: all","-\
117
117
  `table`: none","- `table`: recent by `column`, last `n` days","- `table`: recent by `column`, newest `n` rows","- `tabl\
118
118
  e`: recent by `column`, last `n` days, newest `n` rows"]),links:Object.freeze(["- `table.column` to `table.column`"]),keepTogether:Object.
119
119
  freeze(["- `parent` keeps every `child` row by `column`"]),contacts:Object.freeze(["- `table.column`: email","- `table.c\
120
- olumn`: phone",at])}),rt=new Map([["### Tables","tables"],["### Links","links"],["### Keep together","keepTogether"],["#\
121
- ## Contacts","contacts"]]),ct=Object.freeze([...rt.keys()]),Fs=Object.freeze(Object.fromEntries([...rt].map(([e,n])=>[n,
122
- e]))),qs=Object.freeze({tables:"table rule",links:"link",keepTogether:"Keep together entry",contacts:"contact"});function Jt(e,n,t){
123
- let[s]=f(n,F,e.location,"Staging data Database",t,{count:1});X.test(s)||e.fail(`Database names a database resource of ge\
124
- nesis/stack.md's ## Resources by its id, such as \`database\`; ${JSON.stringify(s)} isn't one.`,t),e.model.database=s}function Qt(e,n,t){
125
- Object.hasOwn(k,n)||e.fail(y("Staging data Mode",n,Object.keys(k)),t),e.model.mode=k[n]}function en(e,n,t){let s=n.find(
126
- o=>o!==H&&o.includes(H));s&&e.fail(`Source passes \`{dump}\` inside \`${s}\`: give it as an argument of its own, such as \
127
- \`--output\` \`{dump}\`.`,t);let a=n.find(o=>o!==H&&et.test(o));a&&e.fail(`Source has the placeholder \`${a.match(et)[0]}\
128
- \`; \`{dump}\` is its only one.`,t);let i=n.filter(o=>o===H).length;i!==1&&e.fail(i?`Source passes \`{dump}\` ${i} times\
120
+ olumn`: phone",rt])}),ut=new Map([["### Tables","tables"],["### Links","links"],["### Keep together","keepTogether"],["#\
121
+ ## Contacts","contacts"]]),lt=Object.freeze([...ut.keys()]),Js=Object.freeze(Object.fromEntries([...ut].map(([e,n])=>[n,
122
+ e]))),Qs=Object.freeze({tables:"table rule",links:"link",keepTogether:"Keep together entry",contacts:"contact"});function en(e,n,t){
123
+ let[s]=f(n,K,e.location,"Staging data Database",t,{count:1});Z.test(s)||e.fail(`Database names a database resource of ge\
124
+ nesis/stack.md's ## Resources by its id, such as \`database\`; ${JSON.stringify(s)} isn't one.`,t),e.model.database=s}function tn(e,n,t){
125
+ Object.hasOwn(k,n)||e.fail(b("Staging data Mode",n,Object.keys(k)),t),e.model.mode=k[n]}function nn(e,n,t){let s=n.find(
126
+ a=>a!==F&&a.includes(F));s&&e.fail(`Source passes \`{dump}\` inside \`${s}\`: give it as an argument of its own, such as \
127
+ \`--output\` \`{dump}\`.`,t);let o=n.find(a=>a!==F&&nt.test(a));o&&e.fail(`Source has the placeholder \`${o.match(nt)[0]}\
128
+ \`; \`{dump}\` is its only one.`,t);let i=n.filter(a=>a===F).length;i!==1&&e.fail(i?`Source passes \`{dump}\` ${i} times\
129
129
  ; its command writes one dump, so pass it once.`:`Source's command must pass \`{dump}\`, the file it writes production's d\
130
- ump to, as an argument of its own. Use: ${le}`,t)}function tn(e,n,t){let s=n.match(Ht);s||e.fail(`Staging data Source mu\
131
- st use: ${le}`,t);let a=T(s[3],F,e.location,"Staging data Source command",t);en(e,a,t),e.model.dumpSource={argv:a,workdir:E(
132
- s[2],F,e.location,"Staging data Source workdir",t),runtimeRequirements:v(s[1],F,e.location,"Staging data Source runtimes",
133
- t)}}function ce(e,n,[t,s],a,i){let o=/^[1-9][0-9]*$/u.test(n)?Number(n):Number.NaN;return o>=t&&o<=s||e.fail(`${a} must \
134
- be a whole number from ${t} to ${s}; \`${n}\` isn't one.`,i),o}function nn(e,n,t){let s=n.match(Ft);s||e.fail(`Staging d\
135
- ata Unlisted tables must use: ${ot}`,t),e.model.unlistedTables={maxRows:ce(e,s[1],A.unlistedRows,"Unlisted tables' rows",
136
- t)}}var Ys=Object.freeze([{prefix:"- Database: ",key:"database",label:"Database",read:Jt},{prefix:"- Mode: ",key:"mode",
137
- label:"Mode",read:Qt},{prefix:"- Source: ",key:"source",label:"Source",read:tn},{prefix:"- Unlisted tables: ",key:"unlis\
138
- ted",label:"Unlisted tables",read:nn}]);function j(e,n,t,s){return st.test(n)||e.fail(`\`${n}\` isn't a ${t} name: use up to 64 letters, digits and _, starting \
139
- with a letter or _.`,s),n}function ue(e,n,t){let s=n.split(".");return(s.length!==2||!s.every(a=>st.test(a)))&&e.fail(`\`${n}\
130
+ ump to, as an argument of its own. Use: ${le}`,t)}function sn(e,n,t){let s=n.match(Kt);s||e.fail(`Staging data Source mu\
131
+ st use: ${le}`,t);let o=v(s[3],K,e.location,"Staging data Source command",t);nn(e,o,t),e.model.dumpSource={argv:o,workdir:E(
132
+ s[2],K,e.location,"Staging data Source workdir",t),runtimeRequirements:T(s[1],K,e.location,"Staging data Source runtimes",
133
+ t)}}function ce(e,n,[t,s],o,i){let a=/^[1-9][0-9]*$/u.test(n)?Number(n):Number.NaN;return a>=t&&a<=s||e.fail(`${o} must \
134
+ be a whole number from ${t} to ${s}; \`${n}\` isn't one.`,i),a}function on(e,n,t){let s=n.match(qt);s||e.fail(`Staging d\
135
+ ata Unlisted tables must use: ${ct}`,t),e.model.unlistedTables={maxRows:ce(e,s[1],N.unlistedRows,"Unlisted tables' rows",
136
+ t)}}var ei=Object.freeze([{prefix:"- Database: ",key:"database",label:"Database",read:en},{prefix:"- Mode: ",key:"mode",
137
+ label:"Mode",read:tn},{prefix:"- Source: ",key:"source",label:"Source",read:sn},{prefix:"- Unlisted tables: ",key:"unlis\
138
+ ted",label:"Unlisted tables",read:on}]);function j(e,n,t,s){return ot.test(n)||e.fail(`\`${n}\` isn't a ${t} name: use up to 64 letters, digits and _, starting \
139
+ with a letter or _.`,s),n}function ue(e,n,t){let s=n.split(".");return(s.length!==2||!s.every(o=>ot.test(o)))&&e.fail(`\`${n}\
140
140
  \` isn't a column: name it \`table.column\`, each up to 64 letters, digits and _, starting with a letter or _.`,t),{table:s[0],
141
- column:s[1]}}function q(e,n,t,s,a){e.named[n].has(t)&&e.fail(s,a),e.named[n].add(t)}function sn(e,n,t){if(n==="all"||n===
142
- "none")return{rule:n};let s=n.match(qt);return s||e.fail(`Unknown table rule: ${n}. Use one of: ${S.tables.join("; ")}.`,
141
+ column:s[1]}}function q(e,n,t,s,o){e.named[n].has(t)&&e.fail(s,o),e.named[n].add(t)}function an(e,n,t){if(n==="all"||n===
142
+ "none")return{rule:n};let s=n.match(Yt);return s||e.fail(`Unknown table rule: ${n}. Use one of: ${y.tables.join("; ")}.`,
143
143
  t),s[2]===void 0&&s[3]===void 0&&e.fail("A recent rule keeps its table's rows of the last `n` days, its newest `n` rows,\
144
144
  or both: add `, last `n` days`, `, newest `n` rows` or both, in that order.",t),{rule:"recent",by:j(e,s[1],"column",t),
145
- days:s[2]===void 0?null:ce(e,s[2],A.days,"A recent rule's days",t),rows:s[3]===void 0?null:ce(e,s[3],A.rows,"A recent ru\
146
- le's rows",t)}}function an(e,n,t){let s=n.match(it);s||e.fail(y("Staging data table rule",n,S.tables),t);let a=j(e,s[1],
147
- "table",t);q(e,"tables",a,`### Tables names \`${a}\` twice; give each table one rule.`,t),e.model.tables.push({table:a,...sn(
148
- e,s[2],t)})}function on(e,n,t){let s=n.match(Yt);s||e.fail(y("Staging data link",n,S.links),t);let a=ue(e,s[1],t),i=ue(e,
145
+ days:s[2]===void 0?null:ce(e,s[2],N.days,"A recent rule's days",t),rows:s[3]===void 0?null:ce(e,s[3],N.rows,"A recent ru\
146
+ le's rows",t)}}function rn(e,n,t){let s=n.match(at);s||e.fail(b("Staging data table rule",n,y.tables),t);let o=j(e,s[1],
147
+ "table",t);q(e,"tables",o,`### Tables names \`${o}\` twice; give each table one rule.`,t),e.model.tables.push({table:o,...an(
148
+ e,s[2],t)})}function cn(e,n,t){let s=n.match(Xt);s||e.fail(b("Staging data link",n,y.links),t);let o=ue(e,s[1],t),i=ue(e,
149
149
  s[2],t);s[1]===s[2]&&e.fail(`\`${s[1]}\` links to itself; a link names the column another column refers to.`,t),q(e,"lin\
150
- ks",s[1],`### Links links \`${s[1]}\` twice; a column refers to one column.`,t),e.model.links.push({from:a,to:i})}function rn(e,n,t){
151
- let s=n.match(Kt);s||e.fail(y("Staging data Keep together entry",n,S.keepTogether),t);let a=j(e,s[1],"table",t),i=j(e,s[2],
152
- "table",t),o=j(e,s[3],"column",t);a===i&&e.fail(`\`${a}\` keeps its own rows; Keep together names a parent table and anot\
153
- her table whose rows refer to it.`,t),q(e,"keepTogether",`${i}.${o}`,`### Keep together keeps \`${i}\` rows by \`${o}\` t\
154
- wice; name each once.`,t),e.model.keepTogether.push({parent:a,child:i,column:o})}function cn(e,n,t){if(n===at){e.entries.
150
+ ks",s[1],`### Links links \`${s[1]}\` twice; a column refers to one column.`,t),e.model.links.push({from:o,to:i})}function un(e,n,t){
151
+ let s=n.match(Zt);s||e.fail(b("Staging data Keep together entry",n,y.keepTogether),t);let o=j(e,s[1],"table",t),i=j(e,s[2],
152
+ "table",t),a=j(e,s[3],"column",t);o===i&&e.fail(`\`${o}\` keeps its own rows; Keep together names a parent table and anot\
153
+ her table whose rows refer to it.`,t),q(e,"keepTogether",`${i}.${a}`,`### Keep together keeps \`${i}\` rows by \`${a}\` t\
154
+ wice; name each once.`,t),e.model.keepTogether.push({parent:o,child:i,column:a})}function ln(e,n,t){if(n===rt){e.entries.
155
155
  contacts>0&&e.fail("`- Nothing.` under ### Contacts says no column holds one, so it is the heading's only entry.",t),e.contactsNothing=
156
156
  t;return}e.contactsNothing&&e.fail(`### Contacts says \`- Nothing.\` on line ${e.contactsNothing}: remove it, or this co\
157
- ntact.`,t);let s=n.match(it);s||e.fail(y("Staging data contact",n,S.contacts),t);let{table:a,column:i}=ue(e,s[1],t);Xt.includes(
158
- s[2])||e.fail(`Contact \`${s[1]}\` is an \`email\` or a \`phone\` column, written without backticks: ${S.contacts.slice(
157
+ ntact.`,t);let s=n.match(at);s||e.fail(b("Staging data contact",n,y.contacts),t);let{table:o,column:i}=ue(e,s[1],t);Jt.includes(
158
+ s[2])||e.fail(`Contact \`${s[1]}\` is an \`email\` or a \`phone\` column, written without backticks: ${y.contacts.slice(
159
159
  0,2).join(" or ")}.`,t),q(e,"contacts",s[1],`### Contacts names \`${s[1]}\` twice; name each column once.`,t),e.model.contacts.
160
- push({table:a,column:i,kind:s[2]})}var Ks=Object.freeze({tables:an,links:on,keepTogether:rn,contacts:cn});var ln=["Command values: the executable and every argument are separate backticked values separated by single spaces (at\
160
+ push({table:o,column:i,kind:s[2]})}var ti=Object.freeze({tables:rn,links:cn,keepTogether:un,contacts:ln});var dn=["Command values: the executable and every argument are separate backticked values separated by single spaces (at\
161
161
  most 64 values of at most 4096 characters, no line breaks). The executable is a name on PATH or a project-relative path\
162
162
  , never absolute and never containing `..`.","Runtimes are lowercase technology ids selected in the project's Stack, suc\
163
163
  h as `nodejs` or `php`. Paths are canonical project-relative paths; `.` is the project root.","A section containing only\
164
164
  `- Nothing.` explicitly declares nothing. Blank lines are ignored."].join(`
165
165
  `),u=e=>e.map(n=>` ${n}`).join(`
166
- `);function _({name:e,title:n,section:t,contract:s="",summary:a,body:i,example:o}){return{name:e,title:n,section:t,example:o,
166
+ `);function _({name:e,title:n,section:t,contract:s="",summary:o,body:i,example:a}){return{name:e,title:n,section:t,example:a,
167
167
  text:()=>[`# ${n}`,"",`Section: \`## ${t}\` in \`genesis/stack.md\`${s?`, contract \`${s}\``:""}. Vibe64 owns its gramma\
168
- r and meaning; Genesis transports the exact section text.`,"",a,"",i.trim(),"",ln,"","## Example","","```markdown",`## ${t}`,
169
- "",o.trim(),"```",""].join(`
170
- `)}}var pn=`
168
+ r and meaning; Genesis transports the exact section text.`,"",o,"",i.trim(),"",dn,"","## Example","","```markdown",`## ${t}`,
169
+ "",a.trim(),"```",""].join(`
170
+ `)}}var mn=`
171
171
  ### Target \`app\`: Application
172
172
 
173
173
  - Default.
@@ -184,7 +184,7 @@ r and meaning; Genesis transports the exact section text.`,"",a,"",i.trim(),"",l
184
184
  #### Preview identity
185
185
 
186
186
  - Command: \`tools/preview-identity\`
187
- - Protocol: \`${z}\`
187
+ - Protocol: \`${H}\`
188
188
  - Identity types: \`email\`
189
189
  - Enabled environment: \`APP_PREVIEW_IDENTITY_ENABLED\`
190
190
  - Secret environment: \`APP_PREVIEW_IDENTITY_SECRET\`
@@ -219,17 +219,17 @@ r and meaning; Genesis transports the exact section text.`,"",a,"",i.trim(),"",l
219
219
  - Path: \`exports/report.csv\`
220
220
  - Name: \`report.csv\`
221
221
  - Media type: \`text/csv\`
222
- `,dn=Object.freeze({empty:"Staging has its own database and it starts empty; the Deployment's Migrate makes its structur\
222
+ `,hn=Object.freeze({empty:"Staging has its own database and it starts empty; the Deployment's Migrate makes its structur\
223
223
  e. An application without this section has this.",full:"Staging's own database is built from a whole dump of production'\
224
224
  s. Needs Source and `### Contacts`.",sampled:"Staging's own database is built from a sample of that dump, by the recipe \
225
225
  below. Needs Source, Unlisted tables, `### Tables` and `### Contacts`; `### Links` and `### Keep together` are optional.",
226
226
  shared:"Staging uses production's database itself and nothing is copied. A host treats a Migrate on Staging as a migrati\
227
227
  on of production's database.",frozen:"as shared, and Staging never runs Migrate: its code must work with production's st\
228
- ructure as it is."}),li=Object.freeze([_({name:"workspace-setup",title:"Workspace setup",section:Ye,contract:qe,summary:"\
228
+ ructure as it is."}),Ei=Object.freeze([_({name:"workspace-setup",title:"Workspace setup",section:Xe,contract:Ye,summary:"\
229
229
  Ordered commands that prepare a session's working copy (dependencies, generated files, migrations) before any Output run\
230
230
  s.",body:`
231
231
  Each entry:
232
- ${u([Ke])}
232
+ ${u([Ze])}
233
233
 
234
234
  - \`\` in \`workdir\` \`\` runs the command in that project directory (default \`.\`).
235
235
  - \`\` when \`path\` exists \`\` waits: setup stays waiting until the path exists (for example a manifest the agent has not cr\
@@ -245,11 +245,11 @@ act recipe; changing any step runs setup again, and Outputs stay pending until i
245
245
  step. Keep every step repeatable and non-destructive.
246
246
  `,example:"\n- Prepare `Install dependencies` from `package.json` `package-lock.json` with `nodejs`: `npm` `ci`\n- Prepare\
247
247
  `Migrate database` with `nodejs` if `migrations` exists: `npm` `run` `db:migrate`\n- Prepare `Install client` with `node\
248
- js` in `client` when `client/package.json` exists: `npm` `ci`\n"}),_({name:"outputs",title:"Outputs",section:Ge,contract:Ue,
248
+ js` in `client` when `client/package.json` exists: `npm` `ci`\n"}),_({name:"outputs",title:"Outputs",section:We,contract:Be,
249
249
  summary:"The runnable targets Vibe64 offers: interactive terminal or web apps shown in Preview, and finite runs that pro\
250
250
  duce downloads.",body:`
251
251
  Headings, each target followed by its entries and then optional blocks:
252
- ${u(We)}
252
+ ${u(He)}
253
253
 
254
254
  Target entries:
255
255
  ${u($.target)}
@@ -264,7 +264,7 @@ ication must listen there. \`{parameter:id}\` may appear in any step argument.
264
264
  laywright --target <id>\`). \`development\` is the other value; omitting Data asserts nothing.
265
265
  - Workdir defaults to \`.\`.
266
266
 
267
- \`#### Parameter\` entries (at most ${Be} per target, each used in a step):
267
+ \`#### Parameter\` entries (at most ${ze} per target, each used in a step):
268
268
  ${u($.parameter)}
269
269
 
270
270
  Values are single-line text of at most 4096 characters; an omitted Default is empty; Required rejects blank values. Para\
@@ -286,17 +286,17 @@ ${u($.previewIdentity)}
286
286
 
287
287
  - The command is a committed, application-owned project-relative executable whose path contains \`/\`, without \`{host}\` or\
288
288
  \`{port}\`.
289
- - Enabled and Secret environment names are distinct uppercase names, not ${[...oe].join(", ")} or \`XDG_*\`. For an enable\
289
+ - Enabled and Secret environment names are distinct uppercase names, not ${[...ae].join(", ")} or \`XDG_*\`. For an enable\
290
290
  d web run Vibe64 sets the enabled name to \`true\` and the secret name to a fresh per-run secret; the application must kee\
291
291
  p its identity exchange disabled unless both are present.
292
292
  - The command's stdin/stdout protocol: \`vibe64-helper spec preview-identity-command\`. The configured account names: \`vib\
293
293
  e64-helper spec preview-identities\`.
294
- `,example:pn}),_({name:"deployment",title:"Deployment",section:ye,contract:be,summary:"The commands that turn a project \
294
+ `,example:mn}),_({name:"deployment",title:"Deployment",section:be,contract:Se,summary:"The commands that turn a project \
295
295
  revision into a running app, on Staging or in Production.",body:`
296
296
  Entries:
297
297
  ${u(M)}
298
298
 
299
- - Steps are ordered ${D.join(", ")}; exactly one Serve step comes last. Serve starts the long-running application, which\
299
+ - Steps are ordered ${C.join(", ")}; exactly one Serve step comes last. Serve starts the long-running application, which\
300
300
  listens on the address given by the \`HOST\` and \`PORT\` environment variables. Arguments are passed literally (no \`{host}\
301
301
  \` or \`{port}\` placeholders), so a server that takes its address only as arguments needs a committed project script that \
302
302
  reads them.
@@ -345,13 +345,13 @@ job that must run once. Such state belongs in a declared resource (a database, a
345
345
  - One Ready when entry is required (status 200 through 399). Workdir defaults to \`.\`. Each other entry appears at most o\
346
346
  nce.
347
347
  - Services: an application that runs as more than one kind of process (a different machine size, untrusted work kept apa\
348
- rt from secrets, scaling apart) lists them under headings ${J.map(e=>`\`\` ${e} \`\``).join(" and ")}, after the entries\
348
+ rt from secrets, scaling apart) lists them under headings ${Q.map(e=>`\`\` ${e} \`\``).join(" and ")}, after the entries\
349
349
  shared by every service (Workdir, Runtimes, Recreate on restore, Generated secrets, Setup code, Packages, and the Prepa\
350
350
  re, Build and Migrate steps: one build serves every service). Without such headings the Deployment is one public service\
351
351
  , \`web\`. With them, each service says its own Serve, Ready when, Instances and Sandbox allows, and none of these stays a\
352
352
  bove the headings. A service's id is a lowercase letter then up to 15 lowercase letters, digits and hyphens; there are 1\
353
353
  to 8, exactly one public. \`### Service\` entries:
354
- ${u(Q)}
354
+ ${u(ee)}
355
355
  Exposure, Serve, Ready when and Instances (1 to 100, the least first) are required. Needs at least is the smallest mac\
356
356
  hine it runs on, in whole vCPUs and GiB, never a provider's size name. Production is the count Production starts with (d\
357
357
  efault the least); after that its count is a running setting, set within Instances, never by a Deploy. Reached \`each ins\
@@ -361,7 +361,7 @@ secrets and values that differ per environment belong in the environment's Env.
361
361
  e host gives (\`APP_ENV\`, \`HOST\`, \`PORT\`, \`APP_PUBLIC_URL\`, \`TRUSTED_PROXIES\`, \`STAGING_REACHES_REAL_PEOPLE\`, any \`V64_\` \
362
362
  name), a generated secret, the setup code or a name a resource binds. A service's Packages come beside the shared ones.
363
363
  - \`### Resource\` entries, for a resource of \`## Resources\` by its id:
364
- ${u(ee)}
364
+ ${u(te)}
365
365
  For a bucket only: \`local folder\` means development gives the application no bucket settings and it keeps its files in\
366
366
  its own folder; \`own bucket\` (the default) lets the person enter a bucket's settings.
367
367
  - Recreate on restore lists project-relative globs (only \`*\` and \`**\`) that a restored app rebuilds with its Prepare ste\
@@ -397,30 +397,30 @@ message.to);\`
397
397
  `,example:"\n- Runtimes: `nodejs`\n- Recreate on restore: `node_modules`\n- Generated secrets: `SESSION_SECRET`\n- Prepare `\
398
398
  Install`: `npm` `ci`\n- Build `Build`: `npm` `run` `build`\n- Migrate `Migrate`: `npm` `run` `db:migrate`\n- Serve `Serve`:\
399
399
  `env` `NODE_ENV=production` `node` `server.js`\n- Ready when: `GET` `/health` returns `200`\n"}),_({name:"staging-data",
400
- title:"Staging data",section:nt,contract:tt,summary:"What Staging's database holds: a database of its own (empty, or bui\
400
+ title:"Staging data",section:it,contract:st,summary:"What Staging's database holds: a database of its own (empty, or bui\
401
401
  lt from a whole or sampled dump of production's) or production's database itself. Without the section Staging has its ow\
402
402
  n empty database.",body:`
403
403
  Entries before any heading, each at most once:
404
- ${u(S.section)}
404
+ ${u(y.section)}
405
405
 
406
406
  Headings, each at most once, in any order, each followed by its entries:
407
- ${u(ct)}
407
+ ${u(lt)}
408
408
 
409
409
  \`### Tables\` entries, each table once:
410
- ${u(S.tables)}
410
+ ${u(y.tables)}
411
411
 
412
412
  \`### Links\` entries, each from-column once:
413
- ${u(S.links)}
413
+ ${u(y.links)}
414
414
 
415
415
  \`### Keep together\` entries, each child table and column once:
416
- ${u(S.keepTogether)}
416
+ ${u(y.keepTogether)}
417
417
 
418
418
  \`### Contacts\` entries, each column once, or exactly \`- Nothing.\`:
419
- ${u(S.contacts)}
419
+ ${u(y.contacts)}
420
420
 
421
421
  - Database (always) names the database resource of the Stack's \`## Resources\`, of kind \`mysql\` or \`postgresql\`, whose St\
422
422
  aging data this is. Mode (always) is one of the phrases above, written without backticks:
423
- ${Object.entries(k).map(([e,n])=>` - \`${e}\`: ${dn[n]}`).join(`
423
+ ${Object.entries(k).map(([e,n])=>` - \`${e}\`: ${hn[n]}`).join(`
424
424
  `)}
425
425
  Only an own copy, full or sampled, has Source and \`### Contacts\`; only a sampled one has Unlisted tables, \`### Tables\`\
426
426
  , \`### Links\` and \`### Keep together\`. Whether Staging holds production's data, or uses its database, is the person's de\
@@ -434,9 +434,9 @@ oduction's database. \`{dump}\` is an argument of its own, exactly once, and the
434
434
  for \`mysql\`, SQL text as \`mariadb-dump\` or \`mysqldump\` writes it, plain or gzip-compressed, of one database's tables (ne\
435
435
  ver \`--databases\` or \`--all-databases\`); for \`postgresql\`, \`pg_dump\` custom format (\`-Fc\`).
436
436
  - Tables: \`all\` keeps every row, \`none\` keeps the table empty, and \`\` recent by \`column\` \`\` keeps the rows whose column \
437
- is in the last \`n\` days (${A.days.join(" to ")}), the newest \`n\` rows by that column (${A.rows.join(" to ")}), or bo\
437
+ is in the last \`n\` days (${N.days.join(" to ")}), the newest \`n\` rows by that column (${N.rows.join(" to ")}), or bo\
438
438
  th: the newest \`n\` of the last \`n\` days. Unlisted tables: a table \`### Tables\` doesn't list is copied whole when it has \
439
- at most \`n\` rows (${A.unlistedRows.join(" to ")}); a larger one needs a rule of its own.
439
+ at most \`n\` rows (${N.unlistedRows.join(" to ")}); a larger one needs a rule of its own.
440
440
  - A host also keeps every row a kept row refers to, through the database's own foreign keys and \`### Links\`, which names\
441
441
  a column that refers to another column without a foreign key saying so. \`### Keep together\` goes the other way: for eve\
442
442
  ry kept \`parent\` row, every \`child\` row whose \`column\` refers to it is kept too. A host loads the copy with the database\
@@ -452,13 +452,13 @@ de` `scripts/production-dump.js` `{dump}`\n- Unlisted tables: all up to `10000`
452
452
  obs`: recent by `created_at`, last `180` days\n- `job_events`: recent by `id`, newest `200000` rows\n- `messages`: recent \
453
453
  by `sent_at`, last `90` days, newest `50000` rows\n- `sessions`: none\n\n### Links\n\n- `jobs.vessel_id` to `vessels.id`\n\n###\
454
454
  Keep together\n\n- `invoices` keeps every `invoice_lines` row by `invoice_id`\n\n### Contacts\n\n- `users.email`: email\n- `us\
455
- ers.mobile`: phone\n"}),_({name:"packaging",title:"Packaging",section:_e,contract:Se,summary:"Source facts Vibe64 needs \
455
+ ers.mobile`: phone\n"}),_({name:"packaging",title:"Packaging",section:_e,contract:ye,summary:"Source facts Vibe64 needs \
456
456
  to turn this project into distributable packages: registry packages, static web bundles and generated mobile app shells.\
457
457
  Where each package is published (targets, channels, builders) is Vibe64 project state, never this section.",body:`
458
458
  Headings: \`\` ${we} \`\`, each followed by entries:
459
- ${u(Te)}
459
+ ${u(ve)}
460
460
 
461
- - Packers (closed set): ${se.map(e=>`\`${e}\``).join(", ")}. Package ids are unique lowercase ids with single hyphens.
461
+ - Packers (closed set): ${ie.map(e=>`\`${e}\``).join(", ")}. Package ids are unique lowercase ids with single hyphens.
462
462
  - \`npm\`: Version from \`package.json\` or \`external\`; Vibe64 runs \`npm pack\` in Workdir after the optional Prepare and Bui\
463
463
  ld steps.
464
464
  - \`python-dist\`: Build (for example \`python\` \`-m\` \`build\`), Output (for example \`dist\`) and Version from \`pyproject.toml\
@@ -482,44 +482,52 @@ dependencies`: `npm` `ci`\n- Build `Build bundled client`: `npm` `run` `build`\n
482
482
  Platforms: `android`\n- Id: `com.example.notes`\n- Name: `Notes`\n- Icon: `assets/icon-1024.png`\n- Version from: `package.\
483
483
  json`\n- Deep link scheme from: `APP_URL_SCHEME`\n- Permission `camera`: Take photos to attach to notes.\n\n### Package `sdk\
484
484
  `: Notes SDK\n\n- Packer: `npm`\n- Workdir: `packages/notes-sdk`\n- Runtimes: `nodejs`\n- Version from: `package.json`\n"}),
485
- _({name:"resource-estimates",title:"Resource estimates",section:Ze,contract:Xe,summary:"Optional memory planning hints f\
485
+ _({name:"resource-estimates",title:"Resource estimates",section:Qe,contract:Je,summary:"Optional memory planning hints f\
486
486
  or Outputs and Workspace setup. They are not observed usage, reservations, minimum requirements or granted limits; the e\
487
487
  xecution host owns those choices.",body:`
488
488
  Headings: \`\` ### Output \`id\` \`\` (an id declared in Outputs) or \`### Workspace setup\` (requires declared setup steps), ea\
489
489
  ch followed by fields:
490
- ${u([...Qe.keys()].map(e=>`- ${e}: \`number\``))}
490
+ ${u([...tt.keys()].map(e=>`- ${e}: \`number\``))}
491
491
 
492
492
  - An interactive output declares the four Startup and Running fields. A finite output and Workspace setup declare only T\
493
493
  ypical MiB and High MiB.
494
- - Values are integer MiB from 1 through ${Je}; typical never exceeds high. Duplicate operations or fields and unknown fi\
494
+ - Values are integer MiB from 1 through ${et}; typical never exceeds high. Duplicate operations or fields and unknown fi\
495
495
  elds are rejected. The section is at most 64 KiB and 2048 lines.
496
496
  - Invalid estimates never change Outputs availability or setup readiness; the host then uses its generic policy. Changin\
497
497
  g only estimates does not rerun setup.
498
498
  `,example:"\n### Output `app`\n\n- Startup typical MiB: `1024`\n- Startup high MiB: `1536`\n- Running typical MiB: `768`\n- Ru\
499
499
  nning high MiB: `1536`\n\n### Workspace setup\n\n- Typical MiB: `1024`\n- High MiB: `1536`\n"}),_({name:"connected-devel\
500
- opment",title:"Connected development",section:$e,contract:Pe,summary:"How this project consumes the working source of it\
500
+ opment",title:"Connected development",section:Me,contract:Le,summary:"How this project consumes the working source of it\
501
501
  s connected repositories (its own dependencies under development) in a session.",body:`
502
502
  Entries:
503
- ${u(Me)}
504
-
505
- - Declare a Default package type alone, or a Sources file with Verify entries or a Custom runner (keeping any Default pa\
506
- ckage type). All Prepare entries precede Verify entries. Steps run unconditionally (no \`when\`/\`if\`); at most one Custom \
507
- runner.
508
- - Package types: ${ie.map(({value:e})=>`\`${e}\``).join(", ")}. A type is a declared label: Vibe64 never runs a package \
509
- manager for it. This project's own Prepare/Verify commands give each connected source its ecosystem's treatment, and Ver\
510
- ify must prove that the source is consumed.
503
+ ${u(Ve)}
504
+
505
+ - Declare a Default package type, a Sources file, or both. Prepare, Verify and Save entries and a Custom runner need the\
506
+ Sources file. All Prepare entries precede Verify entries, and Save entries come last. Steps run unconditionally (no \`wh\
507
+ en\`/\`if\`); at most one Custom runner.
508
+ - Save entries run when the session is saved, after its connected copies are saved and their pins recorded, before the p\
509
+ roject's own commit, which takes what they change; one that fails stops that commit. Use them for what Vibe64 does not r\
510
+ ecord itself, such as a custom connection's release state. A \`composition\` connection needs none for its pin: Save write\
511
+ s \`${De}\` (schema \`${$e}\`: \`{"repositories":[{"name","repository","commit","tree"}]}\`) with each composition's saved \
512
+ commit, in the same commit, so the project's composer reads the pin from there. A typed \`dependency\` has no pin: Save mo\
513
+ ves the project's own manifest and lock to a newly published version, and Staging and Production install what they name.\
514
+
515
+ - Package types: ${oe.map(({value:e})=>`\`${e}\``).join(", ")}. For every type but \`custom\`, Vibe64 itself puts each \`de\
516
+ pendency\` connection in effect in the session (its own step after every Prepare entry) and proves it (its own check afte\
517
+ r every Verify entry), with no project command; \`- Default package type: <type>\` alone is enough. Project Prepare/Verify\
518
+ entries are for what Vibe64 does not do: a \`composition\` connection needs a Verify entry proving the project assembles \
519
+ it. A \`gradle\` connection needs no flag: every command of the session gets its own Gradle user home, whose init.d includ\
520
+ es the connected checkouts.
511
521
  - The Sources file is a development-only path outside \`.git\`, never tracked; Vibe64 writes it when it prepares the sessi\
512
- on's connected repositories and excludes it from Git. Its JSON: \`{"schema":"${De}","sessionId":"\u2026","repositories":[{"na\
522
+ on's connected repositories and excludes it from Git. Its JSON: \`{"schema":"${Ce}","sessionId":"\u2026","repositories":[{"na\
513
523
  me":"\u2026","repository":"https://github.com/owner/repo","relationship":"dependency|composition","type":"npm","sourceRoot":"\
514
524
  /absolute/session/connected/repo"}]}\`; each \`sourceRoot\` is this session's own copy of that repository, and a custom con\
515
525
  nection also carries \`"script"\`.
516
- - Custom connections: ${Ce}
517
- `,example:"\n- Default package type: `npm`\n- Sources file: `.connected-sources.json`\n- Prepare `Link connected packages` \
518
- with `nodejs`: `node` `tools/link-connected.mjs`\n- Verify `Check connected packages` with `nodejs`: `node` `tools/verify\
519
- -connected.mjs`\n"}),_({name:"project-services",title:"Project services",section:ze,contract:He,summary:"Foreground help\
520
- er processes (workers, local reference services) that Vibe64 starts before an Output.",body:`
526
+ - Custom connections: ${Pe}
527
+ `,example:"\n- Default package type: `npm`\n"}),_({name:"project-services",title:"Project services",section:Fe,contract:Ke,
528
+ summary:"Foreground helper processes (workers, local reference services) that Vibe64 starts before an Output.",body:`
521
529
  Entries:
522
- ${u([Fe])}
530
+ ${u([qe])}
523
531
 
524
532
  - Service ids are unique, start with a lowercase letter and use up to 64 lowercase letters, digits and hyphens. Workdir \
525
533
  defaults to \`.\`.
@@ -531,16 +539,16 @@ ver spawn untracked background work.
531
539
  rd the address in the session's ignored runtime folder) and check your own instance's readiness. Never assume a shared f\
532
540
  ixed port.
533
541
  `,example:"\n- Start `worker` with `nodejs` in `tools`: `npm` `run` `worker`\n- Start `reference` per session with `nodejs\
534
- `: `npm` `run` `reference:service`\n"}),_({name:"integration-setup",title:"Integration setup",section:Ve,contract:Le,summary:"\
542
+ `: `npm` `run` `reference:service`\n"}),_({name:"integration-setup",title:"Integration setup",section:xe,contract:je,summary:"\
535
543
  The one application-owned command the editor's Integrations controls call to configure, connect and check the applicatio\
536
544
  n's external integrations.",body:`
537
545
  Exactly one entry:
538
- ${u([je])}
546
+ ${u([Ue])}
539
547
 
540
548
  The command's request/response protocol and the \`integrations.json\` usage: \`vibe64-helper spec integration-setup-command\
541
549
  \`.
542
550
  `,example:"\n- Command with `nodejs` in `.`: `node` `scripts/integrations.js`\n"}),_({name:"architecture-inspection",title:"\
543
- Architecture inspection",section:Re,contract:ve,summary:"Optional project-owned inspectors that the Architecture view ru\
551
+ Architecture inspection",section:Re,contract:Te,summary:"Optional project-owned inspectors that the Architecture view ru\
544
552
  ns to observe the application's structure (pages, routes, entry points).",body:`
545
553
  Headings: \`\` ### Inspector \`id\`: Title \`\`, each followed by fields:
546
554
  ${u(Object.entries(L).map(([e,[,n]])=>`- ${e}: ${n}`))}
@@ -554,13 +562,13 @@ ject files before the inspector runs.
554
562
  inked package folder (\`node_modules/<name>\` or \`node_modules/@scope/<name>\`); the file must stay inside that package's r\
555
563
  eal folder.
556
564
  - On analysis the command receives one \`jskit.architecture-inspection-input.v1\` JSON request on stdin (files with hashes\
557
- , packages, package identity, UI discovery, the Stack hash and an optional \`cacheDirectory\`) and must print one \`${un}\
565
+ , packages, package identity, UI discovery, the Stack hash and an optional \`cacheDirectory\`) and must print one \`${pn}\
558
566
  \` JSON document; Genesis owns that observation schema.
559
567
  - \`cacheDirectory\` is an absolute directory for this inspector alone, outside the source; the inspector may read and wri\
560
568
  te only there. When it is absent or unusable, inspect without a cache. Ignore unknown request fields.
561
569
  `,example:"\n### Inspector `ui`: UI routes\n\n- Runtime: `nodejs`\n- Directory: `.`\n- Command: `node` `tools/inspect-ui.mjs`\
562
570
  \n- Timeout seconds: `30`\n- Max output bytes: `1048576`\n- Entry files: `src/main.js`\n"}),_({name:"architecture-layout",
563
- title:"Architecture layout",section:Ne,contract:Ae,summary:"Presentation groups for the Architecture view. Declarations \
571
+ title:"Architecture layout",section:Ae,contract:Ne,summary:"Presentation groups for the Architecture view. Declarations \
564
572
  neither discover subsystems nor change their ownership.",body:`
565
573
  Headings: \`\` ### Group \`id\`: Title \`\`, each followed by:
566
574
  - Kind: ${V.map(e=>`\`${e}\``).join(" or ")}
@@ -571,4 +579,4 @@ Headings: \`\` ### Group \`id\`: Title \`\`, each followed by:
571
579
  - A Subsystem is a directory root from \`genesis/subsystems.md\`; each root is placed once. A missing root is reported, ne\
572
580
  ver invented.
573
581
  `,example:"\n### Group `shared`: Shared libraries\n\n- Kind: `libraries`\n- Purpose: `Code reused by every surface.`\n- Subsy\
574
- stem: `packages/shared`\n"})]);export{li as VIBE64_GENESIS_AGENT_SPECS};
582
+ stem: `packages/shared`\n"})]);export{Ei as VIBE64_GENESIS_AGENT_SPECS};