vibe64 0.1.32 → 0.1.34
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 +1717 -1648
- package/bin/server.js +81 -68
- package/bin/upgrade-state.js +5438 -5189
- package/dist/assets/{GithubBrowserTabs-2bEGbRAs.js → GithubBrowserTabs-DO5PHon-.js} +1 -1
- package/dist/assets/GithubMarkdown-BQ6MfCDJ.js +3 -0
- package/dist/assets/GithubMarkdown-U7-j-qNI.css +1 -0
- package/dist/assets/StudioErrorNotice-sQfmeR-z.js +1 -0
- package/dist/assets/VAlert-P256xaE0.js +1 -0
- package/dist/assets/VAutocomplete-BDb95qJX.js +1 -0
- package/dist/assets/VAvatar-9ilDR2r2.css +1 -0
- package/dist/assets/VAvatar-DPzqDH4r.js +1 -0
- package/dist/assets/VBtn-B2MBK2DL.js +1 -0
- package/dist/assets/VCard-mXy0k4aS.js +1 -0
- package/dist/assets/VCheckbox-C7A1ZW4D.js +1 -0
- package/dist/assets/VChip-CcI-Oo2J.js +1 -0
- package/dist/assets/VDialog-Bu3EfKb1.js +1 -0
- package/dist/assets/VDivider-BMEqUoAB.js +1 -0
- package/dist/assets/VExpansionPanels-Dgjrop0V.js +1 -0
- package/dist/assets/VMenu-C_x18lwb.js +1 -0
- package/dist/assets/VOverlay-CeMZurIN.js +1 -0
- package/dist/assets/VRadioGroup-CUu2-KIP.js +1 -0
- package/dist/assets/VRow-Cpw7OHQV.js +1 -0
- package/dist/assets/{VSelect-DY-ZuBJJ.js → VSelect-DL3HaA5m.js} +1 -1
- package/dist/assets/VSheet-DZWsu0kL.js +1 -0
- package/dist/assets/VSkeletonLoader-CttxM1tw.js +1 -0
- package/dist/assets/VSpacer-Dhmsvk4t.js +1 -0
- package/dist/assets/{VSwitch-Bm1bwl2V.js → VSwitch-BRHeDJkH.js} +1 -1
- package/dist/assets/VTextField-BR2eZeFT.js +1 -0
- package/dist/assets/VTextarea-DbqamXJd.js +1 -0
- package/dist/assets/Vibe64AsyncModuleState-Dx7YKRPp.js +1 -0
- package/dist/assets/Vibe64DashboardBackButton-DD9UR77P.css +1 -0
- package/dist/assets/Vibe64DashboardBackButton-yE6cyYg2.js +1 -0
- package/dist/assets/Vibe64DashboardPageHeader-BXQR00HK.js +1 -0
- package/dist/assets/Vibe64DashboardPageHeader-Gm1IvlHx.css +1 -0
- package/dist/assets/Vibe64DashboardShell-CuCVMhOc.js +1 -0
- package/dist/assets/Vibe64DashboardShell-MBkUHjs-.css +1 -0
- package/dist/assets/Vibe64DatabaseWorkspace-BONJdxBS.js +18 -0
- package/dist/assets/{Vibe64DatabaseWorkspace-C39Jvver.css → Vibe64DatabaseWorkspace-CR4pzzcf.css} +1 -1
- package/dist/assets/Vibe64OutputControls-DAAmA09l.js +8 -0
- package/dist/assets/{Vibe64OutputControls-CsZFv12r.css → Vibe64OutputControls-DPBsyDZM.css} +1 -1
- package/dist/assets/{Vibe64RepositoryWorkspace-ebUaYOU4.js → Vibe64RepositoryWorkspace-ByQlZbyO.js} +2 -2
- package/dist/assets/{Vibe64RepositoryWorkspace-Cqm6TOFk.css → Vibe64RepositoryWorkspace-CVHcT93M.css} +1 -1
- package/dist/assets/Vibe64SessionFiles-B0u9HKdF.js +107 -0
- package/dist/assets/Vibe64SessionFiles-NjOMVwPR.css +1 -0
- package/dist/assets/Vibe64TemporaryAiFixAction-BGlcrq4d.js +1 -0
- package/dist/assets/Vibe64UiStoryboardView-3WXph5bz.css +1 -0
- package/dist/assets/Vibe64UiStoryboardView-Brlwdvqi.js +7 -0
- package/dist/assets/Vibe64UnavailableSessions-zwlWlcZD.js +1 -0
- package/dist/assets/_sessionId_-CvOkQbVy.js +1 -0
- package/dist/assets/{_sessionTool_-B39BIzzZ.js → _sessionTool_-Dwod5ns9.js} +1 -1
- package/dist/assets/_slug_-B31c15cc.css +1 -0
- package/dist/assets/_slug_-Dy35qLo1.js +1 -0
- package/dist/assets/access-BVu5XYm2.js +1 -0
- package/dist/assets/app-DRXCcv05.css +1 -0
- package/dist/assets/app-zt7HwQKT.js +1 -0
- package/dist/assets/assistantRouting-CwbwfkwB.js +3 -0
- package/dist/assets/{changes-ByjS7QGx.js → changes-olY8cnFK.js} +1 -1
- package/dist/assets/{client-C-tpoG6F.js → client-BrV4QPwG.js} +1 -1
- package/dist/assets/createSimpleFunctional-CZTGuNuR.js +1 -0
- package/dist/assets/dashboard-BnXD-H4R.js +1 -0
- package/dist/assets/definitions-DaOPIkyB.js +1 -0
- package/dist/assets/env-DJhnLOH7.css +1 -0
- package/dist/assets/env-DN0vW4EI.js +1 -0
- package/dist/assets/{error-DFKtZBJ8.js → error-DgrgRbJJ.js} +1 -1
- package/dist/assets/{error-DE4zo8Lk.js → error-Dug56can.js} +1 -1
- package/dist/assets/health-7oIQODer.css +1 -0
- package/dist/assets/health-Z6m96GDr.js +1 -0
- package/dist/assets/history-BOwbCRQP.css +1 -0
- package/dist/assets/history-BxlpB-YH.js +1 -0
- package/dist/assets/incoming-BOxRVlOM.js +2 -0
- package/dist/assets/incoming-DWDrmxyH.css +1 -0
- package/dist/assets/index-BUq-MczL.js +86 -0
- package/dist/assets/{index-D4MsP3dq.css → index-DtmBqE3h.css} +1 -1
- package/dist/assets/{integrations-B4txOZfY.js → integrations-BFltGDVI.js} +1 -1
- package/dist/assets/issues-1iS5zoed.js +1 -0
- package/dist/assets/issues-XnpGgdmn.css +1 -0
- package/dist/assets/layout-BkWVNT37.js +1 -0
- package/dist/assets/lazy-NHSwD9FS.js +1 -0
- package/dist/assets/mdi-C54lQ0i_.js +1 -0
- package/dist/assets/{pages-BW2l8fNe.js → pages-DuMgH61T.js} +1 -1
- package/dist/assets/{placement-JxzrmUR3.js → placement-CwTqWLQH.js} +1 -1
- package/dist/assets/placement-DLsU3pCW.js +1 -0
- package/dist/assets/pull-requests-BJOwNL4k.js +1 -0
- package/dist/assets/pull-requests-CdbhyFOv.css +1 -0
- package/dist/assets/{repository-BTC3lkrh.js → repository-JWLVST3D.js} +1 -1
- package/dist/assets/{VAvatar-CAFvgSUo.js → ripple-BVltMmyV.js} +2 -2
- package/dist/assets/ripple-DqhAt1Ze.css +1 -0
- package/dist/assets/runtime-core.esm-bundler-DGXg_mpN.js +3 -0
- package/dist/assets/{session-CG-TUCJt.css → session-5qADMzDP.css} +1 -1
- package/dist/assets/session-C5Nj8Dlq.js +1 -0
- package/dist/assets/settings-BopLnpB0.css +1 -0
- package/dist/assets/settings-c273Ikrm.js +1 -0
- package/dist/assets/ssrBoot-Rlh6kLbD.js +1 -0
- package/dist/assets/{studioGateApi-C0GvzVlt.js → studioGateApi-DhA9IJGZ.js} +1 -1
- package/dist/assets/{studioUrls-CIab-Axb.js → studioUrls-Dj8rXeXO.js} +1 -1
- package/dist/assets/{useApi-BPuI6ZR9-Dr8wK_Co.js → useApi-BPuI6ZR9-CFWU1m37.js} +1 -1
- package/dist/assets/useArchivedVibe64Sessions-CVZx2Rtm.js +1 -0
- package/dist/assets/useCommand-DWuxfAV0.js +1 -0
- package/dist/assets/useEndpointResource-MWVNfmMa.js +1 -0
- package/dist/assets/{usePaths-DVTieF_G.js → usePaths-Db88-HOm.js} +1 -1
- package/dist/assets/{useUiFeedback-Tzi-PRlX.js → useUiFeedback-0FqKuZRP.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-8cKh1eDm.js +1 -0
- package/dist/assets/useVibe64DatabaseTools-BcRG1s3i.js +1 -0
- package/dist/assets/useVibe64LearningMode-Bl0dGdCh.js +28 -0
- package/dist/assets/useVibe64LearningMode-C3PcXdVg.css +1 -0
- package/dist/assets/useVibe64ProjectScope-DOEVkBqX.js +1 -0
- package/dist/assets/useVibe64SessionData-DFTyLzci.js +1 -0
- package/dist/assets/useVibe64SessionSelection-j9lsllx4.js +1 -0
- package/dist/assets/useVibe64SystemGraph-tNkIwSBQ.js +1 -0
- package/dist/assets/{useVibe64Terminal-C2XJ9Y1K.js → useVibe64Terminal-BPnN25WH.js} +1 -1
- package/dist/assets/vibe64AssistantHost-DdE_-lZF.js +1 -0
- package/dist/assets/vibe64LessonDashboard-DlKYjisq.js +1 -0
- package/dist/assets/vibe64ProjectScope.local-DqT6e5un.js +1 -0
- package/dist/assets/vibe64RepositoryRealtime-DXk0Jai3.js +1 -0
- package/dist/assets/vibe64SessionFocus-OJ2toBd9.css +1 -0
- package/dist/assets/vibe64SessionFocus-kqPOPaOH.js +1 -0
- package/dist/assets/{vibe64SessionInfo-D8l22MFm.js → vibe64SessionInfo-BHxtTrLX.js} +1 -1
- package/dist/assets/vibe64SessionToolDefinitions-NfLd1HZI.js +1 -0
- package/dist/assets/vue-flow-core-BlVEnES8.js +26 -0
- package/dist/index.html +51 -48
- package/docs/colleague-usage/account-profile-and-appearance.md +29 -0
- package/docs/colleague-usage/ai-accounts-and-routing.md +23 -4
- package/docs/colleague-usage/ai-balance-and-allowance.md +4 -0
- package/docs/colleague-usage/architecture-explanations.md +99 -0
- package/docs/colleague-usage/auto-workflow.md +49 -11
- package/docs/colleague-usage/coding-agent-failures.md +94 -0
- package/docs/colleague-usage/coding-agent-goal-pause.md +110 -0
- package/docs/colleague-usage/coding-agent-goals.md +140 -38
- package/docs/colleague-usage/coding-agent-history.md +20 -2
- package/docs/colleague-usage/coding-agent-recovery.md +136 -0
- package/docs/colleague-usage/coding-agents.md +138 -150
- package/docs/colleague-usage/colleague-recovery.md +28 -5
- package/docs/colleague-usage/colleague-upgrade-recovery.md +4 -0
- package/docs/colleague-usage/colleague-watches.md +84 -0
- package/docs/colleague-usage/colleague.md +18 -34
- package/docs/colleague-usage/connected-contributions.md +196 -0
- package/docs/colleague-usage/connected-projects.md +196 -0
- package/docs/colleague-usage/conversation-context.md +67 -1
- package/docs/colleague-usage/dashboard-navigation.md +79 -5
- package/docs/colleague-usage/database.md +11 -0
- package/docs/colleague-usage/developing-vibe64.md +137 -0
- package/docs/colleague-usage/development-copies.md +20 -0
- package/docs/colleague-usage/development-env.md +34 -0
- package/docs/colleague-usage/file-interfaces.md +156 -0
- package/docs/colleague-usage/github-work.md +88 -1
- package/docs/colleague-usage/health-checks.md +32 -0
- package/docs/colleague-usage/incoming-changes.md +94 -0
- package/docs/colleague-usage/learning-chat-retention.md +11 -2
- package/docs/colleague-usage/learning-code-questions.md +55 -0
- package/docs/colleague-usage/learning-course-catalogue.md +118 -0
- package/docs/colleague-usage/learning-diagrams-and-voice.md +97 -0
- package/docs/colleague-usage/learning-history.md +17 -9
- package/docs/colleague-usage/learning-lesson-watch.md +95 -0
- package/docs/colleague-usage/learning-mode-ui.md +187 -85
- package/docs/colleague-usage/learning-native-session.md +12 -10
- package/docs/colleague-usage/learning-practical-exercises.md +71 -0
- package/docs/colleague-usage/learning-practical-gestures.md +18 -1
- package/docs/colleague-usage/learning-practice-projects.md +55 -4
- package/docs/colleague-usage/learning-session-creation.md +7 -7
- package/docs/colleague-usage/learning-teacher-guide.md +52 -0
- package/docs/colleague-usage/learning-with-colleague.md +59 -80
- package/docs/colleague-usage/lesson-authoring.md +12 -4
- package/docs/colleague-usage/lesson-practical-assessment.md +3 -1
- package/docs/colleague-usage/managed-app-access.md +6 -0
- package/docs/colleague-usage/message-delivery-recovery.md +56 -0
- package/docs/colleague-usage/plans.md +14 -7
- package/docs/colleague-usage/preview-browser-checks.md +61 -0
- package/docs/colleague-usage/preview-lesson-presentation.md +56 -0
- package/docs/colleague-usage/preview-starting-application.md +92 -0
- package/docs/colleague-usage/preview.md +70 -96
- package/docs/colleague-usage/project-architecture.md +229 -0
- package/docs/colleague-usage/project-language-tools.md +31 -0
- package/docs/colleague-usage/project-messages.md +106 -0
- package/docs/colleague-usage/project-settings.md +22 -0
- package/docs/colleague-usage/project-setup.md +29 -2
- package/docs/colleague-usage/session-terminal.md +42 -0
- package/docs/colleague-usage/sessions.md +122 -52
- package/docs/colleague-usage/teaching-content.md +12 -6
- package/docs/colleague-usage/temporary-chat-context.md +29 -0
- package/docs/colleague-usage/temporary-chats.md +95 -2
- package/docs/colleague-usage/voice-chat.md +10 -43
- package/docs/colleague-usage/voice-face-and-speaking-voice.md +73 -0
- package/docs/colleague-usage/workspace-preparation.md +89 -0
- package/docs/training-content.md +208 -7
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/README.md +29 -0
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/package.json +1 -1
- package/node_modules/@jskit-ai/payments-core/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- 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/package.json +1 -1
- package/node_modules/@local/vibe64-core/package.json +1 -0
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +280 -272
- package/node_modules/@local/vibe64-genesis/README.md +15 -0
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +879 -1225
- package/node_modules/@local/vibe64-genesis/package.json +2 -1
- package/node_modules/@local/vibe64-genesis/src/server/index.js +496 -418
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +165 -146
- package/node_modules/@local/vibe64-runtime/src/server/agentSessionCommandHook.js +8 -8
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +128 -129
- package/node_modules/@local/vibe64-system-graph/README.md +136 -6
- package/node_modules/@local/vibe64-terminals/package.json +3 -0
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +1527 -1326
- package/node_modules/@local/vibe64-training/package.json +6 -1
- package/node_modules/@local/vibe64-voice/package.json +1 -0
- package/package.json +16 -16
- package/server.bundle.mjs +42853 -40268
- package/dist/assets/StudioErrorNotice-Ccjvcn9C.js +0 -1
- package/dist/assets/VAlert-B7ciJKQL.js +0 -1
- package/dist/assets/VAutocomplete-QjMk5d_j.js +0 -1
- package/dist/assets/VAvatar-nHaK192T.css +0 -1
- package/dist/assets/VBtn-Kl_qcBsy.js +0 -1
- package/dist/assets/VCard-nrJPeo91.js +0 -1
- package/dist/assets/VCheckbox-DTRAWOIf.js +0 -1
- package/dist/assets/VChip-Dfs5jX0f.js +0 -1
- package/dist/assets/VDialog-Dt1VjJg1.js +0 -1
- package/dist/assets/VDivider-DFsS0OTx.js +0 -1
- package/dist/assets/VExpansionPanels-CYKU0cAr.js +0 -1
- package/dist/assets/VMenu-BLxobsuU.js +0 -1
- package/dist/assets/VOverlay-BvFVZKNS.js +0 -1
- package/dist/assets/VRadioGroup-DzQzpCfg.js +0 -1
- package/dist/assets/VRow-BR2RMCM1.js +0 -1
- package/dist/assets/VSheet-BA95RNmA.js +0 -1
- package/dist/assets/VSkeletonLoader-hpJqr0HL.js +0 -1
- package/dist/assets/VSpacer-B1l1hVvU.js +0 -1
- package/dist/assets/VTextField-CA_p3N4d.js +0 -1
- package/dist/assets/VTextarea-NyCqY4h5.js +0 -1
- package/dist/assets/Vibe64AsyncModuleState-DEFlqJ97.js +0 -1
- package/dist/assets/Vibe64DashboardShell-BNv2I-P8.js +0 -1
- package/dist/assets/Vibe64DashboardShell-w20wNTGW.css +0 -1
- package/dist/assets/Vibe64DatabaseWorkspace-CuY5lN1o.js +0 -43
- package/dist/assets/Vibe64OutputControls-D2JuYlYU.js +0 -8
- package/dist/assets/Vibe64SessionFiles-C-rWehq_.js +0 -34
- package/dist/assets/Vibe64SessionFiles-Dsr6KQNP.css +0 -1
- package/dist/assets/Vibe64SubsystemsView-BvdU_o6H.css +0 -1
- package/dist/assets/Vibe64SubsystemsView-DJCjSzQM.js +0 -1
- package/dist/assets/Vibe64SystemWorldView-B91ioQaO.js +0 -4312
- package/dist/assets/Vibe64SystemWorldView-BXiQ7_Qb.css +0 -1
- package/dist/assets/Vibe64UnavailableSessions-OvnoD3ZB.js +0 -1
- package/dist/assets/_sessionId_-JTvMh54L.js +0 -1
- package/dist/assets/_slug_-DP_heCDa.js +0 -1
- package/dist/assets/_slug_-DmBZGb0q.css +0 -1
- package/dist/assets/access-C8GQIS19.js +0 -1
- package/dist/assets/app-B83lF61Y.js +0 -1
- package/dist/assets/app-ByLIQ3SB.css +0 -1
- package/dist/assets/assistantRouting-TDtryU6o.js +0 -1
- package/dist/assets/createSimpleFunctional-DPIT6zsT.js +0 -1
- package/dist/assets/dashboard-CWGFPojJ.js +0 -1
- package/dist/assets/definitions-BeLcvOW3.js +0 -1
- package/dist/assets/display-BLmcO-5p.js +0 -1
- package/dist/assets/env-7bqFyF_E.css +0 -1
- package/dist/assets/env-BVwxNL8M.js +0 -1
- package/dist/assets/health-BzNhp7r8.js +0 -1
- package/dist/assets/health-DoHTXTGx.css +0 -1
- package/dist/assets/history-BPeZGofK.js +0 -1
- package/dist/assets/history-iMQxp5AR.css +0 -1
- package/dist/assets/httpClient-BaaZuFvF.js +0 -1
- package/dist/assets/index-5sKwLHOH.js +0 -86
- package/dist/assets/issues-DCEhGlfn.css +0 -1
- package/dist/assets/issues-wby50y9b.js +0 -3
- package/dist/assets/layout-YCn17mK1.js +0 -1
- package/dist/assets/lazy-CvQfXeLg.js +0 -1
- package/dist/assets/mdi-C31_SZp-.js +0 -1
- package/dist/assets/placement-C4R2t6rl.js +0 -1
- package/dist/assets/pull-requests-BNK6mq2u.css +0 -1
- package/dist/assets/pull-requests-lNQAigaC.js +0 -1
- package/dist/assets/runtime-core.esm-bundler-DMrccYS5.js +0 -3
- package/dist/assets/session-D38nzG41.js +0 -1
- package/dist/assets/settings-CFyUJ_kR.js +0 -1
- package/dist/assets/settings-vWsAEoE9.css +0 -1
- package/dist/assets/useArchivedVibe64Sessions-C2DSq2Z4.js +0 -1
- package/dist/assets/useCommand-BzThFLYP.js +0 -1
- package/dist/assets/useEndpointResource-C2KD4Ub_.js +0 -1
- package/dist/assets/useVibe64ConversationLog-CMUlXJtU.js +0 -1
- package/dist/assets/useVibe64DatabaseTools-DBcKhm6B.js +0 -1
- package/dist/assets/useVibe64LearningMode-BPRWM5Rp.js +0 -28
- package/dist/assets/useVibe64LearningMode-PJUv0O25.css +0 -1
- package/dist/assets/useVibe64SessionData-CdtJbAIx.js +0 -1
- package/dist/assets/useVibe64SessionSelection-aR0f6xVT.js +0 -1
- package/dist/assets/useVibe64SystemGraph-DeTPBn0e.js +0 -1
- package/dist/assets/vibe64AssistantHost-Dgyz4TrT.js +0 -1
- package/dist/assets/vibe64ProjectScope.local-GOSMVDRi.js +0 -1
- package/dist/assets/vibe64RepositoryRealtime-t5Al8BlU.js +0 -1
- package/dist/assets/vibe64SessionFocus-CcN6Grgw.js +0 -1
- package/dist/assets/vibe64SessionFocus-ChabllPA.css +0 -1
- package/dist/assets/vibe64SessionToolDefinitions-BaO1DEup.js +0 -1
- /package/dist/assets/{vibe64RepositoryRealtime-D_mq1dFE.css → Vibe64TemporaryAiFixAction-D_mq1dFE.css} +0 -0
|
@@ -1,150 +1,169 @@
|
|
|
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 p from"node:path";var
|
|
3
|
-
freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","managedPreview"]),
|
|
2
|
+
import{readFile as y}from"node:fs/promises";import p from"node:path";var k=Object.freeze(["main","temporary"]),m=Object.
|
|
3
|
+
freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","managedPreview"]),E=64*1024,x=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
|
-
ate lines as `[1] Question`, `[2] Question`, and so on.","For a small fixed set of useful choices,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
is
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
5
|
+
ate lines as `[1] Question`, `[2] Question`, and so on.","For a small fixed set of useful choices, put `Possible answers\
|
|
6
|
+
:` and a short bullet list directly beneath its own question, before the next one; never collect several questions' answ\
|
|
7
|
+
ers into one trailing list.","Each bullet is one distinct, complete answer: Yes and No are separate bullets; never join \
|
|
8
|
+
alternatives with a slash or `or`. Omit the list for free-text answers. The user may always type a different answer.",`E\
|
|
9
|
+
xample:
|
|
10
|
+
[1] Which density?
|
|
11
|
+
Possible answers:
|
|
12
|
+
- Compact
|
|
13
|
+
- Comfortable
|
|
14
|
+
[2] Tell the main agent before changes?
|
|
15
|
+
Possible answers:
|
|
16
|
+
- Yes, tell main first
|
|
17
|
+
- No, proceed independently`]),I=Object.freeze(["The Vibe64-managed preview is the canonical application server; never s\
|
|
18
|
+
tart a duplicate or replacement server. If it is unavailable, report that blocker. Describe only rendered browser eviden\
|
|
19
|
+
ce.","When adopting an authenticated app, or when its login blocks Preview inspection, inspect identity support/names wi\
|
|
20
|
+
th `vibe64-helper preview status`; prefer `vibe64-helper preview browser identity <configured-name>` to requesting passw\
|
|
21
|
+
ords. If unconfigured, ask which existing accounts (email/login/user ID) represent admin and other required roles, and t\
|
|
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 the application-owned `vibe64.preview-identity.command.v1` adapter in Outputs Preview ident\
|
|
24
|
+
ity, and guide named selectors through Dashboard > App access > Managed app access. Use existing sessions/permissions, r\
|
|
25
|
+
eject missing/disabled accounts, and disable the adapter without Vibe64\u2019s per-run enable flag and secret. Do not create \
|
|
26
|
+
users, change roles, reset passwords or weaken production auth for import. Verify the selected account\u2019s actual Preview \
|
|
27
|
+
access; a saved selector is insufficient. If deferred/declined, explain access remains unconfigured and continue indepen\
|
|
28
|
+
dent setup work without repeated credential requests. Public/non-web apps need no adapter.","Use `vibe64-helper preview \
|
|
29
|
+
status`, `screenshot`, `logs`, and `browser eval` (Playwright code on stdin) for rendered inspection.","The top Preview \
|
|
30
|
+
toolbar Stop and `vibe64-helper preview stop` stop this session's application and managed browser, not chat or source. S\
|
|
31
|
+
tatus reports the saved stopped choice. A status read, screenshot, browser inspection, source edit or session reopening \
|
|
32
|
+
is not permission to restart it; use `vibe64-helper preview ensure --wait` only for a deliberate Start. Scoped browser t\
|
|
33
|
+
ests restore the prior stopped choice.","For interactive navigation, use the proxy URL from `vibe64-helper preview inspe\
|
|
34
|
+
ct-url` or status `currentPage.url` / `endpoints.browser.url`. Inside browser eval, use `await page.goto(new URL('/your-\
|
|
35
|
+
path', preview.url).href)`. The direct application endpoint under diagnostics bypasses Preview identity and is not a bro\
|
|
36
|
+
wser-navigation URL.","Use the managed preview browser for interactive browsing and `vibe64-helper playwright` only for \
|
|
37
|
+
an existing configured project suite; report a platform or project-test blocker rather than installing another browser o\
|
|
38
|
+
r changing its dependencies.","For browser evidence, batch related actions and assertions, return only needed values and\
|
|
39
|
+
inspect relevant locators or regions; screenshot at meaningful visual checkpoints or failures, not after every click. R\
|
|
40
|
+
euse the managed browser when test isolation permits. Preserve required viewport, identity and security checks; use exis\
|
|
41
|
+
ting automated cases for repeat verification.","For browser tests that write or reset data, inspect `vibe64-helper previ\
|
|
42
|
+
ew targets --json` and the project's `genesis/stack.md` Outputs. Run `vibe64-helper playwright --target <declared-test-t\
|
|
43
|
+
arget> test <suite arguments>` or `vibe64-helper playwright --target <declared-test-target> npm-run <script>`. Vibe64 st\
|
|
44
|
+
arts that web target, waits for readiness, uses its declared application identity, and restores the previous Preview whe\
|
|
45
|
+
n the command finishes or is cancelled; report restoration failures.","A target name is not proof of test isolation. Bef\
|
|
46
|
+
ore running a destructive suite, the application must verify the server's actual test database and suppress real email, \
|
|
47
|
+
invoices, payments, and other external effects. Keep managed Env unchanged. The test launcher and its preview-identity c\
|
|
48
|
+
ommand must use the same database. Use a declared BROWSER_TEST_DB_NAME for reusable browser fixtures, separate from disp\
|
|
49
|
+
osable TEST_DB_NAME. Never spoof safety checks by changing DB_NAME only in the test runner.","If no suitable test target\
|
|
50
|
+
exists, add one through the project's existing Outputs contract and application-owned test scripts within authorized sc\
|
|
51
|
+
ope, keeping normal Preview as default. Validate the exact disposable database before resetting it, prepare fixtures bef\
|
|
52
|
+
ore reporting readiness, and make Playwright use PLAYWRIGHT_BASE_URL without starting another server. If the required te\
|
|
53
|
+
st resources or external-effect controls are missing, report that specific blocker. Use `vibe64-helper preview ensure --\
|
|
54
|
+
target <id> --wait --json` only to deliberately select an interactive target; it stays selected until changed.","Keep ro\
|
|
55
|
+
utine browser startup incremental: reuse the isolated test schema, apply only pending migrations, and reset fixture data\
|
|
56
|
+
deterministically. Do not drop and rebuild the database or run a production frontend build for every focused browser ch\
|
|
57
|
+
eck. Keep fresh-schema migration checks separate. If startup is slow, measure migrations, fixtures, and server startup b\
|
|
58
|
+
efore retrying or extending deadlines.","Keep test output small: run relevant files/cases, save stdout/stderr to local a\
|
|
59
|
+
rtifacts and preserve exit status. Report counts, duration, failed cases, actionable errors and artifact paths. Read onl\
|
|
60
|
+
y needed failure excerpts, not full passing/JSON/TAP/request/trace/image output. Retain startup, resource and Preview-re\
|
|
61
|
+
storation errors even if tests pass, and trailing wrapper diagnostics separately from JSON. Do not rerun for output or r\
|
|
62
|
+
eread unchanged logs; inspect on new output, changed state or a concrete blocker.","Batch related browser tests in one m\
|
|
63
|
+
anaged suite (one Preview switch and restore). Suites and live Preview actions are sequential: no browser actions, ensur\
|
|
64
|
+
e/restart or target changes during a suite or restoration. Wait on the original execution, including background runs, th\
|
|
65
|
+
rough cleanup/restoration (empty polls: yield_time_ms: 30000 where supported; shorter only for interactive input or an i\
|
|
66
|
+
mmediate check); read-only status/logs stay available. Before live inspection, confirm `vibe64-helper playwright status`\
|
|
67
|
+
has no active run and `vibe64-helper preview status` is ready on the restored target. To stop, read suite status then r\
|
|
68
|
+
un `vibe64-helper playwright cancel <run-id>`, which waits for cleanup/restoration; retry it if cleanup needs attention.\
|
|
69
|
+
Never kill individual test/Preview PIDs or change locks. Launcher exit alone does not prove tests stopped. Recheck curr\
|
|
70
|
+
ent status before reporting a busy blocker.","If a managed command reports kernel task denials or a resource incident, r\
|
|
71
|
+
etain its diagnostic and incident ID when reporting the blocker. Ask the platform operator to inspect that resource evid\
|
|
72
|
+
ence before retrying; do not increase test timeouts or weaken assertions to work around a process/thread limit. A generi\
|
|
73
|
+
c browser timeout without resource evidence does not establish a platform cause."]),T=Object.freeze(["Each managed shell\
|
|
74
|
+
command receives current development Env from Vibe64, including declared resource bindings; use them in ordinary comman\
|
|
75
|
+
ds. Do not build environment injection or copy managed credentials into source. Resource provisioning and application mi\
|
|
76
|
+
grations remain separate preparation steps.","Use `vibe64-helper env status [development|production|all]` to inspect con\
|
|
77
|
+
figured key names without revealing values.","Pipe an available value to `vibe64-helper env set <development|production>\
|
|
78
|
+
<KEY> [--secret]`; never put values in arguments, logs, or repository files. Use empty stdin only when the user request\
|
|
79
|
+
ed an empty value.","Keep development and production values separate. Never invent credentials, copy a value between sco\
|
|
80
|
+
pes without explicit direction, or edit Vibe64 runtime/session storage.","After an Env mutation, report only the affecte\
|
|
81
|
+
d scope and key names, never their values, and claim success only when the command succeeded.","When declared, TEST_DB_N\
|
|
82
|
+
AME is the exact disposable integration database and BROWSER_TEST_DB_NAME is a separate reusable browser-fixture databas\
|
|
83
|
+
e whose migration ledger survives routine runs. Follow the application\u2019s declared test resources; never reset DB_NAME, s\
|
|
84
|
+
hare these test identities, or invent a database name."]);function u(e=""){return String(e??"").trim()}function l(e,s){if(!e||
|
|
85
|
+
typeof e!="object"||Array.isArray(e))throw new TypeError(`${s} must be an object.`);return e}function o(e,s,r){let t=new Set(
|
|
86
|
+
s),i=Object.keys(e).filter(c=>!t.has(c));if(i.length>0)throw new TypeError(`${r} contains unsupported fields: ${i.join("\
|
|
87
|
+
, ")}.`)}function f(e){if(o(e,["conversationKind","scope","session","hostGuidance"],"Vibe64 session context"),e.hostGuidance!==
|
|
88
|
+
void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength(e.hostGuidance,"utf8")>1024))throw new TypeError("Vibe64 hos\
|
|
89
|
+
t guidance must be bounded text supplied by the host.");if(!k.includes(e.conversationKind))throw new TypeError("Vibe64 s\
|
|
90
|
+
ession context has an unknown conversationKind.");let s=l(e.session,"Vibe64 session capabilities");o(s,m,"Vibe64 session\
|
|
91
|
+
capabilities");let r=Object.fromEntries(m.map(t=>{if(typeof s[t]!="boolean")throw new TypeError(`Vibe64 session capabil\
|
|
92
|
+
ity ${t} must be boolean.`);return[t,s[t]]}));return{conversationKind:e.conversationKind,scope:"session",...e.hostGuidance?
|
|
93
|
+
{hostGuidance:e.hostGuidance}:{},session:r}}function S(e){o(e,["scope","stableContext"],"Vibe64 ephemeral context");let s=String(
|
|
94
|
+
e.stableContext||"").trim();if(!s||s.length>E)throw new TypeError("Vibe64 ephemeral context requires bounded stableConte\
|
|
95
|
+
xt.");return{scope:"ephemeral",stableContext:s}}function b(e){if(e.scope==="session")return f(e);if(e.scope==="ephemeral")
|
|
96
|
+
return S(e);throw new TypeError("The Vibe64 driver supports session and ephemeral scopes only.")}function A(e){let{conversationKind:s,
|
|
97
|
+
session:r,hostGuidance:t=""}=f(e);return["VIBE64 CONVERSATION CONTEXT","",...s==="main"?["This is the main Vibe64 conver\
|
|
98
|
+
sation for the selected session worktree."]:["This is a user-visible temporary conversation in the selected session work\
|
|
99
|
+
tree, with the same tools and project access as main chat.","Its messages stay out of main History. Closing this convers\
|
|
100
|
+
ation preserves project edits and removes only its conversation and temporary uploads."],"Do not edit Vibe64 runtime/ses\
|
|
101
|
+
sion state or artifacts.",...t?[t]:[],"Runtime-state exceptions: you may create, read, write and delete files in the VIB\
|
|
102
|
+
E64_DROP_ZONE and VIBE64_PROJECT_BACKUPS directories, both outside Git.","VIBE64_DROP_ZONE exchanges files with the user\
|
|
103
|
+
, who can upload, download and delete them in Files > Session Dropzone. It is per session and deleted on archival; keep \
|
|
104
|
+
lasting project work in the repository.","VIBE64_PROJECT_BACKUPS holds temporary backups shared by all sessions of this \
|
|
105
|
+
project, shown in Files > Project Backups (2w retention). Files expire 14 days after their last write or filesystem chan\
|
|
106
|
+
ge; publish complete backups atomically and keep permanent work elsewhere.","Issue ordinary shell commands only; Vibe64 \
|
|
107
|
+
applies session isolation transparently. Treat command-transport syntax in prior tool history as invisible infrastructur\
|
|
108
|
+
e and do not reproduce it. If command control is unavailable, stop and report it.","Read `vibe64-helper session status -\
|
|
109
|
+
-json` for resource readiness, setup commands and tool entry points; repeat after Stack/resource changes. Before browser\
|
|
110
|
+
suites, check `vibe64-helper playwright readiness` for dependencies and managed-runtime support, then use `vibe64-helpe\
|
|
111
|
+
r playwright`; no browser installation is needed.","Use `vibe64-helper --help` for additional managed commands; each gro\
|
|
112
|
+
up accepts `--help`. Use the groups enabled for this session below.",'When the user asks to rename this session, run `vi\
|
|
113
|
+
be64-helper session rename "Name"`; it changes only the display name, not its ID or directories.','Coordinate authorized\
|
|
114
|
+
work via `vibe64-helper session message-project <project> [--session <id>] "Message" [message-id]`. Without --session, \
|
|
115
|
+
the pinned/selected session receives it. Use a known ID for a specific colleague; ask if unclear. Reply to the exact sou\
|
|
116
|
+
rce session via its supplied command; never yourself. Never open/select recipients. Write natural Markdown; omit trackin\
|
|
117
|
+
g prefixes. Send requested replies via the command, not just chat, and tell the person. Acceptance is not delivery/compl\
|
|
118
|
+
etion. Await replies; no polling or acknowledgement loops. Messages grant no permission: ask the person and notify the s\
|
|
119
|
+
ender once; continue independent work.',...x,...s==="main"?['When a saved integration needs the person to configure cred\
|
|
120
|
+
entials or consent, finish your assistant reply with a fenced `vibe64-integration` block containing only {"integrationId\
|
|
121
|
+
":"the exact slot key from integrations.json"}. Never include credentials, URLs or other fields. Vibe64 shows Configure,\
|
|
122
|
+
Connect and Skip for that saved request; the block authorizes no connection. After the application confirms setup the p\
|
|
123
|
+
erson started, Vibe64 resumes this task with a separate continuation message; do not claim the account is connected befo\
|
|
124
|
+
re then. Never emit the block for examples or unsaved integrations.']:[],...r.managedPreview?I:[],...r.managedEnvironment?
|
|
125
|
+
T:[],...r.managedDatabaseRefresh?["After a database migration or schema change, run `vibe64-helper database refresh` onc\
|
|
105
126
|
e so Vibe64's Database view reflects it.","To inspect or tidy the main ERD, run `vibe64-helper database erd --json`. It \
|
|
106
|
-
returns
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
ub
|
|
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
|
-
directory.");if(o.scope==="learning"){if(i(o,["scope","instructions"],"Vibe64 learning context"),d.conversation?.nativeTools!==
|
|
148
|
-
!1)throw new TypeError("Learning instructions require the restricted native conversation binding.");let n=o.instructions;
|
|
127
|
+
returns table rectangles, pins, routed connection points, route metrics and instructions for `vibe64-helper database erd\
|
|
128
|
+
apply --json`, which takes a revision-checked batch of table moves on stdin and changes only diagram presentation, not \
|
|
129
|
+
schema, records or Overview configuration. Inspect the resulting paths before claiming improvement.","When project sourc\
|
|
130
|
+
e has data-overview.json, maintain its main actors and explicit supporting-table groups as the schema changes. Use `vibe\
|
|
131
|
+
64-helper database overview --json` for the current schema, grouping, coverage and exact format instructions. Preserve a\
|
|
132
|
+
uthored groupings, classify new tables, fix renamed/removed references, and check coverage afterward. When asked to crea\
|
|
133
|
+
te a Data overview, use the same command and relevant application source; no one-hop membership rule applies. Never inve\
|
|
134
|
+
nt foreign keys or cardinalities."]:[],...r.managedGit?["Use the managed `git` and `gh` commands on PATH. Do not bypass \
|
|
135
|
+
them with host binaries, a stripped PATH, or alternate credentials.","For GitHub-hosted attachments and inline images in\
|
|
136
|
+
issues (tickets), pull requests or comments, always use authenticated managed `gh api` with the original attachment URL\
|
|
137
|
+
. Save the response to a local file and inspect it before reporting what it contains. Do not use unauthenticated curl/wg\
|
|
138
|
+
et, User-Agent experiments, or extract credentials for a separate HTTP client. An unauthenticated 404 does not prove a p\
|
|
139
|
+
rivate attachment is missing.","After changing GitHub issues, comments, labels or pull requests, run `vibe64-helper gith\
|
|
140
|
+
ub refresh` once so Vibe64's Issues/PR view reflects it.","When linking an issue in this project's repository, run `vibe\
|
|
141
|
+
64-helper github issue-link <number>` and use its returned Vibe64 path exactly as the primary Markdown link destination,\
|
|
142
|
+
including the /app prefix. Root-relative or same-origin Vibe64 links navigate in-app without reloading. You may include\
|
|
143
|
+
the GitHub URL as a secondary link. Do not guess the project slug or host; issues in other repositories keep their GitH\
|
|
144
|
+
ub links.","Report authentication or transport failures directly; do not inspect credentials or invent another login pat\
|
|
145
|
+
h.","When a managed Git/GitHub command fails, tell the user which requested action failed, which earlier work is confirm\
|
|
146
|
+
ed complete, what remains undone or unconfirmed, and the next safe action. Retain the reported failure stage, execution \
|
|
147
|
+
budget and execution reference when provided; do not expose credentials or dump raw output unnecessarily.","A timeout or\
|
|
148
|
+
transport failure does not establish invalid authentication, exhausted AI quota, a GitHub outage or a suspension proble\
|
|
149
|
+
m. Separate recorded facts from hypotheses; say the cause is unknown when it is unproven. Recommend reconnection only wh\
|
|
150
|
+
en the reported error explicitly calls for it.","If the diagnostic says commandSubmitted=false, the requested Git/GitHub\
|
|
151
|
+
action was not attempted. After an execution timeout, lost response or unreadable response, its effects remain unconfir\
|
|
152
|
+
med: use a read-only check of the affected Git/GitHub state before repeating any write. Never claim that a comment was p\
|
|
153
|
+
osted or not posted, or that a push succeeded or failed, solely from those errors. If verification is unavailable, repor\
|
|
154
|
+
t the outcome as unknown and stop; do not repeat the write or claim it was safely rolled back."]:[]].join(`
|
|
155
|
+
`)}function N(e={}){let s=l(e,"Vibe64 driver input"),r=b(s);return r.scope==="session"?A(r):r.stableContext}async function j(e={},{
|
|
156
|
+
readRegistry:s=y,workdir:r=""}={}){let t=l(e,"Vibe64 host resolver request");if(o(t,["data","providerSessionId","parentS\
|
|
157
|
+
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 i=l(t.data,"Vibe64 host resolver da\
|
|
159
|
+
ta");o(i,["registryPath"],"Vibe64 host resolver data");let c=u(i.registryPath);if(!p.isAbsolute(c))throw new TypeError("\
|
|
160
|
+
Vibe64 host resolver data requires an absolute registryPath.");let h=JSON.parse(await s(c,"utf8"));if(!Array.isArray(h?.
|
|
161
|
+
sessions))throw new TypeError("The conversation ownership registry is invalid.");let g=h.sessions,v=u(t.providerSessionId);
|
|
162
|
+
if(t.parentSessionIds!==void 0&&(!Array.isArray(t.parentSessionIds)||t.parentSessionIds.length>32||t.parentSessionIds.some(
|
|
163
|
+
n=>typeof n!="string"||!n.trim())))throw new TypeError("Invalid native conversation ancestry.");let d=[v,...t.parentSessionIds||
|
|
164
|
+
[]].filter(Boolean).map(n=>g.find(w=>u(w?.upstreamSessionId)===n)).find(Boolean),a=d?.promptContext;if(!a)return null;if(r&&
|
|
165
|
+
d.workdir&&p.resolve(r)!==p.resolve(d.workdir))throw new Error("The managed conversation belongs to a different project \
|
|
166
|
+
directory.");if(a.scope==="learning"){if(o(a,["scope","instructions"],"Vibe64 learning context"),d.conversation?.nativeTools!==
|
|
167
|
+
!1)throw new TypeError("Learning instructions require the restricted native conversation binding.");let n=a.instructions;
|
|
149
168
|
if(typeof n!="string"||!n.trim()||Buffer.byteLength(n)>128*1024)throw new TypeError("Learning native context requires bo\
|
|
150
|
-
unded nonempty teaching instructions.");return{scope:"learning",instructions:n}}return
|
|
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};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
|
|
2
|
-
import c from"node:process";var r=2*1024*1024,u="VIBE64_WRAPPER";async function a(){let o=[],
|
|
3
|
-
if(
|
|
4
|
-
"utf8")||"{}");return
|
|
5
|
-
'`;return{hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:"allow",updatedInput:{command
|
|
6
|
-
function
|
|
7
|
-
"Vibe64 could not bind this shell command to its session."}}}var
|
|
8
|
-
"PreToolUse"&&
|
|
9
|
-
|
|
2
|
+
import c from"node:process";var r=2*1024*1024,u="VIBE64_WRAPPER";async function a(){let o=[],n=0;for await(let s of c.stdin){
|
|
3
|
+
if(n+=s.length,n>r)throw new Error("Agent shell hook input is too large.");o.push(s)}let t=JSON.parse(Buffer.concat(o).toString(
|
|
4
|
+
"utf8")||"{}");return t&&typeof t=="object"&&!Array.isArray(t)?t:{}}function p(o){let{command:n}=o,t=`'${n.replaceAll("'",
|
|
5
|
+
`'"'"'`)}'`;return{hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:"allow",updatedInput:{...o,command:`\
|
|
6
|
+
"$${u}" ${t}`}}}}function m(o=""){return{hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:"deny",permissionDecisionReason:o||
|
|
7
|
+
"Vibe64 could not bind this shell command to its session."}}}var e=await a(),i=e?.tool_input?.command;if(e.hook_event_name===
|
|
8
|
+
"PreToolUse"&&e.tool_name==="Bash"){let o=typeof i=="string"&&i?p(e.tool_input):m("Vibe64 rejected a shell command witho\
|
|
9
|
+
ut valid command text.");c.stdout.write(`${JSON.stringify(o)}
|
|
10
10
|
`)}
|