vibe64 0.1.66 → 0.1.67
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 +1986 -1348
- package/bin/server.js +210 -207
- package/bin/upgrade-state.js +3862 -3786
- package/dist/assets/{GithubBrowserTabs-Bf5z_PiF.js → GithubBrowserTabs-CW3GBeJu.js} +1 -1
- package/dist/assets/{LocalDatabaseServer-CcfGbn7H.js → LocalDatabaseServer-DYh3UF9q.js} +1 -1
- package/dist/assets/{ShellOutlet-DPyl05um.js → ShellOutlet-DkLdtzJW.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-CxJoeOhz.js → Vibe64AuthSettingsButton-Cksj7FS6.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-DFfFPrd7.css → Vibe64AuthSettingsButton-DfKYI6ZS.css} +1 -1
- package/dist/assets/{Vibe64ConversationLog-jDb_ZvIF.js → Vibe64ConversationLog-BC0eDtUP.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-Ce1PNB37.js → Vibe64DashboardShell-DX5dOXAB.js} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-DiZDKEpx.js → Vibe64DatabaseWorkspace-8i-RDc9y.js} +1 -1
- package/dist/assets/{Vibe64FileArea-uRnIJ0Vp.js → Vibe64FileArea-EK5yUio3.js} +1 -1
- package/dist/assets/{Vibe64OutputControls-BF5kh2_h.js → Vibe64OutputControls--LB4G83q.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-CxgPB8RR.js → Vibe64SessionFiles-DVHGc7hd.js} +1 -1
- package/dist/assets/{Vibe64SessionSourceEditor-yaVu279S.js → Vibe64SessionSourceEditor-Bws5ihr-.js} +1 -1
- package/dist/assets/{Vibe64UiStoryboardView-DhbHkz8K.js → Vibe64UiStoryboardView-BmABkyG4.js} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-MmPF-Db1.js → Vibe64UnavailableSessions-C6Bkwsqk.js} +1 -1
- package/dist/assets/{_pageId_-Zif-veil.js → _pageId_-FjW-3sqF.js} +1 -1
- package/dist/assets/{_sessionId_-DOge-7SB.js → _sessionId_-4cH83Bfi.js} +1 -1
- package/dist/assets/_slug_-Cazfy5ui.js +14 -0
- package/dist/assets/_slug_-DQDycgFK.css +1 -0
- package/dist/assets/{access-DQcblrWN.js → access-mxcxtn7b.js} +1 -1
- package/dist/assets/{app-CzApKPmq.js → app-8zP_FAuO.js} +1 -1
- package/dist/assets/assistantRouting-Bbxguvre.js +3 -0
- package/dist/assets/{client-13v_yX07.js → client-C1i-bIgL.js} +1 -1
- package/dist/assets/{client-Dl6I6IVb.js → client-C7yZ1hEm.js} +1 -1
- package/dist/assets/{client-Dv4scw6i.js → client-CQ49uWhR.js} +1 -1
- package/dist/assets/{client-C8ZjqGdQ.js → client-D46Uu-YO.js} +2 -2
- package/dist/assets/{client-5JUUGxRd.js → client-DKNTl1to.js} +2 -2
- package/dist/assets/{dashboard-Dm_xwwqU.js → dashboard-CMtWKazq.js} +1 -1
- package/dist/assets/{english-definitions-DwTf_alg.js → english-definitions-DiyU9O9D.js} +1 -1
- package/dist/assets/{env-B7wB5nBn.js → env-LUc22Wgd.js} +1 -1
- package/dist/assets/{error-HfzrYwkQ.js → error-BccdQn04.js} +1 -1
- package/dist/assets/{error-CtOws2EC.js → error-DPDAz9Td.js} +1 -1
- package/dist/assets/{health-DIkOkzPe.js → health-CfMjMJFf.js} +1 -1
- package/dist/assets/{history-Ch597NiY.js → history-hX_kNskf.js} +1 -1
- package/dist/assets/{i18n-DcNQE3tT.js → i18n-Dq-ep9n7.js} +1 -1
- package/dist/assets/index-BJWiPV6i.css +1 -0
- package/dist/assets/{index-DcKFCaBZ.js → index-FVeEbKiO.js} +4 -4
- package/dist/assets/{integrations-CoNhnGvq.js → integrations-Ccb8EOEO.js} +14 -15
- package/dist/assets/{integrations-CwgrZgmM.css → integrations-CtnIjM1Y.css} +1 -1
- package/dist/assets/{issues-Cem4Yt47.js → issues-Bxtt7oqi.js} +1 -1
- package/dist/assets/{learning-CU2QyHrj.js → learning-BUx9jo91.js} +1 -1
- package/dist/assets/{pages-BzA58NoR.js → pages-D43zM2UW.js} +1 -1
- package/dist/assets/{project-files-BBKjl3wZ.js → project-files-BX3zZCcl.js} +1 -1
- package/dist/assets/{publish-UFjblZA3.js → publish-DatierL2.js} +1 -1
- package/dist/assets/{pull-requests-DibGk1GB.js → pull-requests-DNkOjcuy.js} +1 -1
- package/dist/assets/{settings-BjOnPYwD.js → settings-DbR9JIc3.js} +1 -1
- package/dist/assets/{useArchivedVibe64Sessions-CXKRFR2f.js → useArchivedVibe64Sessions-B8VDhA9F.js} +1 -1
- package/dist/assets/{useCommand-yOr3U8KF.js → useCommand-CfqxMb4C.js} +1 -1
- package/dist/assets/{useUiFeedback--0dLsslR.js → useUiFeedback-8Wvg7A_S.js} +1 -1
- package/dist/assets/{useVibe64ConversationLog-BB5tVtkt.js → useVibe64ConversationLog-7wgLlKG5.js} +2 -2
- package/dist/assets/useVibe64Learning-DkneotqS.js +5 -0
- package/dist/assets/{useVibe64SessionData-BSYF_TgH.js → useVibe64SessionData-DuJ-dHR8.js} +1 -1
- package/dist/assets/{useVibe64SessionSelection-CxZ3uEAf.js → useVibe64SessionSelection-BwjtqeIR.js} +1 -1
- package/dist/assets/vibe64SavedEnvValues-CCZew0j7.js +1 -0
- package/dist/assets/{vibe64SessionFocus-DGSVXipO.js → vibe64SessionFocus-B4diopOJ.js} +1 -1
- package/dist/index.html +10 -10
- package/docs/colleague-usage/ai-accounts.md +7 -7
- package/docs/colleague-usage/ai-model-setups.md +1 -1
- package/docs/colleague-usage/auto-workflow.md +60 -40
- package/docs/colleague-usage/chat-settings.md +115 -114
- package/docs/colleague-usage/coding-agent-history.md +9 -0
- package/docs/colleague-usage/coding-agent-recovery.md +3 -0
- package/docs/colleague-usage/coding-agents.md +10 -4
- package/docs/colleague-usage/developing-vibe64.md +11 -5
- package/docs/colleague-usage/development-env.md +74 -32
- package/docs/colleague-usage/github-work.md +3 -2
- package/docs/colleague-usage/integrations.md +2 -2
- package/docs/colleague-usage/main-chat-approvals.md +7 -6
- package/docs/colleague-usage/message-delivery-recovery.md +1 -1
- package/docs/colleague-usage/passes.md +215 -41
- package/docs/colleague-usage/plans.md +27 -16
- package/docs/colleague-usage/session-timeline.md +93 -0
- package/docs/colleague-usage/temporary-chats.md +6 -0
- package/docs/colleague-usage/ui-pass.md +29 -35
- package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +4 -0
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +3 -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 +1 -0
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/patterns/calendar-cli/example/.env.example +1 -0
- 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-catalog/patterns/api-key-connection/PATTERN.md +4 -1
- package/node_modules/@jskit-ai/connectors-catalog/patterns/oauth-connection/PATTERN.md +3 -1
- package/node_modules/@jskit-ai/connectors-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connectors-core/README.md +3 -1
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/kernel/package.json +3 -4
- package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/payments-core/locales/en.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/realtime/patterns/realtime-application/example/.env.example +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-core/package.json +2 -0
- package/node_modules/@local/vibe64-execution/package.json +1 -0
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +715 -666
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +873 -872
- package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +101 -85
- package/node_modules/@local/vibe64-genesis/src/server/index.js +615 -607
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +159 -157
- package/node_modules/@local/vibe64-runtime/package.json +1 -0
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +901 -900
- package/node_modules/@local/vibe64-terminals/package.json +2 -1
- package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +22 -22
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +382 -380
- package/package.json +15 -15
- package/server.bundle.mjs +40053 -39872
- package/dist/assets/_slug_-C71iAiR0.js +0 -14
- package/dist/assets/_slug_-CF1TPDUv.css +0 -1
- package/dist/assets/assistantRouting-CqIiQy21.js +0 -3
- package/dist/assets/index-C-6c5Af1.css +0 -1
- package/dist/assets/useVibe64Learning-iAAH83uG.js +0 -5
- package/dist/assets/vibe64SavedEnvValues-CgfMvj_h.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
|
|
2
|
-
import{readFile as k}from"node:fs/promises";import l from"node:path";function c(e){return String(e||"").trim()}var
|
|
3
|
-
anagedPreview"]),v=Object.freeze(["managedPages"]),
|
|
2
|
+
import{readFile as k}from"node:fs/promises";import l from"node:path";function c(e){return String(e||"").trim()}var I=Object.freeze(["main","temporary"]),m=Object.freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","m\
|
|
3
|
+
anagedPreview"]),v=Object.freeze(["managedPages"]),x=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 \
|
|
@@ -13,7 +13,7 @@ Possible answers:
|
|
|
13
13
|
[2] Tell the main agent before changes?
|
|
14
14
|
Possible answers:
|
|
15
15
|
- Yes, tell main first
|
|
16
|
-
- No, proceed independently`]),
|
|
16
|
+
- No, proceed independently`]),S=Object.freeze(["The Vibe64-managed preview is the canonical application server; never s\
|
|
17
17
|
tart a duplicate or replacement server. If it is unavailable, report that blocker. Describe only rendered browser eviden\
|
|
18
18
|
ce.","When adopting an authenticated app, or when its login blocks Preview inspection, inspect identity support/names wi\
|
|
19
19
|
th `vibe64-helper preview status`; prefer `vibe64-helper preview browser identity <configured-name>` to requesting passw\
|
|
@@ -25,105 +25,105 @@ rom the app framework's own pattern as part of the work instead of merely offeri
|
|
|
25
25
|
r confirms (you may propose existing app accounts) with `vibe64-helper preview identities save` (`vibe64-helper spec pre\
|
|
26
26
|
view-identities`), then verify each with `vibe64-helper preview browser identity <name>`; a saved selector alone proves \
|
|
27
27
|
no access. Use existing sessions/permissions, reject missing/disabled accounts, and disable the adapter without Vibe64\u2019s\
|
|
28
|
-
per-run enable flag and secret. Do not create users, change roles, reset passwords or weaken
|
|
29
|
-
. If choices are deferred/declined, say access stays unconfigured and continue independent setup work without
|
|
30
|
-
|
|
31
|
-
`browser eval` (Playwright code on stdin) for rendered inspection.","When the person asks to see a page of
|
|
32
|
-
`vibe64-helper preview open <path>` with its path inside the app (for example `/orders/42?tab=notes`): it
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
status `currentPage.url` / `endpoints.browser.url`. Inside browser eval, use `await page.goto(new URL('/your
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
configured project suite; never install another browser. Pin `@playwright/test` exactly to the `
|
|
43
|
-
vibe64-helper playwright readiness` reports. The login state belongs to the host: pass `process.env.
|
|
44
|
-
|
|
45
|
-
`vibe64-helper playwright` refuses such a config). If tests run signed out with it, that is a host defect:
|
|
46
|
-
|
|
47
|
-
values and inspect relevant locators or regions; screenshot at meaningful checkpoints or failures, not after
|
|
48
|
-
. Reuse the managed browser when isolation permits, keep required viewport, identity and security checks, and
|
|
49
|
-
|
|
50
|
-
targets --json` and the project's `genesis/stack.md` Outputs. Run `vibe64-helper playwright --target <
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
; report restoration failures.","A target name is not proof of test isolation. Before running a destructive
|
|
54
|
-
|
|
55
|
-
effects. Keep managed Env unchanged. The test launcher and its preview-identity command must use the same
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
disposable database before resetting it, prepare fixtures before reporting readiness, and make Playwright use
|
|
60
|
-
|
|
61
|
-
missing, report that blocker. `vibe64-helper preview ensure --target <id> --wait --json` deliberately selects
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
excerpts. Retain startup, resource and Preview-restoration errors even if tests pass, and trailing wrapper
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
/logs stay available. Before live inspection, confirm `vibe64-helper playwright status` shows no active run
|
|
71
|
-
helper preview status` is ready on the restored target. To stop, run `vibe64-helper playwright cancel <run-id
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
['Pages: `vibe64-helper pages publish <file.html|folder> [--title "Title"]` publishes an HTML page (one file, or
|
|
78
|
-
|
|
79
|
-
Vibe64\'s Pages list; `vibe64-helper pages update <page-id> <file.html|folder>` gives a page a new version under
|
|
80
|
-
link (it keeps ten; `vibe64-helper pages revert <page-id> <version>` brings one back); `vibe64-helper pages list
|
|
81
|
-
them. A page runs sandboxed and loads only its own files, never other addresses, CDNs or Vibe64 itself, so ship
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
exists, offer to add it there). Make or change a page only once they say yes.',"When the person says the result
|
|
89
|
-
other people (a colleague, the team, a client, a manager, a meeting) or that they will come back to it, make the
|
|
90
|
-
|
|
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
|
|
92
|
-
says: index.html for the layout, data.json for the numbers, then `vibe64-helper pages refresh <page-id>` with --
|
|
93
|
-
--daily. Choose --command with a small script that writes data.json, which needs no AI, whenever a script can
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
answers, code changes, or documents that belong in the repository. Offer at most once per topic; do not nag.","
|
|
97
|
-
with access to the project can open a page: never put secrets in one, or anything not every project member should
|
|
98
|
-
P=Object.freeze(["Each managed shell command receives current development Env from Vibe64, including declared
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
and stores every other character exactly. Never put values in arguments, logs, or repository files. Use empty stdin
|
|
104
|
-
|
|
28
|
+
per-run enable flag and secret. Do not create users, change roles, reset passwords or weaken the application's own auth\
|
|
29
|
+
for import. If choices are deferred/declined, say access stays unconfigured and continue independent setup work without\
|
|
30
|
+
repeated credential requests. Public/non-web apps need no adapter.","Use `vibe64-helper preview status`, `screenshot`, \
|
|
31
|
+
`logs`, and `browser eval` (Playwright code on stdin) for rendered inspection.","When the person asks to see a page of t\
|
|
32
|
+
he app, run `vibe64-helper preview open <path>` with its path inside the app (for example `/orders/42?tab=notes`): it mo\
|
|
33
|
+
ves the Preview they have open to that page and says the AI opened it. Your managed browser is a separate copy and never\
|
|
34
|
+
moves their pane. If it reports `moved: 0`, give them the path to type into the Preview address box.","The top Preview \
|
|
35
|
+
toolbar Stop and `vibe64-helper preview stop` stop this session's application and managed browser, not chat or source. S\
|
|
36
|
+
tatus reports the saved stopped choice. A status read, screenshot, browser inspection, source edit or session reopening \
|
|
37
|
+
is not permission to restart it; use `vibe64-helper preview ensure --wait` only for a deliberate Start. Scoped browser t\
|
|
38
|
+
ests restore the prior stopped choice.","For interactive navigation, use the proxy URL from `vibe64-helper preview inspe\
|
|
39
|
+
ct-url` or status `currentPage.url` / `endpoints.browser.url`. Inside browser eval, use `await page.goto(new URL('/your-\
|
|
40
|
+
path', preview.url).href)`. The direct application endpoint under diagnostics bypasses Preview identity and is not a bro\
|
|
41
|
+
wser-navigation URL.","Use the managed preview browser for interactive browsing and `vibe64-helper playwright` only for \
|
|
42
|
+
an existing configured project suite; never install another browser. Pin `@playwright/test` exactly to the `platformVers\
|
|
43
|
+
ion` that `vibe64-helper playwright readiness` reports. The login state belongs to the host: pass `process.env.PLAYWRIGH\
|
|
44
|
+
T_STORAGE_STATE` unchanged to `use.storageState`, and never read, parse or edit that file or its cookies in the Playwrig\
|
|
45
|
+
ht config (`vibe64-helper playwright` refuses such a config). If tests run signed out with it, that is a host defect: re\
|
|
46
|
+
port it with the evidence; do not work around it.","For browser evidence, batch related actions and assertions, return o\
|
|
47
|
+
nly needed values and inspect relevant locators or regions; screenshot at meaningful checkpoints or failures, not after \
|
|
48
|
+
every click. Reuse the managed browser when isolation permits, keep required viewport, identity and security checks, and\
|
|
49
|
+
use existing automated cases for repeat verification.","For browser tests that write or reset data, inspect `vibe64-hel\
|
|
50
|
+
per preview targets --json` and the project's `genesis/stack.md` Outputs. Run `vibe64-helper playwright --target <declar\
|
|
51
|
+
ed-test-target> test <suite arguments>` (or `npm-run <script>` in place of `test`). Vibe64 starts that web target, waits\
|
|
52
|
+
for readiness, uses its declared application identity, and restores the previous Preview when the command finishes or i\
|
|
53
|
+
s cancelled; report restoration failures.","A target name is not proof of test isolation. Before running a destructive s\
|
|
54
|
+
uite, the application must verify the server's actual test database and suppress real email, invoices, payments, and oth\
|
|
55
|
+
er external effects. Keep managed Env unchanged. The test launcher and its preview-identity command must use the same da\
|
|
56
|
+
tabase. Follow the application's declared test resources and never invent a database name. Never spoof safety checks by \
|
|
57
|
+
changing only the test runner's environment.","If no suitable test target exists, add one through the project's existing\
|
|
58
|
+
Outputs contract and application-owned test scripts within authorized scope; normal Preview stays the default. Validate\
|
|
59
|
+
the exact disposable database before resetting it, prepare fixtures before reporting readiness, and make Playwright use\
|
|
60
|
+
PLAYWRIGHT_BASE_URL (the started target's URL) without starting another server. If test resources or external-effect co\
|
|
61
|
+
ntrols are missing, report that blocker. `vibe64-helper preview ensure --target <id> --wait --json` deliberately selects\
|
|
62
|
+
an interactive target until changed. If browser startup is slow, measure migrations, fixtures and server startup before\
|
|
63
|
+
retrying or extending deadlines.","Keep test output small: run relevant files/cases, save stdout/stderr to local artifa\
|
|
64
|
+
cts and keep exit status. Report counts, duration, failed cases, actionable errors and artifact paths, reading only need\
|
|
65
|
+
ed failure excerpts. Retain startup, resource and Preview-restoration errors even if tests pass, and trailing wrapper di\
|
|
66
|
+
agnostics separately from JSON. Do not rerun for output or reread unchanged logs.","Batch related browser tests in one m\
|
|
67
|
+
anaged suite (one Preview switch and restore). Suites and live Preview actions are sequential: no browser actions, ensur\
|
|
68
|
+
e/restart or target changes during a suite or restoration. Wait on the original execution, including background runs, th\
|
|
69
|
+
rough cleanup/restoration (empty polls: yield_time_ms: 30000 where supported; shorter only for interactive input); read-\
|
|
70
|
+
only status/logs stay available. Before live inspection, confirm `vibe64-helper playwright status` shows no active run a\
|
|
71
|
+
nd `vibe64-helper preview status` is ready on the restored target. To stop, run `vibe64-helper playwright cancel <run-id\
|
|
72
|
+
>`, which waits for cleanup/restoration; retry if cleanup needs attention. Never kill test/Preview PIDs or change locks;\
|
|
73
|
+
launcher exit alone does not prove tests stopped. Recheck status before reporting a busy blocker.","If a managed comman\
|
|
74
|
+
d reports kernel task denials or a resource incident, report the blocker with its diagnostic and incident ID and ask the\
|
|
75
|
+
platform operator to inspect that evidence before retrying; never raise test timeouts or weaken assertions to work arou\
|
|
76
|
+
nd a process/thread limit. A generic browser timeout without resource evidence does not establish a platform cause."]),T=Object.
|
|
77
|
+
freeze(['Pages: `vibe64-helper pages publish <file.html|folder> [--title "Title"]` publishes an HTML page (one file, or \
|
|
78
|
+
a folder with index.html and its own scripts, styles, data and images) that everyone with access to this project can ope\
|
|
79
|
+
n from Vibe64\'s Pages list; `vibe64-helper pages update <page-id> <file.html|folder>` gives a page a new version under t\
|
|
80
|
+
he same link (it keeps ten; `vibe64-helper pages revert <page-id> <version>` brings one back); `vibe64-helper pages list\
|
|
81
|
+
` lists them. A page runs sandboxed and loads only its own files, never other addresses, CDNs or Vibe64 itself, so ship \
|
|
82
|
+
every script, style and data file inside it. Write page files outside the repository (for example in VIBE64_DROP_ZONE) u\
|
|
83
|
+
nless they belong there. Give the printed link in the chat as a Markdown link; Vibe64 shows it as a card.',"Before writi\
|
|
84
|
+
ng a page, read `vibe64-helper pages guide` in full and follow it: link `_vibe64/page.css` and build from its components\
|
|
85
|
+
(a header, summary tiles first, sections of cards, status pills, tables for comparisons, inline SVG charts), never a wa\
|
|
86
|
+
ll of text.",'After answering with a report, comparison, status or progress overview, dashboard, diagram, plan or review\
|
|
87
|
+
, end the reply with a one-line offer, such as "Want this as a page everyone on the project can open?" (or, when a relat\
|
|
88
|
+
ed page exists, offer to add it there). Make or change a page only once they say yes.',"When the person says the result \
|
|
89
|
+
is for other people (a colleague, the team, a client, a manager, a meeting) or that they will come back to it, make the \
|
|
90
|
+
page without asking and give its link.","When a page's content will change over time (test results, progress, metrics), \
|
|
91
|
+
say the 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\
|
|
92
|
+
date\" says: index.html for the layout, data.json for the numbers, then `vibe64-helper pages refresh <page-id>` with --e\
|
|
93
|
+
very or --daily. Choose --command with a small script that writes data.json, which needs no AI, whenever a script can ga\
|
|
94
|
+
ther the data; use --prompt only when gathering it needs judgement.","Before making a page, check `vibe64-helper pages l\
|
|
95
|
+
ist`: when a page about the same subject already exists, update it instead of making a new one.","Do not offer pages for\
|
|
96
|
+
quick answers, code changes, or documents that belong in the repository. Offer at most once per topic; do not nag.","Ev\
|
|
97
|
+
eryone with access to the project can open a page: never put secrets in one, or anything not every project member should\
|
|
98
|
+
see."]),P=Object.freeze(["Each managed shell command receives current development Env from Vibe64, including declared r\
|
|
99
|
+
esource bindings; use them in ordinary commands. Do not build environment injection or copy managed credentials into sou\
|
|
100
|
+
rce. Resource provisioning and application migrations remain separate preparation steps.","Use `vibe64-helper env status\
|
|
101
|
+
[development|staging|all]` to inspect configured key names without revealing values.","Pipe an available value to `vibe\
|
|
102
|
+
64-helper env set <development|staging> <KEY> [--secret]`; it drops the one final newline that `echo` or a generator pri\
|
|
103
|
+
nts and stores every other character exactly. Never put values in arguments, logs, or repository files. Use empty stdin \
|
|
104
|
+
only when the user requested an empty value. The host decides whose session may change staging values; when it refuses, \
|
|
105
105
|
report its message instead of retrying.","When the person refers to a saved key, account or accounts hub, run `vibe64-he\
|
|
106
106
|
lper env saved` (names, descriptions and fields, never values) and link the matching field to the variable the applicati\
|
|
107
|
-
on reads with `vibe64-helper env link <development|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
`Vibe64 session capability ${t} must be boolean.`);s[t]===!0&&(
|
|
122
|
-
session",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:
|
|
123
|
-
64 ephemeral context");let s=String(e.stableContext||"").trim();if(!s||s.length>
|
|
107
|
+
on reads with `vibe64-helper env link <development|staging> <KEY> <saved-id> <field-id>` instead of asking for the value\
|
|
108
|
+
.","Keep development and staging values separate. Never invent credentials, copy a value between scopes without explicit\
|
|
109
|
+
direction, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affected scope and key name\
|
|
110
|
+
s, never their values, and claim success only when the command succeeded.","Store a secret the application needs generat\
|
|
111
|
+
ed (such as an application key) by generating it with the framework's own generator and piping it to `vibe64-helper env \
|
|
112
|
+
set <scope> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that file from Env."]);function d(e,s){
|
|
113
|
+
if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(`${s} must be an object.`);return e}function i(e,s,n){let t=new Set(
|
|
114
|
+
s),r=Object.keys(e).filter(o=>!t.has(o));if(r.length>0)throw new TypeError(`${n} contains unsupported fields: ${r.join("\
|
|
115
|
+
, ")}.`)}function g(e){if(i(e,["conversationKind","scope","session","hostGuidance"],"Vibe64 session context"),e.hostGuidance!==
|
|
116
|
+
void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,"utf8")>1024))throw new TypeError("Vibe64 hos\
|
|
117
|
+
t guidance must be bounded text supplied by the host.");if(!I.includes(e.conversationKind))throw new TypeError("Vibe64 s\
|
|
118
|
+
ession context has an unknown conversationKind.");let s=d(e.session,"Vibe64 session capabilities");i(s,[...m,...v],"Vibe\
|
|
119
|
+
64 session capabilities");let n=Object.fromEntries(m.map(t=>{if(typeof s[t]!="boolean")throw new TypeError(`Vibe64 sessi\
|
|
120
|
+
on capability ${t} must be boolean.`);return[t,s[t]]}));for(let t of v){if(s[t]!==void 0&&typeof s[t]!="boolean")throw new TypeError(
|
|
121
|
+
`Vibe64 session capability ${t} must be boolean.`);s[t]===!0&&(n[t]=!0)}return{conversationKind:e.conversationKind,scope:"\
|
|
122
|
+
session",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:n}}function V(e){i(e,["scope","stableContext"],"Vibe\
|
|
123
|
+
64 ephemeral context");let s=String(e.stableContext||"").trim();if(!s||s.length>x)throw new TypeError("Vibe64 ephemeral \
|
|
124
124
|
context requires bounded stableContext.");return{scope:"ephemeral",stableContext:s}}function f(e){if(e.scope==="session")
|
|
125
|
-
return g(e);if(e.scope==="ephemeral")return
|
|
126
|
-
copes only.")}function
|
|
125
|
+
return g(e);if(e.scope==="ephemeral")return V(e);throw new TypeError("The Vibe64 driver supports session and ephemeral s\
|
|
126
|
+
copes only.")}function j(e){let{conversationKind:s,session:n,hostGuidance:t=""}=g(e);return["VIBE64 CONVERSATION CONTEXT",
|
|
127
127
|
"",...s==="main"?["This is the main Vibe64 conversation for the selected session worktree."]:["This is a user-visible te\
|
|
128
128
|
mporary conversation in the selected session worktree, with the same tools and project access as main chat.","Its messag\
|
|
129
129
|
es stay out of main History. Closing this conversation preserves project edits and removes only its conversation and tem\
|
|
@@ -160,65 +160,67 @@ ibe64-helper session status --json` under `repository.connected`: edit them like
|
|
|
160
160
|
cover them, so never commit, push, fetch or rebase them yourself.","Vibe64-owned contracts (Stack sections such as Works\
|
|
161
161
|
pace setup and Outputs, the Preview identity protocol and integration setup) have exact specs: list them with `vibe64-he\
|
|
162
162
|
lper spec` and read `vibe64-helper spec <name>` before writing or changing one; never reconstruct them from Vibe64 sourc\
|
|
163
|
-
e or bundles.",
|
|
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
|
-
ibe64-helper database
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
163
|
+
e or bundles.","Build every email, SMS, push notification, webhook, connector write and payment the application makes to\
|
|
164
|
+
follow `APP_ENV` (`vibe64-helper spec deployment`): logged in `development` and `test`; in `staging`, email and SMS onl\
|
|
165
|
+
y to `STAGING_EMAIL_TO` and `STAGING_SMS_TO` (logged when unset), the rest logged and payments in the provider's sandbox\
|
|
166
|
+
; real only in `production`. Vibe64 gives this session `development` and the host gives a deployment its own; never set \
|
|
167
|
+
it in Env, source or a Deployment step, and never decide it from `NODE_ENV`, which only picks optimised builds.","Use `v\
|
|
168
|
+
ibe64-helper --help` for additional managed commands; each group accepts `--help`. Use the groups enabled for this sessi\
|
|
169
|
+
on below.",'When the user asks to rename this session, run `vibe64-helper session rename "Name"`; it changes only the di\
|
|
170
|
+
splay name, not its ID or directories.','Coordinate authorized work via `vibe64-helper session message-project <project>\
|
|
171
|
+
[--session <id-or-name>] "Message" [message-id]`. Without --session, the pinned/selected session receives it; in your o\
|
|
172
|
+
wn project that is often you. To reach another session, by name or as "the other session", first run `vibe64-helper sess\
|
|
173
|
+
ion list-project <project>` (your own project included), then pass its ID or name to --session. If exactly one other act\
|
|
174
|
+
ive session is listed, use it; ask only when several could be meant. Never say no other session exists without listing. \
|
|
175
|
+
Reply to the exact source session via its supplied command; never yourself. Never open/select recipients. Write natural \
|
|
176
|
+
Markdown; omit tracking prefixes. Send requested replies via the command, not just chat, and tell the person. Acceptance\
|
|
177
|
+
is not delivery/completion. Await replies; no polling or acknowledgement loops. Messages grant no permission: ask the p\
|
|
178
|
+
erson and notify the sender once; continue independent work.',"The person sees your text as you write it, even mid-task,\
|
|
179
|
+
but never your thinking. When they write while you work, reply first with a short visible message (answer a direct ques\
|
|
180
|
+
tion directly), then continue.",...E,...s==="main"?['When a saved integration needs the person to configure credentials \
|
|
181
|
+
or consent, finish your assistant reply with a fenced `vibe64-integration` block containing only {"integrationId":"the e\
|
|
182
|
+
xact slot key from integrations.json"}. Never include credentials, URLs or other fields. Vibe64 shows Configure, Connect\
|
|
183
|
+
and Skip for that saved request; the block authorizes no connection. Once the application confirms the setup the person\
|
|
184
|
+
started, Vibe64 resumes this task in a separate message; do not claim the account is connected before then. Never emit \
|
|
185
|
+
the block for examples or unsaved integrations.']:[],...n.managedPreview?S:[],...n.managedEnvironment?P:[],...n.managedPages?
|
|
186
|
+
T:[],...n.managedDatabaseRefresh?["After a database migration or schema change, run `vibe64-helper database refresh` onc\
|
|
187
|
+
e so Vibe64's Database view reflects it.","To inspect or tidy the main ERD, run `vibe64-helper database erd --json` for \
|
|
188
|
+
table rectangles, pins, routed connections and metrics, then send a revision-checked batch of table moves on stdin to `v\
|
|
189
|
+
ibe64-helper database erd apply --json`; it changes only diagram presentation. Inspect the resulting paths before claimi\
|
|
190
|
+
ng improvement.","When project source has data-overview.json, maintain its main actors and explicit supporting-table gro\
|
|
191
|
+
ups as the schema changes. Use `vibe64-helper database overview --json` for the current schema, grouping, coverage and e\
|
|
192
|
+
xact format instructions. Preserve authored groupings, classify new tables, fix renamed/removed references, and check co\
|
|
193
|
+
verage afterward. When asked to create a Data overview, use the same command and relevant application source; no one-hop\
|
|
194
|
+
membership rule applies. Never invent foreign keys or cardinalities."]:[],...n.managedGit?["Use the managed `git` and `\
|
|
195
|
+
gh` commands on PATH. Do not bypass them with host binaries, a stripped PATH, or alternate credentials.","For attachment\
|
|
196
|
+
s and inline images that GitHub stores for issues (tickets), pull requests or comments, use authenticated managed `gh ap\
|
|
197
|
+
i` with the original attachment URL, save the response to a local file and inspect it before reporting its contents. Nev\
|
|
198
|
+
er use unauthenticated curl/wget, User-Agent experiments or extracted credentials; an unauthenticated 404 does not prove\
|
|
199
|
+
a private attachment is missing.","After changing GitHub issues, comments, labels or pull requests, run `vibe64-helper \
|
|
200
|
+
github refresh` once so Vibe64's Issues/PR view reflects it.","When linking an issue in this project's repository, run `\
|
|
201
|
+
vibe64-helper github issue-link <number>` and use its returned Vibe64 path exactly, including the /app prefix, as the pr\
|
|
202
|
+
imary Markdown link destination; it navigates in-app. You may include the GitHub URL as a secondary link. Never guess th\
|
|
203
|
+
e project slug or host; issues in other repositories keep their GitHub links.","Report authentication or transport failu\
|
|
204
|
+
res directly; do not inspect credentials or invent another login path.","When a managed Git/GitHub command fails, tell t\
|
|
205
|
+
he user which requested action failed, which earlier work is confirmed complete, what remains undone or unconfirmed, and\
|
|
206
|
+
the next safe action. Retain the reported failure stage, execution budget and execution reference when provided; do not\
|
|
207
|
+
expose credentials or dump raw output unnecessarily.","A timeout or transport failure does not establish invalid authen\
|
|
208
|
+
tication, exhausted AI quota, a GitHub outage or a suspension problem. Separate recorded facts from hypotheses; say the \
|
|
209
|
+
cause is unknown when it is unproven. Recommend reconnection only when the reported error explicitly calls for it.","If \
|
|
210
|
+
the diagnostic says commandSubmitted=false, the requested Git/GitHub action was not attempted. After an execution timeou\
|
|
211
|
+
t, lost response or unreadable response, its effects are unconfirmed: use a read-only check of the affected Git/GitHub s\
|
|
212
|
+
tate before repeating any write. Never claim that a comment was posted or not posted, or that a push succeeded or failed\
|
|
213
|
+
, from those errors alone. If verification is unavailable, report the outcome as unknown and stop; do not repeat the wri\
|
|
214
|
+
te or claim a safe rollback."]:[]].join(`
|
|
215
|
+
`)}function D(e={}){let s=d(e,"Vibe64 driver input"),n=f(s);return n.scope==="session"?j(n):n.stableContext}async function G(e={},{
|
|
216
|
+
readRegistry:s=k,workdir:n=""}={}){let t=d(e,"Vibe64 host resolver request");if(i(t,["data","providerSessionId","parentS\
|
|
215
217
|
essionIds","scope"],"Vibe64 host resolver request"),!["session","turn"].includes(t.scope))throw new TypeError("The Vibe6\
|
|
216
|
-
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let
|
|
217
|
-
ta");i(
|
|
218
|
+
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let r=d(t.data,"Vibe64 host resolver da\
|
|
219
|
+
ta");i(r,["registryPath"],"Vibe64 host resolver data");let o=c(r.registryPath);if(!l.isAbsolute(o))throw new TypeError("\
|
|
218
220
|
Vibe64 host resolver data requires an absolute registryPath.");let h=JSON.parse(await s(o,"utf8"));if(!Array.isArray(h?.
|
|
219
221
|
sessions))throw new TypeError("The conversation ownership registry is invalid.");let b=h.sessions,w=c(t.providerSessionId);
|
|
220
222
|
if(t.parentSessionIds!==void 0&&(!Array.isArray(t.parentSessionIds)||t.parentSessionIds.length>32||t.parentSessionIds.some(
|
|
221
|
-
a=>typeof a!="string"||!a.trim())))throw new TypeError("Invalid native conversation ancestry.");let
|
|
222
|
-
[]].filter(Boolean).map(a=>b.find(y=>c(y?.upstreamSessionId)===a)).find(Boolean),u=
|
|
223
|
-
|
|
224
|
-
directory.");return f(u)}export{D as vibe64Driver,
|
|
223
|
+
a=>typeof a!="string"||!a.trim())))throw new TypeError("Invalid native conversation ancestry.");let p=[w,...t.parentSessionIds||
|
|
224
|
+
[]].filter(Boolean).map(a=>b.find(y=>c(y?.upstreamSessionId)===a)).find(Boolean),u=p?.promptContext;if(!u)return null;if(n&&
|
|
225
|
+
p.workdir&&l.resolve(n)!==l.resolve(p.workdir))throw new Error("The managed conversation belongs to a different project \
|
|
226
|
+
directory.");return f(u)}export{D as vibe64Driver,G as vibe64DriverInputFromRegistry};
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"./server": "./src/server/index.js",
|
|
8
8
|
"./server/*": "./src/server/*.js",
|
|
9
9
|
"./shared": "./src/shared/index.js",
|
|
10
|
+
"./shared/assistantExplicitTask": "./src/shared/assistantExplicitTask.js",
|
|
10
11
|
"./shared/assistantFinishing": "./src/shared/assistantFinishing.js",
|
|
11
12
|
"./shared/assistantRouting": "./src/shared/assistantRouting.js",
|
|
12
13
|
"./shared/assistantRoutingAssignments": "./src/shared/assistantRoutingAssignments.js",
|