vibe64 0.1.59 → 0.1.61
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 +1228 -1210
- package/bin/server.js +392 -376
- package/bin/upgrade-state.js +4457 -4430
- package/dist/assets/{GithubBrowserTabs-D_nMB5Y1.js → GithubBrowserTabs-DAgQxPXI.js} +1 -1
- package/dist/assets/{LocalDatabaseServer-BgO_aeUg.js → LocalDatabaseServer-m1G8ZS5i.js} +1 -1
- package/dist/assets/SelectField-DwWoHC2p.js +1 -0
- package/dist/assets/{ShellOutlet-Cr8SJs7s.js → ShellOutlet-CdjsJfg9.js} +1 -1
- package/dist/assets/Vibe64AuthSettingsButton-D3sB4BfM.js +5 -0
- package/dist/assets/{Vibe64AuthSettingsButton-DRTKdimW.css → Vibe64AuthSettingsButton-DFfFPrd7.css} +1 -1
- package/dist/assets/{Vibe64ConversationLog-DtOgxPNR.js → Vibe64ConversationLog-B-L5QsVr.js} +4 -4
- package/dist/assets/{Vibe64ConversationLog-NH61odld.css → Vibe64ConversationLog-ksf1U6PP.css} +1 -1
- package/dist/assets/{Vibe64DashboardShell-DhPE6H3P.js → Vibe64DashboardShell-CMzX3wRM.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-Bpnbjs4l.css → Vibe64DashboardShell-D0GNI4V8.css} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-cfn8TTxQ.css → Vibe64DatabaseWorkspace-De4sbXAN.css} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-CHV0cd3l.js → Vibe64DatabaseWorkspace-Dewhs6_T.js} +2 -2
- package/dist/assets/Vibe64DestinationButton-CdyyK9tj.js +1 -0
- package/dist/assets/Vibe64DestinationButton-ZxY1Lwie.css +1 -0
- package/dist/assets/Vibe64FileArea-DluZTu-c.js +1 -0
- package/dist/assets/{Vibe64FileArea-mydNQQl8.css → Vibe64FileArea-ZEzsvLt2.css} +1 -1
- package/dist/assets/Vibe64OutputControls-BfbdD25Y.js +8 -0
- package/dist/assets/{Vibe64RepositoryWorkspace-DUSMn4pR.js → Vibe64RepositoryWorkspace-CBsySPXN.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-BXt__PJL.js → Vibe64SessionFiles--wtVe_KC.js} +1 -1
- package/dist/assets/{Vibe64SessionSourceEditor-NyG6niQM.js → Vibe64SessionSourceEditor-BouH4fXC.js} +1 -1
- package/dist/assets/Vibe64UiStoryboardView--E04EEF8.js +8 -0
- package/dist/assets/{Vibe64UiStoryboardView-CtlJWiCY.css → Vibe64UiStoryboardView-DqLN6ofL.css} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-CCPWJo8e.js → Vibe64UnavailableSessions-94bFpxMK.js} +1 -1
- package/dist/assets/_pageId_-Ch4OpUkd.js +1 -0
- package/dist/assets/_sessionId_-7PyIUeUr.css +1 -0
- package/dist/assets/_sessionId_-DGT4d2La.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_-C8VNMRVH.js +14 -0
- package/dist/assets/_slug_-CZmGS16g.css +1 -0
- package/dist/assets/access-BAOx4iCS.js +1 -0
- package/dist/assets/access-BH1OsqPS.css +1 -0
- package/dist/assets/{app-D9FegZf0.js → app-Bs6-Hv23.js} +1 -1
- package/dist/assets/{assistantRouting-D4SnnxJn.js → assistantRouting-BS0ZW5Ki.js} +1 -1
- package/dist/assets/{changes-DtfJc780.js → changes-C6eMQ9YE.js} +1 -1
- package/dist/assets/{client-CUQfIUus.css → client-BBJzQIWS.css} +1 -1
- package/dist/assets/{client-BBqNv4HL.js → client-CIF5Y1Aj.js} +1 -1
- package/dist/assets/{client-B8u2_Svv.css → client-CM6TGZc9.css} +1 -1
- package/dist/assets/{client-DnjkdG6K.js → client-CVgL_ShV.js} +1 -1
- package/dist/assets/{client-DuDOzb5A.js → client-HWj_BNVZ.js} +2 -2
- package/dist/assets/{client-Dra4Vp3A.js → client-qAKnahkF.js} +2 -2
- package/dist/assets/{client-mU-LObHG.js → client-qpL_kR4u.js} +2 -2
- package/dist/assets/{conversation-QpMeXw70.js → conversation-DbF0OrZB.js} +3 -3
- package/dist/assets/{conversation-La-pkh5h.css → conversation-ZN3-8jbz.css} +1 -1
- package/dist/assets/{dashboard-B26QwE6y.js → dashboard-CzLsa0w0.js} +1 -1
- package/dist/assets/{english-definitions-I9tIXY2u.js → english-definitions-BA8v5wP1.js} +1 -1
- package/dist/assets/{env-BXsvM592.js → env-BqJ_GWbz.js} +1 -1
- 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/errorMessageHelpers-BjIt31kK.js +1 -0
- package/dist/assets/{errors-DErd0NON.js → errors-D17nJYne.js} +1 -1
- package/dist/assets/{health-C4WtefLm.js → health-CIqrHpVK.js} +1 -1
- package/dist/assets/history-BCjhpyP8.js +1 -0
- package/dist/assets/history-BSIuLgnI.css +1 -0
- package/dist/assets/{httpClient-BRO3GqjU.js → httpClient-Bwitq9Xf.js} +1 -1
- package/dist/assets/i18n-BkxO7BMl.js +1 -0
- package/dist/assets/{i18n-B5lc019_.js → i18n-Dm74yE_M.js} +1 -1
- package/dist/assets/index-Ctygjyf8.css +1 -0
- package/dist/assets/index-fXKdz8oR.js +134 -0
- package/dist/assets/{integrations-CrI893NK.css → integrations-CwgrZgmM.css} +1 -1
- package/dist/assets/{integrations-CQNJxkMu.js → integrations-cgbpgNNd.js} +12 -5
- package/dist/assets/issues-AhouA6nE.js +1 -0
- package/dist/assets/issues-D46llNv-.css +1 -0
- package/dist/assets/{learning-0cINHUSN.js → learning-DZXWgVEW.js} +1 -1
- package/dist/assets/{pages-DbF-yXqO.js → pages-5jaEclQo.js} +1 -1
- package/dist/assets/{pages-CIKw99GN.js → pages-BUUwIXBf.js} +1 -1
- package/dist/assets/{pathname-DOqQPPVa.js → pathname-JHQIKk21.js} +1 -1
- package/dist/assets/{placement-BAaZQhAh.js → placement-1lT0lW3-.js} +1 -1
- package/dist/assets/{placement-Lk1Lpy6s.js → placement-B2V88UDJ.js} +1 -1
- package/dist/assets/{project-files-CklWobqZ.js → project-files-BS2gdDSz.js} +1 -1
- package/dist/assets/publish-Bq_LPmX2.js +3 -0
- package/dist/assets/{publish-DOybV3Qz.css → publish-C9O0tDPB.css} +1 -1
- package/dist/assets/pull-requests-BvChbjCD.js +1 -0
- package/dist/assets/pull-requests-DtqrTix0.css +1 -0
- package/dist/assets/{repository-wJZei_NJ.js → repository-Dkow-18G.js} +1 -1
- package/dist/assets/settings-BKZcbISO.css +1 -0
- package/dist/assets/settings-r5RWQVzw.js +1 -0
- package/dist/assets/{shared-X5MxTHwl.js → shared-B6plZPQ_.js} +1 -1
- package/dist/assets/{studioGateApi-CHIdcQvD.js → studioGateApi-UqmdV50W.js} +1 -1
- package/dist/assets/{studioUrls-oIU1Eq_t.js → studioUrls-k_pQIuPs.js} +1 -1
- package/dist/assets/useArchivedVibe64Sessions-C0MVJuyX.js +1 -0
- package/dist/assets/useAssistantAttachments-BkYZckgz.js +2 -0
- package/dist/assets/useCommand-CNDe8gM-.js +1 -0
- package/dist/assets/{useEndpointResource-61E93qP-.js → useEndpointResource-CmMwteuX.js} +1 -1
- package/dist/assets/{usePaths-B-QGqa_I.js → usePaths-CvUbx5-V.js} +1 -1
- package/dist/assets/{useUiFeedback-CycH_fvY.js → useUiFeedback-CWb6o71Z.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-CUWEZhnf.js +2 -0
- package/dist/assets/{useVibe64Learning-DZCyrfpy.js → useVibe64Learning-RE4HXHqo.js} +1 -1
- package/dist/assets/{useVibe64SessionData-rBvWMqyc.js → useVibe64SessionData-kGr7R7lG.js} +1 -1
- package/dist/assets/{useVibe64SessionSelection-C546mBu8.js → useVibe64SessionSelection-BZ7WnRv0.js} +1 -1
- package/dist/assets/validators-HqYRjxEO.js +1 -0
- package/dist/assets/{vibe64FileUpload-D0Lv2mMJ.js → vibe64FileUpload-BDkcaUyk.js} +1 -1
- package/dist/assets/vibe64GithubProject-CJneIo5O.js +1 -0
- package/dist/assets/vibe64RepositoryRealtime-R5QhcJ4H.js +1 -0
- package/dist/assets/vibe64SessionFocus-BCojr4E-.css +1 -0
- package/dist/assets/vibe64SessionFocus-CHKCMxcJ.js +1 -0
- package/dist/index.html +29 -27
- package/docs/colleague-usage/ai-tasks.md +15 -4
- package/docs/colleague-usage/back-navigation.md +16 -13
- 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/coding-agent-recovery.md +3 -1
- package/docs/colleague-usage/coding-agents.md +19 -1
- package/docs/colleague-usage/colleague-watches.md +1 -1
- package/docs/colleague-usage/connected-projects.md +1 -1
- package/docs/colleague-usage/connected-repositories.md +16 -4
- 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/files.md +2 -1
- package/docs/colleague-usage/github-work.md +51 -12
- package/docs/colleague-usage/health-checks.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/preview-browser-checks.md +3 -0
- package/docs/colleague-usage/preview.md +29 -0
- package/docs/colleague-usage/project-messages.md +4 -3
- package/docs/colleague-usage/project-settings.md +3 -0
- package/docs/colleague-usage/session-archive.md +11 -0
- package/docs/colleague-usage/sessions.md +8 -7
- package/docs/colleague-usage/temporary-chats.md +4 -3
- package/docs/colleague-usage/ui-pass.md +1 -1
- package/docs/colleague-usage/usage-map.md +3 -2
- package/docs/colleague-usage/workspace-preparation.md +12 -0
- package/node_modules/@jskit-ai/agent/CHANGELOG.md +5 -0
- package/node_modules/@jskit-ai/agent/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +8 -0
- 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/CHANGELOG.md +4 -0
- 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 +2 -0
- package/node_modules/@jskit-ai/connectors-core/README.md +4 -0
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +8 -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/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- package/node_modules/@jskit-ai/resource-core/CHANGELOG.md +1 -0
- 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 +463 -442
- package/node_modules/@local/vibe64-genesis/bin/genesis +17 -11
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +827 -813
- package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +93 -67
- package/node_modules/@local/vibe64-genesis/src/server/index.js +608 -584
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +180 -175
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +490 -479
- package/node_modules/@local/vibe64-source-editor/src/server/searchIndexWorker.js +12 -11
- package/node_modules/@local/vibe64-system-graph/README.md +9 -5
- package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +262 -252
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +1026 -981
- package/node_modules/json-rest-schema/README.md +3 -1
- package/node_modules/json-rest-schema/package.json +1 -1
- package/package.json +17 -17
- package/server.bundle.mjs +43244 -42953
- package/dist/assets/Vibe64AuthSettingsButton-Bx9patil.js +0 -5
- package/dist/assets/Vibe64FileArea-DIDyAUvD.js +0 -1
- package/dist/assets/Vibe64OutputControls-mNWUWLSm.js +0 -8
- package/dist/assets/Vibe64UiStoryboardView-BXH2MSWn.js +0 -8
- package/dist/assets/_pageId_-D54CqzqG.js +0 -1
- package/dist/assets/_sessionId_-B5V2Fs2n.css +0 -1
- package/dist/assets/_sessionId_-CW044RVi.js +0 -1
- package/dist/assets/_sessionTool_-Be88HWbv.css +0 -1
- package/dist/assets/_slug_-CRtFhc0A.js +0 -14
- package/dist/assets/_slug_-WWvJTLoc.css +0 -1
- package/dist/assets/access-ChMLRErk.js +0 -1
- package/dist/assets/access-Cm2lrMF6.css +0 -1
- package/dist/assets/errorMessageHelpers-L2GsOwCP.js +0 -1
- package/dist/assets/history-BhqQz5jH.css +0 -1
- package/dist/assets/history-HHPFoNi3.js +0 -1
- package/dist/assets/index-BBfSvf2i.css +0 -1
- package/dist/assets/index-Bvd00puv.js +0 -134
- package/dist/assets/issues-BHr_nI-9.js +0 -1
- package/dist/assets/issues-CpBRQTQ_.css +0 -1
- package/dist/assets/publish-Cot797YN.js +0 -3
- package/dist/assets/pull-requests-DnEm9m_1.css +0 -1
- package/dist/assets/pull-requests-ybnixBv0.js +0 -1
- package/dist/assets/settings-DJByC5Wb.js +0 -1
- package/dist/assets/settings-bEkDjn0Y.css +0 -1
- package/dist/assets/useArchivedVibe64Sessions-B-DtXrk-.js +0 -1
- package/dist/assets/useAssistantAttachments-CkseokGM.js +0 -2
- package/dist/assets/useCommand-D96utlVe.js +0 -1
- package/dist/assets/useVibe64ConversationLog-BVANhCHq.js +0 -2
- package/dist/assets/validators-B3YzM6px.js +0 -1
- package/dist/assets/vibe64GithubProject-DNl0aDcC.js +0 -1
- package/dist/assets/vibe64RepositoryRealtime-BPsE5l5E.js +0 -1
- package/dist/assets/vibe64SessionFocus-CxX2nK6F.js +0 -1
- package/dist/assets/vibe64SessionFocus-DW73PN_o.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
|
|
2
2
|
import{readFile as k}from"node:fs/promises";import l from"node:path";function c(e){return String(e||"").trim()}var x=Object.freeze(["main","temporary"]),m=Object.freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","m\
|
|
3
|
-
anagedPreview"]),
|
|
3
|
+
anagedPreview"]),v=Object.freeze(["managedPages"]),I=64*1024,E=Object.freeze(["When user input is necessary, ask no more\
|
|
4
4
|
than three concise, high-impact questions at once.","Put multiple questions on separate lines as `[1] Question`, `[2] Q\
|
|
5
5
|
uestion`, and so on.","For a small fixed set of useful choices, put `Possible answers:` and a short bullet list directly\
|
|
6
6
|
beneath its own question, before the next one; never collect several questions' answers into one trailing list.","Each \
|
|
@@ -28,183 +28,188 @@ no access. Use existing sessions/permissions, reject missing/disabled accounts,
|
|
|
28
28
|
per-run enable flag and secret. Do not create users, change roles, reset passwords or weaken production auth for import\
|
|
29
29
|
. If choices are deferred/declined, say access stays unconfigured and continue independent setup work without repeated c\
|
|
30
30
|
redential requests. Public/non-web apps need no adapter.","Use `vibe64-helper preview status`, `screenshot`, `logs`, and\
|
|
31
|
-
`browser eval` (Playwright code on stdin) for rendered inspection.","
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
`vibe64-helper pages
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
to
|
|
89
|
-
the
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
env
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
[
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
31
|
+
`browser eval` (Playwright code on stdin) for rendered inspection.","When the person asks to see a page of the app, run\
|
|
32
|
+
`vibe64-helper preview open <path>` with its path inside the app (for example `/orders/42?tab=notes`): it moves the Pre\
|
|
33
|
+
view they have open to that page and says the AI opened it. Your managed browser is a separate copy and never moves thei\
|
|
34
|
+
r pane. If it reports `moved: 0`, give them the path to type into the Preview address box.","The top Preview toolbar Sto\
|
|
35
|
+
p and `vibe64-helper preview stop` stop this session's application and managed browser, not chat or source. Status repor\
|
|
36
|
+
ts the saved stopped choice. A status read, screenshot, browser inspection, source edit or session reopening is not perm\
|
|
37
|
+
ission to restart it; use `vibe64-helper preview ensure --wait` only for a deliberate Start. Scoped browser tests restor\
|
|
38
|
+
e the prior stopped choice.","For interactive navigation, use the proxy URL from `vibe64-helper preview inspect-url` or \
|
|
39
|
+
status `currentPage.url` / `endpoints.browser.url`. Inside browser eval, use `await page.goto(new URL('/your-path', prev\
|
|
40
|
+
iew.url).href)`. The direct application endpoint under diagnostics bypasses Preview identity and is not a browser-naviga\
|
|
41
|
+
tion URL.","Use the managed preview browser for interactive browsing and `vibe64-helper playwright` only for an existing\
|
|
42
|
+
configured project suite; never install another browser. Pin `@playwright/test` exactly to the `platformVersion` that `\
|
|
43
|
+
vibe64-helper playwright readiness` reports. The login state belongs to the host: pass `process.env.PLAYWRIGHT_STORAGE_S\
|
|
44
|
+
TATE` unchanged to `use.storageState`, and never read, parse or edit that file or its cookies in the Playwright config (\
|
|
45
|
+
`vibe64-helper playwright` refuses such a config). If tests run signed out with it, that is a host defect: report it wit\
|
|
46
|
+
h the evidence; do not work around it.","For browser evidence, batch related actions and assertions, return only needed \
|
|
47
|
+
values and inspect relevant locators or regions; screenshot at meaningful checkpoints or failures, not after every click\
|
|
48
|
+
. Reuse the managed browser when isolation permits, keep required viewport, identity and security checks, and use existi\
|
|
49
|
+
ng automated cases for repeat verification.","For browser tests that write or reset data, inspect `vibe64-helper preview\
|
|
50
|
+
targets --json` and the project's `genesis/stack.md` Outputs. Run `vibe64-helper playwright --target <declared-test-tar\
|
|
51
|
+
get> test <suite arguments>` (or `npm-run <script>` in place of `test`). Vibe64 starts that web target, waits for readin\
|
|
52
|
+
ess, uses its declared application identity, and restores the previous Preview when the command finishes or is cancelled\
|
|
53
|
+
; report restoration failures.","A target name is not proof of test isolation. Before running a destructive suite, the a\
|
|
54
|
+
pplication must verify the server's actual test database and suppress real email, invoices, payments, and other external\
|
|
55
|
+
effects. Keep managed Env unchanged. The test launcher and its preview-identity command must use the same database. Fol\
|
|
56
|
+
low the application's declared test resources and never invent a database name. Never spoof safety checks by changing on\
|
|
57
|
+
ly the test runner's environment.","If no suitable test target exists, add one through the project's existing Outputs co\
|
|
58
|
+
ntract and application-owned test scripts within authorized scope; normal Preview stays the default. Validate the exact \
|
|
59
|
+
disposable database before resetting it, prepare fixtures before reporting readiness, and make Playwright use PLAYWRIGHT\
|
|
60
|
+
_BASE_URL (the started target's URL) without starting another server. If test resources or external-effect controls are \
|
|
61
|
+
missing, report that blocker. `vibe64-helper preview ensure --target <id> --wait --json` deliberately selects an interac\
|
|
62
|
+
tive target until changed. If browser startup is slow, measure migrations, fixtures and server startup before retrying o\
|
|
63
|
+
r extending deadlines.","Keep test output small: run relevant files/cases, save stdout/stderr to local artifacts and kee\
|
|
64
|
+
p exit status. Report counts, duration, failed cases, actionable errors and artifact paths, reading only needed failure \
|
|
65
|
+
excerpts. Retain startup, resource and Preview-restoration errors even if tests pass, and trailing wrapper diagnostics s\
|
|
66
|
+
eparately from JSON. Do not rerun for output or reread unchanged logs.","Batch related browser tests in one managed suit\
|
|
67
|
+
e (one Preview switch and restore). Suites and live Preview actions are sequential: no browser actions, ensure/restart o\
|
|
68
|
+
r target changes during a suite or restoration. Wait on the original execution, including background runs, through clean\
|
|
69
|
+
up/restoration (empty polls: yield_time_ms: 30000 where supported; shorter only for interactive input); read-only status\
|
|
70
|
+
/logs stay available. Before live inspection, confirm `vibe64-helper playwright status` shows no active run and `vibe64-\
|
|
71
|
+
helper preview status` is ready on the restored target. To stop, run `vibe64-helper playwright cancel <run-id>`, which w\
|
|
72
|
+
aits for cleanup/restoration; retry if cleanup needs attention. Never kill test/Preview PIDs or change locks; launcher e\
|
|
73
|
+
xit alone does not prove tests stopped. Recheck status before reporting a busy blocker.","If a managed command reports k\
|
|
74
|
+
ernel task denials or a resource incident, report the blocker with its diagnostic and incident ID and ask the platform o\
|
|
75
|
+
perator to inspect that evidence before retrying; never raise test timeouts or weaken assertions to work around a proces\
|
|
76
|
+
s/thread limit. A generic browser timeout without resource evidence does not establish a platform cause."]),S=Object.freeze(
|
|
77
|
+
['Pages: `vibe64-helper pages publish <file.html|folder> [--title "Title"]` publishes an HTML page (one file, or a folde\
|
|
78
|
+
r with index.html and its own scripts, styles, data and images) that everyone with access to this project can open from \
|
|
79
|
+
Vibe64\'s Pages list; `vibe64-helper pages update <page-id> <file.html|folder>` gives a page a new version under the same\
|
|
80
|
+
link (it keeps ten; `vibe64-helper pages revert <page-id> <version>` brings one back); `vibe64-helper pages list` lists\
|
|
81
|
+
them. A page runs sandboxed and loads only its own files, never other addresses, CDNs or Vibe64 itself, so ship every s\
|
|
82
|
+
cript, style and data file inside it. Write page files outside the repository (for example in VIBE64_DROP_ZONE) unless t\
|
|
83
|
+
hey belong there. Give the printed link in the chat as a Markdown link; Vibe64 shows it as a card.',"Before writing a pa\
|
|
84
|
+
ge, read `vibe64-helper pages guide` in full and follow it: link `_vibe64/page.css` and build from its components (a hea\
|
|
85
|
+
der, summary tiles first, sections of cards, status pills, tables for comparisons, inline SVG charts), never a wall of t\
|
|
86
|
+
ext.",'After answering with a report, comparison, status or progress overview, dashboard, diagram, plan or review, end t\
|
|
87
|
+
he reply with a one-line offer, such as "Want this as a page everyone on the project can open?" (or, when a related page\
|
|
88
|
+
exists, offer to add it there). Make or change a page only once they say yes.',"When the person says the result is for \
|
|
89
|
+
other people (a colleague, the team, a client, a manager, a meeting) or that they will come back to it, make the page wi\
|
|
90
|
+
thout asking and give its link.","When a page's content will change over time (test results, progress, metrics), say the\
|
|
91
|
+
page can be kept up to date. When the person wants that, build it as the guide's \"A page that keeps itself up to date\" \
|
|
92
|
+
says: index.html for the layout, data.json for the numbers, then `vibe64-helper pages refresh <page-id>` with --every or\
|
|
93
|
+
--daily. Choose --command with a small script that writes data.json, which needs no AI, whenever a script can gather th\
|
|
94
|
+
e data; use --prompt only when gathering it needs judgement.","Before making a page, check `vibe64-helper pages list`: w\
|
|
95
|
+
hen a page about the same subject already exists, update it instead of making a new one.","Do not offer pages for quick \
|
|
96
|
+
answers, code changes, or documents that belong in the repository. Offer at most once per topic; do not nag.","Everyone \
|
|
97
|
+
with access to the project can open a page: never put secrets in one, or anything not every project member should see."]),
|
|
98
|
+
P=Object.freeze(["Each managed shell command receives current development Env from Vibe64, including declared resource b\
|
|
99
|
+
indings; use them in ordinary commands. Do not build environment injection or copy managed credentials into source. Reso\
|
|
100
|
+
urce provisioning and application migrations remain separate preparation steps.","Use `vibe64-helper env status [develop\
|
|
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(`
|
|
204
|
+
`)}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
|
+
readRegistry:s=k,workdir:r=""}={}){let t=p(e,"Vibe64 host resolver request");if(i(t,["data","providerSessionId","parentS\
|
|
201
206
|
essionIds","scope"],"Vibe64 host resolver request"),!["session","turn"].includes(t.scope))throw new TypeError("The Vibe6\
|
|
202
|
-
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let n=
|
|
207
|
+
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let n=p(t.data,"Vibe64 host resolver da\
|
|
203
208
|
ta");i(n,["registryPath"],"Vibe64 host resolver data");let o=c(n.registryPath);if(!l.isAbsolute(o))throw new TypeError("\
|
|
204
209
|
Vibe64 host resolver data requires an absolute registryPath.");let h=JSON.parse(await s(o,"utf8"));if(!Array.isArray(h?.
|
|
205
210
|
sessions))throw new TypeError("The conversation ownership registry is invalid.");let b=h.sessions,w=c(t.providerSessionId);
|
|
206
211
|
if(t.parentSessionIds!==void 0&&(!Array.isArray(t.parentSessionIds)||t.parentSessionIds.length>32||t.parentSessionIds.some(
|
|
207
|
-
a=>typeof a!="string"||!a.trim())))throw new TypeError("Invalid native conversation ancestry.");let
|
|
208
|
-
[]].filter(Boolean).map(a=>b.find(y=>c(y?.upstreamSessionId)===a)).find(Boolean),u=
|
|
209
|
-
|
|
212
|
+
a=>typeof a!="string"||!a.trim())))throw new TypeError("Invalid native conversation ancestry.");let d=[w,...t.parentSessionIds||
|
|
213
|
+
[]].filter(Boolean).map(a=>b.find(y=>c(y?.upstreamSessionId)===a)).find(Boolean),u=d?.promptContext;if(!u)return null;if(r&&
|
|
214
|
+
d.workdir&&l.resolve(r)!==l.resolve(d.workdir))throw new Error("The managed conversation belongs to a different project \
|
|
210
215
|
directory.");return f(u)}export{D as vibe64Driver,C as vibe64DriverInputFromRegistry};
|