vibe64 0.1.34 → 0.1.36

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 (207) hide show
  1. package/bin/run.js +1919 -1660
  2. package/bin/server.js +158 -111
  3. package/bin/upgrade-state.js +5783 -5605
  4. package/dist/assets/GithubBrowserTabs-BzJF4k9Y.js +1 -0
  5. package/dist/assets/{StudioErrorNotice-sQfmeR-z.js → StudioErrorNotice-BdllGqRy.js} +1 -1
  6. package/dist/assets/{Vibe64AsyncModuleState-Dx7YKRPp.js → Vibe64AsyncModuleState-Bi0TqlIu.js} +1 -1
  7. package/dist/assets/Vibe64AuthSettingsButton-BuvmwGiT.js +5 -0
  8. package/dist/assets/Vibe64AuthSettingsButton-M44SSmZ9.css +1 -0
  9. package/dist/assets/{Vibe64DashboardBackButton-yE6cyYg2.js → Vibe64DashboardBackButton-Ccd4hpD6.js} +1 -1
  10. package/dist/assets/Vibe64DashboardShell-D67m4aWz.js +1 -0
  11. package/dist/assets/{Vibe64DashboardShell-MBkUHjs-.css → Vibe64DashboardShell-De2mbdpI.css} +1 -1
  12. package/dist/assets/{Vibe64DatabaseWorkspace-BONJdxBS.js → Vibe64DatabaseWorkspace-D3uK1gDm.js} +3 -3
  13. package/dist/assets/{Vibe64DatabaseWorkspace-CR4pzzcf.css → Vibe64DatabaseWorkspace-DPDMxhAW.css} +1 -1
  14. package/dist/assets/Vibe64OutputControls-BfESn5kJ.js +8 -0
  15. package/dist/assets/Vibe64OutputControls-D2CCECo5.css +1 -0
  16. package/dist/assets/{Vibe64RepositoryWorkspace-ByQlZbyO.js → Vibe64RepositoryWorkspace-0jAxvdA8.js} +2 -2
  17. package/dist/assets/{Vibe64RepositoryWorkspace-CVHcT93M.css → Vibe64RepositoryWorkspace-Agyt4O-V.css} +1 -1
  18. package/dist/assets/Vibe64SessionFiles-B3ONZrBL.css +1 -0
  19. package/dist/assets/Vibe64SessionFiles-BCOJ4QmR.js +41 -0
  20. package/dist/assets/{Vibe64TemporaryAiFixAction-BGlcrq4d.js → Vibe64TemporaryAiFixAction-DM2jpPbQ.js} +1 -1
  21. package/dist/assets/{Vibe64UiStoryboardView-Brlwdvqi.js → Vibe64UiStoryboardView-DP5af46a.js} +1 -1
  22. package/dist/assets/{Vibe64UnavailableSessions-zwlWlcZD.js → Vibe64UnavailableSessions-C7XwH1SS.js} +1 -1
  23. package/dist/assets/{_sessionId_-CvOkQbVy.js → _sessionId_-B1Ymr7c_.js} +1 -1
  24. package/dist/assets/{_sessionTool_-Dwod5ns9.js → _sessionTool_-DVYdREoI.js} +1 -1
  25. package/dist/assets/_slug_-CQseA9pt.css +1 -0
  26. package/dist/assets/_slug_-CYO2vjCd.js +24 -0
  27. package/dist/assets/{access-BVu5XYm2.js → access-Cb7dkN53.js} +1 -1
  28. package/dist/assets/app-BvgY7oVf.js +1 -0
  29. package/dist/assets/app-CZu7oxUO.css +1 -0
  30. package/dist/assets/{assistantRouting-CwbwfkwB.js → assistantRouting-B38ujQ7x.js} +1 -1
  31. package/dist/assets/{changes-olY8cnFK.js → changes-lsBcuikn.js} +1 -1
  32. package/dist/assets/client-CRI5CNKl.js +2 -0
  33. package/dist/assets/client-TGaWwOhc.css +1 -0
  34. package/dist/assets/conversation-CDEt9jBx.js +17 -0
  35. package/dist/assets/conversation-vxJGwmtW.css +1 -0
  36. package/dist/assets/{dashboard-BnXD-H4R.js → dashboard-D8HOAw46.js} +1 -1
  37. package/dist/assets/definitions-DLTX17nI.js +1 -0
  38. package/dist/assets/{env-DJhnLOH7.css → env-BzRtyO0w.css} +1 -1
  39. package/dist/assets/env-DJezQixO.js +1 -0
  40. package/dist/assets/health-BJvooRnJ.css +1 -0
  41. package/dist/assets/health-CtKdN_Nf.js +1 -0
  42. package/dist/assets/{history-BxlpB-YH.js → history-BdZFOtz4.js} +1 -1
  43. package/dist/assets/{incoming-BOxRVlOM.js → incoming-VsQNnL9m.js} +1 -1
  44. package/dist/assets/index-C-osVUKw.css +1 -0
  45. package/dist/assets/index-C4K3ntms.js +138 -0
  46. package/dist/assets/{integrations-BFltGDVI.js → integrations-CMQ9EDmt.js} +2 -2
  47. package/dist/assets/issues-DHpY5hSr.js +1 -0
  48. package/dist/assets/learning-DXlMuwzh.js +1 -0
  49. package/dist/assets/mdi-yXT-CQ6u.js +1 -0
  50. package/dist/assets/placement-NpX2s7u8.js +1 -0
  51. package/dist/assets/pull-requests-BcKNEUYH.js +1 -0
  52. package/dist/assets/{repository-JWLVST3D.js → repository-ClEgntHW.js} +1 -1
  53. package/dist/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
  54. package/dist/assets/{session-C5Nj8Dlq.js → session-BlD46q-d.js} +1 -1
  55. package/dist/assets/settings-BwukeIKe.js +1 -0
  56. package/dist/assets/shared-BM2SV6fi.js +2 -0
  57. package/dist/assets/studioGateApi-DcCqiD9V.js +1 -0
  58. package/dist/assets/studioUrls-DmMMIScP.js +1 -0
  59. package/dist/assets/useArchivedVibe64Sessions-D5zUA-BC.js +1 -0
  60. package/dist/assets/useCommand-Bqxb-naz.js +1 -0
  61. package/dist/assets/useEndpointResource-DWoQ2keu.js +1 -0
  62. package/dist/assets/useRealtimeEvent-Bwapstla.js +1 -0
  63. package/dist/assets/{useUiFeedback-0FqKuZRP.js → useUiFeedback-BPBF_0bp.js} +1 -1
  64. package/dist/assets/useVibe64ConversationLog-Dy6YTPQn.js +1 -0
  65. package/dist/assets/useVibe64DatabaseTools-d6L09ugW.js +1 -0
  66. package/dist/assets/useVibe64Learning-cNKTv64W.js +1 -0
  67. package/dist/assets/useVibe64ProjectScope-Bp1ImZlz.js +1 -0
  68. package/dist/assets/useVibe64SessionData-C_jqncih.js +1 -0
  69. package/dist/assets/useVibe64SessionSelection-uCEIWd3b.js +1 -0
  70. package/dist/assets/useVibe64SystemGraph-B4RmsC9Y.js +1 -0
  71. package/dist/assets/{useVibe64Terminal-BPnN25WH.js → useVibe64Terminal-BbghGR4x.js} +1 -1
  72. package/dist/assets/vibe64AssistantHost-BL1bnKm8.js +1 -0
  73. package/dist/assets/{vibe64SessionFocus-kqPOPaOH.js → vibe64SessionFocus-DSJKVuRN.js} +1 -1
  74. package/dist/assets/{vibe64SessionInfo-BHxtTrLX.js → vibe64SessionInfo-B_r1OMN0.js} +1 -1
  75. package/dist/assets/{vibe64SessionPanelModel-BMf64fv7.js → vibe64SessionPanelModel-DDorOuiL.js} +1 -1
  76. package/dist/assets/{vibe64SessionToolDefinitions-NfLd1HZI.js → vibe64SessionToolDefinitions-BualCK_5.js} +1 -1
  77. package/dist/index.html +21 -20
  78. package/docs/colleague-usage/account-profile-and-appearance.md +8 -2
  79. package/docs/colleague-usage/ai-accounts-and-routing.md +123 -15
  80. package/docs/colleague-usage/ai-onboarding.md +230 -0
  81. package/docs/colleague-usage/coding-agent-goal-pause.md +5 -5
  82. package/docs/colleague-usage/coding-agents.md +17 -0
  83. package/docs/colleague-usage/colleague-watches.md +4 -23
  84. package/docs/colleague-usage/colleague.md +10 -2
  85. package/docs/colleague-usage/connected-projects.md +2 -2
  86. package/docs/colleague-usage/conversation-context.md +2 -0
  87. package/docs/colleague-usage/dashboard-navigation.md +19 -27
  88. package/docs/colleague-usage/database.md +6 -11
  89. package/docs/colleague-usage/development-copies.md +2 -1
  90. package/docs/colleague-usage/development-env.md +6 -0
  91. package/docs/colleague-usage/github-work.md +9 -0
  92. package/docs/colleague-usage/health-checks.md +11 -5
  93. package/docs/colleague-usage/integrations.md +3 -1
  94. package/docs/colleague-usage/learning-code-questions.md +23 -51
  95. package/docs/colleague-usage/learning-course-catalogue.md +8 -6
  96. package/docs/colleague-usage/learning-environment.md +345 -0
  97. package/docs/colleague-usage/learning-history.md +70 -101
  98. package/docs/colleague-usage/learning-mode-ui.md +122 -214
  99. package/docs/colleague-usage/learning-practice-projects.md +168 -78
  100. package/docs/colleague-usage/learning-teacher-guide.md +48 -26
  101. package/docs/colleague-usage/learning-with-colleague.md +171 -216
  102. package/docs/colleague-usage/lesson-authoring.md +32 -24
  103. package/docs/colleague-usage/managed-app-access.md +7 -0
  104. package/docs/colleague-usage/message-delivery-recovery.md +7 -6
  105. package/docs/colleague-usage/preview-browser-checks.md +9 -1
  106. package/docs/colleague-usage/preview-starting-application.md +0 -1
  107. package/docs/colleague-usage/preview.md +9 -1
  108. package/docs/colleague-usage/project-messages.md +2 -2
  109. package/docs/colleague-usage/project-setup.md +9 -2
  110. package/docs/colleague-usage/running-vibe64-on-your-computer.md +61 -0
  111. package/docs/colleague-usage/sessions.md +25 -33
  112. package/docs/colleague-usage/teaching-content.md +11 -40
  113. package/docs/colleague-usage/temporary-chats.md +23 -2
  114. package/docs/colleague-usage/voice-chat.md +5 -10
  115. package/docs/colleague-usage/voice-face-and-speaking-voice.md +6 -8
  116. package/docs/colleague-usage/voice-recovery.md +3 -2
  117. package/docs/templates/learn-topic/README.md +6 -6
  118. package/docs/templates/learn-topic/training/lessons/TOPIC-01/lesson.json +28 -7
  119. package/docs/templates/learn-topic/training/lessons/TOPIC-01/notes.md +19 -0
  120. package/docs/templates/learn-topic/training/lessons/TOPIC-01/steps/check-understanding.md +3 -0
  121. package/docs/templates/learn-topic/training/lessons/TOPIC-01/steps/explain-idea.md +3 -0
  122. package/docs/templates/learn-topic/training/lessons/TOPIC-01/steps/try-it.md +3 -0
  123. package/docs/templates/learn-topic/training/outline.md +1 -1
  124. package/docs/training-content.md +179 -65
  125. package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
  126. package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
  127. package/node_modules/@jskit-ai/assistant-runtime/patterns/assistant-surface/PATTERN.md +3 -2
  128. package/node_modules/@jskit-ai/assistant-runtime/patterns/assistant-surface/example/integrations.json +3 -2
  129. package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
  130. package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
  131. package/node_modules/@jskit-ai/connectors-catalog/patterns/ai-connections/PATTERN.md +4 -3
  132. package/node_modules/@jskit-ai/connectors-catalog/src/shared/ai-models.json +0 -1
  133. package/node_modules/@local/vibe64-accounts/package.json +1 -0
  134. package/node_modules/@local/vibe64-colleague/package.json +2 -1
  135. package/node_modules/@local/vibe64-core/package.json +3 -0
  136. package/node_modules/@local/vibe64-execution/package.json +1 -0
  137. package/node_modules/@local/vibe64-execution/src/server/engines/stdioBridge.js +9 -9
  138. package/node_modules/@local/vibe64-genesis/README.md +10 -37
  139. package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +790 -779
  140. package/node_modules/@local/vibe64-genesis/package.json +1 -0
  141. package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +255 -0
  142. package/node_modules/@local/vibe64-genesis/src/server/index.js +473 -450
  143. package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +148 -148
  144. package/node_modules/@local/vibe64-project/package.json +2 -1
  145. package/node_modules/@local/vibe64-runtime/package.json +1 -2
  146. package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +526 -512
  147. package/node_modules/@local/vibe64-runtime/src/shared/assistantRoutingScores.json +0 -1
  148. package/node_modules/@local/vibe64-source-editor/package.json +1 -0
  149. package/node_modules/@local/vibe64-terminals/package.json +1 -0
  150. package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +129 -131
  151. package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +1508 -1456
  152. package/node_modules/@local/vibe64-training/package.json +13 -27
  153. package/package.json +7 -7
  154. package/server.bundle.mjs +40946 -41456
  155. package/dist/assets/GithubBrowserTabs-DO5PHon-.js +0 -1
  156. package/dist/assets/GithubMarkdown-BQ6MfCDJ.js +0 -3
  157. package/dist/assets/GithubMarkdown-U7-j-qNI.css +0 -1
  158. package/dist/assets/Vibe64DashboardShell-CuCVMhOc.js +0 -1
  159. package/dist/assets/Vibe64OutputControls-DAAmA09l.js +0 -8
  160. package/dist/assets/Vibe64OutputControls-DPBsyDZM.css +0 -1
  161. package/dist/assets/Vibe64SessionFiles-B0u9HKdF.js +0 -107
  162. package/dist/assets/Vibe64SessionFiles-NjOMVwPR.css +0 -1
  163. package/dist/assets/_slug_-B31c15cc.css +0 -1
  164. package/dist/assets/_slug_-Dy35qLo1.js +0 -1
  165. package/dist/assets/app-DRXCcv05.css +0 -1
  166. package/dist/assets/app-zt7HwQKT.js +0 -1
  167. package/dist/assets/client-BrV4QPwG.js +0 -2
  168. package/dist/assets/client-C1bwIlu6.css +0 -1
  169. package/dist/assets/definitions-DaOPIkyB.js +0 -1
  170. package/dist/assets/env-DN0vW4EI.js +0 -1
  171. package/dist/assets/health-7oIQODer.css +0 -1
  172. package/dist/assets/health-Z6m96GDr.js +0 -1
  173. package/dist/assets/index-BUq-MczL.js +0 -86
  174. package/dist/assets/index-DtmBqE3h.css +0 -1
  175. package/dist/assets/issues-1iS5zoed.js +0 -1
  176. package/dist/assets/layout-BkWVNT37.js +0 -1
  177. package/dist/assets/mdi-C54lQ0i_.js +0 -1
  178. package/dist/assets/placement-DLsU3pCW.js +0 -1
  179. package/dist/assets/pull-requests-BJOwNL4k.js +0 -1
  180. package/dist/assets/settings-c273Ikrm.js +0 -1
  181. package/dist/assets/shared-YZb7ocaK.js +0 -2
  182. package/dist/assets/studioGateApi-DhA9IJGZ.js +0 -1
  183. package/dist/assets/studioUrls-Dj8rXeXO.js +0 -1
  184. package/dist/assets/useArchivedVibe64Sessions-CVZx2Rtm.js +0 -1
  185. package/dist/assets/useCommand-DWuxfAV0.js +0 -1
  186. package/dist/assets/useEndpointResource-MWVNfmMa.js +0 -1
  187. package/dist/assets/useVibe64ConversationLog-8cKh1eDm.js +0 -1
  188. package/dist/assets/useVibe64DatabaseTools-BcRG1s3i.js +0 -1
  189. package/dist/assets/useVibe64LearningMode-Bl0dGdCh.js +0 -28
  190. package/dist/assets/useVibe64LearningMode-C3PcXdVg.css +0 -1
  191. package/dist/assets/useVibe64ProjectScope-DOEVkBqX.js +0 -1
  192. package/dist/assets/useVibe64SessionData-DFTyLzci.js +0 -1
  193. package/dist/assets/useVibe64SessionSelection-j9lsllx4.js +0 -1
  194. package/dist/assets/useVibe64SystemGraph-tNkIwSBQ.js +0 -1
  195. package/dist/assets/vibe64AssistantHost-DdE_-lZF.js +0 -1
  196. package/dist/assets/vibe64LessonDashboard-DlKYjisq.js +0 -1
  197. package/dist/assets/vibe64ProjectScope.local-DqT6e5un.js +0 -1
  198. package/docs/colleague-usage/learning-chat-retention.md +0 -74
  199. package/docs/colleague-usage/learning-diagrams-and-voice.md +0 -97
  200. package/docs/colleague-usage/learning-lesson-watch.md +0 -95
  201. package/docs/colleague-usage/learning-native-session.md +0 -206
  202. package/docs/colleague-usage/learning-practical-exercises.md +0 -71
  203. package/docs/colleague-usage/learning-practical-gestures.md +0 -48
  204. package/docs/colleague-usage/learning-session-creation.md +0 -95
  205. package/docs/colleague-usage/lesson-practical-assessment.md +0 -54
  206. package/docs/colleague-usage/preview-lesson-presentation.md +0 -56
  207. package/docs/templates/learn-topic/training/lessons/TOPIC-01/lesson.md +0 -44
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./server": "./src/server/index.js",
8
+ "./server/agentSpecs": "./src/server/agentSpecs.js",
8
9
  "./server/promptContext": "./src/server/promptContext.js",
