@vibgrate/cli 2026.818.2 → 2026.819.2
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-ZJRWCMR6.js +30 -0
- package/dist/{agent-X6VYCE63.js.map → agent-ZJRWCMR6.js.map} +1 -1
- package/dist/{approvals-TPQFQSWG.js → approvals-YTUXBZWQ.js} +7 -7
- package/dist/{approvals-TPQFQSWG.js.map → approvals-YTUXBZWQ.js.map} +1 -1
- package/dist/attach-WOA25VNH.js +10 -0
- package/dist/{attach-G5JUIWIT.js.map → attach-WOA25VNH.js.map} +1 -1
- package/dist/baseline-TVRRUZGA.js +9 -0
- package/dist/{baseline-DXI64VLW.js.map → baseline-TVRRUZGA.js.map} +1 -1
- package/dist/{chunk-V6WONSIK.js → chunk-24HKTTFV.js} +5 -5
- package/dist/{chunk-V6WONSIK.js.map → chunk-24HKTTFV.js.map} +1 -1
- package/dist/{chunk-VMAIDM4K.js → chunk-2C4QT5D7.js} +5 -5
- package/dist/{chunk-VMAIDM4K.js.map → chunk-2C4QT5D7.js.map} +1 -1
- package/dist/{chunk-JGA63RGF.js → chunk-2ZBLZ2S3.js} +13 -13
- package/dist/{chunk-JGA63RGF.js.map → chunk-2ZBLZ2S3.js.map} +1 -1
- 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-NDNNOAS6.js → chunk-6H2QV5DR.js} +3 -3
- package/dist/{chunk-NDNNOAS6.js.map → chunk-6H2QV5DR.js.map} +1 -1
- package/dist/{chunk-2C33WR5O.js → chunk-7BSUPHX6.js} +3 -3
- package/dist/{chunk-2C33WR5O.js.map → chunk-7BSUPHX6.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-X2MQ7UFL.js → chunk-AP3JN33O.js} +12 -12
- package/dist/{chunk-X2MQ7UFL.js.map → chunk-AP3JN33O.js.map} +1 -1
- package/dist/{chunk-O5IJDMTB.js → chunk-AQZYDFEK.js} +4 -4
- package/dist/{chunk-O5IJDMTB.js.map → chunk-AQZYDFEK.js.map} +1 -1
- package/dist/{chunk-VQ5KMHW6.js → chunk-BQ6NTRRK.js} +44 -15
- package/dist/chunk-BQ6NTRRK.js.map +1 -0
- package/dist/{chunk-HF6R73UC.js → chunk-C2EZIAA3.js} +27 -13
- package/dist/chunk-C2EZIAA3.js.map +1 -0
- package/dist/{chunk-MRZHNUN7.js → chunk-CA4YQBA7.js} +4 -4
- package/dist/{chunk-MRZHNUN7.js.map → chunk-CA4YQBA7.js.map} +1 -1
- package/dist/{chunk-YF54UMOU.js → chunk-CBL3VY7J.js} +3 -3
- package/dist/{chunk-YF54UMOU.js.map → chunk-CBL3VY7J.js.map} +1 -1
- package/dist/{chunk-PRHH4DVO.js → chunk-FCMWHSQ6.js} +3 -3
- package/dist/{chunk-PRHH4DVO.js.map → chunk-FCMWHSQ6.js.map} +1 -1
- package/dist/{chunk-V2UGRUTL.js → chunk-GBXOAO5V.js} +176 -37
- package/dist/chunk-GBXOAO5V.js.map +1 -0
- 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-ZUOBPKVK.js → chunk-IMI2VHHZ.js} +3 -3
- package/dist/{chunk-ZUOBPKVK.js.map → chunk-IMI2VHHZ.js.map} +1 -1
- package/dist/{chunk-NKLYDSB7.js → chunk-JPOYXG7Z.js} +10 -10
- package/dist/{chunk-NKLYDSB7.js.map → chunk-JPOYXG7Z.js.map} +1 -1
- package/dist/{chunk-L2OS4WHT.js → chunk-MMJFHEZ4.js} +4 -4
- package/dist/{chunk-L2OS4WHT.js.map → chunk-MMJFHEZ4.js.map} +1 -1
- package/dist/{chunk-E3O5UKNA.js → chunk-NKKOGJ63.js} +35 -17
- package/dist/chunk-NKKOGJ63.js.map +1 -0
- 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-NJQZRM55.js → chunk-OGFOJG4H.js} +6 -6
- package/dist/{chunk-NJQZRM55.js.map → chunk-OGFOJG4H.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-B4EXD5LK.js → chunk-PJRPSYFQ.js} +9 -7
- package/dist/chunk-PJRPSYFQ.js.map +1 -0
- package/dist/{chunk-NG4KIJW6.js → chunk-PVNALGTG.js} +10 -6
- package/dist/chunk-PVNALGTG.js.map +1 -0
- package/dist/{chunk-BMOFJIMG.js → chunk-QE6F62FR.js} +3 -3
- package/dist/{chunk-BMOFJIMG.js.map → chunk-QE6F62FR.js.map} +1 -1
- package/dist/{chunk-6ABMV74F.js → chunk-R5TQBIR6.js} +4 -4
- package/dist/{chunk-6ABMV74F.js.map → chunk-R5TQBIR6.js.map} +1 -1
- package/dist/{chunk-5I4VSBWQ.js → chunk-RTURQXQL.js} +372 -113
- package/dist/chunk-RTURQXQL.js.map +1 -0
- 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-KU7FI5EV.js → chunk-USPMMVNH.js} +3 -3
- package/dist/{chunk-KU7FI5EV.js.map → chunk-USPMMVNH.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-AEJYA6HZ.js → chunk-W6ASIMG5.js} +7 -7
- package/dist/{chunk-AEJYA6HZ.js.map → chunk-W6ASIMG5.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-RHKOUPWT.js → chunk-WPLOEFZU.js} +7 -5
- package/dist/chunk-WPLOEFZU.js.map +1 -0
- package/dist/{chunk-FJG5AXKZ.js → chunk-WUFIXAEJ.js} +22 -6
- package/dist/chunk-WUFIXAEJ.js.map +1 -0
- package/dist/{chunk-6PFHDHOL.js → chunk-XLQ4YHS3.js} +16 -14
- package/dist/chunk-XLQ4YHS3.js.map +1 -0
- 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-FFXGWFAE.js → chunk-XW2XQM3C.js} +7 -7
- package/dist/{chunk-FFXGWFAE.js.map → chunk-XW2XQM3C.js.map} +1 -1
- package/dist/{chunk-7N4Y3E47.js → chunk-YJYEPYB2.js} +13 -18
- package/dist/chunk-YJYEPYB2.js.map +1 -0
- package/dist/chunk-ZUZHYAJK.js +6 -0
- package/dist/{chunk-4NTNMT6T.js.map → chunk-ZUZHYAJK.js.map} +1 -1
- package/dist/cli.js +112 -108
- 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-YKOEP3XA.js +30 -0
- package/dist/{daemon-GUMWMKCA.js.map → daemon-YKOEP3XA.js.map} +1 -1
- package/dist/embed-worker-main.js +5 -5
- package/dist/ensure-map-BLRJDO2Y.js +40 -0
- package/dist/{ensure-map-FHDJTO7Y.js.map → ensure-map-BLRJDO2Y.js.map} +1 -1
- package/dist/federation-M4ZNXOPX.js +8 -0
- package/dist/{federation-MDQPO3PW.js.map → federation-M4ZNXOPX.js.map} +1 -1
- package/dist/fs-FO3NQHPT.js +4 -0
- package/dist/fs-FO3NQHPT.js.map +1 -0
- 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-NTYONTWW.js +16 -0
- package/dist/{graph-backend-W2D3HRRD.js.map → graph-backend-NTYONTWW.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +24 -25
- package/dist/index.js.map +1 -1
- package/dist/{interactive-2MK4TLRD.js → interactive-B3WTC7LB.js} +41 -42
- package/dist/interactive-B3WTC7LB.js.map +1 -0
- 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-AJROS77R.js +11 -0
- package/dist/{load-4R4HYMBB.js.map → load-AJROS77R.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-H5GVDDZJ.js → run-outcome-SBBSTSH3.js} +7 -7
- package/dist/{run-outcome-H5GVDDZJ.js.map → run-outcome-SBBSTSH3.js.map} +1 -1
- package/dist/runtime-session-JYYKQVDX.js +26 -0
- package/dist/{runtime-session-JBIHHH5N.js.map → runtime-session-JYYKQVDX.js.map} +1 -1
- package/dist/session-2ZMHZ2O6.js +17 -0
- package/dist/{session-N5IU4K5Q.js.map → session-2ZMHZ2O6.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-4WLSUF6I.js → stream-json-ZWGB4C47.js} +17 -17
- package/dist/{stream-json-4WLSUF6I.js.map → stream-json-ZWGB4C47.js.map} +1 -1
- package/dist/version-5QIEUXU6.js +4 -0
- package/dist/{version-DTEU3SQD.js.map → version-5QIEUXU6.js.map} +1 -1
- package/dist/{vg-mcp-bridge-KDVYIMFX.js → vg-mcp-bridge-4FETMJ6M.js} +16 -15
- package/dist/vg-mcp-bridge-4FETMJ6M.js.map +1 -0
- package/dist/{vgd-M7UOPWLB.js → vgd-R524P5BJ.js} +13 -14
- package/dist/vgd-R524P5BJ.js.map +1 -0
- package/package.json +1 -1
- package/dist/agent-X6VYCE63.js +0 -30
- package/dist/attach-G5JUIWIT.js +0 -10
- package/dist/baseline-DXI64VLW.js +0 -9
- package/dist/chunk-4NTNMT6T.js +0 -6
- package/dist/chunk-5I4VSBWQ.js.map +0 -1
- package/dist/chunk-6PFHDHOL.js.map +0 -1
- package/dist/chunk-7N4Y3E47.js.map +0 -1
- package/dist/chunk-B4EXD5LK.js.map +0 -1
- package/dist/chunk-BPF3YX2U.js.map +0 -1
- package/dist/chunk-E3O5UKNA.js.map +0 -1
- package/dist/chunk-FJG5AXKZ.js.map +0 -1
- package/dist/chunk-HF6R73UC.js.map +0 -1
- package/dist/chunk-NG4KIJW6.js.map +0 -1
- package/dist/chunk-NZELMYT4.js.map +0 -1
- package/dist/chunk-POOL355F.js +0 -237
- package/dist/chunk-POOL355F.js.map +0 -1
- package/dist/chunk-RHKOUPWT.js.map +0 -1
- package/dist/chunk-V2UGRUTL.js.map +0 -1
- package/dist/chunk-VQ5KMHW6.js.map +0 -1
- package/dist/client-UQIELEEZ.js +0 -8
- package/dist/daemon-GUMWMKCA.js +0 -31
- package/dist/ensure-map-FHDJTO7Y.js +0 -41
- package/dist/federation-MDQPO3PW.js +0 -7
- package/dist/fs-TLPOWC2D.js +0 -4
- package/dist/fs-TLPOWC2D.js.map +0 -1
- package/dist/git-ref-RSRAN4OH.js +0 -4
- package/dist/graph-backend-W2D3HRRD.js +0 -16
- package/dist/interactive-2MK4TLRD.js.map +0 -1
- package/dist/load-4R4HYMBB.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-JBIHHH5N.js +0 -27
- package/dist/session-N5IU4K5Q.js +0 -17
- package/dist/version-DTEU3SQD.js +0 -4
- package/dist/vg-mcp-bridge-KDVYIMFX.js.map +0 -1
- package/dist/vgd-M7UOPWLB.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,69 +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-XW2XQM3C.js';
|
|
3
|
+
import { telemetryOptOut, StatsSharer, statsEndpoint, isCI } from './chunk-QE6F62FR.js';
|
|
4
|
+
import { loadAdvancedScanHook, baselineCommand } from './chunk-R5TQBIR6.js';
|
|
5
|
+
import { sha256Hex, generateKeypair, dssePae, DSSE_PAYLOAD_TYPE, keyId, registerBuild, LiveStatus, ProgressBar, printLogo, runBuild } from './chunk-C2EZIAA3.js';
|
|
6
|
+
export { runBuild } from './chunk-C2EZIAA3.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-W6ASIMG5.js';
|
|
10
|
+
import { CONTEXT_POLICY_VERSION, computeFcsReport, renderFcsReportMarkdown, createTrajectoryCollector, runAgent } from './chunk-2ZBLZ2S3.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-IMI2VHHZ.js';
|
|
13
|
+
import './chunk-AQZYDFEK.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-NKKOGJ63.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-BQ6NTRRK.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-AP3JN33O.js';
|
|
30
|
+
import { refreshIfStale } from './chunk-PJRPSYFQ.js';
|
|
31
|
+
import { driftCount, ASSISTANTS, detectAssistants, isAssistantInstalled, detectServeLaunch, installAssistant, writeNavigationConfig, uninstallAssistant, buildGraph, writeSnapshot, probeFreshness, assistantById, SMALL_REPO_FILES } from './chunk-XLQ4YHS3.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-JPOYXG7Z.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-GBXOAO5V.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-WPLOEFZU.js';
|
|
37
|
+
import { recordCliCall, CLI_TOOL_ALIASES, savingsLedgerPath, clearSavings, readSavings, readUsage, readModelSavings, CAPSULE_RANKING_VERSION, SAVINGS_TOOLS, sanitizeClient } from './chunk-CBL3VY7J.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-
|
|
42
|
-
import { pathExists as pathExists$1, parseExcludePatterns } from './chunk-
|
|
41
|
+
import { attachVgd } from './chunk-OGFOJG4H.js';
|
|
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
|
-
import { discover, SKIP_DIRS } from './chunk-POOL355F.js';
|
|
49
48
|
import { inventory, enrichOnline, ECOSYSTEMS } from './chunk-6BEBJCK4.js';
|
|
50
49
|
import { resolveOne } from './chunk-J7LKEB2R.js';
|
|
51
|
-
import { queryGraphSemantic, queryGraph, indexFor, impactOf } from './chunk-
|
|
52
|
-
import { loadGraph, loadGraphPreferIndex, SCHEMA_VERSION } from './chunk-
|
|
53
|
-
import './chunk-
|
|
54
|
-
import './chunk-
|
|
55
|
-
import './chunk-
|
|
56
|
-
import { resolvedGrammarFiles, TOOLCHAIN_GRAMMARS, resolveToolchainGrammar, grammarSetVersion, fileRolesFromParseCache } from './chunk-
|
|
50
|
+
import { queryGraphSemantic, queryGraph, indexFor, impactOf } from './chunk-CA4YQBA7.js';
|
|
51
|
+
import { loadGraph, loadGraphPreferIndex, SCHEMA_VERSION } from './chunk-USPMMVNH.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-FCMWHSQ6.js';
|
|
57
56
|
import './chunk-T7RSQ5WD.js';
|
|
58
57
|
import './chunk-6WRG7VDO.js';
|
|
59
|
-
import { embeddingsCached, resolveEmbedModel, loadEmbedder, getNodeEmbeddings, unavailableMessage, countPending, modelCacheInfo, embeddingsPath, clearModelCache, withTimeout } from './chunk-
|
|
60
|
-
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-7BSUPHX6.js';
|
|
59
|
+
import { resetRelevanceProviderCache, loadRelevanceProvider, relevanceModuleDir, resolveGraphPath, analyzeQuestion, loadTopicTags, renderReport, loadGraphFileWithSnapshot, writeArtifacts, vibgrateDir, mapFileExists, ensureVibgrateGitignore } from './chunk-2C4QT5D7.js';
|
|
61
60
|
import { cacheDir } from './chunk-MVPRPSXU.js';
|
|
62
61
|
import { serializeGraph, stableStringify, parseGraph } from './chunk-O3LABX6I.js';
|
|
63
|
-
import { VERSION } from './chunk-
|
|
64
|
-
import './chunk-
|
|
62
|
+
import { VERSION } from './chunk-ZUZHYAJK.js';
|
|
63
|
+
import './chunk-XP6UUCZZ.js';
|
|
65
64
|
import { canonicalize, hashString } from './chunk-JFGYT6BI.js';
|
|
66
|
-
import './chunk-
|
|
65
|
+
import './chunk-XQNKCA2J.js';
|
|
67
66
|
import { __toCommonJS } from './chunk-Z6ZWNWWR.js';
|
|
68
67
|
import * as fs13 from 'fs';
|
|
69
68
|
import fs13__default, { realpathSync } from 'fs';
|
|
@@ -363,7 +362,10 @@ function defaultRunProbe(timeoutMs) {
|
|
|
363
362
|
stdio: ["ignore", "pipe", "ignore"],
|
|
364
363
|
// The probe must never inherit a debugger port or loader flags that would
|
|
365
364
|
// change what it proves about the addon.
|
|
366
|
-
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
|
|
367
369
|
});
|
|
368
370
|
let stdout = "";
|
|
369
371
|
let settled = false;
|
|
@@ -3060,8 +3062,8 @@ var VibgrateLanguageServer = class {
|
|
|
3060
3062
|
if (this.daemonOwnsFreshness || this.slotSubscription || this.shuttingDown) return;
|
|
3061
3063
|
try {
|
|
3062
3064
|
const [{ publishGraphToVgd: publishGraphToVgd2 }, { subscribeToSlots }] = await Promise.all([
|
|
3063
|
-
import('./publish-
|
|
3064
|
-
import('./slot-subscription-
|
|
3065
|
+
import('./publish-27S66NOW.js'),
|
|
3066
|
+
import('./slot-subscription-C2ZUJED6.js')
|
|
3065
3067
|
]);
|
|
3066
3068
|
const published = await publishGraphToVgd2(this.opts.root);
|
|
3067
3069
|
if (published.status !== "published" && published.status !== "current") return;
|
|
@@ -3393,12 +3395,7 @@ function looksLikeScanArtifactJson(text) {
|
|
|
3393
3395
|
function isPrunedWorkspacePath(relPath) {
|
|
3394
3396
|
if (!relPath || relPath === "." || relPath === "") return false;
|
|
3395
3397
|
const parts = relPath.split(/[/\\]/).filter(Boolean);
|
|
3396
|
-
|
|
3397
|
-
return parts.some((p) => {
|
|
3398
|
-
if (SKIP_DIRS.has(p)) return true;
|
|
3399
|
-
if (p.startsWith(".venv") || p.startsWith("venv-") || p === "site-packages") return true;
|
|
3400
|
-
return false;
|
|
3401
|
-
});
|
|
3398
|
+
return parts.some((p) => isSkippedDirName(p));
|
|
3402
3399
|
}
|
|
3403
3400
|
function pruneArtifactProjects(a) {
|
|
3404
3401
|
const projects = (a.projects ?? []).filter(
|
|
@@ -6634,10 +6631,10 @@ function applyRecommendedDefaultMode(opts) {
|
|
|
6634
6631
|
}
|
|
6635
6632
|
init_resolve_ollama();
|
|
6636
6633
|
function registerModels(program) {
|
|
6637
|
-
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) {
|
|
6638
6635
|
const global = readGlobal(this);
|
|
6639
6636
|
const models = discoverModels();
|
|
6640
|
-
const sys = gatherSystemMemory();
|
|
6637
|
+
const sys = await gatherSystemMemory();
|
|
6641
6638
|
const report = buildModelsStatusReport(models, sys);
|
|
6642
6639
|
if (opts.raw) {
|
|
6643
6640
|
if (global.json) {
|
|
@@ -6661,10 +6658,10 @@ function registerModels(program) {
|
|
|
6661
6658
|
info(c.dim(" set a mode: `vg models mode flow` \xB7 install pack: `vg models install` \xB7 pin: `vg models pin flow@\u2026`"));
|
|
6662
6659
|
});
|
|
6663
6660
|
applyGlobalOptions(cmd);
|
|
6664
|
-
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() {
|
|
6665
6662
|
const global = readGlobal(this);
|
|
6666
6663
|
const models = discoverModels();
|
|
6667
|
-
const sys = gatherSystemMemory();
|
|
6664
|
+
const sys = await gatherSystemMemory();
|
|
6668
6665
|
const orch = buildFullStatus(rootOf(global), models, sys);
|
|
6669
6666
|
const backends = probeInferenceBackends({ hasBinary });
|
|
6670
6667
|
if (global.json) {
|
|
@@ -6678,7 +6675,7 @@ function registerModels(program) {
|
|
|
6678
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(
|
|
6679
6676
|
"--apply-recommend",
|
|
6680
6677
|
"pin the hardware-recommended mode when no default is set (from free RAM/VRAM + repo size)"
|
|
6681
|
-
).action(function(modeArg, opts) {
|
|
6678
|
+
).action(async function(modeArg, opts) {
|
|
6682
6679
|
const global = readGlobal(this);
|
|
6683
6680
|
if (opts.auto) {
|
|
6684
6681
|
const state2 = readOrchestratorState();
|
|
@@ -6690,7 +6687,7 @@ function registerModels(program) {
|
|
|
6690
6687
|
}
|
|
6691
6688
|
if (opts.applyRecommend) {
|
|
6692
6689
|
const state2 = readOrchestratorState();
|
|
6693
|
-
const sys2 = gatherSystemMemory();
|
|
6690
|
+
const sys2 = await gatherSystemMemory();
|
|
6694
6691
|
const result = applyRecommendedDefaultMode({
|
|
6695
6692
|
system: sys2,
|
|
6696
6693
|
repo: repoSignals(rootOf(global)),
|
|
@@ -6715,7 +6712,7 @@ function registerModels(program) {
|
|
|
6715
6712
|
return;
|
|
6716
6713
|
}
|
|
6717
6714
|
const state = readOrchestratorState();
|
|
6718
|
-
const sys = gatherSystemMemory();
|
|
6715
|
+
const sys = await gatherSystemMemory();
|
|
6719
6716
|
const recommended = recommendMode(sys, repoSignals(rootOf(global)));
|
|
6720
6717
|
const current = state.defaultMode ?? recommended;
|
|
6721
6718
|
if (global.json) {
|
|
@@ -6732,10 +6729,10 @@ function registerModels(program) {
|
|
|
6732
6729
|
);
|
|
6733
6730
|
});
|
|
6734
6731
|
applyGlobalOptions(modeCmd);
|
|
6735
|
-
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) {
|
|
6736
6733
|
const global = readGlobal(this);
|
|
6737
6734
|
const root3 = rootOf(global);
|
|
6738
|
-
const sys = gatherSystemMemory();
|
|
6735
|
+
const sys = await gatherSystemMemory();
|
|
6739
6736
|
const state = readOrchestratorState();
|
|
6740
6737
|
const mode = parseMode(modeArg) ?? state.defaultMode;
|
|
6741
6738
|
const pin2 = mode ? activePin(mode, state) : null;
|
|
@@ -6769,7 +6766,7 @@ function registerModels(program) {
|
|
|
6769
6766
|
const global = readGlobal(this);
|
|
6770
6767
|
const root3 = rootOf(global);
|
|
6771
6768
|
const models = discoverModels();
|
|
6772
|
-
const sys = gatherSystemMemory();
|
|
6769
|
+
const sys = await gatherSystemMemory();
|
|
6773
6770
|
const state = readOrchestratorState();
|
|
6774
6771
|
const mode = parseMode(modeArg) ?? state.defaultMode;
|
|
6775
6772
|
const pin2 = mode ? activePin(mode, state) : null;
|
|
@@ -7612,9 +7609,9 @@ function registerCode(program) {
|
|
|
7612
7609
|
const customSelection = !!(opts.provider || opts.model || opts.modelPath || config.provider || config.model);
|
|
7613
7610
|
if (!customSelection && (modeFlag || !provider && !model)) {
|
|
7614
7611
|
try {
|
|
7615
|
-
const { parseMode: parseMode2, resolveMode: resolveMode2, readOrchestratorState: readOrchestratorState2, activePin: activePin2 } = await import('./model-orchestrator-
|
|
7616
|
-
const { gatherSystemMemory: gatherSystemMemory2 } = await import('./local-runtime-
|
|
7617
|
-
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-AJROS77R.js');
|
|
7618
7615
|
const state = readOrchestratorState2();
|
|
7619
7616
|
const mode = parseMode2(modeFlag) ?? state.defaultMode ?? void 0;
|
|
7620
7617
|
const pin = mode ? activePin2(mode, state) : null;
|
|
@@ -7632,7 +7629,7 @@ function registerCode(program) {
|
|
|
7632
7629
|
const resolved = resolveMode2({
|
|
7633
7630
|
mode,
|
|
7634
7631
|
autoFit: !mode,
|
|
7635
|
-
system: gatherSystemMemory2(),
|
|
7632
|
+
system: await gatherSystemMemory2(),
|
|
7636
7633
|
repo,
|
|
7637
7634
|
pin,
|
|
7638
7635
|
defaultMode: state.defaultMode
|
|
@@ -7643,7 +7640,7 @@ function registerCode(program) {
|
|
|
7643
7640
|
ExitCode.ERROR
|
|
7644
7641
|
);
|
|
7645
7642
|
}
|
|
7646
|
-
const { resolveGgufPath } = await import('./resolve-gguf-
|
|
7643
|
+
const { resolveGgufPath } = await import('./resolve-gguf-WVKVDN45.js');
|
|
7647
7644
|
const primaryRef = resolved.pack.primary.backend === "llama.cpp" ? resolved.pack.primary.weightsRef : resolved.underlying.weightsRef;
|
|
7648
7645
|
const gguf = resolveGgufPath({
|
|
7649
7646
|
modelRef: primaryRef,
|
|
@@ -7699,7 +7696,7 @@ function registerCode(program) {
|
|
|
7699
7696
|
if (!(process.stdin.isTTY && process.stdout.isTTY)) {
|
|
7700
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)');
|
|
7701
7698
|
}
|
|
7702
|
-
const { runInteractive } = await import('./interactive-
|
|
7699
|
+
const { runInteractive } = await import('./interactive-B3WTC7LB.js');
|
|
7703
7700
|
await runInteractive(
|
|
7704
7701
|
rootOf(global),
|
|
7705
7702
|
global,
|
|
@@ -7729,7 +7726,7 @@ function registerCode(program) {
|
|
|
7729
7726
|
}
|
|
7730
7727
|
if (!instruction && !stdinFirstTurn) throw usageError('say what to change, e.g. `vg code "add a --timeout flag to the scan command"`');
|
|
7731
7728
|
{
|
|
7732
|
-
const { ensureCodeMap } = await import('./ensure-map-
|
|
7729
|
+
const { ensureCodeMap } = await import('./ensure-map-BLRJDO2Y.js');
|
|
7733
7730
|
const mapRoot = rootOf(global);
|
|
7734
7731
|
try {
|
|
7735
7732
|
await ensureCodeMap(mapRoot, global, {
|
|
@@ -7785,7 +7782,7 @@ function registerCode(program) {
|
|
|
7785
7782
|
{}
|
|
7786
7783
|
);
|
|
7787
7784
|
if (!opts.mock && route.providers[0]) {
|
|
7788
|
-
const { ensureManagerRuntime } = await import('./model-manager-
|
|
7785
|
+
const { ensureManagerRuntime } = await import('./model-manager-6H3TMZKK.js');
|
|
7789
7786
|
const ensure = await ensureManagerRuntime({
|
|
7790
7787
|
providerId: route.providers[0].id,
|
|
7791
7788
|
model: route.providers[0].model,
|
|
@@ -7814,20 +7811,20 @@ function registerCode(program) {
|
|
|
7814
7811
|
process.stdout.write(JSON.stringify(line) + "\n");
|
|
7815
7812
|
};
|
|
7816
7813
|
try {
|
|
7817
|
-
const { RunOutcomeRecorder, newOneShotRunId, turnRunId } = await import('./run-outcome-
|
|
7814
|
+
const { RunOutcomeRecorder, newOneShotRunId, turnRunId } = await import('./run-outcome-SBBSTSH3.js');
|
|
7818
7815
|
const primarySlug = route.providers[0]?.model.includes("/") ? route.providers[0].model.split("/")[0] : route.providers[0]?.id;
|
|
7819
|
-
const { runCodeStreamJson, parseHostMessage } = await import('./stream-json-
|
|
7820
|
-
const { nodeCodeFs } = await import('./session-
|
|
7816
|
+
const { runCodeStreamJson, parseHostMessage } = await import('./stream-json-ZWGB4C47.js');
|
|
7817
|
+
const { nodeCodeFs } = await import('./session-2ZMHZ2O6.js');
|
|
7821
7818
|
const readline6 = await import('readline');
|
|
7822
7819
|
const child = await import('child_process');
|
|
7823
|
-
const { loadOrDiscoverFederation } = await import('./federation-
|
|
7820
|
+
const { loadOrDiscoverFederation } = await import('./federation-M4ZNXOPX.js');
|
|
7824
7821
|
const { resolveExecutionEnv } = await import('./execution-env-4MS5AYAN.js');
|
|
7825
7822
|
const { resolveModelExecutionProfile, mergeModelExecutionProfile } = await import('./model-execution-profile-ELWF3Z6H.js');
|
|
7826
|
-
const { startCodeRuntimeSession } = await import('./runtime-session-
|
|
7827
|
-
const { resolveGraphBackend } = await import('./graph-backend-
|
|
7828
|
-
const { detectGitRef } = await import('./git-ref-
|
|
7829
|
-
const { repositoryIdFromRoot } = await import('./paths-
|
|
7830
|
-
const { vgdRequest } = await import('./vgd-
|
|
7823
|
+
const { startCodeRuntimeSession } = await import('./runtime-session-JYYKQVDX.js');
|
|
7824
|
+
const { resolveGraphBackend } = await import('./graph-backend-NTYONTWW.js');
|
|
7825
|
+
const { detectGitRef } = await import('./git-ref-LMT3EXYY.js');
|
|
7826
|
+
const { repositoryIdFromRoot } = await import('./paths-RVK6FKRN.js');
|
|
7827
|
+
const { vgdRequest } = await import('./vgd-R524P5BJ.js');
|
|
7831
7828
|
const federation = loadOrDiscoverFederation(root3);
|
|
7832
7829
|
const modelProfile = mergeModelExecutionProfile(
|
|
7833
7830
|
resolveModelExecutionProfile({
|
|
@@ -7885,7 +7882,7 @@ ${res.stderr}` : ""),
|
|
|
7885
7882
|
exitCode: res.status ?? 1
|
|
7886
7883
|
};
|
|
7887
7884
|
};
|
|
7888
|
-
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-
|
|
7885
|
+
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-4FETMJ6M.js');
|
|
7889
7886
|
const vgBuiltin = createVgBuiltinMcpTools({
|
|
7890
7887
|
getGraph: () => graph,
|
|
7891
7888
|
root: root3,
|
|
@@ -7930,7 +7927,7 @@ ${res.stderr}` : ""),
|
|
|
7930
7927
|
files,
|
|
7931
7928
|
indexFile: checkpointIndex
|
|
7932
7929
|
});
|
|
7933
|
-
const { loadApprovalRules, addApprovalRule, ruleForAction, ruleLabel } = await import('./approvals-
|
|
7930
|
+
const { loadApprovalRules, addApprovalRule, ruleForAction, ruleLabel } = await import('./approvals-YTUXBZWQ.js');
|
|
7934
7931
|
const { loadProjectRules, nodeRulesReader } = await import('./rules-ASYEUNB5.js');
|
|
7935
7932
|
const projectRules = loadProjectRules(nodeRulesReader(root3));
|
|
7936
7933
|
if (projectRules.sources.length && !global.quiet) {
|
|
@@ -7988,8 +7985,8 @@ ${res.stderr}` : ""),
|
|
|
7988
7985
|
};
|
|
7989
7986
|
try {
|
|
7990
7987
|
if (opts.session) {
|
|
7991
|
-
const { runCodeStreamJsonSession, STREAM_JSON_PROTOCOL_VERSION } = await import('./stream-json-
|
|
7992
|
-
const { runAgent: runAgent2 } = await import('./agent-
|
|
7988
|
+
const { runCodeStreamJsonSession, STREAM_JSON_PROTOCOL_VERSION } = await import('./stream-json-ZWGB4C47.js');
|
|
7989
|
+
const { runAgent: runAgent2 } = await import('./agent-ZJRWCMR6.js');
|
|
7993
7990
|
const {
|
|
7994
7991
|
condenseSession,
|
|
7995
7992
|
loadLatestSession,
|
|
@@ -8000,7 +7997,7 @@ ${res.stderr}` : ""),
|
|
|
8000
7997
|
sessionsDir,
|
|
8001
7998
|
summarizeSession
|
|
8002
7999
|
} = await import('./session-store-AQUORKWB.js');
|
|
8003
|
-
const { VERSION: VERSION2 } = await import('./version-
|
|
8000
|
+
const { VERSION: VERSION2 } = await import('./version-5QIEUXU6.js');
|
|
8004
8001
|
const resumedRecord = typeof opts.continue === "string" ? loadSession(mainRoot, opts.continue) : opts.continue ? loadLatestSession(mainRoot) : void 0;
|
|
8005
8002
|
if (typeof opts.continue === "string" && !resumedRecord) {
|
|
8006
8003
|
emitStream({
|
|
@@ -8212,8 +8209,8 @@ ${res.stderr}` : ""),
|
|
|
8212
8209
|
if (!autonomous && !tty) {
|
|
8213
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).");
|
|
8214
8211
|
}
|
|
8215
|
-
const { agentTask } = await import('./interactive-
|
|
8216
|
-
const { nodeCodeFs } = await import('./session-
|
|
8212
|
+
const { agentTask } = await import('./interactive-B3WTC7LB.js');
|
|
8213
|
+
const { nodeCodeFs } = await import('./session-2ZMHZ2O6.js');
|
|
8217
8214
|
const { TtyPrompter } = await import('./ui-K7D3BCHD.js');
|
|
8218
8215
|
let priorSummary;
|
|
8219
8216
|
let priorInstruction;
|
|
@@ -8228,7 +8225,7 @@ ${res.stderr}` : ""),
|
|
|
8228
8225
|
}
|
|
8229
8226
|
}
|
|
8230
8227
|
const prompter = tty ? new TtyPrompter() : void 0;
|
|
8231
|
-
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-
|
|
8228
|
+
const { createVgBuiltinMcpTools, mergeExternalToolsets } = await import('./vg-mcp-bridge-4FETMJ6M.js');
|
|
8232
8229
|
const vgBuiltin = createVgBuiltinMcpTools({
|
|
8233
8230
|
getGraph: () => graph,
|
|
8234
8231
|
root: root3,
|
|
@@ -8249,14 +8246,14 @@ ${res.stderr}` : ""),
|
|
|
8249
8246
|
}
|
|
8250
8247
|
const mcpTools = mergeExternalToolsets(vgBuiltin, projectMcp);
|
|
8251
8248
|
try {
|
|
8252
|
-
const { loadFederation } = await import('./federation-
|
|
8249
|
+
const { loadFederation } = await import('./federation-M4ZNXOPX.js');
|
|
8253
8250
|
const { resolveExecutionEnv } = await import('./execution-env-4MS5AYAN.js');
|
|
8254
8251
|
const { resolveModelExecutionProfile, mergeModelExecutionProfile } = await import('./model-execution-profile-ELWF3Z6H.js');
|
|
8255
|
-
const { startCodeRuntimeSession } = await import('./runtime-session-
|
|
8256
|
-
const { resolveGraphBackend } = await import('./graph-backend-
|
|
8257
|
-
const { detectGitRef } = await import('./git-ref-
|
|
8258
|
-
const { repositoryIdFromRoot } = await import('./paths-
|
|
8259
|
-
const { vgdRequest } = await import('./vgd-
|
|
8252
|
+
const { startCodeRuntimeSession } = await import('./runtime-session-JYYKQVDX.js');
|
|
8253
|
+
const { resolveGraphBackend } = await import('./graph-backend-NTYONTWW.js');
|
|
8254
|
+
const { detectGitRef } = await import('./git-ref-LMT3EXYY.js');
|
|
8255
|
+
const { repositoryIdFromRoot } = await import('./paths-RVK6FKRN.js');
|
|
8256
|
+
const { vgdRequest } = await import('./vgd-R524P5BJ.js');
|
|
8260
8257
|
const federation = loadFederation(root3);
|
|
8261
8258
|
const modelProfile = mergeModelExecutionProfile(
|
|
8262
8259
|
resolveModelExecutionProfile({
|
|
@@ -8825,7 +8822,7 @@ async function runDoctor(global) {
|
|
|
8825
8822
|
const reachable = local ? null : await probeReachable(base);
|
|
8826
8823
|
const launch = detectServeLaunch();
|
|
8827
8824
|
const optOut = telemetryOptOut();
|
|
8828
|
-
const sys = gatherSystemMemory();
|
|
8825
|
+
const sys = await gatherSystemMemory();
|
|
8829
8826
|
const localInference = buildLocalInferenceStatus({
|
|
8830
8827
|
system: sys,
|
|
8831
8828
|
repo: graph ? { fileCount: graph.nodes?.length ?? 0 } : void 0
|
|
@@ -9156,7 +9153,7 @@ var LANGUAGE_EXTENSIONS = {
|
|
|
9156
9153
|
cobol: [".cbl", ".cob", ".cpy", ".cob85", ".cobol"],
|
|
9157
9154
|
vb6: [".vbp", ".bas", ".cls", ".frm", ".ctl", ".dsr"]
|
|
9158
9155
|
};
|
|
9159
|
-
var
|
|
9156
|
+
var SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
9160
9157
|
"node_modules",
|
|
9161
9158
|
".git",
|
|
9162
9159
|
".vibgrate",
|
|
@@ -9284,7 +9281,7 @@ function registerHcs(program) {
|
|
|
9284
9281
|
const absChild = path46.join(abs, entry.name);
|
|
9285
9282
|
const relChild = rel ? `${rel}/${entry.name}` : entry.name;
|
|
9286
9283
|
if (entry.isDirectory()) {
|
|
9287
|
-
if (!
|
|
9284
|
+
if (!SKIP_DIRS.has(entry.name)) walk2(absChild, relChild);
|
|
9288
9285
|
continue;
|
|
9289
9286
|
}
|
|
9290
9287
|
if (!entry.isFile()) continue;
|
|
@@ -9440,7 +9437,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
|
|
|
9440
9437
|
console.log(chalk7.green("\u2714") + ` Created ${chalk7.bold("vibgrate.config.ts")}`);
|
|
9441
9438
|
}
|
|
9442
9439
|
if (opts.baseline) {
|
|
9443
|
-
const { runBaseline } = await import('./baseline-
|
|
9440
|
+
const { runBaseline } = await import('./baseline-TVRRUZGA.js');
|
|
9444
9441
|
await runBaseline(rootDir);
|
|
9445
9442
|
}
|
|
9446
9443
|
console.log("");
|
|
@@ -9973,8 +9970,8 @@ function reportStandards(rootDir) {
|
|
|
9973
9970
|
}
|
|
9974
9971
|
async function printRuntimeSnapshot(rootDir, opts, already) {
|
|
9975
9972
|
try {
|
|
9976
|
-
const { attachVgd: attachVgd2 } = await import('./attach-
|
|
9977
|
-
const { vgdRequest } = await import('./client-
|
|
9973
|
+
const { attachVgd: attachVgd2 } = await import('./attach-WOA25VNH.js');
|
|
9974
|
+
const { vgdRequest } = await import('./client-P5XSRFV4.js');
|
|
9978
9975
|
const { formatSemanticProgress } = await import('./semantic-status-2JFLIQQJ.js');
|
|
9979
9976
|
let repositoryId = already?.repositoryId;
|
|
9980
9977
|
let socketPath = already?.socketPath;
|
|
@@ -10182,7 +10179,7 @@ var scanCommand = new Command("scan").description("Scan a project for upgrade dr
|
|
|
10182
10179
|
const advanced = await loadAdvancedScanHook();
|
|
10183
10180
|
const artifact = await runCoreScan(rootDir, scanOpts, advanced);
|
|
10184
10181
|
if (wantGraph && builtGraph) {
|
|
10185
|
-
const { attachVgd: attachVgd2 } = await import('./attach-
|
|
10182
|
+
const { attachVgd: attachVgd2 } = await import('./attach-WOA25VNH.js');
|
|
10186
10183
|
const { ActivityLog: ActivityLog2 } = await import('./activity-MF2GNYAI.js');
|
|
10187
10184
|
const activity = new ActivityLog2();
|
|
10188
10185
|
const attached = await activity.time(
|
|
@@ -10309,7 +10306,7 @@ var WATCHED_FILES = /* @__PURE__ */ new Set([
|
|
|
10309
10306
|
"packages.lock.json"
|
|
10310
10307
|
]);
|
|
10311
10308
|
var WATCHED_EXT = /\.(cs|fs)proj$/i;
|
|
10312
|
-
var
|
|
10309
|
+
var SKIP_DIRS2 = /* @__PURE__ */ new Set([
|
|
10313
10310
|
"node_modules",
|
|
10314
10311
|
".git",
|
|
10315
10312
|
"dist",
|
|
@@ -10350,7 +10347,7 @@ function scanStaleness(rootDir, artifactPath) {
|
|
|
10350
10347
|
scanned++;
|
|
10351
10348
|
if (scanned > MAX_ENTRIES2) break;
|
|
10352
10349
|
if (e.isDirectory()) {
|
|
10353
|
-
if (!
|
|
10350
|
+
if (!SKIP_DIRS2.has(e.name) && !e.name.startsWith(".")) walk2(path46.join(dir, e.name), depth + 1);
|
|
10354
10351
|
continue;
|
|
10355
10352
|
}
|
|
10356
10353
|
if (!WATCHED_FILES.has(e.name) && !WATCHED_EXT.test(e.name)) continue;
|
|
@@ -10427,7 +10424,7 @@ function extractContracts(content, pkg, ecosystem) {
|
|
|
10427
10424
|
}
|
|
10428
10425
|
|
|
10429
10426
|
// src/reporting/planning/usage.ts
|
|
10430
|
-
var
|
|
10427
|
+
var SKIP_DIRS3 = /* @__PURE__ */ new Set([
|
|
10431
10428
|
"node_modules",
|
|
10432
10429
|
".git",
|
|
10433
10430
|
"dist",
|
|
@@ -10502,7 +10499,7 @@ function analyzeTree(root3, packages) {
|
|
|
10502
10499
|
for (const entry of entries) {
|
|
10503
10500
|
if (filesSeen >= MAX_FILES) return;
|
|
10504
10501
|
if (entry.isDirectory()) {
|
|
10505
|
-
if (
|
|
10502
|
+
if (SKIP_DIRS3.has(entry.name) || entry.name.startsWith(".")) continue;
|
|
10506
10503
|
walk2(path46.join(dir, entry.name), depth + 1);
|
|
10507
10504
|
continue;
|
|
10508
10505
|
}
|
|
@@ -11088,10 +11085,11 @@ ${String(err)}` }));
|
|
|
11088
11085
|
async function releaseWindowsFileLocks(cwd, keepVersion) {
|
|
11089
11086
|
reapAndReport(cwd, keepVersion);
|
|
11090
11087
|
try {
|
|
11091
|
-
const { vgdSocketPath } = await import('./vgd-
|
|
11088
|
+
const { vgdSocketPath } = await import('./vgd-R524P5BJ.js');
|
|
11092
11089
|
const result = await stopVgd(vgdSocketPath());
|
|
11093
11090
|
if (result === "stopped") {
|
|
11094
|
-
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;
|
|
11095
11093
|
} else if (result === "refused") {
|
|
11096
11094
|
console.log(
|
|
11097
11095
|
chalk7.dim(
|
|
@@ -11101,6 +11099,7 @@ async function releaseWindowsFileLocks(cwd, keepVersion) {
|
|
|
11101
11099
|
}
|
|
11102
11100
|
} catch {
|
|
11103
11101
|
}
|
|
11102
|
+
return false;
|
|
11104
11103
|
}
|
|
11105
11104
|
async function offerDeferredWindowsUpdate(cmd, assumeYes) {
|
|
11106
11105
|
console.error(
|
|
@@ -11190,8 +11189,9 @@ var updateCommand = new Command("update").description("Update vibgrate to the la
|
|
|
11190
11189
|
cmd = getInstallCommand(pm, PACKAGE_NAME, latest, isDev, { workspaceRoot });
|
|
11191
11190
|
console.log(chalk7.dim(`Using ${pm}: ${cmd}`));
|
|
11192
11191
|
}
|
|
11192
|
+
let stoppedVgdForInstall = false;
|
|
11193
11193
|
if (process.platform === "win32" && isGlobal && opts.reap !== false) {
|
|
11194
|
-
await releaseWindowsFileLocks(cwd, latest);
|
|
11194
|
+
stoppedVgdForInstall = await releaseWindowsFileLocks(cwd, latest);
|
|
11195
11195
|
}
|
|
11196
11196
|
const install = await runInstall(cmd, cwd);
|
|
11197
11197
|
if (install.ok) {
|
|
@@ -11204,7 +11204,9 @@ var updateCommand = new Command("update").description("Update vibgrate to the la
|
|
|
11204
11204
|
process.exit(1);
|
|
11205
11205
|
}
|
|
11206
11206
|
if (opts.reap !== false) reapAndReport(cwd, latest);
|
|
11207
|
-
if (opts.reap !== false)
|
|
11207
|
+
if (opts.reap !== false) {
|
|
11208
|
+
await restartVgdAndReport({ force: true, startIfNotRunning: stoppedVgdForInstall });
|
|
11209
|
+
}
|
|
11208
11210
|
try {
|
|
11209
11211
|
clearEmbedderHealth();
|
|
11210
11212
|
} catch {
|
|
@@ -11214,7 +11216,7 @@ var updateCommand = new Command("update").description("Update vibgrate to the la
|
|
|
11214
11216
|
);
|
|
11215
11217
|
async function rewarmVgdAndReport(cwd) {
|
|
11216
11218
|
try {
|
|
11217
|
-
const { vgdIsRunning, vgdRequest } = await import('./vgd-
|
|
11219
|
+
const { vgdIsRunning, vgdRequest } = await import('./vgd-R524P5BJ.js');
|
|
11218
11220
|
if (!await vgdIsRunning()) return;
|
|
11219
11221
|
const loaded = await vgdRequest({ op: "load-graph", root: cwd });
|
|
11220
11222
|
if (!loaded.ok || !("stored" in loaded)) return;
|
|
@@ -11256,6 +11258,8 @@ async function restartVgdAndReport(opts = {}) {
|
|
|
11256
11258
|
if (result === "not-running") return;
|
|
11257
11259
|
if (result === "restarted") {
|
|
11258
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."));
|
|
11259
11263
|
} else if (result === "refused") {
|
|
11260
11264
|
console.log(
|
|
11261
11265
|
chalk7.dim("A vgd that cannot be stopped remotely is running \u2014 restart the process holding the socket to pick up the update.")
|