nexus-agents 8.44.1 → 8.44.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-EPU4KNXJ.js → ast-rule-runner-WVDAA42T.js} +3 -3
- package/dist/{child-mcp-config-MQYS7D6P.js → child-mcp-config-7QA75U75.js} +2 -2
- package/dist/{chunk-M7TQR4UU.js → chunk-2XVGARRY.js} +4 -4
- package/dist/{chunk-6HMACBA3.js → chunk-4R7UX4LH.js} +2 -2
- package/dist/{chunk-WPBF2POG.js → chunk-4XSUIYEJ.js} +4 -4
- package/dist/{chunk-ZSMK7RFK.js → chunk-76RVBWFJ.js} +2 -2
- package/dist/{chunk-LVOXPW3M.js → chunk-7LC7IAC6.js} +2 -2
- package/dist/{chunk-AP3KIHPG.js → chunk-CFD2JBFF.js} +2 -2
- package/dist/{chunk-H77DZWRG.js → chunk-E7GG4QM4.js} +2 -2
- package/dist/{chunk-AMCNB2TJ.js → chunk-G6BYL67S.js} +5 -5
- package/dist/{chunk-5CO7TEYR.js → chunk-GNXA7QYJ.js} +2 -2
- package/dist/{chunk-Z4SCHKLH.js → chunk-HT2X7CTV.js} +2 -2
- package/dist/{chunk-23MBJUHY.js → chunk-II5QSTMF.js} +40 -39
- package/dist/{chunk-23MBJUHY.js.map → chunk-II5QSTMF.js.map} +1 -1
- package/dist/{chunk-OO73573G.js → chunk-K5AOFWUZ.js} +2 -2
- package/dist/{chunk-GCLLRAST.js → chunk-KWBL4YBO.js} +3 -3
- package/dist/{chunk-NJDB4LVF.js → chunk-L4M72UC3.js} +8 -8
- package/dist/{chunk-U7JRUYB3.js → chunk-LQQVESK4.js} +2 -2
- package/dist/{chunk-LHIOFRJX.js → chunk-N5TB4D4Y.js} +6 -6
- package/dist/{chunk-P6DGZEWY.js → chunk-NAQZUL6T.js} +4 -4
- package/dist/{chunk-B5R7KEZR.js → chunk-OJQGBWSN.js} +7 -7
- package/dist/{chunk-IOV4B5R5.js → chunk-OWFSWV2B.js} +2 -2
- package/dist/{chunk-4WEBJR5L.js → chunk-Q4YQUVFY.js} +7 -7
- package/dist/{chunk-X2MX53O3.js → chunk-RTXOSQQ5.js} +2 -2
- package/dist/{chunk-JSH5GCZK.js → chunk-S4RQTNOJ.js} +3 -3
- package/dist/{chunk-4H44CQIZ.js → chunk-SSZ3UI5I.js} +2 -2
- package/dist/{chunk-XYD2J2M5.js → chunk-TCAOGMSJ.js} +3 -3
- package/dist/{chunk-PFW4EQ2E.js → chunk-UVWWUCTU.js} +2 -2
- package/dist/{chunk-LZL23U7Z.js → chunk-VMUMZQRK.js} +2 -2
- package/dist/{chunk-2VDDZCVT.js → chunk-W4FTZ6NQ.js} +9 -9
- package/dist/{chunk-BTWPTJF3.js → chunk-WG57CLZX.js} +3 -3
- package/dist/{chunk-TPHY6M6D.js → chunk-WINAQRIP.js} +4 -4
- package/dist/{chunk-3QP3NJ4E.js → chunk-WTJARWUI.js} +2 -2
- package/dist/{chunk-OEKALQ2G.js → chunk-Y5SMWBMT.js} +2 -2
- package/dist/{chunk-RL6F6IUQ.js → chunk-YO44KBCM.js} +2 -2
- package/dist/{chunk-MLG2PR6E.js → chunk-ZAQ7TGE5.js} +2 -2
- package/dist/{chunk-S4QNCIZF.js → chunk-ZYBVRWCQ.js} +19 -9
- package/dist/chunk-ZYBVRWCQ.js.map +1 -0
- package/dist/{cli-circuit-breaker-LAOVTGFP.js → cli-circuit-breaker-YNMILNBW.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-CN2SV6PX.js → composite-router-IMTJSNSW.js} +2 -2
- package/dist/{consensus-vote-52SR6UJB.js → consensus-vote-M4LH7MXD.js} +17 -17
- package/dist/{context-retriever-3XRHW4EG.js → context-retriever-TJD4G7VT.js} +8 -8
- package/dist/{doctor-deep-5CSAHVEP.js → doctor-deep-A6KISK57.js} +3 -3
- package/dist/{doctor-live-5NRILDTR.js → doctor-live-PRGQCROP.js} +9 -9
- package/dist/{expert-bridge-ZNNMHOQH.js → expert-bridge-6C6RR6WF.js} +4 -4
- package/dist/{factory-UYBTTLHZ.js → factory-YJQI6VWJ.js} +5 -5
- package/dist/{factory-TE7DQKRW.js → factory-YLPR5WLO.js} +9 -9
- package/dist/{improvement-review-3VV4DBCJ.js → improvement-review-E6GLPXUP.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/{init-opencode-WKKW7V7A.js → init-opencode-KPMC65FE.js} +6 -6
- package/dist/issue-triage-PV46T7GR.js +17 -0
- package/dist/{pr-reviewer-helpers-BR6YMKMR.js → pr-reviewer-helpers-HOIPAC4C.js} +4 -4
- package/dist/{registry-command-TWZXTXWB.js → registry-command-QTVLH3SG.js} +2 -2
- package/dist/{repo-security-plan-3E3FSPD5.js → repo-security-plan-VSFW6JNC.js} +3 -3
- package/dist/{research-helpers-synthesize-NIDQS4XT.js → research-helpers-synthesize-FEL4P5AM.js} +4 -4
- package/dist/{routing-memory-PGYUB4UJ.js → routing-memory-3QEB367H.js} +2 -2
- package/dist/{session-memory-D2IK4PC2.js → session-memory-MXNCBWWR.js} +3 -3
- package/dist/{setup-config-QELDNFFB.js → setup-config-3EJ37UHP.js} +3 -3
- package/dist/{setup-custom-api-57TCCU7N.js → setup-custom-api-KZL36DTQ.js} +4 -4
- package/dist/setup-data-dir-EKNO344K.js +29 -0
- package/dist/{tool-memory-3B44V6CP.js → tool-memory-K5XBNYLH.js} +5 -5
- package/dist/{unified-registry-AIHYR7FG.js → unified-registry-5Y5JXIT2.js} +10 -10
- package/dist/{weather-report-2Q6RXC2D.js → weather-report-K5JQJERB.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-S4QNCIZF.js.map +0 -1
- package/dist/issue-triage-FRPETYSK.js +0 -17
- package/dist/setup-data-dir-WFISCBTQ.js +0 -29
- /package/dist/{ast-rule-runner-EPU4KNXJ.js.map → ast-rule-runner-WVDAA42T.js.map} +0 -0
- /package/dist/{child-mcp-config-MQYS7D6P.js.map → child-mcp-config-7QA75U75.js.map} +0 -0
- /package/dist/{chunk-M7TQR4UU.js.map → chunk-2XVGARRY.js.map} +0 -0
- /package/dist/{chunk-6HMACBA3.js.map → chunk-4R7UX4LH.js.map} +0 -0
- /package/dist/{chunk-WPBF2POG.js.map → chunk-4XSUIYEJ.js.map} +0 -0
- /package/dist/{chunk-ZSMK7RFK.js.map → chunk-76RVBWFJ.js.map} +0 -0
- /package/dist/{chunk-LVOXPW3M.js.map → chunk-7LC7IAC6.js.map} +0 -0
- /package/dist/{chunk-AP3KIHPG.js.map → chunk-CFD2JBFF.js.map} +0 -0
- /package/dist/{chunk-H77DZWRG.js.map → chunk-E7GG4QM4.js.map} +0 -0
- /package/dist/{chunk-AMCNB2TJ.js.map → chunk-G6BYL67S.js.map} +0 -0
- /package/dist/{chunk-5CO7TEYR.js.map → chunk-GNXA7QYJ.js.map} +0 -0
- /package/dist/{chunk-Z4SCHKLH.js.map → chunk-HT2X7CTV.js.map} +0 -0
- /package/dist/{chunk-OO73573G.js.map → chunk-K5AOFWUZ.js.map} +0 -0
- /package/dist/{chunk-GCLLRAST.js.map → chunk-KWBL4YBO.js.map} +0 -0
- /package/dist/{chunk-NJDB4LVF.js.map → chunk-L4M72UC3.js.map} +0 -0
- /package/dist/{chunk-U7JRUYB3.js.map → chunk-LQQVESK4.js.map} +0 -0
- /package/dist/{chunk-LHIOFRJX.js.map → chunk-N5TB4D4Y.js.map} +0 -0
- /package/dist/{chunk-P6DGZEWY.js.map → chunk-NAQZUL6T.js.map} +0 -0
- /package/dist/{chunk-B5R7KEZR.js.map → chunk-OJQGBWSN.js.map} +0 -0
- /package/dist/{chunk-IOV4B5R5.js.map → chunk-OWFSWV2B.js.map} +0 -0
- /package/dist/{chunk-4WEBJR5L.js.map → chunk-Q4YQUVFY.js.map} +0 -0
- /package/dist/{chunk-X2MX53O3.js.map → chunk-RTXOSQQ5.js.map} +0 -0
- /package/dist/{chunk-JSH5GCZK.js.map → chunk-S4RQTNOJ.js.map} +0 -0
- /package/dist/{chunk-4H44CQIZ.js.map → chunk-SSZ3UI5I.js.map} +0 -0
- /package/dist/{chunk-XYD2J2M5.js.map → chunk-TCAOGMSJ.js.map} +0 -0
- /package/dist/{chunk-PFW4EQ2E.js.map → chunk-UVWWUCTU.js.map} +0 -0
- /package/dist/{chunk-LZL23U7Z.js.map → chunk-VMUMZQRK.js.map} +0 -0
- /package/dist/{chunk-2VDDZCVT.js.map → chunk-W4FTZ6NQ.js.map} +0 -0
- /package/dist/{chunk-BTWPTJF3.js.map → chunk-WG57CLZX.js.map} +0 -0
- /package/dist/{chunk-TPHY6M6D.js.map → chunk-WINAQRIP.js.map} +0 -0
- /package/dist/{chunk-3QP3NJ4E.js.map → chunk-WTJARWUI.js.map} +0 -0
- /package/dist/{chunk-OEKALQ2G.js.map → chunk-Y5SMWBMT.js.map} +0 -0
- /package/dist/{chunk-RL6F6IUQ.js.map → chunk-YO44KBCM.js.map} +0 -0
- /package/dist/{chunk-MLG2PR6E.js.map → chunk-ZAQ7TGE5.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-LAOVTGFP.js.map → cli-circuit-breaker-YNMILNBW.js.map} +0 -0
- /package/dist/{composite-router-CN2SV6PX.js.map → composite-router-IMTJSNSW.js.map} +0 -0
- /package/dist/{consensus-vote-52SR6UJB.js.map → consensus-vote-M4LH7MXD.js.map} +0 -0
- /package/dist/{context-retriever-3XRHW4EG.js.map → context-retriever-TJD4G7VT.js.map} +0 -0
- /package/dist/{doctor-deep-5CSAHVEP.js.map → doctor-deep-A6KISK57.js.map} +0 -0
- /package/dist/{doctor-live-5NRILDTR.js.map → doctor-live-PRGQCROP.js.map} +0 -0
- /package/dist/{expert-bridge-ZNNMHOQH.js.map → expert-bridge-6C6RR6WF.js.map} +0 -0
- /package/dist/{factory-TE7DQKRW.js.map → factory-YJQI6VWJ.js.map} +0 -0
- /package/dist/{factory-UYBTTLHZ.js.map → factory-YLPR5WLO.js.map} +0 -0
- /package/dist/{improvement-review-3VV4DBCJ.js.map → improvement-review-E6GLPXUP.js.map} +0 -0
- /package/dist/{init-opencode-WKKW7V7A.js.map → init-opencode-KPMC65FE.js.map} +0 -0
- /package/dist/{issue-triage-FRPETYSK.js.map → issue-triage-PV46T7GR.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-BR6YMKMR.js.map → pr-reviewer-helpers-HOIPAC4C.js.map} +0 -0
- /package/dist/{registry-command-TWZXTXWB.js.map → registry-command-QTVLH3SG.js.map} +0 -0
- /package/dist/{repo-security-plan-3E3FSPD5.js.map → repo-security-plan-VSFW6JNC.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-NIDQS4XT.js.map → research-helpers-synthesize-FEL4P5AM.js.map} +0 -0
- /package/dist/{routing-memory-PGYUB4UJ.js.map → routing-memory-3QEB367H.js.map} +0 -0
- /package/dist/{session-memory-D2IK4PC2.js.map → session-memory-MXNCBWWR.js.map} +0 -0
- /package/dist/{setup-config-QELDNFFB.js.map → setup-config-3EJ37UHP.js.map} +0 -0
- /package/dist/{setup-custom-api-57TCCU7N.js.map → setup-custom-api-KZL36DTQ.js.map} +0 -0
- /package/dist/{setup-data-dir-WFISCBTQ.js.map → setup-data-dir-EKNO344K.js.map} +0 -0
- /package/dist/{tool-memory-3B44V6CP.js.map → tool-memory-K5XBNYLH.js.map} +0 -0
- /package/dist/{unified-registry-AIHYR7FG.js.map → unified-registry-5Y5JXIT2.js.map} +0 -0
- /package/dist/{weather-report-2Q6RXC2D.js.map → weather-report-K5JQJERB.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-HT2X7CTV.js";
|
|
13
|
+
import "./chunk-WG57CLZX.js";
|
|
14
14
|
import "./chunk-3HELETAQ.js";
|
|
15
15
|
import "./chunk-JVNJJ2VL.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-WVDAA42T.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T5GVEXSA.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WG57CLZX.js";
|
|
7
7
|
import "./chunk-3HELETAQ.js";
|
|
8
8
|
import "./chunk-JVNJJ2VL.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-7QA75U75.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WTJARWUI.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7LC7IAC6.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WG57CLZX.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-2XVGARRY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WG57CLZX.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-4R7UX4LH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L4M72UC3.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OWFSWV2B.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_NAMES,
|
|
10
10
|
CircularBuffer,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
recordRateLimitEvent,
|
|
25
25
|
resolveModelIdentitySync,
|
|
26
26
|
toRateLimitError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WG57CLZX.js";
|
|
28
28
|
|
|
29
29
|
// src/config/model-equivalence.ts
|
|
30
30
|
function canonicalModelKey(modelId) {
|
|
@@ -904,4 +904,4 @@ export {
|
|
|
904
904
|
getGlobalRegistry,
|
|
905
905
|
resetGlobalRegistry
|
|
906
906
|
};
|
|
907
|
-
//# sourceMappingURL=chunk-
|
|
907
|
+
//# sourceMappingURL=chunk-4XSUIYEJ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WG57CLZX.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -610,4 +610,4 @@ export {
|
|
|
610
610
|
resolveReputationGatingMode,
|
|
611
611
|
gateWithReputation
|
|
612
612
|
};
|
|
613
|
-
//# sourceMappingURL=chunk-
|
|
613
|
+
//# sourceMappingURL=chunk-76RVBWFJ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WG57CLZX.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-7LC7IAC6.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WG57CLZX.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-CFD2JBFF.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WG57CLZX.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "node:fs";
|
|
@@ -370,4 +370,4 @@ export {
|
|
|
370
370
|
SessionMemory,
|
|
371
371
|
createSessionMemory
|
|
372
372
|
};
|
|
373
|
-
//# sourceMappingURL=chunk-
|
|
373
|
+
//# sourceMappingURL=chunk-E7GG4QM4.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K5AOFWUZ.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-VMUMZQRK.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LQQVESK4.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-WG57CLZX.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -842,4 +842,4 @@ export {
|
|
|
842
842
|
discoverModels,
|
|
843
843
|
buildOpenAICompatAdapters
|
|
844
844
|
};
|
|
845
|
-
//# sourceMappingURL=chunk-
|
|
845
|
+
//# sourceMappingURL=chunk-G6BYL67S.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WG57CLZX.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-GNXA7QYJ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ValidationError,
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WG57CLZX.js";
|
|
7
7
|
|
|
8
8
|
// src/security/ast-rule-runner.ts
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
collectAstQaFindings,
|
|
242
242
|
runAstQaRules
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-HT2X7CTV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SSZ3UI5I.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-DGWT7DXX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Q4YQUVFY.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OJQGBWSN.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-W4FTZ6NQ.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -63,19 +63,19 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
normalizeTopicToCanonical,
|
|
65
65
|
synthesizeResearch
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-KWBL4YBO.js";
|
|
67
67
|
import {
|
|
68
68
|
IssueTriage,
|
|
69
69
|
createDurableAuditSink,
|
|
70
70
|
createDurableAuditTrail
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-N5TB4D4Y.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveEnvMode,
|
|
74
74
|
sanitizeInput
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-76RVBWFJ.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-TCAOGMSJ.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,18 +100,18 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-WINAQRIP.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
107
107
|
emitPipelinePolicyEvent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-ZAQ7TGE5.js";
|
|
109
109
|
import {
|
|
110
110
|
EventTopics,
|
|
111
111
|
createEvent,
|
|
112
112
|
getGlobalEventBus,
|
|
113
113
|
getGlobalRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-4XSUIYEJ.js";
|
|
115
115
|
import {
|
|
116
116
|
IDENTIFIER_RE,
|
|
117
117
|
LANG_VALUES,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
parseRegistry,
|
|
145
145
|
sourceExistsInRegistry,
|
|
146
146
|
summarizeContextForPrompt
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-ZYBVRWCQ.js";
|
|
148
148
|
import {
|
|
149
149
|
REGISTRY_PATH,
|
|
150
150
|
getProjectRoot,
|
|
@@ -152,25 +152,25 @@ import {
|
|
|
152
152
|
loadTechniquesRegistry,
|
|
153
153
|
resolveInsideRoot,
|
|
154
154
|
resolveRegistryRoot
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-YO44KBCM.js";
|
|
156
156
|
import {
|
|
157
157
|
getTokenEnvVars,
|
|
158
158
|
resolveToken
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-7LC7IAC6.js";
|
|
160
160
|
import {
|
|
161
161
|
DEFAULT_RELEVANCE_CONFIG,
|
|
162
162
|
MemoryImportance,
|
|
163
163
|
MemoryType,
|
|
164
164
|
calculateTextJaccardSimilarity,
|
|
165
165
|
getToolMemory
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-NAQZUL6T.js";
|
|
167
167
|
import {
|
|
168
168
|
STOPWORDS,
|
|
169
169
|
truncateWithInfo
|
|
170
170
|
} from "./chunk-7LP6VJRP.js";
|
|
171
171
|
import {
|
|
172
172
|
createSessionMemory
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-E7GG4QM4.js";
|
|
174
174
|
import {
|
|
175
175
|
BUILT_IN_EXPERTS,
|
|
176
176
|
BuiltInExpertTypeSchema,
|
|
@@ -188,25 +188,25 @@ import {
|
|
|
188
188
|
getAvailableClis,
|
|
189
189
|
sleep,
|
|
190
190
|
withTimeout
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-L4M72UC3.js";
|
|
192
192
|
import {
|
|
193
193
|
BaseAdapter,
|
|
194
194
|
createStream,
|
|
195
195
|
requireApiKey,
|
|
196
196
|
validateApiKeyPresence
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-VMUMZQRK.js";
|
|
198
198
|
import {
|
|
199
199
|
DEFAULTS
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-Y5SMWBMT.js";
|
|
201
201
|
import {
|
|
202
202
|
getAvailabilityCache,
|
|
203
203
|
getCliForModelId,
|
|
204
204
|
resolveFallback
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-CFD2JBFF.js";
|
|
206
206
|
import {
|
|
207
207
|
generateHyphenId,
|
|
208
208
|
generateUUID
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-GNXA7QYJ.js";
|
|
210
210
|
import {
|
|
211
211
|
AGENT_ROUTER_TIMEOUTS,
|
|
212
212
|
API_TIMEOUTS,
|
|
@@ -318,7 +318,7 @@ import {
|
|
|
318
318
|
selectStrategyByManifest,
|
|
319
319
|
toExpertTaskAnalysisResult,
|
|
320
320
|
withStep
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-WG57CLZX.js";
|
|
322
322
|
import {
|
|
323
323
|
ensureLearningDir,
|
|
324
324
|
getMetaOutcomesFile,
|
|
@@ -30015,7 +30015,7 @@ function execIdFields(executionId) {
|
|
|
30015
30015
|
async function populateUnifiedContextOnState(state, options) {
|
|
30016
30016
|
const taskCandidate = state["task"];
|
|
30017
30017
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30018
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30018
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-TJD4G7VT.js");
|
|
30019
30019
|
const category = inferTaskCategory2(taskCandidate);
|
|
30020
30020
|
const executionId = options?.executionId;
|
|
30021
30021
|
const execFields = execIdFields(executionId);
|
|
@@ -40588,11 +40588,11 @@ var ResearchAnalyzeInputSchema = z75.object({
|
|
|
40588
40588
|
),
|
|
40589
40589
|
topic: z75.string().optional().describe("Optional topic filter to narrow analysis")
|
|
40590
40590
|
});
|
|
40591
|
-
function failureResponse(focus) {
|
|
40591
|
+
function failureResponse(focus, registry = "techniques") {
|
|
40592
40592
|
return {
|
|
40593
40593
|
focus,
|
|
40594
40594
|
success: false,
|
|
40595
|
-
analysis: { error:
|
|
40595
|
+
analysis: { error: `Failed to load ${registry} registry` },
|
|
40596
40596
|
recommendations: []
|
|
40597
40597
|
};
|
|
40598
40598
|
}
|
|
@@ -40609,8 +40609,9 @@ async function analyzeGaps(topic) {
|
|
|
40609
40609
|
const techResult = await loadTechniquesRegistry();
|
|
40610
40610
|
const paperResult = await loadPapersRegistry();
|
|
40611
40611
|
if (!techResult.ok) return failureResponse("gaps");
|
|
40612
|
+
if (!paperResult.ok) return failureResponse("gaps", "papers");
|
|
40612
40613
|
const techniques = techResult.value.techniques;
|
|
40613
|
-
const papers = paperResult.
|
|
40614
|
+
const papers = paperResult.value.papers;
|
|
40614
40615
|
const techniquesWithoutPapers = Object.entries(techniques).filter(([, t]) => topic === void 0 || t.topic === topic).filter(([, t]) => t.source_papers.length === 0).map(([id, t]) => ({ id, name: t.name, topic: t.topic }));
|
|
40615
40616
|
const topicPaperCount = countByKey(Object.values(papers), (p) => [...p.topics]);
|
|
40616
40617
|
const topicTechCount = countByKey(Object.values(techniques), (t) => [t.topic]);
|
|
@@ -45618,7 +45619,7 @@ async function tryIssueTriage(task) {
|
|
|
45618
45619
|
try {
|
|
45619
45620
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45620
45621
|
if (issueMatch === null) return null;
|
|
45621
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45622
|
+
const { createIssueTriage } = await import("./issue-triage-PV46T7GR.js");
|
|
45622
45623
|
const triage = createIssueTriage();
|
|
45623
45624
|
const owner = issueMatch[1] ?? "";
|
|
45624
45625
|
const num = issueMatch[2] ?? "";
|
|
@@ -45646,7 +45647,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45646
45647
|
]);
|
|
45647
45648
|
async function classifyWithLLM(task) {
|
|
45648
45649
|
try {
|
|
45649
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45650
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-6C6RR6WF.js");
|
|
45650
45651
|
const prompt = [
|
|
45651
45652
|
"Classify this task into exactly one pipeline template.",
|
|
45652
45653
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46020,7 +46021,7 @@ function buildVotingInput(plan, config) {
|
|
|
46020
46021
|
}
|
|
46021
46022
|
async function executeSingleVote(plan, config, log) {
|
|
46022
46023
|
try {
|
|
46023
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46024
|
+
const { executeVoting } = await import("./consensus-vote-M4LH7MXD.js");
|
|
46024
46025
|
const input = buildVotingInput(plan, config);
|
|
46025
46026
|
const result = await executeVoting(input, log);
|
|
46026
46027
|
return parseVotingResult(result);
|
|
@@ -47582,7 +47583,7 @@ var memoryInitPromise = null;
|
|
|
47582
47583
|
async function initPipelineMemory() {
|
|
47583
47584
|
if (cachedMemory !== null) return cachedMemory;
|
|
47584
47585
|
try {
|
|
47585
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47586
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MXNCBWWR.js");
|
|
47586
47587
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47587
47588
|
const mem = createSessionMemory2(getLearningDir());
|
|
47588
47589
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47644,7 +47645,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47644
47645
|
callRecord(routingMemoryCache);
|
|
47645
47646
|
return;
|
|
47646
47647
|
}
|
|
47647
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47648
|
+
routingMemoryInitPromise ??= import("./routing-memory-3QEB367H.js").then(({ createRoutingMemory }) => {
|
|
47648
47649
|
routingMemoryCache ??= createRoutingMemory();
|
|
47649
47650
|
return routingMemoryCache;
|
|
47650
47651
|
}).catch((error) => {
|
|
@@ -47678,7 +47679,7 @@ ${text}` : "";
|
|
|
47678
47679
|
}
|
|
47679
47680
|
async function getWeatherContext() {
|
|
47680
47681
|
try {
|
|
47681
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47682
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-K5JQJERB.js");
|
|
47682
47683
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47683
47684
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47684
47685
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47696,7 +47697,7 @@ ${lines}
|
|
|
47696
47697
|
}
|
|
47697
47698
|
async function getMemoryContext(task) {
|
|
47698
47699
|
try {
|
|
47699
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47700
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MXNCBWWR.js");
|
|
47700
47701
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47701
47702
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47702
47703
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47815,7 +47816,7 @@ ${contextBlock}`;
|
|
|
47815
47816
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47816
47817
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47817
47818
|
try {
|
|
47818
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47819
|
+
const { executeVoting } = await import("./consensus-vote-M4LH7MXD.js");
|
|
47819
47820
|
const votingResult = await executeVoting(
|
|
47820
47821
|
{
|
|
47821
47822
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48246,7 +48247,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48246
48247
|
}
|
|
48247
48248
|
async function queryResearchRegistry(task) {
|
|
48248
48249
|
try {
|
|
48249
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48250
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FEL4P5AM.js");
|
|
48250
48251
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48251
48252
|
if (topic === void 0) return null;
|
|
48252
48253
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48317,7 +48318,7 @@ function createScanStageWrapper() {
|
|
|
48317
48318
|
try {
|
|
48318
48319
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48319
48320
|
if (slug !== void 0) {
|
|
48320
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48321
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VSFW6JNC.js");
|
|
48321
48322
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48322
48323
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48323
48324
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51557,7 +51558,7 @@ var GitHubTaskTracker = class {
|
|
|
51557
51558
|
cachedProvider = null;
|
|
51558
51559
|
async getProvider() {
|
|
51559
51560
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51560
|
-
const { createScmProvider } = await import("./factory-
|
|
51561
|
+
const { createScmProvider } = await import("./factory-YJQI6VWJ.js");
|
|
51561
51562
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51562
51563
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51563
51564
|
this.cachedProvider = result.value;
|
|
@@ -52488,7 +52489,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52488
52489
|
}
|
|
52489
52490
|
}
|
|
52490
52491
|
async function defaultSources(includeOpenRouter) {
|
|
52491
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52492
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-YLPR5WLO.js");
|
|
52492
52493
|
const adapters = createAllAdapters2();
|
|
52493
52494
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52494
52495
|
}
|
|
@@ -56542,4 +56543,4 @@ export {
|
|
|
56542
56543
|
startPipelineEventBridge,
|
|
56543
56544
|
shutdownPipelineEventBridge
|
|
56544
56545
|
};
|
|
56545
|
-
//# sourceMappingURL=chunk-
|
|
56546
|
+
//# sourceMappingURL=chunk-II5QSTMF.js.map
|