nexus-agents 2.173.7 → 2.173.8
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-3IX4DFNS.js → child-mcp-config-RSM4VNFS.js} +2 -2
- package/dist/{chunk-TTGJDWIG.js → chunk-3PXN234X.js} +35 -35
- package/dist/{chunk-TE66HW3D.js → chunk-3ZLPS4XC.js} +3 -3
- package/dist/{chunk-CUJUNXKQ.js → chunk-4IDGRIWO.js} +4 -4
- package/dist/{chunk-MSINKE6X.js → chunk-66EE7Y2F.js} +2 -2
- package/dist/{chunk-GKLCBQCF.js → chunk-6N2WQBJU.js} +2 -2
- package/dist/{chunk-GACT2UFT.js → chunk-6VT7ODBT.js} +2 -2
- package/dist/{chunk-TJMQU4HJ.js → chunk-6WYBSYJ2.js} +3 -3
- package/dist/{chunk-LGD2HW6Q.js → chunk-6XMMFCL3.js} +3 -3
- package/dist/{chunk-DTPN2JVO.js → chunk-7IIVYNLK.js} +2 -2
- package/dist/{chunk-MHIBHQRQ.js → chunk-AEWJKZ5E.js} +2 -2
- package/dist/{chunk-PNLDFZHQ.js → chunk-ATQZERNG.js} +2 -2
- package/dist/{chunk-UC3N7GBQ.js → chunk-BGKDC7P5.js} +2 -2
- package/dist/{chunk-62MUTXDW.js → chunk-CHZF364E.js} +2 -2
- package/dist/{chunk-2XSDDIP5.js → chunk-D6MTIPFD.js} +2 -2
- package/dist/{chunk-PVZ6RBA3.js → chunk-FVSXYMVW.js} +3 -3
- package/dist/{chunk-6MSNCO7J.js → chunk-GWDGD7GY.js} +2 -2
- package/dist/{chunk-OBQ7DEIU.js → chunk-H7HMKGGB.js} +7 -7
- package/dist/{chunk-KRJMJB4J.js → chunk-HGHPZ2W3.js} +12 -8
- package/dist/chunk-HGHPZ2W3.js.map +1 -0
- package/dist/{chunk-P7YUHXF3.js → chunk-JYI63V47.js} +4 -4
- package/dist/{chunk-KQKLOOZ2.js → chunk-KLAVOOWV.js} +2 -2
- package/dist/{chunk-LEG43263.js → chunk-MREBZQA6.js} +5 -5
- package/dist/{chunk-NVD6E7ML.js → chunk-NBLCQBR5.js} +8 -8
- package/dist/{chunk-DO4JTAXE.js → chunk-PL57P5LU.js} +4 -4
- package/dist/{chunk-FAKU44NN.js → chunk-Q7L6CXIO.js} +5 -5
- package/dist/{chunk-AIQ7XUU5.js → chunk-SGQOW5SD.js} +4 -4
- package/dist/{chunk-USWXI6Y3.js → chunk-TOIBWK5Z.js} +2 -2
- package/dist/{chunk-XPEFH4LN.js → chunk-V34YWUSC.js} +2 -2
- package/dist/{chunk-XUYNONNG.js → chunk-VSDI6ASO.js} +8 -8
- package/dist/{chunk-YYHUDQ2C.js → chunk-XC37XDMH.js} +2 -2
- package/dist/{chunk-5KSQF4L2.js → chunk-XPZODTJ6.js} +12 -2
- package/dist/{chunk-5KSQF4L2.js.map → chunk-XPZODTJ6.js.map} +1 -1
- package/dist/{chunk-2SELLY6Y.js → chunk-YBTBVOVA.js} +4 -4
- package/dist/{chunk-ZAP6ACXW.js → chunk-YFTNNQMV.js} +5 -5
- package/dist/{cli-circuit-breaker-V5K3EFCL.js → cli-circuit-breaker-4HDWO5Z6.js} +3 -3
- package/dist/cli.js +39 -39
- package/dist/{composite-router-EVZ345UR.js → composite-router-W6GXLKWB.js} +2 -2
- package/dist/{consensus-vote-6MBJNJNI.js → consensus-vote-KTWHGAOH.js} +15 -15
- package/dist/{context-retriever-NX3XWPJH.js → context-retriever-67M3IABW.js} +8 -8
- package/dist/{doctor-deep-MRWSVCTT.js → doctor-deep-NPQZPZDO.js} +3 -3
- package/dist/{expert-bridge-4MMZ3IUZ.js → expert-bridge-3AW3OHAY.js} +4 -4
- package/dist/{factory-UX6P7AUY.js → factory-PIXCR3PF.js} +5 -5
- package/dist/{factory-IFJY73H2.js → factory-XSRDHJ34.js} +8 -8
- package/dist/{improvement-review-TB7MUZCZ.js → improvement-review-JQVHCWVU.js} +5 -5
- package/dist/index.js +29 -29
- package/dist/{init-opencode-XZS3T7O4.js → init-opencode-Q6XT7UTP.js} +5 -5
- package/dist/{issue-triage-BJXIOSDB.js → issue-triage-JCGAF2P3.js} +6 -6
- package/dist/{pr-reviewer-helpers-QIQI53HQ.js → pr-reviewer-helpers-QBETICKQ.js} +4 -4
- package/dist/{registry-command-C3366WTC.js → registry-command-3SKGILCO.js} +2 -2
- package/dist/{repo-security-plan-QN3QULHR.js → repo-security-plan-C5RDE3QO.js} +3 -3
- package/dist/{research-helpers-synthesize-4CM6ZODP.js → research-helpers-synthesize-J4Z7MY7X.js} +4 -4
- package/dist/{routing-memory-DCPIJPNX.js → routing-memory-ZZKVDP2K.js} +2 -2
- package/dist/{session-memory-GSWNIVYF.js → session-memory-2QINLWDR.js} +3 -3
- package/dist/{setup-command-YMLDQOSM.js → setup-command-UJ5VETUJ.js} +13 -13
- package/dist/{setup-config-PXXDTAFZ.js → setup-config-SUN272BA.js} +3 -3
- package/dist/{setup-custom-api-ODWGNSXY.js → setup-custom-api-AEUEX4IF.js} +3 -3
- package/dist/{tool-memory-NJRRSHDL.js → tool-memory-VS2GRBV3.js} +5 -5
- package/dist/{unified-registry-RCWX3FB3.js → unified-registry-O4FIGTBJ.js} +9 -9
- package/dist/{weather-report-LHUNTDCX.js → weather-report-3FB5MXHV.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-KRJMJB4J.js.map +0 -1
- /package/dist/{child-mcp-config-3IX4DFNS.js.map → child-mcp-config-RSM4VNFS.js.map} +0 -0
- /package/dist/{chunk-TTGJDWIG.js.map → chunk-3PXN234X.js.map} +0 -0
- /package/dist/{chunk-TE66HW3D.js.map → chunk-3ZLPS4XC.js.map} +0 -0
- /package/dist/{chunk-CUJUNXKQ.js.map → chunk-4IDGRIWO.js.map} +0 -0
- /package/dist/{chunk-MSINKE6X.js.map → chunk-66EE7Y2F.js.map} +0 -0
- /package/dist/{chunk-GKLCBQCF.js.map → chunk-6N2WQBJU.js.map} +0 -0
- /package/dist/{chunk-GACT2UFT.js.map → chunk-6VT7ODBT.js.map} +0 -0
- /package/dist/{chunk-TJMQU4HJ.js.map → chunk-6WYBSYJ2.js.map} +0 -0
- /package/dist/{chunk-LGD2HW6Q.js.map → chunk-6XMMFCL3.js.map} +0 -0
- /package/dist/{chunk-DTPN2JVO.js.map → chunk-7IIVYNLK.js.map} +0 -0
- /package/dist/{chunk-MHIBHQRQ.js.map → chunk-AEWJKZ5E.js.map} +0 -0
- /package/dist/{chunk-PNLDFZHQ.js.map → chunk-ATQZERNG.js.map} +0 -0
- /package/dist/{chunk-UC3N7GBQ.js.map → chunk-BGKDC7P5.js.map} +0 -0
- /package/dist/{chunk-62MUTXDW.js.map → chunk-CHZF364E.js.map} +0 -0
- /package/dist/{chunk-2XSDDIP5.js.map → chunk-D6MTIPFD.js.map} +0 -0
- /package/dist/{chunk-PVZ6RBA3.js.map → chunk-FVSXYMVW.js.map} +0 -0
- /package/dist/{chunk-6MSNCO7J.js.map → chunk-GWDGD7GY.js.map} +0 -0
- /package/dist/{chunk-OBQ7DEIU.js.map → chunk-H7HMKGGB.js.map} +0 -0
- /package/dist/{chunk-P7YUHXF3.js.map → chunk-JYI63V47.js.map} +0 -0
- /package/dist/{chunk-KQKLOOZ2.js.map → chunk-KLAVOOWV.js.map} +0 -0
- /package/dist/{chunk-LEG43263.js.map → chunk-MREBZQA6.js.map} +0 -0
- /package/dist/{chunk-NVD6E7ML.js.map → chunk-NBLCQBR5.js.map} +0 -0
- /package/dist/{chunk-DO4JTAXE.js.map → chunk-PL57P5LU.js.map} +0 -0
- /package/dist/{chunk-FAKU44NN.js.map → chunk-Q7L6CXIO.js.map} +0 -0
- /package/dist/{chunk-AIQ7XUU5.js.map → chunk-SGQOW5SD.js.map} +0 -0
- /package/dist/{chunk-USWXI6Y3.js.map → chunk-TOIBWK5Z.js.map} +0 -0
- /package/dist/{chunk-XPEFH4LN.js.map → chunk-V34YWUSC.js.map} +0 -0
- /package/dist/{chunk-XUYNONNG.js.map → chunk-VSDI6ASO.js.map} +0 -0
- /package/dist/{chunk-YYHUDQ2C.js.map → chunk-XC37XDMH.js.map} +0 -0
- /package/dist/{chunk-2SELLY6Y.js.map → chunk-YBTBVOVA.js.map} +0 -0
- /package/dist/{chunk-ZAP6ACXW.js.map → chunk-YFTNNQMV.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-V5K3EFCL.js.map → cli-circuit-breaker-4HDWO5Z6.js.map} +0 -0
- /package/dist/{composite-router-EVZ345UR.js.map → composite-router-W6GXLKWB.js.map} +0 -0
- /package/dist/{consensus-vote-6MBJNJNI.js.map → consensus-vote-KTWHGAOH.js.map} +0 -0
- /package/dist/{context-retriever-NX3XWPJH.js.map → context-retriever-67M3IABW.js.map} +0 -0
- /package/dist/{doctor-deep-MRWSVCTT.js.map → doctor-deep-NPQZPZDO.js.map} +0 -0
- /package/dist/{expert-bridge-4MMZ3IUZ.js.map → expert-bridge-3AW3OHAY.js.map} +0 -0
- /package/dist/{factory-IFJY73H2.js.map → factory-PIXCR3PF.js.map} +0 -0
- /package/dist/{factory-UX6P7AUY.js.map → factory-XSRDHJ34.js.map} +0 -0
- /package/dist/{improvement-review-TB7MUZCZ.js.map → improvement-review-JQVHCWVU.js.map} +0 -0
- /package/dist/{init-opencode-XZS3T7O4.js.map → init-opencode-Q6XT7UTP.js.map} +0 -0
- /package/dist/{issue-triage-BJXIOSDB.js.map → issue-triage-JCGAF2P3.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-QIQI53HQ.js.map → pr-reviewer-helpers-QBETICKQ.js.map} +0 -0
- /package/dist/{registry-command-C3366WTC.js.map → registry-command-3SKGILCO.js.map} +0 -0
- /package/dist/{repo-security-plan-QN3QULHR.js.map → repo-security-plan-C5RDE3QO.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-4CM6ZODP.js.map → research-helpers-synthesize-J4Z7MY7X.js.map} +0 -0
- /package/dist/{routing-memory-DCPIJPNX.js.map → routing-memory-ZZKVDP2K.js.map} +0 -0
- /package/dist/{session-memory-GSWNIVYF.js.map → session-memory-2QINLWDR.js.map} +0 -0
- /package/dist/{setup-command-YMLDQOSM.js.map → setup-command-UJ5VETUJ.js.map} +0 -0
- /package/dist/{setup-config-PXXDTAFZ.js.map → setup-config-SUN272BA.js.map} +0 -0
- /package/dist/{setup-custom-api-ODWGNSXY.js.map → setup-custom-api-AEUEX4IF.js.map} +0 -0
- /package/dist/{tool-memory-NJRRSHDL.js.map → tool-memory-VS2GRBV3.js.map} +0 -0
- /package/dist/{unified-registry-RCWX3FB3.js.map → unified-registry-O4FIGTBJ.js.map} +0 -0
- /package/dist/{weather-report-LHUNTDCX.js.map → weather-report-3FB5MXHV.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4IDGRIWO.js";
|
|
4
4
|
import "./chunk-AXTD4TFK.js";
|
|
5
5
|
import "./chunk-DHVMSIT5.js";
|
|
6
6
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
generateMcpConfig,
|
|
61
61
|
getDefaultAllowedTools
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=child-mcp-config-
|
|
63
|
+
//# sourceMappingURL=child-mcp-config-RSM4VNFS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D6MTIPFD.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
DEFAULT_TASK_TTL_MS,
|
|
22
22
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NBLCQBR5.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-H7HMKGGB.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
abortJob,
|
|
@@ -45,21 +45,21 @@ import {
|
|
|
45
45
|
simulationDeniedResult,
|
|
46
46
|
toJobSummary,
|
|
47
47
|
writeJobCancelled
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VSDI6ASO.js";
|
|
49
49
|
import {
|
|
50
50
|
normalizeTopicToCanonical,
|
|
51
51
|
synthesizeResearch
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-3ZLPS4XC.js";
|
|
53
53
|
import {
|
|
54
54
|
IssueTriage
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Q7L6CXIO.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveEnvMode,
|
|
58
58
|
sanitizeInput
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-6N2WQBJU.js";
|
|
60
60
|
import {
|
|
61
61
|
withPrerequisite
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-6WYBSYJ2.js";
|
|
63
63
|
import {
|
|
64
64
|
NOOP_NOTIFIER,
|
|
65
65
|
RateLimiter,
|
|
@@ -82,18 +82,18 @@ import {
|
|
|
82
82
|
withAuditTrail,
|
|
83
83
|
withProgressHeartbeat,
|
|
84
84
|
wrapToolWithTimeout
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-FVSXYMVW.js";
|
|
86
86
|
import {
|
|
87
87
|
createAuditTrail,
|
|
88
88
|
createGraphAuditBridge,
|
|
89
89
|
emitPipelinePolicyEvent
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-KLAVOOWV.js";
|
|
91
91
|
import {
|
|
92
92
|
EventTopics,
|
|
93
93
|
createEvent,
|
|
94
94
|
getGlobalEventBus,
|
|
95
95
|
getGlobalRegistry
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-YBTBVOVA.js";
|
|
97
97
|
import {
|
|
98
98
|
IDENTIFIER_RE,
|
|
99
99
|
LANG_VALUES,
|
|
@@ -126,15 +126,15 @@ import {
|
|
|
126
126
|
parseRegistry,
|
|
127
127
|
sourceExistsInRegistry,
|
|
128
128
|
summarizeContextForPrompt
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-MREBZQA6.js";
|
|
130
130
|
import {
|
|
131
131
|
getTokenEnvVars,
|
|
132
132
|
resolveToken
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-TOIBWK5Z.js";
|
|
134
134
|
import {
|
|
135
135
|
loadPapersRegistry,
|
|
136
136
|
loadTechniquesRegistry
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-AEWJKZ5E.js";
|
|
138
138
|
import {
|
|
139
139
|
resolveInsideRoot
|
|
140
140
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -143,14 +143,14 @@ import {
|
|
|
143
143
|
MemoryImportance,
|
|
144
144
|
calculateTextJaccardSimilarity,
|
|
145
145
|
getToolMemory
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-JYI63V47.js";
|
|
147
147
|
import {
|
|
148
148
|
STOPWORDS,
|
|
149
149
|
truncateWithInfo
|
|
150
150
|
} from "./chunk-6T3EPABN.js";
|
|
151
151
|
import {
|
|
152
152
|
createSessionMemory
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-6VT7ODBT.js";
|
|
154
154
|
import {
|
|
155
155
|
BUILT_IN_EXPERTS,
|
|
156
156
|
BuiltInExpertTypeSchema,
|
|
@@ -168,25 +168,25 @@ import {
|
|
|
168
168
|
getAvailableClis,
|
|
169
169
|
sleep,
|
|
170
170
|
withTimeout
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-HGHPZ2W3.js";
|
|
172
172
|
import {
|
|
173
173
|
BaseAdapter,
|
|
174
174
|
createStream,
|
|
175
175
|
requireApiKey,
|
|
176
176
|
validateApiKeyPresence
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-ATQZERNG.js";
|
|
178
178
|
import {
|
|
179
179
|
DEFAULTS
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-GWDGD7GY.js";
|
|
181
181
|
import {
|
|
182
182
|
getAvailabilityCache,
|
|
183
183
|
getCliForModelId,
|
|
184
184
|
resolveFallback
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-V34YWUSC.js";
|
|
186
186
|
import {
|
|
187
187
|
generateHyphenId,
|
|
188
188
|
generateUUID
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-XC37XDMH.js";
|
|
190
190
|
import {
|
|
191
191
|
AGENT_ROUTER_TIMEOUTS,
|
|
192
192
|
API_TIMEOUTS,
|
|
@@ -283,7 +283,7 @@ import {
|
|
|
283
283
|
selectStrategyByManifest,
|
|
284
284
|
toExpertTaskAnalysisResult,
|
|
285
285
|
withStep
|
|
286
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-4IDGRIWO.js";
|
|
287
287
|
import {
|
|
288
288
|
ensureLearningDir,
|
|
289
289
|
getMetaOutcomesFile,
|
|
@@ -28344,7 +28344,7 @@ function execIdFields(executionId) {
|
|
|
28344
28344
|
async function populateUnifiedContextOnState(state, options) {
|
|
28345
28345
|
const taskCandidate = state["task"];
|
|
28346
28346
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
28347
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
28347
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-67M3IABW.js");
|
|
28348
28348
|
const category = inferTaskCategory2(taskCandidate);
|
|
28349
28349
|
const executionId = options?.executionId;
|
|
28350
28350
|
const execFields = execIdFields(executionId);
|
|
@@ -43879,7 +43879,7 @@ async function tryIssueTriage(task) {
|
|
|
43879
43879
|
try {
|
|
43880
43880
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
43881
43881
|
if (issueMatch === null) return null;
|
|
43882
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
43882
|
+
const { createIssueTriage } = await import("./issue-triage-JCGAF2P3.js");
|
|
43883
43883
|
const triage = createIssueTriage();
|
|
43884
43884
|
const owner = issueMatch[1] ?? "";
|
|
43885
43885
|
const num = issueMatch[2] ?? "";
|
|
@@ -43907,7 +43907,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
43907
43907
|
]);
|
|
43908
43908
|
async function classifyWithLLM(task) {
|
|
43909
43909
|
try {
|
|
43910
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
43910
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-3AW3OHAY.js");
|
|
43911
43911
|
const prompt = [
|
|
43912
43912
|
"Classify this task into exactly one pipeline template.",
|
|
43913
43913
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45548,7 +45548,7 @@ var memoryInitPromise = null;
|
|
|
45548
45548
|
async function initPipelineMemory() {
|
|
45549
45549
|
if (cachedMemory !== null) return cachedMemory;
|
|
45550
45550
|
try {
|
|
45551
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45551
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2QINLWDR.js");
|
|
45552
45552
|
const { getLearningDir } = await import("./learning-persistence-6D5GGT7D.js");
|
|
45553
45553
|
const mem = createSessionMemory2(getLearningDir());
|
|
45554
45554
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -45610,7 +45610,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
45610
45610
|
callRecord(routingMemoryCache);
|
|
45611
45611
|
return;
|
|
45612
45612
|
}
|
|
45613
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
45613
|
+
routingMemoryInitPromise ??= import("./routing-memory-ZZKVDP2K.js").then(({ createRoutingMemory }) => {
|
|
45614
45614
|
routingMemoryCache ??= createRoutingMemory();
|
|
45615
45615
|
return routingMemoryCache;
|
|
45616
45616
|
}).catch((error) => {
|
|
@@ -45644,7 +45644,7 @@ ${text}` : "";
|
|
|
45644
45644
|
}
|
|
45645
45645
|
async function getWeatherContext() {
|
|
45646
45646
|
try {
|
|
45647
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
45647
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-3FB5MXHV.js");
|
|
45648
45648
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
45649
45649
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
45650
45650
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -45662,7 +45662,7 @@ ${lines}
|
|
|
45662
45662
|
}
|
|
45663
45663
|
async function getMemoryContext(task) {
|
|
45664
45664
|
try {
|
|
45665
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45665
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2QINLWDR.js");
|
|
45666
45666
|
const { getLearningDir } = await import("./learning-persistence-6D5GGT7D.js");
|
|
45667
45667
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
45668
45668
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -45777,7 +45777,7 @@ ${contextBlock}`;
|
|
|
45777
45777
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
45778
45778
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
45779
45779
|
try {
|
|
45780
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45780
|
+
const { executeVoting } = await import("./consensus-vote-KTWHGAOH.js");
|
|
45781
45781
|
const votingResult = await executeVoting(
|
|
45782
45782
|
{
|
|
45783
45783
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -46218,7 +46218,7 @@ async function searchCodebaseForTask(task) {
|
|
|
46218
46218
|
}
|
|
46219
46219
|
async function queryResearchRegistry(task) {
|
|
46220
46220
|
try {
|
|
46221
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
46221
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-J4Z7MY7X.js");
|
|
46222
46222
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
46223
46223
|
if (topic === void 0) return null;
|
|
46224
46224
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -46289,7 +46289,7 @@ function createScanStageWrapper() {
|
|
|
46289
46289
|
try {
|
|
46290
46290
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
46291
46291
|
if (slug !== void 0) {
|
|
46292
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
46292
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-C5RDE3QO.js");
|
|
46293
46293
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
46294
46294
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
46295
46295
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -49261,7 +49261,7 @@ var GitHubTaskTracker = class {
|
|
|
49261
49261
|
cachedProvider = null;
|
|
49262
49262
|
async getProvider() {
|
|
49263
49263
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
49264
|
-
const { createScmProvider } = await import("./factory-
|
|
49264
|
+
const { createScmProvider } = await import("./factory-PIXCR3PF.js");
|
|
49265
49265
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
49266
49266
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
49267
49267
|
this.cachedProvider = result.value;
|
|
@@ -50095,7 +50095,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
50095
50095
|
}
|
|
50096
50096
|
}
|
|
50097
50097
|
async function defaultSources(includeOpenRouter) {
|
|
50098
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
50098
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-XSRDHJ34.js");
|
|
50099
50099
|
const adapters = createAllAdapters2();
|
|
50100
50100
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
50101
50101
|
}
|
|
@@ -54115,4 +54115,4 @@ export {
|
|
|
54115
54115
|
shutdownFeedbackSubscriber,
|
|
54116
54116
|
createEventBusBridge
|
|
54117
54117
|
};
|
|
54118
|
-
//# sourceMappingURL=chunk-
|
|
54118
|
+
//# sourceMappingURL=chunk-3PXN234X.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AEWJKZ5E.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4IDGRIWO.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-3ZLPS4XC.js.map
|
|
@@ -2619,7 +2619,7 @@ function setDefaultRegistry(registry) {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
async function reloadDefaultRegistry() {
|
|
2621
2621
|
globalRegistry = buildDefaultRegistry();
|
|
2622
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
2622
|
+
const { resetGlobalRegistry } = await import("./unified-registry-O4FIGTBJ.js");
|
|
2623
2623
|
resetGlobalRegistry();
|
|
2624
2624
|
return globalRegistry;
|
|
2625
2625
|
}
|
|
@@ -14379,7 +14379,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
14379
14379
|
*/
|
|
14380
14380
|
async consultUnifiedContext(task) {
|
|
14381
14381
|
try {
|
|
14382
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
14382
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-67M3IABW.js");
|
|
14383
14383
|
const ctx = await getContextForTask({
|
|
14384
14384
|
task: task.content,
|
|
14385
14385
|
category: inferTaskCategory(task.content),
|
|
@@ -15836,13 +15836,13 @@ export {
|
|
|
15836
15836
|
clamp,
|
|
15837
15837
|
clamp01,
|
|
15838
15838
|
clampPercent,
|
|
15839
|
+
getFallbackChainForCategory,
|
|
15839
15840
|
isRateLimitText,
|
|
15840
15841
|
isRateLimitLikeError,
|
|
15841
15842
|
toRateLimitError,
|
|
15842
15843
|
recordRateLimitEvent,
|
|
15843
15844
|
isDynamicModelsEnabled,
|
|
15844
15845
|
buildDefaultModelSources,
|
|
15845
|
-
getFallbackChainForCategory,
|
|
15846
15846
|
getTokenEstimator,
|
|
15847
15847
|
estimateTokens,
|
|
15848
15848
|
parseIntEnv,
|
|
@@ -15968,4 +15968,4 @@ export {
|
|
|
15968
15968
|
AgentCapability,
|
|
15969
15969
|
OrchestratorError
|
|
15970
15970
|
};
|
|
15971
|
-
//# sourceMappingURL=chunk-
|
|
15971
|
+
//# sourceMappingURL=chunk-4IDGRIWO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDefaultRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4IDGRIWO.js";
|
|
4
4
|
import {
|
|
5
5
|
getNexusDataDir
|
|
6
6
|
} from "./chunk-DHVMSIT5.js";
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
loadUsageEvents,
|
|
125
125
|
rollupByModel
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-66EE7Y2F.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4IDGRIWO.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -560,4 +560,4 @@ export {
|
|
|
560
560
|
resolveReputationGatingMode,
|
|
561
561
|
gateWithReputation
|
|
562
562
|
};
|
|
563
|
-
//# sourceMappingURL=chunk-
|
|
563
|
+
//# sourceMappingURL=chunk-6N2WQBJU.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4IDGRIWO.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "fs";
|
|
@@ -352,4 +352,4 @@ export {
|
|
|
352
352
|
SessionMemory,
|
|
353
353
|
createSessionMemory
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=chunk-
|
|
355
|
+
//# sourceMappingURL=chunk-6VT7ODBT.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FVSXYMVW.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getPipelineEventBus,
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4IDGRIWO.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir,
|
|
25
25
|
nexusDataPath
|
|
@@ -2132,4 +2132,4 @@ export {
|
|
|
2132
2132
|
runImprovementReview,
|
|
2133
2133
|
registerImprovementReviewTool
|
|
2134
2134
|
};
|
|
2135
|
-
//# sourceMappingURL=chunk-
|
|
2135
|
+
//# sourceMappingURL=chunk-6WYBSYJ2.js.map
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
gateWithReputation,
|
|
10
10
|
resolveReputationGatingMode,
|
|
11
11
|
sanitizeInput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6N2WQBJU.js";
|
|
13
13
|
import {
|
|
14
14
|
createLogger,
|
|
15
15
|
getTimeProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4IDGRIWO.js";
|
|
17
17
|
|
|
18
18
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
19
19
|
import { randomUUID } from "crypto";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
formatReviewComment,
|
|
289
289
|
createFailedReview
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-6XMMFCL3.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4IDGRIWO.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
ScmError,
|
|
264
264
|
GitHubProvider
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-7IIVYNLK.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4IDGRIWO.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/research-helpers-io.ts
|
|
14
14
|
import * as fs2 from "fs/promises";
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
loadPapersRegistry,
|
|
147
147
|
savePapersRegistry
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-AEWJKZ5E.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
isRateLimitLikeError,
|
|
12
12
|
lookupInTreeCapability,
|
|
13
13
|
ok
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4IDGRIWO.js";
|
|
15
15
|
|
|
16
16
|
// src/config/model-parameter-support.ts
|
|
17
17
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -828,4 +828,4 @@ export {
|
|
|
828
828
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
829
829
|
collectStream
|
|
830
830
|
};
|
|
831
|
-
//# sourceMappingURL=chunk-
|
|
831
|
+
//# sourceMappingURL=chunk-ATQZERNG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4IDGRIWO.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-BGKDC7P5.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4IDGRIWO.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-CHZF364E.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4IDGRIWO.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -721,4 +721,4 @@ export {
|
|
|
721
721
|
generateSecurityPlan,
|
|
722
722
|
buildPlanFromAnalysis
|
|
723
723
|
};
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-D6MTIPFD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
emitClawGuardViolation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KLAVOOWV.js";
|
|
4
4
|
import {
|
|
5
5
|
CACHE_TIMEOUTS,
|
|
6
6
|
MCP_TIMEOUTS,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getTimeProvider,
|
|
17
17
|
ok,
|
|
18
18
|
resolveToolClassGuardMs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4IDGRIWO.js";
|
|
20
20
|
import {
|
|
21
21
|
getNexusDataDir
|
|
22
22
|
} from "./chunk-DHVMSIT5.js";
|
|
@@ -2023,4 +2023,4 @@ export {
|
|
|
2023
2023
|
VOTING_THRESHOLDS,
|
|
2024
2024
|
ConsensusMetricsSchema
|
|
2025
2025
|
};
|
|
2026
|
-
//# sourceMappingURL=chunk-
|
|
2026
|
+
//# sourceMappingURL=chunk-FVSXYMVW.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
createLogger,
|
|
16
16
|
err,
|
|
17
17
|
ok
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4IDGRIWO.js";
|
|
19
19
|
|
|
20
20
|
// src/adapters/sdk/types.ts
|
|
21
21
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
CUSTOM_API_DEFAULT_MODEL,
|
|
397
397
|
DEFAULTS
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-GWDGD7GY.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V34YWUSC.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4IDGRIWO.js";
|
|
9
9
|
|
|
10
10
|
// src/pipeline/expert-bridge.ts
|
|
11
11
|
function resolveCliFromModelString(model) {
|
|
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
|
|
|
21
21
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
22
22
|
mcpConfigInitPromise ??= (async () => {
|
|
23
23
|
try {
|
|
24
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
24
|
+
const { generateMcpConfig } = await import("./child-mcp-config-RSM4VNFS.js");
|
|
25
25
|
const config = await generateMcpConfig();
|
|
26
26
|
cachedMcpConfigPath = config.configPath;
|
|
27
27
|
cachedMcpConfigCleanup = config.cleanup;
|
|
@@ -93,8 +93,8 @@ var routerInitPromise = null;
|
|
|
93
93
|
async function getRouter() {
|
|
94
94
|
if (cachedRouter !== null) return cachedRouter;
|
|
95
95
|
routerInitPromise ??= (async () => {
|
|
96
|
-
const { createAllAdapters } = await import("./factory-
|
|
97
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
96
|
+
const { createAllAdapters } = await import("./factory-XSRDHJ34.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-W6GXLKWB.js");
|
|
98
98
|
const adapters = createAllAdapters();
|
|
99
99
|
if (adapters.size === 0) {
|
|
100
100
|
routerInitPromise = null;
|
|
@@ -102,7 +102,7 @@ async function getRouter() {
|
|
|
102
102
|
}
|
|
103
103
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
104
104
|
try {
|
|
105
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
105
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-4HDWO5Z6.js");
|
|
106
106
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
107
107
|
} catch (error) {
|
|
108
108
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
tokenSplitFromUsage,
|
|
214
214
|
executeExpert
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-H7HMKGGB.js.map
|
|
@@ -5,28 +5,29 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ATQZERNG.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_BASE_URL_ENV,
|
|
11
11
|
CUSTOM_API_DEFAULT_MODEL,
|
|
12
12
|
PROVIDER_ENV_KEYS,
|
|
13
13
|
assertCustomApiHostResolvesPublic,
|
|
14
14
|
validateCustomApiBaseUrl
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GWDGD7GY.js";
|
|
16
16
|
import {
|
|
17
17
|
getAvailabilityCache
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V34YWUSC.js";
|
|
19
19
|
import {
|
|
20
20
|
extractSystemPrompt
|
|
21
21
|
} from "./chunk-QZUG667L.js";
|
|
22
22
|
import {
|
|
23
23
|
generateHyphenId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XC37XDMH.js";
|
|
25
25
|
import {
|
|
26
26
|
CliCircuitBreaker,
|
|
27
27
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
28
|
-
getCliCircuitBreakerSnapshot
|
|
29
|
-
|
|
28
|
+
getCliCircuitBreakerSnapshot,
|
|
29
|
+
getDefaultCliCircuitBreakerRegistry
|
|
30
|
+
} from "./chunk-XPZODTJ6.js";
|
|
30
31
|
import {
|
|
31
32
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
32
33
|
CLI_TIMEOUTS,
|
|
@@ -62,7 +63,7 @@ import {
|
|
|
62
63
|
loadModelsDevSnapshot,
|
|
63
64
|
ok,
|
|
64
65
|
resolveCliAlias
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-4IDGRIWO.js";
|
|
66
67
|
|
|
67
68
|
// src/cli-adapters/cli-to-model-adapter.ts
|
|
68
69
|
var CliToModelAdapter = class {
|
|
@@ -1913,15 +1914,18 @@ var BaseCliAdapter = class {
|
|
|
1913
1914
|
* Executes task with retry logic via shared retry loop.
|
|
1914
1915
|
*/
|
|
1915
1916
|
async executeWithRetry(task, opts) {
|
|
1917
|
+
const circuitBreaker = getDefaultCliCircuitBreakerRegistry().getBreaker(this.name);
|
|
1916
1918
|
const result = await executeCliRetryLoop(() => this.executeTask(task, opts), {
|
|
1917
1919
|
maxRetries: opts.maxRetries,
|
|
1918
1920
|
allowRetry: this.shouldOuterRetry(opts),
|
|
1919
1921
|
baseDelayMs: 1e3,
|
|
1920
1922
|
maxDelayMs: 16e3,
|
|
1923
|
+
circuitBreaker,
|
|
1921
1924
|
cli: this.name,
|
|
1922
1925
|
logger: this.logger
|
|
1923
1926
|
});
|
|
1924
1927
|
if (result.ok) {
|
|
1928
|
+
circuitBreaker.recordSuccess();
|
|
1925
1929
|
this.recordUsage(result.value.response);
|
|
1926
1930
|
this.logger.info("Task executed successfully", {
|
|
1927
1931
|
cli: this.name,
|
|
@@ -4835,4 +4839,4 @@ export {
|
|
|
4835
4839
|
SdkAdapter,
|
|
4836
4840
|
createAutoAdapter
|
|
4837
4841
|
};
|
|
4838
|
-
//# sourceMappingURL=chunk-
|
|
4842
|
+
//# sourceMappingURL=chunk-HGHPZ2W3.js.map
|