nexus-agents 10.2.0 → 11.0.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/README.md +4 -1
- package/dist/{ast-rule-runner-RI7ZJ4ZI.js → ast-rule-runner-3QRCP53C.js} +5 -5
- package/dist/{child-mcp-config-73BX4OTR.js → child-mcp-config-NWPUDUVE.js} +5 -5
- package/dist/{chunk-GAX75XCV.js → chunk-2BZXKNLN.js} +2 -2
- package/dist/{chunk-QG3VDSWD.js → chunk-2HYJTIDY.js} +3 -3
- package/dist/{chunk-OMSKBBL7.js → chunk-377L2ZEK.js} +18 -19
- package/dist/chunk-377L2ZEK.js.map +1 -0
- package/dist/{chunk-VLOPXV47.js → chunk-53XY7YJD.js} +7 -7
- package/dist/chunk-5CUI42NO.js +1046 -0
- package/dist/chunk-5CUI42NO.js.map +1 -0
- package/dist/{chunk-23QA6GQD.js → chunk-66BE4KF4.js} +7 -7
- package/dist/{chunk-TDUXUVUU.js → chunk-6LWUJOAS.js} +2 -2
- package/dist/{chunk-XDUTAUK3.js → chunk-7H3SOL4O.js} +65 -57
- package/dist/chunk-7H3SOL4O.js.map +1 -0
- package/dist/{chunk-JGY5HMWI.js → chunk-7HHXY7LM.js} +2 -2
- package/dist/{chunk-J44RKRGQ.js → chunk-AFJE7K6Q.js} +4 -4
- package/dist/{chunk-WD4DENPC.js → chunk-B3RAA47W.js} +3 -3
- package/dist/{chunk-TW6PJYTP.js → chunk-C73VZSC5.js} +1 -1
- package/dist/chunk-C73VZSC5.js.map +1 -0
- package/dist/{chunk-LWOX65CP.js → chunk-CH6IBWXH.js} +31 -31
- package/dist/chunk-CH6IBWXH.js.map +1 -0
- package/dist/{chunk-RIYFVDYN.js → chunk-CSDGNGAG.js} +2 -2
- package/dist/{chunk-KASBBKAQ.js → chunk-D33IH5VS.js} +54 -54
- package/dist/chunk-D33IH5VS.js.map +1 -0
- package/dist/{chunk-U37AITDA.js → chunk-DCPCO2XG.js} +2 -2
- package/dist/{chunk-SS53PZO6.js → chunk-EFZRQ67X.js} +5 -5
- package/dist/{chunk-WKFPKPEM.js → chunk-GPRYEKAA.js} +434 -124
- package/dist/chunk-GPRYEKAA.js.map +1 -0
- package/dist/{chunk-7EV3QAKO.js → chunk-HUYVIUF3.js} +2 -2
- package/dist/{chunk-V26YQQK4.js → chunk-I7VX7JWV.js} +2 -2
- package/dist/{chunk-LXYT2P2Y.js → chunk-IGYZQEKM.js} +3 -3
- package/dist/{chunk-XSAUVC6D.js → chunk-NLFCAEEK.js} +2 -2
- package/dist/{chunk-2TA6KTRF.js → chunk-OJ3PXTN3.js} +16 -18
- package/dist/{chunk-2TA6KTRF.js.map → chunk-OJ3PXTN3.js.map} +1 -1
- package/dist/{chunk-QRC3QLUQ.js → chunk-PY6HJQYC.js} +1086 -14
- package/dist/chunk-PY6HJQYC.js.map +1 -0
- package/dist/{chunk-QM5W3T3O.js → chunk-PZMODRBC.js} +2 -2
- package/dist/{chunk-GX5ZHZR2.js → chunk-QARJHIQM.js} +7 -7
- package/dist/{chunk-EJ5EBTAV.js → chunk-QTRPH2ZF.js} +2 -2
- package/dist/{chunk-FNHVTDHZ.js → chunk-R75NZRON.js} +3 -3
- package/dist/{chunk-UE7A2XHM.js → chunk-RUHKJC3X.js} +2 -2
- package/dist/{chunk-4JJI34RV.js → chunk-S6XQFO4A.js} +3 -3
- package/dist/{chunk-LP5ISXKM.js → chunk-SFWQ72ZS.js} +5 -5
- package/dist/{chunk-KLSNDPU6.js → chunk-SKM75Y7E.js} +17 -32
- package/dist/chunk-SKM75Y7E.js.map +1 -0
- package/dist/{chunk-D6E3LJGP.js → chunk-T4WTZTZY.js} +4 -4
- package/dist/{chunk-JPFRRNRR.js → chunk-U7HL7FGS.js} +2 -2
- package/dist/{chunk-SX2XWCGA.js → chunk-V6AJCRAU.js} +22 -7
- package/dist/chunk-V6AJCRAU.js.map +1 -0
- package/dist/{chunk-2DYCHHWW.js → chunk-VVMSE5LF.js} +4 -4
- package/dist/{chunk-QS5HGPCN.js → chunk-VZ7YZ2EF.js} +2 -2
- package/dist/{chunk-PXYSAG5B.js → chunk-WFMMJWMO.js} +2 -2
- package/dist/{chunk-FWQSOPBA.js → chunk-YOT3XEZM.js} +6 -6
- package/dist/{chunk-JUUGLXSN.js → chunk-YRZV6KXZ.js} +5 -5
- package/dist/{cli-auth-probe-A7ANEHJ7.js → cli-auth-probe-GUK3NXW3.js} +2 -2
- package/dist/{cli-circuit-breaker-62YOQQT3.js → cli-circuit-breaker-VWARWNGU.js} +5 -5
- package/dist/{cli-readiness-O6EOQV4L.js → cli-readiness-S23DWZCS.js} +9 -9
- package/dist/cli-server-gateway-DJXSHHXA.js +34 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +80 -1215
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-YPZ3D5Y6.js → composite-router-3CBLBUGZ.js} +4 -4
- package/dist/{consensus-vote-RNQQUBXO.js → consensus-vote-JMWTJO4M.js} +21 -22
- package/dist/{consensus-vote-types-DexdhOdB.d.ts → consensus-vote-types-Ca0BY3kZ.d.ts} +5 -5
- package/dist/{context-retriever-HVPLM6DH.js → context-retriever-P6ZE6UXS.js} +11 -11
- package/dist/{doctor-deep-UZQTD65D.js → doctor-deep-HBIDPGWI.js} +5 -5
- package/dist/doctor-gateway-report-FWV7UN2Q.js +20 -0
- package/dist/{doctor-live-QFLT5SDB.js → doctor-live-676TWMP6.js} +18 -16
- package/dist/doctor-live-676TWMP6.js.map +1 -0
- package/dist/{expert-bridge-O3UZXLGB.js → expert-bridge-3VWOHLC7.js} +6 -6
- package/dist/factory-A44THDRG.js +31 -0
- package/dist/factory-YPJXDMN4.js +17 -0
- package/dist/{improvement-review-7IABFAU3.js → improvement-review-FIKPTCPE.js} +8 -8
- package/dist/index.d.ts +69 -77
- package/dist/index.js +65 -56
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-RYPBCM4P.js → init-opencode-YRHLGHIE.js} +7 -7
- package/dist/issue-triage-BLZHWC6U.js +20 -0
- package/dist/{learning-persistence-FB4U5AX2.js → learning-persistence-X24OOBYY.js} +3 -3
- package/dist/{model-config-helpers-QNV3KD2W.js → model-config-helpers-OQEZU2ZG.js} +4 -4
- package/dist/{openai-compat-adapter-GPZDIR3D.js → openai-compat-adapter-GRJA6RPZ.js} +7 -7
- package/dist/{outcome-store-adapter-WRONSTUD.js → outcome-store-adapter-7CKYWUZV.js} +4 -4
- package/dist/{pr-reviewer-helpers-7SMNNDFJ.js → pr-reviewer-helpers-LKHPRW3X.js} +6 -6
- package/dist/{registry-command-U7K6HIBK.js → registry-command-4LP4OSND.js} +4 -4
- package/dist/{repo-security-plan-LFWLVEL2.js → repo-security-plan-SOFUCHO4.js} +5 -5
- package/dist/research-helpers-synthesize-SXNAJWHX.js +16 -0
- package/dist/{routing-memory-OCIVXKOU.js → routing-memory-TWCXFPAD.js} +4 -4
- package/dist/{session-memory-4LMEWO3X.js → session-memory-YVT5M4AN.js} +5 -5
- package/dist/setup-config-JGHFR4P3.js +13 -0
- package/dist/{setup-custom-api-QEPUCHOX.js → setup-custom-api-EFAWNJ2D.js} +6 -6
- package/dist/setup-data-dir-Z4IQNMRC.js +34 -0
- package/dist/{tool-memory-EFGFXF65.js → tool-memory-5Y3HKHCB.js} +8 -8
- package/dist/{tool-memory-registry-adapters-FO6JVQSX.js → tool-memory-registry-adapters-IIORYBCC.js} +3 -3
- package/dist/unified-registry-IDUII5J7.js +35 -0
- package/dist/{weather-report-PMYQ3WBW.js → weather-report-KA5RT57Q.js} +4 -4
- package/dist/weather-report-KA5RT57Q.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-KASBBKAQ.js.map +0 -1
- package/dist/chunk-KLSNDPU6.js.map +0 -1
- package/dist/chunk-LWOX65CP.js.map +0 -1
- package/dist/chunk-OMSKBBL7.js.map +0 -1
- package/dist/chunk-QRC3QLUQ.js.map +0 -1
- package/dist/chunk-SX2XWCGA.js.map +0 -1
- package/dist/chunk-TW6PJYTP.js.map +0 -1
- package/dist/chunk-UZJ6IPJR.js +0 -1057
- package/dist/chunk-UZJ6IPJR.js.map +0 -1
- package/dist/chunk-WKFPKPEM.js.map +0 -1
- package/dist/chunk-XDUTAUK3.js.map +0 -1
- package/dist/doctor-gateway-report-LRBPPJD4.js +0 -20
- package/dist/doctor-live-QFLT5SDB.js.map +0 -1
- package/dist/factory-KCKQQAEH.js +0 -31
- package/dist/factory-LUKUIB6C.js +0 -17
- package/dist/issue-triage-YBVJVAUU.js +0 -20
- package/dist/research-helpers-synthesize-X6MVAAKT.js +0 -16
- package/dist/setup-config-YNNNR4AE.js +0 -13
- package/dist/setup-data-dir-XM5DWH7R.js +0 -35
- package/dist/unified-registry-KLNC24HA.js +0 -36
- /package/dist/{ast-rule-runner-RI7ZJ4ZI.js.map → ast-rule-runner-3QRCP53C.js.map} +0 -0
- /package/dist/{child-mcp-config-73BX4OTR.js.map → child-mcp-config-NWPUDUVE.js.map} +0 -0
- /package/dist/{chunk-GAX75XCV.js.map → chunk-2BZXKNLN.js.map} +0 -0
- /package/dist/{chunk-QG3VDSWD.js.map → chunk-2HYJTIDY.js.map} +0 -0
- /package/dist/{chunk-VLOPXV47.js.map → chunk-53XY7YJD.js.map} +0 -0
- /package/dist/{chunk-23QA6GQD.js.map → chunk-66BE4KF4.js.map} +0 -0
- /package/dist/{chunk-TDUXUVUU.js.map → chunk-6LWUJOAS.js.map} +0 -0
- /package/dist/{chunk-JGY5HMWI.js.map → chunk-7HHXY7LM.js.map} +0 -0
- /package/dist/{chunk-J44RKRGQ.js.map → chunk-AFJE7K6Q.js.map} +0 -0
- /package/dist/{chunk-WD4DENPC.js.map → chunk-B3RAA47W.js.map} +0 -0
- /package/dist/{chunk-RIYFVDYN.js.map → chunk-CSDGNGAG.js.map} +0 -0
- /package/dist/{chunk-U37AITDA.js.map → chunk-DCPCO2XG.js.map} +0 -0
- /package/dist/{chunk-SS53PZO6.js.map → chunk-EFZRQ67X.js.map} +0 -0
- /package/dist/{chunk-7EV3QAKO.js.map → chunk-HUYVIUF3.js.map} +0 -0
- /package/dist/{chunk-V26YQQK4.js.map → chunk-I7VX7JWV.js.map} +0 -0
- /package/dist/{chunk-LXYT2P2Y.js.map → chunk-IGYZQEKM.js.map} +0 -0
- /package/dist/{chunk-XSAUVC6D.js.map → chunk-NLFCAEEK.js.map} +0 -0
- /package/dist/{chunk-QM5W3T3O.js.map → chunk-PZMODRBC.js.map} +0 -0
- /package/dist/{chunk-GX5ZHZR2.js.map → chunk-QARJHIQM.js.map} +0 -0
- /package/dist/{chunk-EJ5EBTAV.js.map → chunk-QTRPH2ZF.js.map} +0 -0
- /package/dist/{chunk-FNHVTDHZ.js.map → chunk-R75NZRON.js.map} +0 -0
- /package/dist/{chunk-UE7A2XHM.js.map → chunk-RUHKJC3X.js.map} +0 -0
- /package/dist/{chunk-4JJI34RV.js.map → chunk-S6XQFO4A.js.map} +0 -0
- /package/dist/{chunk-LP5ISXKM.js.map → chunk-SFWQ72ZS.js.map} +0 -0
- /package/dist/{chunk-D6E3LJGP.js.map → chunk-T4WTZTZY.js.map} +0 -0
- /package/dist/{chunk-JPFRRNRR.js.map → chunk-U7HL7FGS.js.map} +0 -0
- /package/dist/{chunk-2DYCHHWW.js.map → chunk-VVMSE5LF.js.map} +0 -0
- /package/dist/{chunk-QS5HGPCN.js.map → chunk-VZ7YZ2EF.js.map} +0 -0
- /package/dist/{chunk-PXYSAG5B.js.map → chunk-WFMMJWMO.js.map} +0 -0
- /package/dist/{chunk-FWQSOPBA.js.map → chunk-YOT3XEZM.js.map} +0 -0
- /package/dist/{chunk-JUUGLXSN.js.map → chunk-YRZV6KXZ.js.map} +0 -0
- /package/dist/{cli-auth-probe-A7ANEHJ7.js.map → cli-auth-probe-GUK3NXW3.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-62YOQQT3.js.map → cli-circuit-breaker-VWARWNGU.js.map} +0 -0
- /package/dist/{cli-readiness-O6EOQV4L.js.map → cli-readiness-S23DWZCS.js.map} +0 -0
- /package/dist/{composite-router-YPZ3D5Y6.js.map → cli-server-gateway-DJXSHHXA.js.map} +0 -0
- /package/dist/{consensus-vote-RNQQUBXO.js.map → composite-router-3CBLBUGZ.js.map} +0 -0
- /package/dist/{context-retriever-HVPLM6DH.js.map → consensus-vote-JMWTJO4M.js.map} +0 -0
- /package/dist/{doctor-deep-UZQTD65D.js.map → context-retriever-P6ZE6UXS.js.map} +0 -0
- /package/dist/{doctor-gateway-report-LRBPPJD4.js.map → doctor-deep-HBIDPGWI.js.map} +0 -0
- /package/dist/{expert-bridge-O3UZXLGB.js.map → doctor-gateway-report-FWV7UN2Q.js.map} +0 -0
- /package/dist/{factory-KCKQQAEH.js.map → expert-bridge-3VWOHLC7.js.map} +0 -0
- /package/dist/{factory-LUKUIB6C.js.map → factory-A44THDRG.js.map} +0 -0
- /package/dist/{improvement-review-7IABFAU3.js.map → factory-YPJXDMN4.js.map} +0 -0
- /package/dist/{issue-triage-YBVJVAUU.js.map → improvement-review-FIKPTCPE.js.map} +0 -0
- /package/dist/{init-opencode-RYPBCM4P.js.map → init-opencode-YRHLGHIE.js.map} +0 -0
- /package/dist/{learning-persistence-FB4U5AX2.js.map → issue-triage-BLZHWC6U.js.map} +0 -0
- /package/dist/{model-config-helpers-QNV3KD2W.js.map → learning-persistence-X24OOBYY.js.map} +0 -0
- /package/dist/{openai-compat-adapter-GPZDIR3D.js.map → model-config-helpers-OQEZU2ZG.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-7SMNNDFJ.js.map → openai-compat-adapter-GRJA6RPZ.js.map} +0 -0
- /package/dist/{outcome-store-adapter-WRONSTUD.js.map → outcome-store-adapter-7CKYWUZV.js.map} +0 -0
- /package/dist/{repo-security-plan-LFWLVEL2.js.map → pr-reviewer-helpers-LKHPRW3X.js.map} +0 -0
- /package/dist/{registry-command-U7K6HIBK.js.map → registry-command-4LP4OSND.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-X6MVAAKT.js.map → repo-security-plan-SOFUCHO4.js.map} +0 -0
- /package/dist/{routing-memory-OCIVXKOU.js.map → research-helpers-synthesize-SXNAJWHX.js.map} +0 -0
- /package/dist/{session-memory-4LMEWO3X.js.map → routing-memory-TWCXFPAD.js.map} +0 -0
- /package/dist/{setup-config-YNNNR4AE.js.map → session-memory-YVT5M4AN.js.map} +0 -0
- /package/dist/{setup-data-dir-XM5DWH7R.js.map → setup-config-JGHFR4P3.js.map} +0 -0
- /package/dist/{setup-custom-api-QEPUCHOX.js.map → setup-custom-api-EFAWNJ2D.js.map} +0 -0
- /package/dist/{tool-memory-EFGFXF65.js.map → setup-data-dir-Z4IQNMRC.js.map} +0 -0
- /package/dist/{tool-memory-registry-adapters-FO6JVQSX.js.map → tool-memory-5Y3HKHCB.js.map} +0 -0
- /package/dist/{unified-registry-KLNC24HA.js.map → tool-memory-registry-adapters-IIORYBCC.js.map} +0 -0
- /package/dist/{weather-report-PMYQ3WBW.js.map → unified-registry-IDUII5J7.js.map} +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
formatGatewayReport,
|
|
3
|
-
formatGatewaySlotWarnings
|
|
4
|
-
} from "./chunk-JUUGLXSN.js";
|
|
5
|
-
import "./chunk-XSAUVC6D.js";
|
|
6
|
-
import "./chunk-TYLE7Z2S.js";
|
|
7
|
-
import "./chunk-KLSNDPU6.js";
|
|
8
|
-
import "./chunk-KASBBKAQ.js";
|
|
9
|
-
import "./chunk-QM5W3T3O.js";
|
|
10
|
-
import "./chunk-WKFPKPEM.js";
|
|
11
|
-
import "./chunk-XBEKMUTO.js";
|
|
12
|
-
import "./chunk-UE7A2XHM.js";
|
|
13
|
-
import "./chunk-LWOX65CP.js";
|
|
14
|
-
import "./chunk-4PN3UVZV.js";
|
|
15
|
-
import "./chunk-PX6F3LHL.js";
|
|
16
|
-
export {
|
|
17
|
-
formatGatewayReport,
|
|
18
|
-
formatGatewaySlotWarnings
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=doctor-gateway-report-LRBPPJD4.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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 { isCliDisabled } from '../cli-adapters/disabled-clis.js';\nimport { resolveGatewayServedSlot } from '../cli-adapters/gateway-slot-arm.js';\nimport { CLI_NAMES } from '../config/model-capabilities-types.js';\nimport { probeCli } from './cli-auth-probe.js';\nimport { detectCliBinary } from './setup-cli-detection.js';\nimport {\n buildGatewayReadiness,\n buildReadiness,\n formatReadiness,\n probeServes,\n type CliReadiness,\n type GatewayServedReadiness,\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 * Whether the main doctor CLI list admitted each CLI (`routerAdmits`). Its\n * health check and this run's are separate calls; when the live run finds\n * the CLI unavailable after the list admitted it, the live line says so\n * rather than letting the two disagree silently (#6781).\n */\n readonly cliListAdmits?: ReadonlyMap<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 // #6720: a gateway-served slot — its CLI disabled or not available — is\n // measured as the gateway, and the CLI's own rungs are not run. A disabled\n // CLI's binary is never looked up, spawned or probed.\n //\n // #6781: the arm is asked to DECIDE first. An arm whose binary is on PATH\n // is undecided until its first call, and a synchronous read of it said\n // \"not gateway-served\"; the probe then made it choose the gateway, and the\n // report credited the CLI's rungs with the gateway's completion. Deciding\n // commits the arm, so the probe below goes to the target named here.\n const served = await resolveGatewayServedSlot(adapter);\n if (served !== undefined) {\n const gateway = gatewayReadinessOf(cli, served.modelId, deps.cliListAdmits);\n results.push(buildGatewayReadiness(cli, gateway, await probeServes(adapter)));\n continue;\n }\n if (isCliDisabled(cli)) continue;\n results.push(await ladderFor(cli, adapter, authStates.get(cli), isInstalled(cli)));\n }\n return results;\n}\n\n/** Why the CLI does not serve a gateway-served slot, and whether the CLI list disagrees. */\nfunction gatewayReadinessOf(\n cli: CliName,\n gatewayModel: string,\n cliListAdmits: ReadonlyMap<CliName, boolean> | undefined\n): GatewayServedReadiness {\n if (isCliDisabled(cli)) return { gatewayModel, cliState: 'disabled' };\n return {\n gatewayModel,\n cliState: 'not-available',\n ...(cliListAdmits?.get(cli) === true ? { cliListAdmitted: true } : {}),\n };\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: `skipped (not configured): ${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: {\n status: 'not-attempted',\n reason: `skipped (credentials unavailable): ${NOT_REACHED}`,\n },\n });\n }\n\n return buildReadiness(cli, { installed, authenticated, serves: await probeServes(adapter) });\n}\n\n/**\n * Collapse the auth probe's states into what the ladder needs. A CLI disabled\n * by `NEXUS_DISABLED_CLIS` is not probed (#6720): some probes spawn the binary.\n */\nasync function readAuthStates(): Promise<\n ReadonlyMap<CliName, 'authenticated' | 'unknown' | 'not-ok'>\n> {\n const enabled = CLI_NAMES.filter((cli) => !isCliDisabled(cli));\n const probes = await Promise.all(enabled.map((cli) => probeCli(cli)));\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAM,cAAc;AAUpB,eAAsB,iBACpB,OAgBI,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;AAUrC,UAAM,SAAS,MAAM,yBAAyB,OAAO;AACrD,QAAI,WAAW,QAAW;AACxB,YAAM,UAAU,mBAAmB,KAAK,OAAO,SAAS,KAAK,aAAa;AAC1E,cAAQ,KAAK,sBAAsB,KAAK,SAAS,MAAM,YAAY,OAAO,CAAC,CAAC;AAC5E;AAAA,IACF;AACA,QAAI,cAAc,GAAG,EAAG;AACxB,YAAQ,KAAK,MAAM,UAAU,KAAK,SAAS,WAAW,IAAI,GAAG,GAAG,YAAY,GAAG,CAAC,CAAC;AAAA,EACnF;AACA,SAAO;AACT;AAGA,SAAS,mBACP,KACA,cACA,eACwB;AACxB,MAAI,cAAc,GAAG,EAAG,QAAO,EAAE,cAAc,UAAU,WAAW;AACpE,SAAO;AAAA,IACL;AAAA,IACA,UAAU;AAAA,IACV,GAAI,eAAe,IAAI,GAAG,MAAM,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAAA,EACtE;AACF;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,6BAA6B,WAAW,GAAG;AAAA,IACxF,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;AAAA,QACN,QAAQ;AAAA,QACR,QAAQ,sCAAsC,WAAW;AAAA,MAC3D;AAAA,IACF,CAAC;AAAA,EACH;AAEA,SAAO,eAAe,KAAK,EAAE,WAAW,eAAe,QAAQ,MAAM,YAAY,OAAO,EAAE,CAAC;AAC7F;AAMA,eAAe,iBAEb;AACA,QAAM,UAAU,UAAU,OAAO,CAAC,QAAQ,CAAC,cAAc,GAAG,CAAC;AAC7D,QAAM,SAAS,MAAM,QAAQ,IAAI,QAAQ,IAAI,CAAC,QAAQ,SAAS,GAAG,CAAC,CAAC;AACpE,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":[]}
|
package/dist/factory-KCKQQAEH.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createAllAdapters,
|
|
3
|
-
createCliAdapter,
|
|
4
|
-
getAvailableClis,
|
|
5
|
-
isCliAvailable
|
|
6
|
-
} from "./chunk-QRC3QLUQ.js";
|
|
7
|
-
import "./chunk-LXYT2P2Y.js";
|
|
8
|
-
import "./chunk-QZUG667L.js";
|
|
9
|
-
import "./chunk-XSAUVC6D.js";
|
|
10
|
-
import "./chunk-TYLE7Z2S.js";
|
|
11
|
-
import "./chunk-JPFRRNRR.js";
|
|
12
|
-
import "./chunk-KLSNDPU6.js";
|
|
13
|
-
import "./chunk-KASBBKAQ.js";
|
|
14
|
-
import "./chunk-TW6PJYTP.js";
|
|
15
|
-
import "./chunk-23QA6GQD.js";
|
|
16
|
-
import "./chunk-GAX75XCV.js";
|
|
17
|
-
import "./chunk-SX2XWCGA.js";
|
|
18
|
-
import "./chunk-QM5W3T3O.js";
|
|
19
|
-
import "./chunk-WKFPKPEM.js";
|
|
20
|
-
import "./chunk-XBEKMUTO.js";
|
|
21
|
-
import "./chunk-UE7A2XHM.js";
|
|
22
|
-
import "./chunk-LWOX65CP.js";
|
|
23
|
-
import "./chunk-4PN3UVZV.js";
|
|
24
|
-
import "./chunk-PX6F3LHL.js";
|
|
25
|
-
export {
|
|
26
|
-
createAllAdapters,
|
|
27
|
-
createCliAdapter,
|
|
28
|
-
getAvailableClis,
|
|
29
|
-
isCliAvailable
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=factory-KCKQQAEH.js.map
|
package/dist/factory-LUKUIB6C.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createGitHubProvider,
|
|
3
|
-
createScmProvider
|
|
4
|
-
} from "./chunk-D6E3LJGP.js";
|
|
5
|
-
import "./chunk-U37AITDA.js";
|
|
6
|
-
import "./chunk-7EV3QAKO.js";
|
|
7
|
-
import "./chunk-WKFPKPEM.js";
|
|
8
|
-
import "./chunk-XBEKMUTO.js";
|
|
9
|
-
import "./chunk-UE7A2XHM.js";
|
|
10
|
-
import "./chunk-LWOX65CP.js";
|
|
11
|
-
import "./chunk-4PN3UVZV.js";
|
|
12
|
-
import "./chunk-PX6F3LHL.js";
|
|
13
|
-
export {
|
|
14
|
-
createGitHubProvider,
|
|
15
|
-
createScmProvider
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=factory-LUKUIB6C.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IssueTriage,
|
|
3
|
-
createIssueTriage
|
|
4
|
-
} from "./chunk-SS53PZO6.js";
|
|
5
|
-
import "./chunk-U37AITDA.js";
|
|
6
|
-
import "./chunk-V26YQQK4.js";
|
|
7
|
-
import "./chunk-7EV3QAKO.js";
|
|
8
|
-
import "./chunk-ZO6ZKR7L.js";
|
|
9
|
-
import "./chunk-CJKHQ6MV.js";
|
|
10
|
-
import "./chunk-WKFPKPEM.js";
|
|
11
|
-
import "./chunk-XBEKMUTO.js";
|
|
12
|
-
import "./chunk-UE7A2XHM.js";
|
|
13
|
-
import "./chunk-LWOX65CP.js";
|
|
14
|
-
import "./chunk-4PN3UVZV.js";
|
|
15
|
-
import "./chunk-PX6F3LHL.js";
|
|
16
|
-
export {
|
|
17
|
-
IssueTriage,
|
|
18
|
-
createIssueTriage
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=issue-triage-YBVJVAUU.js.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AttributedInsightSchema,
|
|
3
|
-
synthesizeResearch
|
|
4
|
-
} from "./chunk-FNHVTDHZ.js";
|
|
5
|
-
import "./chunk-4JJI34RV.js";
|
|
6
|
-
import "./chunk-WKFPKPEM.js";
|
|
7
|
-
import "./chunk-XBEKMUTO.js";
|
|
8
|
-
import "./chunk-UE7A2XHM.js";
|
|
9
|
-
import "./chunk-LWOX65CP.js";
|
|
10
|
-
import "./chunk-4PN3UVZV.js";
|
|
11
|
-
import "./chunk-PX6F3LHL.js";
|
|
12
|
-
export {
|
|
13
|
-
AttributedInsightSchema,
|
|
14
|
-
synthesizeResearch
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=research-helpers-synthesize-X6MVAAKT.js.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
runConfigInitSync
|
|
3
|
-
} from "./chunk-PXYSAG5B.js";
|
|
4
|
-
import "./chunk-WKFPKPEM.js";
|
|
5
|
-
import "./chunk-XBEKMUTO.js";
|
|
6
|
-
import "./chunk-UE7A2XHM.js";
|
|
7
|
-
import "./chunk-LWOX65CP.js";
|
|
8
|
-
import "./chunk-4PN3UVZV.js";
|
|
9
|
-
import "./chunk-PX6F3LHL.js";
|
|
10
|
-
export {
|
|
11
|
-
runConfigInitSync
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=setup-config-YNNNR4AE.js.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
NEXUS_DATA_DIR,
|
|
3
|
-
describeDataDirFix,
|
|
4
|
-
initDataDirectories
|
|
5
|
-
} from "./chunk-OMSKBBL7.js";
|
|
6
|
-
import "./chunk-EZNIYU5T.js";
|
|
7
|
-
import "./chunk-WD4DENPC.js";
|
|
8
|
-
import "./chunk-JUUGLXSN.js";
|
|
9
|
-
import "./chunk-UZJ6IPJR.js";
|
|
10
|
-
import "./chunk-QRC3QLUQ.js";
|
|
11
|
-
import "./chunk-LXYT2P2Y.js";
|
|
12
|
-
import "./chunk-QZUG667L.js";
|
|
13
|
-
import "./chunk-XSAUVC6D.js";
|
|
14
|
-
import "./chunk-TYLE7Z2S.js";
|
|
15
|
-
import "./chunk-JPFRRNRR.js";
|
|
16
|
-
import "./chunk-KLSNDPU6.js";
|
|
17
|
-
import "./chunk-KASBBKAQ.js";
|
|
18
|
-
import "./chunk-TW6PJYTP.js";
|
|
19
|
-
import "./chunk-2DYCHHWW.js";
|
|
20
|
-
import "./chunk-23QA6GQD.js";
|
|
21
|
-
import "./chunk-GAX75XCV.js";
|
|
22
|
-
import "./chunk-SX2XWCGA.js";
|
|
23
|
-
import "./chunk-QM5W3T3O.js";
|
|
24
|
-
import "./chunk-WKFPKPEM.js";
|
|
25
|
-
import "./chunk-XBEKMUTO.js";
|
|
26
|
-
import "./chunk-UE7A2XHM.js";
|
|
27
|
-
import "./chunk-LWOX65CP.js";
|
|
28
|
-
import "./chunk-4PN3UVZV.js";
|
|
29
|
-
import "./chunk-PX6F3LHL.js";
|
|
30
|
-
export {
|
|
31
|
-
NEXUS_DATA_DIR,
|
|
32
|
-
describeDataDirFix,
|
|
33
|
-
initDataDirectories
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=setup-data-dir-XM5DWH7R.js.map
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
RegistryAlreadyInitializedError,
|
|
3
|
-
UnifiedAdapterRegistry,
|
|
4
|
-
claimGlobalRegistry,
|
|
5
|
-
createUnifiedRegistry,
|
|
6
|
-
getGlobalRegistry,
|
|
7
|
-
resetGlobalRegistry
|
|
8
|
-
} from "./chunk-UZJ6IPJR.js";
|
|
9
|
-
import "./chunk-QRC3QLUQ.js";
|
|
10
|
-
import "./chunk-LXYT2P2Y.js";
|
|
11
|
-
import "./chunk-QZUG667L.js";
|
|
12
|
-
import "./chunk-XSAUVC6D.js";
|
|
13
|
-
import "./chunk-TYLE7Z2S.js";
|
|
14
|
-
import "./chunk-JPFRRNRR.js";
|
|
15
|
-
import "./chunk-KLSNDPU6.js";
|
|
16
|
-
import "./chunk-KASBBKAQ.js";
|
|
17
|
-
import "./chunk-TW6PJYTP.js";
|
|
18
|
-
import "./chunk-23QA6GQD.js";
|
|
19
|
-
import "./chunk-GAX75XCV.js";
|
|
20
|
-
import "./chunk-SX2XWCGA.js";
|
|
21
|
-
import "./chunk-QM5W3T3O.js";
|
|
22
|
-
import "./chunk-WKFPKPEM.js";
|
|
23
|
-
import "./chunk-XBEKMUTO.js";
|
|
24
|
-
import "./chunk-UE7A2XHM.js";
|
|
25
|
-
import "./chunk-LWOX65CP.js";
|
|
26
|
-
import "./chunk-4PN3UVZV.js";
|
|
27
|
-
import "./chunk-PX6F3LHL.js";
|
|
28
|
-
export {
|
|
29
|
-
RegistryAlreadyInitializedError,
|
|
30
|
-
UnifiedAdapterRegistry,
|
|
31
|
-
claimGlobalRegistry,
|
|
32
|
-
createUnifiedRegistry,
|
|
33
|
-
getGlobalRegistry,
|
|
34
|
-
resetGlobalRegistry
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=unified-registry-KLNC24HA.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{openai-compat-adapter-GPZDIR3D.js.map → model-config-helpers-OQEZU2ZG.js.map}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{outcome-store-adapter-WRONSTUD.js.map → outcome-store-adapter-7CKYWUZV.js.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{research-helpers-synthesize-X6MVAAKT.js.map → repo-security-plan-SOFUCHO4.js.map}
RENAMED
|
File without changes
|
/package/dist/{routing-memory-OCIVXKOU.js.map → research-helpers-synthesize-SXNAJWHX.js.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{unified-registry-KLNC24HA.js.map → tool-memory-registry-adapters-IIORYBCC.js.map}
RENAMED
|
File without changes
|
|
File without changes
|