vibe64 0.1.34 → 0.1.36
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 +1919 -1660
- package/bin/server.js +158 -111
- package/bin/upgrade-state.js +5783 -5605
- package/dist/assets/GithubBrowserTabs-BzJF4k9Y.js +1 -0
- package/dist/assets/{StudioErrorNotice-sQfmeR-z.js → StudioErrorNotice-BdllGqRy.js} +1 -1
- package/dist/assets/{Vibe64AsyncModuleState-Dx7YKRPp.js → Vibe64AsyncModuleState-Bi0TqlIu.js} +1 -1
- package/dist/assets/Vibe64AuthSettingsButton-BuvmwGiT.js +5 -0
- package/dist/assets/Vibe64AuthSettingsButton-M44SSmZ9.css +1 -0
- package/dist/assets/{Vibe64DashboardBackButton-yE6cyYg2.js → Vibe64DashboardBackButton-Ccd4hpD6.js} +1 -1
- package/dist/assets/Vibe64DashboardShell-D67m4aWz.js +1 -0
- package/dist/assets/{Vibe64DashboardShell-MBkUHjs-.css → Vibe64DashboardShell-De2mbdpI.css} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-BONJdxBS.js → Vibe64DatabaseWorkspace-D3uK1gDm.js} +3 -3
- package/dist/assets/{Vibe64DatabaseWorkspace-CR4pzzcf.css → Vibe64DatabaseWorkspace-DPDMxhAW.css} +1 -1
- package/dist/assets/Vibe64OutputControls-BfESn5kJ.js +8 -0
- package/dist/assets/Vibe64OutputControls-D2CCECo5.css +1 -0
- package/dist/assets/{Vibe64RepositoryWorkspace-ByQlZbyO.js → Vibe64RepositoryWorkspace-0jAxvdA8.js} +2 -2
- package/dist/assets/{Vibe64RepositoryWorkspace-CVHcT93M.css → Vibe64RepositoryWorkspace-Agyt4O-V.css} +1 -1
- package/dist/assets/Vibe64SessionFiles-B3ONZrBL.css +1 -0
- package/dist/assets/Vibe64SessionFiles-BCOJ4QmR.js +41 -0
- package/dist/assets/{Vibe64TemporaryAiFixAction-BGlcrq4d.js → Vibe64TemporaryAiFixAction-DM2jpPbQ.js} +1 -1
- package/dist/assets/{Vibe64UiStoryboardView-Brlwdvqi.js → Vibe64UiStoryboardView-DP5af46a.js} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-zwlWlcZD.js → Vibe64UnavailableSessions-C7XwH1SS.js} +1 -1
- package/dist/assets/{_sessionId_-CvOkQbVy.js → _sessionId_-B1Ymr7c_.js} +1 -1
- package/dist/assets/{_sessionTool_-Dwod5ns9.js → _sessionTool_-DVYdREoI.js} +1 -1
- package/dist/assets/_slug_-CQseA9pt.css +1 -0
- package/dist/assets/_slug_-CYO2vjCd.js +24 -0
- package/dist/assets/{access-BVu5XYm2.js → access-Cb7dkN53.js} +1 -1
- package/dist/assets/app-BvgY7oVf.js +1 -0
- package/dist/assets/app-CZu7oxUO.css +1 -0
- package/dist/assets/{assistantRouting-CwbwfkwB.js → assistantRouting-B38ujQ7x.js} +1 -1
- package/dist/assets/{changes-olY8cnFK.js → changes-lsBcuikn.js} +1 -1
- package/dist/assets/client-CRI5CNKl.js +2 -0
- package/dist/assets/client-TGaWwOhc.css +1 -0
- package/dist/assets/conversation-CDEt9jBx.js +17 -0
- package/dist/assets/conversation-vxJGwmtW.css +1 -0
- package/dist/assets/{dashboard-BnXD-H4R.js → dashboard-D8HOAw46.js} +1 -1
- package/dist/assets/definitions-DLTX17nI.js +1 -0
- package/dist/assets/{env-DJhnLOH7.css → env-BzRtyO0w.css} +1 -1
- package/dist/assets/env-DJezQixO.js +1 -0
- package/dist/assets/health-BJvooRnJ.css +1 -0
- package/dist/assets/health-CtKdN_Nf.js +1 -0
- package/dist/assets/{history-BxlpB-YH.js → history-BdZFOtz4.js} +1 -1
- package/dist/assets/{incoming-BOxRVlOM.js → incoming-VsQNnL9m.js} +1 -1
- package/dist/assets/index-C-osVUKw.css +1 -0
- package/dist/assets/index-C4K3ntms.js +138 -0
- package/dist/assets/{integrations-BFltGDVI.js → integrations-CMQ9EDmt.js} +2 -2
- package/dist/assets/issues-DHpY5hSr.js +1 -0
- package/dist/assets/learning-DXlMuwzh.js +1 -0
- package/dist/assets/mdi-yXT-CQ6u.js +1 -0
- package/dist/assets/placement-NpX2s7u8.js +1 -0
- package/dist/assets/pull-requests-BcKNEUYH.js +1 -0
- package/dist/assets/{repository-JWLVST3D.js → repository-ClEgntHW.js} +1 -1
- package/dist/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
- package/dist/assets/{session-C5Nj8Dlq.js → session-BlD46q-d.js} +1 -1
- package/dist/assets/settings-BwukeIKe.js +1 -0
- package/dist/assets/shared-BM2SV6fi.js +2 -0
- package/dist/assets/studioGateApi-DcCqiD9V.js +1 -0
- package/dist/assets/studioUrls-DmMMIScP.js +1 -0
- package/dist/assets/useArchivedVibe64Sessions-D5zUA-BC.js +1 -0
- package/dist/assets/useCommand-Bqxb-naz.js +1 -0
- package/dist/assets/useEndpointResource-DWoQ2keu.js +1 -0
- package/dist/assets/useRealtimeEvent-Bwapstla.js +1 -0
- package/dist/assets/{useUiFeedback-0FqKuZRP.js → useUiFeedback-BPBF_0bp.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-Dy6YTPQn.js +1 -0
- package/dist/assets/useVibe64DatabaseTools-d6L09ugW.js +1 -0
- package/dist/assets/useVibe64Learning-cNKTv64W.js +1 -0
- package/dist/assets/useVibe64ProjectScope-Bp1ImZlz.js +1 -0
- package/dist/assets/useVibe64SessionData-C_jqncih.js +1 -0
- package/dist/assets/useVibe64SessionSelection-uCEIWd3b.js +1 -0
- package/dist/assets/useVibe64SystemGraph-B4RmsC9Y.js +1 -0
- package/dist/assets/{useVibe64Terminal-BPnN25WH.js → useVibe64Terminal-BbghGR4x.js} +1 -1
- package/dist/assets/vibe64AssistantHost-BL1bnKm8.js +1 -0
- package/dist/assets/{vibe64SessionFocus-kqPOPaOH.js → vibe64SessionFocus-DSJKVuRN.js} +1 -1
- package/dist/assets/{vibe64SessionInfo-BHxtTrLX.js → vibe64SessionInfo-B_r1OMN0.js} +1 -1
- package/dist/assets/{vibe64SessionPanelModel-BMf64fv7.js → vibe64SessionPanelModel-DDorOuiL.js} +1 -1
- package/dist/assets/{vibe64SessionToolDefinitions-NfLd1HZI.js → vibe64SessionToolDefinitions-BualCK_5.js} +1 -1
- package/dist/index.html +21 -20
- package/docs/colleague-usage/account-profile-and-appearance.md +8 -2
- package/docs/colleague-usage/ai-accounts-and-routing.md +123 -15
- package/docs/colleague-usage/ai-onboarding.md +230 -0
- package/docs/colleague-usage/coding-agent-goal-pause.md +5 -5
- package/docs/colleague-usage/coding-agents.md +17 -0
- package/docs/colleague-usage/colleague-watches.md +4 -23
- package/docs/colleague-usage/colleague.md +10 -2
- package/docs/colleague-usage/connected-projects.md +2 -2
- package/docs/colleague-usage/conversation-context.md +2 -0
- package/docs/colleague-usage/dashboard-navigation.md +19 -27
- package/docs/colleague-usage/database.md +6 -11
- package/docs/colleague-usage/development-copies.md +2 -1
- package/docs/colleague-usage/development-env.md +6 -0
- package/docs/colleague-usage/github-work.md +9 -0
- package/docs/colleague-usage/health-checks.md +11 -5
- package/docs/colleague-usage/integrations.md +3 -1
- package/docs/colleague-usage/learning-code-questions.md +23 -51
- package/docs/colleague-usage/learning-course-catalogue.md +8 -6
- package/docs/colleague-usage/learning-environment.md +345 -0
- package/docs/colleague-usage/learning-history.md +70 -101
- package/docs/colleague-usage/learning-mode-ui.md +122 -214
- package/docs/colleague-usage/learning-practice-projects.md +168 -78
- package/docs/colleague-usage/learning-teacher-guide.md +48 -26
- package/docs/colleague-usage/learning-with-colleague.md +171 -216
- package/docs/colleague-usage/lesson-authoring.md +32 -24
- package/docs/colleague-usage/managed-app-access.md +7 -0
- package/docs/colleague-usage/message-delivery-recovery.md +7 -6
- package/docs/colleague-usage/preview-browser-checks.md +9 -1
- package/docs/colleague-usage/preview-starting-application.md +0 -1
- package/docs/colleague-usage/preview.md +9 -1
- package/docs/colleague-usage/project-messages.md +2 -2
- package/docs/colleague-usage/project-setup.md +9 -2
- package/docs/colleague-usage/running-vibe64-on-your-computer.md +61 -0
- package/docs/colleague-usage/sessions.md +25 -33
- package/docs/colleague-usage/teaching-content.md +11 -40
- package/docs/colleague-usage/temporary-chats.md +23 -2
- package/docs/colleague-usage/voice-chat.md +5 -10
- package/docs/colleague-usage/voice-face-and-speaking-voice.md +6 -8
- package/docs/colleague-usage/voice-recovery.md +3 -2
- package/docs/templates/learn-topic/README.md +6 -6
- package/docs/templates/learn-topic/training/lessons/TOPIC-01/lesson.json +28 -7
- package/docs/templates/learn-topic/training/lessons/TOPIC-01/notes.md +19 -0
- package/docs/templates/learn-topic/training/lessons/TOPIC-01/steps/check-understanding.md +3 -0
- package/docs/templates/learn-topic/training/lessons/TOPIC-01/steps/explain-idea.md +3 -0
- package/docs/templates/learn-topic/training/lessons/TOPIC-01/steps/try-it.md +3 -0
- package/docs/templates/learn-topic/training/outline.md +1 -1
- package/docs/training-content.md +179 -65
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/patterns/assistant-surface/PATTERN.md +3 -2
- package/node_modules/@jskit-ai/assistant-runtime/patterns/assistant-surface/example/integrations.json +3 -2
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/patterns/ai-connections/PATTERN.md +4 -3
- package/node_modules/@jskit-ai/connectors-catalog/src/shared/ai-models.json +0 -1
- package/node_modules/@local/vibe64-accounts/package.json +1 -0
- package/node_modules/@local/vibe64-colleague/package.json +2 -1
- package/node_modules/@local/vibe64-core/package.json +3 -0
- package/node_modules/@local/vibe64-execution/package.json +1 -0
- package/node_modules/@local/vibe64-execution/src/server/engines/stdioBridge.js +9 -9
- package/node_modules/@local/vibe64-genesis/README.md +10 -37
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +790 -779
- package/node_modules/@local/vibe64-genesis/package.json +1 -0
- package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +255 -0
- package/node_modules/@local/vibe64-genesis/src/server/index.js +473 -450
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +148 -148
- package/node_modules/@local/vibe64-project/package.json +2 -1
- package/node_modules/@local/vibe64-runtime/package.json +1 -2
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +526 -512
- package/node_modules/@local/vibe64-runtime/src/shared/assistantRoutingScores.json +0 -1
- package/node_modules/@local/vibe64-source-editor/package.json +1 -0
- package/node_modules/@local/vibe64-terminals/package.json +1 -0
- package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +129 -131
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +1508 -1456
- package/node_modules/@local/vibe64-training/package.json +13 -27
- package/package.json +7 -7
- package/server.bundle.mjs +40946 -41456
- package/dist/assets/GithubBrowserTabs-DO5PHon-.js +0 -1
- package/dist/assets/GithubMarkdown-BQ6MfCDJ.js +0 -3
- package/dist/assets/GithubMarkdown-U7-j-qNI.css +0 -1
- package/dist/assets/Vibe64DashboardShell-CuCVMhOc.js +0 -1
- package/dist/assets/Vibe64OutputControls-DAAmA09l.js +0 -8
- package/dist/assets/Vibe64OutputControls-DPBsyDZM.css +0 -1
- package/dist/assets/Vibe64SessionFiles-B0u9HKdF.js +0 -107
- package/dist/assets/Vibe64SessionFiles-NjOMVwPR.css +0 -1
- package/dist/assets/_slug_-B31c15cc.css +0 -1
- package/dist/assets/_slug_-Dy35qLo1.js +0 -1
- package/dist/assets/app-DRXCcv05.css +0 -1
- package/dist/assets/app-zt7HwQKT.js +0 -1
- package/dist/assets/client-BrV4QPwG.js +0 -2
- package/dist/assets/client-C1bwIlu6.css +0 -1
- package/dist/assets/definitions-DaOPIkyB.js +0 -1
- package/dist/assets/env-DN0vW4EI.js +0 -1
- package/dist/assets/health-7oIQODer.css +0 -1
- package/dist/assets/health-Z6m96GDr.js +0 -1
- package/dist/assets/index-BUq-MczL.js +0 -86
- package/dist/assets/index-DtmBqE3h.css +0 -1
- package/dist/assets/issues-1iS5zoed.js +0 -1
- package/dist/assets/layout-BkWVNT37.js +0 -1
- package/dist/assets/mdi-C54lQ0i_.js +0 -1
- package/dist/assets/placement-DLsU3pCW.js +0 -1
- package/dist/assets/pull-requests-BJOwNL4k.js +0 -1
- package/dist/assets/settings-c273Ikrm.js +0 -1
- package/dist/assets/shared-YZb7ocaK.js +0 -2
- package/dist/assets/studioGateApi-DhA9IJGZ.js +0 -1
- package/dist/assets/studioUrls-Dj8rXeXO.js +0 -1
- package/dist/assets/useArchivedVibe64Sessions-CVZx2Rtm.js +0 -1
- package/dist/assets/useCommand-DWuxfAV0.js +0 -1
- package/dist/assets/useEndpointResource-MWVNfmMa.js +0 -1
- package/dist/assets/useVibe64ConversationLog-8cKh1eDm.js +0 -1
- package/dist/assets/useVibe64DatabaseTools-BcRG1s3i.js +0 -1
- package/dist/assets/useVibe64LearningMode-Bl0dGdCh.js +0 -28
- package/dist/assets/useVibe64LearningMode-C3PcXdVg.css +0 -1
- package/dist/assets/useVibe64ProjectScope-DOEVkBqX.js +0 -1
- package/dist/assets/useVibe64SessionData-DFTyLzci.js +0 -1
- package/dist/assets/useVibe64SessionSelection-j9lsllx4.js +0 -1
- package/dist/assets/useVibe64SystemGraph-tNkIwSBQ.js +0 -1
- package/dist/assets/vibe64AssistantHost-DdE_-lZF.js +0 -1
- package/dist/assets/vibe64LessonDashboard-DlKYjisq.js +0 -1
- package/dist/assets/vibe64ProjectScope.local-DqT6e5un.js +0 -1
- package/docs/colleague-usage/learning-chat-retention.md +0 -74
- package/docs/colleague-usage/learning-diagrams-and-voice.md +0 -97
- package/docs/colleague-usage/learning-lesson-watch.md +0 -95
- package/docs/colleague-usage/learning-native-session.md +0 -206
- package/docs/colleague-usage/learning-practical-exercises.md +0 -71
- package/docs/colleague-usage/learning-practical-gestures.md +0 -48
- package/docs/colleague-usage/learning-session-creation.md +0 -95
- package/docs/colleague-usage/lesson-practical-assessment.md +0 -54
- package/docs/colleague-usage/preview-lesson-presentation.md +0 -56
- package/docs/templates/learn-topic/training/lessons/TOPIC-01/lesson.md +0 -44
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
|
|
2
|
-
import{readFile as y}from"node:fs/promises";import
|
|
3
|
-
freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","managedPreview"]),
|
|
2
|
+
import{readFile as y}from"node:fs/promises";import l from"node:path";var k=Object.freeze(["main","temporary"]),m=Object.
|
|
3
|
+
freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","managedPreview"]),x=64*1024,I=Object.freeze(["When u\
|
|
4
4
|
ser input is necessary, ask no more than three concise, high-impact questions at once.","Put multiple questions on separ\
|
|
5
5
|
ate lines as `[1] Question`, `[2] Question`, and so on.","For a small fixed set of useful choices, put `Possible answers\
|
|
6
6
|
:` and a short bullet list directly beneath its own question, before the next one; never collect several questions' answ\
|
|
@@ -14,156 +14,156 @@ Possible answers:
|
|
|
14
14
|
[2] Tell the main agent before changes?
|
|
15
15
|
Possible answers:
|
|
16
16
|
- Yes, tell main first
|
|
17
|
-
- No, proceed independently`]),
|
|
17
|
+
- No, proceed independently`]),E=Object.freeze(["The Vibe64-managed preview is the canonical application server; never s\
|
|
18
18
|
tart a duplicate or replacement server. If it is unavailable, report that blocker. Describe only rendered browser eviden\
|
|
19
19
|
ce.","When adopting an authenticated app, or when its login blocks Preview inspection, inspect identity support/names wi\
|
|
20
20
|
th `vibe64-helper preview status`; prefer `vibe64-helper preview browser identity <configured-name>` to requesting passw\
|
|
21
21
|
ords. If unconfigured, ask which existing accounts (email/login/user ID) represent admin and other required roles, and t\
|
|
22
22
|
he default. Reuse prior answers; wait for their choices before configuring access. Never infer admin rights from names o\
|
|
23
|
-
r the Vibe64 viewer.","Offer
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
the
|
|
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
|
-
|
|
23
|
+
r the Vibe64 viewer.","Offer an application-owned adapter declared in the Outputs `#### Preview identity` block (`vibe64\
|
|
24
|
+
-helper spec outputs` and `vibe64-helper spec preview-identity-command`), and save the named selectors the person gives \
|
|
25
|
+
or confirms with `vibe64-helper preview identities save` (`vibe64-helper spec preview-identities`); you may propose them\
|
|
26
|
+
from existing app accounts, then verify each with `vibe64-helper preview browser identity <name>`. Use existing session\
|
|
27
|
+
s/permissions, reject missing/disabled accounts, and disable the adapter without Vibe64\u2019s per-run enable flag and secret\
|
|
28
|
+
. Do not create users, change roles, reset passwords or weaken production auth for import. Verify the selected account\u2019s\
|
|
29
|
+
actual Preview access; a saved selector is insufficient. If deferred/declined, explain access remains unconfigured and \
|
|
30
|
+
continue independent setup work without repeated credential requests. Public/non-web apps need no adapter.","Use `vibe64\
|
|
31
|
+
-helper preview status`, `screenshot`, `logs`, and `browser eval` (Playwright code on stdin) for rendered inspection.","\
|
|
32
|
+
The top Preview toolbar Stop and `vibe64-helper preview stop` stop this session's application and managed browser, not c\
|
|
33
|
+
hat or source. Status reports the saved stopped choice. A status read, screenshot, browser inspection, source edit or se\
|
|
34
|
+
ssion reopening is not permission to restart it; use `vibe64-helper preview ensure --wait` only for a deliberate Start. \
|
|
35
|
+
Scoped browser tests restore the prior stopped choice.","For interactive navigation, use the proxy URL from `vibe64-help\
|
|
36
|
+
er preview inspect-url` or status `currentPage.url` / `endpoints.browser.url`. Inside browser eval, use `await page.goto\
|
|
37
|
+
(new URL('/your-path', preview.url).href)`. The direct application endpoint under diagnostics bypasses Preview identity \
|
|
38
|
+
and is not a browser-navigation URL.","Use the managed preview browser for interactive browsing and `vibe64-helper playw\
|
|
39
|
+
right` only for an existing configured project suite; report a platform or project-test blocker rather than installing a\
|
|
40
|
+
nother browser or changing its dependencies.","For browser evidence, batch related actions and assertions, return only n\
|
|
41
|
+
eeded values and inspect relevant locators or regions; screenshot at meaningful visual checkpoints or failures, not afte\
|
|
42
|
+
r every click. Reuse the managed browser when test isolation permits. Preserve required viewport, identity and security \
|
|
43
|
+
checks; use existing automated cases for repeat verification.","For browser tests that write or reset data, inspect `vib\
|
|
44
|
+
e64-helper preview targets --json` and the project's `genesis/stack.md` Outputs. Run `vibe64-helper playwright --target \
|
|
45
|
+
<declared-test-target> test <suite arguments>` or `vibe64-helper playwright --target <declared-test-target> npm-run <scr\
|
|
46
|
+
ipt>`. Vibe64 starts that web target, waits for readiness, uses its declared application identity, and restores the prev\
|
|
47
|
+
ious Preview when the command finishes or is cancelled; report restoration failures.","A target name is not proof of tes\
|
|
48
|
+
t isolation. Before running a destructive suite, the application must verify the server's actual test database and suppr\
|
|
49
|
+
ess real email, invoices, payments, and other external effects. Keep managed Env unchanged. The test launcher and its pr\
|
|
50
|
+
eview-identity command must use the same database. Follow the application's declared test resources and never invent a d\
|
|
51
|
+
atabase name. Never spoof safety checks by changing only the test runner's environment.","If no suitable test target exi\
|
|
52
|
+
sts, add one through the project's existing Outputs contract and application-owned test scripts within authorized scope,\
|
|
53
|
+
keeping normal Preview as default. Validate the exact disposable database before resetting it, prepare fixtures before \
|
|
54
|
+
reporting readiness, and make Playwright use the started target's URL, which Vibe64 supplies as PLAYWRIGHT_BASE_URL, wit\
|
|
55
|
+
hout starting another server. If the required test resources or external-effect controls are missing, report that specif\
|
|
56
|
+
ic blocker. Use `vibe64-helper preview ensure --target <id> --wait --json` only to deliberately select an interactive ta\
|
|
57
|
+
rget; it stays selected until changed. If browser startup is slow, measure migrations, fixtures and server startup befor\
|
|
58
|
+
e retrying or extending deadlines.","Keep test output small: run relevant files/cases, save stdout/stderr to local artif\
|
|
59
|
+
acts and preserve exit status. Report counts, duration, failed cases, actionable errors and artifact paths. Read only ne\
|
|
60
|
+
eded failure excerpts, not full passing/JSON/TAP/request/trace/image output. Retain startup, resource and Preview-restor\
|
|
61
|
+
ation errors even if tests pass, and trailing wrapper diagnostics separately from JSON. Do not rerun for output or rerea\
|
|
62
|
+
d unchanged logs; inspect on new output, changed state or a concrete blocker.","Batch related browser tests in one manag\
|
|
63
|
+
ed suite (one Preview switch and restore). Suites and live Preview actions are sequential: no browser actions, ensure/re\
|
|
64
|
+
start or target changes during a suite or restoration. Wait on the original execution, including background runs, throug\
|
|
65
|
+
h cleanup/restoration (empty polls: yield_time_ms: 30000 where supported; shorter only for interactive input or an immed\
|
|
66
|
+
iate check); read-only status/logs stay available. Before live inspection, confirm `vibe64-helper playwright status` has\
|
|
67
|
+
no active run and `vibe64-helper preview status` is ready on the restored target. To stop, read suite status then run `\
|
|
68
|
+
vibe64-helper playwright cancel <run-id>`, which waits for cleanup/restoration; retry it if cleanup needs attention. Nev\
|
|
69
|
+
er kill individual test/Preview PIDs or change locks. Launcher exit alone does not prove tests stopped. Recheck current \
|
|
70
|
+
status before reporting a busy blocker.","If a managed command reports kernel task denials or a resource incident, retai\
|
|
71
|
+
n its diagnostic and incident ID when reporting the blocker. Ask the platform operator to inspect that resource evidence\
|
|
72
|
+
before retrying; do not increase test timeouts or weaken assertions to work around a process/thread limit. A generic br\
|
|
73
|
+
owser timeout without resource evidence does not establish a platform cause."]),T=Object.freeze(["Each managed shell com\
|
|
74
|
+
mand receives current development Env from Vibe64, including declared resource bindings; use them in ordinary commands. \
|
|
75
|
+
Do not build environment injection or copy managed credentials into source. Resource provisioning and application migrat\
|
|
76
|
+
ions remain separate preparation steps.","Use `vibe64-helper env status [development|production|all]` to inspect configu\
|
|
77
|
+
red key names without revealing values.","Pipe an available value to `vibe64-helper env set <development|production> <KE\
|
|
78
|
+
Y> [--secret]`; never put values in arguments, logs, or repository files. Use empty stdin only when the user requested a\
|
|
79
|
+
n empty value.","Keep development and production values separate. Never invent credentials, copy a value between scopes \
|
|
80
|
+
without explicit direction, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affected sc\
|
|
81
|
+
ope and key names, never their values, and claim success only when the command succeeded.","Store a secret the applicati\
|
|
82
|
+
on needs generated (such as an application key) by generating it with the framework's own generator and piping it to `vi\
|
|
83
|
+
be64-helper env set <scope> <KEY> --secret`. Never write it into a generated `.env` file: Vibe64 regenerates that file f\
|
|
84
|
+
rom Env."]);function p(e=""){return String(e??"").trim()}function c(e,s){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError(
|
|
85
|
+
`${s} must be 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>
|
|
86
|
+
0)throw new TypeError(`${r} contains unsupported fields: ${n.join(", ")}.`)}function v(e){if(i(e,["conversationKind","sc\
|
|
87
|
+
ope","session","hostGuidance"],"Vibe64 session context"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.
|
|
88
|
+
byteLength(e.hostGuidance,"utf8")>1024))throw new TypeError("Vibe64 host guidance must be bounded text supplied by the h\
|
|
89
|
+
ost.");if(!k.includes(e.conversationKind))throw new TypeError("Vibe64 session context has an unknown conversationKind.");
|
|
90
|
+
let s=c(e.session,"Vibe64 session capabilities");i(s,m,"Vibe64 session capabilities");let r=Object.fromEntries(m.map(t=>{
|
|
91
|
+
if(typeof s[t]!="boolean")throw new TypeError(`Vibe64 session capability ${t} must be boolean.`);return[t,s[t]]}));return{
|
|
92
|
+
conversationKind:e.conversationKind,scope:"session",...e.hostGuidance?{hostGuidance:e.hostGuidance}:{},session:r}}function V(e){
|
|
93
|
+
i(e,["scope","stableContext"],"Vibe64 ephemeral context");let s=String(e.stableContext||"").trim();if(!s||s.length>x)throw new TypeError(
|
|
94
|
+
"Vibe64 ephemeral context requires bounded stableContext.");return{scope:"ephemeral",stableContext:s}}function b(e){if(e.
|
|
95
|
+
scope==="session")return v(e);if(e.scope==="ephemeral")return V(e);throw new TypeError("The Vibe64 driver supports sessi\
|
|
96
|
+
on and ephemeral scopes only.")}function S(e){let{conversationKind:s,session:r,hostGuidance:t=""}=v(e);return["VIBE64 CO\
|
|
97
|
+
NVERSATION CONTEXT","",...s==="main"?["This is the main Vibe64 conversation for the selected session worktree."]:["This \
|
|
98
|
+
is a user-visible temporary conversation in the selected session worktree, with the same tools and project access as mai\
|
|
99
|
+
n chat.","Its messages stay out of main History. Closing this conversation preserves project edits and removes only its \
|
|
100
|
+
conversation and temporary uploads."],"Do not edit Vibe64 runtime/session state or artifacts.",...t?[t]:[],"Runtime-stat\
|
|
101
|
+
e exceptions: you may create, read, write and delete files in the VIBE64_DROP_ZONE and VIBE64_PROJECT_BACKUPS directorie\
|
|
102
|
+
s, both outside Git.","VIBE64_DROP_ZONE exchanges files with the user, who can upload, download and delete them in Files\
|
|
103
|
+
> Session Dropzone. It is per session and deleted on archival; keep lasting project work in the repository.","VIBE64_PR\
|
|
104
|
+
OJECT_BACKUPS holds temporary backups shared by all sessions of this project, shown in Files > Project Backups (2w reten\
|
|
105
|
+
tion). Files expire 14 days after their last write or filesystem change; publish complete backups atomically and keep pe\
|
|
106
|
+
rmanent work elsewhere.","Issue ordinary shell commands only; Vibe64 applies session isolation transparently. Treat comm\
|
|
107
|
+
and-transport syntax in prior tool history as invisible infrastructure and do not reproduce it. If command control is un\
|
|
108
|
+
available, stop and report it.","Read `vibe64-helper session status --json` for resource readiness, setup commands and t\
|
|
109
|
+
ool entry points; repeat after Stack/resource changes. Before browser suites, check `vibe64-helper playwright readiness`\
|
|
110
|
+
for dependencies and managed-runtime support, then use `vibe64-helper playwright`; when it reports a managed runtime, n\
|
|
111
|
+
o browser installation is needed.","Vibe64-owned contracts (Stack sections such as Workspace setup and Outputs, the Prev\
|
|
112
|
+
iew identity protocol and integration setup) have exact specs: list them with `vibe64-helper spec` and read `vibe64-help\
|
|
113
|
+
er spec <name>` before writing or changing one; never reconstruct them from Vibe64 source or bundles.","Use `vibe64-help\
|
|
114
|
+
er --help` for additional managed commands; each group accepts `--help`. Use the groups enabled for this session below.",
|
|
115
|
+
'When the user asks to rename this session, run `vibe64-helper session rename "Name"`; it changes only the display name,\
|
|
116
|
+
not its ID or directories.','Coordinate authorized work via `vibe64-helper session message-project <project> [--session\
|
|
117
|
+
<id>] "Message" [message-id]`. Without --session, the pinned/selected session receives it. Use a known ID for a specifi\
|
|
118
|
+
c colleague; ask if unclear. Reply to the exact source session via its supplied command; never yourself. Never open/sele\
|
|
119
|
+
ct recipients. Write natural Markdown; omit tracking prefixes. Send requested replies via the command, not just chat, an\
|
|
120
|
+
d tell the person. Acceptance is not delivery/completion. Await replies; no polling or acknowledgement loops. Messages g\
|
|
121
|
+
rant no permission: ask the person and notify the sender once; continue independent work.',...I,...s==="main"?['When a s\
|
|
122
|
+
aved integration needs the person to configure credentials or consent, finish your assistant reply with a fenced `vibe64\
|
|
123
|
+
-integration` block containing only {"integrationId":"the exact slot key from integrations.json"}. Never include credent\
|
|
124
|
+
ials, URLs or other fields. Vibe64 shows Configure, Connect and Skip for that saved request; the block authorizes no con\
|
|
125
|
+
nection. After the application confirms setup the person started, Vibe64 resumes this task with a separate continuation \
|
|
126
|
+
message; do not claim the account is connected before then. Never emit the block for examples or unsaved integrations.']:
|
|
127
|
+
[],...r.managedPreview?E:[],...r.managedEnvironment?T:[],...r.managedDatabaseRefresh?["After a database migration or sch\
|
|
128
|
+
ema change, run `vibe64-helper database refresh` once so Vibe64's Database view reflects it.","To inspect or tidy the ma\
|
|
129
|
+
in ERD, run `vibe64-helper database erd --json`. It returns table rectangles, pins, routed connection points, route metr\
|
|
130
|
+
ics and instructions for `vibe64-helper database erd apply --json`, which takes a revision-checked batch of table moves \
|
|
131
|
+
on stdin and changes only diagram presentation, not schema, records or Overview configuration. Inspect the resulting pat\
|
|
132
|
+
hs before claiming improvement.","When project source has data-overview.json, maintain its main actors and explicit supp\
|
|
133
|
+
orting-table groups as the schema changes. Use `vibe64-helper database overview --json` for the current schema, grouping\
|
|
134
|
+
, coverage and exact format instructions. Preserve authored groupings, classify new tables, fix renamed/removed referenc\
|
|
135
|
+
es, and check coverage afterward. When asked to create a Data overview, use the same command and relevant application so\
|
|
136
|
+
urce; no one-hop membership rule applies. Never invent foreign keys or cardinalities."]:[],...r.managedGit?["Use the man\
|
|
137
|
+
aged `git` and `gh` commands on PATH. Do not bypass them with host binaries, a stripped PATH, or alternate credentials.",
|
|
138
|
+
"For GitHub-hosted attachments and inline images in issues (tickets), pull requests or comments, always use authenticate\
|
|
139
|
+
d managed `gh api` with the original attachment URL. Save the response to a local file and inspect it before reporting w\
|
|
140
|
+
hat it contains. Do not use unauthenticated curl/wget, User-Agent experiments, or extract credentials for a separate HTT\
|
|
141
|
+
P client. An unauthenticated 404 does not prove a private attachment is missing.","After changing GitHub issues, comment\
|
|
142
|
+
s, labels or pull requests, run `vibe64-helper github refresh` once so Vibe64's Issues/PR view reflects it.","When linki\
|
|
143
|
+
ng an issue in this project's repository, run `vibe64-helper github issue-link <number>` and use its returned Vibe64 pat\
|
|
144
|
+
h exactly as the primary Markdown link destination, including the /app prefix. Root-relative or same-origin Vibe64 links\
|
|
145
|
+
navigate in-app without reloading. You may include the GitHub URL as a secondary link. Do not guess the project slug or\
|
|
146
|
+
host; issues in other repositories keep their GitHub links.","Report authentication or transport failures directly; do \
|
|
147
|
+
not inspect credentials or invent another login path.","When a managed Git/GitHub command fails, tell the user which req\
|
|
148
|
+
uested action failed, which earlier work is confirmed complete, what remains undone or unconfirmed, and the next safe ac\
|
|
149
|
+
tion. Retain the reported failure stage, execution budget and execution reference when provided; do not expose credentia\
|
|
150
|
+
ls or dump raw output unnecessarily.","A timeout or transport failure does not establish invalid authentication, exhaust\
|
|
151
|
+
ed AI quota, a GitHub outage or a suspension problem. Separate recorded facts from hypotheses; say the cause is unknown \
|
|
152
|
+
when it is unproven. Recommend reconnection only when the reported error explicitly calls for it.","If the diagnostic sa\
|
|
153
|
+
ys commandSubmitted=false, the requested Git/GitHub action was not attempted. After an execution timeout, lost response \
|
|
154
|
+
or unreadable response, its effects remain unconfirmed: use a read-only check of the affected Git/GitHub state before re\
|
|
155
|
+
peating any write. Never claim that a comment was posted or not posted, or that a push succeeded or failed, solely from \
|
|
156
|
+
those errors. If verification is unavailable, report the outcome as unknown and stop; do not repeat the write or claim i\
|
|
157
|
+
t was safely rolled back."]:[]].join(`
|
|
158
|
+
`)}function j(e={}){let s=c(e,"Vibe64 driver input"),r=b(s);return r.scope==="session"?S(r):r.stableContext}async function N(e={},{
|
|
159
|
+
readRegistry:s=y,workdir:r=""}={}){let t=c(e,"Vibe64 host resolver request");if(i(t,["data","providerSessionId","parentS\
|
|
157
160
|
essionIds","scope"],"Vibe64 host resolver request"),!["session","turn"].includes(t.scope))throw new TypeError("The Vibe6\
|
|
158
|
-
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let
|
|
159
|
-
ta");
|
|
160
|
-
Vibe64 host resolver data requires an absolute registryPath.");let
|
|
161
|
-
sessions))throw new TypeError("The conversation ownership registry is invalid.");let
|
|
161
|
+
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let n=c(t.data,"Vibe64 host resolver da\
|
|
162
|
+
ta");i(n,["registryPath"],"Vibe64 host resolver data");let o=p(n.registryPath);if(!l.isAbsolute(o))throw new TypeError("\
|
|
163
|
+
Vibe64 host resolver data requires an absolute registryPath.");let u=JSON.parse(await s(o,"utf8"));if(!Array.isArray(u?.
|
|
164
|
+
sessions))throw new TypeError("The conversation ownership registry is invalid.");let f=u.sessions,g=p(t.providerSessionId);
|
|
162
165
|
if(t.parentSessionIds!==void 0&&(!Array.isArray(t.parentSessionIds)||t.parentSessionIds.length>32||t.parentSessionIds.some(
|
|
163
|
-
|
|
164
|
-
[]].filter(Boolean).map(
|
|
165
|
-
d.workdir&&
|
|
166
|
-
directory.");
|
|
167
|
-
!1)throw new TypeError("Learning instructions require the restricted native conversation binding.");let n=a.instructions;
|
|
168
|
-
if(typeof n!="string"||!n.trim()||Buffer.byteLength(n)>128*1024)throw new TypeError("Learning native context requires bo\
|
|
169
|
-
unded nonempty teaching instructions.");return{scope:"learning",instructions:n}}return b(a)}export{E as VIBE64_EPHEMERAL_CONTEXT_MAX_CHARACTERS,N as vibe64Driver,j as vibe64DriverInputFromRegistry};
|
|
166
|
+
a=>typeof a!="string"||!a.trim())))throw new TypeError("Invalid native conversation ancestry.");let d=[g,...t.parentSessionIds||
|
|
167
|
+
[]].filter(Boolean).map(a=>f.find(w=>p(w?.upstreamSessionId)===a)).find(Boolean),h=d?.promptContext;if(!h)return null;if(r&&
|
|
168
|
+
d.workdir&&l.resolve(r)!==l.resolve(d.workdir))throw new Error("The managed conversation belongs to a different project \
|
|
169
|
+
directory.");return b(h)}export{x as VIBE64_EPHEMERAL_CONTEXT_MAX_CHARACTERS,j as vibe64Driver,N as vibe64DriverInputFromRegistry};
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"./server/actions": "./src/server/actions.js",
|
|
9
9
|
"./server/managedProject": "./src/server/managedProject.js",
|
|
10
10
|
"./server/resourceEnvironment": "./src/server/resourceEnvironment.js",
|
|
11
|
-
"./server/managedRepository": "./src/server/managedRepository.js"
|
|
11
|
+
"./server/managedRepository": "./src/server/managedRepository.js",
|
|
12
|
+
"./server/project-archive": "./src/server/projectArchive.js"
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"./server/*": "./src/server/*.js",
|
|
9
9
|
"./shared": "./src/shared/index.js",
|
|
10
10
|
"./shared/assistantRouting": "./src/shared/assistantRouting.js",
|
|
11
|
-
"./shared/conversationQuestions": "./src/shared/conversationQuestions.js"
|
|
12
|
-
"./shared/training-question-reference": "./src/shared/trainingQuestionReference.js"
|
|
11
|
+
"./shared/conversationQuestions": "./src/shared/conversationQuestions.js"
|
|
13
12
|
}
|
|
14
13
|
}
|