nexus-agents 8.9.0 → 8.9.2
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-WANOR3MX.js → ast-rule-runner-BEUFFQWL.js} +3 -3
- package/dist/{child-mcp-config-N4HLLCEH.js → child-mcp-config-QFPSL7Y2.js} +2 -2
- package/dist/{chunk-VADACTVB.js → chunk-2RZWKIDU.js} +2 -2
- package/dist/{chunk-L4SJAHQF.js → chunk-2ZOPJGMY.js} +42 -52
- package/dist/chunk-2ZOPJGMY.js.map +1 -0
- package/dist/{chunk-QCSXKQTK.js → chunk-36BA6D6J.js} +2 -2
- package/dist/{chunk-LP4W7RTH.js → chunk-46YGVSBD.js} +2 -2
- package/dist/{chunk-7J7UYJXC.js → chunk-4GSFZS6M.js} +7 -7
- package/dist/{chunk-U4RQ4XPP.js → chunk-6VGKI5QE.js} +7 -7
- package/dist/{chunk-ERL3XHQO.js → chunk-AOBIUJX5.js} +3 -3
- package/dist/{chunk-276GRITW.js → chunk-BTPPGHG3.js} +4 -4
- package/dist/{chunk-II5NJRKH.js → chunk-CMQO6WEQ.js} +2 -2
- package/dist/{chunk-WXU4Y5T3.js → chunk-D3TZZO6L.js} +2 -2
- package/dist/{chunk-K2PVLCHR.js → chunk-DLVIES6W.js} +2 -2
- package/dist/chunk-DQ5FYBSF.js +7 -0
- package/dist/{chunk-3XQK4MEF.js → chunk-FDZ3SLMV.js} +2 -2
- package/dist/{chunk-F2GERNMF.js → chunk-FOYSPWOA.js} +2 -2
- package/dist/{chunk-XTSDR3HE.js → chunk-FPHFCZ2E.js} +6 -6
- package/dist/{chunk-TZWJ7QLW.js → chunk-HQ2A4DGU.js} +2 -2
- package/dist/{chunk-3CLKYFE3.js → chunk-I3J7WUMV.js} +2 -2
- package/dist/{chunk-ISE53XGS.js → chunk-I4TQ5VQ7.js} +3 -3
- package/dist/{chunk-YUKNO5ZM.js → chunk-JLCOIDJJ.js} +9 -9
- package/dist/{chunk-64VMTY3M.js → chunk-K2GDWPVK.js} +2 -2
- package/dist/{chunk-SHE6SSTO.js → chunk-M33EQB7P.js} +2 -2
- package/dist/{chunk-GRBOJFKA.js → chunk-MJHNCHJI.js} +4 -4
- package/dist/{chunk-SNSPYZQT.js → chunk-MZUUIMRQ.js} +5 -5
- package/dist/{chunk-7QQ5F7T5.js → chunk-OJSG734P.js} +8 -8
- package/dist/{chunk-GXLI2E4U.js → chunk-PCPQ75EC.js} +4 -4
- package/dist/{chunk-Q5V3KTUL.js → chunk-Q55JVMUD.js} +2 -2
- package/dist/{chunk-EALWAQAQ.js → chunk-S2B4UBHK.js} +5 -5
- package/dist/{chunk-NR62IQDC.js → chunk-SGOBMAZK.js} +4 -4
- package/dist/{chunk-NR62IQDC.js.map → chunk-SGOBMAZK.js.map} +1 -1
- package/dist/{chunk-ISUMI6BV.js → chunk-UXCE2OBL.js} +3 -3
- package/dist/{chunk-7AU5WLAJ.js → chunk-V7PXKAZD.js} +2 -2
- package/dist/{chunk-FKKVZRSY.js → chunk-VQRXDFVF.js} +2 -2
- package/dist/{chunk-6HETGJSB.js → chunk-WANBZFP2.js} +2 -2
- package/dist/{chunk-ZGHJMFQ6.js → chunk-WFZARRYN.js} +3 -3
- package/dist/{chunk-AOS7F4QR.js → chunk-WKYDGROH.js} +2 -2
- package/dist/{cli-circuit-breaker-AAHYLFXZ.js → cli-circuit-breaker-BOZNYIZE.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-VAVDLJGT.js → composite-router-NG7BLVVR.js} +2 -2
- package/dist/{consensus-vote-6NUSZPQY.js → consensus-vote-T6D4XVUA.js} +17 -17
- package/dist/{context-retriever-MYKBBDAN.js → context-retriever-QKMSSV6W.js} +8 -8
- package/dist/{doctor-deep-AKOPPCXB.js → doctor-deep-CPMR6TDF.js} +3 -3
- package/dist/{doctor-live-3PVIYQST.js → doctor-live-GWE5IA7D.js} +9 -9
- package/dist/{expert-bridge-G3KN7QWL.js → expert-bridge-6WZ333NT.js} +4 -4
- package/dist/{factory-KVMLFEWJ.js → factory-2DD2YGBU.js} +5 -5
- package/dist/{factory-ROTP63IZ.js → factory-73WKMDVR.js} +9 -9
- package/dist/{improvement-review-5EYOUAB6.js → improvement-review-TGACR3DL.js} +6 -6
- package/dist/index.d.ts +33 -13
- package/dist/index.js +32 -32
- package/dist/{init-opencode-C63LASGX.js → init-opencode-7PKVI3LD.js} +6 -6
- package/dist/issue-triage-MLBUABPA.js +17 -0
- package/dist/{pr-reviewer-helpers-IPC6XCRK.js → pr-reviewer-helpers-7DSP3YTT.js} +4 -4
- package/dist/{registry-command-IRDP2L2R.js → registry-command-YXFZ7LVE.js} +2 -2
- package/dist/{repo-security-plan-NS47HQEF.js → repo-security-plan-M36GODNF.js} +3 -3
- package/dist/{research-helpers-synthesize-5NBL637T.js → research-helpers-synthesize-7CI4MFYP.js} +4 -4
- package/dist/{routing-memory-2IELT5GT.js → routing-memory-MIK3LGDH.js} +2 -2
- package/dist/{session-memory-CH3CVLIT.js → session-memory-T2X4BM33.js} +3 -3
- package/dist/{setup-config-MKZZDUJP.js → setup-config-6JSBY6OG.js} +3 -3
- package/dist/{setup-custom-api-2I52S7XU.js → setup-custom-api-2OXG6ERI.js} +4 -4
- package/dist/setup-data-dir-KVIXN5DN.js +29 -0
- package/dist/{tool-memory-STS3DWOK.js → tool-memory-AL3RAR67.js} +5 -5
- package/dist/{unified-registry-NJS4ZWC3.js → unified-registry-5YUSIEML.js} +10 -10
- package/dist/{weather-report-YG4T4Q23.js → weather-report-W34L4HW5.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2ONCHXIW.js +0 -7
- package/dist/chunk-L4SJAHQF.js.map +0 -1
- package/dist/issue-triage-VRELWGYY.js +0 -17
- package/dist/setup-data-dir-LM2IFTFD.js +0 -29
- /package/dist/{ast-rule-runner-WANOR3MX.js.map → ast-rule-runner-BEUFFQWL.js.map} +0 -0
- /package/dist/{child-mcp-config-N4HLLCEH.js.map → child-mcp-config-QFPSL7Y2.js.map} +0 -0
- /package/dist/{chunk-VADACTVB.js.map → chunk-2RZWKIDU.js.map} +0 -0
- /package/dist/{chunk-QCSXKQTK.js.map → chunk-36BA6D6J.js.map} +0 -0
- /package/dist/{chunk-LP4W7RTH.js.map → chunk-46YGVSBD.js.map} +0 -0
- /package/dist/{chunk-7J7UYJXC.js.map → chunk-4GSFZS6M.js.map} +0 -0
- /package/dist/{chunk-U4RQ4XPP.js.map → chunk-6VGKI5QE.js.map} +0 -0
- /package/dist/{chunk-ERL3XHQO.js.map → chunk-AOBIUJX5.js.map} +0 -0
- /package/dist/{chunk-276GRITW.js.map → chunk-BTPPGHG3.js.map} +0 -0
- /package/dist/{chunk-II5NJRKH.js.map → chunk-CMQO6WEQ.js.map} +0 -0
- /package/dist/{chunk-WXU4Y5T3.js.map → chunk-D3TZZO6L.js.map} +0 -0
- /package/dist/{chunk-K2PVLCHR.js.map → chunk-DLVIES6W.js.map} +0 -0
- /package/dist/{chunk-2ONCHXIW.js.map → chunk-DQ5FYBSF.js.map} +0 -0
- /package/dist/{chunk-3XQK4MEF.js.map → chunk-FDZ3SLMV.js.map} +0 -0
- /package/dist/{chunk-F2GERNMF.js.map → chunk-FOYSPWOA.js.map} +0 -0
- /package/dist/{chunk-XTSDR3HE.js.map → chunk-FPHFCZ2E.js.map} +0 -0
- /package/dist/{chunk-TZWJ7QLW.js.map → chunk-HQ2A4DGU.js.map} +0 -0
- /package/dist/{chunk-3CLKYFE3.js.map → chunk-I3J7WUMV.js.map} +0 -0
- /package/dist/{chunk-ISE53XGS.js.map → chunk-I4TQ5VQ7.js.map} +0 -0
- /package/dist/{chunk-YUKNO5ZM.js.map → chunk-JLCOIDJJ.js.map} +0 -0
- /package/dist/{chunk-64VMTY3M.js.map → chunk-K2GDWPVK.js.map} +0 -0
- /package/dist/{chunk-SHE6SSTO.js.map → chunk-M33EQB7P.js.map} +0 -0
- /package/dist/{chunk-GRBOJFKA.js.map → chunk-MJHNCHJI.js.map} +0 -0
- /package/dist/{chunk-SNSPYZQT.js.map → chunk-MZUUIMRQ.js.map} +0 -0
- /package/dist/{chunk-7QQ5F7T5.js.map → chunk-OJSG734P.js.map} +0 -0
- /package/dist/{chunk-GXLI2E4U.js.map → chunk-PCPQ75EC.js.map} +0 -0
- /package/dist/{chunk-Q5V3KTUL.js.map → chunk-Q55JVMUD.js.map} +0 -0
- /package/dist/{chunk-EALWAQAQ.js.map → chunk-S2B4UBHK.js.map} +0 -0
- /package/dist/{chunk-ISUMI6BV.js.map → chunk-UXCE2OBL.js.map} +0 -0
- /package/dist/{chunk-7AU5WLAJ.js.map → chunk-V7PXKAZD.js.map} +0 -0
- /package/dist/{chunk-FKKVZRSY.js.map → chunk-VQRXDFVF.js.map} +0 -0
- /package/dist/{chunk-6HETGJSB.js.map → chunk-WANBZFP2.js.map} +0 -0
- /package/dist/{chunk-ZGHJMFQ6.js.map → chunk-WFZARRYN.js.map} +0 -0
- /package/dist/{chunk-AOS7F4QR.js.map → chunk-WKYDGROH.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-AAHYLFXZ.js.map → cli-circuit-breaker-BOZNYIZE.js.map} +0 -0
- /package/dist/{composite-router-VAVDLJGT.js.map → composite-router-NG7BLVVR.js.map} +0 -0
- /package/dist/{consensus-vote-6NUSZPQY.js.map → consensus-vote-T6D4XVUA.js.map} +0 -0
- /package/dist/{context-retriever-MYKBBDAN.js.map → context-retriever-QKMSSV6W.js.map} +0 -0
- /package/dist/{doctor-deep-AKOPPCXB.js.map → doctor-deep-CPMR6TDF.js.map} +0 -0
- /package/dist/{doctor-live-3PVIYQST.js.map → doctor-live-GWE5IA7D.js.map} +0 -0
- /package/dist/{expert-bridge-G3KN7QWL.js.map → expert-bridge-6WZ333NT.js.map} +0 -0
- /package/dist/{factory-KVMLFEWJ.js.map → factory-2DD2YGBU.js.map} +0 -0
- /package/dist/{factory-ROTP63IZ.js.map → factory-73WKMDVR.js.map} +0 -0
- /package/dist/{improvement-review-5EYOUAB6.js.map → improvement-review-TGACR3DL.js.map} +0 -0
- /package/dist/{init-opencode-C63LASGX.js.map → init-opencode-7PKVI3LD.js.map} +0 -0
- /package/dist/{issue-triage-VRELWGYY.js.map → issue-triage-MLBUABPA.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-IPC6XCRK.js.map → pr-reviewer-helpers-7DSP3YTT.js.map} +0 -0
- /package/dist/{registry-command-IRDP2L2R.js.map → registry-command-YXFZ7LVE.js.map} +0 -0
- /package/dist/{repo-security-plan-NS47HQEF.js.map → repo-security-plan-M36GODNF.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-5NBL637T.js.map → research-helpers-synthesize-7CI4MFYP.js.map} +0 -0
- /package/dist/{routing-memory-2IELT5GT.js.map → routing-memory-MIK3LGDH.js.map} +0 -0
- /package/dist/{session-memory-CH3CVLIT.js.map → session-memory-T2X4BM33.js.map} +0 -0
- /package/dist/{setup-config-MKZZDUJP.js.map → setup-config-6JSBY6OG.js.map} +0 -0
- /package/dist/{setup-custom-api-2I52S7XU.js.map → setup-custom-api-2OXG6ERI.js.map} +0 -0
- /package/dist/{setup-data-dir-LM2IFTFD.js.map → setup-data-dir-KVIXN5DN.js.map} +0 -0
- /package/dist/{tool-memory-STS3DWOK.js.map → tool-memory-AL3RAR67.js.map} +0 -0
- /package/dist/{unified-registry-NJS4ZWC3.js.map → unified-registry-5YUSIEML.js.map} +0 -0
- /package/dist/{weather-report-YG4T4Q23.js.map → weather-report-W34L4HW5.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-FDZ3SLMV.js";
|
|
13
|
+
import "./chunk-AOBIUJX5.js";
|
|
14
14
|
import "./chunk-7WJGV5DN.js";
|
|
15
15
|
import "./chunk-J7QCZRVK.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-BEUFFQWL.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-DKHBIJO4.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AOBIUJX5.js";
|
|
7
7
|
import "./chunk-7WJGV5DN.js";
|
|
8
8
|
import "./chunk-J7QCZRVK.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-QFPSL7Y2.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AOBIUJX5.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
14
14
|
var CircuitErrorCode = {
|
|
@@ -541,4 +541,4 @@ export {
|
|
|
541
541
|
CliCircuitBreakerIntegration,
|
|
542
542
|
createCliCircuitBreakerIntegration
|
|
543
543
|
};
|
|
544
|
-
//# sourceMappingURL=chunk-
|
|
544
|
+
//# sourceMappingURL=chunk-2RZWKIDU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V7PXKAZD.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-DGWT7DXX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6VGKI5QE.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4GSFZS6M.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -48,26 +48,26 @@ import {
|
|
|
48
48
|
simulationDeniedResult,
|
|
49
49
|
toJobSummary,
|
|
50
50
|
writeJobCancelled
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-JLCOIDJJ.js";
|
|
52
52
|
import {
|
|
53
53
|
allOf
|
|
54
54
|
} from "./chunk-OQB3XC5O.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeTopicToCanonical,
|
|
57
57
|
synthesizeResearch
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-WFZARRYN.js";
|
|
59
59
|
import {
|
|
60
60
|
IssueTriage,
|
|
61
61
|
createDurableAuditSink,
|
|
62
62
|
createDurableAuditTrail
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-FPHFCZ2E.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveEnvMode,
|
|
66
66
|
sanitizeInput
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-M33EQB7P.js";
|
|
68
68
|
import {
|
|
69
69
|
withPrerequisite
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-I4TQ5VQ7.js";
|
|
71
71
|
import {
|
|
72
72
|
NOOP_NOTIFIER,
|
|
73
73
|
RateLimiter,
|
|
@@ -92,18 +92,18 @@ import {
|
|
|
92
92
|
withAuditTrail,
|
|
93
93
|
withProgressHeartbeat,
|
|
94
94
|
wrapToolWithTimeout
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-MJHNCHJI.js";
|
|
96
96
|
import {
|
|
97
97
|
createAuditTrail,
|
|
98
98
|
createGraphAuditBridge,
|
|
99
99
|
emitPipelinePolicyEvent
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-46YGVSBD.js";
|
|
101
101
|
import {
|
|
102
102
|
EventTopics,
|
|
103
103
|
createEvent,
|
|
104
104
|
getGlobalEventBus,
|
|
105
105
|
getGlobalRegistry
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-BTPPGHG3.js";
|
|
107
107
|
import {
|
|
108
108
|
IDENTIFIER_RE,
|
|
109
109
|
LANG_VALUES,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
parseRegistry,
|
|
137
137
|
sourceExistsInRegistry,
|
|
138
138
|
summarizeContextForPrompt
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-S2B4UBHK.js";
|
|
140
140
|
import {
|
|
141
141
|
REGISTRY_PATH,
|
|
142
142
|
getProjectRoot,
|
|
@@ -144,24 +144,24 @@ import {
|
|
|
144
144
|
loadTechniquesRegistry,
|
|
145
145
|
resolveInsideRoot,
|
|
146
146
|
resolveRegistryRoot
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-I3J7WUMV.js";
|
|
148
148
|
import {
|
|
149
149
|
getTokenEnvVars,
|
|
150
150
|
resolveToken
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-CMQO6WEQ.js";
|
|
152
152
|
import {
|
|
153
153
|
DEFAULT_RELEVANCE_CONFIG,
|
|
154
154
|
MemoryImportance,
|
|
155
155
|
calculateTextJaccardSimilarity,
|
|
156
156
|
getToolMemory
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-SGOBMAZK.js";
|
|
158
158
|
import {
|
|
159
159
|
STOPWORDS,
|
|
160
160
|
truncateWithInfo
|
|
161
161
|
} from "./chunk-6T3EPABN.js";
|
|
162
162
|
import {
|
|
163
163
|
createSessionMemory
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-DLVIES6W.js";
|
|
165
165
|
import {
|
|
166
166
|
BUILT_IN_EXPERTS,
|
|
167
167
|
BuiltInExpertTypeSchema,
|
|
@@ -179,25 +179,25 @@ import {
|
|
|
179
179
|
getAvailableClis,
|
|
180
180
|
sleep,
|
|
181
181
|
withTimeout
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-OJSG734P.js";
|
|
183
183
|
import {
|
|
184
184
|
BaseAdapter,
|
|
185
185
|
createStream,
|
|
186
186
|
requireApiKey,
|
|
187
187
|
validateApiKeyPresence
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-VQRXDFVF.js";
|
|
189
189
|
import {
|
|
190
190
|
DEFAULTS
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-36BA6D6J.js";
|
|
192
192
|
import {
|
|
193
193
|
getAvailabilityCache,
|
|
194
194
|
getCliForModelId,
|
|
195
195
|
resolveFallback
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-HQ2A4DGU.js";
|
|
197
197
|
import {
|
|
198
198
|
generateHyphenId,
|
|
199
199
|
generateUUID
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-D3TZZO6L.js";
|
|
201
201
|
import {
|
|
202
202
|
AGENT_ROUTER_TIMEOUTS,
|
|
203
203
|
API_TIMEOUTS,
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
selectStrategyByManifest,
|
|
304
304
|
toExpertTaskAnalysisResult,
|
|
305
305
|
withStep
|
|
306
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-AOBIUJX5.js";
|
|
307
307
|
import {
|
|
308
308
|
ensureLearningDir,
|
|
309
309
|
getMetaOutcomesFile,
|
|
@@ -977,7 +977,11 @@ var NexusEnvSchema = z10.object({
|
|
|
977
977
|
// Drives the auto-remediation cycle (resolveAutoRemediateMode); default audit
|
|
978
978
|
// (zero-write soak, #3769) when unset, explicit `off` disables.
|
|
979
979
|
NEXUS_AUTO_REMEDIATE: z10.enum(["off", "audit", "enforce"]).optional(),
|
|
980
|
-
// Stage-boundary policy gate enforcement mode (getGateEnforcementMode); warn by
|
|
980
|
+
// Stage-boundary policy gate enforcement mode (getGateEnforcementMode); warn by
|
|
981
|
+
// default. Read by dev-pipeline's consensus→execute gate, and by any compiled
|
|
982
|
+
// gate node whose caller supplies a `policyEnforcement` bundle without a mode
|
|
983
|
+
// (no in-tree caller supplies a bundle today). The V2 delegate graph declares
|
|
984
|
+
// no gate (#4657); v2-orchestrate's execute check reads the V2 policy-mode variable instead (its own entry below; see CONFIGURATION.md).
|
|
981
985
|
NEXUS_POLICY_GATE_MODE: z10.enum(["off", "warn", "block"]).optional(),
|
|
982
986
|
// Path to a model-registry overlay manifest (buildDefaultRegistry / #3185 hot-reload).
|
|
983
987
|
NEXUS_MODELS_OVERLAY_PATH: z10.string().optional(),
|
|
@@ -29703,7 +29707,7 @@ function execIdFields(executionId) {
|
|
|
29703
29707
|
async function populateUnifiedContextOnState(state, options) {
|
|
29704
29708
|
const taskCandidate = state["task"];
|
|
29705
29709
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29706
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29710
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-QKMSSV6W.js");
|
|
29707
29711
|
const category = inferTaskCategory2(taskCandidate);
|
|
29708
29712
|
const executionId = options?.executionId;
|
|
29709
29713
|
const execFields = execIdFields(executionId);
|
|
@@ -31627,15 +31631,7 @@ var logger24 = createLogger({ component: "V2Delegate" });
|
|
|
31627
31631
|
function createDelegatePipeline(task) {
|
|
31628
31632
|
const plan = buildDelegatePlan(task);
|
|
31629
31633
|
const runner = new PipelineRunner();
|
|
31630
|
-
return runner.compile(plan
|
|
31631
|
-
}
|
|
31632
|
-
function buildWarnPolicyEnforcement(task, overrides = {}) {
|
|
31633
|
-
return {
|
|
31634
|
-
engine: overrides.engine ?? createDefaultPolicyEngine(),
|
|
31635
|
-
pipelineState: toPipelineStateSnapshot(task.metadata),
|
|
31636
|
-
eventBus: overrides.eventBus ?? getPipelineEventBus(),
|
|
31637
|
-
mode: getGateEnforcementMode()
|
|
31638
|
-
};
|
|
31634
|
+
return runner.compile(plan);
|
|
31639
31635
|
}
|
|
31640
31636
|
function delegateInputToTaskContract(input, opts = {}) {
|
|
31641
31637
|
const metadata = { source: "delegate_to_model" };
|
|
@@ -31721,12 +31717,6 @@ function formatViolation(v) {
|
|
|
31721
31717
|
return v.escalateTo !== void 0 ? `${base} [escalate: ${v.escalateTo}]` : base;
|
|
31722
31718
|
}
|
|
31723
31719
|
var ROUTE_STAGE_ID = "route-model";
|
|
31724
|
-
var ENTRY_GATE = {
|
|
31725
|
-
id: "gate-delegate-entry",
|
|
31726
|
-
afterStage: START,
|
|
31727
|
-
beforeStage: ROUTE_STAGE_ID,
|
|
31728
|
-
rules: ["trust-tier"]
|
|
31729
|
-
};
|
|
31730
31720
|
function buildDelegatePlan(task) {
|
|
31731
31721
|
return {
|
|
31732
31722
|
taskId: task.id,
|
|
@@ -31744,7 +31734,7 @@ function buildDelegatePlan(task) {
|
|
|
31744
31734
|
}
|
|
31745
31735
|
}
|
|
31746
31736
|
],
|
|
31747
|
-
policyGates: [
|
|
31737
|
+
policyGates: [],
|
|
31748
31738
|
estimatedCost: {
|
|
31749
31739
|
totalTokensIn: 0,
|
|
31750
31740
|
totalTokensOut: 0,
|
|
@@ -45443,7 +45433,7 @@ async function tryIssueTriage(task) {
|
|
|
45443
45433
|
try {
|
|
45444
45434
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45445
45435
|
if (issueMatch === null) return null;
|
|
45446
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45436
|
+
const { createIssueTriage } = await import("./issue-triage-MLBUABPA.js");
|
|
45447
45437
|
const triage = createIssueTriage();
|
|
45448
45438
|
const owner = issueMatch[1] ?? "";
|
|
45449
45439
|
const num = issueMatch[2] ?? "";
|
|
@@ -45471,7 +45461,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45471
45461
|
]);
|
|
45472
45462
|
async function classifyWithLLM(task) {
|
|
45473
45463
|
try {
|
|
45474
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45464
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-6WZ333NT.js");
|
|
45475
45465
|
const prompt = [
|
|
45476
45466
|
"Classify this task into exactly one pipeline template.",
|
|
45477
45467
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47162,7 +47152,7 @@ var memoryInitPromise = null;
|
|
|
47162
47152
|
async function initPipelineMemory() {
|
|
47163
47153
|
if (cachedMemory !== null) return cachedMemory;
|
|
47164
47154
|
try {
|
|
47165
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47155
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-T2X4BM33.js");
|
|
47166
47156
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47167
47157
|
const mem = createSessionMemory2(getLearningDir());
|
|
47168
47158
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47224,7 +47214,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47224
47214
|
callRecord(routingMemoryCache);
|
|
47225
47215
|
return;
|
|
47226
47216
|
}
|
|
47227
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47217
|
+
routingMemoryInitPromise ??= import("./routing-memory-MIK3LGDH.js").then(({ createRoutingMemory }) => {
|
|
47228
47218
|
routingMemoryCache ??= createRoutingMemory();
|
|
47229
47219
|
return routingMemoryCache;
|
|
47230
47220
|
}).catch((error) => {
|
|
@@ -47258,7 +47248,7 @@ ${text}` : "";
|
|
|
47258
47248
|
}
|
|
47259
47249
|
async function getWeatherContext() {
|
|
47260
47250
|
try {
|
|
47261
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47251
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-W34L4HW5.js");
|
|
47262
47252
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47263
47253
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47264
47254
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47276,7 +47266,7 @@ ${lines}
|
|
|
47276
47266
|
}
|
|
47277
47267
|
async function getMemoryContext(task) {
|
|
47278
47268
|
try {
|
|
47279
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47269
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-T2X4BM33.js");
|
|
47280
47270
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47281
47271
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47282
47272
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47395,7 +47385,7 @@ ${contextBlock}`;
|
|
|
47395
47385
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47396
47386
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47397
47387
|
try {
|
|
47398
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47388
|
+
const { executeVoting } = await import("./consensus-vote-T6D4XVUA.js");
|
|
47399
47389
|
const votingResult = await executeVoting(
|
|
47400
47390
|
{
|
|
47401
47391
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47824,7 +47814,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47824
47814
|
}
|
|
47825
47815
|
async function queryResearchRegistry(task) {
|
|
47826
47816
|
try {
|
|
47827
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47817
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-7CI4MFYP.js");
|
|
47828
47818
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47829
47819
|
if (topic === void 0) return null;
|
|
47830
47820
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47895,7 +47885,7 @@ function createScanStageWrapper() {
|
|
|
47895
47885
|
try {
|
|
47896
47886
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47897
47887
|
if (slug !== void 0) {
|
|
47898
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47888
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-M36GODNF.js");
|
|
47899
47889
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47900
47890
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47901
47891
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51066,7 +51056,7 @@ var GitHubTaskTracker = class {
|
|
|
51066
51056
|
cachedProvider = null;
|
|
51067
51057
|
async getProvider() {
|
|
51068
51058
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51069
|
-
const { createScmProvider } = await import("./factory-
|
|
51059
|
+
const { createScmProvider } = await import("./factory-2DD2YGBU.js");
|
|
51070
51060
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51071
51061
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51072
51062
|
this.cachedProvider = result.value;
|
|
@@ -51981,7 +51971,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51981
51971
|
}
|
|
51982
51972
|
}
|
|
51983
51973
|
async function defaultSources(includeOpenRouter) {
|
|
51984
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51974
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-73WKMDVR.js");
|
|
51985
51975
|
const adapters = createAllAdapters2();
|
|
51986
51976
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51987
51977
|
}
|
|
@@ -56051,4 +56041,4 @@ export {
|
|
|
56051
56041
|
shutdownFeedbackSubscriber,
|
|
56052
56042
|
createEventBusBridge
|
|
56053
56043
|
};
|
|
56054
|
-
//# sourceMappingURL=chunk-
|
|
56044
|
+
//# sourceMappingURL=chunk-2ZOPJGMY.js.map
|