vibe64 0.1.63 → 0.1.64

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 (70) hide show
  1. package/bin/upgrade-state.js +3581 -3575
  2. package/dist/assets/{GithubBrowserTabs-DEq5_tSs.js → GithubBrowserTabs-Cf6ce1lO.js} +1 -1
  3. package/dist/assets/{LocalDatabaseServer-CrQ9aolO.js → LocalDatabaseServer-0VGIcy5Q.js} +1 -1
  4. package/dist/assets/{Vibe64AuthSettingsButton-Bbgu_IRu.js → Vibe64AuthSettingsButton-BGtVvQq0.js} +1 -1
  5. package/dist/assets/{Vibe64ConversationLog-MGFaNVSu.js → Vibe64ConversationLog-Cv_BE9yH.js} +1 -1
  6. package/dist/assets/{Vibe64DashboardShell-i01oU7QS.js → Vibe64DashboardShell-B3TN3NBS.js} +1 -1
  7. package/dist/assets/{Vibe64DatabaseWorkspace-BqOIE7at.js → Vibe64DatabaseWorkspace-CU0jCfP_.js} +1 -1
  8. package/dist/assets/{Vibe64FileArea-B8_Tqtgv.js → Vibe64FileArea-BWl-q11N.js} +1 -1
  9. package/dist/assets/{Vibe64OutputControls-eaoCQsYn.js → Vibe64OutputControls-DnfGKZHs.js} +1 -1
  10. package/dist/assets/{Vibe64RepositoryWorkspace-CoSH_5qZ.js → Vibe64RepositoryWorkspace-3UKN_pPs.js} +1 -1
  11. package/dist/assets/{Vibe64SessionFiles-Dt1EY-Qo.js → Vibe64SessionFiles-B1U6XSWQ.js} +1 -1
  12. package/dist/assets/{Vibe64SessionSourceEditor-D5-abooo.js → Vibe64SessionSourceEditor-De1QyTOd.js} +1 -1
  13. package/dist/assets/{Vibe64UiStoryboardView-CyuufVBB.js → Vibe64UiStoryboardView-JRGcklim.js} +1 -1
  14. package/dist/assets/{Vibe64UnavailableSessions-CaLRMl-0.js → Vibe64UnavailableSessions-Bd_-gPuL.js} +1 -1
  15. package/dist/assets/{_pageId_-M5CNslNQ.js → _pageId_-DIPouI7Z.js} +1 -1
  16. package/dist/assets/{_sessionId_-jSlkZQLV.js → _sessionId_-qH7uIGNl.js} +1 -1
  17. package/dist/assets/{_slug_-ClQKNEA9.js → _slug_-CaHlSQ8I.js} +5 -5
  18. package/dist/assets/{access-BqnqYSZR.js → access-O4hOM9ov.js} +1 -1
  19. package/dist/assets/{app-D7V6OMMB.js → app-CXljwZ0u.js} +1 -1
  20. package/dist/assets/{changes-odK1bV6J.js → changes-C5gleyWS.js} +1 -1
  21. package/dist/assets/{client-P5LOKvwh.js → client-CI-o7ITq.js} +2 -2
  22. package/dist/assets/{client-rknXpZ1o.js → client-DMEf6RSZ.js} +1 -1
  23. package/dist/assets/{client-DwF9Q0VQ.js → client-Do8szX_w.js} +2 -2
  24. package/dist/assets/{client-BLY6SeL-.js → client-fF-hq8nJ.js} +1 -1
  25. package/dist/assets/contracts-CNUMi5L0.js +3 -0
  26. package/dist/assets/{conversation-BoB7Drme.js → conversation-DiL2PEct.js} +3 -3
  27. package/dist/assets/{conversation-BMyk8R_u.css → conversation-RscSzQxq.css} +1 -1
  28. package/dist/assets/{dashboard-D6JkBdZg.js → dashboard-BWlG0Nli.js} +1 -1
  29. package/dist/assets/{english-definitions-CwCZ8VJ-.js → english-definitions-DcuZfQ4p.js} +1 -1
  30. package/dist/assets/env-D3DVC-Gd.js +1 -0
  31. package/dist/assets/{env-CCUgAwiV.css → env-i_R_LXlE.css} +1 -1
  32. package/dist/assets/{history-IBqZqdSL.js → history-BrWT8DRp.js} +1 -1
  33. package/dist/assets/{index-DAareKn3.js → index-HrVsvggI.js} +2 -2
  34. package/dist/assets/{integrations-BBMdyyMq.js → integrations-C4p_QTuv.js} +1 -1
  35. package/dist/assets/{issues-DwUO1HjX.js → issues-KxOOLtSM.js} +1 -1
  36. package/dist/assets/{learning-DAIqaO0B.js → learning-BWqH7wag.js} +1 -1
  37. package/dist/assets/{pages-DoUMcieZ.js → pages-DcNh-g_z.js} +1 -1
  38. package/dist/assets/{project-files-DilujZdI.js → project-files-C3a_vnA4.js} +1 -1
  39. package/dist/assets/{publish-KZQ_gdoN.js → publish-B1f2baHh.js} +1 -1
  40. package/dist/assets/{pull-requests-BB3CAadu.js → pull-requests-BHq5Yafl.js} +1 -1
  41. package/dist/assets/{repository-B90tiuN6.js → repository-DMBew8kp.js} +1 -1
  42. package/dist/assets/{settings-DdbhtNHb.js → settings-DDpgGhWO.js} +1 -1
  43. package/dist/assets/{useArchivedVibe64Sessions-B_pM75gN.js → useArchivedVibe64Sessions-C5Qguyob.js} +1 -1
  44. package/dist/assets/useAssistantAttachments-DvEl7gX6.js +2 -0
  45. package/dist/assets/{useVibe64ConversationLog-Ch0ZbnCG.js → useVibe64ConversationLog-BZ5g9Jp7.js} +2 -2
  46. package/dist/assets/{useVibe64SessionData-COsXmbMm.js → useVibe64SessionData-D9d4NfDo.js} +1 -1
  47. package/dist/assets/{useVibe64SessionSelection-CKBC-ZJw.js → useVibe64SessionSelection-DT1rJVvx.js} +1 -1
  48. package/dist/assets/{vibe64RepositoryRealtime-BIXVm4u9.js → vibe64RepositoryRealtime-kSshUn2K.js} +1 -1
  49. package/dist/assets/{vibe64SavedEnvValues-CU_SdjKx.js → vibe64SavedEnvValues-CgfMvj_h.js} +1 -1
  50. package/dist/assets/{vibe64SessionFocus-C0LfHXbF.js → vibe64SessionFocus-CLtCTOxq.js} +1 -1
  51. package/dist/index.html +5 -5
  52. package/docs/colleague-usage/coding-agent-goal-pause.md +4 -3
  53. package/docs/colleague-usage/coding-agent-goals.md +26 -18
  54. package/docs/colleague-usage/development-env.md +37 -5
  55. package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +6 -1
  56. package/node_modules/@jskit-ai/assistant-core/locales/en.json +2 -1
  57. package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
  58. package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +1 -0
  59. package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
  60. package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
  61. package/node_modules/@local/vibe64-execution/src/host/execHelper.js +671 -572
  62. package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +480 -479
  63. package/node_modules/@local/vibe64-genesis/src/server/index.js +22 -21
  64. package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +103 -102
  65. package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +790 -740
  66. package/package.json +4 -4
  67. package/server.bundle.mjs +37263 -37176
  68. package/dist/assets/contracts-CCZaLqSE.js +0 -1
  69. package/dist/assets/env-CIy7uwLb.js +0 -1
  70. package/dist/assets/useAssistantAttachments-BkYZckgz.js +0 -2
