@vibgrate/cli 2026.819.2 → 2026.824.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/dist/{agent-ZJRWCMR6.js → agent-6SJVWFPV.js} +12 -12
- package/dist/{agent-ZJRWCMR6.js.map → agent-6SJVWFPV.js.map} +1 -1
- package/dist/{approvals-YTUXBZWQ.js → approvals-5UBLBNJF.js} +5 -5
- package/dist/{approvals-YTUXBZWQ.js.map → approvals-5UBLBNJF.js.map} +1 -1
- package/dist/{attach-WOA25VNH.js → attach-PSGCCJMA.js} +3 -3
- package/dist/{attach-WOA25VNH.js.map → attach-PSGCCJMA.js.map} +1 -1
- package/dist/baseline-HPXACNFU.js +9 -0
- package/dist/{baseline-TVRRUZGA.js.map → baseline-HPXACNFU.js.map} +1 -1
- package/dist/{chunk-24HKTTFV.js → chunk-2IY24TTR.js} +3 -3
- package/dist/{chunk-24HKTTFV.js.map → chunk-2IY24TTR.js.map} +1 -1
- package/dist/{chunk-7BSUPHX6.js → chunk-3PNAQUZM.js} +3 -3
- package/dist/{chunk-7BSUPHX6.js.map → chunk-3PNAQUZM.js.map} +1 -1
- package/dist/{chunk-W6ASIMG5.js → chunk-4PDWV4AE.js} +10 -12
- package/dist/chunk-4PDWV4AE.js.map +1 -0
- package/dist/{chunk-2ZBLZ2S3.js → chunk-5QO2GFAE.js} +27 -23
- package/dist/chunk-5QO2GFAE.js.map +1 -0
- package/dist/{chunk-GBXOAO5V.js → chunk-5UG4UHKU.js} +40 -10
- package/dist/chunk-5UG4UHKU.js.map +1 -0
- package/dist/chunk-AGOKTI77.js +6 -0
- package/dist/{chunk-ZUZHYAJK.js.map → chunk-AGOKTI77.js.map} +1 -1
- package/dist/{chunk-C2EZIAA3.js → chunk-B5GOCQFB.js} +9 -9
- package/dist/{chunk-C2EZIAA3.js.map → chunk-B5GOCQFB.js.map} +1 -1
- package/dist/{chunk-MMJFHEZ4.js → chunk-CJ2R3LVX.js} +4 -4
- package/dist/{chunk-MMJFHEZ4.js.map → chunk-CJ2R3LVX.js.map} +1 -1
- package/dist/{chunk-2C4QT5D7.js → chunk-III7S75O.js} +53 -463
- package/dist/chunk-III7S75O.js.map +1 -0
- package/dist/{chunk-IMI2VHHZ.js → chunk-IKB5U3AH.js} +3 -3
- package/dist/{chunk-IMI2VHHZ.js.map → chunk-IKB5U3AH.js.map} +1 -1
- package/dist/{chunk-AP3JN33O.js → chunk-JL66EPZ4.js} +221 -10
- package/dist/chunk-JL66EPZ4.js.map +1 -0
- package/dist/{chunk-QE6F62FR.js → chunk-KBLKNR3V.js} +3 -3
- package/dist/{chunk-QE6F62FR.js.map → chunk-KBLKNR3V.js.map} +1 -1
- package/dist/{chunk-JPOYXG7Z.js → chunk-KRE7SXSA.js} +12 -13
- package/dist/chunk-KRE7SXSA.js.map +1 -0
- package/dist/{chunk-XW2XQM3C.js → chunk-LA4CETXN.js} +3 -3
- package/dist/{chunk-XW2XQM3C.js.map → chunk-LA4CETXN.js.map} +1 -1
- package/dist/{chunk-OGFOJG4H.js → chunk-LMHKIQA5.js} +3 -3
- package/dist/{chunk-OGFOJG4H.js.map → chunk-LMHKIQA5.js.map} +1 -1
- package/dist/{chunk-FCMWHSQ6.js → chunk-M5QSBXA6.js} +17 -4
- package/dist/chunk-M5QSBXA6.js.map +1 -0
- package/dist/{chunk-R5TQBIR6.js → chunk-QLNJ3VWO.js} +3 -3
- package/dist/{chunk-R5TQBIR6.js.map → chunk-QLNJ3VWO.js.map} +1 -1
- package/dist/{chunk-XLQ4YHS3.js → chunk-QP3P4V4I.js} +10 -8
- package/dist/chunk-QP3P4V4I.js.map +1 -0
- package/dist/{chunk-BQ6NTRRK.js → chunk-RAEHWCN6.js} +6 -6
- package/dist/{chunk-BQ6NTRRK.js.map → chunk-RAEHWCN6.js.map} +1 -1
- package/dist/{chunk-USPMMVNH.js → chunk-SGIFJIII.js} +3 -3
- package/dist/{chunk-USPMMVNH.js.map → chunk-SGIFJIII.js.map} +1 -1
- package/dist/{chunk-CBL3VY7J.js → chunk-TWWVTKA7.js} +35 -14
- package/dist/chunk-TWWVTKA7.js.map +1 -0
- package/dist/chunk-USW5WHUG.js +605 -0
- package/dist/chunk-USW5WHUG.js.map +1 -0
- package/dist/{chunk-NKKOGJ63.js → chunk-UUNEUEPQ.js} +71 -9
- package/dist/chunk-UUNEUEPQ.js.map +1 -0
- package/dist/{chunk-WPLOEFZU.js → chunk-WATYIYWP.js} +3 -3
- package/dist/{chunk-WPLOEFZU.js.map → chunk-WATYIYWP.js.map} +1 -1
- package/dist/{chunk-PJRPSYFQ.js → chunk-XHIWQGRE.js} +5 -5
- package/dist/{chunk-PJRPSYFQ.js.map → chunk-XHIWQGRE.js.map} +1 -1
- package/dist/{chunk-AQZYDFEK.js → chunk-YJ23GGAJ.js} +3 -3
- package/dist/{chunk-AQZYDFEK.js.map → chunk-YJ23GGAJ.js.map} +1 -1
- package/dist/cli.js +379 -544
- package/dist/cli.js.map +1 -1
- package/dist/{daemon-YKOEP3XA.js → daemon-AEL5N4SJ.js} +9 -9
- package/dist/{daemon-YKOEP3XA.js.map → daemon-AEL5N4SJ.js.map} +1 -1
- package/dist/embed-worker-main.js +3 -3
- package/dist/{ensure-map-BLRJDO2Y.js → ensure-map-YL5NR6UH.js} +15 -15
- package/dist/{ensure-map-BLRJDO2Y.js.map → ensure-map-YL5NR6UH.js.map} +1 -1
- package/dist/{graph-backend-NTYONTWW.js → graph-backend-LEPXFPXQ.js} +7 -7
- package/dist/{graph-backend-NTYONTWW.js.map → graph-backend-LEPXFPXQ.js.map} +1 -1
- package/dist/index.d.ts +72 -130
- package/dist/index.js +15 -15
- package/dist/{interactive-B3WTC7LB.js → interactive-YJ37ZWTA.js} +27 -26
- package/dist/interactive-YJ37ZWTA.js.map +1 -0
- package/dist/load-LT6R73IZ.js +11 -0
- package/dist/{load-AJROS77R.js.map → load-LT6R73IZ.js.map} +1 -1
- package/dist/parse-worker.js +3 -2
- package/dist/parse-worker.js.map +1 -1
- package/dist/{run-outcome-SBBSTSH3.js → run-outcome-YQBPYNEY.js} +5 -5
- package/dist/{run-outcome-SBBSTSH3.js.map → run-outcome-YQBPYNEY.js.map} +1 -1
- package/dist/{runtime-session-JYYKQVDX.js → runtime-session-JSH5UL7Z.js} +9 -9
- package/dist/{runtime-session-JYYKQVDX.js.map → runtime-session-JSH5UL7Z.js.map} +1 -1
- package/dist/{session-2ZMHZ2O6.js → session-3FLVZRMM.js} +8 -8
- package/dist/{session-2ZMHZ2O6.js.map → session-3FLVZRMM.js.map} +1 -1
- package/dist/{stream-json-ZWGB4C47.js → stream-json-VJ2O52CR.js} +12 -12
- package/dist/{stream-json-ZWGB4C47.js.map → stream-json-VJ2O52CR.js.map} +1 -1
- package/dist/version-VUTM46C5.js +4 -0
- package/dist/{version-5QIEUXU6.js.map → version-VUTM46C5.js.map} +1 -1
- package/dist/{vg-mcp-bridge-4FETMJ6M.js → vg-mcp-bridge-UUMEOJSO.js} +9 -9
- package/dist/{vg-mcp-bridge-4FETMJ6M.js.map → vg-mcp-bridge-UUMEOJSO.js.map} +1 -1
- package/dist/{vgd-R524P5BJ.js → vgd-XFT574U6.js} +8 -8
- package/dist/vgd-XFT574U6.js.map +1 -0
- package/package.json +2 -1
- package/dist/baseline-TVRRUZGA.js +0 -9
- package/dist/chunk-2C4QT5D7.js.map +0 -1
- package/dist/chunk-2ZBLZ2S3.js.map +0 -1
- package/dist/chunk-AP3JN33O.js.map +0 -1
- package/dist/chunk-CA4YQBA7.js +0 -699
- package/dist/chunk-CA4YQBA7.js.map +0 -1
- package/dist/chunk-CBL3VY7J.js.map +0 -1
- package/dist/chunk-FCMWHSQ6.js.map +0 -1
- package/dist/chunk-GBXOAO5V.js.map +0 -1
- package/dist/chunk-JPOYXG7Z.js.map +0 -1
- package/dist/chunk-NKKOGJ63.js.map +0 -1
- package/dist/chunk-W6ASIMG5.js.map +0 -1
- package/dist/chunk-XLQ4YHS3.js.map +0 -1
- package/dist/chunk-ZUZHYAJK.js +0 -6
- package/dist/interactive-B3WTC7LB.js.map +0 -1
- package/dist/load-AJROS77R.js +0 -11
- package/dist/version-5QIEUXU6.js +0 -4
- package/dist/vgd-R524P5BJ.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { isSecretPath, secretRefusal, secretEgressRefusal, redactText } from './chunk-543E6WDJ.js';
|
|
2
|
-
import { findMatchingRule, ruleLabel } from './chunk-
|
|
3
|
-
import { localGraphBackend } from './chunk-
|
|
2
|
+
import { findMatchingRule, ruleLabel } from './chunk-IKB5U3AH.js';
|
|
3
|
+
import { localGraphBackend } from './chunk-YJ23GGAJ.js';
|
|
4
4
|
import { buildAgentMessages, redactSecrets, unifiedDiff, applyEdit } from './chunk-SHD5TCZ5.js';
|
|
5
5
|
import { buildIdentifierTrieFromGraph, KvBlockRegistry, graphDraftCandidates, extractIdentifiers, scanIdentifiersAgainstTrie } from './chunk-5HYCB55P.js';
|
|
6
6
|
import { resolve } from './chunk-VIWZ4QT7.js';
|
|
7
|
-
import { searchSymbols, resolveLib, loadCatalog, readDoc, localPackageDocs, resolveVersion } from './chunk-
|
|
8
|
-
import { summarizeCapsule, CAPSULE_RANKING_VERSION, buildCodeContext, buildTaskCapsule, capsuleToCodeContext, recordCliCall, CLI_TOOL_ALIASES } from './chunk-
|
|
7
|
+
import { searchSymbols, resolveLib, loadCatalog, readDoc, localPackageDocs, resolveVersion } from './chunk-WATYIYWP.js';
|
|
8
|
+
import { summarizeCapsule, CAPSULE_RANKING_VERSION, buildCodeContext, buildTaskCapsule, capsuleToCodeContext, recordCliCall, CLI_TOOL_ALIASES } from './chunk-TWWVTKA7.js';
|
|
9
9
|
import { resolveOne } from './chunk-J7LKEB2R.js';
|
|
10
|
-
import { userAskFromInstruction, isLocateOnlyInstruction, extractLiteralNeedles, impactOf } from './chunk-
|
|
11
|
-
import { parseSource } from './chunk-
|
|
10
|
+
import { userAskFromInstruction, isLocateOnlyInstruction, extractLiteralNeedles, impactOf } from './chunk-USW5WHUG.js';
|
|
11
|
+
import { parseSource } from './chunk-M5QSBXA6.js';
|
|
12
12
|
import { langForExtension } from './chunk-6WRG7VDO.js';
|
|
13
|
-
import {
|
|
13
|
+
import { loadTopicTags, rankQuestion } from './chunk-III7S75O.js';
|
|
14
14
|
import { repositoryIdFromRoot } from './chunk-XP6UUCZZ.js';
|
|
15
15
|
import { hashString, canonicalize } from './chunk-JFGYT6BI.js';
|
|
16
16
|
import { spawnSync, spawn } from 'child_process';
|
|
@@ -1939,8 +1939,8 @@ async function runSubagent(host, req) {
|
|
|
1939
1939
|
text: `Subagent starting${worktreePath ? ` in worktree ${worktreePath}` : " in-place"}\u2026`
|
|
1940
1940
|
});
|
|
1941
1941
|
try {
|
|
1942
|
-
const { runAgent: runAgent2 } = await import('./agent-
|
|
1943
|
-
const { nodeCodeFs } = await import('./session-
|
|
1942
|
+
const { runAgent: runAgent2 } = await import('./agent-6SJVWFPV.js');
|
|
1943
|
+
const { nodeCodeFs } = await import('./session-3FLVZRMM.js');
|
|
1944
1944
|
const childFs = childRoot === host.root ? host.fsImpl : nodeCodeFs(childRoot);
|
|
1945
1945
|
const childApprove = async (action) => {
|
|
1946
1946
|
host.onEvent?.({
|
|
@@ -3484,9 +3484,13 @@ async function runAgent(options) {
|
|
|
3484
3484
|
const allowSubagents = options.allowSubagents !== false && !options.plan;
|
|
3485
3485
|
const agentToolSpecs = allowSubagents ? AGENT_TOOLS : AGENT_TOOLS.filter((t) => t.name !== "spawn_subagent");
|
|
3486
3486
|
const allTools = [...agentToolSpecs, ...options.externalTools?.specs ?? []];
|
|
3487
|
-
const
|
|
3488
|
-
const
|
|
3489
|
-
|
|
3487
|
+
const topicTags = await loadTopicTags(graph, options.root);
|
|
3488
|
+
const ranked = await rankQuestion(graph, userAskFromInstruction(instruction), {
|
|
3489
|
+
limit: 48,
|
|
3490
|
+
priorQuestion: options.priorInstruction ? userAskFromInstruction(options.priorInstruction) : null,
|
|
3491
|
+
topicTags
|
|
3492
|
+
});
|
|
3493
|
+
const built = buildAgentContext(graph, instruction, { ...options, fsImpl, budget, ranked });
|
|
3490
3494
|
const context = built.context;
|
|
3491
3495
|
let capsule = built.capsule;
|
|
3492
3496
|
const useLadder = options.verifyLadder ?? !!capsule;
|
|
@@ -3698,12 +3702,15 @@ async function runAgent(options) {
|
|
|
3698
3702
|
onEvent({ type: "session-graph", reparsed: session.reparsed.length, dirty: session.deleted.length + session.rewritten.length });
|
|
3699
3703
|
if (options.capsule && capsule) {
|
|
3700
3704
|
try {
|
|
3705
|
+
const nextRanked = await rankQuestion(session.graph, userAskFromInstruction(instruction), {
|
|
3706
|
+
limit: 48,
|
|
3707
|
+
priorQuestion: options.priorInstruction ? userAskFromInstruction(options.priorInstruction) : null,
|
|
3708
|
+
topicTags: await loadTopicTags(session.graph, root)
|
|
3709
|
+
});
|
|
3701
3710
|
const nextCapsule = buildTaskCapsule(session.graph, instruction, {
|
|
3702
3711
|
budget,
|
|
3703
3712
|
files: options.files,
|
|
3704
|
-
|
|
3705
|
-
topicTags,
|
|
3706
|
-
priorInstruction: options.priorInstruction,
|
|
3713
|
+
ranked: nextRanked,
|
|
3707
3714
|
readFile: (rel) => fsImpl.read(rel),
|
|
3708
3715
|
repositoryId: repositoryIdFromRoot(root),
|
|
3709
3716
|
provenance: {
|
|
@@ -4173,20 +4180,17 @@ ${filesChanged.length ? `Files changed so far: ${filesChanged.join(", ")}. ` : "
|
|
|
4173
4180
|
function buildAgentContext(graph, instruction, options) {
|
|
4174
4181
|
const budget = options.budget ?? 3e3;
|
|
4175
4182
|
const files = options.files;
|
|
4176
|
-
const
|
|
4177
|
-
const topicTags = options.topicTags;
|
|
4183
|
+
const ranked = options.ranked;
|
|
4178
4184
|
if (!options.capsule) {
|
|
4179
4185
|
return {
|
|
4180
|
-
context: buildCodeContext(graph, instruction, { budget, files,
|
|
4186
|
+
context: buildCodeContext(graph, instruction, { budget, files, ranked }),
|
|
4181
4187
|
capsule: null
|
|
4182
4188
|
};
|
|
4183
4189
|
}
|
|
4184
4190
|
const capsule = buildTaskCapsule(graph, instruction, {
|
|
4185
4191
|
budget,
|
|
4186
4192
|
files,
|
|
4187
|
-
|
|
4188
|
-
topicTags,
|
|
4189
|
-
priorInstruction: options.priorInstruction,
|
|
4193
|
+
ranked,
|
|
4190
4194
|
readFile: (rel) => options.fsImpl.read(rel),
|
|
4191
4195
|
repositoryId: repositoryIdFromRoot(options.root),
|
|
4192
4196
|
extraPinnedFacts: options.extraPinnedFacts,
|
|
@@ -4278,5 +4282,5 @@ function buildSpanIndex(graph) {
|
|
|
4278
4282
|
}
|
|
4279
4283
|
|
|
4280
4284
|
export { CONTEXT_POLICY_VERSION, DISCOVERY_TOOLS, MUTATION_TOOLS, compact, compactWithModel, computeFcsReport, createTrajectoryCollector, lookupModelCapabilities, renderFcsReportMarkdown, runAgent };
|
|
4281
|
-
//# sourceMappingURL=chunk-
|
|
4282
|
-
//# sourceMappingURL=chunk-
|
|
4285
|
+
//# sourceMappingURL=chunk-5QO2GFAE.js.map
|
|
4286
|
+
//# sourceMappingURL=chunk-5QO2GFAE.js.map
|