nexus-agents 8.105.0 → 8.106.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/{ast-rule-runner-SGQI3VOF.js → ast-rule-runner-CUA2RQJM.js} +3 -3
- package/dist/{child-mcp-config-6J647CLV.js → child-mcp-config-VEYUIREU.js} +2 -2
- package/dist/{chunk-SDUKS5RF.js → chunk-32YOBFFT.js} +2 -2
- package/dist/{chunk-YLUCWOR6.js → chunk-36MFNKQL.js} +3 -3
- package/dist/{chunk-GRHDTIAB.js → chunk-4YK6NBHA.js} +83 -52
- package/dist/{chunk-GRHDTIAB.js.map → chunk-4YK6NBHA.js.map} +1 -1
- package/dist/{chunk-SCYQZCHJ.js → chunk-56IVXF3Z.js} +3 -3
- package/dist/{chunk-GGP3F7FG.js → chunk-6XTHCQBY.js} +2 -2
- package/dist/{chunk-5NKP4DVA.js → chunk-74SKYODJ.js} +4 -4
- package/dist/{chunk-3NONAKKZ.js → chunk-7S2WTKRD.js} +2 -2
- package/dist/{chunk-ACE5NI5A.js → chunk-7UZIOKSR.js} +33 -19
- package/dist/chunk-7UZIOKSR.js.map +1 -0
- package/dist/{chunk-EK6J5SHZ.js → chunk-AEO2MUOE.js} +2 -2
- package/dist/{chunk-WD5KUEX3.js → chunk-B4CSLPSE.js} +2 -2
- package/dist/{chunk-C7DGP6G7.js → chunk-BRM65C62.js} +5 -5
- package/dist/{chunk-SV45NVN2.js → chunk-C5USAAH6.js} +2 -2
- package/dist/{chunk-SK32DF4A.js → chunk-D6MTKFIN.js} +3 -3
- package/dist/{chunk-INNBAGGQ.js → chunk-EFH34GQL.js} +3 -3
- package/dist/{chunk-TWIVLQIJ.js → chunk-FNF2YZY5.js} +2 -2
- package/dist/{chunk-ME44FKOB.js → chunk-GGP7U37R.js} +2 -2
- package/dist/{chunk-E7IXV4NF.js → chunk-GHSX3RDK.js} +14 -12
- package/dist/chunk-GHSX3RDK.js.map +1 -0
- package/dist/{chunk-5MHIYVCE.js → chunk-GOS5TZWR.js} +2 -2
- package/dist/{chunk-KRY5VIQW.js → chunk-ICZOXF2M.js} +5 -4
- package/dist/{chunk-TDELDKWG.js → chunk-IJISKDKO.js} +8 -8
- package/dist/{chunk-G2GXD2Z2.js → chunk-JT2MDEWY.js} +8 -8
- package/dist/{chunk-UMKRODKL.js → chunk-JZYNSXFK.js} +2 -2
- package/dist/{chunk-ZKWGNNKP.js → chunk-KDKOPG4Q.js} +2 -2
- package/dist/{chunk-E4OCHK7E.js → chunk-KZLY7HUT.js} +5 -5
- package/dist/{chunk-U7D2NZXS.js → chunk-LOSSDNJM.js} +2 -2
- package/dist/{chunk-UEIQZUPN.js → chunk-MTRAEY4Z.js} +5 -5
- package/dist/{chunk-VUVFGITX.js → chunk-N6GEJWLS.js} +65 -32
- package/dist/chunk-N6GEJWLS.js.map +1 -0
- package/dist/{chunk-DXXPCVFN.js → chunk-QS7H4ZTS.js} +2 -2
- package/dist/{chunk-CWWJUQY6.js → chunk-RSIAOOCN.js} +2 -2
- package/dist/{chunk-W62UJDZE.js → chunk-SMWPUSX5.js} +2 -2
- package/dist/{chunk-JYDTFMQ7.js → chunk-THCT54PE.js} +4 -4
- package/dist/{chunk-75XDI2LH.js → chunk-TTJMZTYJ.js} +2 -2
- package/dist/{chunk-KG625C53.js → chunk-VI4BSX5E.js} +2 -2
- package/dist/{chunk-RPOGHHN7.js → chunk-WZZ2LLHB.js} +3 -3
- package/dist/{chunk-XCA2YZZZ.js → chunk-ZNWIWXJ2.js} +2 -2
- package/dist/{cli-circuit-breaker-NHNQX2ZB.js → cli-circuit-breaker-O4KK4PA3.js} +3 -3
- package/dist/cli.js +44 -44
- package/dist/{composite-router-VFEUI72D.js → composite-router-D5CLN2XP.js} +2 -2
- package/dist/{consensus-vote-IPJFQXIK.js → consensus-vote-PUYK42PM.js} +17 -17
- package/dist/{context-retriever-5WQ2YWNE.js → context-retriever-7YHY6EZ7.js} +8 -8
- package/dist/{doctor-deep-FNBDBTBM.js → doctor-deep-LSMJV7T7.js} +3 -3
- package/dist/{doctor-gateway-report-WHI5WQ4N.js → doctor-gateway-report-AA3EUUVG.js} +6 -6
- package/dist/{doctor-live-MMGCD6PM.js → doctor-live-2KHM267N.js} +10 -10
- package/dist/{expert-bridge-BDO4LV26.js → expert-bridge-TXQ5DHPQ.js} +5 -5
- package/dist/{factory-SBAHD6WP.js → factory-BM6PC2WA.js} +9 -9
- package/dist/{factory-QUENHU3I.js → factory-IGBJORWX.js} +5 -5
- package/dist/{improvement-review-BK2GLXBS.js → improvement-review-HZCZTKMI.js} +5 -5
- package/dist/index.d.ts +23 -3
- package/dist/index.js +32 -32
- package/dist/{init-opencode-KOPBB643.js → init-opencode-C6KLE5ZZ.js} +5 -5
- package/dist/issue-triage-J5JAQCA7.js +16 -0
- package/dist/{openai-compat-adapter-4S32VPGP.js → openai-compat-adapter-RQCIVU52.js} +5 -5
- package/dist/{pr-reviewer-helpers-MGBA4VLQ.js → pr-reviewer-helpers-63JC5A5P.js} +4 -4
- package/dist/{registry-command-6FQFIA7D.js → registry-command-HVDFOZLJ.js} +2 -2
- package/dist/{repo-security-plan-X5NNMNEZ.js → repo-security-plan-EDQ5ZDV2.js} +3 -3
- package/dist/{research-helpers-synthesize-VIAXHYD5.js → research-helpers-synthesize-I2DNRGXF.js} +4 -4
- package/dist/{routing-memory-RHEUT6CE.js → routing-memory-RGG2DMB5.js} +2 -2
- package/dist/{session-memory-C6VTHVNC.js → session-memory-CFBIMRND.js} +3 -3
- package/dist/{setup-config-BOKVRB67.js → setup-config-B4XLOR4G.js} +3 -3
- package/dist/{setup-custom-api-EVXBKE7I.js → setup-custom-api-W3F6VMJZ.js} +4 -4
- package/dist/setup-data-dir-P7DT6OEN.js +34 -0
- package/dist/{tool-memory-IYXG7RHF.js → tool-memory-NRIYPYVD.js} +5 -5
- package/dist/{unified-registry-YJSEL7AJ.js → unified-registry-T4PQJFBP.js} +11 -11
- package/dist/{weather-report-H7GRKDDA.js → weather-report-VXWSYSZB.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ACE5NI5A.js.map +0 -1
- package/dist/chunk-E7IXV4NF.js.map +0 -1
- package/dist/chunk-VUVFGITX.js.map +0 -1
- package/dist/issue-triage-AZQRUQOH.js +0 -16
- package/dist/setup-data-dir-3WHFLPS4.js +0 -34
- /package/dist/{ast-rule-runner-SGQI3VOF.js.map → ast-rule-runner-CUA2RQJM.js.map} +0 -0
- /package/dist/{child-mcp-config-6J647CLV.js.map → child-mcp-config-VEYUIREU.js.map} +0 -0
- /package/dist/{chunk-SDUKS5RF.js.map → chunk-32YOBFFT.js.map} +0 -0
- /package/dist/{chunk-YLUCWOR6.js.map → chunk-36MFNKQL.js.map} +0 -0
- /package/dist/{chunk-SCYQZCHJ.js.map → chunk-56IVXF3Z.js.map} +0 -0
- /package/dist/{chunk-GGP3F7FG.js.map → chunk-6XTHCQBY.js.map} +0 -0
- /package/dist/{chunk-5NKP4DVA.js.map → chunk-74SKYODJ.js.map} +0 -0
- /package/dist/{chunk-3NONAKKZ.js.map → chunk-7S2WTKRD.js.map} +0 -0
- /package/dist/{chunk-EK6J5SHZ.js.map → chunk-AEO2MUOE.js.map} +0 -0
- /package/dist/{chunk-WD5KUEX3.js.map → chunk-B4CSLPSE.js.map} +0 -0
- /package/dist/{chunk-C7DGP6G7.js.map → chunk-BRM65C62.js.map} +0 -0
- /package/dist/{chunk-SV45NVN2.js.map → chunk-C5USAAH6.js.map} +0 -0
- /package/dist/{chunk-SK32DF4A.js.map → chunk-D6MTKFIN.js.map} +0 -0
- /package/dist/{chunk-INNBAGGQ.js.map → chunk-EFH34GQL.js.map} +0 -0
- /package/dist/{chunk-TWIVLQIJ.js.map → chunk-FNF2YZY5.js.map} +0 -0
- /package/dist/{chunk-ME44FKOB.js.map → chunk-GGP7U37R.js.map} +0 -0
- /package/dist/{chunk-5MHIYVCE.js.map → chunk-GOS5TZWR.js.map} +0 -0
- /package/dist/{chunk-KRY5VIQW.js.map → chunk-ICZOXF2M.js.map} +0 -0
- /package/dist/{chunk-TDELDKWG.js.map → chunk-IJISKDKO.js.map} +0 -0
- /package/dist/{chunk-G2GXD2Z2.js.map → chunk-JT2MDEWY.js.map} +0 -0
- /package/dist/{chunk-UMKRODKL.js.map → chunk-JZYNSXFK.js.map} +0 -0
- /package/dist/{chunk-ZKWGNNKP.js.map → chunk-KDKOPG4Q.js.map} +0 -0
- /package/dist/{chunk-E4OCHK7E.js.map → chunk-KZLY7HUT.js.map} +0 -0
- /package/dist/{chunk-U7D2NZXS.js.map → chunk-LOSSDNJM.js.map} +0 -0
- /package/dist/{chunk-UEIQZUPN.js.map → chunk-MTRAEY4Z.js.map} +0 -0
- /package/dist/{chunk-DXXPCVFN.js.map → chunk-QS7H4ZTS.js.map} +0 -0
- /package/dist/{chunk-CWWJUQY6.js.map → chunk-RSIAOOCN.js.map} +0 -0
- /package/dist/{chunk-W62UJDZE.js.map → chunk-SMWPUSX5.js.map} +0 -0
- /package/dist/{chunk-JYDTFMQ7.js.map → chunk-THCT54PE.js.map} +0 -0
- /package/dist/{chunk-75XDI2LH.js.map → chunk-TTJMZTYJ.js.map} +0 -0
- /package/dist/{chunk-KG625C53.js.map → chunk-VI4BSX5E.js.map} +0 -0
- /package/dist/{chunk-RPOGHHN7.js.map → chunk-WZZ2LLHB.js.map} +0 -0
- /package/dist/{chunk-XCA2YZZZ.js.map → chunk-ZNWIWXJ2.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-NHNQX2ZB.js.map → cli-circuit-breaker-O4KK4PA3.js.map} +0 -0
- /package/dist/{composite-router-VFEUI72D.js.map → composite-router-D5CLN2XP.js.map} +0 -0
- /package/dist/{consensus-vote-IPJFQXIK.js.map → consensus-vote-PUYK42PM.js.map} +0 -0
- /package/dist/{context-retriever-5WQ2YWNE.js.map → context-retriever-7YHY6EZ7.js.map} +0 -0
- /package/dist/{doctor-deep-FNBDBTBM.js.map → doctor-deep-LSMJV7T7.js.map} +0 -0
- /package/dist/{doctor-gateway-report-WHI5WQ4N.js.map → doctor-gateway-report-AA3EUUVG.js.map} +0 -0
- /package/dist/{doctor-live-MMGCD6PM.js.map → doctor-live-2KHM267N.js.map} +0 -0
- /package/dist/{expert-bridge-BDO4LV26.js.map → expert-bridge-TXQ5DHPQ.js.map} +0 -0
- /package/dist/{factory-QUENHU3I.js.map → factory-BM6PC2WA.js.map} +0 -0
- /package/dist/{factory-SBAHD6WP.js.map → factory-IGBJORWX.js.map} +0 -0
- /package/dist/{improvement-review-BK2GLXBS.js.map → improvement-review-HZCZTKMI.js.map} +0 -0
- /package/dist/{init-opencode-KOPBB643.js.map → init-opencode-C6KLE5ZZ.js.map} +0 -0
- /package/dist/{issue-triage-AZQRUQOH.js.map → issue-triage-J5JAQCA7.js.map} +0 -0
- /package/dist/{openai-compat-adapter-4S32VPGP.js.map → openai-compat-adapter-RQCIVU52.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-MGBA4VLQ.js.map → pr-reviewer-helpers-63JC5A5P.js.map} +0 -0
- /package/dist/{registry-command-6FQFIA7D.js.map → registry-command-HVDFOZLJ.js.map} +0 -0
- /package/dist/{repo-security-plan-X5NNMNEZ.js.map → repo-security-plan-EDQ5ZDV2.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-VIAXHYD5.js.map → research-helpers-synthesize-I2DNRGXF.js.map} +0 -0
- /package/dist/{routing-memory-RHEUT6CE.js.map → routing-memory-RGG2DMB5.js.map} +0 -0
- /package/dist/{session-memory-C6VTHVNC.js.map → session-memory-CFBIMRND.js.map} +0 -0
- /package/dist/{setup-config-BOKVRB67.js.map → setup-config-B4XLOR4G.js.map} +0 -0
- /package/dist/{setup-custom-api-EVXBKE7I.js.map → setup-custom-api-W3F6VMJZ.js.map} +0 -0
- /package/dist/{setup-data-dir-3WHFLPS4.js.map → setup-data-dir-P7DT6OEN.js.map} +0 -0
- /package/dist/{tool-memory-IYXG7RHF.js.map → tool-memory-NRIYPYVD.js.map} +0 -0
- /package/dist/{unified-registry-YJSEL7AJ.js.map → unified-registry-T4PQJFBP.js.map} +0 -0
- /package/dist/{weather-report-H7GRKDDA.js.map → weather-report-VXWSYSZB.js.map} +0 -0
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RSIAOOCN.js";
|
|
13
13
|
import "./chunk-XEPZSDN5.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-WZZ2LLHB.js";
|
|
15
15
|
import "./chunk-UE7A2XHM.js";
|
|
16
16
|
import "./chunk-LWOX65CP.js";
|
|
17
17
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
loadRules,
|
|
28
28
|
runAstQaRules
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
30
|
+
//# sourceMappingURL=ast-rule-runner-CUA2RQJM.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OITVVSWO.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WZZ2LLHB.js";
|
|
7
7
|
import "./chunk-UE7A2XHM.js";
|
|
8
8
|
import "./chunk-LWOX65CP.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -56,4 +56,4 @@ async function generateMcpConfig(options) {
|
|
|
56
56
|
export {
|
|
57
57
|
generateMcpConfig
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=child-mcp-config-
|
|
59
|
+
//# sourceMappingURL=child-mcp-config-VEYUIREU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.
|
|
3
|
+
var VERSION = true ? "8.106.0" : "dev";
|
|
4
4
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
5
5
|
function isNodeVersionSupported(version) {
|
|
6
6
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
isNodeVersionSupported
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-32YOBFFT.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TTJMZTYJ.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WZZ2LLHB.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-36MFNKQL.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
createGraphAuditBridge,
|
|
7
7
|
emitPipelinePolicyEvent,
|
|
8
8
|
readActionRefusal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MTRAEY4Z.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-56IVXF3Z.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SMWPUSX5.js";
|
|
16
16
|
import {
|
|
17
17
|
analyzeGitHubRepo
|
|
18
18
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
} from "./chunk-WDAND5YU.js";
|
|
33
33
|
import {
|
|
34
34
|
sanitizeInput
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KDKOPG4Q.js";
|
|
36
36
|
import {
|
|
37
37
|
DEFAULT_TASK_TTL_MS,
|
|
38
38
|
clampTaskTtl
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7UZIOKSR.js";
|
|
40
40
|
import {
|
|
41
41
|
executeExpert
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-JT2MDEWY.js";
|
|
43
43
|
import {
|
|
44
44
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
45
45
|
JobStatusSchema,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
withFileLock,
|
|
90
90
|
withWarnings,
|
|
91
91
|
writeJobCancelled
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-N6GEJWLS.js";
|
|
93
93
|
import {
|
|
94
94
|
NOOP_NOTIFIER,
|
|
95
95
|
RateLimiter,
|
|
@@ -117,31 +117,31 @@ import {
|
|
|
117
117
|
toolSuccessStructured,
|
|
118
118
|
withProgressHeartbeat,
|
|
119
119
|
wrapToolWithTimeout
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-D6MTKFIN.js";
|
|
121
121
|
import {
|
|
122
122
|
VERSION
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-32YOBFFT.js";
|
|
124
124
|
import {
|
|
125
125
|
allOf,
|
|
126
126
|
anyOf
|
|
127
127
|
} from "./chunk-EZNIYU5T.js";
|
|
128
128
|
import {
|
|
129
129
|
isGatewayModelAdapter
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-74SKYODJ.js";
|
|
131
131
|
import {
|
|
132
132
|
normalizeTopicToCanonical,
|
|
133
133
|
synthesizeResearch
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-36MFNKQL.js";
|
|
135
135
|
import {
|
|
136
136
|
EventTopics,
|
|
137
137
|
UNRESOLVED_MODEL_ID,
|
|
138
138
|
createEvent,
|
|
139
139
|
getGlobalEventBus,
|
|
140
140
|
getGlobalRegistry
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-KZLY7HUT.js";
|
|
142
142
|
import {
|
|
143
143
|
ensureGatewayDiscovered
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-ZNWIWXJ2.js";
|
|
145
145
|
import {
|
|
146
146
|
IDENTIFIER_RE,
|
|
147
147
|
LANG_VALUES,
|
|
@@ -174,18 +174,18 @@ import {
|
|
|
174
174
|
parseRegistry,
|
|
175
175
|
sourceExistsInRegistry,
|
|
176
176
|
summarizeContextForPrompt
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-BRM65C62.js";
|
|
178
178
|
import {
|
|
179
179
|
getTokenEnvVars,
|
|
180
180
|
resolveToken
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-7S2WTKRD.js";
|
|
182
182
|
import {
|
|
183
183
|
REGISTRY_PATH,
|
|
184
184
|
getProjectRoot,
|
|
185
185
|
loadPapersRegistry,
|
|
186
186
|
loadTechniquesRegistry,
|
|
187
187
|
resolveRegistryRoot
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-TTJMZTYJ.js";
|
|
189
189
|
import {
|
|
190
190
|
resolveInsideRoot
|
|
191
191
|
} from "./chunk-XEPZSDN5.js";
|
|
@@ -195,14 +195,14 @@ import {
|
|
|
195
195
|
MemoryType,
|
|
196
196
|
calculateTextJaccardSimilarity,
|
|
197
197
|
getToolMemory
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-GHSX3RDK.js";
|
|
199
199
|
import {
|
|
200
200
|
STOPWORDS,
|
|
201
201
|
truncateWithInfo
|
|
202
202
|
} from "./chunk-SX5DB6UR.js";
|
|
203
203
|
import {
|
|
204
204
|
createSessionMemory
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-AEO2MUOE.js";
|
|
206
206
|
import {
|
|
207
207
|
BUILT_IN_EXPERTS,
|
|
208
208
|
BuiltInExpertTypeSchema,
|
|
@@ -220,10 +220,10 @@ import {
|
|
|
220
220
|
getAvailableClis,
|
|
221
221
|
sleep,
|
|
222
222
|
withTimeout
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-IJISKDKO.js";
|
|
224
224
|
import {
|
|
225
225
|
DEFAULTS
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-FNF2YZY5.js";
|
|
227
227
|
import {
|
|
228
228
|
DEFAULT_EXECUTION_MODE,
|
|
229
229
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
@@ -235,10 +235,10 @@ import {
|
|
|
235
235
|
parseGatewayExtraHeaders,
|
|
236
236
|
requireApiKey,
|
|
237
237
|
validateApiKeyPresence
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-C5USAAH6.js";
|
|
239
239
|
import {
|
|
240
240
|
resolveGatewayEnv
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-6XTHCQBY.js";
|
|
242
242
|
import {
|
|
243
243
|
sanitizeErrorDetails
|
|
244
244
|
} from "./chunk-2NDA4DHW.js";
|
|
@@ -246,14 +246,14 @@ import {
|
|
|
246
246
|
getAvailabilityCache,
|
|
247
247
|
getCliForModelId,
|
|
248
248
|
resolveFallback
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-JZYNSXFK.js";
|
|
250
250
|
import {
|
|
251
251
|
generateHyphenId,
|
|
252
252
|
generateUUID
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-QS7H4ZTS.js";
|
|
254
254
|
import {
|
|
255
255
|
raceAbort
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-GGP7U37R.js";
|
|
257
257
|
import {
|
|
258
258
|
AGENT_ROUTER_TIMEOUTS,
|
|
259
259
|
API_TIMEOUTS,
|
|
@@ -365,6 +365,7 @@ import {
|
|
|
365
365
|
rankStrategiesByManifest,
|
|
366
366
|
recordRoutingGaps,
|
|
367
367
|
researchContextFromText,
|
|
368
|
+
resolveClassGuardMs,
|
|
368
369
|
resolveModelIdentity,
|
|
369
370
|
resolveModelIdentitySync,
|
|
370
371
|
resolveOutcomeCategory,
|
|
@@ -373,7 +374,7 @@ import {
|
|
|
373
374
|
selectStrategyByManifest,
|
|
374
375
|
toExpertTaskAnalysisResult,
|
|
375
376
|
withStep
|
|
376
|
-
} from "./chunk-
|
|
377
|
+
} from "./chunk-WZZ2LLHB.js";
|
|
377
378
|
import {
|
|
378
379
|
ensureLearningDir,
|
|
379
380
|
getMetaOutcomesFile,
|
|
@@ -30374,7 +30375,7 @@ function execIdFields(executionId) {
|
|
|
30374
30375
|
async function populateUnifiedContextOnState(state, options) {
|
|
30375
30376
|
const taskCandidate = state["task"];
|
|
30376
30377
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30377
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30378
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-7YHY6EZ7.js");
|
|
30378
30379
|
const category = inferTaskCategory2(taskCandidate);
|
|
30379
30380
|
const executionId = options?.executionId;
|
|
30380
30381
|
const execFields = execIdFields(executionId);
|
|
@@ -46045,7 +46046,7 @@ var StageFailureError = class extends Error {
|
|
|
46045
46046
|
}
|
|
46046
46047
|
stageId;
|
|
46047
46048
|
};
|
|
46048
|
-
function compilePipelineGraph(template, stages) {
|
|
46049
|
+
function compilePipelineGraph(template, stages, options) {
|
|
46049
46050
|
const missing = findMissingStages(template, stages);
|
|
46050
46051
|
if (missing.length > 0) {
|
|
46051
46052
|
const available = [...stages.keys()].sort().join(", ");
|
|
@@ -46056,7 +46057,7 @@ function compilePipelineGraph(template, stages) {
|
|
|
46056
46057
|
}
|
|
46057
46058
|
const builder = new GraphBuilder();
|
|
46058
46059
|
registerStateFields(builder);
|
|
46059
|
-
registerNodes(builder, template, stages);
|
|
46060
|
+
registerNodes(builder, template, stages, options?.stageTimeoutMs);
|
|
46060
46061
|
registerEdges(builder, template);
|
|
46061
46062
|
const result = builder.compile();
|
|
46062
46063
|
if (!result.ok) {
|
|
@@ -46090,13 +46091,20 @@ function registerStateFields(builder) {
|
|
|
46090
46091
|
builder.addState(keys.SCAFFOLD_OUTPUT, { defaultValue: null, reducer: { type: "overwrite" } });
|
|
46091
46092
|
builder.addState(keys.COMPLETED, { defaultValue: false, reducer: { type: "overwrite" } });
|
|
46092
46093
|
}
|
|
46093
|
-
function registerNodes(builder, template, stages) {
|
|
46094
|
+
function registerNodes(builder, template, stages, stageTimeoutMs) {
|
|
46094
46095
|
for (const stageId of template.stages) {
|
|
46095
46096
|
const stage = stages.get(stageId);
|
|
46096
46097
|
if (stage === void 0) continue;
|
|
46097
|
-
builder.addNode(stageId, createNodeHandler(stage, template)
|
|
46098
|
+
builder.addNode(stageId, createNodeHandler(stage, template), {
|
|
46099
|
+
timeout: resolveStageTimeoutMs(stageId, stageTimeoutMs)
|
|
46100
|
+
});
|
|
46098
46101
|
}
|
|
46099
46102
|
}
|
|
46103
|
+
var PANEL_STAGE_IDS = /* @__PURE__ */ new Set(["vote"]);
|
|
46104
|
+
function resolveStageTimeoutMs(stageId, stageTimeoutMs) {
|
|
46105
|
+
const stageDefault = PANEL_STAGE_IDS.has(stageId) ? resolveClassGuardMs("multi-llm-panel") : GRAPH_TIMEOUTS.defaultMs;
|
|
46106
|
+
return Math.min(stageTimeoutMs ?? stageDefault, resolveClassGuardMs("pipeline"));
|
|
46107
|
+
}
|
|
46100
46108
|
function createNodeHandler(stage, template) {
|
|
46101
46109
|
return async (state) => {
|
|
46102
46110
|
const context = {
|
|
@@ -46166,7 +46174,9 @@ async function runGraphPipeline(task, template, stages, options) {
|
|
|
46166
46174
|
}
|
|
46167
46175
|
function compileEffectiveGraph(template, stages, options) {
|
|
46168
46176
|
const effective = resolveEffectiveTemplate(template, options);
|
|
46169
|
-
const compiled = compilePipelineGraph(effective, stages
|
|
46177
|
+
const compiled = compilePipelineGraph(effective, stages, {
|
|
46178
|
+
stageTimeoutMs: options?.stageTimeoutMs
|
|
46179
|
+
});
|
|
46170
46180
|
if (!compiled.ok || compiled.graph === void 0) {
|
|
46171
46181
|
return { error: compiled.error ?? "Compilation failed" };
|
|
46172
46182
|
}
|
|
@@ -46187,6 +46197,12 @@ async function executeAndReport(args) {
|
|
|
46187
46197
|
{ [PIPELINE_STATE_KEYS.TASK]: task },
|
|
46188
46198
|
{
|
|
46189
46199
|
maxSteps: options?.maxSteps ?? DEFAULT_MAX_STEPS2,
|
|
46200
|
+
// The executor's `timeout` is also the RUN-level deadline, checked before
|
|
46201
|
+
// every super-step. Left unset it was `GRAPH_TIMEOUTS.defaultMs` (120 s),
|
|
46202
|
+
// so any run whose stages together passed two minutes was cut off
|
|
46203
|
+
// between stages (#6730). Each node carries its own deadline from
|
|
46204
|
+
// `compilePipelineGraph`; the run is bounded by the pipeline class guard.
|
|
46205
|
+
timeout: resolveClassGuardMs("pipeline"),
|
|
46190
46206
|
...options?.signal !== void 0 ? { signal: options.signal } : {}
|
|
46191
46207
|
}
|
|
46192
46208
|
);
|
|
@@ -46460,7 +46476,7 @@ async function tryIssueTriage(task) {
|
|
|
46460
46476
|
try {
|
|
46461
46477
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
46462
46478
|
if (issueMatch === null) return null;
|
|
46463
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
46479
|
+
const { createIssueTriage } = await import("./issue-triage-J5JAQCA7.js");
|
|
46464
46480
|
const triage = createIssueTriage();
|
|
46465
46481
|
const owner = issueMatch[1] ?? "";
|
|
46466
46482
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -46488,7 +46504,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
46488
46504
|
]);
|
|
46489
46505
|
async function classifyWithLLM(task) {
|
|
46490
46506
|
try {
|
|
46491
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
46507
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-TXQ5DHPQ.js");
|
|
46492
46508
|
const prompt = [
|
|
46493
46509
|
"Classify this task into exactly one pipeline template.",
|
|
46494
46510
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46862,7 +46878,7 @@ function buildVotingInput(plan, config) {
|
|
|
46862
46878
|
}
|
|
46863
46879
|
async function executeSingleVote(plan, config, log) {
|
|
46864
46880
|
try {
|
|
46865
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46881
|
+
const { executeVoting } = await import("./consensus-vote-PUYK42PM.js");
|
|
46866
46882
|
const input = buildVotingInput(plan, config);
|
|
46867
46883
|
const result = await executeVoting(input, log);
|
|
46868
46884
|
return parseVotingResult(result);
|
|
@@ -47595,7 +47611,7 @@ var memoryInitPromise = null;
|
|
|
47595
47611
|
async function initPipelineMemory() {
|
|
47596
47612
|
if (cachedMemory !== null) return cachedMemory;
|
|
47597
47613
|
try {
|
|
47598
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47614
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-CFBIMRND.js");
|
|
47599
47615
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
47600
47616
|
const mem = createSessionMemory2(getLearningDir());
|
|
47601
47617
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47657,7 +47673,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47657
47673
|
callRecord(routingMemoryCache);
|
|
47658
47674
|
return;
|
|
47659
47675
|
}
|
|
47660
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47676
|
+
routingMemoryInitPromise ??= import("./routing-memory-RGG2DMB5.js").then(({ createRoutingMemory }) => {
|
|
47661
47677
|
routingMemoryCache ??= createRoutingMemory();
|
|
47662
47678
|
return routingMemoryCache;
|
|
47663
47679
|
}).catch((error) => {
|
|
@@ -47837,7 +47853,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
47837
47853
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47838
47854
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47839
47855
|
try {
|
|
47840
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47856
|
+
const { executeVoting } = await import("./consensus-vote-PUYK42PM.js");
|
|
47841
47857
|
const votingResult = await executeVoting(
|
|
47842
47858
|
{
|
|
47843
47859
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48596,7 +48612,7 @@ ${text}` : "";
|
|
|
48596
48612
|
}
|
|
48597
48613
|
async function getWeatherContext() {
|
|
48598
48614
|
try {
|
|
48599
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
48615
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-VXWSYSZB.js");
|
|
48600
48616
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
48601
48617
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
48602
48618
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -48614,7 +48630,7 @@ ${lines}
|
|
|
48614
48630
|
}
|
|
48615
48631
|
async function getMemoryContext(task) {
|
|
48616
48632
|
try {
|
|
48617
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
48633
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-CFBIMRND.js");
|
|
48618
48634
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
48619
48635
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
48620
48636
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -49182,7 +49198,7 @@ async function searchCodebaseForTask(task) {
|
|
|
49182
49198
|
}
|
|
49183
49199
|
async function queryResearchRegistry(task) {
|
|
49184
49200
|
try {
|
|
49185
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
49201
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-I2DNRGXF.js");
|
|
49186
49202
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
49187
49203
|
if (topic === void 0) return null;
|
|
49188
49204
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -49253,7 +49269,7 @@ function createScanStageWrapper() {
|
|
|
49253
49269
|
try {
|
|
49254
49270
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
49255
49271
|
if (slug !== void 0) {
|
|
49256
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
49272
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-EDQ5ZDV2.js");
|
|
49257
49273
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
49258
49274
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
49259
49275
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -52797,7 +52813,7 @@ var GitHubTaskTracker = class {
|
|
|
52797
52813
|
cachedProvider = null;
|
|
52798
52814
|
async getProvider() {
|
|
52799
52815
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
52800
|
-
const { createScmProvider } = await import("./factory-
|
|
52816
|
+
const { createScmProvider } = await import("./factory-IGBJORWX.js");
|
|
52801
52817
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
52802
52818
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
52803
52819
|
this.cachedProvider = result.value;
|
|
@@ -53292,10 +53308,16 @@ var PipelineInputSchema = z115.object({
|
|
|
53292
53308
|
]).optional().describe(
|
|
53293
53309
|
"Voting strategy for plan approval. simple_majority (default), supermajority (67%), unanimous, higher_order (Bayesian), proof_of_learning, opinion_wise"
|
|
53294
53310
|
),
|
|
53295
|
-
/** Use 3 agents instead of
|
|
53296
|
-
quickMode: z115.boolean().default(false).describe("Use 3 agents instead of
|
|
53297
|
-
/**
|
|
53298
|
-
|
|
53311
|
+
/** Use 3 agents instead of 7 for faster voting. */
|
|
53312
|
+
quickMode: z115.boolean().default(false).describe("Use 3 agents instead of 7 for faster consensus voting"),
|
|
53313
|
+
/**
|
|
53314
|
+
* Deadline for EACH stage in milliseconds (min 30s, max 600s), not a budget
|
|
53315
|
+
* for the whole run (#6730). Replaces every stage's default, the vote's
|
|
53316
|
+
* included; clamped to the `pipeline` class guard.
|
|
53317
|
+
*/
|
|
53318
|
+
timeoutMs: z115.number().int().min(3e4).max(6e5).optional().describe(
|
|
53319
|
+
"Max time for EACH stage in ms (30000-600000), not for the whole run; applies to every stage, the vote included. Default: the vote stage gets the multi-LLM panel guard (900000 unless overridden), other stages 120000"
|
|
53320
|
+
),
|
|
53299
53321
|
/** Stop after planning/voting (no implementation). */
|
|
53300
53322
|
dryRun: z115.boolean().default(false).describe("Stop after vote stage (no implementation)"),
|
|
53301
53323
|
/**
|
|
@@ -53385,12 +53407,21 @@ async function runPipelineForGoal(goal, logger58 = createLogger({ tool: "run_pip
|
|
|
53385
53407
|
const stages = selectStageRegistry(void 0, goal, agentStages);
|
|
53386
53408
|
return runAdaptiveOrchestrator(goal, { stages, ...signal !== void 0 ? { signal } : {} });
|
|
53387
53409
|
}
|
|
53410
|
+
function pipelineRunOptions(input, simulated) {
|
|
53411
|
+
return {
|
|
53412
|
+
templateId: input.template,
|
|
53413
|
+
dryRun: input.dryRun,
|
|
53414
|
+
simulated,
|
|
53415
|
+
stageTimeoutMs: input.timeoutMs
|
|
53416
|
+
};
|
|
53417
|
+
}
|
|
53388
53418
|
async function executePipelineBody(task, stages, run) {
|
|
53389
|
-
const { templateId, dryRun, simulated, signal } = run;
|
|
53419
|
+
const { templateId, dryRun, simulated, stageTimeoutMs, signal } = run;
|
|
53390
53420
|
const result = await runAdaptiveOrchestrator(task, {
|
|
53391
53421
|
stages,
|
|
53392
53422
|
templateId,
|
|
53393
53423
|
dryRun,
|
|
53424
|
+
stageTimeoutMs,
|
|
53394
53425
|
...signal !== void 0 ? { signal } : {}
|
|
53395
53426
|
});
|
|
53396
53427
|
const output2 = buildOutput3(result, simulated);
|
|
@@ -53430,7 +53461,7 @@ async function runPipelineHandler(args, logger58, callerTrustTier, sanitization)
|
|
|
53430
53461
|
budget: resolveRunBudget(task, input.template, logger58)
|
|
53431
53462
|
});
|
|
53432
53463
|
const stages = selectStageRegistry(input.template, task, agentStages);
|
|
53433
|
-
const body =
|
|
53464
|
+
const body = pipelineRunOptions(input, simulated);
|
|
53434
53465
|
if (input.dispatch === "async" && !input.dryRun) {
|
|
53435
53466
|
return runAsJob({
|
|
53436
53467
|
toolName: "run_pipeline",
|
|
@@ -53837,7 +53868,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
53837
53868
|
var GATEWAY_TRANSPORT = "gateway";
|
|
53838
53869
|
var GATEWAY_API_ARM = "api:custom-openai";
|
|
53839
53870
|
async function gatewaySource(apiArm) {
|
|
53840
|
-
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-
|
|
53871
|
+
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-RQCIVU52.js");
|
|
53841
53872
|
const config = readOpenAICompatEnv();
|
|
53842
53873
|
if (config !== null) {
|
|
53843
53874
|
return {
|
|
@@ -53856,7 +53887,7 @@ async function gatewaySource(apiArm) {
|
|
|
53856
53887
|
}
|
|
53857
53888
|
async function defaultSources(includeOpenRouter, adaptersFactory) {
|
|
53858
53889
|
const adapters = new Map(
|
|
53859
|
-
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-
|
|
53890
|
+
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-BM6PC2WA.js")).createAllAdapters()
|
|
53860
53891
|
);
|
|
53861
53892
|
const apiArm = adapters.get(GATEWAY_API_ARM);
|
|
53862
53893
|
adapters.delete(GATEWAY_API_ARM);
|
|
@@ -57171,4 +57202,4 @@ export {
|
|
|
57171
57202
|
startPipelineEventBridge,
|
|
57172
57203
|
shutdownPipelineEventBridge
|
|
57173
57204
|
};
|
|
57174
|
-
//# sourceMappingURL=chunk-
|
|
57205
|
+
//# sourceMappingURL=chunk-4YK6NBHA.js.map
|