nexus-agents 2.160.0 → 2.161.0
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/{child-mcp-config-XEXFG3LA.js → child-mcp-config-CR5HFAFF.js} +2 -2
- package/dist/{chunk-SNKSSSAR.js → chunk-2XOUYCGO.js} +4 -4
- package/dist/{chunk-AMY4S4VD.js → chunk-3B2WRRTU.js} +2 -2
- package/dist/{chunk-I2DK3KSH.js → chunk-3CPGHAZN.js} +2 -2
- package/dist/{chunk-7XISTLQP.js → chunk-5VYWG6N4.js} +8 -8
- package/dist/{chunk-RNCBSF6I.js → chunk-6QOMNQAM.js} +2 -2
- package/dist/{chunk-WRISLYLK.js → chunk-7ABXSM2X.js} +2 -2
- package/dist/{chunk-OQUELE4L.js → chunk-AYTV4P26.js} +38 -35
- package/dist/{chunk-OQUELE4L.js.map → chunk-AYTV4P26.js.map} +1 -1
- package/dist/{chunk-B23GFISN.js → chunk-B3FRHPJW.js} +3 -3
- package/dist/{chunk-SN4Q7TZT.js → chunk-B4DIA6YS.js} +2 -2
- package/dist/{chunk-ED6B55WK.js → chunk-B6CLLXZB.js} +3 -3
- package/dist/{chunk-HBLVOFLL.js → chunk-CWVPSHEP.js} +2 -2
- package/dist/{chunk-IG2SIC2E.js → chunk-DMFDSHOQ.js} +2 -2
- package/dist/{chunk-HT3B6ZWV.js → chunk-DTBU4J67.js} +2 -2
- package/dist/{chunk-E7LG7L4O.js → chunk-E5XTAHAS.js} +91 -11
- package/dist/chunk-E5XTAHAS.js.map +1 -0
- package/dist/{chunk-MXNIOTDY.js → chunk-E7SVEDLI.js} +3 -3
- package/dist/{chunk-ZO54JW4V.js → chunk-FE4TTIW7.js} +3 -3
- package/dist/{chunk-SHFCJJTY.js → chunk-FKXR4ELM.js} +6 -6
- package/dist/{chunk-SHFCJJTY.js.map → chunk-FKXR4ELM.js.map} +1 -1
- package/dist/{chunk-I6NTUVGW.js → chunk-HUXMIDNV.js} +2 -2
- package/dist/chunk-HUXMIDNV.js.map +1 -0
- package/dist/{chunk-QVIQAIOK.js → chunk-I3RJEXY2.js} +2 -2
- package/dist/{chunk-JYV5MZC6.js → chunk-KFWCF32D.js} +4 -4
- package/dist/{chunk-QD653D5O.js → chunk-LEMQDF4W.js} +7 -7
- package/dist/{chunk-Q6EGZKLE.js → chunk-MMPZLMSH.js} +2 -2
- package/dist/{chunk-WP6UBBNJ.js → chunk-MONR3CEL.js} +4 -4
- package/dist/{chunk-VKUP2PG5.js → chunk-OB4N36EY.js} +14 -10
- package/dist/chunk-OB4N36EY.js.map +1 -0
- package/dist/{chunk-VWX75FKD.js → chunk-PLEB6SON.js} +5 -5
- package/dist/{chunk-3QIXGEY7.js → chunk-POHORI2I.js} +2 -2
- package/dist/{chunk-5NVU25BA.js → chunk-QWZOEVR6.js} +4 -4
- package/dist/{chunk-ZBEJITR6.js → chunk-RV6S6OZJ.js} +5 -5
- package/dist/{chunk-XLEZBTQG.js → chunk-SDJQ2H7V.js} +2 -2
- package/dist/{chunk-O27ZG7BL.js → chunk-THE4NODE.js} +3 -3
- package/dist/{chunk-ICYEG7T4.js → chunk-TVPLAB4X.js} +7 -7
- package/dist/{chunk-FYQSTNG6.js → chunk-VV45XQVW.js} +5 -5
- package/dist/{chunk-4AXOISAP.js → chunk-VWOMHATO.js} +3 -3
- package/dist/{chunk-RU336IEH.js → chunk-WVKEKRZZ.js} +2 -2
- package/dist/{cli-circuit-breaker-SAHRY3BI.js → cli-circuit-breaker-ISW6F7DI.js} +4 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +41 -41
- package/dist/{composite-router-MFJNLR3O.js → composite-router-PB4ZVWUH.js} +2 -2
- package/dist/{consensus-vote-Z55357CP.js → consensus-vote-FVKOLIPS.js} +15 -15
- package/dist/{consensus-vote-types-DB3SmULO.d.ts → consensus-vote-types-BlbNhK1n.d.ts} +1 -1
- package/dist/{context-retriever-Z474PNZ4.js → context-retriever-TGIQ6FNS.js} +8 -8
- package/dist/{doctor-deep-IESAJDVW.js → doctor-deep-VEFTQZMR.js} +3 -3
- package/dist/{expert-bridge-JW4DJPH3.js → expert-bridge-SFBHTNIB.js} +4 -4
- package/dist/{factory-6JIXPGRH.js → factory-DEO5DAXZ.js} +8 -8
- package/dist/{factory-Z7GGTUK2.js → factory-NF7WS67L.js} +5 -5
- package/dist/{improvement-review-5DRIOL5K.js → improvement-review-AFDZO6PL.js} +5 -5
- package/dist/index.d.ts +9 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-T2F5WSLT.js → init-opencode-ELTBZAIN.js} +6 -6
- package/dist/{issue-triage-RC5VVUAV.js → issue-triage-3WL7PW26.js} +6 -6
- package/dist/{pr-reviewer-helpers-G35TGA7R.js → pr-reviewer-helpers-7ES4HWFC.js} +4 -4
- package/dist/{registry-command-47UO65SV.js → registry-command-3AXI4JXN.js} +2 -2
- package/dist/{repo-security-plan-CGXT5CIP.js → repo-security-plan-CTK2K2K7.js} +3 -3
- package/dist/{research-helpers-synthesize-37WHCE5I.js → research-helpers-synthesize-ICHGZ3TE.js} +4 -4
- package/dist/{routing-memory-YWPM45FH.js → routing-memory-CSIJCK3H.js} +2 -2
- package/dist/{session-memory-ENUULCNK.js → session-memory-EYZALDQ2.js} +3 -3
- package/dist/{setup-command-T6I5TRFR.js → setup-command-YFY4HEOU.js} +11 -11
- package/dist/{setup-config-AMGGWQHX.js → setup-config-3IJFI55J.js} +3 -3
- package/dist/{setup-custom-api-UNAPYLEX.js → setup-custom-api-MS2SBFTP.js} +3 -3
- package/dist/{tool-memory-QH3DN2SU.js → tool-memory-WD3LOBUM.js} +5 -5
- package/dist/{unified-registry-YXQGTU3P.js → unified-registry-D7EF252L.js} +9 -9
- package/dist/{weather-report-BUKQ7YPV.js → weather-report-V2GTV5MW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-E7LG7L4O.js.map +0 -1
- package/dist/chunk-I6NTUVGW.js.map +0 -1
- package/dist/chunk-VKUP2PG5.js.map +0 -1
- /package/dist/{child-mcp-config-XEXFG3LA.js.map → child-mcp-config-CR5HFAFF.js.map} +0 -0
- /package/dist/{chunk-SNKSSSAR.js.map → chunk-2XOUYCGO.js.map} +0 -0
- /package/dist/{chunk-AMY4S4VD.js.map → chunk-3B2WRRTU.js.map} +0 -0
- /package/dist/{chunk-I2DK3KSH.js.map → chunk-3CPGHAZN.js.map} +0 -0
- /package/dist/{chunk-7XISTLQP.js.map → chunk-5VYWG6N4.js.map} +0 -0
- /package/dist/{chunk-RNCBSF6I.js.map → chunk-6QOMNQAM.js.map} +0 -0
- /package/dist/{chunk-WRISLYLK.js.map → chunk-7ABXSM2X.js.map} +0 -0
- /package/dist/{chunk-B23GFISN.js.map → chunk-B3FRHPJW.js.map} +0 -0
- /package/dist/{chunk-SN4Q7TZT.js.map → chunk-B4DIA6YS.js.map} +0 -0
- /package/dist/{chunk-ED6B55WK.js.map → chunk-B6CLLXZB.js.map} +0 -0
- /package/dist/{chunk-HBLVOFLL.js.map → chunk-CWVPSHEP.js.map} +0 -0
- /package/dist/{chunk-IG2SIC2E.js.map → chunk-DMFDSHOQ.js.map} +0 -0
- /package/dist/{chunk-HT3B6ZWV.js.map → chunk-DTBU4J67.js.map} +0 -0
- /package/dist/{chunk-MXNIOTDY.js.map → chunk-E7SVEDLI.js.map} +0 -0
- /package/dist/{chunk-ZO54JW4V.js.map → chunk-FE4TTIW7.js.map} +0 -0
- /package/dist/{chunk-QVIQAIOK.js.map → chunk-I3RJEXY2.js.map} +0 -0
- /package/dist/{chunk-JYV5MZC6.js.map → chunk-KFWCF32D.js.map} +0 -0
- /package/dist/{chunk-QD653D5O.js.map → chunk-LEMQDF4W.js.map} +0 -0
- /package/dist/{chunk-Q6EGZKLE.js.map → chunk-MMPZLMSH.js.map} +0 -0
- /package/dist/{chunk-WP6UBBNJ.js.map → chunk-MONR3CEL.js.map} +0 -0
- /package/dist/{chunk-VWX75FKD.js.map → chunk-PLEB6SON.js.map} +0 -0
- /package/dist/{chunk-3QIXGEY7.js.map → chunk-POHORI2I.js.map} +0 -0
- /package/dist/{chunk-5NVU25BA.js.map → chunk-QWZOEVR6.js.map} +0 -0
- /package/dist/{chunk-ZBEJITR6.js.map → chunk-RV6S6OZJ.js.map} +0 -0
- /package/dist/{chunk-XLEZBTQG.js.map → chunk-SDJQ2H7V.js.map} +0 -0
- /package/dist/{chunk-O27ZG7BL.js.map → chunk-THE4NODE.js.map} +0 -0
- /package/dist/{chunk-ICYEG7T4.js.map → chunk-TVPLAB4X.js.map} +0 -0
- /package/dist/{chunk-FYQSTNG6.js.map → chunk-VV45XQVW.js.map} +0 -0
- /package/dist/{chunk-4AXOISAP.js.map → chunk-VWOMHATO.js.map} +0 -0
- /package/dist/{chunk-RU336IEH.js.map → chunk-WVKEKRZZ.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-SAHRY3BI.js.map → cli-circuit-breaker-ISW6F7DI.js.map} +0 -0
- /package/dist/{composite-router-MFJNLR3O.js.map → composite-router-PB4ZVWUH.js.map} +0 -0
- /package/dist/{consensus-vote-Z55357CP.js.map → consensus-vote-FVKOLIPS.js.map} +0 -0
- /package/dist/{context-retriever-Z474PNZ4.js.map → context-retriever-TGIQ6FNS.js.map} +0 -0
- /package/dist/{doctor-deep-IESAJDVW.js.map → doctor-deep-VEFTQZMR.js.map} +0 -0
- /package/dist/{expert-bridge-JW4DJPH3.js.map → expert-bridge-SFBHTNIB.js.map} +0 -0
- /package/dist/{factory-6JIXPGRH.js.map → factory-DEO5DAXZ.js.map} +0 -0
- /package/dist/{factory-Z7GGTUK2.js.map → factory-NF7WS67L.js.map} +0 -0
- /package/dist/{improvement-review-5DRIOL5K.js.map → improvement-review-AFDZO6PL.js.map} +0 -0
- /package/dist/{init-opencode-T2F5WSLT.js.map → init-opencode-ELTBZAIN.js.map} +0 -0
- /package/dist/{issue-triage-RC5VVUAV.js.map → issue-triage-3WL7PW26.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-G35TGA7R.js.map → pr-reviewer-helpers-7ES4HWFC.js.map} +0 -0
- /package/dist/{registry-command-47UO65SV.js.map → registry-command-3AXI4JXN.js.map} +0 -0
- /package/dist/{repo-security-plan-CGXT5CIP.js.map → repo-security-plan-CTK2K2K7.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-37WHCE5I.js.map → research-helpers-synthesize-ICHGZ3TE.js.map} +0 -0
- /package/dist/{routing-memory-YWPM45FH.js.map → routing-memory-CSIJCK3H.js.map} +0 -0
- /package/dist/{session-memory-ENUULCNK.js.map → session-memory-EYZALDQ2.js.map} +0 -0
- /package/dist/{setup-command-T6I5TRFR.js.map → setup-command-YFY4HEOU.js.map} +0 -0
- /package/dist/{setup-config-AMGGWQHX.js.map → setup-config-3IJFI55J.js.map} +0 -0
- /package/dist/{setup-custom-api-UNAPYLEX.js.map → setup-custom-api-MS2SBFTP.js.map} +0 -0
- /package/dist/{tool-memory-QH3DN2SU.js.map → tool-memory-WD3LOBUM.js.map} +0 -0
- /package/dist/{unified-registry-YXQGTU3P.js.map → unified-registry-D7EF252L.js.map} +0 -0
- /package/dist/{weather-report-BUKQ7YPV.js.map → weather-report-V2GTV5MW.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E5XTAHAS.js";
|
|
4
4
|
import "./chunk-NL7SZQPW.js";
|
|
5
5
|
import "./chunk-DHVMSIT5.js";
|
|
6
6
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
generateMcpConfig,
|
|
61
61
|
getDefaultAllowedTools
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=child-mcp-config-
|
|
63
|
+
//# sourceMappingURL=child-mcp-config-CR5HFAFF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenAIAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-THE4NODE.js";
|
|
4
4
|
import {
|
|
5
5
|
computeCostDetail,
|
|
6
6
|
recordUsageEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B4DIA6YS.js";
|
|
8
8
|
import {
|
|
9
9
|
ConfigError,
|
|
10
10
|
createLogger,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getErrorMessage,
|
|
13
13
|
getTimeProvider,
|
|
14
14
|
ok
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E5XTAHAS.js";
|
|
16
16
|
|
|
17
17
|
// src/config/opencode-bridge.ts
|
|
18
18
|
import { readFileSync } from "fs";
|
|
@@ -194,4 +194,4 @@ export {
|
|
|
194
194
|
discoverModels,
|
|
195
195
|
buildOpenAICompatAdapters
|
|
196
196
|
};
|
|
197
|
-
//# sourceMappingURL=chunk-
|
|
197
|
+
//# sourceMappingURL=chunk-2XOUYCGO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E5XTAHAS.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-3B2WRRTU.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E5XTAHAS.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/doctor-deep.ts
|
|
8
8
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
runDeepDiagnostics,
|
|
107
107
|
formatDeepDiagnostics
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-3CPGHAZN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B4DIA6YS.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_CONSENSUS_CONFIG,
|
|
6
6
|
DEFAULT_INCREMENTAL_QUORUM_CONFIG,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
toolSuccess,
|
|
19
19
|
withProgressHeartbeat,
|
|
20
20
|
wrapToolWithTimeout
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VWOMHATO.js";
|
|
22
22
|
import {
|
|
23
23
|
getToolMemory
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MONR3CEL.js";
|
|
25
25
|
import {
|
|
26
26
|
createEvent,
|
|
27
27
|
getGlobalRegistry
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KFWCF32D.js";
|
|
29
29
|
import {
|
|
30
30
|
authRemediation,
|
|
31
31
|
delay,
|
|
32
32
|
getAvailableClis,
|
|
33
33
|
withTimeout
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LEMQDF4W.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentError,
|
|
37
37
|
CLI_NAMES,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
registerPersistentOutcomeStoreFactory,
|
|
60
60
|
resolveClassGuardMs,
|
|
61
61
|
resolveVoteTimeout
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-E5XTAHAS.js";
|
|
63
63
|
import {
|
|
64
64
|
ensureLearningDir,
|
|
65
65
|
getOutcomesFile
|
|
@@ -5866,7 +5866,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
5866
5866
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
5867
5867
|
async function runContrarianCheck(proposal, log) {
|
|
5868
5868
|
try {
|
|
5869
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
5869
|
+
const { executeExpert } = await import("./expert-bridge-SFBHTNIB.js");
|
|
5870
5870
|
const prompt = [
|
|
5871
5871
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
5872
5872
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -6382,4 +6382,4 @@ export {
|
|
|
6382
6382
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
6383
6383
|
registerConsensusVoteTool
|
|
6384
6384
|
};
|
|
6385
|
-
//# sourceMappingURL=chunk-
|
|
6385
|
+
//# sourceMappingURL=chunk-5VYWG6N4.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E5XTAHAS.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/research-helpers-io.ts
|
|
14
14
|
import * as fs2 from "fs/promises";
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
loadPapersRegistry,
|
|
147
147
|
savePapersRegistry
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-6QOMNQAM.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E5XTAHAS.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-7ABXSM2X.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DMFDSHOQ.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
DEFAULT_TASK_TTL_MS,
|
|
19
19
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
20
20
|
clampTaskTtl
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OB4N36EY.js";
|
|
22
22
|
import {
|
|
23
23
|
executeExpert
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TVPLAB4X.js";
|
|
25
25
|
import {
|
|
26
26
|
JobStatusSchema,
|
|
27
27
|
abortJob,
|
|
@@ -42,21 +42,21 @@ import {
|
|
|
42
42
|
simulationDeniedResult,
|
|
43
43
|
toJobSummary,
|
|
44
44
|
writeJobCancelled
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-5VYWG6N4.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeTopicToCanonical,
|
|
48
48
|
synthesizeResearch
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-B3FRHPJW.js";
|
|
50
50
|
import {
|
|
51
51
|
IssueTriage
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PLEB6SON.js";
|
|
53
53
|
import {
|
|
54
54
|
resolveEnvMode,
|
|
55
55
|
sanitizeInput
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-CWVPSHEP.js";
|
|
57
57
|
import {
|
|
58
58
|
withPrerequisite
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-E7SVEDLI.js";
|
|
60
60
|
import {
|
|
61
61
|
NOOP_NOTIFIER,
|
|
62
62
|
RateLimiter,
|
|
@@ -79,12 +79,12 @@ import {
|
|
|
79
79
|
withAuditTrail,
|
|
80
80
|
withProgressHeartbeat,
|
|
81
81
|
wrapToolWithTimeout
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-VWOMHATO.js";
|
|
83
83
|
import {
|
|
84
84
|
createAuditTrail,
|
|
85
85
|
createGraphAuditBridge,
|
|
86
86
|
emitPipelinePolicyEvent
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-I3RJEXY2.js";
|
|
88
88
|
import {
|
|
89
89
|
addResearchPaper,
|
|
90
90
|
addSourceToRegistry,
|
|
@@ -112,15 +112,15 @@ import {
|
|
|
112
112
|
parseRegistry,
|
|
113
113
|
sourceExistsInRegistry,
|
|
114
114
|
summarizeContextForPrompt
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-VV45XQVW.js";
|
|
116
116
|
import {
|
|
117
117
|
getTokenEnvVars,
|
|
118
118
|
resolveToken
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-MMPZLMSH.js";
|
|
120
120
|
import {
|
|
121
121
|
loadPapersRegistry,
|
|
122
122
|
loadTechniquesRegistry
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-6QOMNQAM.js";
|
|
124
124
|
import {
|
|
125
125
|
resolveInsideRoot
|
|
126
126
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -129,14 +129,14 @@ import {
|
|
|
129
129
|
MemoryImportance,
|
|
130
130
|
calculateTextJaccardSimilarity,
|
|
131
131
|
getToolMemory
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-MONR3CEL.js";
|
|
133
133
|
import {
|
|
134
134
|
STOPWORDS,
|
|
135
135
|
truncateWithInfo
|
|
136
136
|
} from "./chunk-6T3EPABN.js";
|
|
137
137
|
import {
|
|
138
138
|
createSessionMemory
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-SDJQ2H7V.js";
|
|
140
140
|
import {
|
|
141
141
|
BUILT_IN_EXPERTS,
|
|
142
142
|
BuiltInExpertTypeSchema,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
createEvent,
|
|
152
152
|
getGlobalEventBus,
|
|
153
153
|
getGlobalRegistry
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-KFWCF32D.js";
|
|
155
155
|
import {
|
|
156
156
|
CliDetectionCache,
|
|
157
157
|
asRecord,
|
|
@@ -159,19 +159,19 @@ import {
|
|
|
159
159
|
getAvailableClis,
|
|
160
160
|
sleep,
|
|
161
161
|
withTimeout
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-LEMQDF4W.js";
|
|
163
163
|
import {
|
|
164
164
|
DEFAULTS
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-FKXR4ELM.js";
|
|
166
166
|
import {
|
|
167
167
|
getAvailabilityCache,
|
|
168
168
|
getCliForModelId,
|
|
169
169
|
resolveFallback
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-WVKEKRZZ.js";
|
|
171
171
|
import {
|
|
172
172
|
generateHyphenId,
|
|
173
173
|
generateUUID
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-7ABXSM2X.js";
|
|
175
175
|
import {
|
|
176
176
|
AGENT_ROUTER_TIMEOUTS,
|
|
177
177
|
API_TIMEOUTS,
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
selectStrategyByManifest,
|
|
264
264
|
toExpertTaskAnalysisResult,
|
|
265
265
|
withStep
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-E5XTAHAS.js";
|
|
267
267
|
import {
|
|
268
268
|
ensureLearningDir,
|
|
269
269
|
getMetaOutcomesFile,
|
|
@@ -26298,7 +26298,7 @@ function execIdFields(executionId) {
|
|
|
26298
26298
|
async function populateUnifiedContextOnState(state, options) {
|
|
26299
26299
|
const taskCandidate = state["task"];
|
|
26300
26300
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26301
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26301
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-TGIQ6FNS.js");
|
|
26302
26302
|
const category = inferTaskCategory2(taskCandidate);
|
|
26303
26303
|
const executionId = options?.executionId;
|
|
26304
26304
|
const execFields = execIdFields(executionId);
|
|
@@ -39222,7 +39222,10 @@ function weatherReportHandler(args, ctx) {
|
|
|
39222
39222
|
const opts = {
|
|
39223
39223
|
...cli !== void 0 && { cli },
|
|
39224
39224
|
...category !== void 0 && { category },
|
|
39225
|
-
includeAdaptive
|
|
39225
|
+
includeAdaptive,
|
|
39226
|
+
// The MCP tool always opts into the per-model lens (#4194/#4202);
|
|
39227
|
+
// the routing-bonus path stays lens-free.
|
|
39228
|
+
includeModelWeather: true
|
|
39226
39229
|
};
|
|
39227
39230
|
const report = generateWeatherReport(opts);
|
|
39228
39231
|
const serialized = serializeReport(report);
|
|
@@ -41577,7 +41580,7 @@ async function tryIssueTriage(task) {
|
|
|
41577
41580
|
try {
|
|
41578
41581
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
41579
41582
|
if (issueMatch === null) return null;
|
|
41580
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
41583
|
+
const { createIssueTriage } = await import("./issue-triage-3WL7PW26.js");
|
|
41581
41584
|
const triage = createIssueTriage();
|
|
41582
41585
|
const owner = issueMatch[1] ?? "";
|
|
41583
41586
|
const num = issueMatch[2] ?? "";
|
|
@@ -41605,7 +41608,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41605
41608
|
]);
|
|
41606
41609
|
async function classifyWithLLM(task) {
|
|
41607
41610
|
try {
|
|
41608
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41611
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-SFBHTNIB.js");
|
|
41609
41612
|
const prompt = [
|
|
41610
41613
|
"Classify this task into exactly one pipeline template.",
|
|
41611
41614
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -43246,7 +43249,7 @@ var memoryInitPromise = null;
|
|
|
43246
43249
|
async function initPipelineMemory() {
|
|
43247
43250
|
if (cachedMemory !== null) return cachedMemory;
|
|
43248
43251
|
try {
|
|
43249
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43252
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-EYZALDQ2.js");
|
|
43250
43253
|
const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
|
|
43251
43254
|
const mem = createSessionMemory2(getLearningDir());
|
|
43252
43255
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -43308,7 +43311,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
43308
43311
|
callRecord(routingMemoryCache);
|
|
43309
43312
|
return;
|
|
43310
43313
|
}
|
|
43311
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
43314
|
+
routingMemoryInitPromise ??= import("./routing-memory-CSIJCK3H.js").then(({ createRoutingMemory }) => {
|
|
43312
43315
|
routingMemoryCache ??= createRoutingMemory();
|
|
43313
43316
|
return routingMemoryCache;
|
|
43314
43317
|
}).catch((error) => {
|
|
@@ -43342,7 +43345,7 @@ ${text}` : "";
|
|
|
43342
43345
|
}
|
|
43343
43346
|
async function getWeatherContext() {
|
|
43344
43347
|
try {
|
|
43345
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
43348
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-V2GTV5MW.js");
|
|
43346
43349
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
43347
43350
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
43348
43351
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -43360,7 +43363,7 @@ ${lines}
|
|
|
43360
43363
|
}
|
|
43361
43364
|
async function getMemoryContext(task) {
|
|
43362
43365
|
try {
|
|
43363
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43366
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-EYZALDQ2.js");
|
|
43364
43367
|
const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
|
|
43365
43368
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
43366
43369
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -43475,7 +43478,7 @@ ${contextBlock}`;
|
|
|
43475
43478
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
43476
43479
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
43477
43480
|
try {
|
|
43478
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
43481
|
+
const { executeVoting } = await import("./consensus-vote-FVKOLIPS.js");
|
|
43479
43482
|
const votingResult = await executeVoting(
|
|
43480
43483
|
{
|
|
43481
43484
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -43916,7 +43919,7 @@ async function searchCodebaseForTask(task) {
|
|
|
43916
43919
|
}
|
|
43917
43920
|
async function queryResearchRegistry(task) {
|
|
43918
43921
|
try {
|
|
43919
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
43922
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ICHGZ3TE.js");
|
|
43920
43923
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
43921
43924
|
if (topic === void 0) return null;
|
|
43922
43925
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -43987,7 +43990,7 @@ function createScanStageWrapper() {
|
|
|
43987
43990
|
try {
|
|
43988
43991
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
43989
43992
|
if (slug !== void 0) {
|
|
43990
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
43993
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-CTK2K2K7.js");
|
|
43991
43994
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
43992
43995
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
43993
43996
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -46947,7 +46950,7 @@ var GitHubTaskTracker = class {
|
|
|
46947
46950
|
cachedProvider = null;
|
|
46948
46951
|
async getProvider() {
|
|
46949
46952
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
46950
|
-
const { createScmProvider } = await import("./factory-
|
|
46953
|
+
const { createScmProvider } = await import("./factory-NF7WS67L.js");
|
|
46951
46954
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
46952
46955
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
46953
46956
|
this.cachedProvider = result.value;
|
|
@@ -47754,7 +47757,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
47754
47757
|
}
|
|
47755
47758
|
}
|
|
47756
47759
|
async function defaultSources(includeOpenRouter) {
|
|
47757
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
47760
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-DEO5DAXZ.js");
|
|
47758
47761
|
const adapters = createAllAdapters2();
|
|
47759
47762
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
47760
47763
|
}
|
|
@@ -51823,4 +51826,4 @@ export {
|
|
|
51823
51826
|
shutdownFeedbackSubscriber,
|
|
51824
51827
|
createEventBusBridge
|
|
51825
51828
|
};
|
|
51826
|
-
//# sourceMappingURL=chunk-
|
|
51829
|
+
//# sourceMappingURL=chunk-AYTV4P26.js.map
|