nexus-agents 4.20.0 → 4.22.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/{child-mcp-config-6JLJLDGR.js → child-mcp-config-GNF2DS7K.js} +2 -2
- package/dist/{chunk-3WGAPD5L.js → chunk-26VBDXT7.js} +3 -3
- package/dist/{chunk-JKWBSEL3.js → chunk-2SXZIUEA.js} +2 -2
- package/dist/{chunk-7CGVYJQS.js → chunk-3AAAEN6N.js} +5 -5
- package/dist/{chunk-RAOEVIA2.js → chunk-3X2ZQAJI.js} +4 -4
- package/dist/{chunk-SHMGRIYH.js → chunk-6MVRXQ6V.js} +2 -2
- package/dist/{chunk-SWCDZHUY.js → chunk-7B5YTCHU.js} +2 -2
- package/dist/{chunk-AZMXXJ5X.js → chunk-AJM6RCCB.js} +2 -2
- package/dist/{chunk-XOC6DP35.js → chunk-AQV5RKO7.js} +37 -5
- package/dist/chunk-AQV5RKO7.js.map +1 -0
- package/dist/{chunk-2AAG45CT.js → chunk-BDEWOJL4.js} +2 -2
- package/dist/{chunk-MMDJ4TU6.js → chunk-BZTFS7FN.js} +2 -2
- package/dist/{chunk-3WKO7D53.js → chunk-C67BIG35.js} +8 -8
- package/dist/{chunk-LTS4MLEO.js → chunk-G2USF7DN.js} +51 -31
- package/dist/chunk-G2USF7DN.js.map +1 -0
- package/dist/{chunk-EI3AC7X2.js → chunk-HVCYICUX.js} +4 -4
- package/dist/{chunk-MY33A5CO.js → chunk-HWBUN7WP.js} +2 -2
- package/dist/{chunk-TKI4VCS6.js → chunk-IDLQNS5U.js} +3 -3
- package/dist/{chunk-SD42OJST.js → chunk-IIJSUNEK.js} +7 -7
- package/dist/{chunk-EQG2GVM7.js → chunk-JJC5YKBH.js} +44 -19
- package/dist/chunk-JJC5YKBH.js.map +1 -0
- package/dist/{chunk-3VJ2MSUU.js → chunk-KASC5XK7.js} +7 -7
- package/dist/{chunk-3CU6PDLQ.js → chunk-LYI5GXON.js} +5 -5
- package/dist/{chunk-SPU2PTV7.js → chunk-M4BAGHYQ.js} +2 -2
- package/dist/{chunk-FBR5GT7E.js → chunk-MDVHI3PP.js} +6 -6
- package/dist/{chunk-HBTUFRGO.js → chunk-MNPD6TMW.js} +2 -2
- package/dist/{chunk-Q2VYGOSY.js → chunk-NF7GW4QQ.js} +2 -2
- package/dist/{chunk-5HGWH5WI.js → chunk-PAZLJC46.js} +2 -2
- package/dist/{chunk-UGIA52M7.js → chunk-PT3QWCKF.js} +3 -3
- package/dist/{chunk-EB3NZFSA.js → chunk-QWTDGESS.js} +2 -2
- package/dist/{chunk-XB4XNBNK.js → chunk-RNMJUIPI.js} +42 -36
- package/dist/{chunk-XB4XNBNK.js.map → chunk-RNMJUIPI.js.map} +1 -1
- package/dist/{chunk-2GSHMVVW.js → chunk-S3EAMH4I.js} +3 -3
- package/dist/{chunk-R54L73RR.js → chunk-TV3L3GME.js} +2 -2
- package/dist/{chunk-2D3KX7MD.js → chunk-VZHZFAYL.js} +2 -2
- package/dist/{chunk-BNWYB6E6.js → chunk-Z6W6G35I.js} +2 -2
- package/dist/{chunk-JUXLSC52.js → chunk-ZDLWHEFZ.js} +2 -2
- package/dist/{cli-circuit-breaker-VX7YIXHE.js → cli-circuit-breaker-NSXLDTKZ.js} +3 -3
- package/dist/cli.js +59 -46
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-BU4CXKV2.js → composite-router-ULSYJV7S.js} +2 -2
- package/dist/{consensus-vote-QLVXXHZW.js → consensus-vote-OUZGLMJ4.js} +16 -16
- package/dist/{context-retriever-Y7FS4RCN.js → context-retriever-QAZWTGAT.js} +8 -8
- package/dist/{doctor-deep-FHMLBUAO.js → doctor-deep-IWQUV5IH.js} +3 -3
- package/dist/{doctor-live-H2CSOEWT.js → doctor-live-MJSBAH5J.js} +9 -9
- package/dist/{expert-bridge-KH35UIRS.js → expert-bridge-6D43UDLS.js} +4 -4
- package/dist/{factory-NXF36QPJ.js → factory-2MLMLJDK.js} +9 -9
- package/dist/{factory-FEJB4OCS.js → factory-GUBAT3HH.js} +5 -5
- package/dist/{improvement-review-XPIA6KDL.js → improvement-review-W6HJIQLG.js} +5 -5
- package/dist/index.d.ts +11 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-RMQHV22F.js → init-opencode-TCP3OSFK.js} +6 -6
- package/dist/issue-triage-CLHI2MHK.js +17 -0
- package/dist/{pr-reviewer-helpers-JTONAPBK.js → pr-reviewer-helpers-VKQR2T3Y.js} +4 -4
- package/dist/{registry-command-NFR5FYUP.js → registry-command-ALLKEWVO.js} +2 -2
- package/dist/{repo-security-plan-H4FLKET3.js → repo-security-plan-SJYA5PJC.js} +3 -3
- package/dist/{research-helpers-synthesize-VXUN6GGY.js → research-helpers-synthesize-ERZD3P4M.js} +4 -4
- package/dist/{routing-memory-GARJ7D7B.js → routing-memory-4WAKAU2L.js} +2 -2
- package/dist/{session-memory-AEOECSZP.js → session-memory-XR5FJQSM.js} +3 -3
- package/dist/{setup-config-N6WDWBUU.js → setup-config-26GAKOC3.js} +3 -3
- package/dist/{setup-custom-api-LRRWPNLL.js → setup-custom-api-TKMWDJJW.js} +4 -4
- package/dist/setup-data-dir-HTZZ5FII.js +28 -0
- package/dist/{tool-memory-QIOKTGQT.js → tool-memory-QCZKITSG.js} +5 -5
- package/dist/{unified-registry-5GGXSFFS.js → unified-registry-63G7RTA6.js} +10 -10
- package/dist/{weather-report-ZWXHO3EF.js → weather-report-JVVJXNQY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EQG2GVM7.js.map +0 -1
- package/dist/chunk-LTS4MLEO.js.map +0 -1
- package/dist/chunk-XOC6DP35.js.map +0 -1
- package/dist/issue-triage-M2YN5FMW.js +0 -17
- package/dist/setup-data-dir-4IBG3QPA.js +0 -28
- /package/dist/{child-mcp-config-6JLJLDGR.js.map → child-mcp-config-GNF2DS7K.js.map} +0 -0
- /package/dist/{chunk-3WGAPD5L.js.map → chunk-26VBDXT7.js.map} +0 -0
- /package/dist/{chunk-JKWBSEL3.js.map → chunk-2SXZIUEA.js.map} +0 -0
- /package/dist/{chunk-7CGVYJQS.js.map → chunk-3AAAEN6N.js.map} +0 -0
- /package/dist/{chunk-RAOEVIA2.js.map → chunk-3X2ZQAJI.js.map} +0 -0
- /package/dist/{chunk-SHMGRIYH.js.map → chunk-6MVRXQ6V.js.map} +0 -0
- /package/dist/{chunk-SWCDZHUY.js.map → chunk-7B5YTCHU.js.map} +0 -0
- /package/dist/{chunk-AZMXXJ5X.js.map → chunk-AJM6RCCB.js.map} +0 -0
- /package/dist/{chunk-2AAG45CT.js.map → chunk-BDEWOJL4.js.map} +0 -0
- /package/dist/{chunk-MMDJ4TU6.js.map → chunk-BZTFS7FN.js.map} +0 -0
- /package/dist/{chunk-3WKO7D53.js.map → chunk-C67BIG35.js.map} +0 -0
- /package/dist/{chunk-EI3AC7X2.js.map → chunk-HVCYICUX.js.map} +0 -0
- /package/dist/{chunk-MY33A5CO.js.map → chunk-HWBUN7WP.js.map} +0 -0
- /package/dist/{chunk-TKI4VCS6.js.map → chunk-IDLQNS5U.js.map} +0 -0
- /package/dist/{chunk-SD42OJST.js.map → chunk-IIJSUNEK.js.map} +0 -0
- /package/dist/{chunk-3VJ2MSUU.js.map → chunk-KASC5XK7.js.map} +0 -0
- /package/dist/{chunk-3CU6PDLQ.js.map → chunk-LYI5GXON.js.map} +0 -0
- /package/dist/{chunk-SPU2PTV7.js.map → chunk-M4BAGHYQ.js.map} +0 -0
- /package/dist/{chunk-FBR5GT7E.js.map → chunk-MDVHI3PP.js.map} +0 -0
- /package/dist/{chunk-HBTUFRGO.js.map → chunk-MNPD6TMW.js.map} +0 -0
- /package/dist/{chunk-Q2VYGOSY.js.map → chunk-NF7GW4QQ.js.map} +0 -0
- /package/dist/{chunk-5HGWH5WI.js.map → chunk-PAZLJC46.js.map} +0 -0
- /package/dist/{chunk-UGIA52M7.js.map → chunk-PT3QWCKF.js.map} +0 -0
- /package/dist/{chunk-EB3NZFSA.js.map → chunk-QWTDGESS.js.map} +0 -0
- /package/dist/{chunk-2GSHMVVW.js.map → chunk-S3EAMH4I.js.map} +0 -0
- /package/dist/{chunk-R54L73RR.js.map → chunk-TV3L3GME.js.map} +0 -0
- /package/dist/{chunk-2D3KX7MD.js.map → chunk-VZHZFAYL.js.map} +0 -0
- /package/dist/{chunk-BNWYB6E6.js.map → chunk-Z6W6G35I.js.map} +0 -0
- /package/dist/{chunk-JUXLSC52.js.map → chunk-ZDLWHEFZ.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-VX7YIXHE.js.map → cli-circuit-breaker-NSXLDTKZ.js.map} +0 -0
- /package/dist/{composite-router-BU4CXKV2.js.map → composite-router-ULSYJV7S.js.map} +0 -0
- /package/dist/{consensus-vote-QLVXXHZW.js.map → consensus-vote-OUZGLMJ4.js.map} +0 -0
- /package/dist/{context-retriever-Y7FS4RCN.js.map → context-retriever-QAZWTGAT.js.map} +0 -0
- /package/dist/{doctor-deep-FHMLBUAO.js.map → doctor-deep-IWQUV5IH.js.map} +0 -0
- /package/dist/{doctor-live-H2CSOEWT.js.map → doctor-live-MJSBAH5J.js.map} +0 -0
- /package/dist/{expert-bridge-KH35UIRS.js.map → expert-bridge-6D43UDLS.js.map} +0 -0
- /package/dist/{factory-FEJB4OCS.js.map → factory-2MLMLJDK.js.map} +0 -0
- /package/dist/{factory-NXF36QPJ.js.map → factory-GUBAT3HH.js.map} +0 -0
- /package/dist/{improvement-review-XPIA6KDL.js.map → improvement-review-W6HJIQLG.js.map} +0 -0
- /package/dist/{init-opencode-RMQHV22F.js.map → init-opencode-TCP3OSFK.js.map} +0 -0
- /package/dist/{issue-triage-M2YN5FMW.js.map → issue-triage-CLHI2MHK.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-JTONAPBK.js.map → pr-reviewer-helpers-VKQR2T3Y.js.map} +0 -0
- /package/dist/{registry-command-NFR5FYUP.js.map → registry-command-ALLKEWVO.js.map} +0 -0
- /package/dist/{repo-security-plan-H4FLKET3.js.map → repo-security-plan-SJYA5PJC.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-VXUN6GGY.js.map → research-helpers-synthesize-ERZD3P4M.js.map} +0 -0
- /package/dist/{routing-memory-GARJ7D7B.js.map → routing-memory-4WAKAU2L.js.map} +0 -0
- /package/dist/{session-memory-AEOECSZP.js.map → session-memory-XR5FJQSM.js.map} +0 -0
- /package/dist/{setup-config-N6WDWBUU.js.map → setup-config-26GAKOC3.js.map} +0 -0
- /package/dist/{setup-custom-api-LRRWPNLL.js.map → setup-custom-api-TKMWDJJW.js.map} +0 -0
- /package/dist/{setup-data-dir-4IBG3QPA.js.map → setup-data-dir-HTZZ5FII.js.map} +0 -0
- /package/dist/{tool-memory-QIOKTGQT.js.map → tool-memory-QCZKITSG.js.map} +0 -0
- /package/dist/{unified-registry-5GGXSFFS.js.map → unified-registry-63G7RTA6.js.map} +0 -0
- /package/dist/{weather-report-ZWXHO3EF.js.map → weather-report-JVVJXNQY.js.map} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZDLWHEFZ.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
createStream,
|
|
8
8
|
planOptionalParams,
|
|
9
9
|
requireApiKey,
|
|
10
10
|
validateApiKeyPresence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TV3L3GME.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2SXZIUEA.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigError,
|
|
17
17
|
ModelCapability,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
getTokenEstimator,
|
|
24
24
|
ok
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IDLQNS5U.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
discoverModels,
|
|
834
834
|
buildOpenAICompatAdapters
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-LYI5GXON.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createGetRetryConfig,
|
|
12
12
|
createGetTimeout,
|
|
13
13
|
createGetToolRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IDLQNS5U.js";
|
|
15
15
|
|
|
16
16
|
// src/config/defaults.ts
|
|
17
17
|
var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
|
|
@@ -230,4 +230,4 @@ export {
|
|
|
230
230
|
CUSTOM_API_DEFAULT_MODEL,
|
|
231
231
|
DEFAULTS
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=chunk-
|
|
233
|
+
//# sourceMappingURL=chunk-M4BAGHYQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z6W6G35I.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
gateWithReputation,
|
|
12
12
|
resolveReputationGatingMode,
|
|
13
13
|
sanitizeInput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HWBUN7WP.js";
|
|
15
15
|
import {
|
|
16
16
|
emitPolicyEvent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NF7GW4QQ.js";
|
|
18
18
|
import {
|
|
19
19
|
hasToken
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AJM6RCCB.js";
|
|
21
21
|
import {
|
|
22
22
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
23
23
|
createLogger,
|
|
24
24
|
err,
|
|
25
25
|
getTimeProvider,
|
|
26
26
|
ok
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IDLQNS5U.js";
|
|
28
28
|
|
|
29
29
|
// src/security/trust-classifier.ts
|
|
30
30
|
function mapAuthorAssociation(association) {
|
|
@@ -1247,4 +1247,4 @@ export {
|
|
|
1247
1247
|
IssueTriage,
|
|
1248
1248
|
createIssueTriage
|
|
1249
1249
|
};
|
|
1250
|
-
//# sourceMappingURL=chunk-
|
|
1250
|
+
//# sourceMappingURL=chunk-MDVHI3PP.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IDLQNS5U.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-MNPD6TMW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IDLQNS5U.js";
|
|
4
4
|
|
|
5
5
|
// src/security/audit-trail.ts
|
|
6
6
|
var MAX_EVENTS = 1e4;
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
createGraphAuditBridge,
|
|
206
206
|
createAuditTrail
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-NF7GW4QQ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IDLQNS5U.js";
|
|
7
7
|
|
|
8
8
|
// src/config/model-availability.ts
|
|
9
9
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -150,4 +150,4 @@ export {
|
|
|
150
150
|
resetAvailabilityCache,
|
|
151
151
|
filterAvailableModels
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
153
|
+
//# sourceMappingURL=chunk-PAZLJC46.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JJC5YKBH.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getPipelineEventBus,
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IDLQNS5U.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir,
|
|
25
25
|
nexusDataPath
|
|
@@ -2132,4 +2132,4 @@ export {
|
|
|
2132
2132
|
runImprovementReview,
|
|
2133
2133
|
registerImprovementReviewTool
|
|
2134
2134
|
};
|
|
2135
|
-
//# sourceMappingURL=chunk-
|
|
2135
|
+
//# sourceMappingURL=chunk-PT3QWCKF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IDLQNS5U.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-QWTDGESS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VZHZFAYL.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IIJSUNEK.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KASC5XK7.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
abortJob,
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
defaultCollisionEnvelope,
|
|
35
35
|
defaultPendingEnvelope,
|
|
36
36
|
defaultReplayEnvelope,
|
|
37
|
+
isAbandonedJob,
|
|
37
38
|
isRateLimitError,
|
|
38
39
|
listJobs,
|
|
39
40
|
readJobResult,
|
|
@@ -45,24 +46,24 @@ import {
|
|
|
45
46
|
simulationDeniedResult,
|
|
46
47
|
toJobSummary,
|
|
47
48
|
writeJobCancelled
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-G2USF7DN.js";
|
|
49
50
|
import {
|
|
50
51
|
allOf
|
|
51
52
|
} from "./chunk-OQB3XC5O.js";
|
|
52
53
|
import {
|
|
53
54
|
normalizeTopicToCanonical,
|
|
54
55
|
synthesizeResearch
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-S3EAMH4I.js";
|
|
56
57
|
import {
|
|
57
58
|
IssueTriage
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-MDVHI3PP.js";
|
|
59
60
|
import {
|
|
60
61
|
resolveEnvMode,
|
|
61
62
|
sanitizeInput
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HWBUN7WP.js";
|
|
63
64
|
import {
|
|
64
65
|
withPrerequisite
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-PT3QWCKF.js";
|
|
66
67
|
import {
|
|
67
68
|
NOOP_NOTIFIER,
|
|
68
69
|
RateLimiter,
|
|
@@ -86,18 +87,18 @@ import {
|
|
|
86
87
|
withAuditTrail,
|
|
87
88
|
withProgressHeartbeat,
|
|
88
89
|
wrapToolWithTimeout
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-JJC5YKBH.js";
|
|
90
91
|
import {
|
|
91
92
|
createAuditTrail,
|
|
92
93
|
createGraphAuditBridge,
|
|
93
94
|
emitPipelinePolicyEvent
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-NF7GW4QQ.js";
|
|
95
96
|
import {
|
|
96
97
|
EventTopics,
|
|
97
98
|
createEvent,
|
|
98
99
|
getGlobalEventBus,
|
|
99
100
|
getGlobalRegistry
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-AQV5RKO7.js";
|
|
101
102
|
import {
|
|
102
103
|
IDENTIFIER_RE,
|
|
103
104
|
LANG_VALUES,
|
|
@@ -130,29 +131,29 @@ import {
|
|
|
130
131
|
parseRegistry,
|
|
131
132
|
sourceExistsInRegistry,
|
|
132
133
|
summarizeContextForPrompt
|
|
133
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-3AAAEN6N.js";
|
|
134
135
|
import {
|
|
135
136
|
loadPapersRegistry,
|
|
136
137
|
loadTechniquesRegistry,
|
|
137
138
|
resolveInsideRoot
|
|
138
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-7B5YTCHU.js";
|
|
139
140
|
import {
|
|
140
141
|
getTokenEnvVars,
|
|
141
142
|
resolveToken
|
|
142
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-AJM6RCCB.js";
|
|
143
144
|
import {
|
|
144
145
|
DEFAULT_RELEVANCE_CONFIG,
|
|
145
146
|
MemoryImportance,
|
|
146
147
|
calculateTextJaccardSimilarity,
|
|
147
148
|
getToolMemory
|
|
148
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-HVCYICUX.js";
|
|
149
150
|
import {
|
|
150
151
|
STOPWORDS,
|
|
151
152
|
truncateWithInfo
|
|
152
153
|
} from "./chunk-6T3EPABN.js";
|
|
153
154
|
import {
|
|
154
155
|
createSessionMemory
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-6MVRXQ6V.js";
|
|
156
157
|
import {
|
|
157
158
|
BUILT_IN_EXPERTS,
|
|
158
159
|
BuiltInExpertTypeSchema,
|
|
@@ -170,25 +171,25 @@ import {
|
|
|
170
171
|
getAvailableClis,
|
|
171
172
|
sleep,
|
|
172
173
|
withTimeout
|
|
173
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-C67BIG35.js";
|
|
174
175
|
import {
|
|
175
176
|
BaseAdapter,
|
|
176
177
|
createStream,
|
|
177
178
|
requireApiKey,
|
|
178
179
|
validateApiKeyPresence
|
|
179
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-TV3L3GME.js";
|
|
180
181
|
import {
|
|
181
182
|
DEFAULTS
|
|
182
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-M4BAGHYQ.js";
|
|
183
184
|
import {
|
|
184
185
|
getAvailabilityCache,
|
|
185
186
|
getCliForModelId,
|
|
186
187
|
resolveFallback
|
|
187
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-PAZLJC46.js";
|
|
188
189
|
import {
|
|
189
190
|
generateHyphenId,
|
|
190
191
|
generateUUID
|
|
191
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-MNPD6TMW.js";
|
|
192
193
|
import {
|
|
193
194
|
AGENT_ROUTER_TIMEOUTS,
|
|
194
195
|
API_TIMEOUTS,
|
|
@@ -292,7 +293,7 @@ import {
|
|
|
292
293
|
selectStrategyByManifest,
|
|
293
294
|
toExpertTaskAnalysisResult,
|
|
294
295
|
withStep
|
|
295
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-IDLQNS5U.js";
|
|
296
297
|
import {
|
|
297
298
|
ensureLearningDir,
|
|
298
299
|
getMetaOutcomesFile,
|
|
@@ -29543,7 +29544,7 @@ function execIdFields(executionId) {
|
|
|
29543
29544
|
async function populateUnifiedContextOnState(state, options) {
|
|
29544
29545
|
const taskCandidate = state["task"];
|
|
29545
29546
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29546
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29547
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-QAZWTGAT.js");
|
|
29547
29548
|
const category = inferTaskCategory2(taskCandidate);
|
|
29548
29549
|
const executionId = options?.executionId;
|
|
29549
29550
|
const execFields = execIdFields(executionId);
|
|
@@ -43613,10 +43614,15 @@ function getJobResultHandler(args) {
|
|
|
43613
43614
|
};
|
|
43614
43615
|
return Promise.resolve(toolSuccess(JSON.stringify(response2, null, 2)));
|
|
43615
43616
|
}
|
|
43617
|
+
const abandoned = isAbandonedJob(record, getTimeProvider().now());
|
|
43616
43618
|
const response = {
|
|
43617
43619
|
jobId: parsed.data.jobId,
|
|
43618
43620
|
found: true,
|
|
43619
|
-
record
|
|
43621
|
+
record,
|
|
43622
|
+
...abandoned ? {
|
|
43623
|
+
abandoned: true,
|
|
43624
|
+
errorMessage: "This job has been `pending` longer than the maximum a job body can run, so the process that owned it is gone. Nothing will settle it \u2014 dispatch again."
|
|
43625
|
+
} : {}
|
|
43620
43626
|
};
|
|
43621
43627
|
return Promise.resolve(toolSuccess(JSON.stringify(response, null, 2)));
|
|
43622
43628
|
}
|
|
@@ -45242,7 +45248,7 @@ async function tryIssueTriage(task) {
|
|
|
45242
45248
|
try {
|
|
45243
45249
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45244
45250
|
if (issueMatch === null) return null;
|
|
45245
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45251
|
+
const { createIssueTriage } = await import("./issue-triage-CLHI2MHK.js");
|
|
45246
45252
|
const triage = createIssueTriage();
|
|
45247
45253
|
const owner = issueMatch[1] ?? "";
|
|
45248
45254
|
const num = issueMatch[2] ?? "";
|
|
@@ -45270,7 +45276,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45270
45276
|
]);
|
|
45271
45277
|
async function classifyWithLLM(task) {
|
|
45272
45278
|
try {
|
|
45273
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45279
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-6D43UDLS.js");
|
|
45274
45280
|
const prompt = [
|
|
45275
45281
|
"Classify this task into exactly one pipeline template.",
|
|
45276
45282
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47020,7 +47026,7 @@ var memoryInitPromise = null;
|
|
|
47020
47026
|
async function initPipelineMemory() {
|
|
47021
47027
|
if (cachedMemory !== null) return cachedMemory;
|
|
47022
47028
|
try {
|
|
47023
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47029
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XR5FJQSM.js");
|
|
47024
47030
|
const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
|
|
47025
47031
|
const mem = createSessionMemory2(getLearningDir());
|
|
47026
47032
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47082,7 +47088,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47082
47088
|
callRecord(routingMemoryCache);
|
|
47083
47089
|
return;
|
|
47084
47090
|
}
|
|
47085
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47091
|
+
routingMemoryInitPromise ??= import("./routing-memory-4WAKAU2L.js").then(({ createRoutingMemory }) => {
|
|
47086
47092
|
routingMemoryCache ??= createRoutingMemory();
|
|
47087
47093
|
return routingMemoryCache;
|
|
47088
47094
|
}).catch((error) => {
|
|
@@ -47116,7 +47122,7 @@ ${text}` : "";
|
|
|
47116
47122
|
}
|
|
47117
47123
|
async function getWeatherContext() {
|
|
47118
47124
|
try {
|
|
47119
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47125
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-JVVJXNQY.js");
|
|
47120
47126
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47121
47127
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47122
47128
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47134,7 +47140,7 @@ ${lines}
|
|
|
47134
47140
|
}
|
|
47135
47141
|
async function getMemoryContext(task) {
|
|
47136
47142
|
try {
|
|
47137
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47143
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XR5FJQSM.js");
|
|
47138
47144
|
const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
|
|
47139
47145
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47140
47146
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47253,7 +47259,7 @@ ${contextBlock}`;
|
|
|
47253
47259
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47254
47260
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47255
47261
|
try {
|
|
47256
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47262
|
+
const { executeVoting } = await import("./consensus-vote-OUZGLMJ4.js");
|
|
47257
47263
|
const votingResult = await executeVoting(
|
|
47258
47264
|
{
|
|
47259
47265
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47692,7 +47698,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47692
47698
|
}
|
|
47693
47699
|
async function queryResearchRegistry(task) {
|
|
47694
47700
|
try {
|
|
47695
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47701
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ERZD3P4M.js");
|
|
47696
47702
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47697
47703
|
if (topic === void 0) return null;
|
|
47698
47704
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47763,7 +47769,7 @@ function createScanStageWrapper() {
|
|
|
47763
47769
|
try {
|
|
47764
47770
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47765
47771
|
if (slug !== void 0) {
|
|
47766
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47772
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-SJYA5PJC.js");
|
|
47767
47773
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47768
47774
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47769
47775
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -50888,7 +50894,7 @@ var GitHubTaskTracker = class {
|
|
|
50888
50894
|
cachedProvider = null;
|
|
50889
50895
|
async getProvider() {
|
|
50890
50896
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
50891
|
-
const { createScmProvider } = await import("./factory-
|
|
50897
|
+
const { createScmProvider } = await import("./factory-GUBAT3HH.js");
|
|
50892
50898
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
50893
50899
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
50894
50900
|
this.cachedProvider = result.value;
|
|
@@ -51787,7 +51793,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51787
51793
|
}
|
|
51788
51794
|
}
|
|
51789
51795
|
async function defaultSources(includeOpenRouter) {
|
|
51790
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51796
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-2MLMLJDK.js");
|
|
51791
51797
|
const adapters = createAllAdapters2();
|
|
51792
51798
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51793
51799
|
}
|
|
@@ -55849,4 +55855,4 @@ export {
|
|
|
55849
55855
|
shutdownFeedbackSubscriber,
|
|
55850
55856
|
createEventBusBridge
|
|
55851
55857
|
};
|
|
55852
|
-
//# sourceMappingURL=chunk-
|
|
55858
|
+
//# sourceMappingURL=chunk-RNMJUIPI.js.map
|