nexus-agents 2.94.0 → 2.95.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-PPFHJZSO.js → child-mcp-config-NW7JMSDK.js} +2 -2
- package/dist/{chunk-2YMRRZRM.js → chunk-2X24T4ZD.js} +7 -7
- package/dist/{chunk-4QESFYGV.js → chunk-3H6Q3RZM.js} +4 -4
- package/dist/{chunk-EDPDH5YT.js → chunk-3HXWI34V.js} +3 -3
- package/dist/{chunk-24WC4XO2.js → chunk-47Z3YPOK.js} +2 -2
- package/dist/{chunk-76535ZNP.js → chunk-4NVYN2MB.js} +4 -4
- package/dist/{chunk-ZY2EMD72.js → chunk-55G7KQ7F.js} +5 -5
- package/dist/{chunk-OSSGG7KW.js → chunk-5HBDXW44.js} +2 -2
- package/dist/{chunk-LCLVSNST.js → chunk-6IWPN5UB.js} +2 -2
- package/dist/{chunk-43UDRX3N.js → chunk-7GUP6KQQ.js} +2 -2
- package/dist/{chunk-FUGPKYEJ.js → chunk-BSHDI4BH.js} +2 -2
- package/dist/{chunk-L7I55FAN.js → chunk-D3JSXVX3.js} +2 -2
- package/dist/{chunk-OT6V5ROA.js → chunk-ECBH5INZ.js} +37 -3
- package/dist/chunk-ECBH5INZ.js.map +1 -0
- package/dist/{chunk-G5EBHQ2L.js → chunk-ECZW5FXN.js} +2 -2
- package/dist/{chunk-ADRTAUJA.js → chunk-FTDVA33Z.js} +4 -4
- package/dist/{chunk-ROAANOOB.js → chunk-FXVJLJUF.js} +2 -2
- package/dist/{chunk-UC3PVIN4.js → chunk-FYGZ4MEQ.js} +28 -28
- package/dist/{chunk-XBPFVWA2.js → chunk-G42N55ZR.js} +2 -2
- package/dist/{chunk-77JUKFTG.js → chunk-GC5FH2IA.js} +7 -7
- package/dist/{chunk-63OGXDHS.js → chunk-KHZGMF2W.js} +4 -4
- package/dist/{chunk-YDXGYKZJ.js → chunk-LXROEQAO.js} +2 -2
- package/dist/{chunk-EJR6U67L.js → chunk-LZOTH2GI.js} +2 -2
- package/dist/{chunk-EB43BGAR.js → chunk-O4LVC4MQ.js} +2 -2
- package/dist/{chunk-5B4VLSMP.js → chunk-PFOY5ML6.js} +3 -3
- package/dist/{chunk-GMZDRTVJ.js → chunk-QUPPV6UO.js} +2 -2
- package/dist/{chunk-OKGHHCS5.js → chunk-TEKWQNQ2.js} +3 -3
- package/dist/{chunk-TNBWHOPY.js → chunk-VTMQND6B.js} +9 -9
- package/dist/{chunk-Q3NUA7CW.js → chunk-WGA4VGIR.js} +3 -3
- package/dist/{chunk-KSJPDQSG.js → chunk-Y3OOHHKQ.js} +2 -2
- package/dist/{chunk-5ZB3MTA7.js → chunk-YYXJ6RTO.js} +3 -3
- package/dist/{chunk-R2NKJPUX.js → chunk-ZICVVBDW.js} +2 -2
- package/dist/{cli-circuit-breaker-BAERQZ3H.js → cli-circuit-breaker-LNU5DQSB.js} +4 -4
- package/dist/cli.js +111 -60
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-EONKFRDD.js → composite-router-DJ54ND5X.js} +2 -2
- package/dist/{consensus-vote-TO5575P3.js → consensus-vote-XLEQFVE7.js} +12 -12
- package/dist/{context-retriever-JM564MOV.js → context-retriever-6O6TREXH.js} +6 -6
- package/dist/{doctor-deep-VFBQ7TY4.js → doctor-deep-PSNJPELP.js} +3 -3
- package/dist/{expert-bridge-OXME7FES.js → expert-bridge-Q3OWPD4L.js} +4 -4
- package/dist/{factory-FVZLVIYH.js → factory-43RVPRT5.js} +5 -5
- package/dist/{factory-MDT5CFA5.js → factory-PSMTMC7V.js} +5 -5
- package/dist/index.js +26 -26
- package/dist/{init-opencode-Y6XKR6WS.js → init-opencode-25AUARJH.js} +5 -5
- package/dist/{issue-triage-2XVD4JQ7.js → issue-triage-KZTENUDH.js} +5 -5
- package/dist/{pr-reviewer-helpers-JLWEQIN6.js → pr-reviewer-helpers-XENJ4E2T.js} +4 -4
- package/dist/{registry-command-FYVOMCBG.js → registry-command-X3O34FAK.js} +2 -2
- package/dist/{repo-security-plan-JRDHWI2R.js → repo-security-plan-XCX7EFJR.js} +3 -3
- package/dist/{research-helpers-synthesize-F7L7M7FJ.js → research-helpers-synthesize-CGVR6M4S.js} +3 -3
- package/dist/{routing-memory-JAV2ICXR.js → routing-memory-YZRYGXQC.js} +2 -2
- package/dist/{session-memory-2XAGY3PX.js → session-memory-SXQAA2EN.js} +3 -3
- package/dist/{setup-command-6WVEOE4Q.js → setup-command-VG7JZI6O.js} +11 -11
- package/dist/{setup-config-KUZU2GFI.js → setup-config-VJAK6AA2.js} +3 -3
- package/dist/{setup-custom-api-3M7CU3TF.js → setup-custom-api-KSF2JMTS.js} +4 -4
- package/dist/{tool-memory-YWX4FTIQ.js → tool-memory-L7SDFSF5.js} +5 -5
- package/dist/{weather-report-ZZM5EU7N.js → weather-report-D6HFOK7S.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-OT6V5ROA.js.map +0 -1
- /package/dist/{child-mcp-config-PPFHJZSO.js.map → child-mcp-config-NW7JMSDK.js.map} +0 -0
- /package/dist/{chunk-2YMRRZRM.js.map → chunk-2X24T4ZD.js.map} +0 -0
- /package/dist/{chunk-4QESFYGV.js.map → chunk-3H6Q3RZM.js.map} +0 -0
- /package/dist/{chunk-EDPDH5YT.js.map → chunk-3HXWI34V.js.map} +0 -0
- /package/dist/{chunk-24WC4XO2.js.map → chunk-47Z3YPOK.js.map} +0 -0
- /package/dist/{chunk-76535ZNP.js.map → chunk-4NVYN2MB.js.map} +0 -0
- /package/dist/{chunk-ZY2EMD72.js.map → chunk-55G7KQ7F.js.map} +0 -0
- /package/dist/{chunk-OSSGG7KW.js.map → chunk-5HBDXW44.js.map} +0 -0
- /package/dist/{chunk-LCLVSNST.js.map → chunk-6IWPN5UB.js.map} +0 -0
- /package/dist/{chunk-43UDRX3N.js.map → chunk-7GUP6KQQ.js.map} +0 -0
- /package/dist/{chunk-FUGPKYEJ.js.map → chunk-BSHDI4BH.js.map} +0 -0
- /package/dist/{chunk-L7I55FAN.js.map → chunk-D3JSXVX3.js.map} +0 -0
- /package/dist/{chunk-G5EBHQ2L.js.map → chunk-ECZW5FXN.js.map} +0 -0
- /package/dist/{chunk-ADRTAUJA.js.map → chunk-FTDVA33Z.js.map} +0 -0
- /package/dist/{chunk-ROAANOOB.js.map → chunk-FXVJLJUF.js.map} +0 -0
- /package/dist/{chunk-UC3PVIN4.js.map → chunk-FYGZ4MEQ.js.map} +0 -0
- /package/dist/{chunk-XBPFVWA2.js.map → chunk-G42N55ZR.js.map} +0 -0
- /package/dist/{chunk-77JUKFTG.js.map → chunk-GC5FH2IA.js.map} +0 -0
- /package/dist/{chunk-63OGXDHS.js.map → chunk-KHZGMF2W.js.map} +0 -0
- /package/dist/{chunk-YDXGYKZJ.js.map → chunk-LXROEQAO.js.map} +0 -0
- /package/dist/{chunk-EJR6U67L.js.map → chunk-LZOTH2GI.js.map} +0 -0
- /package/dist/{chunk-EB43BGAR.js.map → chunk-O4LVC4MQ.js.map} +0 -0
- /package/dist/{chunk-5B4VLSMP.js.map → chunk-PFOY5ML6.js.map} +0 -0
- /package/dist/{chunk-GMZDRTVJ.js.map → chunk-QUPPV6UO.js.map} +0 -0
- /package/dist/{chunk-OKGHHCS5.js.map → chunk-TEKWQNQ2.js.map} +0 -0
- /package/dist/{chunk-TNBWHOPY.js.map → chunk-VTMQND6B.js.map} +0 -0
- /package/dist/{chunk-Q3NUA7CW.js.map → chunk-WGA4VGIR.js.map} +0 -0
- /package/dist/{chunk-KSJPDQSG.js.map → chunk-Y3OOHHKQ.js.map} +0 -0
- /package/dist/{chunk-5ZB3MTA7.js.map → chunk-YYXJ6RTO.js.map} +0 -0
- /package/dist/{chunk-R2NKJPUX.js.map → chunk-ZICVVBDW.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-BAERQZ3H.js.map → cli-circuit-breaker-LNU5DQSB.js.map} +0 -0
- /package/dist/{composite-router-EONKFRDD.js.map → composite-router-DJ54ND5X.js.map} +0 -0
- /package/dist/{consensus-vote-TO5575P3.js.map → consensus-vote-XLEQFVE7.js.map} +0 -0
- /package/dist/{context-retriever-JM564MOV.js.map → context-retriever-6O6TREXH.js.map} +0 -0
- /package/dist/{doctor-deep-VFBQ7TY4.js.map → doctor-deep-PSNJPELP.js.map} +0 -0
- /package/dist/{expert-bridge-OXME7FES.js.map → expert-bridge-Q3OWPD4L.js.map} +0 -0
- /package/dist/{factory-FVZLVIYH.js.map → factory-43RVPRT5.js.map} +0 -0
- /package/dist/{factory-MDT5CFA5.js.map → factory-PSMTMC7V.js.map} +0 -0
- /package/dist/{init-opencode-Y6XKR6WS.js.map → init-opencode-25AUARJH.js.map} +0 -0
- /package/dist/{issue-triage-2XVD4JQ7.js.map → issue-triage-KZTENUDH.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-JLWEQIN6.js.map → pr-reviewer-helpers-XENJ4E2T.js.map} +0 -0
- /package/dist/{registry-command-FYVOMCBG.js.map → registry-command-X3O34FAK.js.map} +0 -0
- /package/dist/{repo-security-plan-JRDHWI2R.js.map → repo-security-plan-XCX7EFJR.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-F7L7M7FJ.js.map → research-helpers-synthesize-CGVR6M4S.js.map} +0 -0
- /package/dist/{routing-memory-JAV2ICXR.js.map → routing-memory-YZRYGXQC.js.map} +0 -0
- /package/dist/{session-memory-2XAGY3PX.js.map → session-memory-SXQAA2EN.js.map} +0 -0
- /package/dist/{setup-command-6WVEOE4Q.js.map → setup-command-VG7JZI6O.js.map} +0 -0
- /package/dist/{setup-config-KUZU2GFI.js.map → setup-config-VJAK6AA2.js.map} +0 -0
- /package/dist/{setup-custom-api-3M7CU3TF.js.map → setup-custom-api-KSF2JMTS.js.map} +0 -0
- /package/dist/{tool-memory-YWX4FTIQ.js.map → tool-memory-L7SDFSF5.js.map} +0 -0
- /package/dist/{weather-report-ZZM5EU7N.js.map → weather-report-D6HFOK7S.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ECBH5INZ.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/research-helpers-synthesize.ts
|
|
14
14
|
import { z } from "zod";
|
|
@@ -1015,4 +1015,4 @@ export {
|
|
|
1015
1015
|
AttributedInsightSchema,
|
|
1016
1016
|
synthesizeResearch
|
|
1017
1017
|
};
|
|
1018
|
-
//# sourceMappingURL=chunk-
|
|
1018
|
+
//# sourceMappingURL=chunk-ECZW5FXN.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveToken
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5HBDXW44.js";
|
|
4
4
|
import {
|
|
5
5
|
GitHubProvider,
|
|
6
6
|
ScmError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LZOTH2GI.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ECBH5INZ.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-FTDVA33Z.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ECBH5INZ.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-FXVJLJUF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTokenEnvVars,
|
|
3
3
|
resolveToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5HBDXW44.js";
|
|
5
5
|
import {
|
|
6
6
|
executeExpert
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2X24T4ZD.js";
|
|
8
8
|
import {
|
|
9
9
|
EventTopics,
|
|
10
10
|
JobStatusSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
writeJobComplete,
|
|
43
43
|
writeJobFailed,
|
|
44
44
|
writeJobPending
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VTMQND6B.js";
|
|
46
46
|
import {
|
|
47
47
|
REGISTRY_PATH,
|
|
48
48
|
getProjectRoot,
|
|
@@ -51,19 +51,19 @@ import {
|
|
|
51
51
|
normalizeTopicToCanonical,
|
|
52
52
|
savePapersRegistry,
|
|
53
53
|
synthesizeResearch
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ECZW5FXN.js";
|
|
55
55
|
import {
|
|
56
56
|
IssueTriage,
|
|
57
57
|
createAuditTrail,
|
|
58
58
|
createGraphAuditBridge
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-4NVYN2MB.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveEnvMode,
|
|
62
62
|
sanitizeInput
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-O4LVC4MQ.js";
|
|
64
64
|
import {
|
|
65
65
|
generateSecurityPlan
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-BSHDI4BH.js";
|
|
67
67
|
import {
|
|
68
68
|
analyzeGitHubRepo
|
|
69
69
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -76,26 +76,26 @@ import {
|
|
|
76
76
|
getContextForTask,
|
|
77
77
|
inferTaskCategory,
|
|
78
78
|
summarizeContextForPrompt
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-TEKWQNQ2.js";
|
|
80
80
|
import {
|
|
81
81
|
DEFAULT_RELEVANCE_CONFIG,
|
|
82
82
|
MemoryImportance,
|
|
83
83
|
calculateTextJaccardSimilarity,
|
|
84
84
|
getToolMemory
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-KHZGMF2W.js";
|
|
86
86
|
import {
|
|
87
87
|
DEFAULT_TASK_TTL_MS,
|
|
88
88
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
89
89
|
clampTaskTtl
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-GC5FH2IA.js";
|
|
91
91
|
import {
|
|
92
92
|
getAvailabilityCache,
|
|
93
93
|
getCliForModelId,
|
|
94
94
|
resolveFallback
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-QUPPV6UO.js";
|
|
96
96
|
import {
|
|
97
97
|
DEFAULTS
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-7GUP6KQQ.js";
|
|
99
99
|
import {
|
|
100
100
|
resolveInsideRoot
|
|
101
101
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -111,11 +111,11 @@ import {
|
|
|
111
111
|
getAvailableClis,
|
|
112
112
|
sleep,
|
|
113
113
|
withTimeout
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-3H6Q3RZM.js";
|
|
115
115
|
import {
|
|
116
116
|
generateHyphenId,
|
|
117
117
|
generateUUID
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-G42N55ZR.js";
|
|
119
119
|
import {
|
|
120
120
|
BUILT_IN_EXPERTS,
|
|
121
121
|
BuiltInExpertTypeSchema,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
} from "./chunk-PQHVC4BD.js";
|
|
128
128
|
import {
|
|
129
129
|
createSessionMemory
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-6IWPN5UB.js";
|
|
131
131
|
import {
|
|
132
132
|
AGENT_ROUTER_TIMEOUTS,
|
|
133
133
|
API_TIMEOUTS,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
resolveModelIdentitySync,
|
|
200
200
|
toExpertTaskAnalysisResult,
|
|
201
201
|
withStep
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-ECBH5INZ.js";
|
|
203
203
|
import {
|
|
204
204
|
getNexusDataDir,
|
|
205
205
|
nexusDataPath,
|
|
@@ -27001,7 +27001,7 @@ async function populateUnifiedContextOnState(state) {
|
|
|
27001
27001
|
try {
|
|
27002
27002
|
const taskCandidate = state["task"];
|
|
27003
27003
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
27004
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
27004
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-6O6TREXH.js");
|
|
27005
27005
|
const ctx = await getContextForTask2({
|
|
27006
27006
|
task: taskCandidate,
|
|
27007
27007
|
category: inferTaskCategory2(taskCandidate),
|
|
@@ -42485,7 +42485,7 @@ async function tryIssueTriage(task) {
|
|
|
42485
42485
|
try {
|
|
42486
42486
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
42487
42487
|
if (issueMatch === null) return null;
|
|
42488
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
42488
|
+
const { createIssueTriage } = await import("./issue-triage-KZTENUDH.js");
|
|
42489
42489
|
const triage = createIssueTriage();
|
|
42490
42490
|
const owner = issueMatch[1] ?? "";
|
|
42491
42491
|
const num = issueMatch[2] ?? "";
|
|
@@ -42513,7 +42513,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
42513
42513
|
]);
|
|
42514
42514
|
async function classifyWithLLM(task) {
|
|
42515
42515
|
try {
|
|
42516
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
42516
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-Q3OWPD4L.js");
|
|
42517
42517
|
const prompt = [
|
|
42518
42518
|
"Classify this task into exactly one pipeline template.",
|
|
42519
42519
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -43295,7 +43295,7 @@ var memoryInitPromise = null;
|
|
|
43295
43295
|
async function initPipelineMemory() {
|
|
43296
43296
|
if (cachedMemory !== null) return cachedMemory;
|
|
43297
43297
|
try {
|
|
43298
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43298
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-SXQAA2EN.js");
|
|
43299
43299
|
const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
|
|
43300
43300
|
const mem = createSessionMemory2(getLearningDir());
|
|
43301
43301
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -43352,7 +43352,7 @@ function recordRoutingExperience(category, success, durationMs) {
|
|
|
43352
43352
|
callRecord(routingMemoryCache);
|
|
43353
43353
|
return;
|
|
43354
43354
|
}
|
|
43355
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
43355
|
+
routingMemoryInitPromise ??= import("./routing-memory-YZRYGXQC.js").then(({ createRoutingMemory }) => {
|
|
43356
43356
|
routingMemoryCache ??= createRoutingMemory();
|
|
43357
43357
|
return routingMemoryCache;
|
|
43358
43358
|
}).catch((error) => {
|
|
@@ -43386,7 +43386,7 @@ ${text}` : "";
|
|
|
43386
43386
|
}
|
|
43387
43387
|
async function getWeatherContext() {
|
|
43388
43388
|
try {
|
|
43389
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
43389
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-D6HFOK7S.js");
|
|
43390
43390
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
43391
43391
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
43392
43392
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -43404,7 +43404,7 @@ ${lines}
|
|
|
43404
43404
|
}
|
|
43405
43405
|
async function getMemoryContext(task) {
|
|
43406
43406
|
try {
|
|
43407
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43407
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-SXQAA2EN.js");
|
|
43408
43408
|
const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
|
|
43409
43409
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
43410
43410
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -43510,7 +43510,7 @@ ${contextBlock}`;
|
|
|
43510
43510
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
43511
43511
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
43512
43512
|
try {
|
|
43513
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
43513
|
+
const { executeVoting } = await import("./consensus-vote-XLEQFVE7.js");
|
|
43514
43514
|
const votingResult = await executeVoting(
|
|
43515
43515
|
{
|
|
43516
43516
|
proposal: plan.slice(0, 4e3),
|
|
@@ -44437,7 +44437,7 @@ async function searchCodebaseForTask(task) {
|
|
|
44437
44437
|
}
|
|
44438
44438
|
async function queryResearchRegistry(task) {
|
|
44439
44439
|
try {
|
|
44440
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
44440
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-CGVR6M4S.js");
|
|
44441
44441
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
44442
44442
|
if (topic === void 0) return null;
|
|
44443
44443
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -44508,7 +44508,7 @@ function createScanStageWrapper() {
|
|
|
44508
44508
|
try {
|
|
44509
44509
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
44510
44510
|
if (slug !== void 0) {
|
|
44511
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
44511
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-XCX7EFJR.js");
|
|
44512
44512
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
44513
44513
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
44514
44514
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51151,7 +51151,7 @@ var GitHubTaskTracker = class {
|
|
|
51151
51151
|
cachedProvider = null;
|
|
51152
51152
|
async getProvider() {
|
|
51153
51153
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51154
|
-
const { createScmProvider } = await import("./factory-
|
|
51154
|
+
const { createScmProvider } = await import("./factory-PSMTMC7V.js");
|
|
51155
51155
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51156
51156
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51157
51157
|
this.cachedProvider = result.value;
|
|
@@ -51859,4 +51859,4 @@ export {
|
|
|
51859
51859
|
detectBackend,
|
|
51860
51860
|
createTaskTracker
|
|
51861
51861
|
};
|
|
51862
|
-
//# sourceMappingURL=chunk-
|
|
51862
|
+
//# sourceMappingURL=chunk-FYGZ4MEQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ECBH5INZ.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-G42N55ZR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULTS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7GUP6KQQ.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveInsideRoot
|
|
6
6
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createAllAdapters,
|
|
12
12
|
probeCli
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3H6Q3RZM.js";
|
|
14
14
|
import {
|
|
15
15
|
CliNameSchema,
|
|
16
16
|
DEFAULT_CAPABILITIES,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
ok,
|
|
27
27
|
symbols,
|
|
28
28
|
writeLine
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ECBH5INZ.js";
|
|
30
30
|
import {
|
|
31
31
|
detectSandbox,
|
|
32
32
|
getLearningDir,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-CH7QIDHQ.js";
|
|
41
41
|
|
|
42
42
|
// src/version.ts
|
|
43
|
-
var VERSION = true ? "2.
|
|
43
|
+
var VERSION = true ? "2.95.0" : "dev";
|
|
44
44
|
|
|
45
45
|
// src/config/schemas-core.ts
|
|
46
46
|
import { z } from "zod";
|
|
@@ -2096,7 +2096,7 @@ async function runDoctorFix(result) {
|
|
|
2096
2096
|
writeLine2("\u2500".repeat(40));
|
|
2097
2097
|
let fixCount = 0;
|
|
2098
2098
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2099
|
-
const { runSetup } = await import("./setup-command-
|
|
2099
|
+
const { runSetup } = await import("./setup-command-VG7JZI6O.js");
|
|
2100
2100
|
const setupResult = runSetup({
|
|
2101
2101
|
skipMcp: true,
|
|
2102
2102
|
skipRules: true,
|
|
@@ -2110,7 +2110,7 @@ async function runDoctorFix(result) {
|
|
|
2110
2110
|
}
|
|
2111
2111
|
}
|
|
2112
2112
|
if (!result.configFile.found) {
|
|
2113
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
2113
|
+
const { runConfigInitSync } = await import("./setup-config-VJAK6AA2.js");
|
|
2114
2114
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
2115
2115
|
if (configResult.success && configResult.created) {
|
|
2116
2116
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -2208,4 +2208,4 @@ export {
|
|
|
2208
2208
|
startStdioServer,
|
|
2209
2209
|
closeServer
|
|
2210
2210
|
};
|
|
2211
|
-
//# sourceMappingURL=chunk-
|
|
2211
|
+
//# sourceMappingURL=chunk-GC5FH2IA.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-6T3EPABN.js";
|
|
6
6
|
import {
|
|
7
7
|
generateId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G42N55ZR.js";
|
|
9
9
|
import {
|
|
10
10
|
getMemoryRegistry
|
|
11
11
|
} from "./chunk-PQHVC4BD.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6IWPN5UB.js";
|
|
15
15
|
import {
|
|
16
16
|
ErrorCode,
|
|
17
17
|
NexusError,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getTimeProvider,
|
|
25
25
|
ok,
|
|
26
26
|
setSharedMobiMemDbPathResolver
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ECBH5INZ.js";
|
|
28
28
|
import {
|
|
29
29
|
nexusDataPath
|
|
30
30
|
} from "./chunk-CH7QIDHQ.js";
|
|
@@ -5612,4 +5612,4 @@ export {
|
|
|
5612
5612
|
reinitializeMemoryBackends,
|
|
5613
5613
|
ToolMemoryManager
|
|
5614
5614
|
};
|
|
5615
|
-
//# sourceMappingURL=chunk-
|
|
5615
|
+
//# sourceMappingURL=chunk-KHZGMF2W.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ConfigError,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ECBH5INZ.js";
|
|
6
6
|
|
|
7
7
|
// src/adapters/sdk/types.ts
|
|
8
8
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
CUSTOM_API_ALLOW_PRIVATE_ENV,
|
|
118
118
|
validateCustomApiBaseUrl
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-LXROEQAO.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
err,
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ECBH5INZ.js";
|
|
7
7
|
|
|
8
8
|
// src/scm/types.ts
|
|
9
9
|
var ScmError = class extends Error {
|
|
@@ -258,4 +258,4 @@ export {
|
|
|
258
258
|
ScmError,
|
|
259
259
|
GitHubProvider
|
|
260
260
|
};
|
|
261
|
-
//# sourceMappingURL=chunk-
|
|
261
|
+
//# sourceMappingURL=chunk-LZOTH2GI.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ECBH5INZ.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -560,4 +560,4 @@ export {
|
|
|
560
560
|
resolveReputationGatingMode,
|
|
561
561
|
gateWithReputation
|
|
562
562
|
};
|
|
563
|
-
//# sourceMappingURL=chunk-
|
|
563
|
+
//# sourceMappingURL=chunk-O4LVC4MQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenAIAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WGA4VGIR.js";
|
|
4
4
|
import {
|
|
5
5
|
ConfigError,
|
|
6
6
|
createLogger,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getTimeProvider,
|
|
10
10
|
lookupInTreeCapability,
|
|
11
11
|
ok
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ECBH5INZ.js";
|
|
13
13
|
import {
|
|
14
14
|
getNexusDataDir
|
|
15
15
|
} from "./chunk-CH7QIDHQ.js";
|
|
@@ -307,4 +307,4 @@ export {
|
|
|
307
307
|
discoverModels,
|
|
308
308
|
buildOpenAICompatAdapters
|
|
309
309
|
};
|
|
310
|
-
//# sourceMappingURL=chunk-
|
|
310
|
+
//# sourceMappingURL=chunk-PFOY5ML6.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ECBH5INZ.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-QUPPV6UO.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getToolMemory
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KHZGMF2W.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_NAMES,
|
|
6
6
|
StrategyDistiller,
|
|
7
7
|
createLogger,
|
|
8
8
|
getOutcomeStore,
|
|
9
9
|
registerPersistentDistillerFactory
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ECBH5INZ.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureLearningDir,
|
|
13
13
|
getRulesFile
|
|
@@ -273,4 +273,4 @@ export {
|
|
|
273
273
|
inferTaskCategory,
|
|
274
274
|
summarizeContextForPrompt
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=chunk-
|
|
276
|
+
//# sourceMappingURL=chunk-TEKWQNQ2.js.map
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
createStream,
|
|
5
5
|
requireApiKey,
|
|
6
6
|
validateApiKeyPresence
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D3JSXVX3.js";
|
|
8
8
|
import {
|
|
9
9
|
CUSTOM_API_BASE_URL_ENV,
|
|
10
10
|
PROVIDER_ENV_KEYS,
|
|
11
11
|
validateCustomApiBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LXROEQAO.js";
|
|
13
13
|
import {
|
|
14
14
|
getToolMemory
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KHZGMF2W.js";
|
|
16
16
|
import {
|
|
17
17
|
getDefaultAvailableModelsCache
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y3OOHHKQ.js";
|
|
19
19
|
import {
|
|
20
20
|
CUSTOM_API_DEFAULT_MODEL
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7GUP6KQQ.js";
|
|
22
22
|
import {
|
|
23
23
|
createCliAdapter,
|
|
24
24
|
createCliDetectionCache,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isCliAvailable,
|
|
28
28
|
sanitizeOutput,
|
|
29
29
|
withTimeout
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3H6Q3RZM.js";
|
|
31
31
|
import {
|
|
32
32
|
AgentError,
|
|
33
33
|
CACHE_TIMEOUTS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
resolveCliAlias,
|
|
73
73
|
resolveVoteTimeout,
|
|
74
74
|
toRateLimitError
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-ECBH5INZ.js";
|
|
76
76
|
import {
|
|
77
77
|
ensureLearningDir,
|
|
78
78
|
getNexusDataDir,
|
|
@@ -9043,7 +9043,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
9043
9043
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
9044
9044
|
async function runContrarianCheck(proposal, log) {
|
|
9045
9045
|
try {
|
|
9046
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
9046
|
+
const { executeExpert } = await import("./expert-bridge-Q3OWPD4L.js");
|
|
9047
9047
|
const prompt = [
|
|
9048
9048
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
9049
9049
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -9566,4 +9566,4 @@ export {
|
|
|
9566
9566
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
9567
9567
|
registerConsensusVoteTool
|
|
9568
9568
|
};
|
|
9569
|
-
//# sourceMappingURL=chunk-
|
|
9569
|
+
//# sourceMappingURL=chunk-VTMQND6B.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
createStream,
|
|
4
4
|
requireApiKey,
|
|
5
5
|
validateApiKeyPresence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D3JSXVX3.js";
|
|
7
7
|
import {
|
|
8
8
|
ModelCapability,
|
|
9
9
|
err,
|
|
10
10
|
getCliModelName,
|
|
11
11
|
getTokenEstimator,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ECBH5INZ.js";
|
|
14
14
|
|
|
15
15
|
// src/adapters/openai-types.ts
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -553,4 +553,4 @@ export {
|
|
|
553
553
|
OpenAIAdapter,
|
|
554
554
|
createOpenAIAdapter
|
|
555
555
|
};
|
|
556
|
-
//# sourceMappingURL=chunk-
|
|
556
|
+
//# sourceMappingURL=chunk-WGA4VGIR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ECBH5INZ.js";
|
|
4
4
|
|
|
5
5
|
// src/config/available-models-cache.ts
|
|
6
6
|
var logger = createLogger({ component: "available-models-cache" });
|
|
@@ -150,4 +150,4 @@ export {
|
|
|
150
150
|
getDefaultAvailableModelsCache,
|
|
151
151
|
setDefaultAvailableModelsCache
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
153
|
+
//# sourceMappingURL=chunk-Y3OOHHKQ.js.map
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
gateWithReputation,
|
|
10
10
|
resolveReputationGatingMode,
|
|
11
11
|
sanitizeInput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O4LVC4MQ.js";
|
|
13
13
|
import {
|
|
14
14
|
createLogger,
|
|
15
15
|
getTimeProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ECBH5INZ.js";
|
|
17
17
|
|
|
18
18
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
19
19
|
import { randomUUID } from "crypto";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
formatReviewComment,
|
|
289
289
|
createFailedReview
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-YYXJ6RTO.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ECBH5INZ.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/doctor-deep.ts
|
|
8
8
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
runDeepDiagnostics,
|
|
107
107
|
formatDeepDiagnostics
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-ZICVVBDW.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliCircuitBreakerIntegration,
|
|
3
3
|
createCliCircuitBreakerIntegration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-3HXWI34V.js";
|
|
5
|
+
import "./chunk-47Z3YPOK.js";
|
|
6
|
+
import "./chunk-ECBH5INZ.js";
|
|
7
7
|
import "./chunk-CH7QIDHQ.js";
|
|
8
8
|
import "./chunk-PR4QN5HX.js";
|
|
9
9
|
export {
|
|
10
10
|
CliCircuitBreakerIntegration,
|
|
11
11
|
createCliCircuitBreakerIntegration
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
13
|
+
//# sourceMappingURL=cli-circuit-breaker-LNU5DQSB.js.map
|