nexus-agents 8.133.1 → 8.133.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-TAYUN6EA.js → ast-rule-runner-3ILUYP2S.js} +4 -4
- package/dist/{child-mcp-config-22JSAQEB.js → child-mcp-config-ZAVMFMHC.js} +3 -3
- package/dist/{chunk-WZRHDRV4.js → chunk-26YUABXD.js} +2 -2
- package/dist/{chunk-QNQPBSCF.js → chunk-37PFBRXG.js} +7 -7
- package/dist/{chunk-YTLV5RA7.js → chunk-4LOCKA6Z.js} +5 -5
- package/dist/{chunk-LUQEEZU2.js → chunk-4VZPN6XN.js} +18 -18
- package/dist/{chunk-DXA6KCY4.js → chunk-5TIVCAPR.js} +10 -10
- package/dist/{chunk-JBLBDHOW.js → chunk-6JDBJO7N.js} +4 -4
- package/dist/{chunk-UMICLEEK.js → chunk-7TWS65XL.js} +3 -3
- package/dist/chunk-A4LJDRY7.js +227 -0
- package/dist/chunk-A4LJDRY7.js.map +1 -0
- package/dist/{chunk-CV2K4JWL.js → chunk-ASEDGRDA.js} +30 -19
- package/dist/{chunk-CV2K4JWL.js.map → chunk-ASEDGRDA.js.map} +1 -1
- package/dist/{chunk-S7HZ4DRO.js → chunk-DUCHVCCB.js} +4 -4
- package/dist/{chunk-WUSO67N4.js → chunk-DVPTF7E2.js} +2 -2
- package/dist/{chunk-PWGPRLDG.js → chunk-F4PEUZ4X.js} +2 -2
- package/dist/{chunk-2BPXUVJM.js → chunk-FYMHYIMX.js} +520 -53
- package/dist/chunk-FYMHYIMX.js.map +1 -0
- package/dist/{chunk-3P5E7X73.js → chunk-FZ4UDXNX.js} +67 -62
- package/dist/{chunk-3P5E7X73.js.map → chunk-FZ4UDXNX.js.map} +1 -1
- package/dist/{chunk-3MGZBCTX.js → chunk-G32F24ON.js} +2 -2
- package/dist/{chunk-GZGKTVSJ.js → chunk-GZISUG3E.js} +2 -2
- package/dist/{chunk-3C755RVV.js → chunk-IGC3MTMN.js} +258 -232
- package/dist/chunk-IGC3MTMN.js.map +1 -0
- package/dist/{chunk-K42B7HPT.js → chunk-INQLOYI2.js} +8 -8
- package/dist/{chunk-GRPGABD4.js → chunk-J63YVVKW.js} +3 -3
- package/dist/{chunk-GOA3QXKE.js → chunk-JM2CABHD.js} +2 -2
- package/dist/{chunk-SZKCWXR4.js → chunk-JT3B4XMV.js} +4 -4
- package/dist/{chunk-BIKYXRH2.js → chunk-KIJY44AB.js} +3 -3
- package/dist/{chunk-MNSD55T5.js → chunk-LBDXYMXS.js} +2 -2
- package/dist/{chunk-LU4RNF7J.js → chunk-MQKHFDCM.js} +2 -2
- package/dist/{chunk-UJPK3LK3.js → chunk-NQMKCTX6.js} +2 -2
- package/dist/{chunk-KOQV76YH.js → chunk-OXJBQRYD.js} +3 -3
- package/dist/{chunk-2767DZTS.js → chunk-PRX4ERTK.js} +4 -4
- package/dist/{chunk-KU6YFABH.js → chunk-R6K2MRFJ.js} +2 -2
- package/dist/{chunk-3AF4P6MX.js → chunk-RH6XKNZR.js} +3 -3
- package/dist/{chunk-Y2MLZFUZ.js → chunk-RIJFSLQ2.js} +14 -11
- package/dist/chunk-RIJFSLQ2.js.map +1 -0
- package/dist/{chunk-XRJNV25W.js → chunk-SRRECWT6.js} +6 -6
- package/dist/{chunk-YC63RO3B.js → chunk-U7VICPNO.js} +5 -5
- package/dist/{chunk-JLD57JRQ.js → chunk-VUCDRYGE.js} +27 -14
- package/dist/chunk-VUCDRYGE.js.map +1 -0
- package/dist/{chunk-3JUZTVTP.js → chunk-Y7ZQ2FXW.js} +2 -2
- package/dist/{chunk-7PBAI2ZR.js → chunk-YKW32JWJ.js} +2 -2
- package/dist/{chunk-XPWXLRHT.js → chunk-Z2T54LTR.js} +2 -2
- package/dist/{cli-circuit-breaker-PDO5XCIR.js → cli-circuit-breaker-WIQOCIV3.js} +4 -4
- package/dist/{cli-readiness-HH7FY4IG.js → cli-readiness-AMPWLQCT.js} +8 -8
- package/dist/cli.js +63 -63
- package/dist/{composite-router-W6RBM4TI.js → composite-router-WAJXYCCX.js} +3 -3
- package/dist/{consensus-vote-XXN2SUC2.js → consensus-vote-QGKRHZQ2.js} +20 -20
- package/dist/{context-retriever-HIPIKJ53.js → context-retriever-MCPOXBLT.js} +9 -9
- package/dist/{doctor-deep-O5E7R5XQ.js → doctor-deep-R6LOSA7S.js} +4 -4
- package/dist/{doctor-gateway-report-LJOBL5LD.js → doctor-gateway-report-AJCXLLBP.js} +9 -9
- package/dist/{doctor-live-B7D7M6DR.js → doctor-live-24G6DWUF.js} +14 -14
- package/dist/{expert-bridge-ZPJ6MYFJ.js → expert-bridge-ZIK2FIR3.js} +5 -5
- package/dist/{factory-V7HIMUES.js → factory-NDYEOO6R.js} +12 -12
- package/dist/{factory-ZOH7BYG6.js → factory-QRL47DUV.js} +6 -6
- package/dist/{improvement-review-SRNLTQ2I.js → improvement-review-F32B7NWE.js} +7 -7
- package/dist/index.d.ts +9 -2
- package/dist/index.js +35 -35
- package/dist/{init-opencode-MZKB4N4T.js → init-opencode-QMIGCOL6.js} +7 -7
- package/dist/{issue-triage-DCNKAFAI.js → issue-triage-BYJM6NLT.js} +7 -7
- package/dist/{model-config-helpers-HXZSDJH3.js → model-config-helpers-JMW2UUV2.js} +3 -3
- package/dist/{openai-compat-adapter-7YR5I2AX.js → openai-compat-adapter-KXLQWNMR.js} +7 -7
- package/dist/{outcome-store-adapter-I52ZLOJD.js → outcome-store-adapter-SOXHKXH7.js} +3 -3
- package/dist/{pr-reviewer-helpers-PQFSTKLB.js → pr-reviewer-helpers-7VD2TIXW.js} +5 -5
- package/dist/{registry-command-EUYY5IML.js → registry-command-UB6XFR7W.js} +5 -5
- package/dist/{repo-security-plan-FM7ECHOP.js → repo-security-plan-JHXDYI7I.js} +4 -4
- package/dist/{research-helpers-synthesize-Q3K2O37N.js → research-helpers-synthesize-3XVMWIDK.js} +5 -5
- package/dist/{routing-memory-SKNJ4ES7.js → routing-memory-AMB3K7VB.js} +3 -3
- package/dist/{session-memory-Q4H52X6B.js → session-memory-IN2M5V56.js} +4 -4
- package/dist/{setup-config-QYRQOWM3.js → setup-config-BHTIRLV3.js} +4 -4
- package/dist/{setup-custom-api-BEH7IG7U.js → setup-custom-api-RGPES2HW.js} +5 -5
- package/dist/setup-data-dir-KM2CKBUE.js +36 -0
- package/dist/{tool-memory-5MBNC755.js → tool-memory-IFCSNEA6.js} +6 -6
- package/dist/{unified-registry-A3IQJ53B.js → unified-registry-NZPESKZQ.js} +13 -13
- package/dist/{weather-report-B6KTTCRE.js → weather-report-7FN3OUJ2.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-2BPXUVJM.js.map +0 -1
- package/dist/chunk-3C755RVV.js.map +0 -1
- package/dist/chunk-JILYBR2Z.js +0 -617
- package/dist/chunk-JILYBR2Z.js.map +0 -1
- package/dist/chunk-JLD57JRQ.js.map +0 -1
- package/dist/chunk-Y2MLZFUZ.js.map +0 -1
- package/dist/setup-data-dir-JJD47YU3.js +0 -36
- /package/dist/{ast-rule-runner-TAYUN6EA.js.map → ast-rule-runner-3ILUYP2S.js.map} +0 -0
- /package/dist/{child-mcp-config-22JSAQEB.js.map → child-mcp-config-ZAVMFMHC.js.map} +0 -0
- /package/dist/{chunk-WZRHDRV4.js.map → chunk-26YUABXD.js.map} +0 -0
- /package/dist/{chunk-QNQPBSCF.js.map → chunk-37PFBRXG.js.map} +0 -0
- /package/dist/{chunk-YTLV5RA7.js.map → chunk-4LOCKA6Z.js.map} +0 -0
- /package/dist/{chunk-LUQEEZU2.js.map → chunk-4VZPN6XN.js.map} +0 -0
- /package/dist/{chunk-DXA6KCY4.js.map → chunk-5TIVCAPR.js.map} +0 -0
- /package/dist/{chunk-JBLBDHOW.js.map → chunk-6JDBJO7N.js.map} +0 -0
- /package/dist/{chunk-UMICLEEK.js.map → chunk-7TWS65XL.js.map} +0 -0
- /package/dist/{chunk-S7HZ4DRO.js.map → chunk-DUCHVCCB.js.map} +0 -0
- /package/dist/{chunk-WUSO67N4.js.map → chunk-DVPTF7E2.js.map} +0 -0
- /package/dist/{chunk-PWGPRLDG.js.map → chunk-F4PEUZ4X.js.map} +0 -0
- /package/dist/{chunk-3MGZBCTX.js.map → chunk-G32F24ON.js.map} +0 -0
- /package/dist/{chunk-GZGKTVSJ.js.map → chunk-GZISUG3E.js.map} +0 -0
- /package/dist/{chunk-K42B7HPT.js.map → chunk-INQLOYI2.js.map} +0 -0
- /package/dist/{chunk-GRPGABD4.js.map → chunk-J63YVVKW.js.map} +0 -0
- /package/dist/{chunk-GOA3QXKE.js.map → chunk-JM2CABHD.js.map} +0 -0
- /package/dist/{chunk-SZKCWXR4.js.map → chunk-JT3B4XMV.js.map} +0 -0
- /package/dist/{chunk-BIKYXRH2.js.map → chunk-KIJY44AB.js.map} +0 -0
- /package/dist/{chunk-MNSD55T5.js.map → chunk-LBDXYMXS.js.map} +0 -0
- /package/dist/{chunk-LU4RNF7J.js.map → chunk-MQKHFDCM.js.map} +0 -0
- /package/dist/{chunk-UJPK3LK3.js.map → chunk-NQMKCTX6.js.map} +0 -0
- /package/dist/{chunk-KOQV76YH.js.map → chunk-OXJBQRYD.js.map} +0 -0
- /package/dist/{chunk-2767DZTS.js.map → chunk-PRX4ERTK.js.map} +0 -0
- /package/dist/{chunk-KU6YFABH.js.map → chunk-R6K2MRFJ.js.map} +0 -0
- /package/dist/{chunk-3AF4P6MX.js.map → chunk-RH6XKNZR.js.map} +0 -0
- /package/dist/{chunk-XRJNV25W.js.map → chunk-SRRECWT6.js.map} +0 -0
- /package/dist/{chunk-YC63RO3B.js.map → chunk-U7VICPNO.js.map} +0 -0
- /package/dist/{chunk-3JUZTVTP.js.map → chunk-Y7ZQ2FXW.js.map} +0 -0
- /package/dist/{chunk-7PBAI2ZR.js.map → chunk-YKW32JWJ.js.map} +0 -0
- /package/dist/{chunk-XPWXLRHT.js.map → chunk-Z2T54LTR.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-PDO5XCIR.js.map → cli-circuit-breaker-WIQOCIV3.js.map} +0 -0
- /package/dist/{cli-readiness-HH7FY4IG.js.map → cli-readiness-AMPWLQCT.js.map} +0 -0
- /package/dist/{composite-router-W6RBM4TI.js.map → composite-router-WAJXYCCX.js.map} +0 -0
- /package/dist/{consensus-vote-XXN2SUC2.js.map → consensus-vote-QGKRHZQ2.js.map} +0 -0
- /package/dist/{context-retriever-HIPIKJ53.js.map → context-retriever-MCPOXBLT.js.map} +0 -0
- /package/dist/{doctor-deep-O5E7R5XQ.js.map → doctor-deep-R6LOSA7S.js.map} +0 -0
- /package/dist/{doctor-gateway-report-LJOBL5LD.js.map → doctor-gateway-report-AJCXLLBP.js.map} +0 -0
- /package/dist/{doctor-live-B7D7M6DR.js.map → doctor-live-24G6DWUF.js.map} +0 -0
- /package/dist/{expert-bridge-ZPJ6MYFJ.js.map → expert-bridge-ZIK2FIR3.js.map} +0 -0
- /package/dist/{factory-V7HIMUES.js.map → factory-NDYEOO6R.js.map} +0 -0
- /package/dist/{factory-ZOH7BYG6.js.map → factory-QRL47DUV.js.map} +0 -0
- /package/dist/{improvement-review-SRNLTQ2I.js.map → improvement-review-F32B7NWE.js.map} +0 -0
- /package/dist/{init-opencode-MZKB4N4T.js.map → init-opencode-QMIGCOL6.js.map} +0 -0
- /package/dist/{issue-triage-DCNKAFAI.js.map → issue-triage-BYJM6NLT.js.map} +0 -0
- /package/dist/{model-config-helpers-HXZSDJH3.js.map → model-config-helpers-JMW2UUV2.js.map} +0 -0
- /package/dist/{openai-compat-adapter-7YR5I2AX.js.map → openai-compat-adapter-KXLQWNMR.js.map} +0 -0
- /package/dist/{outcome-store-adapter-I52ZLOJD.js.map → outcome-store-adapter-SOXHKXH7.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-PQFSTKLB.js.map → pr-reviewer-helpers-7VD2TIXW.js.map} +0 -0
- /package/dist/{registry-command-EUYY5IML.js.map → registry-command-UB6XFR7W.js.map} +0 -0
- /package/dist/{repo-security-plan-FM7ECHOP.js.map → repo-security-plan-JHXDYI7I.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-Q3K2O37N.js.map → research-helpers-synthesize-3XVMWIDK.js.map} +0 -0
- /package/dist/{routing-memory-SKNJ4ES7.js.map → routing-memory-AMB3K7VB.js.map} +0 -0
- /package/dist/{session-memory-Q4H52X6B.js.map → session-memory-IN2M5V56.js.map} +0 -0
- /package/dist/{setup-config-QYRQOWM3.js.map → setup-config-BHTIRLV3.js.map} +0 -0
- /package/dist/{setup-custom-api-BEH7IG7U.js.map → setup-custom-api-RGPES2HW.js.map} +0 -0
- /package/dist/{setup-data-dir-JJD47YU3.js.map → setup-data-dir-KM2CKBUE.js.map} +0 -0
- /package/dist/{tool-memory-5MBNC755.js.map → tool-memory-IFCSNEA6.js.map} +0 -0
- /package/dist/{unified-registry-A3IQJ53B.js.map → unified-registry-NZPESKZQ.js.map} +0 -0
- /package/dist/{weather-report-B6KTTCRE.js.map → weather-report-7FN3OUJ2.js.map} +0 -0
|
@@ -2,19 +2,16 @@ import {
|
|
|
2
2
|
ensureGatewayDiscovered,
|
|
3
3
|
gatewayDiscoveryStatus,
|
|
4
4
|
getAvailabilityCache
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KIJY44AB.js";
|
|
6
6
|
import {
|
|
7
7
|
extractSystemPrompt
|
|
8
8
|
} from "./chunk-QZUG667L.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PRX4ERTK.js";
|
|
12
12
|
import {
|
|
13
13
|
nexusMkdtempSync
|
|
14
14
|
} from "./chunk-JPFRRNRR.js";
|
|
15
|
-
import {
|
|
16
|
-
probeCli
|
|
17
|
-
} from "./chunk-TW6PJYTP.js";
|
|
18
15
|
import {
|
|
19
16
|
AdapterModelError,
|
|
20
17
|
BaseAdapter,
|
|
@@ -25,7 +22,7 @@ import {
|
|
|
25
22
|
requireApiKey,
|
|
26
23
|
validateApiKeyPresence,
|
|
27
24
|
withGatewayUsageRecording
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YKW32JWJ.js";
|
|
29
26
|
import {
|
|
30
27
|
assertCustomApiHostResolvesPublic,
|
|
31
28
|
hostnameOf,
|
|
@@ -34,7 +31,10 @@ import {
|
|
|
34
31
|
readGatewayEnv,
|
|
35
32
|
redactApiKey,
|
|
36
33
|
validateCustomApiBaseUrl
|
|
37
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LBDXYMXS.js";
|
|
35
|
+
import {
|
|
36
|
+
probeCli
|
|
37
|
+
} from "./chunk-TW6PJYTP.js";
|
|
38
38
|
import {
|
|
39
39
|
BaseCliAdapter,
|
|
40
40
|
ClaudeCliAdapter,
|
|
@@ -46,16 +46,16 @@ import {
|
|
|
46
46
|
getTimeoutForTask,
|
|
47
47
|
listModelsForCli,
|
|
48
48
|
spawnCwd
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RIJFSLQ2.js";
|
|
50
|
+
import {
|
|
51
|
+
getCliCircuitBreakerSnapshot
|
|
52
|
+
} from "./chunk-A4LJDRY7.js";
|
|
50
53
|
import {
|
|
51
54
|
sanitizeOutput
|
|
52
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Y7ZQ2FXW.js";
|
|
53
56
|
import {
|
|
54
57
|
CliCircuitBreaker,
|
|
55
58
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
56
|
-
getCliCircuitBreakerSnapshot
|
|
57
|
-
} from "./chunk-JILYBR2Z.js";
|
|
58
|
-
import {
|
|
59
59
|
ErrorCode,
|
|
60
60
|
FALLBACK_CONTEXT_WINDOW,
|
|
61
61
|
FALLBACK_MAX_OUTPUT,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
unenforcedAccessModeRefusal,
|
|
107
107
|
warnIfGatewayCostUndeclared,
|
|
108
108
|
withEnforcedAccessMode
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-FYMHYIMX.js";
|
|
110
110
|
import {
|
|
111
111
|
CLI_NAMES,
|
|
112
112
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
@@ -3729,14 +3729,16 @@ var OpenCodeCliAdapter = class extends SubprocessCliAdapter {
|
|
|
3729
3729
|
this.model = options?.model ?? getCliModelName(getDefaultModelForCli("opencode"));
|
|
3730
3730
|
}
|
|
3731
3731
|
/**
|
|
3732
|
-
* Gets
|
|
3732
|
+
* Gets the implicit route's model information from the canonical registry.
|
|
3733
|
+
* After inventory probing, an unusable configured model runs the default.
|
|
3733
3734
|
*/
|
|
3734
3735
|
getModelInfo() {
|
|
3735
|
-
const
|
|
3736
|
+
const model = this.availableModels !== void 0 && !this.isModelUsable(resolveOpenCodeModel(this.model)) ? getCliModelName(getDefaultModelForCli("opencode")) : this.model;
|
|
3737
|
+
const fromRegistry = buildModelInfo("opencode", model);
|
|
3736
3738
|
if (fromRegistry !== void 0) return fromRegistry;
|
|
3737
3739
|
return {
|
|
3738
|
-
id:
|
|
3739
|
-
name: `OpenCode (${
|
|
3740
|
+
id: model,
|
|
3741
|
+
name: `OpenCode (${model})`,
|
|
3740
3742
|
contextWindow: FALLBACK_CONTEXT_WINDOW,
|
|
3741
3743
|
maxOutput: FALLBACK_MAX_OUTPUT,
|
|
3742
3744
|
// OpenCode pricing fallback is adapter-specific (not the Claude 5/25).
|
|
@@ -3749,6 +3751,7 @@ var OpenCodeCliAdapter = class extends SubprocessCliAdapter {
|
|
|
3749
3751
|
* Warns if Anthropic provider is configured (#1429 — API key boundaries).
|
|
3750
3752
|
*/
|
|
3751
3753
|
async initialize() {
|
|
3754
|
+
if (this.initialized) return;
|
|
3752
3755
|
this.availableModels = await probeAvailableModels();
|
|
3753
3756
|
warnIfAnthropicProvider(this.availableModels);
|
|
3754
3757
|
await super.initialize();
|
|
@@ -3813,8 +3816,16 @@ var OpenCodeCliAdapter = class extends SubprocessCliAdapter {
|
|
|
3813
3816
|
* model the path is unchanged.
|
|
3814
3817
|
*/
|
|
3815
3818
|
async execute(task, options) {
|
|
3816
|
-
if (task.model === void 0)
|
|
3819
|
+
if (task.model === void 0) {
|
|
3820
|
+
const refusal = await this.accessModeRefusal(task);
|
|
3821
|
+
if (refusal !== void 0) return err(refusal);
|
|
3822
|
+
}
|
|
3817
3823
|
if (!this.initialized) await this.initialize();
|
|
3824
|
+
if (task.model === void 0) {
|
|
3825
|
+
const cliModel = resolveOpenCodeModel(this.model);
|
|
3826
|
+
const effectiveTask = this.isModelUsable(cliModel) ? { ...task, model: cliModel } : task;
|
|
3827
|
+
return super.execute(effectiveTask, options);
|
|
3828
|
+
}
|
|
3818
3829
|
const resolved = this.resolveRequestedModel(task.model);
|
|
3819
3830
|
if (!resolved.ok) return resolved;
|
|
3820
3831
|
const { cliId, reportedAs } = resolved.value;
|
|
@@ -4115,4 +4126,4 @@ export {
|
|
|
4115
4126
|
SdkAdapter,
|
|
4116
4127
|
createAutoAdapter
|
|
4117
4128
|
};
|
|
4118
|
-
//# sourceMappingURL=chunk-
|
|
4129
|
+
//# sourceMappingURL=chunk-ASEDGRDA.js.map
|