nexus-agents 8.87.0 → 8.88.1
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-57VN347L.js → ast-rule-runner-FESCBZGZ.js} +3 -3
- package/dist/{child-mcp-config-74CO7TSI.js → child-mcp-config-KQA7OCJV.js} +2 -2
- package/dist/{chunk-PVEIRHM2.js → chunk-2Z4QWGZD.js} +2 -2
- package/dist/{chunk-ZQFV7CRR.js → chunk-3XHPLLZO.js} +68 -49
- package/dist/{chunk-ZQFV7CRR.js.map → chunk-3XHPLLZO.js.map} +1 -1
- package/dist/{chunk-HFBKT7BY.js → chunk-56SU2GM2.js} +45 -18
- package/dist/chunk-56SU2GM2.js.map +1 -0
- package/dist/{chunk-ZLIXVFY4.js → chunk-5KCWILZF.js} +5 -5
- package/dist/{chunk-SFV75KOW.js → chunk-AHB3TVNL.js} +9 -9
- package/dist/{chunk-3464EDLG.js → chunk-AV4CN3CJ.js} +2 -2
- package/dist/{chunk-OZ6NDOR4.js → chunk-BWPBKKEP.js} +2 -2
- package/dist/{chunk-T2CFH257.js → chunk-CII3XR4K.js} +52 -22
- package/dist/chunk-CII3XR4K.js.map +1 -0
- package/dist/{chunk-KXHHFB7S.js → chunk-CKZQOPTD.js} +2 -2
- package/dist/{chunk-FFXY3GG3.js → chunk-D6HCACOH.js} +4 -4
- package/dist/{chunk-FLFWGNMF.js → chunk-DOYDWGKY.js} +2 -2
- package/dist/{chunk-VT75JAMR.js → chunk-FDPKOY5E.js} +2 -2
- package/dist/{chunk-2CNDBMS2.js → chunk-FUSECEOU.js} +4 -4
- package/dist/{chunk-SQNZXCVN.js → chunk-G6HDZ6B7.js} +2 -2
- package/dist/{chunk-T2TKT7GM.js → chunk-H2MER5LS.js} +5 -5
- package/dist/{chunk-DUNJ3BGG.js → chunk-JDC252T4.js} +2 -2
- package/dist/{chunk-KMVURF2Y.js → chunk-K2FIPT4Z.js} +2 -2
- package/dist/{chunk-A46LARJL.js → chunk-KK3PY5SO.js} +3 -3
- package/dist/{chunk-XSN65PSX.js → chunk-LVMAPILY.js} +2 -2
- package/dist/{chunk-C5VOEBIS.js → chunk-NXWC7OLE.js} +2 -2
- package/dist/{chunk-FYQOXSBI.js → chunk-ON2J7TBZ.js} +2 -2
- package/dist/{chunk-6ALANRN5.js → chunk-PEPOVKYR.js} +2 -2
- package/dist/{chunk-POB4FPKV.js → chunk-PMX3GH6F.js} +2 -2
- package/dist/{chunk-6RZ2O6T7.js → chunk-QM4HMMSJ.js} +2 -2
- package/dist/{chunk-DE4H5SQM.js → chunk-SIDFUTGU.js} +3 -3
- package/dist/{chunk-O23Z6TEB.js → chunk-STZL32RV.js} +3 -3
- package/dist/{chunk-IACPPUSB.js → chunk-TMM6ZN2H.js} +4 -4
- package/dist/{chunk-AEUJWSOX.js → chunk-UVZBOQJZ.js} +2 -2
- package/dist/{chunk-L6H55UP5.js → chunk-W3GYTKPK.js} +4 -4
- package/dist/{chunk-HZNZKFDU.js → chunk-XSNDGIJR.js} +3 -3
- package/dist/{chunk-2FUUCJPQ.js → chunk-XX3ESMYC.js} +2 -2
- package/dist/{chunk-LFTGWIDB.js → chunk-YADX2T3Y.js} +18 -10
- package/dist/chunk-YADX2T3Y.js.map +1 -0
- package/dist/{chunk-5XKDJDIP.js → chunk-YBQO5XCI.js} +8 -8
- package/dist/{cli-circuit-breaker-7FPQIKMC.js → cli-circuit-breaker-FTX357KY.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +131 -66
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-6CQEKTGG.js → composite-router-VL7VKVAI.js} +2 -2
- package/dist/{consensus-vote-HS6BHA2N.js → consensus-vote-BP6EMIHB.js} +16 -16
- package/dist/{consensus-vote-types-B4FyYwSv.d.ts → consensus-vote-types-ptxFNv55.d.ts} +19 -0
- package/dist/{context-retriever-MTWSVUI4.js → context-retriever-7T56LVZN.js} +8 -8
- package/dist/{doctor-deep-YAF6PO7D.js → doctor-deep-YJWA4BU3.js} +3 -3
- package/dist/{doctor-live-D4YQ2HSF.js → doctor-live-MWTFQRPQ.js} +10 -10
- package/dist/{expert-bridge-EKZ3XRAT.js → expert-bridge-J5IUE2Y5.js} +4 -4
- package/dist/{factory-GTZU7LWH.js → factory-IUMI3NYA.js} +5 -5
- package/dist/{factory-756K7DJU.js → factory-R726DTSS.js} +9 -9
- package/dist/{improvement-review-OBE25BPD.js → improvement-review-UAXOYQLC.js} +5 -5
- package/dist/index.d.ts +31 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-5QA27TFA.js → init-opencode-IKD4A5XD.js} +5 -5
- package/dist/issue-triage-Z2JY62F4.js +16 -0
- package/dist/{pr-reviewer-helpers-IVLBDJKJ.js → pr-reviewer-helpers-DPI5AGZL.js} +4 -4
- package/dist/{registry-command-CBEBGBHP.js → registry-command-UUUUNJ5W.js} +2 -2
- package/dist/{repo-security-plan-2XFHLOMA.js → repo-security-plan-N6VXMUAJ.js} +3 -3
- package/dist/{research-helpers-synthesize-3IHB3E2T.js → research-helpers-synthesize-AB46YY4W.js} +4 -4
- package/dist/{routing-memory-HV65CNTK.js → routing-memory-6GL2DVPI.js} +2 -2
- package/dist/{session-memory-2P3NSEJJ.js → session-memory-YBIA3SM5.js} +3 -3
- package/dist/{setup-config-DCCYT64I.js → setup-config-MQZUOBDV.js} +3 -3
- package/dist/{setup-custom-api-LAP4S26A.js → setup-custom-api-KHT7K6V3.js} +4 -4
- package/dist/setup-data-dir-TT6LWQNJ.js +32 -0
- package/dist/{tool-memory-ZJ5DZEXH.js → tool-memory-R22BAPWZ.js} +5 -5
- package/dist/{unified-registry-A23BBRFD.js → unified-registry-V5N44N4X.js} +10 -10
- package/dist/{weather-report-IU2MQBCS.js → weather-report-3EPVTET2.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-HFBKT7BY.js.map +0 -1
- package/dist/chunk-LFTGWIDB.js.map +0 -1
- package/dist/chunk-T2CFH257.js.map +0 -1
- package/dist/issue-triage-EHZPXKCZ.js +0 -16
- package/dist/setup-data-dir-63ZS6HOW.js +0 -32
- /package/dist/{ast-rule-runner-57VN347L.js.map → ast-rule-runner-FESCBZGZ.js.map} +0 -0
- /package/dist/{child-mcp-config-74CO7TSI.js.map → child-mcp-config-KQA7OCJV.js.map} +0 -0
- /package/dist/{chunk-PVEIRHM2.js.map → chunk-2Z4QWGZD.js.map} +0 -0
- /package/dist/{chunk-ZLIXVFY4.js.map → chunk-5KCWILZF.js.map} +0 -0
- /package/dist/{chunk-SFV75KOW.js.map → chunk-AHB3TVNL.js.map} +0 -0
- /package/dist/{chunk-3464EDLG.js.map → chunk-AV4CN3CJ.js.map} +0 -0
- /package/dist/{chunk-OZ6NDOR4.js.map → chunk-BWPBKKEP.js.map} +0 -0
- /package/dist/{chunk-KXHHFB7S.js.map → chunk-CKZQOPTD.js.map} +0 -0
- /package/dist/{chunk-FFXY3GG3.js.map → chunk-D6HCACOH.js.map} +0 -0
- /package/dist/{chunk-FLFWGNMF.js.map → chunk-DOYDWGKY.js.map} +0 -0
- /package/dist/{chunk-VT75JAMR.js.map → chunk-FDPKOY5E.js.map} +0 -0
- /package/dist/{chunk-2CNDBMS2.js.map → chunk-FUSECEOU.js.map} +0 -0
- /package/dist/{chunk-SQNZXCVN.js.map → chunk-G6HDZ6B7.js.map} +0 -0
- /package/dist/{chunk-T2TKT7GM.js.map → chunk-H2MER5LS.js.map} +0 -0
- /package/dist/{chunk-DUNJ3BGG.js.map → chunk-JDC252T4.js.map} +0 -0
- /package/dist/{chunk-KMVURF2Y.js.map → chunk-K2FIPT4Z.js.map} +0 -0
- /package/dist/{chunk-A46LARJL.js.map → chunk-KK3PY5SO.js.map} +0 -0
- /package/dist/{chunk-XSN65PSX.js.map → chunk-LVMAPILY.js.map} +0 -0
- /package/dist/{chunk-C5VOEBIS.js.map → chunk-NXWC7OLE.js.map} +0 -0
- /package/dist/{chunk-FYQOXSBI.js.map → chunk-ON2J7TBZ.js.map} +0 -0
- /package/dist/{chunk-6ALANRN5.js.map → chunk-PEPOVKYR.js.map} +0 -0
- /package/dist/{chunk-POB4FPKV.js.map → chunk-PMX3GH6F.js.map} +0 -0
- /package/dist/{chunk-6RZ2O6T7.js.map → chunk-QM4HMMSJ.js.map} +0 -0
- /package/dist/{chunk-DE4H5SQM.js.map → chunk-SIDFUTGU.js.map} +0 -0
- /package/dist/{chunk-O23Z6TEB.js.map → chunk-STZL32RV.js.map} +0 -0
- /package/dist/{chunk-IACPPUSB.js.map → chunk-TMM6ZN2H.js.map} +0 -0
- /package/dist/{chunk-AEUJWSOX.js.map → chunk-UVZBOQJZ.js.map} +0 -0
- /package/dist/{chunk-L6H55UP5.js.map → chunk-W3GYTKPK.js.map} +0 -0
- /package/dist/{chunk-HZNZKFDU.js.map → chunk-XSNDGIJR.js.map} +0 -0
- /package/dist/{chunk-2FUUCJPQ.js.map → chunk-XX3ESMYC.js.map} +0 -0
- /package/dist/{chunk-5XKDJDIP.js.map → chunk-YBQO5XCI.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-7FPQIKMC.js.map → cli-circuit-breaker-FTX357KY.js.map} +0 -0
- /package/dist/{composite-router-6CQEKTGG.js.map → composite-router-VL7VKVAI.js.map} +0 -0
- /package/dist/{consensus-vote-HS6BHA2N.js.map → consensus-vote-BP6EMIHB.js.map} +0 -0
- /package/dist/{context-retriever-MTWSVUI4.js.map → context-retriever-7T56LVZN.js.map} +0 -0
- /package/dist/{doctor-deep-YAF6PO7D.js.map → doctor-deep-YJWA4BU3.js.map} +0 -0
- /package/dist/{doctor-live-D4YQ2HSF.js.map → doctor-live-MWTFQRPQ.js.map} +0 -0
- /package/dist/{expert-bridge-EKZ3XRAT.js.map → expert-bridge-J5IUE2Y5.js.map} +0 -0
- /package/dist/{factory-756K7DJU.js.map → factory-IUMI3NYA.js.map} +0 -0
- /package/dist/{factory-GTZU7LWH.js.map → factory-R726DTSS.js.map} +0 -0
- /package/dist/{improvement-review-OBE25BPD.js.map → improvement-review-UAXOYQLC.js.map} +0 -0
- /package/dist/{init-opencode-5QA27TFA.js.map → init-opencode-IKD4A5XD.js.map} +0 -0
- /package/dist/{issue-triage-EHZPXKCZ.js.map → issue-triage-Z2JY62F4.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-IVLBDJKJ.js.map → pr-reviewer-helpers-DPI5AGZL.js.map} +0 -0
- /package/dist/{registry-command-CBEBGBHP.js.map → registry-command-UUUUNJ5W.js.map} +0 -0
- /package/dist/{repo-security-plan-2XFHLOMA.js.map → repo-security-plan-N6VXMUAJ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-3IHB3E2T.js.map → research-helpers-synthesize-AB46YY4W.js.map} +0 -0
- /package/dist/{routing-memory-HV65CNTK.js.map → routing-memory-6GL2DVPI.js.map} +0 -0
- /package/dist/{session-memory-2P3NSEJJ.js.map → session-memory-YBIA3SM5.js.map} +0 -0
- /package/dist/{setup-config-DCCYT64I.js.map → setup-config-MQZUOBDV.js.map} +0 -0
- /package/dist/{setup-custom-api-LAP4S26A.js.map → setup-custom-api-KHT7K6V3.js.map} +0 -0
- /package/dist/{setup-data-dir-63ZS6HOW.js.map → setup-data-dir-TT6LWQNJ.js.map} +0 -0
- /package/dist/{tool-memory-ZJ5DZEXH.js.map → tool-memory-R22BAPWZ.js.map} +0 -0
- /package/dist/{unified-registry-A23BBRFD.js.map → unified-registry-V5N44N4X.js.map} +0 -0
- /package/dist/{weather-report-IU2MQBCS.js.map → weather-report-3EPVTET2.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-DOYDWGKY.js";
|
|
13
|
+
import "./chunk-56SU2GM2.js";
|
|
14
14
|
import "./chunk-RQLIPUQK.js";
|
|
15
15
|
import "./chunk-RNDHNRSX.js";
|
|
16
16
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-FESCBZGZ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HERI7LXN.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-56SU2GM2.js";
|
|
7
7
|
import "./chunk-RQLIPUQK.js";
|
|
8
8
|
import "./chunk-RNDHNRSX.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-KQA7OCJV.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-56SU2GM2.js";
|
|
17
17
|
|
|
18
18
|
// src/config/model-parameter-support.ts
|
|
19
19
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -834,4 +834,4 @@ export {
|
|
|
834
834
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
835
835
|
collectStream
|
|
836
836
|
};
|
|
837
|
-
//# sourceMappingURL=chunk-
|
|
837
|
+
//# sourceMappingURL=chunk-2Z4QWGZD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FDPKOY5E.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YADX2T3Y.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CII3XR4K.js";
|
|
28
28
|
import {
|
|
29
29
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
30
30
|
JobStatusSchema,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
updateStage,
|
|
73
73
|
withWarnings,
|
|
74
74
|
writeJobCancelled
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-AHB3TVNL.js";
|
|
76
76
|
import {
|
|
77
77
|
allOf,
|
|
78
78
|
anyOf
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
import {
|
|
81
81
|
normalizeTopicToCanonical,
|
|
82
82
|
synthesizeResearch
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-STZL32RV.js";
|
|
84
84
|
import {
|
|
85
85
|
IssueTriage,
|
|
86
86
|
createAuditTrail,
|
|
@@ -89,13 +89,13 @@ import {
|
|
|
89
89
|
createGraphAuditBridge,
|
|
90
90
|
emitPipelinePolicyEvent,
|
|
91
91
|
readActionRefusal
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-H2MER5LS.js";
|
|
93
93
|
import {
|
|
94
94
|
sanitizeInput
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-PEPOVKYR.js";
|
|
96
96
|
import {
|
|
97
97
|
withPrerequisite
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-SIDFUTGU.js";
|
|
99
99
|
import {
|
|
100
100
|
NOOP_NOTIFIER,
|
|
101
101
|
RateLimiter,
|
|
@@ -120,14 +120,14 @@ import {
|
|
|
120
120
|
toolSuccessStructured,
|
|
121
121
|
withProgressHeartbeat,
|
|
122
122
|
wrapToolWithTimeout
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-KK3PY5SO.js";
|
|
124
124
|
import {
|
|
125
125
|
EventTopics,
|
|
126
126
|
UNRESOLVED_MODEL_ID,
|
|
127
127
|
createEvent,
|
|
128
128
|
getGlobalEventBus,
|
|
129
129
|
getGlobalRegistry
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-TMM6ZN2H.js";
|
|
131
131
|
import {
|
|
132
132
|
IDENTIFIER_RE,
|
|
133
133
|
LANG_VALUES,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
parseRegistry,
|
|
161
161
|
sourceExistsInRegistry,
|
|
162
162
|
summarizeContextForPrompt
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-5KCWILZF.js";
|
|
164
164
|
import {
|
|
165
165
|
REGISTRY_PATH,
|
|
166
166
|
getProjectRoot,
|
|
@@ -168,25 +168,25 @@ import {
|
|
|
168
168
|
loadTechniquesRegistry,
|
|
169
169
|
resolveInsideRoot,
|
|
170
170
|
resolveRegistryRoot
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-AV4CN3CJ.js";
|
|
172
172
|
import {
|
|
173
173
|
getTokenEnvVars,
|
|
174
174
|
resolveToken
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-XX3ESMYC.js";
|
|
176
176
|
import {
|
|
177
177
|
DEFAULT_RELEVANCE_CONFIG,
|
|
178
178
|
MemoryImportance,
|
|
179
179
|
MemoryType,
|
|
180
180
|
calculateTextJaccardSimilarity,
|
|
181
181
|
getToolMemory
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-D6HCACOH.js";
|
|
183
183
|
import {
|
|
184
184
|
STOPWORDS,
|
|
185
185
|
truncateWithInfo
|
|
186
186
|
} from "./chunk-7LP6VJRP.js";
|
|
187
187
|
import {
|
|
188
188
|
createSessionMemory
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-JDC252T4.js";
|
|
190
190
|
import {
|
|
191
191
|
BUILT_IN_EXPERTS,
|
|
192
192
|
BuiltInExpertTypeSchema,
|
|
@@ -204,24 +204,24 @@ import {
|
|
|
204
204
|
getAvailableClis,
|
|
205
205
|
sleep,
|
|
206
206
|
withTimeout
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-YBQO5XCI.js";
|
|
208
208
|
import {
|
|
209
209
|
BaseAdapter,
|
|
210
210
|
createStream,
|
|
211
211
|
requireApiKey,
|
|
212
212
|
validateApiKeyPresence
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-2Z4QWGZD.js";
|
|
214
214
|
import {
|
|
215
215
|
DEFAULTS
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-BWPBKKEP.js";
|
|
217
217
|
import {
|
|
218
218
|
resolveGatewayEnv
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-QM4HMMSJ.js";
|
|
220
220
|
import {
|
|
221
221
|
getAvailabilityCache,
|
|
222
222
|
getCliForModelId,
|
|
223
223
|
resolveFallback
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-LVMAPILY.js";
|
|
225
225
|
import {
|
|
226
226
|
sanitizeErrorDetails
|
|
227
227
|
} from "./chunk-2NDA4DHW.js";
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
import {
|
|
234
234
|
generateHyphenId,
|
|
235
235
|
generateUUID
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-NXWC7OLE.js";
|
|
237
237
|
import {
|
|
238
238
|
AGENT_ROUTER_TIMEOUTS,
|
|
239
239
|
API_TIMEOUTS,
|
|
@@ -349,7 +349,7 @@ import {
|
|
|
349
349
|
selectStrategyByManifest,
|
|
350
350
|
toExpertTaskAnalysisResult,
|
|
351
351
|
withStep
|
|
352
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-56SU2GM2.js";
|
|
353
353
|
import {
|
|
354
354
|
ensureLearningDir,
|
|
355
355
|
getMetaOutcomesFile,
|
|
@@ -30307,7 +30307,7 @@ function execIdFields(executionId) {
|
|
|
30307
30307
|
async function populateUnifiedContextOnState(state, options) {
|
|
30308
30308
|
const taskCandidate = state["task"];
|
|
30309
30309
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30310
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30310
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-7T56LVZN.js");
|
|
30311
30311
|
const category = inferTaskCategory2(taskCandidate);
|
|
30312
30312
|
const executionId = options?.executionId;
|
|
30313
30313
|
const execFields = execIdFields(executionId);
|
|
@@ -45751,7 +45751,7 @@ async function tryIssueTriage(task) {
|
|
|
45751
45751
|
try {
|
|
45752
45752
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45753
45753
|
if (issueMatch === null) return null;
|
|
45754
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45754
|
+
const { createIssueTriage } = await import("./issue-triage-Z2JY62F4.js");
|
|
45755
45755
|
const triage = createIssueTriage();
|
|
45756
45756
|
const owner = issueMatch[1] ?? "";
|
|
45757
45757
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -45779,7 +45779,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45779
45779
|
]);
|
|
45780
45780
|
async function classifyWithLLM(task) {
|
|
45781
45781
|
try {
|
|
45782
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45782
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-J5IUE2Y5.js");
|
|
45783
45783
|
const prompt = [
|
|
45784
45784
|
"Classify this task into exactly one pipeline template.",
|
|
45785
45785
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46153,7 +46153,7 @@ function buildVotingInput(plan, config) {
|
|
|
46153
46153
|
}
|
|
46154
46154
|
async function executeSingleVote(plan, config, log) {
|
|
46155
46155
|
try {
|
|
46156
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46156
|
+
const { executeVoting } = await import("./consensus-vote-BP6EMIHB.js");
|
|
46157
46157
|
const input = buildVotingInput(plan, config);
|
|
46158
46158
|
const result = await executeVoting(input, log);
|
|
46159
46159
|
return parseVotingResult(result);
|
|
@@ -46857,7 +46857,7 @@ var memoryInitPromise = null;
|
|
|
46857
46857
|
async function initPipelineMemory() {
|
|
46858
46858
|
if (cachedMemory !== null) return cachedMemory;
|
|
46859
46859
|
try {
|
|
46860
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
46860
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YBIA3SM5.js");
|
|
46861
46861
|
const { getLearningDir } = await import("./learning-persistence-ER7E5Q6T.js");
|
|
46862
46862
|
const mem = createSessionMemory2(getLearningDir());
|
|
46863
46863
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -46919,7 +46919,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
46919
46919
|
callRecord(routingMemoryCache);
|
|
46920
46920
|
return;
|
|
46921
46921
|
}
|
|
46922
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
46922
|
+
routingMemoryInitPromise ??= import("./routing-memory-6GL2DVPI.js").then(({ createRoutingMemory }) => {
|
|
46923
46923
|
routingMemoryCache ??= createRoutingMemory();
|
|
46924
46924
|
return routingMemoryCache;
|
|
46925
46925
|
}).catch((error) => {
|
|
@@ -46939,6 +46939,22 @@ var UNMEASURED_TRUST_TIER = "unmeasured";
|
|
|
46939
46939
|
function emitStageEvent2(stage, status, details) {
|
|
46940
46940
|
emitPipelineStageEvent("dev-pipeline", stage, status, details);
|
|
46941
46941
|
}
|
|
46942
|
+
function outcomeFieldsFromBridge(r) {
|
|
46943
|
+
return {
|
|
46944
|
+
cli: r.cli,
|
|
46945
|
+
routedBy: r.routedBy,
|
|
46946
|
+
success: r.success,
|
|
46947
|
+
durationMs: r.routedDurationMs ?? r.durationMs,
|
|
46948
|
+
error: r.error
|
|
46949
|
+
};
|
|
46950
|
+
}
|
|
46951
|
+
function failureFields(args) {
|
|
46952
|
+
if (args.success || args.error === void 0 || args.error.length === 0) return {};
|
|
46953
|
+
return {
|
|
46954
|
+
failureCategory: categorizeOutcomeErrorMessage(args.error),
|
|
46955
|
+
errorMessage: args.error.slice(0, 500)
|
|
46956
|
+
};
|
|
46957
|
+
}
|
|
46942
46958
|
function recordOutcome(args) {
|
|
46943
46959
|
if (args.cli === void 0) {
|
|
46944
46960
|
logger44.debug("Skipping outcome record \u2014 no cli (bridge failed or non-CLI stage)", {
|
|
@@ -46960,7 +46976,10 @@ function recordOutcome(args) {
|
|
|
46960
46976
|
timestamp: new Date(nowMs).toISOString(),
|
|
46961
46977
|
source: "delegate",
|
|
46962
46978
|
routingStage: args.routingStage,
|
|
46963
|
-
retryCount: args.retryCount
|
|
46979
|
+
retryCount: args.retryCount,
|
|
46980
|
+
...args.routedBy !== void 0 && { routedBy: args.routedBy },
|
|
46981
|
+
...args.qualitySignals !== void 0 && { qualitySignals: [...args.qualitySignals] },
|
|
46982
|
+
...failureFields(args)
|
|
46964
46983
|
});
|
|
46965
46984
|
} catch (error) {
|
|
46966
46985
|
logger44.debug("Failed to record outcome", { taskId: args.taskId, error: String(error) });
|
|
@@ -47059,6 +47078,7 @@ async function failClosedVote(config, start, error) {
|
|
|
47059
47078
|
taskId: "vote",
|
|
47060
47079
|
category: "planning",
|
|
47061
47080
|
cli: void 0,
|
|
47081
|
+
routedBy: void 0,
|
|
47062
47082
|
success: false,
|
|
47063
47083
|
durationMs: getTimeProvider().now() - start
|
|
47064
47084
|
});
|
|
@@ -47076,7 +47096,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
47076
47096
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47077
47097
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47078
47098
|
try {
|
|
47079
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47099
|
+
const { executeVoting } = await import("./consensus-vote-BP6EMIHB.js");
|
|
47080
47100
|
const votingResult = await executeVoting(
|
|
47081
47101
|
{
|
|
47082
47102
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47095,6 +47115,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
47095
47115
|
taskId: "vote",
|
|
47096
47116
|
category: "planning",
|
|
47097
47117
|
cli: void 0,
|
|
47118
|
+
routedBy: void 0,
|
|
47098
47119
|
success: vote.kind === "approved",
|
|
47099
47120
|
durationMs: ms
|
|
47100
47121
|
});
|
|
@@ -47835,7 +47856,7 @@ ${text}` : "";
|
|
|
47835
47856
|
}
|
|
47836
47857
|
async function getWeatherContext() {
|
|
47837
47858
|
try {
|
|
47838
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47859
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-3EPVTET2.js");
|
|
47839
47860
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47840
47861
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47841
47862
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47853,7 +47874,7 @@ ${lines}
|
|
|
47853
47874
|
}
|
|
47854
47875
|
async function getMemoryContext(task) {
|
|
47855
47876
|
try {
|
|
47856
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47877
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YBIA3SM5.js");
|
|
47857
47878
|
const { getLearningDir } = await import("./learning-persistence-ER7E5Q6T.js");
|
|
47858
47879
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47859
47880
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47953,6 +47974,7 @@ function createResearchStage({
|
|
|
47953
47974
|
taskId: "research",
|
|
47954
47975
|
category: "research",
|
|
47955
47976
|
cli: void 0,
|
|
47977
|
+
routedBy: void 0,
|
|
47956
47978
|
success: true,
|
|
47957
47979
|
durationMs
|
|
47958
47980
|
});
|
|
@@ -48011,9 +48033,7 @@ ${contextBlock}`;
|
|
|
48011
48033
|
recordOutcome({
|
|
48012
48034
|
taskId: "plan",
|
|
48013
48035
|
category: "architecture",
|
|
48014
|
-
|
|
48015
|
-
success: r.success,
|
|
48016
|
-
durationMs: r.durationMs
|
|
48036
|
+
...outcomeFieldsFromBridge(r)
|
|
48017
48037
|
});
|
|
48018
48038
|
await postProgress(
|
|
48019
48039
|
config,
|
|
@@ -48045,9 +48065,7 @@ ${plan}`,
|
|
|
48045
48065
|
recordOutcome({
|
|
48046
48066
|
taskId: "decompose",
|
|
48047
48067
|
category: "planning",
|
|
48048
|
-
|
|
48049
|
-
success: r.success,
|
|
48050
|
-
durationMs: r.durationMs
|
|
48068
|
+
...outcomeFieldsFromBridge(r)
|
|
48051
48069
|
});
|
|
48052
48070
|
await postProgress(config, "PM", `${String(tasks.length)} task(s)`);
|
|
48053
48071
|
return tasks;
|
|
@@ -48081,9 +48099,7 @@ ${task.description}${fb}`,
|
|
|
48081
48099
|
recordOutcome({
|
|
48082
48100
|
taskId: task.id,
|
|
48083
48101
|
category: "code_generation",
|
|
48084
|
-
|
|
48085
|
-
success: r.success,
|
|
48086
|
-
durationMs: r.durationMs
|
|
48102
|
+
...outcomeFieldsFromBridge(r)
|
|
48087
48103
|
});
|
|
48088
48104
|
recordRoutingExperience(
|
|
48089
48105
|
"code_generation",
|
|
@@ -48117,9 +48133,10 @@ function createQaReviewStage({
|
|
|
48117
48133
|
recordOutcome({
|
|
48118
48134
|
taskId: task.id,
|
|
48119
48135
|
category: "code_review",
|
|
48120
|
-
|
|
48121
|
-
|
|
48122
|
-
|
|
48136
|
+
// #6521 I2: the row scores the reviewer's CALL; the verdict judges the
|
|
48137
|
+
// implementation, so it rides as a signal, not as `success`.
|
|
48138
|
+
...outcomeFieldsFromBridge(r),
|
|
48139
|
+
qualitySignals: [`qa-verdict:${review.verdict}`]
|
|
48123
48140
|
});
|
|
48124
48141
|
if (review.verdict === "pass") {
|
|
48125
48142
|
recordLearning(`Task "${task.title}" passed QA`, 0.8, "pipeline-qa");
|
|
@@ -48154,6 +48171,7 @@ function createQualityGateStage({
|
|
|
48154
48171
|
taskId: "quality-gate",
|
|
48155
48172
|
category: "code_review",
|
|
48156
48173
|
cli: void 0,
|
|
48174
|
+
routedBy: void 0,
|
|
48157
48175
|
success: passed,
|
|
48158
48176
|
durationMs: ms
|
|
48159
48177
|
});
|
|
@@ -48180,6 +48198,7 @@ function createSecurityScanStage({
|
|
|
48180
48198
|
taskId: "security",
|
|
48181
48199
|
category: "security_review",
|
|
48182
48200
|
cli: void 0,
|
|
48201
|
+
routedBy: void 0,
|
|
48183
48202
|
success: passed,
|
|
48184
48203
|
durationMs: ms
|
|
48185
48204
|
});
|
|
@@ -48420,7 +48439,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48420
48439
|
}
|
|
48421
48440
|
async function queryResearchRegistry(task) {
|
|
48422
48441
|
try {
|
|
48423
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48442
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-AB46YY4W.js");
|
|
48424
48443
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48425
48444
|
if (topic === void 0) return null;
|
|
48426
48445
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48491,7 +48510,7 @@ function createScanStageWrapper() {
|
|
|
48491
48510
|
try {
|
|
48492
48511
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48493
48512
|
if (slug !== void 0) {
|
|
48494
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48513
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-N6VXMUAJ.js");
|
|
48495
48514
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48496
48515
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48497
48516
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -52235,7 +52254,7 @@ var GitHubTaskTracker = class {
|
|
|
52235
52254
|
cachedProvider = null;
|
|
52236
52255
|
async getProvider() {
|
|
52237
52256
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
52238
|
-
const { createScmProvider } = await import("./factory-
|
|
52257
|
+
const { createScmProvider } = await import("./factory-IUMI3NYA.js");
|
|
52239
52258
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
52240
52259
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
52241
52260
|
this.cachedProvider = result.value;
|
|
@@ -53202,7 +53221,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
53202
53221
|
}
|
|
53203
53222
|
}
|
|
53204
53223
|
async function defaultSources(includeOpenRouter) {
|
|
53205
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
53224
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-R726DTSS.js");
|
|
53206
53225
|
const adapters = createAllAdapters2();
|
|
53207
53226
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
53208
53227
|
}
|
|
@@ -56527,4 +56546,4 @@ export {
|
|
|
56527
56546
|
startPipelineEventBridge,
|
|
56528
56547
|
shutdownPipelineEventBridge
|
|
56529
56548
|
};
|
|
56530
|
-
//# sourceMappingURL=chunk-
|
|
56549
|
+
//# sourceMappingURL=chunk-3XHPLLZO.js.map
|