nexus-agents 4.22.3 → 4.23.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-Y3QSDCYI.js → child-mcp-config-FEK2HK5L.js} +5 -5
- package/dist/{chunk-JV6SMJMJ.js → chunk-2FYFHAI4.js} +2 -2
- package/dist/{chunk-LX5HF6N5.js → chunk-2MPJ7UDR.js} +97 -45
- package/dist/{chunk-LX5HF6N5.js.map → chunk-2MPJ7UDR.js.map} +1 -1
- package/dist/{chunk-X7MLVGJV.js → chunk-32IMMUXP.js} +2 -2
- package/dist/{chunk-ICGYXBS6.js → chunk-3SMGCYGN.js} +2 -2
- package/dist/{chunk-RQV5ZUXT.js → chunk-4OW67KT2.js} +2 -2
- package/dist/{chunk-SBLLJXJO.js → chunk-5KKJKQVE.js} +5 -4
- package/dist/chunk-5KKJKQVE.js.map +1 -0
- package/dist/{chunk-EU7S5CDW.js → chunk-ADC7YEU2.js} +6 -6
- package/dist/{chunk-TBXAEAKP.js → chunk-AWMXPIMK.js} +3 -3
- package/dist/{chunk-RMTTKP4L.js → chunk-CMZGRDKF.js} +2 -2
- package/dist/{chunk-JM42KPWJ.js → chunk-EPZCODRK.js} +9 -9
- package/dist/{chunk-FVUQY73A.js → chunk-EYQUQ2PZ.js} +2 -2
- package/dist/{chunk-HHLCAWAV.js → chunk-GBHJ37V3.js} +2 -2
- package/dist/{chunk-RE2GYZRK.js → chunk-GGQOP4VK.js} +5 -5
- package/dist/{chunk-MM7BINTV.js → chunk-GVLMTQ46.js} +4 -4
- package/dist/{chunk-IK6JPHMX.js → chunk-HPGPOZG4.js} +7 -7
- package/dist/{chunk-V533P6BT.js → chunk-IC6WLIGJ.js} +4 -4
- package/dist/{chunk-KGFFEQTN.js → chunk-JEAKVUWM.js} +2 -2
- package/dist/{chunk-TMKBZG3W.js → chunk-K2A24T36.js} +2 -2
- package/dist/{chunk-6U3LS57H.js → chunk-K2DSQJEH.js} +6 -6
- package/dist/{chunk-7HBTESFT.js → chunk-K7RASYIZ.js} +3 -3
- package/dist/{chunk-QRG7UR2F.js → chunk-LLGK3NRY.js} +2 -2
- package/dist/{chunk-JR4XD3T7.js → chunk-LMENHZQ6.js} +4 -4
- package/dist/{chunk-MTGMOLRO.js → chunk-LMTBX4GZ.js} +2 -2
- package/dist/{chunk-D6ZTSN34.js → chunk-LSJ2EPOF.js} +9 -21
- package/dist/chunk-LSJ2EPOF.js.map +1 -0
- package/dist/{chunk-GMJQ6QMZ.js → chunk-MSHZHT5X.js} +2 -2
- package/dist/{chunk-KDUSLLZM.js → chunk-NMFXYX7R.js} +2 -2
- package/dist/{chunk-NBMWONHE.js → chunk-OGHEKPLD.js} +11 -2
- package/dist/{chunk-NBMWONHE.js.map → chunk-OGHEKPLD.js.map} +1 -1
- package/dist/{chunk-2SVIHHNJ.js → chunk-OYFKB64X.js} +9 -7
- package/dist/{chunk-2SVIHHNJ.js.map → chunk-OYFKB64X.js.map} +1 -1
- package/dist/{chunk-H7CV35LZ.js → chunk-PUGRS4KW.js} +9 -4
- package/dist/chunk-PUGRS4KW.js.map +1 -0
- package/dist/{chunk-DGLAEH7Y.js → chunk-R3H46BNY.js} +2 -2
- package/dist/{chunk-N5W3GATS.js → chunk-TXCJMTLN.js} +10 -10
- package/dist/{chunk-CBORIR4Y.js → chunk-WJGTRYWS.js} +2 -2
- package/dist/{chunk-W2DYH4WL.js → chunk-XQEWXGJ5.js} +10 -10
- package/dist/{chunk-PSXX2GBZ.js → chunk-YFDE4AM3.js} +7 -7
- package/dist/{chunk-P422WQJM.js → chunk-YVW743K3.js} +2 -2
- package/dist/{chunk-XYWCZNFC.js → chunk-Z37OVF33.js} +2 -2
- package/dist/{cli-circuit-breaker-T2IKLJVA.js → cli-circuit-breaker-VUWP2GRN.js} +5 -5
- package/dist/cli.js +46 -45
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-CCDCVYTY.js → composite-router-4F3ZVLJV.js} +4 -4
- package/dist/{consensus-vote-TMMGZROW.js → consensus-vote-ETJ63JRC.js} +20 -20
- package/dist/{context-retriever-CKJ7EJME.js → context-retriever-L2LTCKV6.js} +11 -11
- package/dist/doctor-deep-HPBHFGBZ.js +13 -0
- package/dist/{doctor-live-IAERE7DO.js → doctor-live-NQ35PQ5B.js} +12 -12
- package/dist/{expert-bridge-5MK4DOB7.js → expert-bridge-XN5MFZOG.js} +6 -6
- package/dist/factory-2TJ44P7L.js +15 -0
- package/dist/factory-GVBBWUOE.js +25 -0
- package/dist/{improvement-review-DKCVIJSF.js → improvement-review-7VJYOI2F.js} +7 -7
- package/dist/index.d.ts +11 -0
- package/dist/index.js +34 -34
- package/dist/{init-opencode-CM2HL2PI.js → init-opencode-TLVVMG54.js} +8 -8
- package/dist/issue-triage-YREC36AC.js +17 -0
- package/dist/{learning-persistence-SR5F4DSY.js → learning-persistence-7O5QYDM7.js} +3 -3
- package/dist/{pr-reviewer-helpers-I5UIREUR.js → pr-reviewer-helpers-4ERCFSZ7.js} +6 -6
- package/dist/{registry-command-BYRGRQ3I.js → registry-command-GN2REQQP.js} +4 -4
- package/dist/{repo-security-plan-NP6AT3NR.js → repo-security-plan-VPAXEENC.js} +5 -5
- package/dist/research-helpers-synthesize-OZOOIEFW.js +14 -0
- package/dist/{routing-memory-IZH3XQQH.js → routing-memory-OF7J3OE4.js} +4 -4
- package/dist/{session-memory-OWEWA5BX.js → session-memory-O5M3CLRX.js} +5 -5
- package/dist/setup-config-WW5BNLVS.js +11 -0
- package/dist/{setup-custom-api-OZ3QCQTJ.js → setup-custom-api-UX4XNOT6.js} +6 -6
- package/dist/setup-data-dir-KHLK534F.js +28 -0
- package/dist/{tool-memory-LYKMCW7U.js → tool-memory-PIBTMGPH.js} +8 -8
- package/dist/{tool-memory-registry-adapters-UMPIJLHS.js → tool-memory-registry-adapters-IMRSOAAV.js} +3 -3
- package/dist/unified-registry-MUXCSSG5.js +26 -0
- package/dist/{weather-report-4OFVK5Q5.js → weather-report-JOATSJWU.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-D6ZTSN34.js.map +0 -1
- package/dist/chunk-H7CV35LZ.js.map +0 -1
- package/dist/chunk-SBLLJXJO.js.map +0 -1
- package/dist/doctor-deep-MIQ5QYUL.js +0 -13
- package/dist/factory-6FNJM6P3.js +0 -25
- package/dist/factory-OO7MN24L.js +0 -15
- package/dist/issue-triage-NH25YRNT.js +0 -17
- package/dist/research-helpers-synthesize-2R6TO2SP.js +0 -14
- package/dist/setup-config-O7LHHD42.js +0 -11
- package/dist/setup-data-dir-XPXP3KIZ.js +0 -28
- package/dist/unified-registry-ZSPVJ4BO.js +0 -26
- /package/dist/{child-mcp-config-Y3QSDCYI.js.map → child-mcp-config-FEK2HK5L.js.map} +0 -0
- /package/dist/{chunk-JV6SMJMJ.js.map → chunk-2FYFHAI4.js.map} +0 -0
- /package/dist/{chunk-X7MLVGJV.js.map → chunk-32IMMUXP.js.map} +0 -0
- /package/dist/{chunk-ICGYXBS6.js.map → chunk-3SMGCYGN.js.map} +0 -0
- /package/dist/{chunk-RQV5ZUXT.js.map → chunk-4OW67KT2.js.map} +0 -0
- /package/dist/{chunk-EU7S5CDW.js.map → chunk-ADC7YEU2.js.map} +0 -0
- /package/dist/{chunk-TBXAEAKP.js.map → chunk-AWMXPIMK.js.map} +0 -0
- /package/dist/{chunk-RMTTKP4L.js.map → chunk-CMZGRDKF.js.map} +0 -0
- /package/dist/{chunk-JM42KPWJ.js.map → chunk-EPZCODRK.js.map} +0 -0
- /package/dist/{chunk-FVUQY73A.js.map → chunk-EYQUQ2PZ.js.map} +0 -0
- /package/dist/{chunk-HHLCAWAV.js.map → chunk-GBHJ37V3.js.map} +0 -0
- /package/dist/{chunk-RE2GYZRK.js.map → chunk-GGQOP4VK.js.map} +0 -0
- /package/dist/{chunk-MM7BINTV.js.map → chunk-GVLMTQ46.js.map} +0 -0
- /package/dist/{chunk-IK6JPHMX.js.map → chunk-HPGPOZG4.js.map} +0 -0
- /package/dist/{chunk-V533P6BT.js.map → chunk-IC6WLIGJ.js.map} +0 -0
- /package/dist/{chunk-KGFFEQTN.js.map → chunk-JEAKVUWM.js.map} +0 -0
- /package/dist/{chunk-TMKBZG3W.js.map → chunk-K2A24T36.js.map} +0 -0
- /package/dist/{chunk-6U3LS57H.js.map → chunk-K2DSQJEH.js.map} +0 -0
- /package/dist/{chunk-7HBTESFT.js.map → chunk-K7RASYIZ.js.map} +0 -0
- /package/dist/{chunk-QRG7UR2F.js.map → chunk-LLGK3NRY.js.map} +0 -0
- /package/dist/{chunk-JR4XD3T7.js.map → chunk-LMENHZQ6.js.map} +0 -0
- /package/dist/{chunk-MTGMOLRO.js.map → chunk-LMTBX4GZ.js.map} +0 -0
- /package/dist/{chunk-GMJQ6QMZ.js.map → chunk-MSHZHT5X.js.map} +0 -0
- /package/dist/{chunk-KDUSLLZM.js.map → chunk-NMFXYX7R.js.map} +0 -0
- /package/dist/{chunk-DGLAEH7Y.js.map → chunk-R3H46BNY.js.map} +0 -0
- /package/dist/{chunk-N5W3GATS.js.map → chunk-TXCJMTLN.js.map} +0 -0
- /package/dist/{chunk-CBORIR4Y.js.map → chunk-WJGTRYWS.js.map} +0 -0
- /package/dist/{chunk-W2DYH4WL.js.map → chunk-XQEWXGJ5.js.map} +0 -0
- /package/dist/{chunk-PSXX2GBZ.js.map → chunk-YFDE4AM3.js.map} +0 -0
- /package/dist/{chunk-P422WQJM.js.map → chunk-YVW743K3.js.map} +0 -0
- /package/dist/{chunk-XYWCZNFC.js.map → chunk-Z37OVF33.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-T2IKLJVA.js.map → cli-circuit-breaker-VUWP2GRN.js.map} +0 -0
- /package/dist/{composite-router-CCDCVYTY.js.map → composite-router-4F3ZVLJV.js.map} +0 -0
- /package/dist/{consensus-vote-TMMGZROW.js.map → consensus-vote-ETJ63JRC.js.map} +0 -0
- /package/dist/{context-retriever-CKJ7EJME.js.map → context-retriever-L2LTCKV6.js.map} +0 -0
- /package/dist/{doctor-deep-MIQ5QYUL.js.map → doctor-deep-HPBHFGBZ.js.map} +0 -0
- /package/dist/{doctor-live-IAERE7DO.js.map → doctor-live-NQ35PQ5B.js.map} +0 -0
- /package/dist/{expert-bridge-5MK4DOB7.js.map → expert-bridge-XN5MFZOG.js.map} +0 -0
- /package/dist/{factory-6FNJM6P3.js.map → factory-2TJ44P7L.js.map} +0 -0
- /package/dist/{factory-OO7MN24L.js.map → factory-GVBBWUOE.js.map} +0 -0
- /package/dist/{improvement-review-DKCVIJSF.js.map → improvement-review-7VJYOI2F.js.map} +0 -0
- /package/dist/{init-opencode-CM2HL2PI.js.map → init-opencode-TLVVMG54.js.map} +0 -0
- /package/dist/{issue-triage-NH25YRNT.js.map → issue-triage-YREC36AC.js.map} +0 -0
- /package/dist/{learning-persistence-SR5F4DSY.js.map → learning-persistence-7O5QYDM7.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-I5UIREUR.js.map → pr-reviewer-helpers-4ERCFSZ7.js.map} +0 -0
- /package/dist/{registry-command-BYRGRQ3I.js.map → registry-command-GN2REQQP.js.map} +0 -0
- /package/dist/{repo-security-plan-NP6AT3NR.js.map → repo-security-plan-VPAXEENC.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-2R6TO2SP.js.map → research-helpers-synthesize-OZOOIEFW.js.map} +0 -0
- /package/dist/{routing-memory-IZH3XQQH.js.map → routing-memory-OF7J3OE4.js.map} +0 -0
- /package/dist/{session-memory-OWEWA5BX.js.map → session-memory-O5M3CLRX.js.map} +0 -0
- /package/dist/{setup-config-O7LHHD42.js.map → setup-config-WW5BNLVS.js.map} +0 -0
- /package/dist/{setup-custom-api-OZ3QCQTJ.js.map → setup-custom-api-UX4XNOT6.js.map} +0 -0
- /package/dist/{setup-data-dir-XPXP3KIZ.js.map → setup-data-dir-KHLK534F.js.map} +0 -0
- /package/dist/{tool-memory-LYKMCW7U.js.map → tool-memory-PIBTMGPH.js.map} +0 -0
- /package/dist/{tool-memory-registry-adapters-UMPIJLHS.js.map → tool-memory-registry-adapters-IMRSOAAV.js.map} +0 -0
- /package/dist/{unified-registry-ZSPVJ4BO.js.map → unified-registry-MUXCSSG5.js.map} +0 -0
- /package/dist/{weather-report-4OFVK5Q5.js.map → weather-report-JOATSJWU.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nexusMkdtemp
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4OW67KT2.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OYFKB64X.js";
|
|
7
|
+
import "./chunk-GBHJ37V3.js";
|
|
8
|
+
import "./chunk-OGHEKPLD.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
10
10
|
|
|
11
11
|
// src/cli-adapters/child-mcp-config.ts
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-FEK2HK5L.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OYFKB64X.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-2FYFHAI4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LLGK3NRY.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TXCJMTLN.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YFDE4AM3.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
abortJob,
|
|
@@ -46,24 +46,24 @@ import {
|
|
|
46
46
|
simulationDeniedResult,
|
|
47
47
|
toJobSummary,
|
|
48
48
|
writeJobCancelled
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XQEWXGJ5.js";
|
|
50
50
|
import {
|
|
51
51
|
allOf
|
|
52
52
|
} from "./chunk-OQB3XC5O.js";
|
|
53
53
|
import {
|
|
54
54
|
normalizeTopicToCanonical,
|
|
55
55
|
synthesizeResearch
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-PUGRS4KW.js";
|
|
57
57
|
import {
|
|
58
58
|
IssueTriage
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-K2DSQJEH.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveEnvMode,
|
|
62
62
|
sanitizeInput
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-MSHZHT5X.js";
|
|
64
64
|
import {
|
|
65
65
|
withPrerequisite
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-GVLMTQ46.js";
|
|
67
67
|
import {
|
|
68
68
|
NOOP_NOTIFIER,
|
|
69
69
|
RateLimiter,
|
|
@@ -87,18 +87,18 @@ import {
|
|
|
87
87
|
withAuditTrail,
|
|
88
88
|
withProgressHeartbeat,
|
|
89
89
|
wrapToolWithTimeout
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-LSJ2EPOF.js";
|
|
91
91
|
import {
|
|
92
92
|
createAuditTrail,
|
|
93
93
|
createGraphAuditBridge,
|
|
94
94
|
emitPipelinePolicyEvent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-32IMMUXP.js";
|
|
96
96
|
import {
|
|
97
97
|
EventTopics,
|
|
98
98
|
createEvent,
|
|
99
99
|
getGlobalEventBus,
|
|
100
100
|
getGlobalRegistry
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-IC6WLIGJ.js";
|
|
102
102
|
import {
|
|
103
103
|
IDENTIFIER_RE,
|
|
104
104
|
LANG_VALUES,
|
|
@@ -131,29 +131,29 @@ import {
|
|
|
131
131
|
parseRegistry,
|
|
132
132
|
sourceExistsInRegistry,
|
|
133
133
|
summarizeContextForPrompt
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-HPGPOZG4.js";
|
|
135
135
|
import {
|
|
136
136
|
loadPapersRegistry,
|
|
137
137
|
loadTechniquesRegistry,
|
|
138
138
|
resolveInsideRoot
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-YVW743K3.js";
|
|
140
140
|
import {
|
|
141
141
|
getTokenEnvVars,
|
|
142
142
|
resolveToken
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-Z37OVF33.js";
|
|
144
144
|
import {
|
|
145
145
|
DEFAULT_RELEVANCE_CONFIG,
|
|
146
146
|
MemoryImportance,
|
|
147
147
|
calculateTextJaccardSimilarity,
|
|
148
148
|
getToolMemory
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-ADC7YEU2.js";
|
|
150
150
|
import {
|
|
151
151
|
STOPWORDS,
|
|
152
152
|
truncateWithInfo
|
|
153
153
|
} from "./chunk-6T3EPABN.js";
|
|
154
154
|
import {
|
|
155
155
|
createSessionMemory
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-R3H46BNY.js";
|
|
157
157
|
import {
|
|
158
158
|
BUILT_IN_EXPERTS,
|
|
159
159
|
BuiltInExpertTypeSchema,
|
|
@@ -171,25 +171,25 @@ import {
|
|
|
171
171
|
getAvailableClis,
|
|
172
172
|
sleep,
|
|
173
173
|
withTimeout
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-EPZCODRK.js";
|
|
175
175
|
import {
|
|
176
176
|
BaseAdapter,
|
|
177
177
|
createStream,
|
|
178
178
|
requireApiKey,
|
|
179
179
|
validateApiKeyPresence
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-WJGTRYWS.js";
|
|
181
181
|
import {
|
|
182
182
|
DEFAULTS
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-K2A24T36.js";
|
|
184
184
|
import {
|
|
185
185
|
getAvailabilityCache,
|
|
186
186
|
getCliForModelId,
|
|
187
187
|
resolveFallback
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-CMZGRDKF.js";
|
|
189
189
|
import {
|
|
190
190
|
generateHyphenId,
|
|
191
191
|
generateUUID
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-LMTBX4GZ.js";
|
|
193
193
|
import {
|
|
194
194
|
AGENT_ROUTER_TIMEOUTS,
|
|
195
195
|
API_TIMEOUTS,
|
|
@@ -293,18 +293,18 @@ import {
|
|
|
293
293
|
selectStrategyByManifest,
|
|
294
294
|
toExpertTaskAnalysisResult,
|
|
295
295
|
withStep
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-OYFKB64X.js";
|
|
297
297
|
import {
|
|
298
298
|
ensureLearningDir,
|
|
299
299
|
getMetaOutcomesFile,
|
|
300
300
|
isPersistenceEnabled
|
|
301
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-GBHJ37V3.js";
|
|
302
302
|
import {
|
|
303
303
|
findRepoRoot,
|
|
304
304
|
getNexusDataDir,
|
|
305
305
|
nexusDataPath,
|
|
306
306
|
nexusDataPathEnsure
|
|
307
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-OGHEKPLD.js";
|
|
308
308
|
|
|
309
309
|
// src/config/schemas-core.ts
|
|
310
310
|
import { z } from "zod";
|
|
@@ -29544,7 +29544,7 @@ function execIdFields(executionId) {
|
|
|
29544
29544
|
async function populateUnifiedContextOnState(state, options) {
|
|
29545
29545
|
const taskCandidate = state["task"];
|
|
29546
29546
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29547
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29547
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-L2LTCKV6.js");
|
|
29548
29548
|
const category = inferTaskCategory2(taskCandidate);
|
|
29549
29549
|
const executionId = options?.executionId;
|
|
29550
29550
|
const execFields = execIdFields(executionId);
|
|
@@ -40464,7 +40464,13 @@ function recordDiscoveryOutcome(success, durationMs, errorMsg) {
|
|
|
40464
40464
|
const store = getOutcomeStore();
|
|
40465
40465
|
store.append({
|
|
40466
40466
|
id: `research-discover-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
40467
|
-
|
|
40467
|
+
// #5034: NOT `DEFAULT_CLI`. This tool does not know which CLI served the
|
|
40468
|
+
// work — `model` below is a synthetic label — and hardcoding 'claude'
|
|
40469
|
+
// credited or debited claude in the routing learner on every run.
|
|
40470
|
+
// `'unknown'` is the schema's own unattributed value, which the bandit's
|
|
40471
|
+
// warm-start partitions out instead of replaying (#4935). #5020 fixed
|
|
40472
|
+
// two of these four writers; this is the remainder.
|
|
40473
|
+
cli: "unknown",
|
|
40468
40474
|
category: "research",
|
|
40469
40475
|
model: "research-discover",
|
|
40470
40476
|
success,
|
|
@@ -41202,7 +41208,13 @@ function recordTriageOutcome(success, durationMs, errorMsg) {
|
|
|
41202
41208
|
const store = getOutcomeStore();
|
|
41203
41209
|
store.append({
|
|
41204
41210
|
id: `triage-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
41205
|
-
|
|
41211
|
+
// #5034: NOT `DEFAULT_CLI`. This tool does not know which CLI served the
|
|
41212
|
+
// work — `model` below is a synthetic label — and hardcoding 'claude'
|
|
41213
|
+
// credited or debited claude in the routing learner on every run.
|
|
41214
|
+
// `'unknown'` is the schema's own unattributed value, which the bandit's
|
|
41215
|
+
// warm-start partitions out instead of replaying (#4935). #5020 fixed
|
|
41216
|
+
// two of these four writers; this is the remainder.
|
|
41217
|
+
cli: "unknown",
|
|
41206
41218
|
category: "planning",
|
|
41207
41219
|
model: "issue-triage",
|
|
41208
41220
|
success,
|
|
@@ -41482,7 +41494,13 @@ function recordGraphWorkflowResult(result) {
|
|
|
41482
41494
|
const store = getOutcomeStore();
|
|
41483
41495
|
store.append({
|
|
41484
41496
|
id: `graph-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
41485
|
-
|
|
41497
|
+
// #5020: NOT `DEFAULT_CLI`. This tool does not know which CLI served the
|
|
41498
|
+
// work — the model field below is a synthetic label, not a model id — and
|
|
41499
|
+
// hardcoding 'claude' credited or debited claude for every run, poisoning
|
|
41500
|
+
// the same routing learner #5003 fixed in the feedback bridge.
|
|
41501
|
+
// `'unknown'` is the schema's own unattributed value, and the bandit's
|
|
41502
|
+
// warm-start already partitions it out (#4935) instead of replaying it.
|
|
41503
|
+
cli: "unknown",
|
|
41486
41504
|
category: workflowToCategory(result.workflow),
|
|
41487
41505
|
model: "graph-workflow",
|
|
41488
41506
|
success: succeeded,
|
|
@@ -42097,7 +42115,13 @@ function recordSpecOutcome(success, durationMs, stage) {
|
|
|
42097
42115
|
const store = getOutcomeStore();
|
|
42098
42116
|
store.append({
|
|
42099
42117
|
id: `spec-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
42100
|
-
|
|
42118
|
+
// #5020: NOT `DEFAULT_CLI`. This tool does not know which CLI served the
|
|
42119
|
+
// work — the model field below is a synthetic label, not a model id — and
|
|
42120
|
+
// hardcoding 'claude' credited or debited claude for every run, poisoning
|
|
42121
|
+
// the same routing learner #5003 fixed in the feedback bridge.
|
|
42122
|
+
// `'unknown'` is the schema's own unattributed value, and the bandit's
|
|
42123
|
+
// warm-start already partitions it out (#4935) instead of replaying it.
|
|
42124
|
+
cli: "unknown",
|
|
42101
42125
|
category: "code_generation",
|
|
42102
42126
|
model: "spec-executor",
|
|
42103
42127
|
success,
|
|
@@ -42123,6 +42147,24 @@ var MemoryQueryInputSchema = z80.object({
|
|
|
42123
42147
|
limit: z80.number().int().min(1).max(50).optional().default(10).describe("Maximum results to return (default: 10, max: 50)"),
|
|
42124
42148
|
source: z80.enum(["session", "belief", "agentic", "typed", "adaptive", "all"]).optional().default("all").describe("Filter by memory source (default: all)")
|
|
42125
42149
|
});
|
|
42150
|
+
function describeBackendCoverage(memory, source) {
|
|
42151
|
+
const optional = [
|
|
42152
|
+
["agentic", memory.isAgenticMemoryAvailable()],
|
|
42153
|
+
["adaptive", memory.isAdaptiveMemoryAvailable()],
|
|
42154
|
+
["typed", memory.isTypedMemoryAvailable()]
|
|
42155
|
+
];
|
|
42156
|
+
const inScope = (name) => source === "all" || source === name;
|
|
42157
|
+
const searched = [];
|
|
42158
|
+
const unavailable = [];
|
|
42159
|
+
for (const name of ["session", "belief"]) {
|
|
42160
|
+
if (inScope(name)) searched.push(name);
|
|
42161
|
+
}
|
|
42162
|
+
for (const [name, available] of optional) {
|
|
42163
|
+
if (!inScope(name)) continue;
|
|
42164
|
+
(available ? searched : unavailable).push(name);
|
|
42165
|
+
}
|
|
42166
|
+
return { searched, unavailable };
|
|
42167
|
+
}
|
|
42126
42168
|
var reflectionCache;
|
|
42127
42169
|
var reflectionAdapter;
|
|
42128
42170
|
function getReflectiveRetriever(logger59) {
|
|
@@ -42174,12 +42216,15 @@ async function executeMemoryQuery(input, logger59) {
|
|
|
42174
42216
|
reflectionSource: reflection?.source,
|
|
42175
42217
|
reflectionDurationMs: reflection?.durationMs
|
|
42176
42218
|
});
|
|
42219
|
+
const coverage = describeBackendCoverage(toolMemory, input.source);
|
|
42177
42220
|
return {
|
|
42178
42221
|
query: input.query,
|
|
42179
42222
|
...expandedQuery !== void 0 ? { expandedQuery } : {},
|
|
42180
42223
|
results,
|
|
42181
42224
|
count: results.length,
|
|
42182
|
-
source: input.source
|
|
42225
|
+
source: input.source,
|
|
42226
|
+
searched: coverage.searched,
|
|
42227
|
+
unavailable: coverage.unavailable
|
|
42183
42228
|
};
|
|
42184
42229
|
}
|
|
42185
42230
|
async function memoryQueryHandler(args, ctx) {
|
|
@@ -42215,7 +42260,14 @@ function registerMemoryQueryTool(server, deps) {
|
|
|
42215
42260
|
expandedQuery: z80.string().optional(),
|
|
42216
42261
|
results: z80.array(z80.unknown()),
|
|
42217
42262
|
count: z80.number(),
|
|
42218
|
-
source: z80.string()
|
|
42263
|
+
source: z80.string(),
|
|
42264
|
+
// #4999: the SDK validates structured content against this schema with
|
|
42265
|
+
// `additionalProperties: false`, so a field added to the response and not
|
|
42266
|
+
// declared here makes EVERY call fail with -32602 rather than merely going
|
|
42267
|
+
// unreported. The integration test caught that; the unit tests could not,
|
|
42268
|
+
// because they call the handler directly and never cross the protocol.
|
|
42269
|
+
searched: z80.array(z80.string()),
|
|
42270
|
+
unavailable: z80.array(z80.string())
|
|
42219
42271
|
};
|
|
42220
42272
|
server.registerTool(
|
|
42221
42273
|
"memory_query",
|
|
@@ -45272,7 +45324,7 @@ async function tryIssueTriage(task) {
|
|
|
45272
45324
|
try {
|
|
45273
45325
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45274
45326
|
if (issueMatch === null) return null;
|
|
45275
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45327
|
+
const { createIssueTriage } = await import("./issue-triage-YREC36AC.js");
|
|
45276
45328
|
const triage = createIssueTriage();
|
|
45277
45329
|
const owner = issueMatch[1] ?? "";
|
|
45278
45330
|
const num = issueMatch[2] ?? "";
|
|
@@ -45300,7 +45352,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45300
45352
|
]);
|
|
45301
45353
|
async function classifyWithLLM(task) {
|
|
45302
45354
|
try {
|
|
45303
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45355
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-XN5MFZOG.js");
|
|
45304
45356
|
const prompt = [
|
|
45305
45357
|
"Classify this task into exactly one pipeline template.",
|
|
45306
45358
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47081,8 +47133,8 @@ var memoryInitPromise = null;
|
|
|
47081
47133
|
async function initPipelineMemory() {
|
|
47082
47134
|
if (cachedMemory !== null) return cachedMemory;
|
|
47083
47135
|
try {
|
|
47084
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47085
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
47136
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-O5M3CLRX.js");
|
|
47137
|
+
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47086
47138
|
const mem = createSessionMemory2(getLearningDir());
|
|
47087
47139
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
47088
47140
|
cachedMemory = {
|
|
@@ -47143,7 +47195,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47143
47195
|
callRecord(routingMemoryCache);
|
|
47144
47196
|
return;
|
|
47145
47197
|
}
|
|
47146
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47198
|
+
routingMemoryInitPromise ??= import("./routing-memory-OF7J3OE4.js").then(({ createRoutingMemory }) => {
|
|
47147
47199
|
routingMemoryCache ??= createRoutingMemory();
|
|
47148
47200
|
return routingMemoryCache;
|
|
47149
47201
|
}).catch((error) => {
|
|
@@ -47177,7 +47229,7 @@ ${text}` : "";
|
|
|
47177
47229
|
}
|
|
47178
47230
|
async function getWeatherContext() {
|
|
47179
47231
|
try {
|
|
47180
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47232
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-JOATSJWU.js");
|
|
47181
47233
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47182
47234
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47183
47235
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47195,8 +47247,8 @@ ${lines}
|
|
|
47195
47247
|
}
|
|
47196
47248
|
async function getMemoryContext(task) {
|
|
47197
47249
|
try {
|
|
47198
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47199
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
47250
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-O5M3CLRX.js");
|
|
47251
|
+
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47200
47252
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47201
47253
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
47202
47254
|
if (learnings.length === 0) return "";
|
|
@@ -47314,7 +47366,7 @@ ${contextBlock}`;
|
|
|
47314
47366
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47315
47367
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47316
47368
|
try {
|
|
47317
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47369
|
+
const { executeVoting } = await import("./consensus-vote-ETJ63JRC.js");
|
|
47318
47370
|
const votingResult = await executeVoting(
|
|
47319
47371
|
{
|
|
47320
47372
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47753,7 +47805,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47753
47805
|
}
|
|
47754
47806
|
async function queryResearchRegistry(task) {
|
|
47755
47807
|
try {
|
|
47756
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47808
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-OZOOIEFW.js");
|
|
47757
47809
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47758
47810
|
if (topic === void 0) return null;
|
|
47759
47811
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47824,7 +47876,7 @@ function createScanStageWrapper() {
|
|
|
47824
47876
|
try {
|
|
47825
47877
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47826
47878
|
if (slug !== void 0) {
|
|
47827
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47879
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VPAXEENC.js");
|
|
47828
47880
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47829
47881
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47830
47882
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -50949,7 +51001,7 @@ var GitHubTaskTracker = class {
|
|
|
50949
51001
|
cachedProvider = null;
|
|
50950
51002
|
async getProvider() {
|
|
50951
51003
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
50952
|
-
const { createScmProvider } = await import("./factory-
|
|
51004
|
+
const { createScmProvider } = await import("./factory-2TJ44P7L.js");
|
|
50953
51005
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
50954
51006
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
50955
51007
|
this.cachedProvider = result.value;
|
|
@@ -51862,7 +51914,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51862
51914
|
}
|
|
51863
51915
|
}
|
|
51864
51916
|
async function defaultSources(includeOpenRouter) {
|
|
51865
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51917
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-GVBBWUOE.js");
|
|
51866
51918
|
const adapters = createAllAdapters2();
|
|
51867
51919
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51868
51920
|
}
|
|
@@ -55926,4 +55978,4 @@ export {
|
|
|
55926
55978
|
shutdownFeedbackSubscriber,
|
|
55927
55979
|
createEventBusBridge
|
|
55928
55980
|
};
|
|
55929
|
-
//# sourceMappingURL=chunk-
|
|
55981
|
+
//# sourceMappingURL=chunk-2MPJ7UDR.js.map
|