9
10
  "./shared/connectedPackageTypes": "./src/shared/connectedPackageTypes.js"
10
11
  }
@@ -0,0 +1,255 @@
1
+ import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
2
+ import{ARCHITECTURE_OBSERVATIONS_SCHEMA as Z}from"genesis-compiler";var te=Object.freeze({VIBE64_WORKSPACE_SETUP_INVALID:"workspace-setup",VIBE64_OUTPUTS_INVALID:"outputs",VIBE64_DEPLOYMENT_INVALID:"\
3
+ deployment",VIBE64_RESOURCE_ESTIMATES_INVALID:"resource-estimates",VIBE64_CONNECTED_DEVELOPMENT_INVALID:"connected-devel\
4
+ opment",VIBE64_PROJECT_SERVICES_INVALID:"project-services",VIBE64_INTEGRATION_SETUP_INVALID:"integration-setup",VIBE64_ARCHITECTURE_INSPECTION_INVALID:"\
5
+ architecture-inspection",VIBE64_ARCHITECTURE_LAYOUT_INVALID:"architecture-layout"});var B="- Recreate on restore: ",W=Object.freeze({prepare:0,build:1,migrate:2,serve:3}),f=Object.keys(W).map(e=>e[0].toUpperCase()+
6
+ e.slice(1)),I=Object.freeze(["- Workdir: `path`","- Runtimes: `runtime`...",`${B}\`glob\`...`,"- Ready when: `GET` `/pat\
7
+ h` returns `200`",`- ${f.join("|")} \`label\`: \`command\` \`argument\`...`]);var h=Object.freeze({Runtime:["runtimeRequirements","`runtime`..."],Directory:["workdir","`path`"],Command:["argv","`com\
8
+ mand` `argument`..."],"Timeout seconds":["timeout","`1` through `60`"],"Max output bytes":["maxBuffer",`\`1\` through \`${4*
9
+ 1024*1024}\``],"Entry files":["entryFiles","`path`... (optional)"],"Required files":["requiredFiles","`path`... (optiona\
10
+ l)"]}),oe=new RegExp(`^- (${Object.keys(h).join("|")}): (.+)$`,"u");var O=Object.freeze(["layer","libraries","support"]);var _="- Prepare `label` with `runtime` [in `workdir`] [when|if `path` exists]: `command` `argument`...";var H="custom",k="vibe64.connected-sources.v1",g=Object.freeze([Object.freeze({value:"npm",label:"npm (Node.js)"}),Object.
11
+ freeze({value:"composer",label:"Composer (PHP)"}),Object.freeze({value:"pip",label:"pip (Python)"}),Object.freeze({value:"\
12
+ bundler",label:"Bundler (Ruby)"}),Object.freeze({value:"gomod",label:"Go modules"}),Object.freeze({value:"cargo",label:"\
13
+ Cargo (Rust)"}),Object.freeze({value:"maven",label:"Maven"}),Object.freeze({value:"gradle",label:"Gradle"}),Object.freeze(
14
+ {value:"nuget",label:"NuGet (.NET)"}),Object.freeze({value:H,label:"custom"})]),N="Vibe64's preparer appends the absolut\
15
+ e script path and --phase prepare|verify, --source-root <receiving source>, --project-root <consuming project>, --source\
16
+ s-file <absolute Sources file> and --repository <GitHub URL> arguments to the Stack's Custom runner command, once per ph\
17
+ ase; execution checks the script remains inside the consuming project.",de=Object.freeze(g.map(e=>e.value));var E="with `runtime` [in `workdir`]: `command` `argument`...",A=Object.freeze(["- Default package type: `type`","- Sour\
18
+ ces file: `path`",`- Prepare \`label\` ${E}`,`- Verify \`label\` ${E}`,`- Custom runner ${E}`]);var D="- Command with `runtime` in `workdir`: `command` `argument`...";var T="vibe64.preview-identity.command.v1";var C=new Set(["HOME","LOGNAME","NODE_OPTIONS","PATH","TMPDIR","USER"]),z=new Set(["email","login","user-id"]),G=new Set(
19
+ ["finite","interactive"]),F=new Set(["development","test"]),K=new Set(["terminal","web"]),$=16,Y=1e4,X=3e4,y=e=>[...e].map(
20
+ n=>`\`${n}\``).join(" or "),J=[["- Command: ","command","Command","`tools/preview-identity` `argument`..."],["- Protocol\
21
+ : ","protocol","Protocol",`\`${T}\``],["- Identity types: ","identityTypes","Identity types",`one or more of ${[...z].map(
22
+ e=>`\`${e}\``).join(" ")}`],["- Enabled environment: ","enabledEnvironment","Enabled environment","`ENV_NAME`"],["- Secr\
23
+ et environment: ","secretEnvironment","Secret environment","`ENV_NAME`"],["- Runtimes: ","runtimes","Runtimes","`runtime\
24
+ `..."],["- Timeout ms: ","timeoutMs","Timeout ms",`\`1\` through \`${X}\` (default ${Y})`]],M=Object.freeze(["### Target\
25
+ `id`: Label","#### Parameter `id`: Label","#### Presentation","#### Preview identity","#### Download `id`"]),c=Object.freeze(
26
+ {target:["- Default.",`- Mode: ${y(G)}`,`- Data: ${y(F)}`,"- Workdir: `path`","- Runtimes: `runtime`...","- Prepare|Buil\
27
+ d|Run `label`: `command` `argument`..."],parameter:["- Default: `text`","- Description: `text`","- Required."],presentation:[
28
+ `- Kind: ${y(K)}`,"- Preferred port: `1024` through `65535`","- URL path: `/path`","- Ready when: `GET` `/path` returns \
29
+ `200`"],previewIdentity:J.map(([e,,,n])=>`${e}${n}`),download:["- Path: `path`","- Name: `file-name`","- Media type: `ty\
30
+ pe/subtype`"]});var x="- Start `service-id` [per session] with `runtime` [in `workdir`]: `command` `argument`...";var De=1024*1024,V=1024*1024,P=new Map([["Startup typical MiB","startupTypical"],["Startup high MiB","startupHigh"],["Ru\
31
+ nning typical MiB","runningTypical"],["Running high MiB","runningHigh"],["Typical MiB","typical"],["High MiB","high"]]);var Q=["Command values: the executable and every argument are separate backticked values separated by single spaces (at \
32
+ most 64 values of at most 4096 characters, no line breaks). The executable is a name on PATH or a project-relative path,\
33
+ never absolute and never containing `..`.","Runtimes are lowercase technology ids selected in the project's Stack, such\
34
+ as `nodejs` or `php`. Paths are canonical project-relative paths; `.` is the project root.","A section containing only \
35
+ `- Nothing.` explicitly declares nothing. Blank lines are ignored."].join(`
36
+ `),t=e=>e.map(n=>` ${n}`).join(`
37
+ `);function i({name:e,title:n,section:l,contract:b="",summary:j,body:L,example:R}){return{name:e,title:n,section:l,example:R,
38
+ text:()=>[`# ${n}`,"",`Section: \`## ${l}\` in \`genesis/stack.md\`${b?`, contract \`${b}\``:""}. Vibe64 owns its gramma\
39
+ r and meaning; Genesis transports the exact section text.`,"",j,"",L.trim(),"",Q,"","## Example","","```markdown",`## ${l}`,
40
+ "",R.trim(),"```",""].join(`
41
+ `)}}var ee=`
42
+ ### Target \`app\`: Application
43
+
44
+ - Default.
45
+ - Mode: \`interactive\`
46
+ - Runtimes: \`nodejs\`
47
+ - Run \`Start\`: \`npm\` \`run\` \`dev\` \`--\` \`--host\` \`{host}\` \`--port\` \`{port}\`
48
+
49
+ #### Presentation
50
+
51
+ - Kind: \`web\`
52
+ - URL path: \`/\`
53
+ - Ready when: \`GET\` \`/health\` returns \`200\`
54
+
55
+ #### Preview identity
56
+
57
+ - Command: \`tools/preview-identity\`
58
+ - Protocol: \`${T}\`
59
+ - Identity types: \`email\`
60
+ - Enabled environment: \`APP_PREVIEW_IDENTITY_ENABLED\`
61
+ - Secret environment: \`APP_PREVIEW_IDENTITY_SECRET\`
62
+ - Runtimes: \`nodejs\`
63
+
64
+ ### Target \`test-app\`: Test Preview
65
+
66
+ - Mode: \`interactive\`
67
+ - Data: \`test\`
68
+ - Runtimes: \`nodejs\`
69
+ - Run \`Start test application\`: \`node\` \`tests/support/start-test-app.mjs\` \`{host}\` \`{port}\`
70
+
71
+ #### Presentation
72
+
73
+ - Kind: \`web\`
74
+ - Ready when: \`GET\` \`/health\` returns \`200\`
75
+
76
+ ### Target \`report\`: Monthly report
77
+
78
+ - Mode: \`finite\`
79
+ - Runtimes: \`nodejs\`
80
+ - Build \`Export\`: \`node\` \`tools/export.mjs\` \`--month\` \`{parameter:month}\`
81
+
82
+ #### Parameter \`month\`: Month
83
+
84
+ - Default: \`2026-01\`
85
+ - Description: \`Month to export.\`
86
+ - Required.
87
+
88
+ #### Download \`csv\`
89
+
90
+ - Path: \`exports/report.csv\`
91
+ - Name: \`report.csv\`
92
+ - Media type: \`text/csv\`
93
+ `,qe=Object.freeze([i({name:"workspace-setup",title:"Workspace setup",section:"Workspace setup",contract:"vibe64.workspa\
94
+ ce-setup.v1",summary:"Ordered commands that prepare a session's working copy (dependencies, generated files, migrations)\
95
+ before any Output runs.",body:`
96
+ Each entry:
97
+ ${t([_])}
98
+
99
+ - \`\` in \`workdir\` \`\` runs the command in that project directory (default \`.\`).
100
+ - \`\` when \`path\` exists \`\` waits: setup stays waiting until the path exists (for example a manifest the agent has not cr\
101
+ eated yet).
102
+ - \`\` if \`path\` exists \`\` skips the step while the path is missing.
103
+ - Steps run in order through managed execution with the session's development Env. Vibe64 records success against the ex\
104
+ act recipe; changing any step runs setup again, and Outputs stay pending until it succeeds. Keep every step repeatable a\
105
+ nd non-destructive.
106
+ `,example:"\n- Prepare `Install dependencies` with `nodejs`: `npm` `ci`\n- Prepare `Migrate database` with `nodejs` if `mi\
107
+ grations` exists: `npm` `run` `db:migrate`\n- Prepare `Install client` with `nodejs` in `client` when `client/package.jso\
108
+ n` exists: `npm` `ci`\n"}),i({name:"outputs",title:"Outputs",section:"Outputs",contract:"vibe64.outputs.v1",summary:"The\
109
+ runnable targets Vibe64 offers: interactive terminal or web apps shown in Preview, and finite runs that produce downloa\
110
+ ds.",body:`
111
+ Headings, each target followed by its entries and then optional blocks:
112
+ ${t(M)}
113
+
114
+ Target entries:
115
+ ${t(c.target)}
116
+
117
+ - Ids use lowercase letters, digits and single hyphens. Target ids are unique; at most one target is \`- Default.\` (the n\
118
+ ormal Preview).
119
+ - \`interactive\`: exactly one Run step, last, and one \`#### Presentation\`. \`finite\`: no Run, Presentation or Preview iden\
120
+ tity, and at least one \`#### Download\`.
121
+ - Steps are ordered Prepare, Build, then Run. \`{host}\` and \`{port}\` may appear only in a web target's Run step; the appl\
122
+ ication must listen there. \`{parameter:id}\` may appear in any step argument.
123
+ - \`\` - Data: \`test\` \`\` declares a target that enforces isolated test data (Test Preview banner; used by \`vibe64-helper p\
124
+ laywright --target <id>\`). \`development\` is the other value; omitting Data asserts nothing.
125
+ - Workdir defaults to \`.\`.
126
+
127
+ \`#### Parameter\` entries (at most ${$} per target, each used in a step):
128
+ ${t(c.parameter)}
129
+
130
+ Values are single-line text of at most 4096 characters; an omitted Default is empty; Required rejects blank values. Para\
131
+ meters are visible arguments: keep credentials in Env.
132
+
133
+ \`#### Presentation\` entries:
134
+ ${t(c.presentation)}
135
+
136
+ \`terminal\` accepts only Kind. \`web\` needs one Ready when (status 200 through 399); URL path defaults to \`/\`.
137
+
138
+ \`#### Download\` entries (all required):
139
+ ${t(c.download)}
140
+
141
+ Path is a project-relative file the steps produce; Name is a safe file name of at most 255 characters; Media type is low\
142
+ ercase type/subtype.
143
+
144
+ \`#### Preview identity\` entries (web targets only; Command, Protocol and Identity types are required):
145
+ ${t(c.previewIdentity)}
146
+
147
+ - The command is a committed, application-owned project-relative executable whose path contains \`/\`, without \`{host}\` or\
148
+ \`{port}\`.
149
+ - Enabled and Secret environment names are distinct uppercase names, not ${[...C].join(", ")} or \`XDG_*\`. For an enabled\
150
+ web run Vibe64 sets the enabled name to \`true\` and the secret name to a fresh per-run secret; the application must keep\
151
+ its identity exchange disabled unless both are present.
152
+ - The command's stdin/stdout protocol: \`vibe64-helper spec preview-identity-command\`. The configured account names: \`vib\
153
+ e64-helper spec preview-identities\`.
154
+ `,example:ee}),i({name:"deployment",title:"Deployment",section:"Deployment",contract:"vibe64.application-deployment.v1",
155
+ summary:"The commands that turn a project revision into a running production application.",body:`
156
+ Entries:
157
+ ${t(I)}
158
+
159
+ - Steps are ordered ${f.join(", ")}; exactly one Serve step comes last. Serve starts the long-running application, which\
160
+ listens on the address given by the \`HOST\` and \`PORT\` environment variables. Arguments are passed literally (no \`{host}\
161
+ \` or \`{port}\` placeholders), so a server that takes its address only as arguments needs a committed project script that \
162
+ reads them.
163
+ - One Ready when entry is required (status 200 through 399). Workdir defaults to \`.\`. Each other entry appears at most o\
164
+ nce.
165
+ - Recreate on restore lists project-relative globs (only \`*\` and \`**\`) that a restored deployment rebuilds with its Prep\
166
+ are step, such as installed dependencies. It requires a Prepare step.
167
+ - Migrate applies pending migrations without destroying data.
168
+ `,example:"\n- Runtimes: `nodejs`\n- Recreate on restore: `node_modules`\n- Prepare `Install`: `npm` `ci`\n- Build `Build`: \
169
+ `npm` `run` `build`\n- Migrate `Migrate`: `npm` `run` `db:migrate`\n- Serve `Serve`: `node` `server.js`\n- Ready when: `GET\
170
+ ` `/health` returns `200`\n"}),i({name:"resource-estimates",title:"Resource estimates",section:"Resource estimates",contract:"\
171
+ vibe64.resource-estimates.v1",summary:"Optional memory planning hints for Outputs and Workspace setup. They are not obse\
172
+ rved usage, reservations, minimum requirements or granted limits; the execution host owns those choices.",body:`
173
+ Headings: \`\` ### Output \`id\` \`\` (an id declared in Outputs) or \`### Workspace setup\` (requires declared setup steps), ea\
174
+ ch followed by fields:
175
+ ${t([...P.keys()].map(e=>`- ${e}: \`number\``))}
176
+
177
+ - An interactive output declares the four Startup and Running fields. A finite output and Workspace setup declare only T\
178
+ ypical MiB and High MiB.
179
+ - Values are integer MiB from 1 through ${V}; typical never exceeds high. Duplicate operations or fields and unknown fie\
180
+ lds are rejected. The section is at most 64 KiB and 2048 lines.
181
+ - Invalid estimates never change Outputs availability or setup readiness; the host then uses its generic policy. Changin\
182
+ g only estimates does not rerun setup.
183
+ `,example:"\n### Output `app`\n\n- Startup typical MiB: `1024`\n- Startup high MiB: `1536`\n- Running typical MiB: `768`\n- Ru\
184
+ nning high MiB: `1536`\n\n### Workspace setup\n\n- Typical MiB: `1024`\n- High MiB: `1536`\n"}),i({name:"connected-devel\
185
+ opment",title:"Connected development",section:"Connected development",contract:"vibe64.connected-development.v1",summary:"\
186
+ How this project consumes the working source of connected projects (its own dependencies under development) in a session\
187
+ .",body:`
188
+ Entries:
189
+ ${t(A)}
190
+
191
+ - Declare a Default package type alone, or a Sources file with Verify entries or a Custom runner (keeping any Default pa\
192
+ ckage type). All Prepare entries precede Verify entries. Steps run unconditionally (no \`when\`/\`if\`); at most one Custom \
193
+ runner.
194
+ - Package types: ${g.map(({value:e})=>`\`${e}\``).join(", ")}. A type is a declared label: Vibe64 never runs a package m\
195
+ anager for it. This project's own Prepare/Verify commands give each connected source its ecosystem's treatment, and Veri\
196
+ fy must prove that the source is consumed.
197
+ - The Sources file is a development-only path outside \`.git\`, never tracked; Vibe64 writes it when it prepares connected\
198
+ sources and excludes it from Git. Its JSON: \`{"contract":"${k}","sessionId":"\u2026","projects":[{"name":"\u2026","repository":"\
199
+ https://github.com/owner/repo","relationship":"dependency|composition","type":"npm","sourceRoot":"/absolute/receiving/so\
200
+ urce","contributionId":"\u2026"}]}\`; a custom connection also carries \`"script"\`.
201
+ - Custom connections: ${N}
202
+ `,example:"\n- Default package type: `npm`\n- Sources file: `.connected-sources.json`\n- Prepare `Link connected packages` \
203
+ with `nodejs`: `node` `tools/link-connected.mjs`\n- Verify `Check connected packages` with `nodejs`: `node` `tools/verify\
204
+ -connected.mjs`\n"}),i({name:"project-services",title:"Project services",section:"Project services",contract:"vibe64.pro\
205
+ ject-services.v1",summary:"Foreground helper processes (workers, local reference services) that Vibe64 starts before an \
206
+ Output.",body:`
207
+ Entries:
208
+ ${t([x])}
209
+
210
+ - Service ids are unique, start with a lowercase letter and use up to 64 lowercase letters, digits and hyphens. Workdir \
211
+ defaults to \`.\`.
212
+ - Without \`per session\` all sessions share one instance; with it each session gets its own instance in its own source di\
213
+ rectory.
214
+ - Services run with the project's development Env, stay in the foreground and release everything they own on SIGTERM. Ne\
215
+ ver spawn untracked background work.
216
+ - Vibe64 owns process lifetime, not the network protocol: allocate a distinct endpoint (for example bind port 0 and reco\
217
+ rd the address in the session's ignored runtime folder) and check your own instance's readiness. Never assume a shared f\
218
+ ixed port.
219
+ `,example:"\n- Start `worker` with `nodejs` in `tools`: `npm` `run` `worker`\n- Start `reference` per session with `nodejs\
220
+ `: `npm` `run` `reference:service`\n"}),i({name:"integration-setup",title:"Integration setup",section:"Integration setup",
221
+ contract:"vibe64.integration-setup.v1",summary:"The one application-owned command the editor's Integrations controls cal\
222
+ l to configure, connect and check the application's external integrations.",body:`
223
+ Exactly one entry:
224
+ ${t([D])}
225
+
226
+ The command's request/response protocol and the \`integrations.json\` usage: \`vibe64-helper spec integration-setup-command\
227
+ \`.
228
+ `,example:"\n- Command with `nodejs` in `.`: `node` `scripts/integrations.js`\n"}),i({name:"architecture-inspection",title:"\
229
+ Architecture inspection",section:"Architecture inspection",contract:"vibe64.architecture-inspection.v1",summary:"Optiona\
230
+ l project-owned inspectors that the Architecture view runs to observe the application's structure (pages, routes, entry \
231
+ points).",body:`
232
+ Headings: \`\` ### Inspector \`id\`: Title \`\`, each followed by fields:
233
+ ${t(Object.entries(h).map(([e,[,n]])=>`- ${e}: ${n}`))}
234
+
235
+ - Every field except Entry files and Required files is required; ids are unique. The Runtime must be selected in the Sta\
236
+ ck.
237
+ - Reading declarations runs nothing. Entry files name application entry points. Required files must exist as regular pro\
238
+ ject files before the inspector runs.
239
+ - On analysis the command receives one \`vibe64.architecture-inspection-input.v1\` JSON request on stdin (files with hashe\
240
+ s, packages, package identity, UI discovery and the Stack hash) and must print one \`${Z}\` JSON document; Genesis owns t\
241
+ hat observation schema.
242
+ `,example:"\n### Inspector `ui`: UI routes\n\n- Runtime: `nodejs`\n- Directory: `.`\n- Command: `node` `tools/inspect-ui.mjs`\
243
+ \n- Timeout seconds: `30`\n- Max output bytes: `1048576`\n- Entry files: `src/main.js`\n"}),i({name:"architecture-layout",
244
+ title:"Architecture layout",section:"Architecture layout",contract:"vibe64.architecture-layout.v1",summary:"Presentation\
245
+ groups for the Architecture view. Declarations neither discover subsystems nor change their ownership.",body:`
246
+ Headings: \`\` ### Group \`id\`: Title \`\`, each followed by:
247
+ - Kind: ${O.map(e=>`\`${e}\``).join(" or ")}
248
+ - Purpose: \`text\`
249
+ - Subsystem: \`root\` (one or more)
250
+
251
+ - Every group needs Kind, Purpose and at least one Subsystem. Group ids are unique.
252
+ - A Subsystem is a directory root from \`genesis/subsystems.md\`; each root is placed once. A missing root is reported, ne\
253
+ ver invented.
254
+ `,example:"\n### Group `shared`: Shared libraries\n\n- Kind: `libraries`\n- Purpose: `Code reused by every surface.`\n- Subsy\
255
+ stem: `packages/shared`\n"})]);export{qe as VIBE64_GENESIS_AGENT_SPECS};