@@ -203,27 +203,28 @@ hs=Object.freeze(["Each managed shell command receives current development Env f
203
203
  bindings; use them in ordinary commands. Do not build environment injection or copy managed credentials into source. Res\
204
204
  ource provisioning and application migrations remain separate preparation steps.","Use `vibe64-helper env status [develo\
205
205
  pment|production|all]` to inspect configured key names without revealing values.","Pipe an available value to `vibe64-he\
206
- lper env set <development|production> <KEY> [--secret]`; never put values in arguments, logs, or repository files. Use e\
207
- mpty stdin only when the user requested an empty value. The host decides whose session may change production values; whe\
208
- n it refuses, report its message instead of retrying.","When the person refers to a saved key, account or accounts hub, \
209
- run `vibe64-helper env saved` (names, descriptions and fields, never values) and link the matching field to the variable\
210
- the application reads with `vibe64-helper env link <development|production> <KEY> <saved-id> <field-id>` instead of ask\
211
- ing for the value.","Keep development and production values separate. Never invent credentials, copy a value between sco\
212
- pes without explicit direction, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affecte\
213
- d scope and key names, never their values, and claim success only when the command succeeded.","Store a secret the appli\
214
- cation needs generated (such as an application key) by generating it with the framework's own generator and piping it to\
215
- `vibe64-helper env set <scope> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that fi\
216
- le from Env."]);function Ot(e,n){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${n} must be an object\
217
- .`);return e}function Pe(e,n,t){let s=new Set(n),r=Object.keys(e).filter(i=>!s.has(i));if(r.length>0)throw new TypeError(
218
- `${t} contains unsupported fields: ${r.join(", ")}.`)}function Rt(e){if(Pe(e,["conversationKind","scope","session","host\
219
- Guidance"],"Vibe64 session context"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,
220
- "utf8")>1024))throw new TypeError("Vibe64 host guidance must be bounded text supplied by the host.");if(!us.includes(e.conversationKind))
221
- throw new TypeError("Vibe64 session context has an unknown conversationKind.");let n=Ot(e.session,"Vibe64 session capabi\
222
- lities");Pe(n,[...kt,..._t],"Vibe64 session capabilities");let t=Object.fromEntries(kt.map(s=>{if(typeof n[s]!="boolean")
223
- throw new TypeError(`Vibe64 session capability ${s} must be boolean.`);return[s,n[s]]}));for(let s of _t){if(n[s]!==void 0&&
224
- typeof n[s]!="boolean")throw new TypeError(`Vibe64 session capability ${s} must be boolean.`);n[s]===!0&&(t[s]=!0)}return{
225
- conversationKind:e.conversationKind,scope:"session",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:t}}function fs(e){
226
- Pe(e,["scope","stableContext"],"Vibe64 ephemeral context");let n=String(e.stableContext||"").trim();if(!n||n.length>ps)throw new TypeError(
206
+ lper env set <development|production> <KEY> [--secret]`; it drops the one final newline that `echo` or a generator print\
207
+ s and stores every other character exactly. Never put values in arguments, logs, or repository files. Use empty stdin on\
208
+ ly when the user requested an empty value. The host decides whose session may change production values; when it refuses,\
209
+ report its message instead of retrying.","When the person refers to a saved key, account or accounts hub, run `vibe64-h\
210
+ elper env saved` (names, descriptions and fields, never values) and link the matching field to the variable the applicat\
211
+ ion reads with `vibe64-helper env link <development|production> <KEY> <saved-id> <field-id>` instead of asking for the v\
212
+ alue.","Keep development and production values separate. Never invent credentials, copy a value between scopes without e\
213
+ xplicit direction, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affected scope and k\
214
+ ey names, never their values, and claim success only when the command succeeded.","Store a secret the application needs \
215
+ generated (such as an application key) by generating it with the framework's own generator and piping it to `vibe64-help\
216
+ er env set <scope> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that file from Env."]);
217
+ function Ot(e,n){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${n} must be an object.`);return e}function Pe(e,n,t){
218
+ let s=new Set(n),r=Object.keys(e).filter(i=>!s.has(i));if(r.length>0)throw new TypeError(`${t} contains unsupported fiel\
219
+ ds: ${r.join(", ")}.`)}function Rt(e){if(Pe(e,["conversationKind","scope","session","hostGuidance"],"Vibe64 session cont\
220
+ ext"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,"utf8")>1024))throw new TypeError(
221
+ "Vibe64 host guidance must be bounded text supplied by the host.");if(!us.includes(e.conversationKind))throw new TypeError(
222
+ "Vibe64 session context has an unknown conversationKind.");let n=Ot(e.session,"Vibe64 session capabilities");Pe(n,[...kt,
223
+ ..._t],"Vibe64 session capabilities");let t=Object.fromEntries(kt.map(s=>{if(typeof n[s]!="boolean")throw new TypeError(
224
+ `Vibe64 session capability ${s} must be boolean.`);return[s,n[s]]}));for(let s of _t){if(n[s]!==void 0&&typeof n[s]!="bo\
225
+ olean")throw new TypeError(`Vibe64 session capability ${s} must be boolean.`);n[s]===!0&&(t[s]=!0)}return{conversationKind:e.
226
+ conversationKind,scope:"session",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:t}}function fs(e){Pe(e,["sco\
227
+ pe","stableContext"],"Vibe64 ephemeral context");let n=String(e.stableContext||"").trim();if(!n||n.length>ps)throw new TypeError(
227
228
  "Vibe64 ephemeral context requires bounded stableContext.");return{scope:"ephemeral",stableContext:n}}function gs(e){if(e.
228
229
  scope==="session")return Rt(e);if(e.scope==="ephemeral")return fs(e);throw new TypeError("The Vibe64 driver supports ses\
229
230
  sion and ephemeral scopes only.")}function Es(e){let{conversationKind:n,session:t,hostGuidance:s=""}=Rt(e);return["VIBE6\
@@ -99,108 +99,109 @@ P=Object.freeze(["Each managed shell command receives current development Env fr
99
99
  indings; use them in ordinary commands. Do not build environment injection or copy managed credentials into source. Reso\
100
100
  urce provisioning and application migrations remain separate preparation steps.","Use `vibe64-helper env status [develop\
101
101
  ment|production|all]` to inspect configured key names without revealing values.","Pipe an available value to `vibe64-hel\
102
- per env set <development|production> <KEY> [--secret]`; never put values in arguments, logs, or repository files. Use em\
103
- pty stdin only when the user requested an empty value. The host decides whose session may change production values; when\
104
- it refuses, report its message instead of retrying.","When the person refers to a saved key, account or accounts hub, r\
105
- un `vibe64-helper env saved` (names, descriptions and fields, never values) and link the matching field to the variable \
106
- the application reads with `vibe64-helper env link <development|production> <KEY> <saved-id> <field-id>` instead of aski\
107
- ng for the value.","Keep development and production values separate. Never invent credentials, copy a value between scop\
108
- es without explicit direction, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affected\
109
- scope and key names, never their values, and claim success only when the command succeeded.","Store a secret the applic\
110
- ation needs generated (such as an application key) by generating it with the framework's own generator and piping it to \
111
- `vibe64-helper env set <scope> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that fil\
112
- e from Env."]);function p(e,s){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${s} must be an object.`);
113
- return e}function i(e,s,r){let t=new Set(s),n=Object.keys(e).filter(o=>!t.has(o));if(n.length>0)throw new TypeError(`${r}\
114
- contains unsupported fields: ${n.join(", ")}.`)}function g(e){if(i(e,["conversationKind","scope","session","hostGuidanc\
115
- e"],"Vibe64 session context"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,
116
- "utf8")>1024))throw new TypeError("Vibe64 host guidance must be bounded text supplied by the host.");if(!x.includes(e.conversationKind))
117
- throw new TypeError("Vibe64 session context has an unknown conversationKind.");let s=p(e.session,"Vibe64 session capabil\
118
- ities");i(s,[...m,...v],"Vibe64 session capabilities");let r=Object.fromEntries(m.map(t=>{if(typeof s[t]!="boolean")throw new TypeError(
119
- `Vibe64 session capability ${t} must be boolean.`);return[t,s[t]]}));for(let t of v){if(s[t]!==void 0&&typeof s[t]!="boo\
120
- lean")throw new TypeError(`Vibe64 session capability ${t} must be boolean.`);s[t]===!0&&(r[t]=!0)}return{conversationKind:e.
121
- conversationKind,scope:"session",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:r}}function j(e){i(e,["scope",
122
- "stableContext"],"Vibe64 ephemeral context");let s=String(e.stableContext||"").trim();if(!s||s.length>I)throw new TypeError(
123
- "Vibe64 ephemeral context requires bounded stableContext.");return{scope:"ephemeral",stableContext:s}}function f(e){if(e.
124
- scope==="session")return g(e);if(e.scope==="ephemeral")return j(e);throw new TypeError("The Vibe64 driver supports sessi\
125
- on and ephemeral scopes only.")}function V(e){let{conversationKind:s,session:r,hostGuidance:t=""}=g(e);return["VIBE64 CO\
126
- NVERSATION CONTEXT","",...s==="main"?["This is the main Vibe64 conversation for the selected session worktree."]:["This \
127
- is a user-visible temporary conversation in the selected session worktree, with the same tools and project access as mai\
128
- n chat.","Its messages stay out of main History. Closing this conversation preserves project edits and removes only its \
129
- conversation and temporary uploads."],"Do not edit Vibe64 runtime/session state or artifacts.",...t?[t]:[],"Runtime-stat\
130
- e exceptions: you may create, read, write and delete files in the VIBE64_DROP_ZONE, VIBE64_PROJECT_DROP_ZONE and VIBE64_\
131
- PROJECT_BACKUPS directories, all outside Git.","VIBE64_DROP_ZONE exchanges files with the user, who can upload, download\
132
- and delete them in Files > Session Dropzone. It is per session and deleted on archival; keep lasting project work in th\
133
- e repository.","VIBE64_PROJECT_DROP_ZONE exchanges files shared by all sessions of this project, shown in the project Da\
134
- shboard's Project files > Project Dropzone. Files stay until someone deletes them.","VIBE64_PROJECT_BACKUPS holds tempor\
135
- ary backups shared by all sessions of this project, shown in the project Dashboard's Project files > Project Backups. Fi\
136
- les expire 14 days after their last write or filesystem change; write complete backups atomically and keep permanent wor\
137
- k elsewhere.","Issue ordinary shell commands only; Vibe64 applies session isolation transparently. Treat command-transpo\
138
- rt syntax in prior tool history as invisible infrastructure and do not reproduce it. If command control is unavailable, \
139
- stop and report it.","Read `vibe64-helper session status --json` for resource readiness, setup commands, tool entry poin\
140
- ts and, under repository, the stored Save or Update failure behind Repository needs help (report its message and nextSte\
141
- p; never guess) and, as updateFirst, whether this session is behind its saved version with the incoming versions; repeat\
142
- after Stack/resource changes. Before browser suites, check `vibe64-helper playwright readiness` for dependencies and ma\
143
- naged-runtime support, then use `vibe64-helper playwright`; when it reports a managed runtime, no browser installation i\
144
- s needed.","Before changing dependencies or porting code, check whether the session's saved version already contains tha\
145
- t change (session status `repository.updateFirst`, then read-only `git log`/`git show` of the saved commit); if it does,\
146
- it arrives with Update: never redo it here. While Update failed or is pending, Update owns the session: do not repair s\
147
- etup or workspace preparation first. Local work the saved version supersedes, such as a stale or partial dependency bump\
148
- it completes, is resolved by taking the saved version: say so plainly in one sentence and never ask the person to choos\
149
- e, because Vibe64's checkpoint keeps the original. Ask only about genuine product decisions.","Connected repositories ar\
150
- e this session's own copies at `../connected/<name>`, listed in the Stack's Sources file and in `vibe64-helper session s\
151
- tatus --json` under `repository.connected`: edit them like this session's source; Save and Update cover them, so never c\
152
- ommit, push, fetch or rebase them yourself.","Vibe64-owned contracts (Stack sections such as Workspace setup and Outputs\
153
- , the Preview identity protocol and integration setup) have exact specs: list them with `vibe64-helper spec` and read `v\
154
- ibe64-helper spec <name>` before writing or changing one; never reconstruct them from Vibe64 source or bundles.",'Build \
155
- every email, SMS, push notification, payment or third-party webhook the application sends to follow `SIDE_EFFECTS` (`vib\
156
- e64-helper spec deployment`): unless it is exactly `live`, simulate it, log it and show a small "Test copy" banner. The \
157
- host sets it; never set it in Env, source or a Deployment step.',"Use `vibe64-helper --help` for additional managed comm\
158
- ands; each group accepts `--help`. Use the groups enabled for this session below.",'When the user asks to rename this se\
159
- ssion, run `vibe64-helper session rename "Name"`; it changes only the display name, not its ID or directories.','Coordin\
160
- ate authorized work via `vibe64-helper session message-project <project> [--session <id-or-name>] "Message" [message-id]\
161
- `. Without --session, the pinned/selected session receives it; in your own project that is often you. To reach another s\
162
- ession, by name or as "the other session", first run `vibe64-helper session list-project <project>` (your own project in\
163
- cluded), then pass its ID or name to --session. If exactly one other active session is listed, use it; ask only when sev\
164
- eral could be meant. Never say no other session exists without listing. Reply to the exact source session via its suppli\
165
- ed command; never yourself. Never open/select recipients. Write natural Markdown; omit tracking prefixes. Send requested\
166
- replies via the command, not just chat, and tell the person. Acceptance is not delivery/completion. Await replies; no p\
167
- olling or acknowledgement loops. Messages grant no permission: ask the person and notify the sender once; continue indep\
168
- endent work.',"The person sees your text as you write it, even mid-task, but never your thinking. When they write while \
169
- you work, reply first with a short visible message (answer a direct question directly), then continue.",...E,...s==="mai\
170
- n"?['When a saved integration needs the person to configure credentials or consent, finish your assistant reply with a f\
171
- enced `vibe64-integration` block containing only {"integrationId":"the exact slot key from integrations.json"}. Never in\
172
- clude credentials, URLs or other fields. Vibe64 shows Configure, Connect and Skip for that saved request; the block auth\
173
- orizes no connection. Once the application confirms the setup the person started, Vibe64 resumes this task in a separate\
174
- message; do not claim the account is connected before then. Never emit the block for examples or unsaved integrations.']:
175
- [],...r.managedPreview?T:[],...r.managedEnvironment?P:[],...r.managedPages?S:[],...r.managedDatabaseRefresh?["After a da\
176
- tabase migration or schema change, run `vibe64-helper database refresh` once so Vibe64's Database view reflects it.","To\
177
- inspect or tidy the main ERD, run `vibe64-helper database erd --json` for table rectangles, pins, routed connections an\
178
- d metrics, then send a revision-checked batch of table moves on stdin to `vibe64-helper database erd apply --json`; it c\
179
- hanges only diagram presentation. Inspect the resulting paths before claiming improvement.","When project source has dat\
180
- a-overview.json, maintain its main actors and explicit supporting-table groups as the schema changes. Use `vibe64-helper\
181
- database overview --json` for the current schema, grouping, coverage and exact format instructions. Preserve authored g\
182
- roupings, classify new tables, fix renamed/removed references, and check coverage afterward. When asked to create a Data\
183
- overview, use the same command and relevant application source; no one-hop membership rule applies. Never invent foreig\
184
- n keys or cardinalities."]:[],...r.managedGit?["Use the managed `git` and `gh` commands on PATH. Do not bypass them with\
185
- host binaries, a stripped PATH, or alternate credentials.","For attachments and inline images that GitHub stores for is\
186
- sues (tickets), pull requests or comments, use authenticated managed `gh api` with the original attachment URL, save the\
187
- response to a local file and inspect it before reporting its contents. Never use unauthenticated curl/wget, User-Agent \
188
- experiments or extracted credentials; an unauthenticated 404 does not prove a private attachment is missing.","After cha\
189
- nging GitHub issues, comments, labels or pull requests, run `vibe64-helper github refresh` once so Vibe64's Issues/PR vi\
190
- ew reflects it.","When linking an issue in this project's repository, run `vibe64-helper github issue-link <number>` and\
191
- use its returned Vibe64 path exactly, including the /app prefix, as the primary Markdown link destination; it navigates\
192
- in-app. You may include the GitHub URL as a secondary link. Never guess the project slug or host; issues in other repos\
193
- itories keep their GitHub links.","Report authentication or transport failures directly; do not inspect credentials or i\
194
- nvent another login path.","When a managed Git/GitHub command fails, tell the user which requested action failed, which \
195
- earlier work is confirmed complete, what remains undone or unconfirmed, and the next safe action. Retain the reported fa\
196
- ilure stage, execution budget and execution reference when provided; do not expose credentials or dump raw output unnece\
197
- ssarily.","A timeout or transport failure does not establish invalid authentication, exhausted AI quota, a GitHub outage\
198
- or a suspension problem. Separate recorded facts from hypotheses; say the cause is unknown when it is unproven. Recomme\
199
- nd reconnection only when the reported error explicitly calls for it.","If the diagnostic says commandSubmitted=false, t\
200
- he requested Git/GitHub action was not attempted. After an execution timeout, lost response or unreadable response, its \
201
- effects are unconfirmed: use a read-only check of the affected Git/GitHub state before repeating any write. Never claim \
202
- that a comment was posted or not posted, or that a push succeeded or failed, from those errors alone. If verification is\
203
- unavailable, report the outcome as unknown and stop; do not repeat the write or claim a safe rollback."]:[]].join(`
102
+ per env set <development|production> <KEY> [--secret]`; it drops the one final newline that `echo` or a generator prints\
103
+ and stores every other character exactly. Never put values in arguments, logs, or repository files. Use empty stdin onl\
104
+ y when the user requested an empty value. The host decides whose session may change production values; when it refuses, \
105
+ report its message instead of retrying.","When the person refers to a saved key, account or accounts hub, run `vibe64-he\
106
+ lper env saved` (names, descriptions and fields, never values) and link the matching field to the variable the applicati\
107
+ on reads with `vibe64-helper env link <development|production> <KEY> <saved-id> <field-id>` instead of asking for the va\
108
+ lue.","Keep development and production values separate. Never invent credentials, copy a value between scopes without ex\
109
+ plicit direction, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affected scope and ke\
110
+ y names, never their values, and claim success only when the command succeeded.","Store a secret the application needs g\
111
+ enerated (such as an application key) by generating it with the framework's own generator and piping it to `vibe64-helpe\
112
+ r env set <scope> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that file from Env."]);
113
+ function p(e,s){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${s} must be an object.`);return e}function i(e,s,r){
114
+ let t=new Set(s),n=Object.keys(e).filter(o=>!t.has(o));if(n.length>0)throw new TypeError(`${r} contains unsupported fiel\
115
+ ds: ${n.join(", ")}.`)}function g(e){if(i(e,["conversationKind","scope","session","hostGuidance"],"Vibe64 session contex\
116
+ t"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,"utf8")>1024))throw new TypeError(
117
+ "Vibe64 host guidance must be bounded text supplied by the host.");if(!x.includes(e.conversationKind))throw new TypeError(
118
+ "Vibe64 session context has an unknown conversationKind.");let s=p(e.session,"Vibe64 session capabilities");i(s,[...m,...v],
119
+ "Vibe64 session capabilities");let r=Object.fromEntries(m.map(t=>{if(typeof s[t]!="boolean")throw new TypeError(`Vibe64 \
120
+ session capability ${t} must be boolean.`);return[t,s[t]]}));for(let t of v){if(s[t]!==void 0&&typeof s[t]!="boolean")throw new TypeError(
121
+ `Vibe64 session capability ${t} must be boolean.`);s[t]===!0&&(r[t]=!0)}return{conversationKind:e.conversationKind,scope:"\
122
+ session",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:r}}function j(e){i(e,["scope","stableContext"],"Vibe\
123
+ 64 ephemeral context");let s=String(e.stableContext||"").trim();if(!s||s.length>I)throw new TypeError("Vibe64 ephemeral \
124
+ context requires bounded stableContext.");return{scope:"ephemeral",stableContext:s}}function f(e){if(e.scope==="session")
125
+ return g(e);if(e.scope==="ephemeral")return j(e);throw new TypeError("The Vibe64 driver supports session and ephemeral s\
126
+ copes only.")}function V(e){let{conversationKind:s,session:r,hostGuidance:t=""}=g(e);return["VIBE64 CONVERSATION CONTEXT",
127
+ "",...s==="main"?["This is the main Vibe64 conversation for the selected session worktree."]:["This is a user-visible te\
128
+ mporary conversation in the selected session worktree, with the same tools and project access as main chat.","Its messag\
129
+ es stay out of main History. Closing this conversation preserves project edits and removes only its conversation and tem\
130
+ porary uploads."],"Do not edit Vibe64 runtime/session state or artifacts.",...t?[t]:[],"Runtime-state exceptions: you ma\
131
+ y create, read, write and delete files in the VIBE64_DROP_ZONE, VIBE64_PROJECT_DROP_ZONE and VIBE64_PROJECT_BACKUPS dire\
132
+ ctories, all outside Git.","VIBE64_DROP_ZONE exchanges files with the user, who can upload, download and delete them in \
133
+ Files > Session Dropzone. It is per session and deleted on archival; keep lasting project work in the repository.","VIBE\
134
+ 64_PROJECT_DROP_ZONE exchanges files shared by all sessions of this project, shown in the project Dashboard's Project fi\
135
+ les > Project Dropzone. Files stay until someone deletes them.","VIBE64_PROJECT_BACKUPS holds temporary backups shared b\
136
+ y all sessions of this project, shown in the project Dashboard's Project files > Project Backups. Files expire 14 days a\
137
+ fter their last write or filesystem change; write complete backups atomically and keep permanent work elsewhere.","Issue\
138
+ ordinary shell commands only; Vibe64 applies session isolation transparently. Treat command-transport syntax in prior t\
139
+ ool history as invisible infrastructure and do not reproduce it. If command control is unavailable, stop and report it.",
140
+ "Read `vibe64-helper session status --json` for resource readiness, setup commands, tool entry points and, under reposit\
141
+ ory, the stored Save or Update failure behind Repository needs help (report its message and nextStep; never guess) and, \
142
+ as updateFirst, whether this session is behind its saved version with the incoming versions; repeat after Stack/resource\
143
+ changes. Before browser suites, check `vibe64-helper playwright readiness` for dependencies and managed-runtime support\
144
+ , then use `vibe64-helper playwright`; when it reports a managed runtime, no browser installation is needed.","Before ch\
145
+ anging dependencies or porting code, check whether the session's saved version already contains that change (session sta\
146
+ tus `repository.updateFirst`, then read-only `git log`/`git show` of the saved commit); if it does, it arrives with Upda\
147
+ te: never redo it here. While Update failed or is pending, Update owns the session: do not repair setup or workspace pre\
148
+ paration first. Local work the saved version supersedes, such as a stale or partial dependency bump it completes, is res\
149
+ olved by taking the saved version: say so plainly in one sentence and never ask the person to choose, because Vibe64's c\
150
+ heckpoint keeps the original. Ask only about genuine product decisions.","Connected repositories are this session's own \
151
+ copies at `../connected/<name>`, listed in the Stack's Sources file and in `vibe64-helper session status --json` under `\
152
+ repository.connected`: edit them like this session's source; Save and Update cover them, so never commit, push, fetch or\
153
+ rebase them yourself.","Vibe64-owned contracts (Stack sections such as Workspace setup and Outputs, the Preview identit\
154
+ y protocol and integration setup) have exact specs: list them with `vibe64-helper spec` and read `vibe64-helper spec <na\
155
+ me>` before writing or changing one; never reconstruct them from Vibe64 source or bundles.",'Build every email, SMS, pus\
156
+ h notification, payment or third-party webhook the application sends to follow `SIDE_EFFECTS` (`vibe64-helper spec deplo\
157
+ yment`): unless it is exactly `live`, simulate it, log it and show a small "Test copy" banner. The host sets it; never s\
158
+ et it in Env, source or a Deployment step.',"Use `vibe64-helper --help` for additional managed commands; each group acce\
159
+ pts `--help`. Use the groups enabled for this session below.",'When the user asks to rename this session, run `vibe64-he\
160
+ lper session rename "Name"`; it changes only the display name, not its ID or directories.','Coordinate authorized work v\
161
+ ia `vibe64-helper session message-project <project> [--session <id-or-name>] "Message" [message-id]`. Without --session,\
162
+ the pinned/selected session receives it; in your own project that is often you. To reach another session, by name or as\
163
+ "the other session", first run `vibe64-helper session list-project <project>` (your own project included), then pass it\
164
+ s ID or name to --session. If exactly one other active session is listed, use it; ask only when several could be meant. \
165
+ Never say no other session exists without listing. Reply to the exact source session via its supplied command; never you\
166
+ rself. Never open/select recipients. Write natural Markdown; omit tracking prefixes. Send requested replies via the comm\
167
+ and, not just chat, and tell the person. Acceptance is not delivery/completion. Await replies; no polling or acknowledge\
168
+ ment loops. Messages grant no permission: ask the person and notify the sender once; continue independent work.',"The pe\
169
+ rson sees your text as you write it, even mid-task, but never your thinking. When they write while you work, reply first\
170
+ with a short visible message (answer a direct question directly), then continue.",...E,...s==="main"?['When a saved int\
171
+ egration needs the person to configure credentials or consent, finish your assistant reply with a fenced `vibe64-integra\
172
+ tion` block containing only {"integrationId":"the exact slot key from integrations.json"}. Never include credentials, UR\
173
+ Ls or other fields. Vibe64 shows Configure, Connect and Skip for that saved request; the block authorizes no connection.\
174
+ Once the application confirms the setup the person started, Vibe64 resumes this task in a separate message; do not clai\
175
+ m the account is connected before then. Never emit the block for examples or unsaved integrations.']:[],...r.managedPreview?
176
+ T:[],...r.managedEnvironment?P:[],...r.managedPages?S:[],...r.managedDatabaseRefresh?["After a database migration or sch\
177
+ ema change, run `vibe64-helper database refresh` once so Vibe64's Database view reflects it.","To inspect or tidy the ma\
178
+ in ERD, run `vibe64-helper database erd --json` for table rectangles, pins, routed connections and metrics, then send a \
179
+ revision-checked batch of table moves on stdin to `vibe64-helper database erd apply --json`; it changes only diagram pre\
180
+ sentation. Inspect the resulting paths before claiming improvement.","When project source has data-overview.json, mainta\
181
+ in its main actors and explicit supporting-table groups as the schema changes. Use `vibe64-helper database overview --js\
182
+ on` for the current schema, grouping, coverage and exact format instructions. Preserve authored groupings, classify new \
183
+ tables, fix renamed/removed references, and check coverage afterward. When asked to create a Data overview, use the same\
184
+ command and relevant application source; no one-hop membership rule applies. Never invent foreign keys or cardinalities\
185
+ ."]:[],...r.managedGit?["Use the managed `git` and `gh` commands on PATH. Do not bypass them with host binaries, a strip\
186
+ ped PATH, or alternate credentials.","For attachments and inline images that GitHub stores for issues (tickets), pull re\
187
+ quests or comments, use authenticated managed `gh api` with the original attachment URL, save the response to a local fi\
188
+ le and inspect it before reporting its contents. Never use unauthenticated curl/wget, User-Agent experiments or extracte\
189
+ d credentials; an unauthenticated 404 does not prove a private attachment is missing.","After changing GitHub issues, co\
190
+ mments, labels or pull requests, run `vibe64-helper github refresh` once so Vibe64's Issues/PR view reflects it.","When \
191
+ linking an issue in this project's repository, run `vibe64-helper github issue-link <number>` and use its returned Vibe6\
192
+ 4 path exactly, including the /app prefix, as the primary Markdown link destination; it navigates in-app. You may includ\
193
+ e the GitHub URL as a secondary link. Never guess the project slug or host; issues in other repositories keep their GitH\
194
+ ub links.","Report authentication or transport failures directly; do not inspect credentials or invent another login pat\
195
+ h.","When a managed Git/GitHub command fails, tell the user which requested action failed, which earlier work is confirm\
196
+ ed complete, what remains undone or unconfirmed, and the next safe action. Retain the reported failure stage, execution \
197
+ budget and execution reference when provided; do not expose credentials or dump raw output unnecessarily.","A timeout or\
198
+ transport failure does not establish invalid authentication, exhausted AI quota, a GitHub outage or a suspension proble\
199
+ m. Separate recorded facts from hypotheses; say the cause is unknown when it is unproven. Recommend reconnection only wh\
200
+ en the reported error explicitly calls for it.","If the diagnostic says commandSubmitted=false, the requested Git/GitHub\
201
+ action was not attempted. After an execution timeout, lost response or unreadable response, its effects are unconfirmed\
202
+ : use a read-only check of the affected Git/GitHub state before repeating any write. Never claim that a comment was post\
203
+ ed or not posted, or that a push succeeded or failed, from those errors alone. If verification is unavailable, report th\
204
+ e outcome as unknown and stop; do not repeat the write or claim a safe rollback."]:[]].join(`
204
205
  `)}function D(e={}){let s=p(e,"Vibe64 driver input"),r=f(s);return r.scope==="session"?V(r):r.stableContext}async function C(e={},{
205
206
  readRegistry:s=k,workdir:r=""}={}){let t=p(e,"Vibe64 host resolver request");if(i(t,["data","providerSessionId","parentS\
206
207
  essionIds","scope"],"Vibe64 host resolver request"),!["session","turn"].includes(t.scope))throw new TypeError("The Vibe6\