nexus-agents 8.123.0 → 8.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ast-rule-runner-2WH3SFLU.js → ast-rule-runner-CZ5O4YR7.js} +3 -3
- package/dist/{child-mcp-config-OUJEI5O4.js → child-mcp-config-DQGG7CTI.js} +2 -2
- package/dist/{chunk-3JHGB5IP.js → chunk-23FQPFI4.js} +2 -2
- package/dist/{chunk-DYVN3FKX.js → chunk-35KEWIMV.js} +2 -2
- package/dist/{chunk-J5KIXEEX.js → chunk-3CBBUAZZ.js} +5 -5
- package/dist/{chunk-4SRYQKHC.js → chunk-3G73BY6C.js} +3 -3
- package/dist/{chunk-AQAI7WFP.js → chunk-5AALTS3S.js} +2 -2
- package/dist/{chunk-AXHI5SNH.js → chunk-6WRH3LBP.js} +2 -2
- package/dist/{chunk-Z5MLGY3X.js → chunk-7FISXMZD.js} +3 -3
- package/dist/{chunk-AP3CNPUI.js → chunk-AFYFKT6T.js} +5 -5
- package/dist/{chunk-HX4RXRH6.js → chunk-B3ALYUFL.js} +7 -7
- package/dist/{chunk-UAWN3QHN.js → chunk-BGQA53QQ.js} +2 -2
- package/dist/{chunk-4VJRMPKJ.js → chunk-BKQ3ALKH.js} +2 -2
- package/dist/{chunk-GFFALPZC.js → chunk-CDWHC2OZ.js} +2 -2
- package/dist/{chunk-2G2OJ3EJ.js → chunk-DK5FPG6K.js} +2 -2
- package/dist/{chunk-5DLH4IWK.js → chunk-EL6WVSX2.js} +6 -6
- package/dist/{chunk-LT6Q6MC5.js → chunk-FEOYDA6G.js} +12 -12
- package/dist/{chunk-7ILEOJQS.js → chunk-G3RQ3ECZ.js} +5 -5
- package/dist/{chunk-DQEJSFE2.js → chunk-I7WLZ3KF.js} +2 -2
- package/dist/{chunk-VVH4Y6TK.js → chunk-IYKF6Q6B.js} +2 -2
- package/dist/{chunk-ZMH3XMMV.js → chunk-KEBW55DQ.js} +2 -2
- package/dist/{chunk-MPXBYDWO.js → chunk-L5CDQ7QK.js} +65 -15
- package/dist/chunk-L5CDQ7QK.js.map +1 -0
- package/dist/{chunk-72R6FRHP.js → chunk-LK7GODI6.js} +2 -2
- package/dist/{chunk-QLHNL5Z6.js → chunk-MBBQDXX6.js} +3 -3
- package/dist/{chunk-MFCX7UQQ.js → chunk-NAXLQIOQ.js} +2 -2
- package/dist/{chunk-PK7YUG4G.js → chunk-P4HUSF6P.js} +11 -11
- package/dist/{chunk-GSS3XJNZ.js → chunk-RMLNW376.js} +9 -9
- package/dist/{chunk-RLJMTC6K.js → chunk-RMMA4HDL.js} +2 -2
- package/dist/{chunk-IGK42Y72.js → chunk-T2AOQTW4.js} +5 -5
- package/dist/{chunk-AIV2CDC4.js → chunk-T7ZKHG5T.js} +4 -4
- package/dist/{chunk-LNN5BYNY.js → chunk-TGWRNNHQ.js} +2 -2
- package/dist/{chunk-3VQO3MWD.js → chunk-VTBFGRRP.js} +2 -2
- package/dist/{chunk-PHNSPPHO.js → chunk-WI4N7QDC.js} +3 -3
- package/dist/{chunk-MTN4E7MO.js → chunk-WLVNNTZZ.js} +42 -42
- package/dist/{chunk-MTN4E7MO.js.map → chunk-WLVNNTZZ.js.map} +1 -1
- package/dist/{chunk-WNFBRK6I.js → chunk-XYAVROLE.js} +4 -4
- package/dist/{chunk-4HERVQZO.js → chunk-Y7EVXWYU.js} +4 -4
- package/dist/{chunk-WZ5IJTL3.js → chunk-YVS2FXT6.js} +3 -3
- package/dist/{cli-circuit-breaker-E5OBGVGC.js → cli-circuit-breaker-RG4UF6FN.js} +3 -3
- package/dist/cli.js +44 -44
- package/dist/{composite-router-QLG6RKP6.js → composite-router-4TSZUALA.js} +2 -2
- package/dist/{consensus-vote-QBAM4C23.js → consensus-vote-ALEIBLKC.js} +17 -17
- package/dist/{context-retriever-2LLQLCRD.js → context-retriever-3W2OL4RO.js} +8 -8
- package/dist/{doctor-deep-67UPM3HJ.js → doctor-deep-ZAAY3WB6.js} +3 -3
- package/dist/doctor-gateway-report-A7MZPJWD.js +19 -0
- package/dist/{doctor-live-SRUI2MAC.js → doctor-live-OAXLRPDE.js} +11 -11
- package/dist/{expert-bridge-VD6VU2WT.js → expert-bridge-EE4IIZIN.js} +4 -4
- package/dist/{factory-RSAFHZ5J.js → factory-IBHDXXNR.js} +5 -5
- package/dist/{factory-34ODVPTS.js → factory-XS7U6MG5.js} +10 -10
- package/dist/{improvement-review-7IWMROEL.js → improvement-review-JCBJBN7E.js} +6 -6
- package/dist/index.d.ts +8 -4
- package/dist/index.js +45 -82
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-QOONWORC.js → init-opencode-HQEPB7PI.js} +6 -6
- package/dist/{issue-triage-QALNALO5.js → issue-triage-H2GGXC65.js} +6 -6
- package/dist/{openai-compat-adapter-6WQVOAYK.js → openai-compat-adapter-2HYHVJEM.js} +6 -6
- package/dist/{pr-reviewer-helpers-CUZCDNY3.js → pr-reviewer-helpers-QTH6O3FZ.js} +4 -4
- package/dist/{registry-command-BO4DITBE.js → registry-command-OARQZTUJ.js} +2 -2
- package/dist/{repo-security-plan-3XV35U2U.js → repo-security-plan-RPYE5VPC.js} +3 -3
- package/dist/{research-helpers-synthesize-CFAJGQPG.js → research-helpers-synthesize-SLA3EJSS.js} +4 -4
- package/dist/{routing-memory-Y57AQSY6.js → routing-memory-4M3QWUJJ.js} +2 -2
- package/dist/{session-memory-I2WNQT2R.js → session-memory-VW4QQB6K.js} +3 -3
- package/dist/{setup-config-SCQFOX5P.js → setup-config-TNAEREJ2.js} +3 -3
- package/dist/{setup-custom-api-P5WRVVQ2.js → setup-custom-api-K47DQWSS.js} +4 -4
- package/dist/setup-data-dir-DUDPUBXE.js +33 -0
- package/dist/{tool-memory-FBIFXGNR.js → tool-memory-B57RSRDM.js} +5 -5
- package/dist/{unified-registry-EP2XEMN5.js → unified-registry-3UZKUZEW.js} +11 -11
- package/dist/{weather-report-EOX3CKTI.js → weather-report-NQ7DXWEY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-MPXBYDWO.js.map +0 -1
- package/dist/doctor-gateway-report-ILD3OIJA.js +0 -19
- package/dist/setup-data-dir-ZWMGEWWH.js +0 -33
- /package/dist/{ast-rule-runner-2WH3SFLU.js.map → ast-rule-runner-CZ5O4YR7.js.map} +0 -0
- /package/dist/{child-mcp-config-OUJEI5O4.js.map → child-mcp-config-DQGG7CTI.js.map} +0 -0
- /package/dist/{chunk-3JHGB5IP.js.map → chunk-23FQPFI4.js.map} +0 -0
- /package/dist/{chunk-DYVN3FKX.js.map → chunk-35KEWIMV.js.map} +0 -0
- /package/dist/{chunk-J5KIXEEX.js.map → chunk-3CBBUAZZ.js.map} +0 -0
- /package/dist/{chunk-4SRYQKHC.js.map → chunk-3G73BY6C.js.map} +0 -0
- /package/dist/{chunk-AQAI7WFP.js.map → chunk-5AALTS3S.js.map} +0 -0
- /package/dist/{chunk-AXHI5SNH.js.map → chunk-6WRH3LBP.js.map} +0 -0
- /package/dist/{chunk-Z5MLGY3X.js.map → chunk-7FISXMZD.js.map} +0 -0
- /package/dist/{chunk-AP3CNPUI.js.map → chunk-AFYFKT6T.js.map} +0 -0
- /package/dist/{chunk-HX4RXRH6.js.map → chunk-B3ALYUFL.js.map} +0 -0
- /package/dist/{chunk-UAWN3QHN.js.map → chunk-BGQA53QQ.js.map} +0 -0
- /package/dist/{chunk-4VJRMPKJ.js.map → chunk-BKQ3ALKH.js.map} +0 -0
- /package/dist/{chunk-GFFALPZC.js.map → chunk-CDWHC2OZ.js.map} +0 -0
- /package/dist/{chunk-2G2OJ3EJ.js.map → chunk-DK5FPG6K.js.map} +0 -0
- /package/dist/{chunk-5DLH4IWK.js.map → chunk-EL6WVSX2.js.map} +0 -0
- /package/dist/{chunk-LT6Q6MC5.js.map → chunk-FEOYDA6G.js.map} +0 -0
- /package/dist/{chunk-7ILEOJQS.js.map → chunk-G3RQ3ECZ.js.map} +0 -0
- /package/dist/{chunk-DQEJSFE2.js.map → chunk-I7WLZ3KF.js.map} +0 -0
- /package/dist/{chunk-VVH4Y6TK.js.map → chunk-IYKF6Q6B.js.map} +0 -0
- /package/dist/{chunk-ZMH3XMMV.js.map → chunk-KEBW55DQ.js.map} +0 -0
- /package/dist/{chunk-72R6FRHP.js.map → chunk-LK7GODI6.js.map} +0 -0
- /package/dist/{chunk-QLHNL5Z6.js.map → chunk-MBBQDXX6.js.map} +0 -0
- /package/dist/{chunk-MFCX7UQQ.js.map → chunk-NAXLQIOQ.js.map} +0 -0
- /package/dist/{chunk-PK7YUG4G.js.map → chunk-P4HUSF6P.js.map} +0 -0
- /package/dist/{chunk-GSS3XJNZ.js.map → chunk-RMLNW376.js.map} +0 -0
- /package/dist/{chunk-RLJMTC6K.js.map → chunk-RMMA4HDL.js.map} +0 -0
- /package/dist/{chunk-IGK42Y72.js.map → chunk-T2AOQTW4.js.map} +0 -0
- /package/dist/{chunk-AIV2CDC4.js.map → chunk-T7ZKHG5T.js.map} +0 -0
- /package/dist/{chunk-LNN5BYNY.js.map → chunk-TGWRNNHQ.js.map} +0 -0
- /package/dist/{chunk-3VQO3MWD.js.map → chunk-VTBFGRRP.js.map} +0 -0
- /package/dist/{chunk-PHNSPPHO.js.map → chunk-WI4N7QDC.js.map} +0 -0
- /package/dist/{chunk-WNFBRK6I.js.map → chunk-XYAVROLE.js.map} +0 -0
- /package/dist/{chunk-4HERVQZO.js.map → chunk-Y7EVXWYU.js.map} +0 -0
- /package/dist/{chunk-WZ5IJTL3.js.map → chunk-YVS2FXT6.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-E5OBGVGC.js.map → cli-circuit-breaker-RG4UF6FN.js.map} +0 -0
- /package/dist/{composite-router-QLG6RKP6.js.map → composite-router-4TSZUALA.js.map} +0 -0
- /package/dist/{consensus-vote-QBAM4C23.js.map → consensus-vote-ALEIBLKC.js.map} +0 -0
- /package/dist/{context-retriever-2LLQLCRD.js.map → context-retriever-3W2OL4RO.js.map} +0 -0
- /package/dist/{doctor-deep-67UPM3HJ.js.map → doctor-deep-ZAAY3WB6.js.map} +0 -0
- /package/dist/{doctor-gateway-report-ILD3OIJA.js.map → doctor-gateway-report-A7MZPJWD.js.map} +0 -0
- /package/dist/{doctor-live-SRUI2MAC.js.map → doctor-live-OAXLRPDE.js.map} +0 -0
- /package/dist/{expert-bridge-VD6VU2WT.js.map → expert-bridge-EE4IIZIN.js.map} +0 -0
- /package/dist/{factory-34ODVPTS.js.map → factory-IBHDXXNR.js.map} +0 -0
- /package/dist/{factory-RSAFHZ5J.js.map → factory-XS7U6MG5.js.map} +0 -0
- /package/dist/{improvement-review-7IWMROEL.js.map → improvement-review-JCBJBN7E.js.map} +0 -0
- /package/dist/{init-opencode-QOONWORC.js.map → init-opencode-HQEPB7PI.js.map} +0 -0
- /package/dist/{issue-triage-QALNALO5.js.map → issue-triage-H2GGXC65.js.map} +0 -0
- /package/dist/{openai-compat-adapter-6WQVOAYK.js.map → openai-compat-adapter-2HYHVJEM.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-CUZCDNY3.js.map → pr-reviewer-helpers-QTH6O3FZ.js.map} +0 -0
- /package/dist/{registry-command-BO4DITBE.js.map → registry-command-OARQZTUJ.js.map} +0 -0
- /package/dist/{repo-security-plan-3XV35U2U.js.map → repo-security-plan-RPYE5VPC.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-CFAJGQPG.js.map → research-helpers-synthesize-SLA3EJSS.js.map} +0 -0
- /package/dist/{routing-memory-Y57AQSY6.js.map → routing-memory-4M3QWUJJ.js.map} +0 -0
- /package/dist/{session-memory-I2WNQT2R.js.map → session-memory-VW4QQB6K.js.map} +0 -0
- /package/dist/{setup-config-SCQFOX5P.js.map → setup-config-TNAEREJ2.js.map} +0 -0
- /package/dist/{setup-custom-api-P5WRVVQ2.js.map → setup-custom-api-K47DQWSS.js.map} +0 -0
- /package/dist/{setup-data-dir-ZWMGEWWH.js.map → setup-data-dir-DUDPUBXE.js.map} +0 -0
- /package/dist/{tool-memory-FBIFXGNR.js.map → tool-memory-B57RSRDM.js.map} +0 -0
- /package/dist/{unified-registry-EP2XEMN5.js.map → unified-registry-3UZKUZEW.js.map} +0 -0
- /package/dist/{weather-report-EOX3CKTI.js.map → weather-report-NQ7DXWEY.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-DK5FPG6K.js";
|
|
13
|
+
import "./chunk-L5CDQ7QK.js";
|
|
14
14
|
import "./chunk-UE7A2XHM.js";
|
|
15
15
|
import "./chunk-LWOX65CP.js";
|
|
16
16
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-CZ5O4YR7.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OITVVSWO.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
7
7
|
import "./chunk-UE7A2XHM.js";
|
|
8
8
|
import "./chunk-LWOX65CP.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -49,4 +49,4 @@ async function generateMcpConfig(options) {
|
|
|
49
49
|
export {
|
|
50
50
|
generateMcpConfig
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=child-mcp-config-
|
|
52
|
+
//# sourceMappingURL=child-mcp-config-DQGG7CTI.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
MCP_TIMEOUTS,
|
|
9
9
|
TEST_TIMEOUTS,
|
|
10
10
|
WORKFLOW_TIMEOUTS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
12
12
|
import {
|
|
13
13
|
createGetToolRateLimit
|
|
14
14
|
} from "./chunk-LWOX65CP.js";
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
CUSTOM_API_DEFAULT_MODEL,
|
|
224
224
|
DEFAULTS
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-23FQPFI4.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-35KEWIMV.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RMLNW376.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureGatewayDiscovered,
|
|
6
6
|
gatewayDiscoveryGeneration
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7FISXMZD.js";
|
|
8
8
|
import {
|
|
9
9
|
getDefaultCliCircuitBreakerRegistry,
|
|
10
10
|
mapModelErrorToCategory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KEBW55DQ.js";
|
|
12
12
|
import {
|
|
13
13
|
CircularBuffer,
|
|
14
14
|
ConfigError,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
recordRateLimitEvent,
|
|
34
34
|
toRateLimitError,
|
|
35
35
|
warnIfGatewayCostUndeclared
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
37
37
|
|
|
38
38
|
// src/agents/collaboration/event-bus-helpers.ts
|
|
39
39
|
import { randomUUID } from "node:crypto";
|
|
@@ -1040,4 +1040,4 @@ export {
|
|
|
1040
1040
|
getGlobalRegistry,
|
|
1041
1041
|
resetGlobalRegistry
|
|
1042
1042
|
};
|
|
1043
|
-
//# sourceMappingURL=chunk-
|
|
1043
|
+
//# sourceMappingURL=chunk-3CBBUAZZ.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y7EVXWYU.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
hasMeasuredCategory,
|
|
22
22
|
isDeclaredNeverDeprecate,
|
|
23
23
|
isRegisteredToolName
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
25
25
|
import {
|
|
26
26
|
getNexusDataDir,
|
|
27
27
|
nexusDataPath
|
|
@@ -2293,4 +2293,4 @@ export {
|
|
|
2293
2293
|
runImprovementReview,
|
|
2294
2294
|
registerImprovementReviewTool
|
|
2295
2295
|
};
|
|
2296
|
-
//# sourceMappingURL=chunk-
|
|
2296
|
+
//# sourceMappingURL=chunk-3G73BY6C.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -740,4 +740,4 @@ export {
|
|
|
740
740
|
generateSecurityPlan,
|
|
741
741
|
buildPlanFromAnalysis
|
|
742
742
|
};
|
|
743
|
-
//# sourceMappingURL=chunk-
|
|
743
|
+
//# sourceMappingURL=chunk-5AALTS3S.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-6WRH3LBP.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
logGatewaySlotMapping,
|
|
8
8
|
resolveOwnerCli,
|
|
9
9
|
setGatewaySlotCatalog
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
11
11
|
|
|
12
12
|
// src/config/model-availability.ts
|
|
13
13
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -139,7 +139,7 @@ function discoverGatewayOnce(logger = defaultLogger) {
|
|
|
139
139
|
}
|
|
140
140
|
async function runProbe(logger) {
|
|
141
141
|
try {
|
|
142
|
-
const { buildOpenAICompatAdapters: build } = await import("./openai-compat-adapter-
|
|
142
|
+
const { buildOpenAICompatAdapters: build } = await import("./openai-compat-adapter-2HYHVJEM.js");
|
|
143
143
|
return await build(logger);
|
|
144
144
|
} catch (error) {
|
|
145
145
|
return err(new ConfigError(`Gateway discovery threw: ${getErrorMessage(error)}`));
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
setGatewayRediscovery,
|
|
270
270
|
ensureGatewayDiscovered
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=chunk-
|
|
272
|
+
//# sourceMappingURL=chunk-7FISXMZD.js.map
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
requireApiKey,
|
|
9
9
|
validateApiKeyPresence,
|
|
10
10
|
withGatewayUsageRecording
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BKQ3ALKH.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic,
|
|
14
14
|
hostnameOf,
|
|
15
15
|
redactGatewaySecrets
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BGQA53QQ.js";
|
|
17
17
|
import {
|
|
18
18
|
REDACTED_KEY_PLACEHOLDER,
|
|
19
19
|
sanitizeErrorDetails
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IYKF6Q6B.js";
|
|
21
21
|
import {
|
|
22
22
|
CUSTOM_API_ALLOW_PRIVATE_ENV,
|
|
23
23
|
ConfigError,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
ok,
|
|
40
40
|
readModelAllowlist,
|
|
41
41
|
refineGatewayCatalog
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
43
43
|
|
|
44
44
|
// src/adapters/openai-compat-adapter.ts
|
|
45
45
|
import OpenAI2 from "openai";
|
|
@@ -992,4 +992,4 @@ export {
|
|
|
992
992
|
createOpenAICompatAdapter,
|
|
993
993
|
buildOpenAICompatAdapters
|
|
994
994
|
};
|
|
995
|
-
//# sourceMappingURL=chunk-
|
|
995
|
+
//# sourceMappingURL=chunk-AFYFKT6T.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureGatewayDiscovered,
|
|
3
3
|
gatewayDiscoveryGeneration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7FISXMZD.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
getTimeProvider,
|
|
8
8
|
isRateLimitText,
|
|
9
9
|
resolveCliSlot
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
11
11
|
|
|
12
12
|
// src/pipeline/expert-access-mode.ts
|
|
13
13
|
var logger = createLogger({ component: "expert-bridge" });
|
|
@@ -69,7 +69,7 @@ async function getMcpConfigPath() {
|
|
|
69
69
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
70
70
|
mcpConfigInitPromise ??= (async () => {
|
|
71
71
|
try {
|
|
72
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
72
|
+
const { generateMcpConfig } = await import("./child-mcp-config-DQGG7CTI.js");
|
|
73
73
|
const config = await generateMcpConfig();
|
|
74
74
|
cachedMcpConfigPath = config.configPath;
|
|
75
75
|
cachedMcpConfigCleanup = config.cleanup;
|
|
@@ -163,8 +163,8 @@ async function getRouter() {
|
|
|
163
163
|
}
|
|
164
164
|
if (cachedRouter !== null) return cachedRouter;
|
|
165
165
|
routerInitPromise ??= (async () => {
|
|
166
|
-
const { createAllAdapters } = await import("./factory-
|
|
167
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
166
|
+
const { createAllAdapters } = await import("./factory-XS7U6MG5.js");
|
|
167
|
+
const { createCompositeRouter } = await import("./composite-router-4TSZUALA.js");
|
|
168
168
|
const adapters = createAllAdapters();
|
|
169
169
|
const superseded = generation !== routerGeneration;
|
|
170
170
|
if (adapters.size === 0) {
|
|
@@ -175,7 +175,7 @@ async function getRouter() {
|
|
|
175
175
|
if (superseded) return router;
|
|
176
176
|
cachedRouter = router;
|
|
177
177
|
try {
|
|
178
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
178
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-RG4UF6FN.js");
|
|
179
179
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
180
180
|
} catch (error) {
|
|
181
181
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -323,4 +323,4 @@ export {
|
|
|
323
323
|
tokenSplitFromUsage,
|
|
324
324
|
executeExpert
|
|
325
325
|
};
|
|
326
|
-
//# sourceMappingURL=chunk-
|
|
326
|
+
//# sourceMappingURL=chunk-B3ALYUFL.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createLogger,
|
|
8
8
|
err,
|
|
9
9
|
ok
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
11
11
|
|
|
12
12
|
// src/adapters/gateway-redaction.ts
|
|
13
13
|
var GATEWAY_REDACTED = "<redacted>";
|
|
@@ -341,4 +341,4 @@ export {
|
|
|
341
341
|
validateCustomApiBaseUrl,
|
|
342
342
|
assertCustomApiHostResolvesPublic
|
|
343
343
|
};
|
|
344
|
-
//# sourceMappingURL=chunk-
|
|
344
|
+
//# sourceMappingURL=chunk-BGQA53QQ.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
ok,
|
|
17
17
|
recordUsageEvent,
|
|
18
18
|
resolveRetryAfterMs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
20
20
|
|
|
21
21
|
// src/adapters/base-adapter.ts
|
|
22
22
|
var AdapterModelError = class extends ModelError {
|
|
@@ -1113,4 +1113,4 @@ export {
|
|
|
1113
1113
|
gatewayAiSdkOptions,
|
|
1114
1114
|
withGatewayUsageRecording
|
|
1115
1115
|
};
|
|
1116
|
-
//# sourceMappingURL=chunk-
|
|
1116
|
+
//# sourceMappingURL=chunk-BKQ3ALKH.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getAdaptiveBonus,
|
|
9
9
|
getOutcomeStore,
|
|
10
10
|
hasMeasuredCategory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/doctor-deep.ts
|
|
14
14
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
runDeepDiagnostics,
|
|
149
149
|
formatDeepDiagnostics
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-CDWHC2OZ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError,
|
|
6
6
|
resolveInsideRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
8
8
|
|
|
9
9
|
// src/security/ast-rule-runner.ts
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
collectAstQaFindings,
|
|
242
242
|
runAstQaRules
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-DK5FPG6K.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
createOpenAICompatAdapter,
|
|
5
5
|
discoverGatewayCatalog,
|
|
6
6
|
readOpenAICompatEnv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AFYFKT6T.js";
|
|
8
8
|
import {
|
|
9
9
|
CUSTOM_API_DEFAULT_MODEL
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-23FQPFI4.js";
|
|
11
11
|
import {
|
|
12
12
|
gatewayProxyUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BKQ3ALKH.js";
|
|
14
14
|
import {
|
|
15
15
|
redactGatewaySecrets
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BGQA53QQ.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_OPENAI_COMPAT_ENDPOINT,
|
|
19
19
|
GATEWAY_COST_ENV,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
isCliDisabled,
|
|
32
32
|
symbols,
|
|
33
33
|
writeLine
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
35
35
|
|
|
36
36
|
// src/cli/doctor-gateway-slots.ts
|
|
37
37
|
var FAMILY_SLOTS = [
|
|
@@ -398,4 +398,4 @@ export {
|
|
|
398
398
|
formatGatewayReport,
|
|
399
399
|
formatGatewaySlotWarnings
|
|
400
400
|
};
|
|
401
|
-
//# sourceMappingURL=chunk-
|
|
401
|
+
//# sourceMappingURL=chunk-EL6WVSX2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SERVES_PROBE_PROMPT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I7WLZ3KF.js";
|
|
4
4
|
import {
|
|
5
5
|
checkGatewayHealth,
|
|
6
6
|
cliFailsVerdict,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
gatewaySlotServing,
|
|
11
11
|
gatewayVerdict,
|
|
12
12
|
printVoterTransportCheck
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EL6WVSX2.js";
|
|
14
14
|
import {
|
|
15
15
|
NODE_ENGINE_RANGE,
|
|
16
16
|
VERSION,
|
|
17
17
|
isNodeVersionSupported,
|
|
18
18
|
recordServerTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MBBQDXX6.js";
|
|
20
20
|
import {
|
|
21
21
|
allOf,
|
|
22
22
|
anyOf
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
readOpenAICompatEndpoint,
|
|
26
26
|
readOpenAICompatEnv
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AFYFKT6T.js";
|
|
28
28
|
import {
|
|
29
29
|
claimGlobalRegistry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3CBBUAZZ.js";
|
|
31
31
|
import {
|
|
32
32
|
capitalize
|
|
33
33
|
} from "./chunk-SX5DB6UR.js";
|
|
@@ -41,13 +41,13 @@ import {
|
|
|
41
41
|
createAllAdapters,
|
|
42
42
|
isCliAdmitted,
|
|
43
43
|
probeCli
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-RMLNW376.js";
|
|
45
45
|
import {
|
|
46
46
|
getNexusTmpDir
|
|
47
47
|
} from "./chunk-OITVVSWO.js";
|
|
48
48
|
import {
|
|
49
49
|
resolveGatewayEnv
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-BGQA53QQ.js";
|
|
51
51
|
import {
|
|
52
52
|
DEFAULT_CAPABILITIES,
|
|
53
53
|
cliBinaryAdapterOf,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
resolveGatewayCostDeclaration,
|
|
71
71
|
symbols,
|
|
72
72
|
writeLine
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
74
74
|
import {
|
|
75
75
|
getLearningDir,
|
|
76
76
|
getOutcomesFile,
|
|
@@ -1499,7 +1499,7 @@ async function doctorCommand(options = {}) {
|
|
|
1499
1499
|
options.onResult?.(result);
|
|
1500
1500
|
printDoctorResults(result);
|
|
1501
1501
|
if (options.gateway === true || options.probe === true) {
|
|
1502
|
-
const { formatGatewayReport } = await import("./doctor-gateway-report-
|
|
1502
|
+
const { formatGatewayReport } = await import("./doctor-gateway-report-A7MZPJWD.js");
|
|
1503
1503
|
for (const line of formatGatewayReport(result.gateway, result.clis)) {
|
|
1504
1504
|
process.stdout.write(line + "\n");
|
|
1505
1505
|
}
|
|
@@ -1518,13 +1518,13 @@ async function runDoctorFix(result) {
|
|
|
1518
1518
|
writeLine2("\u2500".repeat(40));
|
|
1519
1519
|
let fixCount = 0;
|
|
1520
1520
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1521
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1521
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-DUDPUBXE.js");
|
|
1522
1522
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1523
1523
|
writeLine2(outcome.line);
|
|
1524
1524
|
if (outcome.counted) fixCount++;
|
|
1525
1525
|
}
|
|
1526
1526
|
if (!result.configFile.found) {
|
|
1527
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1527
|
+
const { runConfigInitSync } = await import("./setup-config-TNAEREJ2.js");
|
|
1528
1528
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1529
1529
|
if (configResult.success && configResult.created) {
|
|
1530
1530
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1620,4 +1620,4 @@ export {
|
|
|
1620
1620
|
startStdioServer,
|
|
1621
1621
|
closeServer
|
|
1622
1622
|
};
|
|
1623
|
-
//# sourceMappingURL=chunk-
|
|
1623
|
+
//# sourceMappingURL=chunk-FEOYDA6G.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-W654ME6B.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveToken
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6WRH3LBP.js";
|
|
7
7
|
import {
|
|
8
8
|
REGISTRY_PATH,
|
|
9
9
|
getProjectRoot,
|
|
10
10
|
loadPapersRegistry,
|
|
11
11
|
loadTechniquesRegistry,
|
|
12
12
|
savePapersRegistry
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TGWRNNHQ.js";
|
|
14
14
|
import {
|
|
15
15
|
beliefTrustTier,
|
|
16
16
|
getToolMemory,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
rankedItemTrustTier,
|
|
19
19
|
trustTierLabel,
|
|
20
20
|
withoutUntrustedMemory
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-T7ZKHG5T.js";
|
|
22
22
|
import {
|
|
23
23
|
capitalizeWords,
|
|
24
24
|
tokenizeFiltered,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
registerPersistentDistillerFactory,
|
|
49
49
|
resolveInsideRoot,
|
|
50
50
|
sigmoidConfidence
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
52
52
|
import {
|
|
53
53
|
ensureLearningDir,
|
|
54
54
|
getRulesFile
|
|
@@ -4285,4 +4285,4 @@ export {
|
|
|
4285
4285
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4286
4286
|
getContextPromptPrefix
|
|
4287
4287
|
};
|
|
4288
|
-
//# sourceMappingURL=chunk-
|
|
4288
|
+
//# sourceMappingURL=chunk-G3RQ3ECZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveClassGuardMs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/cli-readiness.ts
|
|
6
6
|
var READINESS_LEVELS = ["installed", "authenticated", "serves"];
|
|
@@ -107,4 +107,4 @@ export {
|
|
|
107
107
|
SERVES_PROBE_PROMPT,
|
|
108
108
|
probeServes
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=chunk-
|
|
110
|
+
//# sourceMappingURL=chunk-I7WLZ3KF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
redactCredentialShapes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
4
4
|
|
|
5
5
|
// src/security/output-sanitizer.ts
|
|
6
6
|
var REDACTED_KEY_PLACEHOLDER = "[REDACTED_KEY]";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
sanitizeErrorDetails,
|
|
55
55
|
sanitizeStringLeaves
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-IYKF6Q6B.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isRateLimitText,
|
|
13
13
|
observedArmDisplaySlot,
|
|
14
14
|
ok
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L5CDQ7QK.js";
|
|
16
16
|
|
|
17
17
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
18
18
|
var CircuitErrorCode = {
|
|
@@ -614,4 +614,4 @@ export {
|
|
|
614
614
|
CliCircuitBreakerIntegration,
|
|
615
615
|
createCliCircuitBreakerIntegration
|
|
616
616
|
};
|
|
617
|
-
//# sourceMappingURL=chunk-
|
|
617
|
+
//# sourceMappingURL=chunk-KEBW55DQ.js.map
|
|
@@ -2816,7 +2816,7 @@ function setDefaultRegistry(registry) {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
async function reloadDefaultRegistry() {
|
|
2818
2818
|
globalRegistry = buildDefaultRegistry();
|
|
2819
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
2819
|
+
const { resetGlobalRegistry } = await import("./unified-registry-3UZKUZEW.js");
|
|
2820
2820
|
resetGlobalRegistry();
|
|
2821
2821
|
return globalRegistry;
|
|
2822
2822
|
}
|
|
@@ -5832,6 +5832,63 @@ var RoutingMemoryError = class extends Error {
|
|
|
5832
5832
|
code;
|
|
5833
5833
|
};
|
|
5834
5834
|
|
|
5835
|
+
// src/learning/routing-decision-mappers.ts
|
|
5836
|
+
function mapFeedbackRoutingDecision(decision, context) {
|
|
5837
|
+
return {
|
|
5838
|
+
id: context.id,
|
|
5839
|
+
traceId: context.traceId,
|
|
5840
|
+
timestamp: context.timestamp,
|
|
5841
|
+
routerType: context.routerType,
|
|
5842
|
+
routerTypeMeasured: context.routerTypeMeasured,
|
|
5843
|
+
query: context.query ?? "",
|
|
5844
|
+
selectedModel: routingArmDisplaySlot(decision.cliName),
|
|
5845
|
+
confidence: decision.confidence,
|
|
5846
|
+
selectedTier: decision.preferenceTier
|
|
5847
|
+
};
|
|
5848
|
+
}
|
|
5849
|
+
function mapObserverRoutingDecision(decision, context) {
|
|
5850
|
+
return {
|
|
5851
|
+
timestamp: context.timestamp,
|
|
5852
|
+
taskId: context.taskId,
|
|
5853
|
+
taskDescription: context.query.length > 100 ? context.query.substring(0, 100) + "..." : context.query,
|
|
5854
|
+
selectedCli: routingArmDisplaySlot(decision.cliName),
|
|
5855
|
+
confidence: decision.confidence,
|
|
5856
|
+
reason: decision.reason,
|
|
5857
|
+
alternatives: decision.alternatives.map(routingArmDisplaySlot),
|
|
5858
|
+
stagesExecuted: decision.stagesExecuted,
|
|
5859
|
+
decisionTimeMs: decision.decisionTimeMs,
|
|
5860
|
+
withinBudget: decision.withinBudget,
|
|
5861
|
+
topsisScore: decision.topsisScore,
|
|
5862
|
+
ucbScore: decision.ucbScore
|
|
5863
|
+
};
|
|
5864
|
+
}
|
|
5865
|
+
function mapStoredRoutingDecision(decision, context) {
|
|
5866
|
+
const profile = decision.taskProfile;
|
|
5867
|
+
return {
|
|
5868
|
+
id: context.id,
|
|
5869
|
+
traceId: context.traceId,
|
|
5870
|
+
timestamp: context.timestamp,
|
|
5871
|
+
routerType: context.routerType,
|
|
5872
|
+
routerTypeMeasured: context.routerTypeMeasured,
|
|
5873
|
+
selectedModel: routingArmDisplaySlot(decision.cliName),
|
|
5874
|
+
alternativeModels: decision.alternatives.map(routingArmDisplaySlot),
|
|
5875
|
+
confidence: decision.confidence,
|
|
5876
|
+
reason: decision.reason,
|
|
5877
|
+
taskProfile: {
|
|
5878
|
+
contextRequired: profile.contextRequired,
|
|
5879
|
+
reasoningComplexity: profile.reasoningComplexity,
|
|
5880
|
+
codeGeneration: profile.codeGeneration,
|
|
5881
|
+
multimodal: profile.multimodal,
|
|
5882
|
+
parallelizable: profile.parallelizable,
|
|
5883
|
+
budgetSensitive: profile.budgetSensitive,
|
|
5884
|
+
taskType: profile.taskType,
|
|
5885
|
+
...profile.detectedProductType !== void 0 && {
|
|
5886
|
+
detectedProductType: profile.detectedProductType
|
|
5887
|
+
}
|
|
5888
|
+
}
|
|
5889
|
+
};
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5835
5892
|
// src/cli-adapters/cli-error-helpers.ts
|
|
5836
5893
|
import { APIUserAbortError as OpenAiAbortError } from "openai/core/error";
|
|
5837
5894
|
import { APIUserAbortError as AnthropicAbortError } from "@anthropic-ai/sdk/core/error";
|
|
@@ -19541,7 +19598,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
19541
19598
|
*/
|
|
19542
19599
|
async consultUnifiedContext(task) {
|
|
19543
19600
|
try {
|
|
19544
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
19601
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-3W2OL4RO.js");
|
|
19545
19602
|
const ctx = await getContextForTask({
|
|
19546
19603
|
task: task.content,
|
|
19547
19604
|
category: inferTaskCategory(task.content),
|
|
@@ -19840,20 +19897,11 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
19840
19897
|
if (this.orchestrationObserver === void 0) {
|
|
19841
19898
|
return;
|
|
19842
19899
|
}
|
|
19843
|
-
const routingDecision = {
|
|
19900
|
+
const routingDecision = mapObserverRoutingDecision(decision, {
|
|
19844
19901
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
19845
19902
|
taskId: `task-${getRandomProvider().uuid()}`,
|
|
19846
|
-
|
|
19847
|
-
|
|
19848
|
-
confidence: decision.confidence,
|
|
19849
|
-
reason: decision.reason,
|
|
19850
|
-
alternatives: decision.alternatives.map(routingArmDisplaySlot),
|
|
19851
|
-
stagesExecuted: decision.stagesExecuted,
|
|
19852
|
-
decisionTimeMs: decision.decisionTimeMs,
|
|
19853
|
-
withinBudget: decision.withinBudget,
|
|
19854
|
-
topsisScore: decision.topsisScore,
|
|
19855
|
-
ucbScore: decision.ucbScore
|
|
19856
|
-
};
|
|
19903
|
+
query: task.content
|
|
19904
|
+
});
|
|
19857
19905
|
this.orchestrationObserver.recordRoutingDecision(routingDecision);
|
|
19858
19906
|
this.logger.debug("Recorded routing decision to OrchestrationObserver", {
|
|
19859
19907
|
cli: decision.cliName,
|
|
@@ -21183,6 +21231,8 @@ export {
|
|
|
21183
21231
|
summarizeTaskProfile,
|
|
21184
21232
|
toExpertTaskAnalysisResult,
|
|
21185
21233
|
getRandomProvider,
|
|
21234
|
+
mapFeedbackRoutingDecision,
|
|
21235
|
+
mapStoredRoutingDecision,
|
|
21186
21236
|
CompositeRouterConfigSchema,
|
|
21187
21237
|
DEFAULT_COMPOSITE_CONFIG,
|
|
21188
21238
|
CompositeRoutingError,
|
|
@@ -21277,4 +21327,4 @@ export {
|
|
|
21277
21327
|
AgentCapability,
|
|
21278
21328
|
OrchestratorError
|
|
21279
21329
|
};
|
|
21280
|
-
//# sourceMappingURL=chunk-
|
|
21330
|
+
//# sourceMappingURL=chunk-L5CDQ7QK.js.map
|