@vibgrate/cli 2026.819.1 → 2026.819.3
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/DOCS.md +3 -3
- package/dist/agent-AFMDB4GM.js +30 -0
- package/dist/{agent-3CKNTCRX.js.map → agent-AFMDB4GM.js.map} +1 -1
- package/dist/{approvals-DHTG3HI4.js → approvals-F2DJGPU7.js} +7 -7
- package/dist/{approvals-DHTG3HI4.js.map → approvals-F2DJGPU7.js.map} +1 -1
- package/dist/attach-XTX2Q3AD.js +10 -0
- package/dist/{attach-OCQ3I76L.js.map → attach-XTX2Q3AD.js.map} +1 -1
- package/dist/baseline-KTE2C3LW.js +9 -0
- package/dist/{baseline-QDC6OQ2X.js.map → baseline-KTE2C3LW.js.map} +1 -1
- package/dist/{chunk-D33M2ARL.js → chunk-3SOJZ3VV.js} +3 -3
- package/dist/{chunk-D33M2ARL.js.map → chunk-3SOJZ3VV.js.map} +1 -1
- package/dist/{chunk-JGBOYZAF.js → chunk-3XMTRK24.js} +99 -19
- package/dist/chunk-3XMTRK24.js.map +1 -0
- package/dist/{chunk-OV4KGXPD.js → chunk-57ZRSCHY.js} +3 -3
- package/dist/{chunk-OV4KGXPD.js.map → chunk-57ZRSCHY.js.map} +1 -1
- package/dist/{chunk-KFEM6FWP.js → chunk-5R4HYDTC.js} +4 -4
- package/dist/{chunk-KFEM6FWP.js.map → chunk-5R4HYDTC.js.map} +1 -1
- package/dist/{chunk-EI5AKDSC.js → chunk-5RMME7PT.js} +3 -3
- package/dist/{chunk-EI5AKDSC.js.map → chunk-5RMME7PT.js.map} +1 -1
- package/dist/{chunk-OQT3JBWW.js → chunk-5UG4UHKU.js} +205 -36
- package/dist/chunk-5UG4UHKU.js.map +1 -0
- package/dist/{chunk-NDNNOAS6.js → chunk-6H2QV5DR.js} +3 -3
- package/dist/{chunk-NDNNOAS6.js.map → chunk-6H2QV5DR.js.map} +1 -1
- package/dist/{chunk-LJSJX6U4.js → chunk-A3WWRW7U.js} +3 -3
- package/dist/{chunk-LJSJX6U4.js.map → chunk-A3WWRW7U.js.map} +1 -1
- package/dist/{chunk-O5ASXWKF.js → chunk-ARGYMFST.js} +3 -3
- package/dist/{chunk-O5ASXWKF.js.map → chunk-ARGYMFST.js.map} +1 -1
- package/dist/{chunk-FFY6NW7P.js → chunk-C5AOLTQS.js} +5 -5
- package/dist/{chunk-FFY6NW7P.js.map → chunk-C5AOLTQS.js.map} +1 -1
- package/dist/{chunk-F46Q3AEI.js → chunk-CEJIX3O7.js} +44 -15
- package/dist/chunk-CEJIX3O7.js.map +1 -0
- package/dist/{chunk-QMRSCJUN.js → chunk-DMI4BMUL.js} +3 -3
- package/dist/{chunk-QMRSCJUN.js.map → chunk-DMI4BMUL.js.map} +1 -1
- package/dist/{chunk-TS25WFAT.js → chunk-EXFA7QFC.js} +9 -9
- package/dist/{chunk-TS25WFAT.js.map → chunk-EXFA7QFC.js.map} +1 -1
- package/dist/{chunk-VYSDR2QE.js → chunk-HB3SONYP.js} +4 -4
- package/dist/{chunk-VYSDR2QE.js.map → chunk-HB3SONYP.js.map} +1 -1
- package/dist/{chunk-KKQX3F5F.js → chunk-HRYF4PWE.js} +7 -5
- package/dist/chunk-HRYF4PWE.js.map +1 -0
- package/dist/{chunk-EIESBKLW.js → chunk-HVJHFTIV.js} +7 -7
- package/dist/{chunk-EIESBKLW.js.map → chunk-HVJHFTIV.js.map} +1 -1
- package/dist/{chunk-JFE7XCAE.js → chunk-IASO2HCI.js} +3 -3
- package/dist/{chunk-JFE7XCAE.js.map → chunk-IASO2HCI.js.map} +1 -1
- package/dist/chunk-MQJY4EQV.js +6 -0
- package/dist/{chunk-DHU3OOEI.js.map → chunk-MQJY4EQV.js.map} +1 -1
- package/dist/{chunk-7AVYKZEM.js → chunk-NV7XNBX4.js} +4 -4
- package/dist/{chunk-7AVYKZEM.js.map → chunk-NV7XNBX4.js.map} +1 -1
- package/dist/{chunk-NZELMYT4.js → chunk-OLIMW4PQ.js} +8 -56
- package/dist/chunk-OLIMW4PQ.js.map +1 -0
- package/dist/{chunk-NWWLUFN5.js → chunk-PQISIPYP.js} +5 -5
- package/dist/{chunk-NWWLUFN5.js.map → chunk-PQISIPYP.js.map} +1 -1
- package/dist/{chunk-5XY4EFR7.js → chunk-QLNJ3VWO.js} +3 -3
- package/dist/{chunk-5XY4EFR7.js.map → chunk-QLNJ3VWO.js.map} +1 -1
- package/dist/{chunk-D44PGMH7.js → chunk-QOU2Q5L4.js} +12 -12
- package/dist/{chunk-D44PGMH7.js.map → chunk-QOU2Q5L4.js.map} +1 -1
- package/dist/{chunk-TS7STRMI.js → chunk-RTURQXQL.js} +4 -4
- package/dist/{chunk-TS7STRMI.js.map → chunk-RTURQXQL.js.map} +1 -1
- package/dist/{chunk-74UBGF4P.js → chunk-SHD5TCZ5.js} +3 -3
- package/dist/{chunk-74UBGF4P.js.map → chunk-SHD5TCZ5.js.map} +1 -1
- package/dist/{chunk-WJYJCDNY.js → chunk-SOAEPTSW.js} +13 -13
- package/dist/{chunk-WJYJCDNY.js.map → chunk-SOAEPTSW.js.map} +1 -1
- package/dist/{chunk-EMEMHNE3.js → chunk-TD4JAEMH.js} +6 -6
- package/dist/{chunk-EMEMHNE3.js.map → chunk-TD4JAEMH.js.map} +1 -1
- package/dist/{chunk-5O6O7DJH.js → chunk-UAPA5AHX.js} +3 -3
- package/dist/{chunk-5O6O7DJH.js.map → chunk-UAPA5AHX.js.map} +1 -1
- package/dist/{chunk-4VAA2XSM.js → chunk-UEXDSWKN.js} +6 -6
- package/dist/{chunk-4VAA2XSM.js.map → chunk-UEXDSWKN.js.map} +1 -1
- package/dist/{chunk-YIEP5GK5.js → chunk-UP2BR6TV.js} +15 -11
- package/dist/chunk-UP2BR6TV.js.map +1 -0
- package/dist/{chunk-6F52QR6F.js → chunk-VEQA2FSM.js} +4 -4
- package/dist/{chunk-6F52QR6F.js.map → chunk-VEQA2FSM.js.map} +1 -1
- package/dist/{chunk-E53WBVUQ.js → chunk-VHRSG6CF.js} +3 -3
- package/dist/{chunk-E53WBVUQ.js.map → chunk-VHRSG6CF.js.map} +1 -1
- package/dist/{chunk-I5LP55B6.js → chunk-W44THEXF.js} +3 -3
- package/dist/{chunk-I5LP55B6.js.map → chunk-W44THEXF.js.map} +1 -1
- package/dist/{chunk-FQVAQVJV.js → chunk-WI66PODG.js} +3 -3
- package/dist/{chunk-FQVAQVJV.js.map → chunk-WI66PODG.js.map} +1 -1
- package/dist/{chunk-CQDUBAQY.js → chunk-WNKGRXUA.js} +3 -3
- package/dist/{chunk-CQDUBAQY.js.map → chunk-WNKGRXUA.js.map} +1 -1
- package/dist/{chunk-FJG5AXKZ.js → chunk-WUFIXAEJ.js} +22 -6
- package/dist/chunk-WUFIXAEJ.js.map +1 -0
- package/dist/{chunk-QSLVOVNZ.js → chunk-XAS45W3G.js} +10 -10
- package/dist/{chunk-QSLVOVNZ.js.map → chunk-XAS45W3G.js.map} +1 -1
- package/dist/{chunk-BWPBB45M.js → chunk-XP6UUCZZ.js} +3 -3
- package/dist/{chunk-BWPBB45M.js.map → chunk-XP6UUCZZ.js.map} +1 -1
- package/dist/{chunk-BPF3YX2U.js → chunk-XQNKCA2J.js} +6 -3
- package/dist/chunk-XQNKCA2J.js.map +1 -0
- package/dist/{chunk-U7A7D2HP.js → chunk-XZDI2N7M.js} +7 -7
- package/dist/{chunk-U7A7D2HP.js.map → chunk-XZDI2N7M.js.map} +1 -1
- package/dist/{chunk-7N4Y3E47.js → chunk-YJYEPYB2.js} +13 -18
- package/dist/chunk-YJYEPYB2.js.map +1 -0
- package/dist/cli.js +104 -94
- package/dist/cli.js.map +1 -1
- package/dist/client-P5XSRFV4.js +8 -0
- package/dist/{client-UQIELEEZ.js.map → client-P5XSRFV4.js.map} +1 -1
- package/dist/daemon-VMQKIIYP.js +30 -0
- package/dist/{daemon-UNL65PTP.js.map → daemon-VMQKIIYP.js.map} +1 -1
- package/dist/embed-worker-main.js +5 -5
- package/dist/ensure-map-YIUJWMBK.js +40 -0
- package/dist/{ensure-map-4D2HJ6MA.js.map → ensure-map-YIUJWMBK.js.map} +1 -1
- package/dist/{federation-SZYVHYB2.js → federation-M4ZNXOPX.js} +5 -5
- package/dist/{federation-SZYVHYB2.js.map → federation-M4ZNXOPX.js.map} +1 -1
- package/dist/git-ref-LMT3EXYY.js +4 -0
- package/dist/{git-ref-RSRAN4OH.js.map → git-ref-LMT3EXYY.js.map} +1 -1
- package/dist/graph-backend-FDZUY4TR.js +16 -0
- package/dist/{graph-backend-36EIAAPQ.js.map → graph-backend-FDZUY4TR.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -23
- package/dist/{interactive-ZZMHSZ3W.js → interactive-CS4PGZPK.js} +40 -40
- package/dist/{interactive-ZZMHSZ3W.js.map → interactive-CS4PGZPK.js.map} +1 -1
- package/dist/{llm-host-XFYFOAAX.js → llm-host-QVTJJVER.js} +5 -5
- package/dist/{llm-host-XFYFOAAX.js.map → llm-host-QVTJJVER.js.map} +1 -1
- package/dist/load-4EY64JJO.js +11 -0
- package/dist/{load-6CYLMUT5.js.map → load-4EY64JJO.js.map} +1 -1
- package/dist/local-runtime-GA43KYS5.js +6 -0
- package/dist/{local-runtime-6SNWKSA7.js.map → local-runtime-GA43KYS5.js.map} +1 -1
- package/dist/model-manager-6H3TMZKK.js +10 -0
- package/dist/{model-manager-SXHZ5VD4.js.map → model-manager-6H3TMZKK.js.map} +1 -1
- package/dist/{model-orchestrator-LHYPJBFH.js → model-orchestrator-X3NE3Y2G.js} +6 -6
- package/dist/{model-orchestrator-LHYPJBFH.js.map → model-orchestrator-X3NE3Y2G.js.map} +1 -1
- package/dist/parse-worker.js +2 -2
- package/dist/{paths-62AKTFSR.js → paths-RVK6FKRN.js} +4 -4
- package/dist/{paths-62AKTFSR.js.map → paths-RVK6FKRN.js.map} +1 -1
- package/dist/publish-27S66NOW.js +9 -0
- package/dist/{publish-7YHRTBRA.js.map → publish-27S66NOW.js.map} +1 -1
- package/dist/resolve-gguf-WVKVDN45.js +9 -0
- package/dist/{resolve-gguf-SDIYGGI6.js.map → resolve-gguf-WVKVDN45.js.map} +1 -1
- package/dist/{run-outcome-ADEAKXHH.js → run-outcome-T7VDBNWB.js} +7 -7
- package/dist/{run-outcome-ADEAKXHH.js.map → run-outcome-T7VDBNWB.js.map} +1 -1
- package/dist/runtime-session-WZLVADPQ.js +26 -0
- package/dist/{runtime-session-VNSXQAEO.js.map → runtime-session-WZLVADPQ.js.map} +1 -1
- package/dist/session-VPP2VGUN.js +17 -0
- package/dist/{session-3A6LKJHD.js.map → session-VPP2VGUN.js.map} +1 -1
- package/dist/{slot-subscription-25GOARW5.js → slot-subscription-C2ZUJED6.js} +5 -5
- package/dist/{slot-subscription-25GOARW5.js.map → slot-subscription-C2ZUJED6.js.map} +1 -1
- package/dist/{stream-json-S2TP2VPU.js → stream-json-XXCFN4MF.js} +17 -17
- package/dist/{stream-json-S2TP2VPU.js.map → stream-json-XXCFN4MF.js.map} +1 -1
- package/dist/version-2UBJ7N2I.js +4 -0
- package/dist/{version-SZI6I3A2.js.map → version-2UBJ7N2I.js.map} +1 -1
- package/dist/{vg-mcp-bridge-IIBEAOEB.js → vg-mcp-bridge-H6GXYNKV.js} +14 -14
- package/dist/{vg-mcp-bridge-IIBEAOEB.js.map → vg-mcp-bridge-H6GXYNKV.js.map} +1 -1
- package/dist/{vgd-KGXIKGOS.js → vgd-SBZO4ONQ.js} +13 -13
- package/dist/vgd-SBZO4ONQ.js.map +1 -0
- package/package.json +1 -1
- package/dist/agent-3CKNTCRX.js +0 -30
- package/dist/attach-OCQ3I76L.js +0 -10
- package/dist/baseline-QDC6OQ2X.js +0 -9
- package/dist/chunk-7N4Y3E47.js.map +0 -1
- package/dist/chunk-BPF3YX2U.js.map +0 -1
- package/dist/chunk-DHU3OOEI.js +0 -6
- package/dist/chunk-F46Q3AEI.js.map +0 -1
- package/dist/chunk-FJG5AXKZ.js.map +0 -1
- package/dist/chunk-JGBOYZAF.js.map +0 -1
- package/dist/chunk-KKQX3F5F.js.map +0 -1
- package/dist/chunk-NZELMYT4.js.map +0 -1
- package/dist/chunk-OQT3JBWW.js.map +0 -1
- package/dist/chunk-YIEP5GK5.js.map +0 -1
- package/dist/client-UQIELEEZ.js +0 -8
- package/dist/daemon-UNL65PTP.js +0 -30
- package/dist/ensure-map-4D2HJ6MA.js +0 -40
- package/dist/git-ref-RSRAN4OH.js +0 -4
- package/dist/graph-backend-36EIAAPQ.js +0 -16
- package/dist/load-6CYLMUT5.js +0 -11
- package/dist/local-runtime-6SNWKSA7.js +0 -6
- package/dist/model-manager-SXHZ5VD4.js +0 -10
- package/dist/publish-7YHRTBRA.js +0 -9
- package/dist/resolve-gguf-SDIYGGI6.js +0 -9
- package/dist/runtime-session-VNSXQAEO.js +0 -26
- package/dist/session-3A6LKJHD.js +0 -17
- package/dist/version-SZI6I3A2.js +0 -4
- package/dist/vgd-KGXIKGOS.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { fetchCatalog, resolveProviders } from './chunk-
|
|
3
|
-
import { telemetryOptOut, StatsSharer, statsEndpoint, isCI } from './chunk-
|
|
4
|
-
import { loadAdvancedScanHook, baselineCommand } from './chunk-
|
|
5
|
-
import { sha256Hex, generateKeypair, dssePae, DSSE_PAYLOAD_TYPE, keyId, registerBuild, LiveStatus, ProgressBar, printLogo, runBuild } from './chunk-
|
|
6
|
-
export { runBuild } from './chunk-
|
|
7
|
-
import { readOrchestratorState, writeOrchestratorState, parseMode, setDefaultMode, recommendMode, activePin, resolveMode, providerForBackend, QUALIFIED_PACKS, pinPack, unpinPack, buildOrchestratorStatus } from './chunk-
|
|
8
|
-
import { defaultProcessEndpoint, startProcessHostServer, resolveInferenceIsolation } from './chunk-
|
|
9
|
-
import { runCodeSession } from './chunk-
|
|
10
|
-
import { CONTEXT_POLICY_VERSION, computeFcsReport, renderFcsReportMarkdown, createTrajectoryCollector, runAgent } from './chunk-
|
|
2
|
+
import { fetchCatalog, resolveProviders } from './chunk-XZDI2N7M.js';
|
|
3
|
+
import { telemetryOptOut, StatsSharer, statsEndpoint, isCI } from './chunk-5RMME7PT.js';
|
|
4
|
+
import { loadAdvancedScanHook, baselineCommand } from './chunk-QLNJ3VWO.js';
|
|
5
|
+
import { sha256Hex, generateKeypair, dssePae, DSSE_PAYLOAD_TYPE, keyId, registerBuild, LiveStatus, ProgressBar, printLogo, runBuild } from './chunk-UP2BR6TV.js';
|
|
6
|
+
export { runBuild } from './chunk-UP2BR6TV.js';
|
|
7
|
+
import { readOrchestratorState, writeOrchestratorState, parseMode, setDefaultMode, recommendMode, activePin, resolveMode, providerForBackend, QUALIFIED_PACKS, pinPack, unpinPack, buildOrchestratorStatus } from './chunk-OLIMW4PQ.js';
|
|
8
|
+
import { defaultProcessEndpoint, startProcessHostServer, resolveInferenceIsolation } from './chunk-IASO2HCI.js';
|
|
9
|
+
import { runCodeSession } from './chunk-HVJHFTIV.js';
|
|
10
|
+
import { CONTEXT_POLICY_VERSION, computeFcsReport, renderFcsReportMarkdown, createTrajectoryCollector, runAgent } from './chunk-SOAEPTSW.js';
|
|
11
11
|
import './chunk-543E6WDJ.js';
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import { parseReasoningEffort, summarizeDiffs, ScriptedProvider } from './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import { buildModelInstallPlan } from './chunk-
|
|
12
|
+
import './chunk-3SOJZ3VV.js';
|
|
13
|
+
import './chunk-HB3SONYP.js';
|
|
14
|
+
import { parseReasoningEffort, summarizeDiffs, ScriptedProvider } from './chunk-SHD5TCZ5.js';
|
|
15
|
+
import './chunk-NV7XNBX4.js';
|
|
16
|
+
import { buildModelInstallPlan } from './chunk-W44THEXF.js';
|
|
17
17
|
import { ensurePackage, ensureUnavailableMessage } from './chunk-3HNPVXUK.js';
|
|
18
|
-
import { vgdVersionSkew, restartVgdIfRunning, stopVgd, registerDaemon, rootOf, requireGraph } from './chunk-
|
|
18
|
+
import { vgdVersionSkew, restartVgdIfRunning, stopVgd, registerDaemon, rootOf, requireGraph } from './chunk-3XMTRK24.js';
|
|
19
19
|
import { readGlobal, applyGlobalOptions } from './chunk-YENM3HT7.js';
|
|
20
20
|
import { ActivityLog } from './chunk-H5Q4JUY4.js';
|
|
21
21
|
import { disableColor, info, c, json, out } from './chunk-CT5BS56U.js';
|
|
22
|
-
import { init_resolve_ollama, gatherSystemMemory, resolveOllamaBinary, hasOllamaBinary, resolve_ollama_exports } from './chunk-
|
|
23
|
-
import { fmt, estimateModelBytes } from './chunk-
|
|
24
|
-
import { isManifest, isDependencyFile, manifestHash, loadScanCache, writeScanCache, manifestKind, findPackageLine, endOfLine, findRuntimeLine } from './chunk-
|
|
22
|
+
import { init_resolve_ollama, gatherSystemMemory, resolveOllamaBinary, hasOllamaBinary, resolve_ollama_exports } from './chunk-WUFIXAEJ.js';
|
|
23
|
+
import { fmt, estimateModelBytes } from './chunk-YJYEPYB2.js';
|
|
24
|
+
import { isManifest, isDependencyFile, manifestHash, loadScanCache, writeScanCache, manifestKind, findPackageLine, endOfLine, findRuntimeLine } from './chunk-CEJIX3O7.js';
|
|
25
25
|
import { clearHostSessionPool, acquireHostSession, generateOnSession, listHostSessions, hostSessionPoolSize } from './chunk-3LOWJSAF.js';
|
|
26
26
|
import { buildIdentifierTrieFromGraph } from './chunk-5HYCB55P.js';
|
|
27
27
|
import './chunk-IS7VTH2Q.js';
|
|
28
28
|
import './chunk-IZDH67DX.js';
|
|
29
|
-
import { DaemonSemanticSession, serveStdio, exportGraph, GraphSource, createServer, formatForExt, RefreshScheduler } from './chunk-
|
|
30
|
-
import { refreshIfStale } from './chunk-
|
|
31
|
-
import { driftCount, ASSISTANTS, detectAssistants, isAssistantInstalled, detectServeLaunch, installAssistant, writeNavigationConfig, uninstallAssistant, buildGraph, writeSnapshot, probeFreshness, assistantById, SMALL_REPO_FILES } from './chunk-
|
|
32
|
-
import { resolveDsn, createWorkspaceDsn, writeStoredCredentials, credentialsPath, findGitRoot, ensureGitignored, gitignoreEntryForCredentials, clearStoredCredentials, parseDsn as parseDsn$1, uploadScanArtifact, dsnCommand, pushCommand, countTokens, shortestPath, pathDisconnect, testsToRun, detectRunner, coveringTests, FREE_PACK, readScanArtifact, publishPrivateLibrary, assessDocQuality, symbolsFromApi, fetchHostedDocsCached, selectForBudget, hostedBase, readStoredCredentials, projectCredentialsPath, homeCredentialsPath } from './chunk-
|
|
29
|
+
import { DaemonSemanticSession, serveStdio, exportGraph, GraphSource, createServer, formatForExt, RefreshScheduler } from './chunk-QOU2Q5L4.js';
|
|
30
|
+
import { refreshIfStale } from './chunk-TD4JAEMH.js';
|
|
31
|
+
import { driftCount, ASSISTANTS, detectAssistants, isAssistantInstalled, detectServeLaunch, installAssistant, writeNavigationConfig, uninstallAssistant, buildGraph, writeSnapshot, probeFreshness, assistantById, SMALL_REPO_FILES } from './chunk-EXFA7QFC.js';
|
|
32
|
+
import { resolveDsn, createWorkspaceDsn, writeStoredCredentials, credentialsPath, findGitRoot, ensureGitignored, gitignoreEntryForCredentials, clearStoredCredentials, parseDsn as parseDsn$1, uploadScanArtifact, dsnCommand, pushCommand, countTokens, shortestPath, pathDisconnect, testsToRun, detectRunner, coveringTests, FREE_PACK, readScanArtifact, publishPrivateLibrary, assessDocQuality, symbolsFromApi, fetchHostedDocsCached, selectForBudget, hostedBase, readStoredCredentials, projectCredentialsPath, homeCredentialsPath } from './chunk-XAS45W3G.js';
|
|
33
33
|
import { resolveIngestHost, dashHostForIngestHost, availableRegionIds, ingestHostForRegionId } from './chunk-HTLDXEHW.js';
|
|
34
|
-
import { writeDefaultConfig, parseDsn, detectVcs, computeRepoFingerprint, resolveRepositoryName, fetchScanPreflight, runCoreScan, loadConfig, prepareCompressedUpload, computeDriftScore, titleBox, projectTypeToVulnEcosystem, driftBar, gitHistoryAvailable, buildVersionTimelines, findPackageAnyEcosystem, normalizeConstraint, findVersionCrossings, versionSatisfies, refineArchitectureWithAstRoles, refineArchitectureWithGraph, PROJECT_TYPE_TO_OSV_ECOSYSTEM, fetchRiskySymbols, perDependencyDrift, boundaryProfileRules } from './chunk-
|
|
34
|
+
import { writeDefaultConfig, parseDsn, detectVcs, computeRepoFingerprint, resolveRepositoryName, fetchScanPreflight, runCoreScan, loadConfig, prepareCompressedUpload, computeDriftScore, titleBox, projectTypeToVulnEcosystem, driftBar, gitHistoryAvailable, buildVersionTimelines, findPackageAnyEcosystem, normalizeConstraint, findVersionCrossings, versionSatisfies, refineArchitectureWithAstRoles, refineArchitectureWithGraph, PROJECT_TYPE_TO_OSV_ECOSYSTEM, fetchRiskySymbols, perDependencyDrift, boundaryProfileRules } from './chunk-5UG4UHKU.js';
|
|
35
35
|
import './chunk-VIWZ4QT7.js';
|
|
36
|
-
import { catalogPath, libDir, loadCatalog, driftFor, addLibrary, resolveLib, libId, resolveVersion, readDoc, localPackageDocs, localApiSurface } from './chunk-
|
|
37
|
-
import { recordCliCall, CLI_TOOL_ALIASES, savingsLedgerPath, clearSavings, readSavings, readUsage, readModelSavings, CAPSULE_RANKING_VERSION, SAVINGS_TOOLS, sanitizeClient } from './chunk-
|
|
38
|
-
import { discoverModels } from './chunk-
|
|
39
|
-
import { freeBytesOnVolume, weightStoreDir, listCachedWeights, ensureWeightCached, catalogIntegrityReport } from './chunk-
|
|
36
|
+
import { catalogPath, libDir, loadCatalog, driftFor, addLibrary, resolveLib, libId, resolveVersion, readDoc, localPackageDocs, localApiSurface } from './chunk-HRYF4PWE.js';
|
|
37
|
+
import { recordCliCall, CLI_TOOL_ALIASES, savingsLedgerPath, clearSavings, readSavings, readUsage, readModelSavings, CAPSULE_RANKING_VERSION, SAVINGS_TOOLS, sanitizeClient } from './chunk-UAPA5AHX.js';
|
|
38
|
+
import { discoverModels } from './chunk-WNKGRXUA.js';
|
|
39
|
+
import { freeBytesOnVolume, weightStoreDir, listCachedWeights, ensureWeightCached, catalogIntegrityReport } from './chunk-57ZRSCHY.js';
|
|
40
40
|
import { CliError, ExitCode, usageError, engineUnavailable } from './chunk-MS6V5XKB.js';
|
|
41
|
-
import { attachVgd } from './chunk-
|
|
41
|
+
import { attachVgd } from './chunk-UEXDSWKN.js';
|
|
42
42
|
import { pathExists as pathExists$1, parseExcludePatterns } from './chunk-PVNALGTG.js';
|
|
43
43
|
import { ensureDir, pathExists, readJsonFile, writeTextFile, writeJsonFile } from './chunk-CRAMOEBE.js';
|
|
44
44
|
import './chunk-5IQBIXHS.js';
|
|
45
45
|
import { init_cli_invocation, resolveCliInvocation, NPX_INVOCATION } from './chunk-EZ7UC5Y5.js';
|
|
46
|
-
import { publishGraphToVgd } from './chunk-
|
|
46
|
+
import { publishGraphToVgd } from './chunk-A3WWRW7U.js';
|
|
47
47
|
import { isRelevantChange } from './chunk-DBX3DL27.js';
|
|
48
48
|
import { inventory, enrichOnline, ECOSYSTEMS } from './chunk-6BEBJCK4.js';
|
|
49
49
|
import { resolveOne } from './chunk-J7LKEB2R.js';
|
|
50
|
-
import { queryGraphSemantic, queryGraph, indexFor, impactOf } from './chunk-
|
|
51
|
-
import { loadGraph, loadGraphPreferIndex, SCHEMA_VERSION } from './chunk-
|
|
52
|
-
import './chunk-
|
|
53
|
-
import './chunk-
|
|
54
|
-
import { discover, isSkippedDirName } from './chunk-
|
|
55
|
-
import { resolvedGrammarFiles, TOOLCHAIN_GRAMMARS, resolveToolchainGrammar, grammarSetVersion, fileRolesFromParseCache } from './chunk-
|
|
50
|
+
import { queryGraphSemantic, queryGraph, indexFor, impactOf } from './chunk-VEQA2FSM.js';
|
|
51
|
+
import { loadGraph, loadGraphPreferIndex, SCHEMA_VERSION } from './chunk-ARGYMFST.js';
|
|
52
|
+
import './chunk-VHRSG6CF.js';
|
|
53
|
+
import './chunk-6H2QV5DR.js';
|
|
54
|
+
import { discover, isSkippedDirName } from './chunk-RTURQXQL.js';
|
|
55
|
+
import { resolvedGrammarFiles, TOOLCHAIN_GRAMMARS, resolveToolchainGrammar, grammarSetVersion, fileRolesFromParseCache } from './chunk-WI66PODG.js';
|
|
56
56
|
import './chunk-T7RSQ5WD.js';
|
|
57
57
|
import './chunk-6WRG7VDO.js';
|
|
58
|
-
import { embeddingsCached, resolveEmbedModel, loadEmbedder, getNodeEmbeddings, unavailableMessage, countPending, modelCacheInfo, embeddingsPath, clearModelCache, withTimeout } from './chunk-
|
|
59
|
-
import { resetRelevanceProviderCache, loadRelevanceProvider, relevanceModuleDir, resolveGraphPath, analyzeQuestion, loadTopicTags, renderReport, loadGraphFileWithSnapshot, writeArtifacts, vibgrateDir, mapFileExists, ensureVibgrateGitignore } from './chunk-
|
|
58
|
+
import { embeddingsCached, resolveEmbedModel, loadEmbedder, getNodeEmbeddings, unavailableMessage, countPending, modelCacheInfo, embeddingsPath, clearModelCache, withTimeout } from './chunk-DMI4BMUL.js';
|
|
59
|
+
import { resetRelevanceProviderCache, loadRelevanceProvider, relevanceModuleDir, resolveGraphPath, analyzeQuestion, loadTopicTags, renderReport, loadGraphFileWithSnapshot, writeArtifacts, vibgrateDir, mapFileExists, ensureVibgrateGitignore } from './chunk-C5AOLTQS.js';
|
|
60
60
|
import { cacheDir } from './chunk-MVPRPSXU.js';
|
|
61
61
|
import { serializeGraph, stableStringify, parseGraph } from './chunk-O3LABX6I.js';
|
|
62
|
-
import { VERSION } from './chunk-
|
|
63
|
-
import './chunk-
|
|
62
|
+
import { VERSION } from './chunk-MQJY4EQV.js';
|
|
63
|
+
import './chunk-XP6UUCZZ.js';
|
|
64
64
|
import { canonicalize, hashString } from './chunk-JFGYT6BI.js';
|
|
65
|
-
import './chunk-
|
|
65
|
+
import './chunk-XQNKCA2J.js';
|
|
66
66
|
import { __toCommonJS } from './chunk-Z6ZWNWWR.js';
|
|
67
67
|
import * as fs13 from 'fs';
|
|
68
68
|
import fs13__default, { realpathSync } from 'fs';
|
|
@@ -362,7 +362,10 @@ function defaultRunProbe(timeoutMs) {
|
|
|
362
362
|
stdio: ["ignore", "pipe", "ignore"],
|
|
363
363
|
// The probe must never inherit a debugger port or loader flags that would
|
|
364
364
|
// change what it proves about the addon.
|
|
365
|
-
env: { ...process.env, NODE_OPTIONS: "" }
|
|
365
|
+
env: { ...process.env, NODE_OPTIONS: "" },
|
|
366
|
+
// Console-less hosts (vgd, editor-spawned servers) must not pop a
|
|
367
|
+
// visible console window for the probe on Windows.
|
|
368
|
+
windowsHide: true
|
|
366
369
|
});
|
|
367
370
|
let stdout = "";
|
|
368
371
|
let settled = false;
|
|
@@ -3059,8 +3062,8 @@ var VibgrateLanguageServer = class {
|
|
|
3059
3062
|
if (this.daemonOwnsFreshness || this.slotSubscription || this.shuttingDown) return;
|
|
3060
3063
|
try {
|
|
3061
3064
|
const [{ publishGraphToVgd: publishGraphToVgd2 }, { subscribeToSlots }] = await Promise.all([
|
|
3062
|
-
import('./publish-
|
|
3063
|
-
import('./slot-subscription-
|
|
3065
|
+
import('./publish-27S66NOW.js'),
|
|
3066
|
+
import('./slot-subscription-C2ZUJED6.js')
|
|
3064
3067
|
]);
|
|
3065
3068
|
const published = await publishGraphToVgd2(this.opts.root);
|
|
3066
3069
|
if (published.status !== "published" && published.status !== "current") return;
|
|
@@ -6628,10 +6631,10 @@ function applyRecommendedDefaultMode(opts) {
|
|
|
6628
6631
|
}
|
|
6629
6632
|
init_resolve_ollama();
|
|
6630
6633
|
function registerModels(program) {
|
|
6631
|
-
const cmd = program.command("models").description("Code Modes (Spark/Flow/Forge) + local model fleet").option("--raw", "list discovered local models only (skip Code Modes status)").action(function(opts) {
|
|
6634
|
+
const cmd = program.command("models").description("Code Modes (Spark/Flow/Forge) + local model fleet").option("--raw", "list discovered local models only (skip Code Modes status)").action(async function(opts) {
|
|
6632
6635
|
const global = readGlobal(this);
|
|
6633
6636
|
const models = discoverModels();
|
|
6634
|
-
const sys = gatherSystemMemory();
|
|
6637
|
+
const sys = await gatherSystemMemory();
|
|
6635
6638
|
const report = buildModelsStatusReport(models, sys);
|
|
6636
6639
|
if (opts.raw) {
|
|
6637
6640
|
if (global.json) {
|
|
@@ -6655,10 +6658,10 @@ function registerModels(program) {
|
|
|
6655
6658
|
info(c.dim(" set a mode: `vg models mode flow` \xB7 install pack: `vg models install` \xB7 pin: `vg models pin flow@\u2026`"));
|
|
6656
6659
|
});
|
|
6657
6660
|
applyGlobalOptions(cmd);
|
|
6658
|
-
const status = cmd.command("status").description("Code Modes status: mode, pack, underlying model, fit, memory breakdown").action(function() {
|
|
6661
|
+
const status = cmd.command("status").description("Code Modes status: mode, pack, underlying model, fit, memory breakdown").action(async function() {
|
|
6659
6662
|
const global = readGlobal(this);
|
|
6660
6663
|
const models = discoverModels();
|
|
6661
|
-
const sys = gatherSystemMemory();
|
|
6664
|
+
const sys = await gatherSystemMemory();
|
|
6662
6665
|
const orch = buildFullStatus(rootOf(global), models, sys);
|
|
6663
6666
|
const backends = probeInferenceBackends({ hasBinary });
|
|
6664
6667
|
if (global.json) {
|
|
@@ -6672,7 +6675,7 @@ function registerModels(program) {
|
|
|
6672
6675
|
const modeCmd = cmd.command("mode").description("show or set the default Code Mode (spark | flow | forge)").argument("[mode]", "spark, flow, or forge (omit to show current)").option("--auto", "clear the fixed default and auto-fit on next resolve").option(
|
|
6673
6676
|
"--apply-recommend",
|
|
6674
6677
|
"pin the hardware-recommended mode when no default is set (from free RAM/VRAM + repo size)"
|
|
6675
|
-
).action(function(modeArg, opts) {
|
|
6678
|
+
).action(async function(modeArg, opts) {
|
|
6676
6679
|
const global = readGlobal(this);
|
|
6677
6680
|
if (opts.auto) {
|
|
6678
6681
|
const state2 = readOrchestratorState();
|
|
@@ -6684,7 +6687,7 @@ function registerModels(program) {
|
|
|
6684
6687
|
}
|
|
6685
6688
|
if (opts.applyRecommend) {
|
|
6686
6689
|
const state2 = readOrchestratorState();
|
|
6687
|
-
const sys2 = gatherSystemMemory();
|
|
6690
|
+
const sys2 = await gatherSystemMemory();
|
|
6688
6691
|
const result = applyRecommendedDefaultMode({
|
|
6689
6692
|
system: sys2,
|
|
6690
6693
|
repo: repoSignals(rootOf(global)),
|
|
@@ -6709,7 +6712,7 @@ function registerModels(program) {
|
|
|
6709
6712
|
return;
|
|
6710
6713
|
}
|
|
6711
6714
|
const state = readOrchestratorState();
|
|
6712
|
-
const sys = gatherSystemMemory();
|
|
6715
|
+
const sys = await gatherSystemMemory();
|
|
6713
6716
|
const recommended = recommendMode(sys, repoSignals(rootOf(global)));
|
|
6714
6717
|
const current = state.defaultMode ?? recommended;
|
|
6715
6718
|
if (global.json) {
|
|
@@ -6726,10 +6729,10 @@ function registerModels(program) {
|
|
|
6726
6729
|
);
|
|
6727
6730
|
});
|
|
6728
6731
|
applyGlobalOptions(modeCmd);
|
|
6729
|
-
const resolve23 = cmd.command("resolve").description("resolve a Code Mode to pack + underlying model + fit (no download)").argument("[mode]", "spark | flow | forge (default: auto-fit or configured default)").action(function(modeArg) {
|
|
6732
|
+
const resolve23 = cmd.command("resolve").description("resolve a Code Mode to pack + underlying model + fit (no download)").argument("[mode]", "spark | flow | forge (default: auto-fit or configured default)").action(async function(modeArg) {
|
|
6730
6733
|
const global = readGlobal(this);
|
|
6731
6734
|
const root3 = rootOf(global);
|
|
6732
|
-
const sys = gatherSystemMemory();
|
|
6735
|
+
const sys = await gatherSystemMemory();
|
|
6733
6736
|
const state = readOrchestratorState();
|
|
6734
6737
|
const mode = parseMode(modeArg) ?? state.defaultMode;
|
|
6735
6738
|
const pin2 = mode ? activePin(mode, state) : null;
|
|
@@ -6763,7 +6766,7 @@ function registerModels(program) {
|
|
|
6763
6766
|
const global = readGlobal(this);
|
|
6764
6767
|
const root3 = rootOf(global);
|
|
6765
6768
|
const models = discoverModels();
|
|
6766
|
-
const sys = gatherSystemMemory();
|
|
6769
|
+
const sys = await gatherSystemMemory();
|
|
6767
6770
|
const state = readOrchestratorState();
|
|
6768
6771
|
const mode = parseMode(modeArg) ?? state.defaultMode;
|
|
6769
6772
|
const pin2 = mode ? activePin(mode, state) : null;
|
|
@@ -7606,9 +7609,9 @@ function registerCode(program) {
|
|
|
7606
7609
|
const customSelection = !!(opts.provider || opts.model || opts.modelPath || config.provider || config.model);
|
|
7607
7610
|
if (!customSelection && (modeFlag || !provider && !model)) {
|
|
7608
7611
|
try {
|
|
7609
|
-
const { parseMode: parseMode2, resolveMode: resolveMode2, readOrchestratorState: readOrchestratorState2, activePin: activePin2 } = await import('./model-orchestrator-
|
|
7610
|
-
const { gatherSystemMemory: gatherSystemMemory2 } = await import('./local-runtime-
|
|
7611
|
-
const { loadGraph: loadGraph2 } = await import('./load-
|
|
7612
|
+
const { parseMode: parseMode2, resolveMode: resolveMode2, readOrchestratorState: readOrchestratorState2, activePin: activePin2 } = await import('./model-orchestrator-X3NE3Y2G.js');
|
|
7613
|
+
const { gatherSystemMemory: gatherSystemMemory2 } = await import('./local-runtime-GA43KYS5.js');
|
|
7614
|
+
const { loadGraph: loadGraph2 } = await import('./load-4EY64JJO.js');
|
|
7612
7615
|
const state = readOrchestratorState2();
|
|
7613
7616
|
const mode = parseMode2(modeFlag) ?? state.defaultMode ?? void 0;
|
|
7614
7617
|
const pin = mode ? activePin2(mode, state) : null;
|
|
@@ -7626,7 +7629,7 @@ function registerCode(program) {
|
|
|
7626
7629
|
const resolved = resolveMode2({
|
|
7627
7630
|
mode,
|
|
7628
7631
|
autoFit: !mode,
|
|
7629
|
-
system: gatherSystemMemory2(),
|
|
7632
|
+
system: await gatherSystemMemory2(),
|
|
7630
7633
|
repo,
|
|
7631
7634
|
pin,
|
|
7632
7635
|
defaultMode: state.defaultMode
|
|
@@ -7637,7 +7640,7 @@ function registerCode(program) {
|
|
|
7637
7640
|
ExitCode.ERROR
|
|
7638
7641
|
);
|
|
7639
7642
|
}
|
|
7640
|
-
const { resolveGgufPath } = await import('./resolve-gguf-
|
|
7643
|
+
const { resolveGgufPath } = await import('./resolve-gguf-WVKVDN45.js');
|
|
7641
7644
|
const primaryRef = resolved.pack.primary.backend === "llama.cpp" ? resolved.pack.primary.weightsRef : resolved.underlying.weightsRef;
|
|
7642
7645
|
const gguf = resolveGgufPath({
|
|
7643
7646
|
modelRef: primaryRef,
|
|
@@ -7693,7 +7696,7 @@ function registerCode(program) {
|
|
|
7693
7696
|
if (!(process.stdin.isTTY && process.stdout.isTTY)) {
|
|
7694
7697
|
throw usageError('say what to change, e.g. `vg code "add a --timeout flag to the scan command"` (guided mode needs an interactive terminal)');
|
|
7695
7698
|
}
|
|
7696
|
-
const { runInteractive } = await import('./interactive-
|
|
7699
|
+
const { runInteractive } = await import('./interactive-CS4PGZPK.js');
|
|
7697
7700
|
await runInteractive(
|
|
7698
7701
|
rootOf(global),
|
|
7699
7702
|
global,
|
|
@@ -7723,7 +7726,7 @@ function registerCode(program) {
|
|
|
7723
7726
|
}
|
|
7724
7727
|
if (!instruction && !stdinFirstTurn) throw usageError('say what to change, e.g. `vg code "add a --timeout flag to the scan command"`');
|
|
7725
7728
|
{
|
|
7726
|
-
const { ensureCodeMap } = await import('./ensure-map-
|
|
7729
|
+
const { ensureCodeMap } = await import('./ensure-map-YIUJWMBK.js');
|
|
7727
7730
|
const mapRoot = rootOf(global);
|
|
7728
7731
|
try {
|
|
7729
7732
|
await ensureCodeMap(mapRoot, global, {
|
|
@@ -7779,7 +7782,7 @@ function registerCode(program) {
|
|
|
7779
7782
|
{}
|
|
7780
7783
|
);
|
|
7781
7784
|
if (!opts.mock && route.providers[0]) {
|
|
7782
|
-
const { ensureManagerRuntime } = await import('./model-manager-
|
|
7785
|
+
const { ensureManagerRuntime } = await import('./model-manager-6H3TMZKK.js');
|
|
7783
7786
|
const ensure = await ensureManagerRuntime({
|
|
7784
7787
|
providerId: route.providers[0].id,
|
|
7785
7788
|
model: route.providers[0].model,
|
|
@@ -7808,20 +7811,20 @@ function registerCode(program) {
|
|
|
7808
7811
|
process.stdout.write(JSON.stringify(line) + "\n");
|
|
7809
7812
|
};
|
|
7810
7813
|
try {
|
|
7811
|
-
const { RunOutcomeRecorder, newOneShotRunId, turnRunId } = await import('./run-outcome-
|
|
7814
|
+
const { RunOutcomeRecorder, newOneShotRunId, turnRunId } = await import('./run-outcome-T7VDBNWB.js');
|
|
7812
7815
|
const primarySlug = route.providers[0]?.model.includes("/") ? route.providers[0].model.split("/")[0] : route.providers[0]?.id;
|
|
7813
|
-
const { runCodeStreamJson, parseHostMessage } = await import('./stream-json-
|
|
7814
|
-
const { nodeCodeFs } = await import('./session-
|
|
7816
|
+
const { runCodeStreamJson, parseHostMessage } = await import('./stream-json-XXCFN4MF.js');
|
|
7817
|
+
const { nodeCodeFs } = await import('./session-VPP2VGUN.js');
|
|
7815
7818
|
const readline6 = await import('readline');
|
|
7816
7819
|
const child = await import('child_process');
|
|
7817
|
-
const { loadOrDiscoverFederation } = await import('./federation-
|
|
7820
|
+
const { loadOrDiscoverFederation } = await import('./federation-M4ZNXOPX.js');
|
|
7818
7821
|
const { resolveExecutionEnv } = await import('./execution-env-4MS5AYAN.js');
|
|
7819
7822
|
const { resolveModelExecutionProfile, mergeModelExecutionProfile } = await import('./model-execution-profile-ELWF3Z6H.js');
|
|
7820
|
-
const { startCodeRuntimeSession } = await import('./runtime-session-
|
|
7821
|
-
const { resolveGraphBackend } = await import('./graph-backend-
|
|
7822
|
-
const { detectGitRef } = await import('./git-ref-
|
|
7823
|
-
const { repositoryIdFromRoot } = await import('./paths-
|
|
7824
|
-
const { vgdRequest } = await import('./vgd-
|
|
7823
|
+
const { startCodeRuntimeSession } = await import('./runtime-session-WZLVADPQ.js');
|
|
7824
|
+
const { resolveGraphBackend } = await import('./graph-backend-FDZUY4TR.js');
|
|
7825
|
+
const { detectGitRef } = await import('./git-ref-LMT3EXYY.js');
|
|
7826
|
+
const { repositoryIdFromRoot } = await import('./paths-RVK6FKRN.js');
|
|
7827
|
+
const { vgdRequest } = await import('./vgd-SBZO4ONQ.js');
|
|
7825
7828
|
const federation = loadOrDiscoverFederation(root3);
|
|
7826
7829
|
const modelProfile = mergeModelExecutionProfile(
|
|
7827
7830
|
resolveModelExecutionProfile({
|
|
@@ -7879,7 +7882,7 @@ ${res.stderr}` : ""),
|
|
|
7879
7882
|
exitCode: res.status ?? 1
|
|
7880
7883
|
};
|
|
7881
7884
|
};
|
|
7882
|
-
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-
|
|
7885
|
+
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-H6GXYNKV.js');
|
|
7883
7886
|
const vgBuiltin = createVgBuiltinMcpTools({
|
|
7884
7887
|
getGraph: () => graph,
|
|
7885
7888
|
root: root3,
|
|
@@ -7924,7 +7927,7 @@ ${res.stderr}` : ""),
|
|
|
7924
7927
|
files,
|
|
7925
7928
|
indexFile: checkpointIndex
|
|
7926
7929
|
});
|
|
7927
|
-
const { loadApprovalRules, addApprovalRule, ruleForAction, ruleLabel } = await import('./approvals-
|
|
7930
|
+
const { loadApprovalRules, addApprovalRule, ruleForAction, ruleLabel } = await import('./approvals-F2DJGPU7.js');
|
|
7928
7931
|
const { loadProjectRules, nodeRulesReader } = await import('./rules-ASYEUNB5.js');
|
|
7929
7932
|
const projectRules = loadProjectRules(nodeRulesReader(root3));
|
|
7930
7933
|
if (projectRules.sources.length && !global.quiet) {
|
|
@@ -7982,8 +7985,8 @@ ${res.stderr}` : ""),
|
|
|
7982
7985
|
};
|
|
7983
7986
|
try {
|
|
7984
7987
|
if (opts.session) {
|
|
7985
|
-
const { runCodeStreamJsonSession, STREAM_JSON_PROTOCOL_VERSION } = await import('./stream-json-
|
|
7986
|
-
const { runAgent: runAgent2 } = await import('./agent-
|
|
7988
|
+
const { runCodeStreamJsonSession, STREAM_JSON_PROTOCOL_VERSION } = await import('./stream-json-XXCFN4MF.js');
|
|
7989
|
+
const { runAgent: runAgent2 } = await import('./agent-AFMDB4GM.js');
|
|
7987
7990
|
const {
|
|
7988
7991
|
condenseSession,
|
|
7989
7992
|
loadLatestSession,
|
|
@@ -7994,7 +7997,7 @@ ${res.stderr}` : ""),
|
|
|
7994
7997
|
sessionsDir,
|
|
7995
7998
|
summarizeSession
|
|
7996
7999
|
} = await import('./session-store-AQUORKWB.js');
|
|
7997
|
-
const { VERSION: VERSION2 } = await import('./version-
|
|
8000
|
+
const { VERSION: VERSION2 } = await import('./version-2UBJ7N2I.js');
|
|
7998
8001
|
const resumedRecord = typeof opts.continue === "string" ? loadSession(mainRoot, opts.continue) : opts.continue ? loadLatestSession(mainRoot) : void 0;
|
|
7999
8002
|
if (typeof opts.continue === "string" && !resumedRecord) {
|
|
8000
8003
|
emitStream({
|
|
@@ -8206,8 +8209,8 @@ ${res.stderr}` : ""),
|
|
|
8206
8209
|
if (!autonomous && !tty) {
|
|
8207
8210
|
throw usageError("the agent approves each edit/command \u2014 run in a terminal to approve interactively, or pass --auto to run autonomously (or --single for a one-shot diff).");
|
|
8208
8211
|
}
|
|
8209
|
-
const { agentTask } = await import('./interactive-
|
|
8210
|
-
const { nodeCodeFs } = await import('./session-
|
|
8212
|
+
const { agentTask } = await import('./interactive-CS4PGZPK.js');
|
|
8213
|
+
const { nodeCodeFs } = await import('./session-VPP2VGUN.js');
|
|
8211
8214
|
const { TtyPrompter } = await import('./ui-K7D3BCHD.js');
|
|
8212
8215
|
let priorSummary;
|
|
8213
8216
|
let priorInstruction;
|
|
@@ -8222,7 +8225,7 @@ ${res.stderr}` : ""),
|
|
|
8222
8225
|
}
|
|
8223
8226
|
}
|
|
8224
8227
|
const prompter = tty ? new TtyPrompter() : void 0;
|
|
8225
|
-
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-
|
|
8228
|
+
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-H6GXYNKV.js');
|
|
8226
8229
|
const vgBuiltin = createVgBuiltinMcpTools({
|
|
8227
8230
|
getGraph: () => graph,
|
|
8228
8231
|
root: root3,
|
|
@@ -8243,14 +8246,14 @@ ${res.stderr}` : ""),
|
|
|
8243
8246
|
}
|
|
8244
8247
|
const mcpTools = mergeExternalToolsets(vgBuiltin, projectMcp);
|
|
8245
8248
|
try {
|
|
8246
|
-
const { loadFederation } = await import('./federation-
|
|
8249
|
+
const { loadFederation } = await import('./federation-M4ZNXOPX.js');
|
|
8247
8250
|
const { resolveExecutionEnv } = await import('./execution-env-4MS5AYAN.js');
|
|
8248
8251
|
const { resolveModelExecutionProfile, mergeModelExecutionProfile } = await import('./model-execution-profile-ELWF3Z6H.js');
|
|
8249
|
-
const { startCodeRuntimeSession } = await import('./runtime-session-
|
|
8250
|
-
const { resolveGraphBackend } = await import('./graph-backend-
|
|
8251
|
-
const { detectGitRef } = await import('./git-ref-
|
|
8252
|
-
const { repositoryIdFromRoot } = await import('./paths-
|
|
8253
|
-
const { vgdRequest } = await import('./vgd-
|
|
8252
|
+
const { startCodeRuntimeSession } = await import('./runtime-session-WZLVADPQ.js');
|
|
8253
|
+
const { resolveGraphBackend } = await import('./graph-backend-FDZUY4TR.js');
|
|
8254
|
+
const { detectGitRef } = await import('./git-ref-LMT3EXYY.js');
|
|
8255
|
+
const { repositoryIdFromRoot } = await import('./paths-RVK6FKRN.js');
|
|
8256
|
+
const { vgdRequest } = await import('./vgd-SBZO4ONQ.js');
|
|
8254
8257
|
const federation = loadFederation(root3);
|
|
8255
8258
|
const modelProfile = mergeModelExecutionProfile(
|
|
8256
8259
|
resolveModelExecutionProfile({
|
|
@@ -8819,7 +8822,7 @@ async function runDoctor(global) {
|
|
|
8819
8822
|
const reachable = local ? null : await probeReachable(base);
|
|
8820
8823
|
const launch = detectServeLaunch();
|
|
8821
8824
|
const optOut = telemetryOptOut();
|
|
8822
|
-
const sys = gatherSystemMemory();
|
|
8825
|
+
const sys = await gatherSystemMemory();
|
|
8823
8826
|
const localInference = buildLocalInferenceStatus({
|
|
8824
8827
|
system: sys,
|
|
8825
8828
|
repo: graph ? { fileCount: graph.nodes?.length ?? 0 } : void 0
|
|
@@ -9434,7 +9437,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
|
|
|
9434
9437
|
console.log(chalk7.green("\u2714") + ` Created ${chalk7.bold("vibgrate.config.ts")}`);
|
|
9435
9438
|
}
|
|
9436
9439
|
if (opts.baseline) {
|
|
9437
|
-
const { runBaseline } = await import('./baseline-
|
|
9440
|
+
const { runBaseline } = await import('./baseline-KTE2C3LW.js');
|
|
9438
9441
|
await runBaseline(rootDir);
|
|
9439
9442
|
}
|
|
9440
9443
|
console.log("");
|
|
@@ -9967,8 +9970,8 @@ function reportStandards(rootDir) {
|
|
|
9967
9970
|
}
|
|
9968
9971
|
async function printRuntimeSnapshot(rootDir, opts, already) {
|
|
9969
9972
|
try {
|
|
9970
|
-
const { attachVgd: attachVgd2 } = await import('./attach-
|
|
9971
|
-
const { vgdRequest } = await import('./client-
|
|
9973
|
+
const { attachVgd: attachVgd2 } = await import('./attach-XTX2Q3AD.js');
|
|
9974
|
+
const { vgdRequest } = await import('./client-P5XSRFV4.js');
|
|
9972
9975
|
const { formatSemanticProgress } = await import('./semantic-status-2JFLIQQJ.js');
|
|
9973
9976
|
let repositoryId = already?.repositoryId;
|
|
9974
9977
|
let socketPath = already?.socketPath;
|
|
@@ -10176,7 +10179,7 @@ var scanCommand = new Command("scan").description("Scan a project for upgrade dr
|
|
|
10176
10179
|
const advanced = await loadAdvancedScanHook();
|
|
10177
10180
|
const artifact = await runCoreScan(rootDir, scanOpts, advanced);
|
|
10178
10181
|
if (wantGraph && builtGraph) {
|
|
10179
|
-
const { attachVgd: attachVgd2 } = await import('./attach-
|
|
10182
|
+
const { attachVgd: attachVgd2 } = await import('./attach-XTX2Q3AD.js');
|
|
10180
10183
|
const { ActivityLog: ActivityLog2 } = await import('./activity-MF2GNYAI.js');
|
|
10181
10184
|
const activity = new ActivityLog2();
|
|
10182
10185
|
const attached = await activity.time(
|
|
@@ -11082,10 +11085,11 @@ ${String(err)}` }));
|
|
|
11082
11085
|
async function releaseWindowsFileLocks(cwd, keepVersion) {
|
|
11083
11086
|
reapAndReport(cwd, keepVersion);
|
|
11084
11087
|
try {
|
|
11085
|
-
const { vgdSocketPath } = await import('./vgd-
|
|
11088
|
+
const { vgdSocketPath } = await import('./vgd-SBZO4ONQ.js');
|
|
11086
11089
|
const result = await stopVgd(vgdSocketPath());
|
|
11087
11090
|
if (result === "stopped") {
|
|
11088
|
-
console.log(chalk7.dim("Stopped the vgd daemon so its files can be replaced \u2014 it restarts on the
|
|
11091
|
+
console.log(chalk7.dim("Stopped the vgd daemon so its files can be replaced \u2014 it restarts on the new build after the install."));
|
|
11092
|
+
return true;
|
|
11089
11093
|
} else if (result === "refused") {
|
|
11090
11094
|
console.log(
|
|
11091
11095
|
chalk7.dim(
|
|
@@ -11095,6 +11099,7 @@ async function releaseWindowsFileLocks(cwd, keepVersion) {
|
|
|
11095
11099
|
}
|
|
11096
11100
|
} catch {
|
|
11097
11101
|
}
|
|
11102
|
+
return false;
|
|
11098
11103
|
}
|
|
11099
11104
|
async function offerDeferredWindowsUpdate(cmd, assumeYes) {
|
|
11100
11105
|
console.error(
|
|
@@ -11184,8 +11189,9 @@ var updateCommand = new Command("update").description("Update vibgrate to the la
|
|
|
11184
11189
|
cmd = getInstallCommand(pm, PACKAGE_NAME, latest, isDev, { workspaceRoot });
|
|
11185
11190
|
console.log(chalk7.dim(`Using ${pm}: ${cmd}`));
|
|
11186
11191
|
}
|
|
11192
|
+
let stoppedVgdForInstall = false;
|
|
11187
11193
|
if (process.platform === "win32" && isGlobal && opts.reap !== false) {
|
|
11188
|
-
await releaseWindowsFileLocks(cwd, latest);
|
|
11194
|
+
stoppedVgdForInstall = await releaseWindowsFileLocks(cwd, latest);
|
|
11189
11195
|
}
|
|
11190
11196
|
const install = await runInstall(cmd, cwd);
|
|
11191
11197
|
if (install.ok) {
|
|
@@ -11198,7 +11204,9 @@ var updateCommand = new Command("update").description("Update vibgrate to the la
|
|
|
11198
11204
|
process.exit(1);
|
|
11199
11205
|
}
|
|
11200
11206
|
if (opts.reap !== false) reapAndReport(cwd, latest);
|
|
11201
|
-
if (opts.reap !== false)
|
|
11207
|
+
if (opts.reap !== false) {
|
|
11208
|
+
await restartVgdAndReport({ force: true, startIfNotRunning: stoppedVgdForInstall });
|
|
11209
|
+
}
|
|
11202
11210
|
try {
|
|
11203
11211
|
clearEmbedderHealth();
|
|
11204
11212
|
} catch {
|
|
@@ -11208,7 +11216,7 @@ var updateCommand = new Command("update").description("Update vibgrate to the la
|
|
|
11208
11216
|
);
|
|
11209
11217
|
async function rewarmVgdAndReport(cwd) {
|
|
11210
11218
|
try {
|
|
11211
|
-
const { vgdIsRunning, vgdRequest } = await import('./vgd-
|
|
11219
|
+
const { vgdIsRunning, vgdRequest } = await import('./vgd-SBZO4ONQ.js');
|
|
11212
11220
|
if (!await vgdIsRunning()) return;
|
|
11213
11221
|
const loaded = await vgdRequest({ op: "load-graph", root: cwd });
|
|
11214
11222
|
if (!loaded.ok || !("stored" in loaded)) return;
|
|
@@ -11250,6 +11258,8 @@ async function restartVgdAndReport(opts = {}) {
|
|
|
11250
11258
|
if (result === "not-running") return;
|
|
11251
11259
|
if (result === "restarted") {
|
|
11252
11260
|
console.log(chalk7.dim("Restarted the vgd daemon on the new version."));
|
|
11261
|
+
} else if (result === "started") {
|
|
11262
|
+
console.log(chalk7.dim("Started the vgd daemon on the new version."));
|
|
11253
11263
|
} else if (result === "refused") {
|
|
11254
11264
|
console.log(
|
|
11255
11265
|
chalk7.dim("A vgd that cannot be stopped remotely is running \u2014 restart the process holding the socket to pick up the update.")
|