vibe64 0.1.60 → 0.1.62
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.
- package/bin/run.js +549 -547
- package/bin/upgrade-state.js +113 -105
- package/dist/assets/{GithubBrowserTabs-Vv-64NIg.js → GithubBrowserTabs-BJ2NXiuQ.js} +1 -1
- package/dist/assets/{LocalDatabaseServer-rolg-sXl.js → LocalDatabaseServer-Z5VQcWgu.js} +1 -1
- package/dist/assets/{SelectField-DwWoHC2p.js → SelectField-RGWl_ms9.js} +1 -1
- package/dist/assets/{ShellOutlet-Clsh2qYP.js → ShellOutlet-CdjsJfg9.js} +1 -1
- package/dist/assets/VAutocomplete-BnpXAJGa.js +1 -0
- package/dist/assets/{VCheckbox-B40zJSbZ.js → VCheckbox-BK0ss4F4.js} +1 -1
- package/dist/assets/{VCheckboxBtn-6ebHAnh9.js → VCheckboxBtn-DDlYJnth.js} +1 -1
- package/dist/assets/{VDialog-B2W9wqR8.js → VDialog-BCIrX462.js} +1 -1
- package/dist/assets/VMenu-Bql3E6DV.js +1 -0
- package/dist/assets/VMenu-DCU7zd0B.css +1 -0
- package/dist/assets/VOverlay-EPzW7eVB.js +1 -0
- package/dist/assets/{VRadioGroup-D1duMMwJ.js → VRadioGroup-CL3HTmyT.js} +1 -1
- package/dist/assets/VSelect-Ch00dyiM.js +1 -0
- package/dist/assets/VSkeletonLoader-Bl9P5wdh.js +1 -0
- package/dist/assets/VSkeletonLoader-DXZarZ9m.css +1 -0
- package/dist/assets/{VSwitch-DUkp5sfW.js → VSwitch-DftK1EyR.js} +1 -1
- package/dist/assets/{VTextField-BMvaWVTN.js → VTextField-B9R7EIjg.js} +1 -1
- package/dist/assets/{VTextarea-CLaWcpd_.js → VTextarea-CMgyRNk-.js} +1 -1
- package/dist/assets/{Vibe64AsyncModuleState-C9rLM2H0.js → Vibe64AsyncModuleState-9bN0_H45.js} +1 -1
- package/dist/assets/Vibe64AuthSettingsButton-B4FbKoV7.js +5 -0
- package/dist/assets/{Vibe64AuthSettingsButton-DbL7Ukry.css → Vibe64AuthSettingsButton-DFfFPrd7.css} +1 -1
- package/dist/assets/{Vibe64ConversationLog-K6aUo3q1.js → Vibe64ConversationLog-Dk2jeU21.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-C_wkAaSb.js → Vibe64DashboardShell-BGE8m2VG.js} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-Dy88t2ZX.js → Vibe64DatabaseWorkspace-BrB-0zdd.js} +1 -1
- package/dist/assets/Vibe64DestinationButton-CdyyK9tj.js +1 -0
- package/dist/assets/Vibe64DestinationButton-ZxY1Lwie.css +1 -0
- package/dist/assets/Vibe64FileArea-B8_Tqtgv.js +1 -0
- package/dist/assets/Vibe64OutputControls-JHBVJBQ4.js +8 -0
- package/dist/assets/{Vibe64RepositoryWorkspace-CWw4w5SA.js → Vibe64RepositoryWorkspace-DFuF1aDy.js} +1 -1
- package/dist/assets/Vibe64SessionFiles-Ih3aXiKq.js +1 -0
- package/dist/assets/{Vibe64SessionSourceEditor-BVfoXgmZ.js → Vibe64SessionSourceEditor-EUExI1YB.js} +1 -1
- package/dist/assets/{Vibe64UiStoryboardView-BYLWabXY.css → Vibe64UiStoryboardView-DqLN6ofL.css} +1 -1
- package/dist/assets/Vibe64UiStoryboardView-DrE3Dqjr.js +8 -0
- package/dist/assets/{Vibe64UnavailableSessions-BRB2bUR_.js → Vibe64UnavailableSessions-CCWWp2-Y.js} +1 -1
- package/dist/assets/_pageId_-JF3VAGm5.js +1 -0
- package/dist/assets/_sessionId_-7PyIUeUr.css +1 -0
- package/dist/assets/_sessionId_-DzhYkoTF.js +1 -0
- package/dist/assets/{_sessionTool_-CKPNp5fF.js → _sessionTool_-CBf51mfK.js} +1 -1
- package/dist/assets/_sessionTool_-DiYoi-BF.css +1 -0
- package/dist/assets/{_slug_-C5yeqlpL.js → _slug_-CK9TQknP.js} +6 -6
- package/dist/assets/_slug_-CZmGS16g.css +1 -0
- package/dist/assets/access-BOqP7tK6.js +1 -0
- package/dist/assets/{app-BKwP6m9e.js → app-C9NRUu1x.js} +1 -1
- package/dist/assets/{changes-DT8e3wYn.js → changes-Df2TTLEm.js} +1 -1
- package/dist/assets/{client-CUQfIUus.css → client-BBJzQIWS.css} +1 -1
- package/dist/assets/{client-B_iZQVU8.js → client-BRcncaFt.js} +1 -1
- package/dist/assets/client-Bkk7jZD9.js +1 -0
- package/dist/assets/{client-Cf6iimPy.js → client-BzNAjCJm.js} +2 -2
- package/dist/assets/{client-BHa4BumO.js → client-CiGvH-QO.js} +2 -2
- package/dist/assets/client-DdNHOrl8.js +2 -0
- package/dist/assets/conversation-D7T_us2O.js +1 -0
- package/dist/assets/{conversation-DA_fbJJD.css → conversation-ZN3-8jbz.css} +1 -1
- package/dist/assets/{conversation-CsB1b1JZ.js → conversation-wiDH8Ni4.js} +4 -4
- package/dist/assets/{dashboard-DRwBugiR.js → dashboard-Dt57zpvc.js} +1 -1
- package/dist/assets/{english-definitions-Bi3yaDu7.js → english-definitions-C0n2xolE.js} +1 -1
- package/dist/assets/env-CIJebqCq.js +1 -0
- package/dist/assets/{error-kdRkyK9x.js → error-BQ7r64JO.js} +1 -1
- package/dist/assets/{error-CX8_snYL.js → error-BqMxhgpB.js} +1 -1
- package/dist/assets/{fileTypes-DRyfajWx.js → fileTypes-2k5HCkMT.js} +1 -1
- package/dist/assets/health-B9ZoQC78.js +1 -0
- package/dist/assets/history-DqtrCyKI.js +1 -0
- package/dist/assets/{i18n-B5lc019_.js → i18n-Dm74yE_M.js} +1 -1
- package/dist/assets/{index-Wcdz2Rey.js → index-tPEeYKmw.js} +5 -5
- package/dist/assets/{integrations-BHURBo17.js → integrations-BST4Qw-s.js} +11 -4
- package/dist/assets/{integrations-Bo_beIy3.css → integrations-CwgrZgmM.css} +1 -1
- package/dist/assets/issues-CN8brLcd.js +1 -0
- package/dist/assets/issues-D46llNv-.css +1 -0
- package/dist/assets/{learning-BrBAyLFt.js → learning-B8e42exz.js} +1 -1
- package/dist/assets/{pages-BTk_FkDr.js → pages-DWmGyVcJ.js} +1 -1
- package/dist/assets/{project-files-CTGwnBh7.js → project-files-CiFrH7b9.js} +1 -1
- package/dist/assets/publish-D1Cm9dcY.js +3 -0
- package/dist/assets/pull-requests-DtqrTix0.css +1 -0
- package/dist/assets/pull-requests-ujRUy7Rf.js +1 -0
- package/dist/assets/{repository-DknGo0hr.js → repository-v-kDk9e_.js} +1 -1
- package/dist/assets/settings-CMMTWcem.js +1 -0
- package/dist/assets/thinkingText-mMYz6e03.js +8 -0
- package/dist/assets/{useArchivedVibe64Sessions-DI9ow2ds.js → useArchivedVibe64Sessions-C3w4gzum.js} +1 -1
- package/dist/assets/useAssistantAttachments-BkYZckgz.js +2 -0
- package/dist/assets/{useCommand-YOAaO5Wz.js → useCommand-CNDe8gM-.js} +1 -1
- package/dist/assets/{useUiFeedback-Bixow9mW.js → useUiFeedback-CWb6o71Z.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-BfW5VQBw.js +2 -0
- package/dist/assets/{useVibe64Learning-RE4HXHqo.js → useVibe64Learning-DiLAIKbI.js} +1 -1
- package/dist/assets/{useVibe64SessionData-Df7M5k1M.js → useVibe64SessionData-BZUDqDiW.js} +1 -1
- package/dist/assets/{useVibe64SessionSelection-B0USk6X6.js → useVibe64SessionSelection-ChkFsI6Y.js} +1 -1
- package/dist/assets/vibe64RepositoryRealtime-BamEfp1M.js +1 -0
- package/dist/assets/{vibe64RepositoryRealtime-ByZfq2fE.css → vibe64RepositoryRealtime-rnWlv9jw.css} +1 -1
- package/dist/assets/vibe64SessionFocus-BCojr4E-.css +1 -0
- package/dist/assets/vibe64SessionFocus-CfH5XqgI.js +1 -0
- package/dist/index.html +28 -32
- package/docs/colleague-usage/ai-tasks.md +3 -1
- package/docs/colleague-usage/auto-workflow.md +6 -3
- package/docs/colleague-usage/back-navigation.md +16 -13
- package/docs/colleague-usage/chat-settings.md +20 -0
- package/docs/colleague-usage/coding-agent-goal-pause.md +15 -1
- package/docs/colleague-usage/coding-agent-goals.md +23 -3
- package/docs/colleague-usage/colleague-watches.md +1 -1
- package/docs/colleague-usage/connected-projects.md +1 -1
- package/docs/colleague-usage/dashboard-navigation.md +14 -11
- package/docs/colleague-usage/database.md +1 -1
- package/docs/colleague-usage/development-env.md +21 -12
- package/docs/colleague-usage/github-work.md +1 -1
- package/docs/colleague-usage/integrations.md +2 -2
- package/docs/colleague-usage/learning-teacher-guide.md +3 -2
- package/docs/colleague-usage/pages.md +1 -2
- package/docs/colleague-usage/project-messages.md +1 -1
- package/docs/colleague-usage/session-archive.md +3 -1
- package/docs/colleague-usage/sessions.md +3 -3
- package/docs/colleague-usage/ui-pass.md +1 -1
- package/node_modules/@jskit-ai/assistant-core/locales/en.json +4 -1
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/CHANGELOG.md +4 -0
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/kernel/package.json +3 -1
- package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/payments-core/locales/en.json +2 -1
- package/node_modules/@jskit-ai/payments-core/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- package/node_modules/@jskit-ai/resource-core/package.json +1 -1
- package/node_modules/@jskit-ai/uploads-runtime/package.json +1 -1
- package/node_modules/@local/vibe64-ai-tasks/package.json +2 -1
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +484 -468
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +59 -59
- package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +93 -67
- package/node_modules/@local/vibe64-genesis/src/server/index.js +463 -453
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +60 -58
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +285 -282
- package/package.json +14 -14
- package/server.bundle.mjs +27312 -27279
- package/dist/assets/VAlert-Bp38AD8H.css +0 -1
- package/dist/assets/VAlert-DyCQWe9P.js +0 -1
- package/dist/assets/VAutocomplete-CiXrKMyn.js +0 -1
- package/dist/assets/VDivider-DGkInAUr.js +0 -1
- package/dist/assets/VDivider-DvkP_iX7.css +0 -1
- package/dist/assets/VMenu-9TUL6_ph.css +0 -1
- package/dist/assets/VMenu-DQ9SZ1Fq.js +0 -1
- package/dist/assets/VOverlay-DUKRqNx3.js +0 -1
- package/dist/assets/VSelect-9lMtP5cu.js +0 -1
- package/dist/assets/VSkeletonLoader-C5ZRrPV4.js +0 -1
- package/dist/assets/VSkeletonLoader-LCPSxykp.css +0 -1
- package/dist/assets/Vibe64AuthSettingsButton-BICxvZDm.js +0 -5
- package/dist/assets/Vibe64FileArea-BU5rPyqx.js +0 -1
- package/dist/assets/Vibe64OutputControls-Z2K52QCc.js +0 -8
- package/dist/assets/Vibe64SessionFiles-DI8ZH6aF.js +0 -1
- package/dist/assets/Vibe64UiStoryboardView-C-99xlAo.js +0 -8
- package/dist/assets/_pageId_-DPJ8pvUs.js +0 -1
- package/dist/assets/_sessionId_-B5V2Fs2n.css +0 -1
- package/dist/assets/_sessionId_-CiU1Awul.js +0 -1
- package/dist/assets/_sessionTool_-Be88HWbv.css +0 -1
- package/dist/assets/_slug_-Vy_1jrpy.css +0 -1
- package/dist/assets/access-Cq6GEVhT.js +0 -1
- package/dist/assets/client-C-Rw8t8y.js +0 -1
- package/dist/assets/client-DWPSlYBq.js +0 -2
- package/dist/assets/conversation-p_mmD9ie.js +0 -8
- package/dist/assets/env-ObiVMW6f.js +0 -1
- package/dist/assets/health-Ev-UBIsw.js +0 -1
- package/dist/assets/history-U6UcbKBZ.js +0 -1
- package/dist/assets/issues-D4Asc_wa.css +0 -1
- package/dist/assets/issues-DEzrDqDU.js +0 -1
- package/dist/assets/publish-BYZ7KRzq.js +0 -3
- package/dist/assets/pull-requests-C-puL4SG.js +0 -1
- package/dist/assets/pull-requests-DgWKsMdI.css +0 -1
- package/dist/assets/settings-BmOQ1NnW.js +0 -1
- package/dist/assets/ssrBoot-C6UwmCGc.js +0 -1
- package/dist/assets/useAssistantAttachments-CkseokGM.js +0 -2
- package/dist/assets/useVibe64ConversationLog-BkcPA64C.js +0 -2
- package/dist/assets/vibe64RepositoryRealtime-DKSXVg1B.js +0 -1
- package/dist/assets/vibe64SessionFocus-BJLy8eTE.js +0 -1
- package/dist/assets/vibe64SessionFocus-DdYRpG72.css +0 -1
|
@@ -1,102 +1,104 @@
|
|
|
1
1
|
import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
|
|
2
|
-
import{ARCHITECTURE_OBSERVATIONS_SCHEMA as
|
|
3
|
-
or",this.code=n,r!==void 0&&(this.details=r)}},
|
|
2
|
+
import{ARCHITECTURE_OBSERVATIONS_SCHEMA as ut}from"genesis-compiler";import $ from"node:path";var M=class extends Error{constructor(n,t,r=void 0){super(t),this.name="Vibe64StackOperationErr\
|
|
3
|
+
or",this.code=n,r!==void 0&&(this.details=r)}},G=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
7
|
spection",VIBE64_ARCHITECTURE_LAYOUT_INVALID:"architecture-layout"}),Ne=/ Exact grammar: vibe64-helper spec [a-z-]+\.$/u;
|
|
8
|
-
function Ae(e,n){let t=
|
|
8
|
+
function Ae(e,n){let t=G[e],r=String(n).replace(Ne,"");return t?`${r} Exact grammar: vibe64-helper spec ${t}.`:r}function s(e,n,t,r,c={}){throw new M(e,Ae(e,t),{path:n,...r===void 0?{}:{line:r},...c})}function Ce(e){let n=[...String(e||"").matchAll(/`([^`\r\n]+)`/gu)];return n.length===0||n.map(t=>t[0]).join(" ")!==e?null:
|
|
9
9
|
n.map(t=>t[1])}function T(e,n,t,r,c,i={}){let{count:o,maximum:u=64}=i,d=Ce(e);if(!d||d.length>u||o!==void 0&&d.length!==
|
|
10
10
|
o||d.some(y=>y.length>4096||/[\0\r\n]/u.test(y))){let y=o===void 0?"separate non-empty":`exactly ${o}`;s(n,t,`${r} must \
|
|
11
11
|
contain ${y} backticked ${o===1?"value":"values"}.`,c)}return d}function Pe(e=""){return typeof e=="string"&&!!e&&!/[\s\0{}]/u.
|
|
12
|
-
test(e)&&!$.isAbsolute(e)&&!e.split(/[\\/]/u).includes("..")}function
|
|
12
|
+
test(e)&&!$.isAbsolute(e)&&!e.split(/[\\/]/u).includes("..")}function b(e,n,t,r,c){let i=T(e,n,t,r,c);return Pe(i[0])||s(
|
|
13
13
|
n,t,`${r} must begin with a safe executable.`,c),i}function De(e=""){return typeof e=="string"&&!!e&&!/[\0\r\n\\]/u.test(
|
|
14
14
|
e)&&!$.posix.isAbsolute(e)&&$.posix.normalize(e)===e&&!e.split("/").some(n=>!n||n==="..")}function f(e,n,t,r,c,i={}){let{
|
|
15
|
-
allowRoot:o=!0}=i;return(!De(e)||!o&&e===".")&&s(n,t,`${r} must be a canonical project-relative path.`,c),e}function
|
|
15
|
+
allowRoot:o=!0}=i;return(!De(e)||!o&&e===".")&&s(n,t,`${r} must be a canonical project-relative path.`,c),e}function w(e,n,t,r,c){
|
|
16
16
|
let i=T(e,n,t,r,c);return i.some(o=>!/^[a-z0-9]+(?:-[a-z0-9]+)*$/u.test(o))&&s(n,t,`${r} must use lowercase technology i\
|
|
17
17
|
ds separated into backticked values.`,c),new Set(i).size!==i.length&&s(n,t,`${r} contains a duplicate technology id.`,c),
|
|
18
|
-
i}function g(e=[]){let n=e.map(t=>t.trim()).filter(Boolean);return n.length===1&&n[0]==="- Nothing."}var
|
|
19
|
-
{SPEC_BY_ERROR_CODE:
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
i}function g(e=[]){let n=e.map(t=>t.trim()).filter(Boolean);return n.length===1&&n[0]==="- Nothing."}var mt=Object.freeze(
|
|
19
|
+
{SPEC_BY_ERROR_CODE:G});var z="vibe64.application-deployment.v1",q="Deployment";var Me="- Recreate on restore: ",Ve="- Generated secrets: ",Le="- Setup code: ",je="- Sandbox allows: ",xe=Object.freeze(
|
|
20
|
+
["fuse","gvisor"]);var Be=Object.freeze({prepare:0,build:1,migrate:2,serve:3}),j=Object.keys(Be).map(e=>e[0].toUpperCase()+e.slice(1)),K=Object.
|
|
21
|
+
freeze(["- Workdir: `path`","- Runtimes: `runtime`...",`${Me}\`glob\`...`,`${Ve}\`NAME\`...`,`${Le}\`NAME\``,`${je}${xe.
|
|
22
|
+
map(e=>`\`${e}\``).join(" ")}`,"- Ready when: `GET` `/path` returns `200`",`- ${j.join("|")} \`label\`: \`command\` \`argumen\
|
|
23
|
+
t\`...`]);var Y="vibe64.packaging.v1",X="Packaging",yt=Object.freeze(["genesis",".genesis",".agents",".claude",".codex",".opencode"]);var Ue=Object.freeze({npm:Object.freeze({entries:["workdir","runtimes","prepare","build","environment","versionFrom"],required:[
|
|
22
24
|
"versionFrom"],versionSources:["package.json","external"]}),"python-dist":Object.freeze({entries:["workdir","runtimes","\
|
|
23
25
|
prepare","build","environment","output","versionFrom"],required:["build","output","versionFrom"],versionSources:["pyproj\
|
|
24
26
|
ect.toml","external"]}),"web-bundle":Object.freeze({entries:["workdir","runtimes","prepare","build","environment","outpu\
|
|
25
27
|
t"],required:["build","output"],versionSources:[]}),capacitor:Object.freeze({entries:["workdir","content","platforms","a\
|
|
26
28
|
pplicationId","name","icon","versionFrom","deepLinkSchemeFrom","appLinkDomainsFrom","permission"],required:["content","p\
|
|
27
29
|
latforms","applicationId","name","icon","versionFrom"],versionSources:["package.json","external"]})}),B=Object.freeze(Object.
|
|
28
|
-
keys(
|
|
29
|
-
\``).join(" | "),
|
|
30
|
+
keys(Ue)),We=Object.freeze(["android"]),He=Object.freeze(["package.json","pyproject.toml","external"]),x=e=>e.map(n=>`\`${n}\
|
|
31
|
+
\``).join(" | "),R=Object.freeze([["- Packer: ","packer",`- Packer: ${x(B)}`],["- Workdir: ","workdir","- Workdir: `path\
|
|
30
32
|
`"],["- Runtimes: ","runtimes","- Runtimes: `runtime`..."],["- Output: ","output","- Output: `path`"],["- Version from: ",
|
|
31
|
-
"versionFrom",`- Version from: ${x(
|
|
33
|
+
"versionFrom",`- Version from: ${x(He)}`],["- Platforms: ","platforms",`- Platforms: ${x(We)}...`],["- Id: ","applicatio\
|
|
32
34
|
nId","- Id: `reverse.dns.id`"],["- Name: ","name","- Name: `Display name`"],["- Icon: ","icon","- Icon: `path/to/icon-10\
|
|
33
35
|
24.png`"],["- Deep link scheme from: ","deepLinkSchemeFrom","- Deep link scheme from: `ENV_NAME`"],["- App link domains \
|
|
34
|
-
from: ","appLinkDomainsFrom","- App link domains from: `ENV_NAME`"]]),J="### Package `id`: Label",Z=Object.freeze([
|
|
35
|
-
|
|
36
|
-
ntent: package `web-bundle-id`",...
|
|
36
|
+
from: ","appLinkDomainsFrom","- App link domains from: `ENV_NAME`"]]),J="### Package `id`: Label",Z=Object.freeze([R[0][2],
|
|
37
|
+
R[1][2],R[2][2],"- Prepare|Build `label`: `command` `argument`...","- Environment `NAME`: `value`",R[3][2],R[4][2],"- Co\
|
|
38
|
+
ntent: package `web-bundle-id`",...R.slice(5).map(([,,e])=>e),"- Permission `id`: User-facing reason."]),Tt=Object.freeze(
|
|
37
39
|
{packer:"Packer",workdir:"Workdir",runtimes:"Runtimes",prepare:"Prepare",build:"Build",environment:"Environment",output:"\
|
|
38
40
|
Output",versionFrom:"Version from",content:"Content",platforms:"Platforms",applicationId:"Id",name:"Name",icon:"Icon",deepLinkSchemeFrom:"\
|
|
39
|
-
Deep link scheme from",appLinkDomainsFrom:"App link domains from",permission:"Permission"});var Q="vibe64.architecture-inspection.v1",ee="Architecture inspection",l="VIBE64_ARCHITECTURE_INSPECTION_INVALID",
|
|
40
|
-
nesis/stack.md#Architecture inspection",te=120,ne=64*1024*1024,se=64*1024,
|
|
41
|
+
Deep link scheme from",appLinkDomainsFrom:"App link domains from",permission:"Permission"});var Q="vibe64.architecture-inspection.v1",ee="Architecture inspection",l="VIBE64_ARCHITECTURE_INSPECTION_INVALID",Fe="ge\
|
|
42
|
+
nesis/stack.md#Architecture inspection",te=120,ne=64*1024*1024,se=64*1024,Ge=Object.freeze(["runtimeRequirements","workd\
|
|
41
43
|
ir","argv","timeout","maxBuffer"]),N=Object.freeze({Runtime:["runtimeRequirements","`runtime`..."],Directory:["workdir",
|
|
42
44
|
"`path`"],Command:["argv","`command` `argument`..."],"Timeout seconds":["timeout",`\`1\` through \`${te}\``],"Max output\
|
|
43
45
|
bytes":["maxBuffer",`\`1\` through \`${ne}\``],"Entry files":["entryFiles","`path`... (optional)"],"Required files":["r\
|
|
44
|
-
equiredFiles","`path`... (optional)"],"Preview locator":["previewLocator","`path` (optional .js file)"]}),
|
|
45
|
-
`^- (${Object.keys(N).join("|")}): (.+)$`,"u");function
|
|
46
|
-
ture inspection requires exact Stack section lines."),g(e))return[];let r=[],c=new Set,i;function o(){if(i){for(let u of
|
|
46
|
+
equiredFiles","`path`... (optional)"],"Preview locator":["previewLocator","`path` (optional .js file)"]}),ze=new RegExp(
|
|
47
|
+
`^- (${Object.keys(N).join("|")}): (.+)$`,"u");function qe(e,n={}){let{path:t=Fe}=n;if(Array.isArray(e)||s(l,t,"Architec\
|
|
48
|
+
ture inspection requires exact Stack section lines."),g(e))return[];let r=[],c=new Set,i;function o(){if(i){for(let u of Ge)
|
|
47
49
|
i[u]===void 0&&s(l,t,`${i.id} is missing ${u}.`);r.push(i),i=null}}for(let[u,d]of e.entries()){let y=d.trim();if(!y)continue;
|
|
48
|
-
let
|
|
49
|
-
d.",u+1),c.add(
|
|
50
|
+
let I=y.match(/^### Inspector `([a-z0-9]+(?:-[a-z0-9]+)*)`: (.+)$/u);if(I){o(),c.has(I[1])&&s(l,t,"Duplicate inspector i\
|
|
51
|
+
d.",u+1),c.add(I[1]),i={id:I[1],title:I[2]};continue}i||s(l,t,"Expected an Inspector heading.",u+1);let p=y.match(ze);if(!p){
|
|
50
52
|
let E=Object.entries(N).map(([m,[,C]])=>`- ${m}: ${C}`).join("; ");s(l,t,`Unknown architecture inspector field. Use one \
|
|
51
|
-
of: ${E}.`,u+1)}let[a]=N[p[1]];if(i[a]!==void 0&&s(l,t,`Duplicate ${p[1]}.`,u+1),a==="runtimeRequirements")i[a]=
|
|
52
|
-
t,"Inspector runtime",u+1);else if(a==="argv")i[a]=
|
|
53
|
+
of: ${E}.`,u+1)}let[a]=N[p[1]];if(i[a]!==void 0&&s(l,t,`Duplicate ${p[1]}.`,u+1),a==="runtimeRequirements")i[a]=w(p[2],l,
|
|
54
|
+
t,"Inspector runtime",u+1);else if(a==="argv")i[a]=b(p[2],l,t,"Inspector command",u+1);else if(a==="entryFiles"||a==="re\
|
|
53
55
|
quiredFiles")i[a]=T(p[2],l,t,p[1],u+1).map(E=>f(E,l,t,p[1],u+1));else{let[E]=T(p[2],l,t,p[1],u+1,{count:1});if(a==="work\
|
|
54
|
-
dir")i[a]=f(E,l,t,"Inspector directory",u+1);else if(a==="previewLocator")i[a]=
|
|
56
|
+
dir")i[a]=f(E,l,t,"Inspector directory",u+1);else if(a==="previewLocator")i[a]=Ke(E,t,u+1);else{let m=Number(E),C=a==="t\
|
|
55
57
|
imeout"?te:ne;(!/^[1-9][0-9]*$/u.test(E)||!Number.isSafeInteger(m)||m>C)&&s(l,t,`${p[1]} must be from 1 to ${C}.`,u+1),i[a]=
|
|
56
|
-
a==="timeout"?m*1e3:m}}}return o(),r.length||s(l,t,"Use an Inspector entry or - Nothing."),r}function
|
|
57
|
-
e,l,n,"Preview locator",t,{allowRoot:!1}),e.endsWith(".js")||s(l,n,"Preview locator must name a .js file.",t),e}var
|
|
58
|
-
"layer","libraries","support"]);function
|
|
58
|
+
a==="timeout"?m*1e3:m}}}return o(),r.length||s(l,t,"Use an Inspector entry or - Nothing."),r}function Ke(e,n,t){return f(
|
|
59
|
+
e,l,n,"Preview locator",t,{allowRoot:!1}),e.endsWith(".js")||s(l,n,"Preview locator must name a .js file.",t),e}var It=Object.freeze({parseVibe64ArchitectureInspectionLines:qe});var ie="vibe64.architecture-layout.v1",re="Architecture layout",_="VIBE64_ARCHITECTURE_LAYOUT_INVALID",A=Object.freeze([
|
|
60
|
+
"layer","libraries","support"]);function Ye(e,n={}){let{path:t="genesis/stack.md#Architecture layout"}=n;if(Array.isArray(
|
|
59
61
|
e)||s(_,t,"Expected exact Stack section lines."),g(e))return[];let r=[],c=new Set,i=new Set,o;function u(){o&&((!o.kind||
|
|
60
62
|
!o.purpose||!o.subsystems.length)&&s(_,t,`${o.id} needs Kind, Purpose and at least one Subsystem.`),r.push(o))}for(let[d,
|
|
61
|
-
y]of e.entries()){let
|
|
62
|
-
c.has(p[1])&&s(_,t,"Duplicate group id.",d+1),c.add(p[1]),o={id:p[1],title:p[2],subsystems:[]};continue}let a=
|
|
63
|
+
y]of e.entries()){let I=y.trim();if(!I)continue;let p=I.match(/^### Group `([a-z0-9]+(?:-[a-z0-9]+)*)`: (.+)$/u);if(p){u(),
|
|
64
|
+
c.has(p[1])&&s(_,t,"Duplicate group id.",d+1),c.add(p[1]),o={id:p[1],title:p[2],subsystems:[]};continue}let a=I.match(/^- (Kind|Purpose|Subsystem): (.+)$/u);
|
|
63
65
|
(!o||!a)&&s(_,t,"Expected a Group heading or Kind, Purpose, Subsystem field.",d+1);let E=T(a[2],_,t,a[1],d+1,{count:1});
|
|
64
66
|
if(a[1]==="Subsystem"){let m=f(E[0],_,t,"Subsystem root",d+1);i.has(m)&&s(_,t,"Each directory root may be placed only on\
|
|
65
67
|
ce.",d+1),i.add(m),o.subsystems.push({root:m})}else{let m=a[1].toLowerCase();o[m]!==void 0&&s(_,t,`Duplicate ${a[1]}.`,d+
|
|
66
68
|
1),m==="kind"&&!A.includes(E[0])&&s(_,t,`Kind must be ${A.slice(0,-1).join(", ")} or ${A.at(-1)}.`,d+1),o[m]=E[0]}}return u(),
|
|
67
|
-
r.length||s(_,t,"Use a Group entry or - Nothing."),r}var
|
|
69
|
+
r.length||s(_,t,"Use a Group entry or - Nothing."),r}var vt=Object.freeze({parseVibe64ArchitectureLayoutLines:Ye});var Xe="custom",oe="vibe64.connected-sources.v2",U=Object.freeze([Object.freeze({value:"npm",label:"npm (Node.js)"}),Object.
|
|
68
70
|
freeze({value:"composer",label:"Composer (PHP)"}),Object.freeze({value:"pip",label:"pip (Python)"}),Object.freeze({value:"\
|
|
69
71
|
bundler",label:"Bundler (Ruby)"}),Object.freeze({value:"gomod",label:"Go modules"}),Object.freeze({value:"cargo",label:"\
|
|
70
72
|
Cargo (Rust)"}),Object.freeze({value:"maven",label:"Maven"}),Object.freeze({value:"gradle",label:"Gradle"}),Object.freeze(
|
|
71
|
-
{value:"nuget",label:"NuGet (.NET)"}),Object.freeze({value:
|
|
73
|
+
{value:"nuget",label:"NuGet (.NET)"}),Object.freeze({value:Xe,label:"custom"})]),ae="Vibe64's preparer appends the absol\
|
|
72
74
|
ute script path and --phase prepare|verify, --source-root <the session's copy of the repository>, --project-root <consum\
|
|
73
75
|
ing project>, --sources-file <absolute Sources file> and --repository <GitHub URL> arguments to the Stack's Custom runne\
|
|
74
|
-
r command, once per phase; execution checks the script remains inside the consuming project.",
|
|
75
|
-
value));var ce="Connected development",ue="vibe64.connected-development.v1";var W="with `runtime` [in `workdir`]: `command` `argument`...",
|
|
76
|
+
r command, once per phase; execution checks the script remains inside the consuming project.",Ot=Object.freeze(U.map(e=>e.
|
|
77
|
+
value));var ce="Connected development",ue="vibe64.connected-development.v1";var W="with `runtime` [in `workdir`]: `command` `argument`...",Ze=Object.freeze({Prepare:`- Prepare \`label\` ${W}`,Verify:`\
|
|
76
78
|
- Verify \`label\` ${W}`,"Custom runner":`- Custom runner ${W}`}),pe=Object.freeze(["- Default package type: `type`","- \
|
|
77
|
-
Sources file: `path`",...Object.values(
|
|
78
|
-
|
|
79
|
-
\`${D}\``],["- Identity types: ","identityTypes","Identity types",`one or more of ${[...
|
|
79
|
+
Sources file: `path`",...Object.values(Ze)]);var le="vibe64.integration-setup.v1",de="Integration setup";var me="- Command with `runtime` in `workdir`: `command` `argument`...";var D="vibe64.preview-identity.command.v1";var H=new Set(["HOME","LOGNAME","NODE_OPTIONS","PATH","TMPDIR","USER"]),nt=new Set(["email","login","user-id"]),st=1e4,it=3e4,
|
|
80
|
+
rt=[["- Command: ","command","Command","`tools/preview-identity` `argument`..."],["- Protocol: ","protocol","Protocol",`\
|
|
81
|
+
\`${D}\``],["- Identity types: ","identityTypes","Identity types",`one or more of ${[...nt].map(e=>`\`${e}\``).join(" ")}`],
|
|
80
82
|
["- Enabled environment: ","enabledEnvironment","Enabled environment","`ENV_NAME`"],["- Secret environment: ","secretEnv\
|
|
81
83
|
ironment","Secret environment","`ENV_NAME`"],["- Runtimes: ","runtimes","Runtimes","`runtime`..."],["- Timeout ms: ","ti\
|
|
82
|
-
meoutMs","Timeout ms",`\`1\` through \`${
|
|
84
|
+
meoutMs","Timeout ms",`\`1\` through \`${it}\` (default ${st})`]],he=rt.map(([e,,,n])=>`${e}${n}`);var Ee="vibe64.outputs.v1",fe="Outputs";var ot=new Set(["finite","interactive"]),at=new Set(["development","test"]),ct=new Set(["terminal","web"]),ge=16,F=e=>[...e].
|
|
83
85
|
map(n=>`\`${n}\``).join(" or "),ye=Object.freeze(["### Target `id`: Label","#### Parameter `id`: Label","#### Presentati\
|
|
84
|
-
on","#### Preview identity","#### Download `id`"]),
|
|
85
|
-
|
|
86
|
-
"- Default: `text`","- Description: `text`","- Required."],presentation:[`- Kind: ${
|
|
86
|
+
on","#### Preview identity","#### Download `id`"]),O=Object.freeze({target:["- Default.",`- Mode: ${F(ot)}`,`- Data: ${F(
|
|
87
|
+
at)}`,"- Workdir: `path`","- Runtimes: `runtime`...","- Prepare|Build|Run `label`: `command` `argument`..."],parameter:[
|
|
88
|
+
"- Default: `text`","- Description: `text`","- Required."],presentation:[`- Kind: ${F(ct)}`,"- Preferred port: `1024` th\
|
|
87
89
|
rough `65535`","- URL path: `/path`","- Ready when: `GET` `/path` returns `200`"],previewIdentity:he,download:["- Path: \
|
|
88
|
-
`path`","- Name: `file-name`","- Media type: `type/subtype`"]});var Te="Project services",_e="vibe64.project-services.v1";var
|
|
89
|
-
Running typical MiB","runningTypical"],["Running high MiB","runningHigh"],["Typical MiB","typical"],["High MiB","high"]]);var
|
|
90
|
+
`path`","- Name: `file-name`","- Media type: `type/subtype`"]});var Te="Project services",_e="vibe64.project-services.v1";var Se="- Start `service-id` [per session] with `runtime` [in `workdir`]: `command` `argument`...";var Ie="vibe64.workspace-setup.v1",be="Workspace setup";var we="- Prepare `label` with `runtime` [in `workdir`] [when|if `path` exists]: `command` `argument`...";var ve="vibe64.resource-estimates.v1",Re="Resource estimates";var an=1024*1024,Oe=1024*1024,ke=new Map([["Startup typical MiB","startupTypical"],["Startup high MiB","startupHigh"],["\
|
|
91
|
+
Running typical MiB","runningTypical"],["Running high MiB","runningHigh"],["Typical MiB","typical"],["High MiB","high"]]);var pt=["Command values: the executable and every argument are separate backticked values separated by single spaces (at\
|
|
90
92
|
most 64 values of at most 4096 characters, no line breaks). The executable is a name on PATH or a project-relative path\
|
|
91
93
|
, never absolute and never containing `..`.","Runtimes are lowercase technology ids selected in the project's Stack, suc\
|
|
92
94
|
h as `nodejs` or `php`. Paths are canonical project-relative paths; `.` is the project root.","A section containing only\
|
|
93
95
|
`- Nothing.` explicitly declares nothing. Blank lines are ignored."].join(`
|
|
94
96
|
`),h=e=>e.map(n=>` ${n}`).join(`
|
|
95
|
-
`);function
|
|
97
|
+
`);function S({name:e,title:n,section:t,contract:r="",summary:c,body:i,example:o}){return{name:e,title:n,section:t,example:o,
|
|
96
98
|
text:()=>[`# ${n}`,"",`Section: \`## ${t}\` in \`genesis/stack.md\`${r?`, contract \`${r}\``:""}. Vibe64 owns its gramma\
|
|
97
|
-
r and meaning; Genesis transports the exact section text.`,"",c,"",i.trim(),"",
|
|
99
|
+
r and meaning; Genesis transports the exact section text.`,"",c,"",i.trim(),"",pt,"","## Example","","```markdown",`## ${t}`,
|
|
98
100
|
"",o.trim(),"```",""].join(`
|
|
99
|
-
`)}}var
|
|
101
|
+
`)}}var lt=`
|
|
100
102
|
### Target \`app\`: Application
|
|
101
103
|
|
|
102
104
|
- Default.
|
|
@@ -148,10 +150,10 @@ r and meaning; Genesis transports the exact section text.`,"",c,"",i.trim(),"",c
|
|
|
148
150
|
- Path: \`exports/report.csv\`
|
|
149
151
|
- Name: \`report.csv\`
|
|
150
152
|
- Media type: \`text/csv\`
|
|
151
|
-
`,
|
|
153
|
+
`,Sn=Object.freeze([S({name:"workspace-setup",title:"Workspace setup",section:be,contract:Ie,summary:"Ordered commands t\
|
|
152
154
|
hat prepare a session's working copy (dependencies, generated files, migrations) before any Output runs.",body:`
|
|
153
155
|
Each entry:
|
|
154
|
-
${h([
|
|
156
|
+
${h([we])}
|
|
155
157
|
|
|
156
158
|
- \`\` in \`workdir\` \`\` runs the command in that project directory (default \`.\`).
|
|
157
159
|
- \`\` when \`path\` exists \`\` waits: setup stays waiting until the path exists (for example a manifest the agent has not cr\
|
|
@@ -162,13 +164,13 @@ act recipe; changing any step runs setup again, and Outputs stay pending until i
|
|
|
162
164
|
nd non-destructive.
|
|
163
165
|
`,example:"\n- Prepare `Install dependencies` with `nodejs`: `npm` `ci`\n- Prepare `Migrate database` with `nodejs` if `mi\
|
|
164
166
|
grations` exists: `npm` `run` `db:migrate`\n- Prepare `Install client` with `nodejs` in `client` when `client/package.jso\
|
|
165
|
-
n` exists: `npm` `ci`\n"}),
|
|
167
|
+
n` exists: `npm` `ci`\n"}),S({name:"outputs",title:"Outputs",section:fe,contract:Ee,summary:"The runnable targets Vibe64\
|
|
166
168
|
offers: interactive terminal or web apps shown in Preview, and finite runs that produce downloads.",body:`
|
|
167
169
|
Headings, each target followed by its entries and then optional blocks:
|
|
168
170
|
${h(ye)}
|
|
169
171
|
|
|
170
172
|
Target entries:
|
|
171
|
-
${h(
|
|
173
|
+
${h(O.target)}
|
|
172
174
|
|
|
173
175
|
- Ids use lowercase letters, digits and single hyphens. Target ids are unique; at most one target is \`- Default.\` (the n\
|
|
174
176
|
ormal Preview).
|
|
@@ -181,24 +183,24 @@ laywright --target <id>\`). \`development\` is the other value; omitting Data as
|
|
|
181
183
|
- Workdir defaults to \`.\`.
|
|
182
184
|
|
|
183
185
|
\`#### Parameter\` entries (at most ${ge} per target, each used in a step):
|
|
184
|
-
${h(
|
|
186
|
+
${h(O.parameter)}
|
|
185
187
|
|
|
186
188
|
Values are single-line text of at most 4096 characters; an omitted Default is empty; Required rejects blank values. Para\
|
|
187
189
|
meters are visible arguments: keep credentials in Env.
|
|
188
190
|
|
|
189
191
|
\`#### Presentation\` entries:
|
|
190
|
-
${h(
|
|
192
|
+
${h(O.presentation)}
|
|
191
193
|
|
|
192
194
|
\`terminal\` accepts only Kind. \`web\` needs one Ready when (status 200 through 399); URL path defaults to \`/\`.
|
|
193
195
|
|
|
194
196
|
\`#### Download\` entries (all required):
|
|
195
|
-
${h(
|
|
197
|
+
${h(O.download)}
|
|
196
198
|
|
|
197
199
|
Path is a project-relative file the steps produce; Name is a safe file name of at most 255 characters; Media type is low\
|
|
198
200
|
ercase type/subtype.
|
|
199
201
|
|
|
200
202
|
\`#### Preview identity\` entries (web targets only; Command, Protocol and Identity types are required):
|
|
201
|
-
${h(
|
|
203
|
+
${h(O.previewIdentity)}
|
|
202
204
|
|
|
203
205
|
- The command is a committed, application-owned project-relative executable whose path contains \`/\`, without \`{host}\` or\
|
|
204
206
|
\`{port}\`.
|
|
@@ -207,7 +209,7 @@ ${h(v.previewIdentity)}
|
|
|
207
209
|
its identity exchange disabled unless both are present.
|
|
208
210
|
- The command's stdin/stdout protocol: \`vibe64-helper spec preview-identity-command\`. The configured account names: \`vib\
|
|
209
211
|
e64-helper spec preview-identities\`.
|
|
210
|
-
`,example:
|
|
212
|
+
`,example:lt}),S({name:"deployment",title:"Deployment",section:q,contract:z,summary:"The commands that turn a project re\
|
|
211
213
|
vision into a running production application.",body:`
|
|
212
214
|
Entries:
|
|
213
215
|
${h(K)}
|
|
@@ -230,14 +232,38 @@ ction database, so that only the project owner can create that account (the firs
|
|
|
230
232
|
n's owner). The host generates it as it does a generated secret, so never also list it under Generated secrets, and show\
|
|
231
233
|
s its value only to the project owner; it is never printed, logged or given to an assistant. Declare it only when the ap\
|
|
232
234
|
plication reads that variable.
|
|
235
|
+
- Sandbox allows names, from a closed set, what the application's own commands and service may do beyond an ordinary pro\
|
|
236
|
+
duction sandbox: \`gvisor\` lets them start gVisor's rootless \`runsc\` (it makes its own user, mount, PID, IPC, UTS and net\
|
|
237
|
+
work namespaces, mounts inside them and traces its own processes); \`fuse\` lets them mount a FUSE file system through \`/d\
|
|
238
|
+
ev/fuse\` inside a user and mount namespace of their own (for example \`unshare\` \`--user\` \`--map-root-user\` \`--mount\`), ne\
|
|
239
|
+
ver through a set-user-ID helper such as \`fusermount3\` outside one. Nothing else widens: no new privileges or capabiliti\
|
|
240
|
+
es outside those namespaces, the same writable folders and devices. A host grants an allowance only where its owner perm\
|
|
241
|
+
its it, and refuses a deploy that needs one it does not grant rather than run it with less. Declare it only when the app\
|
|
242
|
+
lication needs it, never to make a failing deploy pass: an allowance widens what an intruder in the application could re\
|
|
243
|
+
ach, so whether to grant it is the project owner's decision, never an assistant's. An assistant never adds or changes th\
|
|
244
|
+
is line on its own; it explains the failure and asks the person.
|
|
245
|
+
- Host-level preparation beyond the package manager, such as system packages, devices or host permissions, goes in one s\
|
|
246
|
+
cript per hosting environment, \`scripts/hosting/<host>.sh\`, which the \`HOSTING_SCRIPT\` environment variable names and th\
|
|
247
|
+
e Prepare step runs; an application that needs none has no such script. It never works around Vibe64's rules: what Vibe6\
|
|
248
|
+
4 provides, such as a runtime or a sandbox allowance, is declared in this section, never installed or switched on by the\
|
|
249
|
+
script, and where the host lacks something the script fails with one plain sentence instead of switching features off.
|
|
233
250
|
- One Ready when entry is required (status 200 through 399). Workdir defaults to \`.\`. Each other entry appears at most o\
|
|
234
251
|
nce.
|
|
235
252
|
- Recreate on restore lists project-relative globs (only \`*\` and \`**\`) that a restored deployment rebuilds with its Prep\
|
|
236
253
|
are step, such as installed dependencies. It requires a Prepare step.
|
|
237
254
|
- Migrate applies pending migrations without destroying data.
|
|
255
|
+
- Prepare and Build never need the database or another managed service: a host may run them alone, without those credent\
|
|
256
|
+
ials, to check that a revision builds before it publishes it.
|
|
257
|
+
- The host gives every step \`SIDE_EFFECTS\`: \`live\` only when the deployment's owner chose to act for real, otherwise \`si\
|
|
258
|
+
mulate\`; unset means \`simulate\` too. No step, Generated secret or Setup code sets it. Following it is the application's \
|
|
259
|
+
job: unless it is exactly \`live\`, the deployment is a test copy that sends no real email, SMS, push notification, paymen\
|
|
260
|
+
t or third-party webhook, simulates each one and writes it to its log, and shows a small, always-visible "Test copy" ban\
|
|
261
|
+
ner on its pages. Read it when the application runs, never at build time: changing it restarts the running application w\
|
|
262
|
+
ithout a new build. In Node, for example: \`if (process.env.SIDE_EFFECTS === "live") await mailer.send(message); else con\
|
|
263
|
+
sole.info("Test copy: email to %s not sent", message.to);\`
|
|
238
264
|
`,example:"\n- Runtimes: `nodejs`\n- Recreate on restore: `node_modules`\n- Generated secrets: `SESSION_SECRET`\n- Prepare `\
|
|
239
265
|
Install`: `npm` `ci`\n- Build `Build`: `npm` `run` `build`\n- Migrate `Migrate`: `npm` `run` `db:migrate`\n- Serve `Serve`:\
|
|
240
|
-
`env` `NODE_ENV=production` `node` `server.js`\n- Ready when: `GET` `/health` returns `200`\n"}),
|
|
266
|
+
`env` `NODE_ENV=production` `node` `server.js`\n- Ready when: `GET` `/health` returns `200`\n"}),S({name:"packaging",title:"\
|
|
241
267
|
Packaging",section:X,contract:Y,summary:"Source facts Vibe64 needs to turn this project into distributable packages: reg\
|
|
242
268
|
istry packages, static web bundles and generated mobile app shells. Where each package is published (targets, channels, \
|
|
243
269
|
builders) is Vibe64 project state, never this section.",body:`
|
|
@@ -268,21 +294,21 @@ dependencies`: `npm` `ci`\n- Build `Build bundled client`: `npm` `run` `build`\n
|
|
|
268
294
|
Platforms: `android`\n- Id: `com.example.notes`\n- Name: `Notes`\n- Icon: `assets/icon-1024.png`\n- Version from: `package.\
|
|
269
295
|
json`\n- Deep link scheme from: `APP_URL_SCHEME`\n- Permission `camera`: Take photos to attach to notes.\n\n### Package `sdk\
|
|
270
296
|
`: Notes SDK\n\n- Packer: `npm`\n- Workdir: `packages/notes-sdk`\n- Runtimes: `nodejs`\n- Version from: `package.json`\n"}),
|
|
271
|
-
|
|
297
|
+
S({name:"resource-estimates",title:"Resource estimates",section:Re,contract:ve,summary:"Optional memory planning hints f\
|
|
272
298
|
or Outputs and Workspace setup. They are not observed usage, reservations, minimum requirements or granted limits; the e\
|
|
273
299
|
xecution host owns those choices.",body:`
|
|
274
300
|
Headings: \`\` ### Output \`id\` \`\` (an id declared in Outputs) or \`### Workspace setup\` (requires declared setup steps), ea\
|
|
275
301
|
ch followed by fields:
|
|
276
|
-
${h([...
|
|
302
|
+
${h([...ke.keys()].map(e=>`- ${e}: \`number\``))}
|
|
277
303
|
|
|
278
304
|
- An interactive output declares the four Startup and Running fields. A finite output and Workspace setup declare only T\
|
|
279
305
|
ypical MiB and High MiB.
|
|
280
|
-
- Values are integer MiB from 1 through ${
|
|
306
|
+
- Values are integer MiB from 1 through ${Oe}; typical never exceeds high. Duplicate operations or fields and unknown fi\
|
|
281
307
|
elds are rejected. The section is at most 64 KiB and 2048 lines.
|
|
282
308
|
- Invalid estimates never change Outputs availability or setup readiness; the host then uses its generic policy. Changin\
|
|
283
309
|
g only estimates does not rerun setup.
|
|
284
310
|
`,example:"\n### Output `app`\n\n- Startup typical MiB: `1024`\n- Startup high MiB: `1536`\n- Running typical MiB: `768`\n- Ru\
|
|
285
|
-
nning high MiB: `1536`\n\n### Workspace setup\n\n- Typical MiB: `1024`\n- High MiB: `1536`\n"}),
|
|
311
|
+
nning high MiB: `1536`\n\n### Workspace setup\n\n- Typical MiB: `1024`\n- High MiB: `1536`\n"}),S({name:"connected-devel\
|
|
286
312
|
opment",title:"Connected development",section:ce,contract:ue,summary:"How this project consumes the working source of it\
|
|
287
313
|
s connected repositories (its own dependencies under development) in a session.",body:`
|
|
288
314
|
Entries:
|
|
@@ -302,10 +328,10 @@ nection also carries \`"script"\`.
|
|
|
302
328
|
- Custom connections: ${ae}
|
|
303
329
|
`,example:"\n- Default package type: `npm`\n- Sources file: `.connected-sources.json`\n- Prepare `Link connected packages` \
|
|
304
330
|
with `nodejs`: `node` `tools/link-connected.mjs`\n- Verify `Check connected packages` with `nodejs`: `node` `tools/verify\
|
|
305
|
-
-connected.mjs`\n"}),
|
|
331
|
+
-connected.mjs`\n"}),S({name:"project-services",title:"Project services",section:Te,contract:_e,summary:"Foreground help\
|
|
306
332
|
er processes (workers, local reference services) that Vibe64 starts before an Output.",body:`
|
|
307
333
|
Entries:
|
|
308
|
-
${h([
|
|
334
|
+
${h([Se])}
|
|
309
335
|
|
|
310
336
|
- Service ids are unique, start with a lowercase letter and use up to 64 lowercase letters, digits and hyphens. Workdir \
|
|
311
337
|
defaults to \`.\`.
|
|
@@ -317,7 +343,7 @@ ver spawn untracked background work.
|
|
|
317
343
|
rd the address in the session's ignored runtime folder) and check your own instance's readiness. Never assume a shared f\
|
|
318
344
|
ixed port.
|
|
319
345
|
`,example:"\n- Start `worker` with `nodejs` in `tools`: `npm` `run` `worker`\n- Start `reference` per session with `nodejs\
|
|
320
|
-
`: `npm` `run` `reference:service`\n"}),
|
|
346
|
+
`: `npm` `run` `reference:service`\n"}),S({name:"integration-setup",title:"Integration setup",section:de,contract:le,summary:"\
|
|
321
347
|
The one application-owned command the editor's Integrations controls call to configure, connect and check the applicatio\
|
|
322
348
|
n's external integrations.",body:`
|
|
323
349
|
Exactly one entry:
|
|
@@ -325,7 +351,7 @@ ${h([me])}
|
|
|
325
351
|
|
|
326
352
|
The command's request/response protocol and the \`integrations.json\` usage: \`vibe64-helper spec integration-setup-command\
|
|
327
353
|
\`.
|
|
328
|
-
`,example:"\n- Command with `nodejs` in `.`: `node` `scripts/integrations.js`\n"}),
|
|
354
|
+
`,example:"\n- Command with `nodejs` in `.`: `node` `scripts/integrations.js`\n"}),S({name:"architecture-inspection",title:"\
|
|
329
355
|
Architecture inspection",section:ee,contract:Q,summary:"Optional project-owned inspectors that the Architecture view run\
|
|
330
356
|
s to observe the application's structure (pages, routes, entry points).",body:`
|
|
331
357
|
Headings: \`\` ### Inspector \`id\`: Title \`\`, each followed by fields:
|
|
@@ -340,12 +366,12 @@ ject files before the inspector runs.
|
|
|
340
366
|
inked package folder (\`node_modules/<name>\` or \`node_modules/@scope/<name>\`); the file must stay inside that package's r\
|
|
341
367
|
eal folder.
|
|
342
368
|
- On analysis the command receives one \`jskit.architecture-inspection-input.v1\` JSON request on stdin (files with hashes\
|
|
343
|
-
, packages, package identity, UI discovery, the Stack hash and an optional \`cacheDirectory\`) and must print one \`${
|
|
369
|
+
, packages, package identity, UI discovery, the Stack hash and an optional \`cacheDirectory\`) and must print one \`${ut}\
|
|
344
370
|
\` JSON document; Genesis owns that observation schema.
|
|
345
371
|
- \`cacheDirectory\` is an absolute directory for this inspector alone, outside the source; the inspector may read and wri\
|
|
346
372
|
te only there. When it is absent or unusable, inspect without a cache. Ignore unknown request fields.
|
|
347
373
|
`,example:"\n### Inspector `ui`: UI routes\n\n- Runtime: `nodejs`\n- Directory: `.`\n- Command: `node` `tools/inspect-ui.mjs`\
|
|
348
|
-
\n- Timeout seconds: `30`\n- Max output bytes: `1048576`\n- Entry files: `src/main.js`\n"}),
|
|
374
|
+
\n- Timeout seconds: `30`\n- Max output bytes: `1048576`\n- Entry files: `src/main.js`\n"}),S({name:"architecture-layout",
|
|
349
375
|
title:"Architecture layout",section:re,contract:ie,summary:"Presentation groups for the Architecture view. Declarations \
|
|
350
376
|
neither discover subsystems nor change their ownership.",body:`
|
|
351
377
|
Headings: \`\` ### Group \`id\`: Title \`\`, each followed by:
|
|
@@ -357,4 +383,4 @@ Headings: \`\` ### Group \`id\`: Title \`\`, each followed by:
|
|
|
357
383
|
- A Subsystem is a directory root from \`genesis/subsystems.md\`; each root is placed once. A missing root is reported, ne\
|
|
358
384
|
ver invented.
|
|
359
385
|
`,example:"\n### Group `shared`: Shared libraries\n\n- Kind: `libraries`\n- Purpose: `Code reused by every surface.`\n- Subsy\
|
|
360
|
-
stem: `packages/shared`\n"})]);export{
|
|
386
|
+
stem: `packages/shared`\n"})]);export{Sn as VIBE64_GENESIS_AGENT_SPECS};
|