nexus-agents 12.7.1 → 12.8.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-KHAYJWKG.js → ast-rule-runner-WYFFEQ4K.js} +5 -5
- package/dist/{child-mcp-config-BFMOJYE4.js → child-mcp-config-QT3CON45.js} +4 -4
- package/dist/{chunk-UXMSLQTC.js → chunk-2TS7HCZU.js} +8 -8
- package/dist/{chunk-OS6IIH35.js → chunk-3GDICG5L.js} +2 -2
- package/dist/{chunk-W6MI754S.js → chunk-6LKSFTVL.js} +2 -2
- package/dist/{chunk-CGIKWE5L.js → chunk-7WAHXTBQ.js} +2 -2
- package/dist/{chunk-WYWSWEFP.js → chunk-BE5S54VV.js} +5 -5
- package/dist/{chunk-EQKTCKYC.js → chunk-C3X5RHDW.js} +10 -10
- package/dist/{chunk-M46ZERNC.js → chunk-DV5EUVIC.js} +2 -2
- package/dist/{chunk-GERTNHR4.js → chunk-EUW56AIY.js} +4 -4
- package/dist/{chunk-ELVVOPUW.js → chunk-FADXKWDW.js} +7 -7
- package/dist/{chunk-Y6EBJOWU.js → chunk-FVGG74W7.js} +4 -4
- package/dist/{chunk-JUNHFYYA.js → chunk-IISYGPFE.js} +3 -3
- package/dist/{chunk-M4WWN5T7.js → chunk-IKTGQTVH.js} +4 -4
- package/dist/{chunk-KACXHD2S.js → chunk-ILSLOHGX.js} +2 -2
- package/dist/{chunk-RNWEG3LH.js → chunk-KDOUKB7K.js} +5 -5
- package/dist/{chunk-XJMKNPBC.js → chunk-KQ74CFQ4.js} +2 -2
- package/dist/{chunk-JYNJEUT2.js → chunk-MFQFW2HS.js} +2 -2
- package/dist/{chunk-GKYFQFTX.js → chunk-MH6NPW5N.js} +4 -4
- package/dist/{chunk-Q6UAXVJZ.js → chunk-N627RNSQ.js} +5 -5
- package/dist/{chunk-OHDPO6VT.js → chunk-OKNC4DUN.js} +4 -4
- package/dist/{chunk-AATDFFGL.js → chunk-P3RB5EHE.js} +2 -2
- package/dist/{chunk-ENL2WOUZ.js → chunk-PXN6G4DM.js} +89 -55
- package/dist/{chunk-ENL2WOUZ.js.map → chunk-PXN6G4DM.js.map} +1 -1
- package/dist/{chunk-Q6DQCASR.js → chunk-Q23M37XR.js} +3 -3
- package/dist/{chunk-LSQZC2XU.js → chunk-Q5RTCUK3.js} +4 -4
- package/dist/{chunk-AJ4CYGWT.js → chunk-RAW3AXHV.js} +2 -2
- package/dist/{chunk-2O4GZIMV.js → chunk-RZPCGPO7.js} +2 -2
- package/dist/{chunk-RW4JYVRQ.js → chunk-SD4KNFLX.js} +3 -3
- package/dist/{chunk-KRSOD4TP.js → chunk-SGOTQLC5.js} +3 -3
- package/dist/{chunk-HZIJYFL5.js → chunk-VAXCUWU2.js} +11 -11
- package/dist/{chunk-KNNEGVZ7.js → chunk-WI2CPM6B.js} +2 -2
- package/dist/{chunk-C4TG265U.js → chunk-WK53DUXN.js} +2 -2
- package/dist/{chunk-QNW3MFUT.js → chunk-WS3OZBDV.js} +4 -4
- package/dist/{chunk-NINI64TX.js → chunk-X3VLHTGF.js} +31 -17
- package/dist/{chunk-NINI64TX.js.map → chunk-X3VLHTGF.js.map} +1 -1
- package/dist/{chunk-O5TH62LH.js → chunk-XPGEELF5.js} +2 -2
- package/dist/{cli-circuit-breaker-SUPX6PDM.js → cli-circuit-breaker-WWX3PNIN.js} +5 -5
- package/dist/{cli-readiness-QQ5ZFXBB.js → cli-readiness-NTBYHZOM.js} +9 -9
- package/dist/{cli-server-gateway-4X4HYJAQ.js → cli-server-gateway-HAGDF4VX.js} +14 -14
- package/dist/cli.js +45 -45
- package/dist/{composite-router-CWPNUXYK.js → composite-router-JZEQINFO.js} +4 -4
- package/dist/{consensus-vote-ODSR7PZD.js → consensus-vote-N4KH4PMO.js} +17 -17
- package/dist/{context-retriever-LADUNS4D.js → context-retriever-I27PWPM6.js} +10 -10
- package/dist/{doctor-deep-NU2UOAT3.js → doctor-deep-I2TE7D3R.js} +5 -5
- package/dist/{doctor-gateway-report-I2FSDBSC.js → doctor-gateway-report-EPHABQ4H.js} +7 -7
- package/dist/{doctor-live-7TWGFTQK.js → doctor-live-VV2EHGAW.js} +14 -14
- package/dist/{expert-bridge-ERSV4VGD.js → expert-bridge-DQ4ZBZQG.js} +6 -6
- package/dist/{factory-C4QQCNPI.js → factory-DFJ5M7PT.js} +7 -7
- package/dist/{factory-YIFWPI6Q.js → factory-IJ6I3OTT.js} +13 -13
- package/dist/{gemini-adapter-B3NJYB6M.js → gemini-adapter-5DVIZZEE.js} +8 -8
- package/dist/{improvement-review-XTOPOZDX.js → improvement-review-V7JROQTW.js} +6 -6
- package/dist/index.js +27 -27
- package/dist/{init-opencode-6TU5QJMJ.js → init-opencode-O54PGDVI.js} +6 -6
- package/dist/{issue-triage-PBEEJVBI.js → issue-triage-II4NCCV5.js} +7 -7
- package/dist/{model-config-helpers-2FAJUYAF.js → model-config-helpers-KJLQISOV.js} +3 -3
- package/dist/{openai-compat-adapter-NKXTAYSA.js → openai-compat-adapter-IT3SZU5K.js} +6 -6
- package/dist/{pr-reviewer-helpers-SXMMWLOA.js → pr-reviewer-helpers-TD2LBCG3.js} +5 -5
- package/dist/{registry-command-PBMPRNWB.js → registry-command-YWJJEPOA.js} +2 -2
- package/dist/{repo-security-plan-6ZIYWGZX.js → repo-security-plan-TR6RVIKK.js} +4 -4
- package/dist/{research-helpers-synthesize-XOPWN22J.js → research-helpers-synthesize-OZPYX7TW.js} +6 -6
- package/dist/{routing-memory-M3DAVRYF.js → routing-memory-J4NG247L.js} +4 -4
- package/dist/{session-memory-CLPEJIPH.js → session-memory-GFWMW2VB.js} +5 -5
- package/dist/{setup-config-2P7GQGEY.js → setup-config-J5NZWJFQ.js} +5 -5
- package/dist/{setup-custom-api-A7KQBKYV.js → setup-custom-api-4SMPOE3X.js} +5 -5
- package/dist/{tool-memory-PDH5KSRK.js → tool-memory-VY44W54J.js} +7 -7
- package/dist/{unified-registry-YWXZIHPA.js → unified-registry-ZDA47RYP.js} +13 -13
- package/dist/{weather-report-CUSGQ7BI.js → weather-report-AZCNKMA3.js} +4 -4
- package/node_modules/jose/README.md +2 -2
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +4 -4
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +5 -5
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +5 -5
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +5 -4
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +5 -5
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -4
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +6 -5
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +9 -6
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +7 -5
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +7 -6
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/sign.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/verify.d.ts +3 -5
- package/node_modules/jose/dist/types/key/export.d.ts +1 -1
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +1 -1
- package/node_modules/jose/dist/types/key/import.d.ts +2 -2
- package/node_modules/jose/dist/types/types.d.ts +165 -107
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +2 -2
- package/node_modules/jose/dist/types/util/errors.d.ts +1 -1
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +3 -3
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +8 -8
- package/node_modules/jose/dist/webapi/jwks/local.js +2 -1
- package/node_modules/jose/dist/webapi/jwks/remote.js +4 -4
- package/node_modules/jose/dist/webapi/jws/general/sign.js +3 -3
- package/node_modules/jose/dist/webapi/jws/general/verify.js +3 -3
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +2 -2
- package/node_modules/jose/dist/webapi/jwt/sign.js +2 -2
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +3 -3
- package/node_modules/jose/dist/webapi/key/generate_secret.js +4 -4
- package/node_modules/jose/dist/webapi/lib/asn1.js +2 -2
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +4 -4
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +8 -8
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +14 -14
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +3 -3
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +2 -2
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +11 -11
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +19 -16
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +44 -43
- package/node_modules/jose/dist/webapi/lib/key.js +4 -4
- package/node_modules/jose/dist/webapi/lib/key_management.js +17 -17
- package/node_modules/jose/dist/webapi/lib/validate.js +10 -10
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +12 -12
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +5 -5
- package/node_modules/jose/package.json +1 -1
- package/package.json +1 -1
- /package/dist/{ast-rule-runner-KHAYJWKG.js.map → ast-rule-runner-WYFFEQ4K.js.map} +0 -0
- /package/dist/{child-mcp-config-BFMOJYE4.js.map → child-mcp-config-QT3CON45.js.map} +0 -0
- /package/dist/{chunk-UXMSLQTC.js.map → chunk-2TS7HCZU.js.map} +0 -0
- /package/dist/{chunk-OS6IIH35.js.map → chunk-3GDICG5L.js.map} +0 -0
- /package/dist/{chunk-W6MI754S.js.map → chunk-6LKSFTVL.js.map} +0 -0
- /package/dist/{chunk-CGIKWE5L.js.map → chunk-7WAHXTBQ.js.map} +0 -0
- /package/dist/{chunk-WYWSWEFP.js.map → chunk-BE5S54VV.js.map} +0 -0
- /package/dist/{chunk-EQKTCKYC.js.map → chunk-C3X5RHDW.js.map} +0 -0
- /package/dist/{chunk-M46ZERNC.js.map → chunk-DV5EUVIC.js.map} +0 -0
- /package/dist/{chunk-GERTNHR4.js.map → chunk-EUW56AIY.js.map} +0 -0
- /package/dist/{chunk-ELVVOPUW.js.map → chunk-FADXKWDW.js.map} +0 -0
- /package/dist/{chunk-Y6EBJOWU.js.map → chunk-FVGG74W7.js.map} +0 -0
- /package/dist/{chunk-JUNHFYYA.js.map → chunk-IISYGPFE.js.map} +0 -0
- /package/dist/{chunk-M4WWN5T7.js.map → chunk-IKTGQTVH.js.map} +0 -0
- /package/dist/{chunk-KACXHD2S.js.map → chunk-ILSLOHGX.js.map} +0 -0
- /package/dist/{chunk-RNWEG3LH.js.map → chunk-KDOUKB7K.js.map} +0 -0
- /package/dist/{chunk-XJMKNPBC.js.map → chunk-KQ74CFQ4.js.map} +0 -0
- /package/dist/{chunk-JYNJEUT2.js.map → chunk-MFQFW2HS.js.map} +0 -0
- /package/dist/{chunk-GKYFQFTX.js.map → chunk-MH6NPW5N.js.map} +0 -0
- /package/dist/{chunk-Q6UAXVJZ.js.map → chunk-N627RNSQ.js.map} +0 -0
- /package/dist/{chunk-OHDPO6VT.js.map → chunk-OKNC4DUN.js.map} +0 -0
- /package/dist/{chunk-AATDFFGL.js.map → chunk-P3RB5EHE.js.map} +0 -0
- /package/dist/{chunk-Q6DQCASR.js.map → chunk-Q23M37XR.js.map} +0 -0
- /package/dist/{chunk-LSQZC2XU.js.map → chunk-Q5RTCUK3.js.map} +0 -0
- /package/dist/{chunk-AJ4CYGWT.js.map → chunk-RAW3AXHV.js.map} +0 -0
- /package/dist/{chunk-2O4GZIMV.js.map → chunk-RZPCGPO7.js.map} +0 -0
- /package/dist/{chunk-RW4JYVRQ.js.map → chunk-SD4KNFLX.js.map} +0 -0
- /package/dist/{chunk-KRSOD4TP.js.map → chunk-SGOTQLC5.js.map} +0 -0
- /package/dist/{chunk-HZIJYFL5.js.map → chunk-VAXCUWU2.js.map} +0 -0
- /package/dist/{chunk-KNNEGVZ7.js.map → chunk-WI2CPM6B.js.map} +0 -0
- /package/dist/{chunk-C4TG265U.js.map → chunk-WK53DUXN.js.map} +0 -0
- /package/dist/{chunk-QNW3MFUT.js.map → chunk-WS3OZBDV.js.map} +0 -0
- /package/dist/{chunk-O5TH62LH.js.map → chunk-XPGEELF5.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-SUPX6PDM.js.map → cli-circuit-breaker-WWX3PNIN.js.map} +0 -0
- /package/dist/{cli-readiness-QQ5ZFXBB.js.map → cli-readiness-NTBYHZOM.js.map} +0 -0
- /package/dist/{cli-server-gateway-4X4HYJAQ.js.map → cli-server-gateway-HAGDF4VX.js.map} +0 -0
- /package/dist/{composite-router-CWPNUXYK.js.map → composite-router-JZEQINFO.js.map} +0 -0
- /package/dist/{consensus-vote-ODSR7PZD.js.map → consensus-vote-N4KH4PMO.js.map} +0 -0
- /package/dist/{context-retriever-LADUNS4D.js.map → context-retriever-I27PWPM6.js.map} +0 -0
- /package/dist/{doctor-deep-NU2UOAT3.js.map → doctor-deep-I2TE7D3R.js.map} +0 -0
- /package/dist/{doctor-gateway-report-I2FSDBSC.js.map → doctor-gateway-report-EPHABQ4H.js.map} +0 -0
- /package/dist/{doctor-live-7TWGFTQK.js.map → doctor-live-VV2EHGAW.js.map} +0 -0
- /package/dist/{expert-bridge-ERSV4VGD.js.map → expert-bridge-DQ4ZBZQG.js.map} +0 -0
- /package/dist/{factory-C4QQCNPI.js.map → factory-DFJ5M7PT.js.map} +0 -0
- /package/dist/{factory-YIFWPI6Q.js.map → factory-IJ6I3OTT.js.map} +0 -0
- /package/dist/{gemini-adapter-B3NJYB6M.js.map → gemini-adapter-5DVIZZEE.js.map} +0 -0
- /package/dist/{improvement-review-XTOPOZDX.js.map → improvement-review-V7JROQTW.js.map} +0 -0
- /package/dist/{init-opencode-6TU5QJMJ.js.map → init-opencode-O54PGDVI.js.map} +0 -0
- /package/dist/{issue-triage-PBEEJVBI.js.map → issue-triage-II4NCCV5.js.map} +0 -0
- /package/dist/{model-config-helpers-2FAJUYAF.js.map → model-config-helpers-KJLQISOV.js.map} +0 -0
- /package/dist/{openai-compat-adapter-NKXTAYSA.js.map → openai-compat-adapter-IT3SZU5K.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-SXMMWLOA.js.map → pr-reviewer-helpers-TD2LBCG3.js.map} +0 -0
- /package/dist/{registry-command-PBMPRNWB.js.map → registry-command-YWJJEPOA.js.map} +0 -0
- /package/dist/{repo-security-plan-6ZIYWGZX.js.map → repo-security-plan-TR6RVIKK.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-XOPWN22J.js.map → research-helpers-synthesize-OZPYX7TW.js.map} +0 -0
- /package/dist/{routing-memory-M3DAVRYF.js.map → routing-memory-J4NG247L.js.map} +0 -0
- /package/dist/{session-memory-CLPEJIPH.js.map → session-memory-GFWMW2VB.js.map} +0 -0
- /package/dist/{setup-config-2P7GQGEY.js.map → setup-config-J5NZWJFQ.js.map} +0 -0
- /package/dist/{setup-custom-api-A7KQBKYV.js.map → setup-custom-api-4SMPOE3X.js.map} +0 -0
- /package/dist/{tool-memory-PDH5KSRK.js.map → tool-memory-VY44W54J.js.map} +0 -0
- /package/dist/{unified-registry-YWXZIHPA.js.map → unified-registry-ZDA47RYP.js.map} +0 -0
- /package/dist/{weather-report-CUSGQ7BI.js.map → weather-report-AZCNKMA3.js.map} +0 -0
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
updateStage,
|
|
63
63
|
withFileLock,
|
|
64
64
|
writeJobCancelled
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-C3X5RHDW.js";
|
|
66
66
|
import {
|
|
67
67
|
allOf,
|
|
68
68
|
anyOf
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
normalizeTopicToCanonical,
|
|
72
72
|
synthesizeResearch
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-SGOTQLC5.js";
|
|
74
74
|
import {
|
|
75
75
|
IssueTriage,
|
|
76
76
|
createAuditTrail,
|
|
@@ -79,13 +79,13 @@ import {
|
|
|
79
79
|
createGraphAuditBridge,
|
|
80
80
|
emitPipelinePolicyEvent,
|
|
81
81
|
readActionRefusal
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-MH6NPW5N.js";
|
|
83
83
|
import {
|
|
84
84
|
sanitizeInput
|
|
85
85
|
} from "./chunk-RYDTFPVI.js";
|
|
86
86
|
import {
|
|
87
87
|
withPrerequisite
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-IISYGPFE.js";
|
|
89
89
|
import {
|
|
90
90
|
NOOP_NOTIFIER,
|
|
91
91
|
RateLimiter,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
toolSuccess,
|
|
118
118
|
withProgressHeartbeat,
|
|
119
119
|
wrapToolWithTimeout
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-SD4KNFLX.js";
|
|
121
121
|
import {
|
|
122
122
|
generateSecurityPlan
|
|
123
123
|
} from "./chunk-KMGKOF5P.js";
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
parseRegistry,
|
|
164
164
|
sourceExistsInRegistry,
|
|
165
165
|
summarizeContextForPrompt
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-BE5S54VV.js";
|
|
167
167
|
import {
|
|
168
168
|
REGISTRY_PATH,
|
|
169
169
|
computeSourceQualityScore,
|
|
@@ -171,11 +171,11 @@ import {
|
|
|
171
171
|
loadPapersRegistry,
|
|
172
172
|
loadTechniquesRegistry,
|
|
173
173
|
resolveRegistryRoot
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-DV5EUVIC.js";
|
|
175
175
|
import {
|
|
176
176
|
getTokenEnvVars,
|
|
177
177
|
resolveToken
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-6LKSFTVL.js";
|
|
179
179
|
import {
|
|
180
180
|
DEFAULT_RELEVANCE_CONFIG,
|
|
181
181
|
MemoryImportance,
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
calculateTextJaccardSimilarity,
|
|
184
184
|
getToolMemory,
|
|
185
185
|
memoryTrustTierTag
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-Q5RTCUK3.js";
|
|
187
187
|
import {
|
|
188
188
|
EXTERNAL_CONTENT_TRUST_TIER,
|
|
189
189
|
resolveContentTrustProvenance,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
} from "./chunk-RGB5OTRZ.js";
|
|
193
193
|
import {
|
|
194
194
|
createSessionMemory
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-WK53DUXN.js";
|
|
196
196
|
import {
|
|
197
197
|
TrustTierSchema
|
|
198
198
|
} from "./chunk-BFO2NZPO.js";
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
} from "./chunk-MZWHXERV.js";
|
|
208
208
|
import {
|
|
209
209
|
executeExpert
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-2TS7HCZU.js";
|
|
211
211
|
import {
|
|
212
212
|
CliDetectionCache,
|
|
213
213
|
EventTopics,
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
getAvailableClis,
|
|
219
219
|
getGlobalEventBus,
|
|
220
220
|
getGlobalRegistry
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-VAXCUWU2.js";
|
|
222
222
|
import {
|
|
223
223
|
DEFAULTS
|
|
224
224
|
} from "./chunk-L47UF7ET.js";
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
getAvailabilityCache,
|
|
236
236
|
getCliForModelId,
|
|
237
237
|
resolveFallback
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-IKTGQTVH.js";
|
|
239
239
|
import {
|
|
240
240
|
BaseAdapter,
|
|
241
241
|
createStream,
|
|
@@ -243,11 +243,11 @@ import {
|
|
|
243
243
|
parseGatewayExtraHeaders,
|
|
244
244
|
requireApiKey,
|
|
245
245
|
validateApiKeyPresence
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-KDOUKB7K.js";
|
|
247
247
|
import {
|
|
248
248
|
BWRAP_READ_ONLY_ARGS,
|
|
249
249
|
createBwrapPreflight
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-EUW56AIY.js";
|
|
251
251
|
import {
|
|
252
252
|
getMemoryRegistry
|
|
253
253
|
} from "./chunk-ROYGBFVE.js";
|
|
@@ -255,14 +255,14 @@ import {
|
|
|
255
255
|
SIGKILL_GRACE_MS,
|
|
256
256
|
terminateProcessTree,
|
|
257
257
|
trackProcessTree
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-WS3OZBDV.js";
|
|
259
259
|
import {
|
|
260
260
|
generateHyphenId,
|
|
261
261
|
generateUUID
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-KQ74CFQ4.js";
|
|
263
263
|
import {
|
|
264
264
|
getDefaultCliCircuitBreakerRegistry
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-P3RB5EHE.js";
|
|
266
266
|
import {
|
|
267
267
|
sanitizeErrorDetails,
|
|
268
268
|
sanitizeOutput
|
|
@@ -281,6 +281,7 @@ import {
|
|
|
281
281
|
DEFAULT_ZERO_ROUTER_CONFIG,
|
|
282
282
|
DecisionGateSchema,
|
|
283
283
|
ErrorCode,
|
|
284
|
+
ExecutionTraceEntrySchema,
|
|
284
285
|
LinUCBBandit,
|
|
285
286
|
MAX_TRACE_ATTRIBUTION_BYTES,
|
|
286
287
|
MODELSDEV_CATALOGUE_CAVEATS,
|
|
@@ -385,7 +386,7 @@ import {
|
|
|
385
386
|
validatedModelIdentity,
|
|
386
387
|
withStep,
|
|
387
388
|
withTimeout
|
|
388
|
-
} from "./chunk-
|
|
389
|
+
} from "./chunk-X3VLHTGF.js";
|
|
389
390
|
import {
|
|
390
391
|
SUPPORTED_EXTENSIONS
|
|
391
392
|
} from "./chunk-XBEKMUTO.js";
|
|
@@ -400,13 +401,13 @@ import {
|
|
|
400
401
|
lookupInTreeCapability,
|
|
401
402
|
modelSupportsAll,
|
|
402
403
|
resolveOwnerCli
|
|
403
|
-
} from "./chunk-
|
|
404
|
+
} from "./chunk-RZPCGPO7.js";
|
|
404
405
|
import {
|
|
405
406
|
deriveEntry,
|
|
406
407
|
getDefaultRegistry,
|
|
407
408
|
resolveModelIdentity,
|
|
408
409
|
resolveModelIdentitySync
|
|
409
|
-
} from "./chunk-
|
|
410
|
+
} from "./chunk-WI2CPM6B.js";
|
|
410
411
|
import {
|
|
411
412
|
ensureLearningDir,
|
|
412
413
|
getMetaOutcomesFile,
|
|
@@ -31329,7 +31330,7 @@ function execIdFields(executionId) {
|
|
|
31329
31330
|
async function populateUnifiedContextOnState(state, options) {
|
|
31330
31331
|
const taskCandidate = state["task"];
|
|
31331
31332
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
31332
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
31333
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-I27PWPM6.js");
|
|
31333
31334
|
const category = inferTaskCategory2(taskCandidate);
|
|
31334
31335
|
const executionId = options?.executionId;
|
|
31335
31336
|
const execFields = execIdFields(executionId);
|
|
@@ -32977,20 +32978,7 @@ var TraceWriter = class {
|
|
|
32977
32978
|
if (!Number.isSafeInteger(this.maxBuffer) || this.maxBuffer < 1)
|
|
32978
32979
|
throw new Error("Invalid trace buffer size");
|
|
32979
32980
|
this.unsubscribe = bus.subscribe({}, (event) => {
|
|
32980
|
-
|
|
32981
|
-
this.countsOverflow ||= this.observed === Number.MAX_SAFE_INTEGER;
|
|
32982
|
-
if (this.countsOverflow) return;
|
|
32983
|
-
this.observed++;
|
|
32984
|
-
const entry = this.eventToTrace(event);
|
|
32985
|
-
if (entry === null) {
|
|
32986
|
-
this.foreignDropped++;
|
|
32987
|
-
return;
|
|
32988
|
-
}
|
|
32989
|
-
if (this.buffer.length >= this.maxBuffer) {
|
|
32990
|
-
this.buffer.shift();
|
|
32991
|
-
this.evicted++;
|
|
32992
|
-
}
|
|
32993
|
-
this.buffer.push(entry);
|
|
32981
|
+
this.captureEvent(event);
|
|
32994
32982
|
});
|
|
32995
32983
|
}
|
|
32996
32984
|
options;
|
|
@@ -33002,9 +32990,51 @@ var TraceWriter = class {
|
|
|
33002
32990
|
observed = 0;
|
|
33003
32991
|
foreignDropped = 0;
|
|
33004
32992
|
evicted = 0;
|
|
32993
|
+
invalidDropped = 0;
|
|
32994
|
+
invalidWarningEmitted = false;
|
|
33005
32995
|
countsOverflow = false;
|
|
33006
32996
|
pendingFlush;
|
|
33007
32997
|
flushAgain = false;
|
|
32998
|
+
/** Classify before committing counters so a failed conversion has a disposition. */
|
|
32999
|
+
captureEvent(event) {
|
|
33000
|
+
if (this.stopped || this.countsOverflow) return;
|
|
33001
|
+
let entry;
|
|
33002
|
+
try {
|
|
33003
|
+
const converted = this.eventToTrace(event);
|
|
33004
|
+
entry = converted === null ? null : ExecutionTraceEntrySchema.parse(converted);
|
|
33005
|
+
} catch {
|
|
33006
|
+
this.captureInvalidEvent();
|
|
33007
|
+
return;
|
|
33008
|
+
}
|
|
33009
|
+
if (!this.observeEvent()) return;
|
|
33010
|
+
if (entry === null) {
|
|
33011
|
+
this.foreignDropped++;
|
|
33012
|
+
return;
|
|
33013
|
+
}
|
|
33014
|
+
if (this.buffer.length >= this.maxBuffer) {
|
|
33015
|
+
this.buffer.shift();
|
|
33016
|
+
this.evicted++;
|
|
33017
|
+
}
|
|
33018
|
+
this.buffer.push(entry);
|
|
33019
|
+
}
|
|
33020
|
+
captureInvalidEvent() {
|
|
33021
|
+
if (!this.observeEvent()) return;
|
|
33022
|
+
if (this.invalidDropped === Number.MAX_SAFE_INTEGER) {
|
|
33023
|
+
this.countsOverflow = true;
|
|
33024
|
+
return;
|
|
33025
|
+
}
|
|
33026
|
+
this.invalidDropped++;
|
|
33027
|
+
if (!this.invalidWarningEmitted) {
|
|
33028
|
+
this.invalidWarningEmitted = true;
|
|
33029
|
+
logger23.warn("Invalid trace events were dropped; consult snapshot invalidDropped");
|
|
33030
|
+
}
|
|
33031
|
+
}
|
|
33032
|
+
observeEvent() {
|
|
33033
|
+
this.countsOverflow ||= this.observed === Number.MAX_SAFE_INTEGER;
|
|
33034
|
+
if (this.countsOverflow) return false;
|
|
33035
|
+
this.observed++;
|
|
33036
|
+
return true;
|
|
33037
|
+
}
|
|
33008
33038
|
/**
|
|
33009
33039
|
* Serializes/coalesces bounded pending work. Each snapshot freezes rows and counters
|
|
33010
33040
|
* before its first await. Files rename individually; readers verify their digest binding.
|
|
@@ -33034,7 +33064,8 @@ var TraceWriter = class {
|
|
|
33034
33064
|
writerObserved: {
|
|
33035
33065
|
observed: this.observed,
|
|
33036
33066
|
foreignDropped: this.foreignDropped,
|
|
33037
|
-
evicted: this.evicted
|
|
33067
|
+
evicted: this.evicted,
|
|
33068
|
+
invalidDropped: this.invalidDropped
|
|
33038
33069
|
},
|
|
33039
33070
|
retained: relationCounts(entries)
|
|
33040
33071
|
});
|
|
@@ -46301,6 +46332,7 @@ var WEATHER_REPORT_OUTPUT_SCHEMA = {
|
|
|
46301
46332
|
};
|
|
46302
46333
|
|
|
46303
46334
|
// src/mcp/tools/weather-report-tool.ts
|
|
46335
|
+
var WEATHER_REPORT_DESCRIPTION = "Get multi-CLI performance weather report. Shows per-CLI success rates, per-category breakdowns, and adaptive routing bonus recommendations based on observed task outcomes. Pipeline join coverage is unmeasured when trace invalid losses are counted or unknown; validated retained logical joins remain visible.";
|
|
46304
46336
|
function serializeReport(report) {
|
|
46305
46337
|
return {
|
|
46306
46338
|
...report,
|
|
@@ -46368,7 +46400,6 @@ function registerWeatherReportTool(server, deps) {
|
|
|
46368
46400
|
]).optional().describe("Filter by task category"),
|
|
46369
46401
|
includeAdaptive: z91.boolean().optional().describe("Include adaptive routing bonuses (default: true)")
|
|
46370
46402
|
};
|
|
46371
|
-
const description = "Get multi-CLI performance weather report. Shows per-CLI success rates, per-category breakdowns, and adaptive routing bonus recommendations based on observed task outcomes.";
|
|
46372
46403
|
const secureHandler = createSecureHandler(weatherReportHandler, {
|
|
46373
46404
|
toolName: "weather_report",
|
|
46374
46405
|
rateLimiter: deps.rateLimiter,
|
|
@@ -46382,7 +46413,7 @@ function registerWeatherReportTool(server, deps) {
|
|
|
46382
46413
|
server,
|
|
46383
46414
|
"weather_report",
|
|
46384
46415
|
{
|
|
46385
|
-
description,
|
|
46416
|
+
description: WEATHER_REPORT_DESCRIPTION,
|
|
46386
46417
|
inputSchema: toolSchema,
|
|
46387
46418
|
outputSchema: WEATHER_REPORT_OUTPUT_SCHEMA,
|
|
46388
46419
|
annotations: getToolAnnotations("weather_report")
|
|
@@ -47270,7 +47301,10 @@ function attributionReport(reading, eventType, limit) {
|
|
|
47270
47301
|
const filtered = eventType === void 0 ? reading.entries : reading.entries.filter((e) => e.eventType === eventType);
|
|
47271
47302
|
return {
|
|
47272
47303
|
status: "measured",
|
|
47273
|
-
writerObserved:
|
|
47304
|
+
writerObserved: {
|
|
47305
|
+
...reading.snapshot.writerObserved,
|
|
47306
|
+
invalidDropped: reading.snapshot.writerObserved.invalidDropped ?? null
|
|
47307
|
+
},
|
|
47274
47308
|
retained: reading.snapshot.retained,
|
|
47275
47309
|
filtered: relationCounts(filtered),
|
|
47276
47310
|
returned: relationCounts(filtered.slice(0, limit))
|
|
@@ -47358,7 +47392,7 @@ function registerQueryTraceTool(server, deps) {
|
|
|
47358
47392
|
eventType: z101.string().max(100).regex(/^[a-zA-Z0-9._-]+$/).optional().describe("Filter by event type (e.g., model.called)"),
|
|
47359
47393
|
limit: z101.number().min(1).max(500).optional().describe("Max events to return (default: 100)")
|
|
47360
47394
|
};
|
|
47361
|
-
const description = "Query execution traces by run ID. Returns agent and model attribution for pipeline runs including decision paths, error taxonomy, timing and snapshot-bound attribution counts. run_related is logical session participation only: reused/concurrent invocations are indistinguishable; no attempt, worker or settlement proof.";
|
|
47395
|
+
const description = "Query execution traces by run ID. Returns agent and model attribution for pipeline runs including decision paths, error taxonomy, timing and snapshot-bound attribution counts. writerObserved.invalidDropped counts rejected conversions or rows, and is null for historical snapshots without that measurement. Counted or unknown loss does not certify complete capture. run_related is logical session participation only: reused/concurrent invocations are indistinguishable; no attempt, worker or settlement proof.";
|
|
47362
47396
|
const secureHandler = createSecureHandler(queryTraceHandler, {
|
|
47363
47397
|
toolName: "query_trace",
|
|
47364
47398
|
rateLimiter: deps.rateLimiter,
|
|
@@ -50026,7 +50060,7 @@ async function tryIssueTriage(task) {
|
|
|
50026
50060
|
try {
|
|
50027
50061
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
50028
50062
|
if (issueMatch === null) return null;
|
|
50029
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
50063
|
+
const { createIssueTriage } = await import("./issue-triage-II4NCCV5.js");
|
|
50030
50064
|
const triage = createIssueTriage();
|
|
50031
50065
|
const owner = issueMatch[1] ?? "";
|
|
50032
50066
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -50054,7 +50088,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
50054
50088
|
]);
|
|
50055
50089
|
async function classifyWithLLM(task) {
|
|
50056
50090
|
try {
|
|
50057
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
50091
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-DQ4ZBZQG.js");
|
|
50058
50092
|
const prompt = [
|
|
50059
50093
|
"Classify this task into exactly one pipeline template.",
|
|
50060
50094
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -50423,7 +50457,7 @@ function buildVotingInput(plan, config) {
|
|
|
50423
50457
|
}
|
|
50424
50458
|
async function executeSingleVote(plan, config, log) {
|
|
50425
50459
|
try {
|
|
50426
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
50460
|
+
const { executeVoting } = await import("./consensus-vote-N4KH4PMO.js");
|
|
50427
50461
|
const input = buildVotingInput(plan, config);
|
|
50428
50462
|
const result = await executeVoting(input, log);
|
|
50429
50463
|
return parseVotingResult(result);
|
|
@@ -52267,7 +52301,7 @@ var memoryInitPromise = null;
|
|
|
52267
52301
|
async function initPipelineMemory() {
|
|
52268
52302
|
if (cachedMemory !== null) return cachedMemory;
|
|
52269
52303
|
try {
|
|
52270
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
52304
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-GFWMW2VB.js");
|
|
52271
52305
|
const { getLearningDir } = await import("./learning-persistence-NW5AE222.js");
|
|
52272
52306
|
const mem = createSessionMemory2(getLearningDir());
|
|
52273
52307
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -52329,7 +52363,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
52329
52363
|
callRecord(routingMemoryCache);
|
|
52330
52364
|
return;
|
|
52331
52365
|
}
|
|
52332
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
52366
|
+
routingMemoryInitPromise ??= import("./routing-memory-J4NG247L.js").then(({ createRoutingMemory }) => {
|
|
52333
52367
|
routingMemoryCache ??= createRoutingMemory();
|
|
52334
52368
|
return routingMemoryCache;
|
|
52335
52369
|
}).catch((error) => {
|
|
@@ -52899,7 +52933,7 @@ async function prepareCompletePlanVote(plan, research, config, signal) {
|
|
|
52899
52933
|
return { proposal, roleAdapters: panel.seats };
|
|
52900
52934
|
}
|
|
52901
52935
|
async function executePlanVote(plan, research, config, strategy, signal) {
|
|
52902
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
52936
|
+
const { executeVoting } = await import("./consensus-vote-N4KH4PMO.js");
|
|
52903
52937
|
const { proposal, roleAdapters } = await prepareCompletePlanVote(plan, research, config, signal);
|
|
52904
52938
|
const votingResult = await executeVoting(
|
|
52905
52939
|
{
|
|
@@ -54710,7 +54744,7 @@ ${text}` : "";
|
|
|
54710
54744
|
}
|
|
54711
54745
|
async function getWeatherContext() {
|
|
54712
54746
|
try {
|
|
54713
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
54747
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-AZCNKMA3.js");
|
|
54714
54748
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
54715
54749
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
54716
54750
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -54728,7 +54762,7 @@ ${lines}
|
|
|
54728
54762
|
}
|
|
54729
54763
|
async function getMemoryContext(task) {
|
|
54730
54764
|
try {
|
|
54731
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
54765
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-GFWMW2VB.js");
|
|
54732
54766
|
const { getLearningDir } = await import("./learning-persistence-NW5AE222.js");
|
|
54733
54767
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
54734
54768
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -55487,7 +55521,7 @@ async function searchCodebaseForTask(task) {
|
|
|
55487
55521
|
}
|
|
55488
55522
|
async function queryResearchRegistry(task) {
|
|
55489
55523
|
try {
|
|
55490
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
55524
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-OZPYX7TW.js");
|
|
55491
55525
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
55492
55526
|
if (topic === void 0) return null;
|
|
55493
55527
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -55606,7 +55640,7 @@ function createScanStageWrapper() {
|
|
|
55606
55640
|
try {
|
|
55607
55641
|
const repo = await selectAuditRepository(ctx.task);
|
|
55608
55642
|
if (!repo.ok) return failOutput(PIPELINE_STATE_KEYS.FINDINGS, repo.error, getTimeProvider().now() - start);
|
|
55609
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
55643
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-TR6RVIKK.js");
|
|
55610
55644
|
const plan = await generateSecurityPlan2({ repo: repo.value, maxScanners: 10 });
|
|
55611
55645
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
55612
55646
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -58979,7 +59013,7 @@ var GitHubTaskTracker = class {
|
|
|
58979
59013
|
cachedProvider = null;
|
|
58980
59014
|
async getProvider() {
|
|
58981
59015
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
58982
|
-
const { createScmProvider } = await import("./factory-
|
|
59016
|
+
const { createScmProvider } = await import("./factory-DFJ5M7PT.js");
|
|
58983
59017
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
58984
59018
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
58985
59019
|
this.cachedProvider = result.value;
|
|
@@ -60098,7 +60132,7 @@ function withCatalogueCaveat(report) {
|
|
|
60098
60132
|
var GATEWAY_TRANSPORT = "gateway";
|
|
60099
60133
|
var GATEWAY_API_ARM = "api:custom-openai";
|
|
60100
60134
|
async function gatewaySource(apiArm) {
|
|
60101
|
-
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-
|
|
60135
|
+
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-IT3SZU5K.js");
|
|
60102
60136
|
const config = readOpenAICompatEnv();
|
|
60103
60137
|
if (config !== null) {
|
|
60104
60138
|
return {
|
|
@@ -60117,7 +60151,7 @@ async function gatewaySource(apiArm) {
|
|
|
60117
60151
|
}
|
|
60118
60152
|
async function defaultSources(includeOpenRouter, adaptersFactory) {
|
|
60119
60153
|
const adapters = new Map(
|
|
60120
|
-
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-
|
|
60154
|
+
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-IJ6I3OTT.js")).createAllAdapters()
|
|
60121
60155
|
);
|
|
60122
60156
|
const apiArm = adapters.get(GATEWAY_API_ARM);
|
|
60123
60157
|
adapters.delete(GATEWAY_API_ARM);
|
|
@@ -63389,4 +63423,4 @@ export {
|
|
|
63389
63423
|
initializeSandbox,
|
|
63390
63424
|
getSandboxMode
|
|
63391
63425
|
};
|
|
63392
|
-
//# sourceMappingURL=chunk-
|
|
63426
|
+
//# sourceMappingURL=chunk-PXN6G4DM.js.map
|