vibe64 0.1.47 → 0.1.49
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 +1734 -1687
- package/bin/server.js +75 -75
- package/bin/upgrade-state.js +4539 -4471
- package/dist/assets/GithubBrowserTabs-BwpiRS2u.js +1 -0
- package/dist/assets/{LocalDatabaseServer-6VzPWZxG.js → LocalDatabaseServer-u_Ky7bNS.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-TLwqAxDo.js → Vibe64AuthSettingsButton-BCwswT1G.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-B4dQ-oHD.js → Vibe64DashboardShell-CWlgrR2B.js} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-Bh5WIPOj.js → Vibe64DatabaseWorkspace-Dhs8_H0P.js} +1 -1
- package/dist/assets/Vibe64OutputControls-Dn548CZa.js +8 -0
- package/dist/assets/{Vibe64RepositoryWorkspace-idDg94lc.js → Vibe64RepositoryWorkspace-C-8S4JUF.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-Z9zxosyl.js → Vibe64SessionFiles-Cx6J7DDN.js} +2 -3
- package/dist/assets/{Vibe64UiStoryboardView-CrCDWMdR.js → Vibe64UiStoryboardView-DHyhJiWS.js} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-TqsxvGSf.js → Vibe64UnavailableSessions-Da4RxIhA.js} +1 -1
- package/dist/assets/{_sessionId_-7F1VGOou.js → _sessionId_-DCpgDPSI.js} +1 -1
- package/dist/assets/_slug_-BbEWp01a.js +25 -0
- package/dist/assets/{_slug_-B16mTWjj.css → _slug_-DerKOisL.css} +1 -1
- package/dist/assets/{access-Cx9RH95J.js → access-D4di2sCr.js} +1 -1
- package/dist/assets/{app-DPx4KKOa.js → app-Adr9Iz8p.js} +1 -1
- package/dist/assets/asyncModuleRecovery-DJsn5NrL.js +1 -0
- package/dist/assets/{changes-DYsuQLFW.js → changes-3Dd1O8Lu.js} +1 -1
- package/dist/assets/client-BAXHGUOC.js +1 -0
- package/dist/assets/{client-BYsDPxR3.js → client-CCZIu6yc.js} +1 -1
- package/dist/assets/{conversation-3ln-WnbL.css → conversation-CSDHdGDb.css} +1 -1
- package/dist/assets/conversation-DG9lp25w.js +8 -0
- package/dist/assets/conversation-ErAO1CmH.js +13 -0
- package/dist/assets/{dashboard-CWswAbYP.js → dashboard-0tCzDYCX.js} +1 -1
- package/dist/assets/english-definitions-DeiQ-jTT.js +1 -0
- package/dist/assets/env-DsyQ2MFX.js +1 -0
- package/dist/assets/{health-C0f6s-G1.js → health-DyTXU-nb.js} +1 -1
- package/dist/assets/{history-BQjETNB9.js → history-BXGAdPMI.js} +1 -1
- package/dist/assets/{incoming-COpY201m.js → incoming-yajkdGBY.js} +1 -1
- package/dist/assets/{index-MWACm8Pp.css → index-B-dukXUB.css} +1 -1
- package/dist/assets/index-CGz4Yow6.js +136 -0
- package/dist/assets/{integrations-BBkvNRHu.js → integrations-BMrXET36.js} +10 -2
- package/dist/assets/issues-kc1XBZCK.js +1 -0
- package/dist/assets/{learning-B8_wHoe1.js → learning-CIE5ghYv.js} +1 -1
- package/dist/assets/linkPath-Ch9eft18.js +1 -0
- package/dist/assets/{placement-DXvgK433.js → placement-BNmlke_j.js} +1 -1
- package/dist/assets/placement-DYM3JJ-F.js +1 -0
- package/dist/assets/publish-DTh6amqi.js +3 -0
- package/dist/assets/pull-requests-CbfGSSIh.js +1 -0
- package/dist/assets/{repository-BNPt7UWc.js → repository-BstMh-bG.js} +1 -1
- package/dist/assets/settings-Bf8C6dls.js +1 -0
- package/dist/assets/{studioGateApi-BVdclhPL.js → studioGateApi-mkX1eOTX.js} +1 -1
- package/dist/assets/{studioUrls-CGKCbM_d.js → studioUrls-B0-GdWh8.js} +1 -1
- package/dist/assets/useArchivedVibe64Sessions-DIOpfUxD.js +1 -0
- package/dist/assets/useCommand-CVuya6vG.js +1 -0
- package/dist/assets/useEndpointResource-7-YDfAxX.js +1 -0
- package/dist/assets/usePaths-Y6UuQxmI.js +1 -0
- package/dist/assets/{useUiFeedback-B51xtCAK.js → useUiFeedback-Bd3rao6E.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-ChJOU2SD.js +1 -0
- package/dist/assets/{useVibe64DatabaseTools-BE_yXZFn.js → useVibe64DatabaseTools-DKV-TeNJ.js} +1 -1
- package/dist/assets/{useVibe64ProjectScope-D7b8n1gx.js → useVibe64ProjectScope-DXjsKKhl.js} +1 -1
- package/dist/assets/useVibe64SessionData-BkIHUrP5.js +1 -0
- package/dist/assets/useVibe64SessionSelection-N8wX5oqo.js +1 -0
- package/dist/assets/{useVibe64SystemGraph-CDDcsye4.js → useVibe64SystemGraph-Db_eD-X8.js} +1 -1
- package/dist/assets/{useVibe64Terminal-Zr3Mig2L.js → useVibe64Terminal-B9EWJ9Ba.js} +2 -2
- package/dist/assets/vibe64ProjectScope.local-l5_-E6pq.js +1 -0
- package/dist/assets/vibe64RepositoryRealtime-CHT4-6VN.js +1 -0
- package/dist/assets/vibe64SessionFocus-CS6Ex53G.js +1 -0
- package/dist/assets/vibe64SessionFocus-CSm4YJQD.css +1 -0
- package/dist/assets/vibe64SessionRequestConfig-xIx-5jxQ.js +1 -0
- package/dist/index.html +26 -22
- package/docs/colleague-usage/ai-accounts.md +6 -2
- package/docs/colleague-usage/ai-balance-and-allowance.md +15 -2
- package/docs/colleague-usage/coding-agent-failures.md +2 -1
- package/docs/colleague-usage/coding-agent-goals.md +8 -3
- package/docs/colleague-usage/coding-agents.md +16 -0
- package/docs/colleague-usage/github-work.md +14 -0
- package/docs/colleague-usage/preview-browser-checks.md +5 -3
- package/docs/colleague-usage/project-setup.md +6 -3
- package/docs/colleague-usage/running-vibe64-on-your-computer.md +3 -1
- package/docs/colleague-usage/sessions.md +35 -7
- package/docs/colleague-usage/starter-apps.md +3 -0
- package/docs/colleague-usage/temporary-chat-context.md +2 -1
- package/docs/colleague-usage/temporary-chats.md +17 -5
- package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +539 -0
- package/node_modules/@jskit-ai/assistant-core/locales/en.json +383 -0
- package/node_modules/@jskit-ai/assistant-core/package.json +3 -2
- package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +138 -0
- package/node_modules/@jskit-ai/assistant-runtime/README.md +2 -1
- package/node_modules/@jskit-ai/assistant-runtime/locales/en.json +137 -0
- package/node_modules/@jskit-ai/assistant-runtime/package.json +3 -2
- package/node_modules/@jskit-ai/assistant-runtime/src/server/repositories/assistantConfigRepository.js +223 -203
- package/node_modules/@jskit-ai/assistant-runtime/src/server/repositories/conversationsRepository.js +286 -266
- package/node_modules/@jskit-ai/assistant-runtime/src/server/repositories/messagesRepository.js +270 -250
- package/node_modules/@jskit-ai/assistant-voice/locales/en.json +182 -0
- package/node_modules/@jskit-ai/assistant-voice/package.json +3 -2
- package/node_modules/@jskit-ai/connector-google-calendar/CHANGELOG.md +83 -0
- package/node_modules/@jskit-ai/connector-google-calendar/locales/en.json +91 -0
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +4 -3
- package/node_modules/@jskit-ai/connectors-catalog/CHANGELOG.md +1722 -0
- package/node_modules/@jskit-ai/connectors-catalog/README.md +11 -0
- package/node_modules/@jskit-ai/connectors-catalog/locales/en.json +3139 -0
- package/node_modules/@jskit-ai/connectors-catalog/package.json +5 -4
- package/node_modules/@jskit-ai/connectors-core/CHANGELOG.md +183 -0
- package/node_modules/@jskit-ai/connectors-core/locales/en.json +92 -0
- package/node_modules/@jskit-ai/connectors-core/package.json +3 -2
- package/node_modules/@jskit-ai/http-runtime/CHANGELOG.md +31 -0
- package/node_modules/@jskit-ai/http-runtime/locales/en.json +14 -0
- package/node_modules/@jskit-ai/http-runtime/package.json +3 -2
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +182 -0
- package/node_modules/@jskit-ai/kernel/locales/en.json +94 -0
- package/node_modules/@jskit-ai/kernel/package.json +6 -2
- package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +128 -0
- package/node_modules/@jskit-ai/payments-core/locales/en.json +77 -0
- package/node_modules/@jskit-ai/payments-core/package.json +3 -2
- package/node_modules/@jskit-ai/realtime/CHANGELOG.md +20 -0
- package/node_modules/@jskit-ai/realtime/locales/en.json +14 -0
- package/node_modules/@jskit-ai/realtime/package.json +3 -2
- package/node_modules/@jskit-ai/resource-core/package.json +1 -1
- package/node_modules/@jskit-ai/resource-crud-core/package.json +1 -1
- package/node_modules/@jskit-ai/uploads-runtime/CHANGELOG.md +35 -0
- package/node_modules/@jskit-ai/uploads-runtime/locales/en.json +15 -0
- package/node_modules/@jskit-ai/uploads-runtime/package.json +3 -2
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +49 -48
- package/node_modules/@local/vibe64-execution/src/server/gitTurnCheckpointCommand.js +1327 -0
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +430 -390
- package/node_modules/@local/vibe64-genesis/src/server/index.js +45 -45
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +119 -119
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +57 -57
- package/node_modules/@local/vibe64-sessions/package.json +2 -1
- package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +195 -175
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +1385 -1362
- package/package.json +15 -15
- package/server.bundle.mjs +44206 -42825
- package/dist/assets/GithubBrowserTabs-D-Z3TlA8.js +0 -1
- package/dist/assets/Vibe64OutputControls-DtybwgL3.js +0 -8
- package/dist/assets/_slug_-Bq84T_Iv.js +0 -24
- package/dist/assets/conversation-Bn7wpATa.js +0 -2
- package/dist/assets/conversation-CNcCrV-R.js +0 -16
- package/dist/assets/definitions-CEbi4qae.js +0 -1
- package/dist/assets/env-X7EOFLtl.js +0 -1
- package/dist/assets/index-CBo1BEk6.js +0 -138
- package/dist/assets/issues-BiSiUd5o.js +0 -1
- package/dist/assets/placement-B5T1LR7m.js +0 -1
- package/dist/assets/publish-CeLZE2AG.js +0 -3
- package/dist/assets/pull-requests-pTdQOT7i.js +0 -1
- package/dist/assets/settings-lecRzZ-r.js +0 -1
- package/dist/assets/useArchivedVibe64Sessions-DHYRnyJD.js +0 -1
- package/dist/assets/useCommand-Epd2yHhQ.js +0 -1
- package/dist/assets/useEndpointResource-DBRQISI_.js +0 -1
- package/dist/assets/usePaths-DdAnjVDj.js +0 -1
- package/dist/assets/useVibe64ConversationLog-DboM3tYN.js +0 -1
- package/dist/assets/useVibe64SessionData-CreWtQAO.js +0 -1
- package/dist/assets/useVibe64SessionSelection-CDaX4uwY.js +0 -1
- package/dist/assets/vibe64ProjectScope.local-BxTBYuRg.js +0 -1
- package/dist/assets/vibe64RepositoryRealtime-C-J0I5jY.js +0 -1
- package/dist/assets/vibe64SessionFocus-DSW5Irm6.css +0 -1
- package/dist/assets/vibe64SessionFocus-DzqbVq60.js +0 -1
|
@@ -126,51 +126,51 @@ oice.","For interactive navigation, use the proxy URL from `vibe64-helper previe
|
|
|
126
126
|
l` / `endpoints.browser.url`. Inside browser eval, use `await page.goto(new URL('/your-path', preview.url).href)`. The d\
|
|
127
127
|
irect application endpoint under diagnostics bypasses Preview identity and is not a browser-navigation URL.","Use the ma\
|
|
128
128
|
naged preview browser for interactive browsing and `vibe64-helper playwright` only for an existing configured project su\
|
|
129
|
-
ite;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
permits, keep required viewport, identity and security checks, and use existing automated
|
|
133
|
-
"For browser tests that write or reset data, inspect `vibe64-helper preview targets --json
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
and restores the previous Preview when the command finishes or is cancelled; report
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
and never invent a database name. Never spoof safety checks by changing only the test
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
starting another server. If test resources or external-effect controls are missing, report
|
|
145
|
-
preview ensure --target <id> --wait --json` deliberately selects an interactive target
|
|
146
|
-
is slow, measure migrations, fixtures and server startup before retrying or extending
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
or reread unchanged logs.","Batch related browser tests in one managed suite (one Preview
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
confirm `vibe64-helper playwright status` shows no active run and `vibe64-helper preview
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
never put values in arguments, logs, or repository files. Use empty stdin only when the
|
|
166
|
-
"When the person refers to a saved key, account or accounts hub, run `vibe64-helper env
|
|
167
|
-
fields, never values) and link the matching field to the variable the application reads
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
session storage.","After an Env mutation, report only the affected scope and key names,
|
|
171
|
-
|
|
172
|
-
generating it with the framework's own generator and piping it to `vibe64-helper env set <
|
|
173
|
-
write it into a generated `.env` file: Vibe64 regenerates that file from Env."]);function it(e,t){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${t} must be an object.`);return e}function Re(e,t,n){
|
|
129
|
+
ite; never install another browser. Pin `@playwright/test` exactly to the `platformVersion` that `vibe64-helper playwrig\
|
|
130
|
+
ht readiness` reports.","For browser evidence, batch related actions and assertions, return only needed values and inspe\
|
|
131
|
+
ct relevant locators or regions; screenshot at meaningful checkpoints or failures, not after every click. Reuse the mana\
|
|
132
|
+
ged browser when isolation permits, keep required viewport, identity and security checks, and use existing automated cas\
|
|
133
|
+
es for repeat verification.","For browser tests that write or reset data, inspect `vibe64-helper preview targets --json`\
|
|
134
|
+
and the project's `genesis/stack.md` Outputs. Run `vibe64-helper playwright --target <declared-test-target> test <suite\
|
|
135
|
+
arguments>` (or `npm-run <script>` in place of `test`). Vibe64 starts that web target, waits for readiness, uses its de\
|
|
136
|
+
clared application identity, and restores the previous Preview when the command finishes or is cancelled; report restora\
|
|
137
|
+
tion failures.","A target name is not proof of test isolation. Before running a destructive suite, the application must \
|
|
138
|
+
verify the server's actual test database and suppress real email, invoices, payments, and other external effects. Keep m\
|
|
139
|
+
anaged Env unchanged. The test launcher and its preview-identity command must use the same database. Follow the applicat\
|
|
140
|
+
ion's declared test resources and never invent a database name. Never spoof safety checks by changing only the test runn\
|
|
141
|
+
er's environment.","If no suitable test target exists, add one through the project's existing Outputs contract and appli\
|
|
142
|
+
cation-owned test scripts within authorized scope; normal Preview stays the default. Validate the exact disposable datab\
|
|
143
|
+
ase before resetting it, prepare fixtures before reporting readiness, and make Playwright use PLAYWRIGHT_BASE_URL (the s\
|
|
144
|
+
tarted target's URL) without starting another server. If test resources or external-effect controls are missing, report \
|
|
145
|
+
that blocker. `vibe64-helper preview ensure --target <id> --wait --json` deliberately selects an interactive target unti\
|
|
146
|
+
l changed. If browser startup is slow, measure migrations, fixtures and server startup before retrying or extending dead\
|
|
147
|
+
lines.","Keep test output small: run relevant files/cases, save stdout/stderr to local artifacts and keep exit status. R\
|
|
148
|
+
eport counts, duration, failed cases, actionable errors and artifact paths, reading only needed failure excerpts. Retain\
|
|
149
|
+
startup, resource and Preview-restoration errors even if tests pass, and trailing wrapper diagnostics separately from J\
|
|
150
|
+
SON. Do not rerun for output or reread unchanged logs.","Batch related browser tests in one managed suite (one Preview s\
|
|
151
|
+
witch and restore). Suites and live Preview actions are sequential: no browser actions, ensure/restart or target changes\
|
|
152
|
+
during a suite or restoration. Wait on the original execution, including background runs, through cleanup/restoration (\
|
|
153
|
+
empty polls: yield_time_ms: 30000 where supported; shorter only for interactive input); read-only status/logs stay avail\
|
|
154
|
+
able. Before live inspection, confirm `vibe64-helper playwright status` shows no active run and `vibe64-helper preview s\
|
|
155
|
+
tatus` is ready on the restored target. To stop, run `vibe64-helper playwright cancel <run-id>`, which waits for cleanup\
|
|
156
|
+
/restoration; retry if cleanup needs attention. Never kill test/Preview PIDs or change locks; launcher exit alone does n\
|
|
157
|
+
ot prove tests stopped. Recheck status before reporting a busy blocker.","If a managed command reports kernel task denia\
|
|
158
|
+
ls or a resource incident, report the blocker with its diagnostic and incident ID and ask the platform operator to inspe\
|
|
159
|
+
ct that evidence before retrying; never raise test timeouts or weaken assertions to work around a process/thread limit. \
|
|
160
|
+
A generic browser timeout without resource evidence does not establish a platform cause."]),$n=Object.freeze(["Each mana\
|
|
161
|
+
ged shell command receives current development Env from Vibe64, including declared resource bindings; use them in ordina\
|
|
162
|
+
ry commands. Do not build environment injection or copy managed credentials into source. Resource provisioning and appli\
|
|
163
|
+
cation migrations remain separate preparation steps.","Use `vibe64-helper env status [development|production|all]` to in\
|
|
164
|
+
spect configured key names without revealing values.","Pipe an available value to `vibe64-helper env set <development|pr\
|
|
165
|
+
oduction> <KEY> [--secret]`; never put values in arguments, logs, or repository files. Use empty stdin only when the use\
|
|
166
|
+
r requested an empty value.","When the person refers to a saved key, account or accounts hub, run `vibe64-helper env sav\
|
|
167
|
+
ed` (names, descriptions and fields, never values) and link the matching field to the variable the application reads wit\
|
|
168
|
+
h `vibe64-helper env link <development|production> <KEY> <saved-id> <field-id>` instead of asking for the value.","Keep \
|
|
169
|
+
development and production values separate. Never invent credentials, copy a value between scopes without explicit direc\
|
|
170
|
+
tion, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affected scope and key names, nev\
|
|
171
|
+
er their values, and claim success only when the command succeeded.","Store a secret the application needs generated (su\
|
|
172
|
+
ch as an application key) by generating it with the framework's own generator and piping it to `vibe64-helper env set <s\
|
|
173
|
+
cope> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that file from Env."]);function it(e,t){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${t} must be an object.`);return e}function Re(e,t,n){
|
|
174
174
|
let s=new Set(t),r=Object.keys(e).filter(i=>!s.has(i));if(r.length>0)throw new TypeError(`${n} contains unsupported fiel\
|
|
175
175
|
ds: ${r.join(", ")}.`)}function ot(e){if(Re(e,["conversationKind","scope","session","hostGuidance"],"Vibe64 session cont\
|
|
176
176
|
ext"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,"utf8")>1024))throw new TypeError(
|
|
@@ -37,124 +37,124 @@ ice.","For interactive navigation, use the proxy URL from `vibe64-helper preview
|
|
|
37
37
|
` / `endpoints.browser.url`. Inside browser eval, use `await page.goto(new URL('/your-path', preview.url).href)`. The di\
|
|
38
38
|
rect application endpoint under diagnostics bypasses Preview identity and is not a browser-navigation URL.","Use the man\
|
|
39
39
|
aged preview browser for interactive browsing and `vibe64-helper playwright` only for an existing configured project sui\
|
|
40
|
-
te;
|
|
41
|
-
browser evidence, batch related actions and assertions, return only needed values and
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"For browser tests that write or reset data, inspect `vibe64-helper preview targets --json`
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
and restores the previous Preview when the command finishes or is cancelled; report
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
and never invent a database name. Never spoof safety checks by changing only the test
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
starting another server. If test resources or external-effect controls are missing, report
|
|
56
|
-
preview ensure --target <id> --wait --json` deliberately selects an interactive target until
|
|
57
|
-
is slow, measure migrations, fixtures and server startup before retrying or extending
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
or reread unchanged logs.","Batch related browser tests in one managed suite (one Preview
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
confirm `vibe64-helper playwright status` shows no active run and `vibe64-helper preview
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
When the person refers to a saved key, account or accounts hub, run `vibe64-helper env saved
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
function c(e,s){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${s} must
|
|
86
|
-
let t=new Set(s),n=Object.keys(e).filter(o=>!t.has(o));if(n.length>0)throw new TypeError(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"Vibe64 host guidance must be bounded text supplied by the host.");if(!k.includes(e.conversationKind))
|
|
90
|
-
"Vibe64 session context has an unknown conversationKind.");let s=c(e.session,"Vibe64 session
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
{hostGuidance:e.hostGuidance}:{},session:r}}function
|
|
94
|
-
e.stableContext||"").trim();if(!s||s.length>x)throw new TypeError("Vibe64 ephemeral
|
|
95
|
-
|
|
96
|
-
return
|
|
97
|
-
session:r,hostGuidance:t=""}=v(e);return["VIBE64 CONVERSATION CONTEXT",
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
, who can upload, download and delete them in Files > Session Dropzone.
|
|
104
|
-
lasting project work in the repository.","VIBE64_PROJECT_BACKUPS holds
|
|
105
|
-
project, shown in Files > Project Backups (2w retention). Files expire 14
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
and do not reproduce it. If command control is unavailable, stop and
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
playwright`; when it reports a managed runtime, no browser installation is
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
from Vibe64 source or bundles.","Use `vibe64-helper --help` for additional
|
|
115
|
-
|
|
116
|
-
rename "Name"`; it changes only the display name, not its ID or
|
|
117
|
-
|
|
118
|
-
session receives it. Use a known ID for a specific colleague; ask if
|
|
119
|
-
supplied command; never yourself. Never open/select recipients. Write
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
finish your assistant reply with a fenced `vibe64-integration` block
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
["After a database migration or schema change, run `vibe64-helper database refresh`
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
-json`; it changes only diagram presentation. Inspect the resulting paths before
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
in issues (tickets), pull requests or comments, use authenticated managed `gh api`
|
|
139
|
-
|
|
140
|
-
Agent experiments or extracted credentials; an unauthenticated 404 does not prove a
|
|
141
|
-
|
|
142
|
-
/PR view reflects it.","When linking an issue in this project's repository, run `vibe64
|
|
143
|
-
>` and use its returned Vibe64 path exactly, including the /app prefix, as the primary
|
|
144
|
-
|
|
145
|
-
repositories keep their GitHub links.","Report authentication or transport failures
|
|
146
|
-
|
|
147
|
-
which earlier work is confirmed complete, what remains undone or unconfirmed, and the
|
|
148
|
-
|
|
149
|
-
unnecessarily.","A timeout or transport failure does not establish invalid
|
|
150
|
-
outage or a suspension problem. Separate recorded facts from hypotheses; say the cause
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
, its effects are unconfirmed: use a read-only check of the affected Git/GitHub state
|
|
154
|
-
claim that a comment was posted or not posted, or that a push succeeded or failed, from
|
|
155
|
-
|
|
156
|
-
`
|
|
157
|
-
`)}function
|
|
40
|
+
te; never install another browser. Pin `@playwright/test` exactly to the `platformVersion` that `vibe64-helper playwrigh\
|
|
41
|
+
t readiness` reports.","For browser evidence, batch related actions and assertions, return only needed values and inspec\
|
|
42
|
+
t relevant locators or regions; screenshot at meaningful checkpoints or failures, not after every click. Reuse the manag\
|
|
43
|
+
ed browser when isolation permits, keep required viewport, identity and security checks, and use existing automated case\
|
|
44
|
+
s for repeat verification.","For browser tests that write or reset data, inspect `vibe64-helper preview targets --json` \
|
|
45
|
+
and the project's `genesis/stack.md` Outputs. Run `vibe64-helper playwright --target <declared-test-target> test <suite \
|
|
46
|
+
arguments>` (or `npm-run <script>` in place of `test`). Vibe64 starts that web target, waits for readiness, uses its dec\
|
|
47
|
+
lared application identity, and restores the previous Preview when the command finishes or is cancelled; report restorat\
|
|
48
|
+
ion failures.","A target name is not proof of test isolation. Before running a destructive suite, the application must v\
|
|
49
|
+
erify the server's actual test database and suppress real email, invoices, payments, and other external effects. Keep ma\
|
|
50
|
+
naged Env unchanged. The test launcher and its preview-identity command must use the same database. Follow the applicati\
|
|
51
|
+
on's declared test resources and never invent a database name. Never spoof safety checks by changing only the test runne\
|
|
52
|
+
r's environment.","If no suitable test target exists, add one through the project's existing Outputs contract and applic\
|
|
53
|
+
ation-owned test scripts within authorized scope; normal Preview stays the default. Validate the exact disposable databa\
|
|
54
|
+
se before resetting it, prepare fixtures before reporting readiness, and make Playwright use PLAYWRIGHT_BASE_URL (the st\
|
|
55
|
+
arted target's URL) without starting another server. If test resources or external-effect controls are missing, report t\
|
|
56
|
+
hat blocker. `vibe64-helper preview ensure --target <id> --wait --json` deliberately selects an interactive target until\
|
|
57
|
+
changed. If browser startup is slow, measure migrations, fixtures and server startup before retrying or extending deadl\
|
|
58
|
+
ines.","Keep test output small: run relevant files/cases, save stdout/stderr to local artifacts and keep exit status. Re\
|
|
59
|
+
port counts, duration, failed cases, actionable errors and artifact paths, reading only needed failure excerpts. Retain \
|
|
60
|
+
startup, resource and Preview-restoration errors even if tests pass, and trailing wrapper diagnostics separately from JS\
|
|
61
|
+
ON. Do not rerun for output or reread unchanged logs.","Batch related browser tests in one managed suite (one Preview sw\
|
|
62
|
+
itch and restore). Suites and live Preview actions are sequential: no browser actions, ensure/restart or target changes \
|
|
63
|
+
during a suite or restoration. Wait on the original execution, including background runs, through cleanup/restoration (e\
|
|
64
|
+
mpty polls: yield_time_ms: 30000 where supported; shorter only for interactive input); read-only status/logs stay availa\
|
|
65
|
+
ble. Before live inspection, confirm `vibe64-helper playwright status` shows no active run and `vibe64-helper preview st\
|
|
66
|
+
atus` is ready on the restored target. To stop, run `vibe64-helper playwright cancel <run-id>`, which waits for cleanup/\
|
|
67
|
+
restoration; retry if cleanup needs attention. Never kill test/Preview PIDs or change locks; launcher exit alone does no\
|
|
68
|
+
t prove tests stopped. Recheck status before reporting a busy blocker.","If a managed command reports kernel task denial\
|
|
69
|
+
s or a resource incident, report the blocker with its diagnostic and incident ID and ask the platform operator to inspec\
|
|
70
|
+
t that evidence before retrying; never raise test timeouts or weaken assertions to work around a process/thread limit. A\
|
|
71
|
+
generic browser timeout without resource evidence does not establish a platform cause."]),T=Object.freeze(["Each manage\
|
|
72
|
+
d shell command receives current development Env from Vibe64, including declared resource bindings; use them in ordinary\
|
|
73
|
+
commands. Do not build environment injection or copy managed credentials into source. Resource provisioning and applica\
|
|
74
|
+
tion migrations remain separate preparation steps.","Use `vibe64-helper env status [development|production|all]` to insp\
|
|
75
|
+
ect configured key names without revealing values.","Pipe an available value to `vibe64-helper env set <development|prod\
|
|
76
|
+
uction> <KEY> [--secret]`; never put values in arguments, logs, or repository files. Use empty stdin only when the user \
|
|
77
|
+
requested an empty value.","When the person refers to a saved key, account or accounts hub, run `vibe64-helper env saved\
|
|
78
|
+
` (names, descriptions and fields, never values) and link the matching field to the variable the application reads with \
|
|
79
|
+
`vibe64-helper env link <development|production> <KEY> <saved-id> <field-id>` instead of asking for the value.","Keep de\
|
|
80
|
+
velopment and production values separate. Never invent credentials, copy a value between scopes without explicit directi\
|
|
81
|
+
on, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affected scope and key names, never\
|
|
82
|
+
their values, and claim success only when the command succeeded.","Store a secret the application needs generated (such\
|
|
83
|
+
as an application key) by generating it with the framework's own generator and piping it to `vibe64-helper env set <sco\
|
|
84
|
+
pe> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that file from Env."]);function l(e=""){
|
|
85
|
+
return String(e??"").trim()}function c(e,s){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${s} must b\
|
|
86
|
+
e an object.`);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(
|
|
87
|
+
`${r} contains unsupported fields: ${n.join(", ")}.`)}function v(e){if(i(e,["conversationKind","scope","session","hostGu\
|
|
88
|
+
idance"],"Vibe64 session context"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,
|
|
89
|
+
"utf8")>1024))throw new TypeError("Vibe64 host guidance must be bounded text supplied by the host.");if(!k.includes(e.conversationKind))
|
|
90
|
+
throw new TypeError("Vibe64 session context has an unknown conversationKind.");let s=c(e.session,"Vibe64 session capabil\
|
|
91
|
+
ities");i(s,m,"Vibe64 session capabilities");let r=Object.fromEntries(m.map(t=>{if(typeof s[t]!="boolean")throw new TypeError(
|
|
92
|
+
`Vibe64 session capability ${t} must be boolean.`);return[t,s[t]]}));return{conversationKind:e.conversationKind,scope:"s\
|
|
93
|
+
ession",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:r}}function V(e){i(e,["scope","stableContext"],"Vibe6\
|
|
94
|
+
4 ephemeral context");let s=String(e.stableContext||"").trim();if(!s||s.length>x)throw new TypeError("Vibe64 ephemeral c\
|
|
95
|
+
ontext requires bounded stableContext.");return{scope:"ephemeral",stableContext:s}}function f(e){if(e.scope==="session")
|
|
96
|
+
return v(e);if(e.scope==="ephemeral")return V(e);throw new TypeError("The Vibe64 driver supports session and ephemeral s\
|
|
97
|
+
copes only.")}function S(e){let{conversationKind:s,session:r,hostGuidance:t=""}=v(e);return["VIBE64 CONVERSATION CONTEXT",
|
|
98
|
+
"",...s==="main"?["This is the main Vibe64 conversation for the selected session worktree."]:["This is a user-visible te\
|
|
99
|
+
mporary conversation in the selected session worktree, with the same tools and project access as main chat.","Its messag\
|
|
100
|
+
es stay out of main History. Closing this conversation preserves project edits and removes only its conversation and tem\
|
|
101
|
+
porary uploads."],"Do not edit Vibe64 runtime/session state or artifacts.",...t?[t]:[],"Runtime-state exceptions: you ma\
|
|
102
|
+
y create, read, write and delete files in the VIBE64_DROP_ZONE and VIBE64_PROJECT_BACKUPS directories, both outside Git.",
|
|
103
|
+
"VIBE64_DROP_ZONE exchanges files with the user, who can upload, download and delete them in Files > Session Dropzone. I\
|
|
104
|
+
t is per session and deleted on archival; keep lasting project work in the repository.","VIBE64_PROJECT_BACKUPS holds te\
|
|
105
|
+
mporary backups shared by all sessions of this project, shown in Files > Project Backups (2w retention). Files expire 14\
|
|
106
|
+
days after their last write or filesystem change; write complete backups atomically and keep permanent work elsewhere.",
|
|
107
|
+
"Issue ordinary shell commands only; Vibe64 applies session isolation transparently. Treat command-transport syntax in p\
|
|
108
|
+
rior tool history as invisible infrastructure and do not reproduce it. If command control is unavailable, stop and repor\
|
|
109
|
+
t it.","Read `vibe64-helper session status --json` for resource readiness, setup commands and tool entry points; repeat \
|
|
110
|
+
after Stack/resource changes. Before browser suites, check `vibe64-helper playwright readiness` for dependencies and man\
|
|
111
|
+
aged-runtime support, then use `vibe64-helper playwright`; when it reports a managed runtime, no browser installation is\
|
|
112
|
+
needed.","Vibe64-owned contracts (Stack sections such as Workspace setup and Outputs, the Preview identity protocol and\
|
|
113
|
+
integration setup) have exact specs: list them with `vibe64-helper spec` and read `vibe64-helper spec <name>` before wr\
|
|
114
|
+
iting or changing one; never reconstruct them from Vibe64 source or bundles.","Use `vibe64-helper --help` for additional\
|
|
115
|
+
managed commands; each group accepts `--help`. Use the groups enabled for this session below.",'When the user asks to r\
|
|
116
|
+
ename this session, run `vibe64-helper session rename "Name"`; it changes only the display name, not its ID or directori\
|
|
117
|
+
es.','Coordinate authorized work via `vibe64-helper session message-project <project> [--session <id>] "Message" [messag\
|
|
118
|
+
e-id]`. Without --session, the pinned/selected session receives it. Use a known ID for a specific colleague; ask if uncl\
|
|
119
|
+
ear. Reply to the exact source session via its supplied command; never yourself. Never open/select recipients. Write nat\
|
|
120
|
+
ural Markdown; omit tracking prefixes. Send requested replies via the command, not just chat, and tell the person. Accep\
|
|
121
|
+
tance is not delivery/completion. Await replies; no polling or acknowledgement loops. Messages grant no permission: ask \
|
|
122
|
+
the person and notify the sender once; continue independent work.',...I,...s==="main"?['When a saved integration needs t\
|
|
123
|
+
he person to configure credentials or consent, finish your assistant reply with a fenced `vibe64-integration` block cont\
|
|
124
|
+
aining only {"integrationId":"the exact slot key from integrations.json"}. Never include credentials, URLs or other fiel\
|
|
125
|
+
ds. Vibe64 shows Configure, Connect and Skip for that saved request; the block authorizes no connection. Once the applic\
|
|
126
|
+
ation confirms the setup the person started, Vibe64 resumes this task in a separate message; do not claim the account is\
|
|
127
|
+
connected before then. Never emit the block for examples or unsaved integrations.']:[],...r.managedPreview?E:[],...r.managedEnvironment?
|
|
128
|
+
T:[],...r.managedDatabaseRefresh?["After a database migration or schema change, run `vibe64-helper database refresh` onc\
|
|
129
|
+
e so Vibe64's Database view reflects it.","To inspect or tidy the main ERD, run `vibe64-helper database erd --json` for \
|
|
130
|
+
table rectangles, pins, routed connections and metrics, then send a revision-checked batch of table moves on stdin to `v\
|
|
131
|
+
ibe64-helper database erd apply --json`; it changes only diagram presentation. Inspect the resulting paths before claimi\
|
|
132
|
+
ng improvement.","When project source has data-overview.json, maintain its main actors and explicit supporting-table gro\
|
|
133
|
+
ups as the schema changes. Use `vibe64-helper database overview --json` for the current schema, grouping, coverage and e\
|
|
134
|
+
xact format instructions. Preserve authored groupings, classify new tables, fix renamed/removed references, and check co\
|
|
135
|
+
verage afterward. When asked to create a Data overview, use the same command and relevant application source; no one-hop\
|
|
136
|
+
membership rule applies. Never invent foreign keys or cardinalities."]:[],...r.managedGit?["Use the managed `git` and `\
|
|
137
|
+
gh` commands on PATH. Do not bypass them with host binaries, a stripped PATH, or alternate credentials.","For GitHub-hos\
|
|
138
|
+
ted attachments and inline images in issues (tickets), pull requests or comments, use authenticated managed `gh api` wit\
|
|
139
|
+
h the original attachment URL, save the response to a local file and inspect it before reporting its contents. Never use\
|
|
140
|
+
unauthenticated curl/wget, User-Agent experiments or extracted credentials; an unauthenticated 404 does not prove a pri\
|
|
141
|
+
vate attachment is missing.","After changing GitHub issues, comments, labels or pull requests, run `vibe64-helper github\
|
|
142
|
+
refresh` once so Vibe64's Issues/PR view reflects it.","When linking an issue in this project's repository, run `vibe64\
|
|
143
|
+
-helper github issue-link <number>` and use its returned Vibe64 path exactly, including the /app prefix, as the primary \
|
|
144
|
+
Markdown link destination; it navigates in-app. You may include the GitHub URL as a secondary link. Never guess the proj\
|
|
145
|
+
ect slug or host; issues in other repositories keep their GitHub links.","Report authentication or transport failures di\
|
|
146
|
+
rectly; do not inspect credentials or invent another login path.","When a managed Git/GitHub command fails, tell the use\
|
|
147
|
+
r which requested action failed, which earlier work is confirmed complete, what remains undone or unconfirmed, and the n\
|
|
148
|
+
ext safe action. Retain the reported failure stage, execution budget and execution reference when provided; do not expos\
|
|
149
|
+
e credentials or dump raw output unnecessarily.","A timeout or transport failure does not establish invalid authenticati\
|
|
150
|
+
on, exhausted AI quota, a GitHub outage or a suspension problem. Separate recorded facts from hypotheses; say the cause \
|
|
151
|
+
is unknown when it is unproven. Recommend reconnection only when the reported error explicitly calls for it.","If the di\
|
|
152
|
+
agnostic says commandSubmitted=false, the requested Git/GitHub action was not attempted. After an execution timeout, los\
|
|
153
|
+
t response or unreadable response, its effects are unconfirmed: use a read-only check of the affected Git/GitHub state b\
|
|
154
|
+
efore repeating any write. Never claim that a comment was posted or not posted, or that a push succeeded or failed, from\
|
|
155
|
+
those errors alone. If verification is unavailable, report the outcome as unknown and stop; do not repeat the write or \
|
|
156
|
+
claim a safe rollback."]:[]].join(`
|
|
157
|
+
`)}function N(e={}){let s=c(e,"Vibe64 driver input"),r=f(s);return r.scope==="session"?S(r):r.stableContext}async function j(e={},{
|
|
158
158
|
readRegistry:s=y,workdir:r=""}={}){let t=c(e,"Vibe64 host resolver request");if(i(t,["data","providerSessionId","parentS\
|
|
159
159
|
essionIds","scope"],"Vibe64 host resolver request"),!["session","turn"].includes(t.scope))throw new TypeError("The Vibe6\
|
|
160
160
|
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let n=c(t.data,"Vibe64 host resolver da\
|
|
@@ -165,4 +165,4 @@ if(t.parentSessionIds!==void 0&&(!Array.isArray(t.parentSessionIds)||t.parentSes
|
|
|
165
165
|
a=>typeof a!="string"||!a.trim())))throw new TypeError("Invalid native conversation ancestry.");let d=[g,...t.parentSessionIds||
|
|
166
166
|
[]].filter(Boolean).map(a=>b.find(w=>l(w?.upstreamSessionId)===a)).find(Boolean),u=d?.promptContext;if(!u)return null;if(r&&
|
|
167
167
|
d.workdir&&p.resolve(r)!==p.resolve(d.workdir))throw new Error("The managed conversation belongs to a different project \
|
|
168
|
-
directory.");return f(u)}export{x as VIBE64_EPHEMERAL_CONTEXT_MAX_CHARACTERS,
|
|
168
|
+
directory.");return f(u)}export{x as VIBE64_EPHEMERAL_CONTEXT_MAX_CHARACTERS,N as vibe64Driver,j as vibe64DriverInputFromRegistry};
|