vibe64 0.1.59 → 0.1.60
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 +1070 -1054
- package/bin/server.js +392 -376
- package/bin/upgrade-state.js +4439 -4420
- package/dist/assets/{GithubBrowserTabs-D_nMB5Y1.js → GithubBrowserTabs-Vv-64NIg.js} +1 -1
- package/dist/assets/{LocalDatabaseServer-BgO_aeUg.js → LocalDatabaseServer-rolg-sXl.js} +1 -1
- package/dist/assets/SelectField-DwWoHC2p.js +1 -0
- package/dist/assets/{ShellOutlet-Cr8SJs7s.js → ShellOutlet-Clsh2qYP.js} +1 -1
- package/dist/assets/Vibe64AuthSettingsButton-BICxvZDm.js +5 -0
- package/dist/assets/{Vibe64AuthSettingsButton-DRTKdimW.css → Vibe64AuthSettingsButton-DbL7Ukry.css} +1 -1
- package/dist/assets/{Vibe64ConversationLog-DtOgxPNR.js → Vibe64ConversationLog-K6aUo3q1.js} +4 -4
- package/dist/assets/{Vibe64ConversationLog-NH61odld.css → Vibe64ConversationLog-ksf1U6PP.css} +1 -1
- package/dist/assets/{Vibe64DashboardShell-DhPE6H3P.js → Vibe64DashboardShell-C_wkAaSb.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-Dy88t2ZX.js} +2 -2
- package/dist/assets/Vibe64FileArea-BU5rPyqx.js +1 -0
- package/dist/assets/{Vibe64FileArea-mydNQQl8.css → Vibe64FileArea-ZEzsvLt2.css} +1 -1
- package/dist/assets/Vibe64OutputControls-Z2K52QCc.js +8 -0
- package/dist/assets/{Vibe64RepositoryWorkspace-DUSMn4pR.js → Vibe64RepositoryWorkspace-CWw4w5SA.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-BXt__PJL.js → Vibe64SessionFiles-DI8ZH6aF.js} +1 -1
- package/dist/assets/{Vibe64SessionSourceEditor-NyG6niQM.js → Vibe64SessionSourceEditor-BVfoXgmZ.js} +1 -1
- package/dist/assets/{Vibe64UiStoryboardView-CtlJWiCY.css → Vibe64UiStoryboardView-BYLWabXY.css} +1 -1
- package/dist/assets/Vibe64UiStoryboardView-C-99xlAo.js +8 -0
- package/dist/assets/{Vibe64UnavailableSessions-CCPWJo8e.js → Vibe64UnavailableSessions-BRB2bUR_.js} +1 -1
- package/dist/assets/{_pageId_-D54CqzqG.js → _pageId_-DPJ8pvUs.js} +1 -1
- package/dist/assets/{_sessionId_-CW044RVi.js → _sessionId_-CiU1Awul.js} +1 -1
- package/dist/assets/_slug_-C5yeqlpL.js +14 -0
- package/dist/assets/{_slug_-WWvJTLoc.css → _slug_-Vy_1jrpy.css} +1 -1
- package/dist/assets/access-BH1OsqPS.css +1 -0
- package/dist/assets/access-Cq6GEVhT.js +1 -0
- package/dist/assets/{app-D9FegZf0.js → app-BKwP6m9e.js} +1 -1
- package/dist/assets/{assistantRouting-D4SnnxJn.js → assistantRouting-BS0ZW5Ki.js} +1 -1
- package/dist/assets/{changes-DtfJc780.js → changes-DT8e3wYn.js} +1 -1
- package/dist/assets/{client-Dra4Vp3A.js → client-BHa4BumO.js} +2 -2
- package/dist/assets/{client-DnjkdG6K.js → client-B_iZQVU8.js} +1 -1
- package/dist/assets/{client-BBqNv4HL.js → client-C-Rw8t8y.js} +1 -1
- package/dist/assets/{client-B8u2_Svv.css → client-CM6TGZc9.css} +1 -1
- package/dist/assets/{client-DuDOzb5A.js → client-Cf6iimPy.js} +2 -2
- package/dist/assets/{client-mU-LObHG.js → client-DWPSlYBq.js} +1 -1
- package/dist/assets/{conversation-QpMeXw70.js → conversation-CsB1b1JZ.js} +1 -1
- package/dist/assets/{conversation-La-pkh5h.css → conversation-DA_fbJJD.css} +1 -1
- package/dist/assets/{dashboard-B26QwE6y.js → dashboard-DRwBugiR.js} +1 -1
- package/dist/assets/{english-definitions-I9tIXY2u.js → english-definitions-Bi3yaDu7.js} +1 -1
- package/dist/assets/{env-BXsvM592.js → env-ObiVMW6f.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-Ev-UBIsw.js} +1 -1
- package/dist/assets/history-BSIuLgnI.css +1 -0
- package/dist/assets/history-U6UcbKBZ.js +1 -0
- package/dist/assets/{httpClient-BRO3GqjU.js → httpClient-Bwitq9Xf.js} +1 -1
- package/dist/assets/i18n-BkxO7BMl.js +1 -0
- package/dist/assets/index-Ctygjyf8.css +1 -0
- package/dist/assets/index-Wcdz2Rey.js +134 -0
- package/dist/assets/{integrations-CQNJxkMu.js → integrations-BHURBo17.js} +3 -3
- package/dist/assets/{integrations-CrI893NK.css → integrations-Bo_beIy3.css} +1 -1
- package/dist/assets/issues-D4Asc_wa.css +1 -0
- package/dist/assets/issues-DEzrDqDU.js +1 -0
- package/dist/assets/{learning-0cINHUSN.js → learning-BrBAyLFt.js} +1 -1
- package/dist/assets/{pages-DbF-yXqO.js → pages-5jaEclQo.js} +1 -1
- package/dist/assets/{pages-CIKw99GN.js → pages-BTk_FkDr.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-CTGwnBh7.js} +1 -1
- package/dist/assets/publish-BYZ7KRzq.js +3 -0
- package/dist/assets/{publish-DOybV3Qz.css → publish-C9O0tDPB.css} +1 -1
- package/dist/assets/{pull-requests-ybnixBv0.js → pull-requests-C-puL4SG.js} +1 -1
- package/dist/assets/{pull-requests-DnEm9m_1.css → pull-requests-DgWKsMdI.css} +1 -1
- package/dist/assets/{repository-wJZei_NJ.js → repository-DknGo0hr.js} +1 -1
- package/dist/assets/settings-BKZcbISO.css +1 -0
- package/dist/assets/settings-BmOQ1NnW.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-DI9ow2ds.js +1 -0
- package/dist/assets/useCommand-YOAaO5Wz.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-Bixow9mW.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-BkcPA64C.js +2 -0
- package/dist/assets/{useVibe64Learning-DZCyrfpy.js → useVibe64Learning-RE4HXHqo.js} +1 -1
- package/dist/assets/{useVibe64SessionData-rBvWMqyc.js → useVibe64SessionData-Df7M5k1M.js} +1 -1
- package/dist/assets/{useVibe64SessionSelection-C546mBu8.js → useVibe64SessionSelection-B0USk6X6.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-DKSXVg1B.js +1 -0
- package/dist/assets/vibe64SessionFocus-BJLy8eTE.js +1 -0
- package/dist/assets/vibe64SessionFocus-DdYRpG72.css +1 -0
- package/dist/index.html +26 -24
- package/docs/colleague-usage/ai-tasks.md +15 -4
- package/docs/colleague-usage/coding-agent-recovery.md +3 -1
- package/docs/colleague-usage/coding-agents.md +19 -1
- package/docs/colleague-usage/connected-repositories.md +16 -4
- package/docs/colleague-usage/files.md +2 -1
- package/docs/colleague-usage/github-work.md +50 -11
- package/docs/colleague-usage/health-checks.md +1 -1
- 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 +3 -2
- package/docs/colleague-usage/project-settings.md +3 -0
- package/docs/colleague-usage/session-archive.md +9 -0
- package/docs/colleague-usage/sessions.md +5 -4
- package/docs/colleague-usage/temporary-chats.md +4 -3
- 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/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/package.json +1 -1
- 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/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 +7 -0
- package/node_modules/@jskit-ai/kernel/package.json +1 -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-execution/src/host/execHelper.js +428 -423
- package/node_modules/@local/vibe64-genesis/bin/genesis +17 -11
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +830 -816
- package/node_modules/@local/vibe64-genesis/src/server/index.js +533 -519
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +172 -169
- 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 +1060 -1018
- 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 +43046 -42782
- 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/_slug_-CRtFhc0A.js +0 -14
- 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/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/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,174 +28,177 @@ 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
|
-
|
|
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."]),P=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
|
+
S=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 d(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=d(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.","Use `v\
|
|
155
|
+
ibe64-helper --help` for additional managed commands; each group accepts `--help`. Use the groups enabled for this sessi\
|
|
156
|
+
on below.",'When the user asks to rename this session, run `vibe64-helper session rename "Name"`; it changes only the di\
|
|
157
|
+
splay name, not its ID or directories.','Coordinate authorized work via `vibe64-helper session message-project <project>\
|
|
158
|
+
[--session <id-or-name>] "Message" [message-id]`. Without --session, the pinned/selected session receives it; in your o\
|
|
159
|
+
wn project that is often you. To reach another session, by name or as "the other session", first run `vibe64-helper sess\
|
|
160
|
+
ion list-project <project>` (your own project included), then pass its ID or name to --session. If exactly one other act\
|
|
161
|
+
ive session is listed, use it; ask only when several could be meant. Never say no other session exists without listing. \
|
|
162
|
+
Reply to the exact source session via its supplied command; never yourself. Never open/select recipients. Write natural \
|
|
163
|
+
Markdown; omit tracking prefixes. Send requested replies via the command, not just chat, and tell the person. Acceptance\
|
|
164
|
+
is not delivery/completion. Await replies; no polling or acknowledgement loops. Messages grant no permission: ask the p\
|
|
165
|
+
erson and notify the sender once; continue independent work.',"The person sees your text as you write it, even mid-task,\
|
|
166
|
+
but never your thinking. When they write while you work, reply first with a short visible message (answer a direct ques\
|
|
167
|
+
tion directly), then continue.",...E,...s==="main"?['When a saved integration needs the person to configure credentials \
|
|
168
|
+
or consent, finish your assistant reply with a fenced `vibe64-integration` block containing only {"integrationId":"the e\
|
|
169
|
+
xact slot key from integrations.json"}. Never include credentials, URLs or other fields. Vibe64 shows Configure, Connect\
|
|
170
|
+
and Skip for that saved request; the block authorizes no connection. Once the application confirms the setup the person\
|
|
171
|
+
started, Vibe64 resumes this task in a separate message; do not claim the account is connected before then. Never emit \
|
|
172
|
+
the block for examples or unsaved integrations.']:[],...r.managedPreview?T:[],...r.managedEnvironment?S:[],...r.managedPages?
|
|
173
|
+
P:[],...r.managedDatabaseRefresh?["After a database migration or schema change, run `vibe64-helper database refresh` onc\
|
|
174
|
+
e so Vibe64's Database view reflects it.","To inspect or tidy the main ERD, run `vibe64-helper database erd --json` for \
|
|
175
|
+
table rectangles, pins, routed connections and metrics, then send a revision-checked batch of table moves on stdin to `v\
|
|
176
|
+
ibe64-helper database erd apply --json`; it changes only diagram presentation. Inspect the resulting paths before claimi\
|
|
177
|
+
ng improvement.","When project source has data-overview.json, maintain its main actors and explicit supporting-table gro\
|
|
178
|
+
ups as the schema changes. Use `vibe64-helper database overview --json` for the current schema, grouping, coverage and e\
|
|
179
|
+
xact format instructions. Preserve authored groupings, classify new tables, fix renamed/removed references, and check co\
|
|
180
|
+
verage afterward. When asked to create a Data overview, use the same command and relevant application source; no one-hop\
|
|
181
|
+
membership rule applies. Never invent foreign keys or cardinalities."]:[],...r.managedGit?["Use the managed `git` and `\
|
|
182
|
+
gh` commands on PATH. Do not bypass them with host binaries, a stripped PATH, or alternate credentials.","For attachment\
|
|
183
|
+
s and inline images that GitHub stores for issues (tickets), pull requests or comments, use authenticated managed `gh ap\
|
|
184
|
+
i` with the original attachment URL, save the response to a local file and inspect it before reporting its contents. Nev\
|
|
185
|
+
er use unauthenticated curl/wget, User-Agent experiments or extracted credentials; an unauthenticated 404 does not prove\
|
|
186
|
+
a private attachment is missing.","After changing GitHub issues, comments, labels or pull requests, run `vibe64-helper \
|
|
187
|
+
github refresh` once so Vibe64's Issues/PR view reflects it.","When linking an issue in this project's repository, run `\
|
|
188
|
+
vibe64-helper github issue-link <number>` and use its returned Vibe64 path exactly, including the /app prefix, as the pr\
|
|
189
|
+
imary Markdown link destination; it navigates in-app. You may include the GitHub URL as a secondary link. Never guess th\
|
|
190
|
+
e project slug or host; issues in other repositories keep their GitHub links.","Report authentication or transport failu\
|
|
191
|
+
res directly; do not inspect credentials or invent another login path.","When a managed Git/GitHub command fails, tell t\
|
|
192
|
+
he user which requested action failed, which earlier work is confirmed complete, what remains undone or unconfirmed, and\
|
|
193
|
+
the next safe action. Retain the reported failure stage, execution budget and execution reference when provided; do not\
|
|
194
|
+
expose credentials or dump raw output unnecessarily.","A timeout or transport failure does not establish invalid authen\
|
|
195
|
+
tication, exhausted AI quota, a GitHub outage or a suspension problem. Separate recorded facts from hypotheses; say the \
|
|
196
|
+
cause is unknown when it is unproven. Recommend reconnection only when the reported error explicitly calls for it.","If \
|
|
197
|
+
the diagnostic says commandSubmitted=false, the requested Git/GitHub action was not attempted. After an execution timeou\
|
|
198
|
+
t, lost response or unreadable response, its effects are unconfirmed: use a read-only check of the affected Git/GitHub s\
|
|
199
|
+
tate before repeating any write. Never claim that a comment was posted or not posted, or that a push succeeded or failed\
|
|
200
|
+
, from those errors alone. If verification is unavailable, report the outcome as unknown and stop; do not repeat the wri\
|
|
201
|
+
te or claim a safe rollback."]:[]].join(`
|
|
199
202
|
`)}function D(e={}){let s=d(e,"Vibe64 driver input"),r=f(s);return r.scope==="session"?V(r):r.stableContext}async function C(e={},{
|
|
200
203
|
readRegistry:s=k,workdir:r=""}={}){let t=d(e,"Vibe64 host resolver request");if(i(t,["data","providerSessionId","parentS\
|
|
201
204
|
essionIds","scope"],"Vibe64 host resolver request"),!["session","turn"].includes(t.scope))throw new TypeError("The Vibe6\
|