nexus-agents 8.52.0 → 8.52.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-OMARWHWE.js → ast-rule-runner-PELERN3O.js} +3 -3
- package/dist/{child-mcp-config-TTPPGI47.js → child-mcp-config-RYQSABJT.js} +2 -2
- package/dist/{chunk-DEVIH4AT.js → chunk-2WCWSJES.js} +5 -5
- package/dist/{chunk-XC6CDASQ.js → chunk-33RHZITC.js} +2 -2
- package/dist/{chunk-PT36V4VS.js → chunk-3JFRPAYE.js} +4 -4
- package/dist/{chunk-MGQROE5U.js → chunk-3PLSFD3D.js} +2 -2
- package/dist/{chunk-ZXRSBMNL.js → chunk-54YTICHC.js} +2 -2
- package/dist/{chunk-F5JVNA4I.js → chunk-5EEP73OA.js} +2 -2
- package/dist/{chunk-FTDEM664.js → chunk-6WLN4WLY.js} +3 -3
- package/dist/{chunk-RVWAMRVN.js → chunk-CTLBZ33K.js} +5 -5
- package/dist/{chunk-36CV7CCD.js → chunk-ECVWK52H.js} +2 -2
- package/dist/{chunk-5DYRHSCE.js → chunk-ELBJDCC7.js} +2 -2
- package/dist/{chunk-DSAY7HRZ.js → chunk-GE4KNPPO.js} +2 -2
- package/dist/{chunk-36MBJVGG.js → chunk-J45ABSJ6.js} +2 -2
- package/dist/{chunk-ITF2RPEP.js → chunk-JIUX35FD.js} +3 -3
- package/dist/{chunk-M2327EET.js → chunk-LJMPYBT5.js} +9 -9
- package/dist/{chunk-HJQSY4XL.js → chunk-N6NHQWQR.js} +2 -2
- package/dist/{chunk-QD3T5DUB.js → chunk-NBQ457TC.js} +6 -6
- package/dist/{chunk-DR2ZJHCO.js → chunk-NFKNTZYT.js} +4 -4
- package/dist/{chunk-JHHSNZDT.js → chunk-NGXHFMA6.js} +9 -4
- package/dist/chunk-NGXHFMA6.js.map +1 -0
- package/dist/{chunk-CIHUGM4T.js → chunk-QU37LE3Y.js} +74 -12
- package/dist/chunk-QU37LE3Y.js.map +1 -0
- package/dist/{chunk-Q35UI2VQ.js → chunk-R4ITN2N2.js} +4 -4
- package/dist/{chunk-SA7P7PYY.js → chunk-RWK5XSUL.js} +36 -36
- package/dist/{chunk-R2Z4HK4B.js → chunk-SKUIP3ER.js} +2 -2
- package/dist/{chunk-6IBZN5NI.js → chunk-THEK5N2A.js} +2 -2
- package/dist/{chunk-BZUFLIVF.js → chunk-THPZO2XW.js} +4 -4
- package/dist/{chunk-4PWPBNDP.js → chunk-TS4GGKYN.js} +2 -2
- package/dist/{chunk-ELRBAHJ7.js → chunk-USHZGWDJ.js} +105 -21
- package/dist/chunk-USHZGWDJ.js.map +1 -0
- package/dist/{chunk-Q64M3PDU.js → chunk-WAVAOSH5.js} +7 -7
- package/dist/{chunk-E4VUJZGC.js → chunk-WWZKWC2Z.js} +3 -3
- package/dist/{chunk-PVGI2ZFN.js → chunk-X5IOLM33.js} +2 -2
- package/dist/{chunk-D3YWV3NR.js → chunk-X5R6QOF2.js} +2 -2
- package/dist/{doctor-live-KGKB7XIZ.js → chunk-XBSPEJ23.js} +6 -73
- package/dist/chunk-XBSPEJ23.js.map +1 -0
- package/dist/{chunk-YEM7GMVB.js → chunk-XM5MYAMC.js} +2 -2
- package/dist/{chunk-D7CLVTZM.js → chunk-XMMRINZK.js} +2 -2
- package/dist/{chunk-SNQF2GZA.js → chunk-XYK2GPUF.js} +2 -2
- package/dist/{chunk-VCSFP3ZN.js → chunk-YKCVPCLR.js} +2 -2
- package/dist/{cli-circuit-breaker-54PR2WI3.js → cli-circuit-breaker-D7NZ7YF3.js} +3 -3
- package/dist/cli.js +56 -53
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-UOSLHVQC.js → composite-router-JRFBB5YP.js} +2 -2
- package/dist/{consensus-vote-NBU47KVJ.js → consensus-vote-G2EQDVSI.js} +17 -17
- package/dist/{context-retriever-XOEH7NZY.js → context-retriever-BIAAVT6X.js} +8 -8
- package/dist/{doctor-deep-XXYYPYEJ.js → doctor-deep-PLJHEYWB.js} +3 -3
- package/dist/doctor-live-JTSQWZ2L.js +81 -0
- package/dist/doctor-live-JTSQWZ2L.js.map +1 -0
- package/dist/{expert-bridge-NWVCSOA5.js → expert-bridge-VLEDZGPA.js} +4 -4
- package/dist/{factory-QZJFG56H.js → factory-EUZWJNFU.js} +9 -9
- package/dist/{factory-3FLN5V36.js → factory-KBUTXBHE.js} +5 -5
- package/dist/{improvement-review-HAK57UYN.js → improvement-review-JXP4EZ5W.js} +6 -6
- package/dist/index.d.ts +46 -0
- package/dist/index.js +32 -31
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-3MF5EUFL.js → init-opencode-WMDH2ZUK.js} +6 -6
- package/dist/issue-triage-UNLRUO2O.js +17 -0
- package/dist/{pr-reviewer-helpers-KKLUERS5.js → pr-reviewer-helpers-JWJ4HVPW.js} +4 -4
- package/dist/{registry-command-4AYYYOFG.js → registry-command-IFZYXY5Y.js} +2 -2
- package/dist/{repo-security-plan-QO42XEJO.js → repo-security-plan-JKXJSVP2.js} +3 -3
- package/dist/{research-helpers-synthesize-CMFUU7VH.js → research-helpers-synthesize-QI2V4GS6.js} +4 -4
- package/dist/{routing-memory-D5ZSNOED.js → routing-memory-EFMYS572.js} +2 -2
- package/dist/{session-memory-2YVYSK2C.js → session-memory-XO5T3PJD.js} +3 -3
- package/dist/{setup-config-EKZMJ4WQ.js → setup-config-JRFZ5LM3.js} +3 -3
- package/dist/{setup-custom-api-626A7IJN.js → setup-custom-api-FH2EM46D.js} +4 -4
- package/dist/setup-data-dir-4APUYXVF.js +31 -0
- package/dist/{tool-memory-DVKDX4VO.js → tool-memory-JHJKFFIX.js} +5 -5
- package/dist/{unified-registry-FGBELPLI.js → unified-registry-DPL6V77X.js} +10 -10
- package/dist/{weather-report-D7QCLP6S.js → weather-report-CAHU2PCR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-CIHUGM4T.js.map +0 -1
- package/dist/chunk-ELRBAHJ7.js.map +0 -1
- package/dist/chunk-JHHSNZDT.js.map +0 -1
- package/dist/doctor-live-KGKB7XIZ.js.map +0 -1
- package/dist/issue-triage-JK5VG6EE.js +0 -17
- package/dist/setup-data-dir-A7EY6JOZ.js +0 -30
- /package/dist/{ast-rule-runner-OMARWHWE.js.map → ast-rule-runner-PELERN3O.js.map} +0 -0
- /package/dist/{child-mcp-config-TTPPGI47.js.map → child-mcp-config-RYQSABJT.js.map} +0 -0
- /package/dist/{chunk-DEVIH4AT.js.map → chunk-2WCWSJES.js.map} +0 -0
- /package/dist/{chunk-XC6CDASQ.js.map → chunk-33RHZITC.js.map} +0 -0
- /package/dist/{chunk-PT36V4VS.js.map → chunk-3JFRPAYE.js.map} +0 -0
- /package/dist/{chunk-MGQROE5U.js.map → chunk-3PLSFD3D.js.map} +0 -0
- /package/dist/{chunk-ZXRSBMNL.js.map → chunk-54YTICHC.js.map} +0 -0
- /package/dist/{chunk-F5JVNA4I.js.map → chunk-5EEP73OA.js.map} +0 -0
- /package/dist/{chunk-FTDEM664.js.map → chunk-6WLN4WLY.js.map} +0 -0
- /package/dist/{chunk-RVWAMRVN.js.map → chunk-CTLBZ33K.js.map} +0 -0
- /package/dist/{chunk-36CV7CCD.js.map → chunk-ECVWK52H.js.map} +0 -0
- /package/dist/{chunk-5DYRHSCE.js.map → chunk-ELBJDCC7.js.map} +0 -0
- /package/dist/{chunk-DSAY7HRZ.js.map → chunk-GE4KNPPO.js.map} +0 -0
- /package/dist/{chunk-36MBJVGG.js.map → chunk-J45ABSJ6.js.map} +0 -0
- /package/dist/{chunk-ITF2RPEP.js.map → chunk-JIUX35FD.js.map} +0 -0
- /package/dist/{chunk-M2327EET.js.map → chunk-LJMPYBT5.js.map} +0 -0
- /package/dist/{chunk-HJQSY4XL.js.map → chunk-N6NHQWQR.js.map} +0 -0
- /package/dist/{chunk-QD3T5DUB.js.map → chunk-NBQ457TC.js.map} +0 -0
- /package/dist/{chunk-DR2ZJHCO.js.map → chunk-NFKNTZYT.js.map} +0 -0
- /package/dist/{chunk-Q35UI2VQ.js.map → chunk-R4ITN2N2.js.map} +0 -0
- /package/dist/{chunk-SA7P7PYY.js.map → chunk-RWK5XSUL.js.map} +0 -0
- /package/dist/{chunk-R2Z4HK4B.js.map → chunk-SKUIP3ER.js.map} +0 -0
- /package/dist/{chunk-6IBZN5NI.js.map → chunk-THEK5N2A.js.map} +0 -0
- /package/dist/{chunk-BZUFLIVF.js.map → chunk-THPZO2XW.js.map} +0 -0
- /package/dist/{chunk-4PWPBNDP.js.map → chunk-TS4GGKYN.js.map} +0 -0
- /package/dist/{chunk-Q64M3PDU.js.map → chunk-WAVAOSH5.js.map} +0 -0
- /package/dist/{chunk-E4VUJZGC.js.map → chunk-WWZKWC2Z.js.map} +0 -0
- /package/dist/{chunk-PVGI2ZFN.js.map → chunk-X5IOLM33.js.map} +0 -0
- /package/dist/{chunk-D3YWV3NR.js.map → chunk-X5R6QOF2.js.map} +0 -0
- /package/dist/{chunk-YEM7GMVB.js.map → chunk-XM5MYAMC.js.map} +0 -0
- /package/dist/{chunk-D7CLVTZM.js.map → chunk-XMMRINZK.js.map} +0 -0
- /package/dist/{chunk-SNQF2GZA.js.map → chunk-XYK2GPUF.js.map} +0 -0
- /package/dist/{chunk-VCSFP3ZN.js.map → chunk-YKCVPCLR.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-54PR2WI3.js.map → cli-circuit-breaker-D7NZ7YF3.js.map} +0 -0
- /package/dist/{composite-router-UOSLHVQC.js.map → composite-router-JRFBB5YP.js.map} +0 -0
- /package/dist/{consensus-vote-NBU47KVJ.js.map → consensus-vote-G2EQDVSI.js.map} +0 -0
- /package/dist/{context-retriever-XOEH7NZY.js.map → context-retriever-BIAAVT6X.js.map} +0 -0
- /package/dist/{doctor-deep-XXYYPYEJ.js.map → doctor-deep-PLJHEYWB.js.map} +0 -0
- /package/dist/{expert-bridge-NWVCSOA5.js.map → expert-bridge-VLEDZGPA.js.map} +0 -0
- /package/dist/{factory-3FLN5V36.js.map → factory-EUZWJNFU.js.map} +0 -0
- /package/dist/{factory-QZJFG56H.js.map → factory-KBUTXBHE.js.map} +0 -0
- /package/dist/{improvement-review-HAK57UYN.js.map → improvement-review-JXP4EZ5W.js.map} +0 -0
- /package/dist/{init-opencode-3MF5EUFL.js.map → init-opencode-WMDH2ZUK.js.map} +0 -0
- /package/dist/{issue-triage-JK5VG6EE.js.map → issue-triage-UNLRUO2O.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-KKLUERS5.js.map → pr-reviewer-helpers-JWJ4HVPW.js.map} +0 -0
- /package/dist/{registry-command-4AYYYOFG.js.map → registry-command-IFZYXY5Y.js.map} +0 -0
- /package/dist/{repo-security-plan-QO42XEJO.js.map → repo-security-plan-JKXJSVP2.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-CMFUU7VH.js.map → research-helpers-synthesize-QI2V4GS6.js.map} +0 -0
- /package/dist/{routing-memory-D5ZSNOED.js.map → routing-memory-EFMYS572.js.map} +0 -0
- /package/dist/{session-memory-2YVYSK2C.js.map → session-memory-XO5T3PJD.js.map} +0 -0
- /package/dist/{setup-config-EKZMJ4WQ.js.map → setup-config-JRFZ5LM3.js.map} +0 -0
- /package/dist/{setup-custom-api-626A7IJN.js.map → setup-custom-api-FH2EM46D.js.map} +0 -0
- /package/dist/{setup-data-dir-A7EY6JOZ.js.map → setup-data-dir-4APUYXVF.js.map} +0 -0
- /package/dist/{tool-memory-DVKDX4VO.js.map → tool-memory-JHJKFFIX.js.map} +0 -0
- /package/dist/{unified-registry-FGBELPLI.js.map → unified-registry-DPL6V77X.js.map} +0 -0
- /package/dist/{weather-report-D7QCLP6S.js.map → weather-report-CAHU2PCR.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CompositeRoutingError,
|
|
5
5
|
DEFAULT_COMPOSITE_CONFIG,
|
|
6
6
|
createCompositeRouter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NGXHFMA6.js";
|
|
8
8
|
import "./chunk-MTYJPPIG.js";
|
|
9
9
|
import "./chunk-BTYRPZON.js";
|
|
10
10
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
DEFAULT_COMPOSITE_CONFIG,
|
|
16
16
|
createCompositeRouter
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=composite-router-
|
|
18
|
+
//# sourceMappingURL=composite-router-JRFBB5YP.js.map
|
|
@@ -11,28 +11,28 @@ import {
|
|
|
11
11
|
resetCorrelationTracker,
|
|
12
12
|
runConsensusForGoal,
|
|
13
13
|
unwrapVoteOrThrow
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-LJMPYBT5.js";
|
|
15
|
+
import "./chunk-ELBJDCC7.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-NFKNTZYT.js";
|
|
18
|
+
import "./chunk-THEK5N2A.js";
|
|
19
|
+
import "./chunk-SKUIP3ER.js";
|
|
20
|
+
import "./chunk-3JFRPAYE.js";
|
|
21
|
+
import "./chunk-THPZO2XW.js";
|
|
22
22
|
import "./chunk-7LP6VJRP.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-N6NHQWQR.js";
|
|
24
24
|
import "./chunk-M26JTGBL.js";
|
|
25
25
|
import "./chunk-MUJCGBZW.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-USHZGWDJ.js";
|
|
27
|
+
import "./chunk-X5R6QOF2.js";
|
|
28
|
+
import "./chunk-X5IOLM33.js";
|
|
29
|
+
import "./chunk-XMMRINZK.js";
|
|
30
30
|
import "./chunk-T46RV7Y7.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-TS4GGKYN.js";
|
|
32
32
|
import "./chunk-QZUG667L.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-YKCVPCLR.js";
|
|
34
|
+
import "./chunk-5EEP73OA.js";
|
|
35
|
+
import "./chunk-NGXHFMA6.js";
|
|
36
36
|
import "./chunk-MTYJPPIG.js";
|
|
37
37
|
import "./chunk-BTYRPZON.js";
|
|
38
38
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
runConsensusForGoal,
|
|
51
51
|
unwrapVoteOrThrow
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=consensus-vote-
|
|
53
|
+
//# sourceMappingURL=consensus-vote-G2EQDVSI.js.map
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
inferTaskCategory,
|
|
7
7
|
selectRelevantResearch,
|
|
8
8
|
summarizeContextForPrompt
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-CTLBZ33K.js";
|
|
10
|
+
import "./chunk-GE4KNPPO.js";
|
|
11
|
+
import "./chunk-3PLSFD3D.js";
|
|
12
|
+
import "./chunk-THPZO2XW.js";
|
|
13
13
|
import "./chunk-7LP6VJRP.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-N6NHQWQR.js";
|
|
15
15
|
import "./chunk-M26JTGBL.js";
|
|
16
16
|
import "./chunk-MUJCGBZW.js";
|
|
17
17
|
import "./chunk-QZUG667L.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-YKCVPCLR.js";
|
|
19
|
+
import "./chunk-NGXHFMA6.js";
|
|
20
20
|
import "./chunk-MTYJPPIG.js";
|
|
21
21
|
import "./chunk-BTYRPZON.js";
|
|
22
22
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
selectRelevantResearch,
|
|
30
30
|
summarizeContextForPrompt
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=context-retriever-
|
|
32
|
+
//# sourceMappingURL=context-retriever-BIAAVT6X.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDeepDiagnostics,
|
|
3
3
|
runDeepDiagnostics
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-J45ABSJ6.js";
|
|
5
|
+
import "./chunk-NGXHFMA6.js";
|
|
6
6
|
import "./chunk-MTYJPPIG.js";
|
|
7
7
|
import "./chunk-BTYRPZON.js";
|
|
8
8
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -10,4 +10,4 @@ export {
|
|
|
10
10
|
formatDeepDiagnostics,
|
|
11
11
|
runDeepDiagnostics
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=doctor-deep-
|
|
13
|
+
//# sourceMappingURL=doctor-deep-PLJHEYWB.js.map
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import {
|
|
2
|
+
detectCliBinary
|
|
3
|
+
} from "./chunk-4QHAMZLU.js";
|
|
4
|
+
import {
|
|
5
|
+
buildReadiness,
|
|
6
|
+
formatReadiness,
|
|
7
|
+
probeServes
|
|
8
|
+
} from "./chunk-XBSPEJ23.js";
|
|
9
|
+
import {
|
|
10
|
+
createAllAdapters,
|
|
11
|
+
probeAllClis
|
|
12
|
+
} from "./chunk-USHZGWDJ.js";
|
|
13
|
+
import "./chunk-X5R6QOF2.js";
|
|
14
|
+
import "./chunk-X5IOLM33.js";
|
|
15
|
+
import "./chunk-XMMRINZK.js";
|
|
16
|
+
import "./chunk-T46RV7Y7.js";
|
|
17
|
+
import "./chunk-TS4GGKYN.js";
|
|
18
|
+
import "./chunk-QZUG667L.js";
|
|
19
|
+
import "./chunk-YKCVPCLR.js";
|
|
20
|
+
import "./chunk-5EEP73OA.js";
|
|
21
|
+
import "./chunk-NGXHFMA6.js";
|
|
22
|
+
import "./chunk-MTYJPPIG.js";
|
|
23
|
+
import "./chunk-BTYRPZON.js";
|
|
24
|
+
import "./chunk-ZPWHCABL.js";
|
|
25
|
+
|
|
26
|
+
// src/cli/doctor-live.ts
|
|
27
|
+
var NOT_REACHED = "earlier level did not pass, so this was not attempted";
|
|
28
|
+
async function runLiveReadiness(deps = {}) {
|
|
29
|
+
const adapters = deps.adapters ?? createAllAdapters();
|
|
30
|
+
const authStates = deps.authStates ?? await readAuthStates();
|
|
31
|
+
const isInstalled = deps.isInstalled ?? ((cli) => detectCliBinary(cli).installed);
|
|
32
|
+
const results = [];
|
|
33
|
+
for (const [cli, adapter] of adapters) {
|
|
34
|
+
results.push(await ladderFor(cli, adapter, authStates.get(cli), isInstalled(cli)));
|
|
35
|
+
}
|
|
36
|
+
return results;
|
|
37
|
+
}
|
|
38
|
+
async function ladderFor(cli, adapter, auth, binaryPresent) {
|
|
39
|
+
if (!binaryPresent) {
|
|
40
|
+
return buildReadiness(cli, {
|
|
41
|
+
installed: { status: "failed", reason: "binary not found on PATH" },
|
|
42
|
+
authenticated: { status: "not-attempted", reason: NOT_REACHED },
|
|
43
|
+
serves: { status: "not-attempted", reason: NOT_REACHED }
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
const installed = { status: "verified" };
|
|
47
|
+
const authenticated = auth === "not-ok" ? { status: "failed", reason: "no usable credentials found" } : { status: "verified" };
|
|
48
|
+
if (authenticated.status !== "verified") {
|
|
49
|
+
return buildReadiness(cli, {
|
|
50
|
+
installed,
|
|
51
|
+
authenticated,
|
|
52
|
+
serves: { status: "not-attempted", reason: NOT_REACHED }
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
return buildReadiness(cli, { installed, authenticated, serves: await probeServes(adapter) });
|
|
56
|
+
}
|
|
57
|
+
async function readAuthStates() {
|
|
58
|
+
const probes = await probeAllClis();
|
|
59
|
+
const states = /* @__PURE__ */ new Map();
|
|
60
|
+
for (const probe of probes) {
|
|
61
|
+
if (probe.state === "authenticated") states.set(probe.cli, "authenticated");
|
|
62
|
+
else if (probe.state === "unknown") states.set(probe.cli, "unknown");
|
|
63
|
+
else states.set(probe.cli, "not-ok");
|
|
64
|
+
}
|
|
65
|
+
return states;
|
|
66
|
+
}
|
|
67
|
+
function formatLiveReadiness(report) {
|
|
68
|
+
if (report.length === 0) {
|
|
69
|
+
return "\nLive readiness: no adapters configured \u2014 nothing was probed.";
|
|
70
|
+
}
|
|
71
|
+
return [
|
|
72
|
+
"",
|
|
73
|
+
"Live readiness (--live: a real completion per adapter)",
|
|
74
|
+
...report.map(formatReadiness)
|
|
75
|
+
].join("\n");
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
formatLiveReadiness,
|
|
79
|
+
runLiveReadiness
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=doctor-live-JTSQWZ2L.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli/doctor-live.ts"],"sourcesContent":["/**\n * The `serves` readiness level for `nexus-agents doctor --live` (#4376).\n *\n * Runs a real completion against every configured adapter and reports whether\n * content actually came back. This is the only level that can catch #4351 —\n * every voter returning `stop_sequence` with zero tokens while `healthCheck()`\n * and the auth probe both reported healthy — and the only one that spends the\n * resource it measures, which is why it is opt-in.\n *\n * @module cli/doctor-live\n * (Source: Issue #4376)\n */\n\nimport { createAllAdapters } from '../cli-adapters/factory.js';\nimport type { CliName } from '../cli-adapters/types.js';\nimport { probeAllClis } from './cli-auth-probe.js';\nimport { detectCliBinary } from './setup-cli-detection.js';\nimport {\n buildReadiness,\n formatReadiness,\n probeServes,\n type CliReadiness,\n type LevelOutcome,\n type ServesProbeTarget,\n} from './cli-readiness.js';\n\n/** Reason recorded when a level is skipped because an earlier one failed. */\nconst NOT_REACHED = 'earlier level did not pass, so this was not attempted';\n\n/**\n * Run the full ladder for every adapter.\n *\n * The ladder short-circuits: a CLI that is not installed is not probed for\n * auth, and one that is not authenticated is not billed for a completion. The\n * skipped levels report `not-attempted`, never `failed` — nothing was learned\n * about them, and saying otherwise would invent a measurement.\n */\nexport async function runLiveReadiness(\n deps: {\n readonly adapters?: Map<CliName, ServesProbeTarget>;\n readonly authStates?: ReadonlyMap<CliName, 'authenticated' | 'unknown' | 'not-ok'>;\n /**\n * Whether a CLI's binary is on PATH. Defaults to a real `which` +\n * `--version` probe (#4840); overridable so the ladder can be exercised\n * without the host's actual toolchain.\n */\n readonly isInstalled?: (cli: CliName) => boolean;\n } = {}\n): Promise<readonly CliReadiness[]> {\n // DELIBERATE raw-adapter probe — same reasoning as `doctor.ts:checkCli`\n // (#5191). Readiness must reflect the CLI's actual state, not shared\n // circuit-breaker state another caller populated.\n const adapters =\n deps.adapters ?? (createAllAdapters() as unknown as Map<CliName, ServesProbeTarget>);\n const authStates = deps.authStates ?? (await readAuthStates());\n const isInstalled = deps.isInstalled ?? ((cli: CliName) => detectCliBinary(cli).installed);\n\n const results: CliReadiness[] = [];\n for (const [cli, adapter] of adapters) {\n results.push(await ladderFor(cli, adapter, authStates.get(cli), isInstalled(cli)));\n }\n return results;\n}\n\nasync function ladderFor(\n cli: CliName,\n adapter: ServesProbeTarget,\n auth: 'authenticated' | 'unknown' | 'not-ok' | undefined,\n binaryPresent: boolean\n): Promise<CliReadiness> {\n // Was the literal `{ status: 'verified' }` — the first rung of a readiness\n // ladder asserting itself (#4840). It also made the auth rung report \"no\n // usable credentials found\" for a CLI that simply is not installed.\n if (!binaryPresent) {\n return buildReadiness(cli, {\n installed: { status: 'failed', reason: 'binary not found on PATH' },\n authenticated: { status: 'not-attempted', reason: NOT_REACHED },\n serves: { status: 'not-attempted', reason: NOT_REACHED },\n });\n }\n const installed: LevelOutcome = { status: 'verified' };\n\n // `unknown` (#4391: a CLI exposing no readable auth signal) is admitted\n // optimistically at this level, exactly as the auth probe requires — but it\n // is the live probe below that then actually settles the question.\n const authenticated: LevelOutcome =\n auth === 'not-ok'\n ? { status: 'failed', reason: 'no usable credentials found' }\n : { status: 'verified' };\n\n if (authenticated.status !== 'verified') {\n return buildReadiness(cli, {\n installed,\n authenticated,\n serves: { status: 'not-attempted', reason: NOT_REACHED },\n });\n }\n\n return buildReadiness(cli, { installed, authenticated, serves: await probeServes(adapter) });\n}\n\n/** Collapse the auth probe's states into what the ladder needs. */\nasync function readAuthStates(): Promise<\n ReadonlyMap<CliName, 'authenticated' | 'unknown' | 'not-ok'>\n> {\n const probes = await probeAllClis();\n const states = new Map<CliName, 'authenticated' | 'unknown' | 'not-ok'>();\n for (const probe of probes) {\n if (probe.state === 'authenticated') states.set(probe.cli, 'authenticated');\n else if (probe.state === 'unknown') states.set(probe.cli, 'unknown');\n else states.set(probe.cli, 'not-ok');\n }\n return states;\n}\n\n/** Render the live report, with a heading that says what was and was not proven. */\nexport function formatLiveReadiness(report: readonly CliReadiness[]): string {\n if (report.length === 0) {\n return '\\nLive readiness: no adapters configured — nothing was probed.';\n }\n return [\n '',\n 'Live readiness (--live: a real completion per adapter)',\n ...report.map(formatReadiness),\n ].join('\\n');\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,IAAM,cAAc;AAUpB,eAAsB,iBACpB,OASI,CAAC,GAC6B;AAIlC,QAAM,WACJ,KAAK,YAAa,kBAAkB;AACtC,QAAM,aAAa,KAAK,cAAe,MAAM,eAAe;AAC5D,QAAM,cAAc,KAAK,gBAAgB,CAAC,QAAiB,gBAAgB,GAAG,EAAE;AAEhF,QAAM,UAA0B,CAAC;AACjC,aAAW,CAAC,KAAK,OAAO,KAAK,UAAU;AACrC,YAAQ,KAAK,MAAM,UAAU,KAAK,SAAS,WAAW,IAAI,GAAG,GAAG,YAAY,GAAG,CAAC,CAAC;AAAA,EACnF;AACA,SAAO;AACT;AAEA,eAAe,UACb,KACA,SACA,MACA,eACuB;AAIvB,MAAI,CAAC,eAAe;AAClB,WAAO,eAAe,KAAK;AAAA,MACzB,WAAW,EAAE,QAAQ,UAAU,QAAQ,2BAA2B;AAAA,MAClE,eAAe,EAAE,QAAQ,iBAAiB,QAAQ,YAAY;AAAA,MAC9D,QAAQ,EAAE,QAAQ,iBAAiB,QAAQ,YAAY;AAAA,IACzD,CAAC;AAAA,EACH;AACA,QAAM,YAA0B,EAAE,QAAQ,WAAW;AAKrD,QAAM,gBACJ,SAAS,WACL,EAAE,QAAQ,UAAU,QAAQ,8BAA8B,IAC1D,EAAE,QAAQ,WAAW;AAE3B,MAAI,cAAc,WAAW,YAAY;AACvC,WAAO,eAAe,KAAK;AAAA,MACzB;AAAA,MACA;AAAA,MACA,QAAQ,EAAE,QAAQ,iBAAiB,QAAQ,YAAY;AAAA,IACzD,CAAC;AAAA,EACH;AAEA,SAAO,eAAe,KAAK,EAAE,WAAW,eAAe,QAAQ,MAAM,YAAY,OAAO,EAAE,CAAC;AAC7F;AAGA,eAAe,iBAEb;AACA,QAAM,SAAS,MAAM,aAAa;AAClC,QAAM,SAAS,oBAAI,IAAqD;AACxE,aAAW,SAAS,QAAQ;AAC1B,QAAI,MAAM,UAAU,gBAAiB,QAAO,IAAI,MAAM,KAAK,eAAe;AAAA,aACjE,MAAM,UAAU,UAAW,QAAO,IAAI,MAAM,KAAK,SAAS;AAAA,QAC9D,QAAO,IAAI,MAAM,KAAK,QAAQ;AAAA,EACrC;AACA,SAAO;AACT;AAGO,SAAS,oBAAoB,QAAyC;AAC3E,MAAI,OAAO,WAAW,GAAG;AACvB,WAAO;AAAA,EACT;AACA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,GAAG,OAAO,IAAI,eAAe;AAAA,EAC/B,EAAE,KAAK,IAAI;AACb;","names":[]}
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
shutdownExpertBridge,
|
|
4
4
|
tokenSplitFromUsage,
|
|
5
5
|
totalTokensFromUsage
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WAVAOSH5.js";
|
|
7
|
+
import "./chunk-TS4GGKYN.js";
|
|
8
|
+
import "./chunk-NGXHFMA6.js";
|
|
9
9
|
import "./chunk-MTYJPPIG.js";
|
|
10
10
|
import "./chunk-BTYRPZON.js";
|
|
11
11
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
tokenSplitFromUsage,
|
|
16
16
|
totalTokensFromUsage
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=expert-bridge-
|
|
18
|
+
//# sourceMappingURL=expert-bridge-VLEDZGPA.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
createCliAdapter,
|
|
4
4
|
getAvailableClis,
|
|
5
5
|
isCliAvailable
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-USHZGWDJ.js";
|
|
7
|
+
import "./chunk-X5R6QOF2.js";
|
|
8
|
+
import "./chunk-X5IOLM33.js";
|
|
9
|
+
import "./chunk-XMMRINZK.js";
|
|
10
10
|
import "./chunk-T46RV7Y7.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TS4GGKYN.js";
|
|
12
12
|
import "./chunk-QZUG667L.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YKCVPCLR.js";
|
|
14
|
+
import "./chunk-5EEP73OA.js";
|
|
15
|
+
import "./chunk-NGXHFMA6.js";
|
|
16
16
|
import "./chunk-MTYJPPIG.js";
|
|
17
17
|
import "./chunk-BTYRPZON.js";
|
|
18
18
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
getAvailableClis,
|
|
23
23
|
isCliAvailable
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=factory-
|
|
25
|
+
//# sourceMappingURL=factory-EUZWJNFU.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-R4ITN2N2.js";
|
|
5
|
+
import "./chunk-54YTICHC.js";
|
|
6
|
+
import "./chunk-3PLSFD3D.js";
|
|
7
|
+
import "./chunk-NGXHFMA6.js";
|
|
8
8
|
import "./chunk-MTYJPPIG.js";
|
|
9
9
|
import "./chunk-BTYRPZON.js";
|
|
10
10
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
createGitHubProvider,
|
|
13
13
|
createScmProvider
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=factory-
|
|
15
|
+
//# sourceMappingURL=factory-KBUTXBHE.js.map
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
loadSelfEvalSignals,
|
|
12
12
|
registerImprovementReviewTool,
|
|
13
13
|
runImprovementReview
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-6WLN4WLY.js";
|
|
15
|
+
import "./chunk-NFKNTZYT.js";
|
|
16
|
+
import "./chunk-THEK5N2A.js";
|
|
17
|
+
import "./chunk-SKUIP3ER.js";
|
|
18
|
+
import "./chunk-NGXHFMA6.js";
|
|
19
19
|
import "./chunk-MTYJPPIG.js";
|
|
20
20
|
import "./chunk-BTYRPZON.js";
|
|
21
21
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
registerImprovementReviewTool,
|
|
34
34
|
runImprovementReview
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=improvement-review-
|
|
36
|
+
//# sourceMappingURL=improvement-review-JXP4EZ5W.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1044,6 +1044,15 @@ interface CliResponse {
|
|
|
1044
1044
|
readonly costUsd?: number;
|
|
1045
1045
|
/** Model used for generation */
|
|
1046
1046
|
readonly model?: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* The model the caller asked for, when the adapter answered with a
|
|
1049
|
+
* different one from the same CLI family (#6120). Present only on a
|
|
1050
|
+
* substituted response — the claude adapter sets it after an
|
|
1051
|
+
* out-of-credits envelope for the requested model made it retry the next
|
|
1052
|
+
* registry alias — so a record consumer (#6115) can say which model
|
|
1053
|
+
* actually voted. Absent means the requested model answered.
|
|
1054
|
+
*/
|
|
1055
|
+
readonly fallbackFrom?: string;
|
|
1047
1056
|
/** Duration in milliseconds */
|
|
1048
1057
|
readonly durationMs?: number;
|
|
1049
1058
|
/** Raw response (for debugging) */
|
|
@@ -29039,6 +29048,23 @@ declare class ClaudeCliAdapter extends SubprocessCliAdapter {
|
|
|
29039
29048
|
* (current Opus pricing).
|
|
29040
29049
|
*/
|
|
29041
29050
|
getModelInfo(): ModelInfo;
|
|
29051
|
+
/**
|
|
29052
|
+
* Run the task, and on an out-of-credits envelope for the requested model
|
|
29053
|
+
* retry ONCE with the next claude alias the registry lists (#6120).
|
|
29054
|
+
*
|
|
29055
|
+
* The credit exhaustion the claude CLI reports is per MODEL — `fable`
|
|
29056
|
+
* answered "You're out of usage credits" while `sonnet` answered the same
|
|
29057
|
+
* prompt — so it is not evidence against the CLI, and it must not reach the
|
|
29058
|
+
* per-CLI circuit breaker as one. The breaker records what leaves this
|
|
29059
|
+
* method: a substituted success records nothing, and a second capacity
|
|
29060
|
+
* error propagates as the typed error and counts once, because by then the
|
|
29061
|
+
* family, not one model, has failed. A non-capacity `is_error` (auth, a
|
|
29062
|
+
* server error) is returned as-is; another model would not fix it.
|
|
29063
|
+
*
|
|
29064
|
+
* The substitution is stamped on the response as `fallbackFrom` so a vote
|
|
29065
|
+
* record can say which model actually answered (#6115).
|
|
29066
|
+
*/
|
|
29067
|
+
executeTask(task: CliTask, options: ResolvedExecutionOptions): Promise<Result<CliResponse, CliError>>;
|
|
29042
29068
|
/** Appends optional string-type task options to CLI args. */
|
|
29043
29069
|
private appendTaskOptions;
|
|
29044
29070
|
/**
|
|
@@ -29416,6 +29442,8 @@ interface ClaudeCliResponse {
|
|
|
29416
29442
|
readonly type: 'result';
|
|
29417
29443
|
readonly subtype?: 'success' | 'error';
|
|
29418
29444
|
readonly is_error: boolean;
|
|
29445
|
+
/** Why generation stopped — `end_turn` on an answer, `stop_sequence` on the measured error envelope (#6120). */
|
|
29446
|
+
readonly stop_reason?: string;
|
|
29419
29447
|
readonly duration_ms?: number;
|
|
29420
29448
|
readonly result: string;
|
|
29421
29449
|
readonly session_id?: string;
|
|
@@ -29451,6 +29479,24 @@ declare class ClaudeResponseParser implements ICliResponseParser<ClaudeCliRespon
|
|
|
29451
29479
|
* Returns null if the response contains an error.
|
|
29452
29480
|
*/
|
|
29453
29481
|
extractResponse(raw: string): string | null;
|
|
29482
|
+
/**
|
|
29483
|
+
* The error text of an `is_error: true` envelope, with its `stop_reason`
|
|
29484
|
+
* (#6120).
|
|
29485
|
+
*
|
|
29486
|
+
* Before this the envelope reached the adapter only through the generic
|
|
29487
|
+
* unparseable-output path, whose first step scans the WHOLE stdout for
|
|
29488
|
+
* rate-limit text. The out-of-credits envelope carries `api_error_status:
|
|
29489
|
+
* 429`, so that scan matched and the error message became the first 500
|
|
29490
|
+
* characters of the envelope — `{"duration_api_ms":0,…` — while the one
|
|
29491
|
+
* field that names the cause, `result`, never reached anyone. Surfacing it
|
|
29492
|
+
* here routes the envelope through `classifyErrorOnlyStream`, which
|
|
29493
|
+
* classifies the message text rather than the envelope bytes.
|
|
29494
|
+
*
|
|
29495
|
+
* `null` when the envelope is not an error, or when `result` is empty: an
|
|
29496
|
+
* empty error text is not a message, and the caller's recovery order handles
|
|
29497
|
+
* it as before.
|
|
29498
|
+
*/
|
|
29499
|
+
extractErrorMessage(raw: string): string | null;
|
|
29454
29500
|
/**
|
|
29455
29501
|
* Extracts token usage from response.
|
|
29456
29502
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R4ITN2N2.js";
|
|
5
5
|
import {
|
|
6
6
|
ALLOWED_COMMANDS,
|
|
7
7
|
ARTIFACT_TYPES,
|
|
@@ -552,7 +552,7 @@ import {
|
|
|
552
552
|
withLogging,
|
|
553
553
|
withRetry,
|
|
554
554
|
withRetryWrapper
|
|
555
|
-
} from "./chunk-
|
|
555
|
+
} from "./chunk-RWK5XSUL.js";
|
|
556
556
|
import {
|
|
557
557
|
FALLBACK_SCANNER_DATA,
|
|
558
558
|
buildPlanFromAnalysis,
|
|
@@ -560,7 +560,7 @@ import {
|
|
|
560
560
|
generateSecurityPlan,
|
|
561
561
|
getRegistryManifest,
|
|
562
562
|
resolveScannerData
|
|
563
|
-
} from "./chunk-
|
|
563
|
+
} from "./chunk-XM5MYAMC.js";
|
|
564
564
|
import {
|
|
565
565
|
analyzeGitHubRepo,
|
|
566
566
|
analyzeRepo,
|
|
@@ -578,23 +578,24 @@ import {
|
|
|
578
578
|
getBuiltInAstRulesPath,
|
|
579
579
|
loadRules,
|
|
580
580
|
runAstQaRules
|
|
581
|
-
} from "./chunk-
|
|
581
|
+
} from "./chunk-33RHZITC.js";
|
|
582
582
|
import "./chunk-3KDQKVCJ.js";
|
|
583
583
|
import {
|
|
584
584
|
closeServer,
|
|
585
585
|
connectTransport,
|
|
586
586
|
createServer,
|
|
587
587
|
startStdioServer
|
|
588
|
-
} from "./chunk-
|
|
588
|
+
} from "./chunk-QU37LE3Y.js";
|
|
589
|
+
import "./chunk-XBSPEJ23.js";
|
|
589
590
|
import {
|
|
590
591
|
OPENAI_MODELS,
|
|
591
592
|
OPENAI_MODEL_ALIASES,
|
|
592
593
|
OpenAIAdapter,
|
|
593
594
|
createOpenAIAdapter
|
|
594
|
-
} from "./chunk-
|
|
595
|
+
} from "./chunk-2WCWSJES.js";
|
|
595
596
|
import {
|
|
596
597
|
executeExpert
|
|
597
|
-
} from "./chunk-
|
|
598
|
+
} from "./chunk-WAVAOSH5.js";
|
|
598
599
|
import {
|
|
599
600
|
AgentFindingSchema,
|
|
600
601
|
ConsensusEngine,
|
|
@@ -643,12 +644,12 @@ import {
|
|
|
643
644
|
generateProposalId,
|
|
644
645
|
parseAgentPairKey,
|
|
645
646
|
registerConsensusVoteTool
|
|
646
|
-
} from "./chunk-
|
|
647
|
-
import "./chunk-
|
|
647
|
+
} from "./chunk-LJMPYBT5.js";
|
|
648
|
+
import "./chunk-ELBJDCC7.js";
|
|
648
649
|
import {
|
|
649
650
|
allOf
|
|
650
651
|
} from "./chunk-OQB3XC5O.js";
|
|
651
|
-
import "./chunk-
|
|
652
|
+
import "./chunk-WWZKWC2Z.js";
|
|
652
653
|
import {
|
|
653
654
|
AgentActionSchema,
|
|
654
655
|
DEFAULT_FIREWALL_POLICY_MODE,
|
|
@@ -678,11 +679,11 @@ import {
|
|
|
678
679
|
resolveFirewallPolicyMode,
|
|
679
680
|
validateAgentAction,
|
|
680
681
|
validateCorroboration
|
|
681
|
-
} from "./chunk-
|
|
682
|
+
} from "./chunk-NBQ457TC.js";
|
|
682
683
|
import {
|
|
683
684
|
GitHubProvider,
|
|
684
685
|
ScmError
|
|
685
|
-
} from "./chunk-
|
|
686
|
+
} from "./chunk-54YTICHC.js";
|
|
686
687
|
import {
|
|
687
688
|
GitHubUserRoleSchema,
|
|
688
689
|
InjectionFlagSchema,
|
|
@@ -697,11 +698,11 @@ import {
|
|
|
697
698
|
assessReputation,
|
|
698
699
|
resolveReputationGatingMode,
|
|
699
700
|
sanitizeInput
|
|
700
|
-
} from "./chunk-
|
|
701
|
+
} from "./chunk-XYK2GPUF.js";
|
|
701
702
|
import {
|
|
702
703
|
ImprovementReviewInputSchema,
|
|
703
704
|
registerImprovementReviewTool
|
|
704
|
-
} from "./chunk-
|
|
705
|
+
} from "./chunk-6WLN4WLY.js";
|
|
705
706
|
import {
|
|
706
707
|
AgentPerformanceSchema,
|
|
707
708
|
ConsensusAlgorithmSchema,
|
|
@@ -737,10 +738,10 @@ import {
|
|
|
737
738
|
toolSuccess,
|
|
738
739
|
toolSuccessStructured,
|
|
739
740
|
validateToolInput
|
|
740
|
-
} from "./chunk-
|
|
741
|
+
} from "./chunk-NFKNTZYT.js";
|
|
741
742
|
import {
|
|
742
743
|
VERSION
|
|
743
|
-
} from "./chunk-
|
|
744
|
+
} from "./chunk-THEK5N2A.js";
|
|
744
745
|
import {
|
|
745
746
|
AuditTrail,
|
|
746
747
|
createAuditTrail,
|
|
@@ -751,13 +752,13 @@ import {
|
|
|
751
752
|
emitReputationEvent,
|
|
752
753
|
emitSanitizationEvent,
|
|
753
754
|
emitTrustEvent
|
|
754
|
-
} from "./chunk-
|
|
755
|
+
} from "./chunk-SKUIP3ER.js";
|
|
755
756
|
import {
|
|
756
757
|
UnifiedAdapterRegistry,
|
|
757
758
|
createUnifiedRegistry,
|
|
758
759
|
getGlobalRegistry,
|
|
759
760
|
resetGlobalRegistry
|
|
760
|
-
} from "./chunk-
|
|
761
|
+
} from "./chunk-3JFRPAYE.js";
|
|
761
762
|
import {
|
|
762
763
|
PersistentStrategyDistiller,
|
|
763
764
|
RulesSnapshotSchema,
|
|
@@ -765,18 +766,18 @@ import {
|
|
|
765
766
|
TokenCounter,
|
|
766
767
|
TokenCounterProvider,
|
|
767
768
|
createTokenCounter
|
|
768
|
-
} from "./chunk-
|
|
769
|
-
import "./chunk-
|
|
769
|
+
} from "./chunk-CTLBZ33K.js";
|
|
770
|
+
import "./chunk-GE4KNPPO.js";
|
|
770
771
|
import {
|
|
771
772
|
getTokenEnvVars,
|
|
772
773
|
hasToken,
|
|
773
774
|
resolveToken
|
|
774
|
-
} from "./chunk-
|
|
775
|
+
} from "./chunk-3PLSFD3D.js";
|
|
775
776
|
import {
|
|
776
777
|
MemoryError
|
|
777
|
-
} from "./chunk-
|
|
778
|
+
} from "./chunk-THPZO2XW.js";
|
|
778
779
|
import "./chunk-7LP6VJRP.js";
|
|
779
|
-
import "./chunk-
|
|
780
|
+
import "./chunk-N6NHQWQR.js";
|
|
780
781
|
import {
|
|
781
782
|
BUILT_IN_EXPERTS,
|
|
782
783
|
BuiltInExpertTypeSchema,
|
|
@@ -821,7 +822,7 @@ import {
|
|
|
821
822
|
isCliAvailable,
|
|
822
823
|
isRetryableError,
|
|
823
824
|
sleep
|
|
824
|
-
} from "./chunk-
|
|
825
|
+
} from "./chunk-USHZGWDJ.js";
|
|
825
826
|
import {
|
|
826
827
|
AdapterModelError,
|
|
827
828
|
BaseAdapter,
|
|
@@ -843,11 +844,11 @@ import {
|
|
|
843
844
|
tapStream,
|
|
844
845
|
transformStream,
|
|
845
846
|
withTimeout
|
|
846
|
-
} from "./chunk-
|
|
847
|
-
import "./chunk-
|
|
847
|
+
} from "./chunk-X5R6QOF2.js";
|
|
848
|
+
import "./chunk-X5IOLM33.js";
|
|
848
849
|
import {
|
|
849
850
|
PROVIDER_ENV_KEYS
|
|
850
|
-
} from "./chunk-
|
|
851
|
+
} from "./chunk-XMMRINZK.js";
|
|
851
852
|
import "./chunk-T46RV7Y7.js";
|
|
852
853
|
import {
|
|
853
854
|
AvailabilityCache,
|
|
@@ -857,13 +858,13 @@ import {
|
|
|
857
858
|
getFallbackChain,
|
|
858
859
|
resetAvailabilityCache,
|
|
859
860
|
resolveFallback
|
|
860
|
-
} from "./chunk-
|
|
861
|
+
} from "./chunk-TS4GGKYN.js";
|
|
861
862
|
import "./chunk-QZUG667L.js";
|
|
862
|
-
import "./chunk-
|
|
863
|
+
import "./chunk-YKCVPCLR.js";
|
|
863
864
|
import {
|
|
864
865
|
CliCircuitBreakerIntegration,
|
|
865
866
|
createCliCircuitBreakerIntegration
|
|
866
|
-
} from "./chunk-
|
|
867
|
+
} from "./chunk-5EEP73OA.js";
|
|
867
868
|
import {
|
|
868
869
|
AgentCapability,
|
|
869
870
|
AgentError,
|
|
@@ -942,7 +943,7 @@ import {
|
|
|
942
943
|
toError,
|
|
943
944
|
unwrap,
|
|
944
945
|
unwrapOr
|
|
945
|
-
} from "./chunk-
|
|
946
|
+
} from "./chunk-NGXHFMA6.js";
|
|
946
947
|
import "./chunk-MTYJPPIG.js";
|
|
947
948
|
import "./chunk-BTYRPZON.js";
|
|
948
949
|
import "./chunk-ZPWHCABL.js";
|