nexus-agents 2.166.3 → 2.167.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-AUA4TFBG.js → child-mcp-config-X4YLQKGK.js} +2 -2
- package/dist/{chunk-P54BDACX.js → chunk-2NU774CB.js} +2 -2
- package/dist/{chunk-ORRKK563.js → chunk-7K5LSUEU.js} +3 -3
- package/dist/{chunk-GS3UPAUE.js → chunk-7USEQLMS.js} +2 -2
- package/dist/{chunk-K2IX6BEK.js → chunk-7YD3TRDX.js} +4 -4
- package/dist/{chunk-IF46G2LM.js → chunk-BB7KSLNA.js} +2 -2
- package/dist/{chunk-NEQJSYJH.js → chunk-COIZLMGV.js} +3 -3
- package/dist/{chunk-Z66EEQ4A.js → chunk-CURHM4TH.js} +3 -3
- package/dist/{chunk-FZV4YAYT.js → chunk-DFCC7FN4.js} +3 -3
- package/dist/{chunk-BZFF3YWU.js → chunk-GGYQTV2Y.js} +4 -4
- package/dist/{chunk-HNAFWKJG.js → chunk-GRWHPG72.js} +7 -7
- package/dist/{chunk-AWPSFL5C.js → chunk-GVNY4ZB6.js} +2 -2
- package/dist/{chunk-YKTVN2TF.js → chunk-IFSIKGHI.js} +2 -2
- package/dist/{chunk-LRBEUBZ3.js → chunk-JKUX73VD.js} +3 -3
- package/dist/{chunk-I7OZP6FS.js → chunk-KM3YEIEN.js} +4 -4
- package/dist/{chunk-THI3VWHO.js → chunk-O6VL6LA4.js} +2 -2
- package/dist/{chunk-6LXTT6AK.js → chunk-PC4Y4VPX.js} +2 -2
- package/dist/{chunk-PXTZ6RPP.js → chunk-QLZDOEO4.js} +7 -7
- package/dist/{chunk-DMFMJFRY.js → chunk-QPSYBHK6.js} +2 -2
- package/dist/{chunk-BFDVV3Q3.js → chunk-QV52AXTF.js} +2 -2
- package/dist/chunk-QZUG667L.js +56 -0
- package/dist/chunk-QZUG667L.js.map +1 -0
- package/dist/{chunk-JYVPM37A.js → chunk-RKIPSMCN.js} +5 -5
- package/dist/{chunk-ZI4PO2A3.js → chunk-S6HCREYY.js} +12 -62
- package/dist/chunk-S6HCREYY.js.map +1 -0
- package/dist/{chunk-F2YZ3U6O.js → chunk-SRNAXDOT.js} +2 -2
- package/dist/{chunk-V5RPW2ZX.js → chunk-STMW5BSR.js} +3 -3
- package/dist/{chunk-FQNG6ZIW.js → chunk-TGAVZ2ZL.js} +8 -8
- package/dist/{chunk-UWRDWX6L.js → chunk-UNIDAVVR.js} +2 -2
- package/dist/{chunk-UO6C5J5D.js → chunk-USBKBGT3.js} +5 -5
- package/dist/{chunk-OI6H3DL6.js → chunk-VGEVDF44.js} +4 -4
- package/dist/{chunk-76Q6GTPU.js → chunk-VNVGGM73.js} +2 -2
- package/dist/{chunk-FKHQWC2L.js → chunk-XUMLVCFL.js} +2 -2
- package/dist/{chunk-WL4SGKAW.js → chunk-ZAPCPHGZ.js} +2 -2
- package/dist/{chunk-PRSGZQNB.js → chunk-ZIC6ZZFU.js} +3 -3
- package/dist/{chunk-WOY6TQCH.js → chunk-ZSUN7BHE.js} +439 -12
- package/dist/chunk-ZSUN7BHE.js.map +1 -0
- package/dist/{chunk-3LVB5OE2.js → chunk-ZTTUXPBQ.js} +2 -2
- package/dist/{chunk-JBH4CU46.js → chunk-ZTWKSN5K.js} +34 -34
- package/dist/{cli-circuit-breaker-FSUDU7BV.js → cli-circuit-breaker-2AAHSCHR.js} +4 -4
- package/dist/cli.js +42 -41
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-HC4YLG5W.js → composite-router-WOVGICBS.js} +2 -2
- package/dist/{consensus-vote-KWPS6WNH.js → consensus-vote-322S65GQ.js} +16 -15
- package/dist/{context-retriever-YCKTCDGM.js → context-retriever-YMJY6YBJ.js} +9 -8
- package/dist/{doctor-deep-4UARVVSD.js → doctor-deep-DALT3OXC.js} +3 -3
- package/dist/{expert-bridge-EAR6XZJA.js → expert-bridge-WNV3ST2T.js} +4 -4
- package/dist/factory-33HQYVCK.js +23 -0
- package/dist/{factory-7SVW7XMV.js → factory-TLSTFONW.js} +5 -5
- package/dist/{improvement-review-AHSY5ZXD.js → improvement-review-2W6LKP74.js} +5 -5
- package/dist/index.js +38 -312
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-5BKE7UEB.js → init-opencode-I4FY4OGP.js} +6 -6
- package/dist/{issue-triage-TNV4R33I.js → issue-triage-CVMVZ3IV.js} +6 -6
- package/dist/{pr-reviewer-helpers-ZC2I5ZYD.js → pr-reviewer-helpers-SAMOVLNJ.js} +4 -4
- package/dist/{registry-command-O2GLHG3G.js → registry-command-5D2DJT53.js} +2 -2
- package/dist/{repo-security-plan-CFRLHIMY.js → repo-security-plan-F7V5SHAQ.js} +3 -3
- package/dist/{research-helpers-synthesize-ONWBGXHO.js → research-helpers-synthesize-F4PV4B4B.js} +4 -4
- package/dist/{routing-memory-XHZKEPUH.js → routing-memory-G6YBK4WI.js} +2 -2
- package/dist/{session-memory-5QVKDE4U.js → session-memory-DAJHLPOY.js} +3 -3
- package/dist/{setup-command-G7OB4QQG.js → setup-command-S4AOTSY5.js} +12 -11
- package/dist/{setup-config-MMBOL5CW.js → setup-config-HKUWFV5N.js} +3 -3
- package/dist/{setup-custom-api-RQ3BUMJC.js → setup-custom-api-XRUPWEPF.js} +3 -3
- package/dist/{tool-memory-VK4IZLPN.js → tool-memory-XJ5VRMNQ.js} +5 -5
- package/dist/{unified-registry-ZOTGM4EY.js → unified-registry-ETKPTZBU.js} +10 -9
- package/dist/{weather-report-MPD66LKP.js → weather-report-TWBLIHPZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-WOY6TQCH.js.map +0 -1
- package/dist/chunk-ZI4PO2A3.js.map +0 -1
- package/dist/factory-JYAUOFEN.js +0 -22
- /package/dist/{child-mcp-config-AUA4TFBG.js.map → child-mcp-config-X4YLQKGK.js.map} +0 -0
- /package/dist/{chunk-P54BDACX.js.map → chunk-2NU774CB.js.map} +0 -0
- /package/dist/{chunk-ORRKK563.js.map → chunk-7K5LSUEU.js.map} +0 -0
- /package/dist/{chunk-GS3UPAUE.js.map → chunk-7USEQLMS.js.map} +0 -0
- /package/dist/{chunk-K2IX6BEK.js.map → chunk-7YD3TRDX.js.map} +0 -0
- /package/dist/{chunk-IF46G2LM.js.map → chunk-BB7KSLNA.js.map} +0 -0
- /package/dist/{chunk-NEQJSYJH.js.map → chunk-COIZLMGV.js.map} +0 -0
- /package/dist/{chunk-Z66EEQ4A.js.map → chunk-CURHM4TH.js.map} +0 -0
- /package/dist/{chunk-FZV4YAYT.js.map → chunk-DFCC7FN4.js.map} +0 -0
- /package/dist/{chunk-BZFF3YWU.js.map → chunk-GGYQTV2Y.js.map} +0 -0
- /package/dist/{chunk-HNAFWKJG.js.map → chunk-GRWHPG72.js.map} +0 -0
- /package/dist/{chunk-AWPSFL5C.js.map → chunk-GVNY4ZB6.js.map} +0 -0
- /package/dist/{chunk-YKTVN2TF.js.map → chunk-IFSIKGHI.js.map} +0 -0
- /package/dist/{chunk-LRBEUBZ3.js.map → chunk-JKUX73VD.js.map} +0 -0
- /package/dist/{chunk-I7OZP6FS.js.map → chunk-KM3YEIEN.js.map} +0 -0
- /package/dist/{chunk-THI3VWHO.js.map → chunk-O6VL6LA4.js.map} +0 -0
- /package/dist/{chunk-6LXTT6AK.js.map → chunk-PC4Y4VPX.js.map} +0 -0
- /package/dist/{chunk-PXTZ6RPP.js.map → chunk-QLZDOEO4.js.map} +0 -0
- /package/dist/{chunk-DMFMJFRY.js.map → chunk-QPSYBHK6.js.map} +0 -0
- /package/dist/{chunk-BFDVV3Q3.js.map → chunk-QV52AXTF.js.map} +0 -0
- /package/dist/{chunk-JYVPM37A.js.map → chunk-RKIPSMCN.js.map} +0 -0
- /package/dist/{chunk-F2YZ3U6O.js.map → chunk-SRNAXDOT.js.map} +0 -0
- /package/dist/{chunk-V5RPW2ZX.js.map → chunk-STMW5BSR.js.map} +0 -0
- /package/dist/{chunk-FQNG6ZIW.js.map → chunk-TGAVZ2ZL.js.map} +0 -0
- /package/dist/{chunk-UWRDWX6L.js.map → chunk-UNIDAVVR.js.map} +0 -0
- /package/dist/{chunk-UO6C5J5D.js.map → chunk-USBKBGT3.js.map} +0 -0
- /package/dist/{chunk-OI6H3DL6.js.map → chunk-VGEVDF44.js.map} +0 -0
- /package/dist/{chunk-76Q6GTPU.js.map → chunk-VNVGGM73.js.map} +0 -0
- /package/dist/{chunk-FKHQWC2L.js.map → chunk-XUMLVCFL.js.map} +0 -0
- /package/dist/{chunk-WL4SGKAW.js.map → chunk-ZAPCPHGZ.js.map} +0 -0
- /package/dist/{chunk-PRSGZQNB.js.map → chunk-ZIC6ZZFU.js.map} +0 -0
- /package/dist/{chunk-3LVB5OE2.js.map → chunk-ZTTUXPBQ.js.map} +0 -0
- /package/dist/{chunk-JBH4CU46.js.map → chunk-ZTWKSN5K.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-FSUDU7BV.js.map → cli-circuit-breaker-2AAHSCHR.js.map} +0 -0
- /package/dist/{composite-router-HC4YLG5W.js.map → composite-router-WOVGICBS.js.map} +0 -0
- /package/dist/{consensus-vote-KWPS6WNH.js.map → consensus-vote-322S65GQ.js.map} +0 -0
- /package/dist/{context-retriever-YCKTCDGM.js.map → context-retriever-YMJY6YBJ.js.map} +0 -0
- /package/dist/{doctor-deep-4UARVVSD.js.map → doctor-deep-DALT3OXC.js.map} +0 -0
- /package/dist/{expert-bridge-EAR6XZJA.js.map → expert-bridge-WNV3ST2T.js.map} +0 -0
- /package/dist/{factory-7SVW7XMV.js.map → factory-33HQYVCK.js.map} +0 -0
- /package/dist/{factory-JYAUOFEN.js.map → factory-TLSTFONW.js.map} +0 -0
- /package/dist/{improvement-review-AHSY5ZXD.js.map → improvement-review-2W6LKP74.js.map} +0 -0
- /package/dist/{init-opencode-5BKE7UEB.js.map → init-opencode-I4FY4OGP.js.map} +0 -0
- /package/dist/{issue-triage-TNV4R33I.js.map → issue-triage-CVMVZ3IV.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-ZC2I5ZYD.js.map → pr-reviewer-helpers-SAMOVLNJ.js.map} +0 -0
- /package/dist/{registry-command-O2GLHG3G.js.map → registry-command-5D2DJT53.js.map} +0 -0
- /package/dist/{repo-security-plan-CFRLHIMY.js.map → repo-security-plan-F7V5SHAQ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-ONWBGXHO.js.map → research-helpers-synthesize-F4PV4B4B.js.map} +0 -0
- /package/dist/{routing-memory-XHZKEPUH.js.map → routing-memory-G6YBK4WI.js.map} +0 -0
- /package/dist/{session-memory-5QVKDE4U.js.map → session-memory-DAJHLPOY.js.map} +0 -0
- /package/dist/{setup-command-G7OB4QQG.js.map → setup-command-S4AOTSY5.js.map} +0 -0
- /package/dist/{setup-config-MMBOL5CW.js.map → setup-config-HKUWFV5N.js.map} +0 -0
- /package/dist/{setup-custom-api-RQ3BUMJC.js.map → setup-custom-api-XRUPWEPF.js.map} +0 -0
- /package/dist/{tool-memory-VK4IZLPN.js.map → tool-memory-XJ5VRMNQ.js.map} +0 -0
- /package/dist/{unified-registry-ZOTGM4EY.js.map → unified-registry-ETKPTZBU.js.map} +0 -0
- /package/dist/{weather-report-MPD66LKP.js.map → weather-report-TWBLIHPZ.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CURHM4TH.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-ZTTUXPBQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VNVGGM73.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
DEFAULT_TASK_TTL_MS,
|
|
21
21
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
22
22
|
clampTaskTtl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QLZDOEO4.js";
|
|
24
24
|
import {
|
|
25
25
|
executeExpert
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GRWHPG72.js";
|
|
27
27
|
import {
|
|
28
28
|
JobStatusSchema,
|
|
29
29
|
abortJob,
|
|
@@ -44,21 +44,21 @@ import {
|
|
|
44
44
|
simulationDeniedResult,
|
|
45
45
|
toJobSummary,
|
|
46
46
|
writeJobCancelled
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-TGAVZ2ZL.js";
|
|
48
48
|
import {
|
|
49
49
|
normalizeTopicToCanonical,
|
|
50
50
|
synthesizeResearch
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-7K5LSUEU.js";
|
|
52
52
|
import {
|
|
53
53
|
IssueTriage
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-RKIPSMCN.js";
|
|
55
55
|
import {
|
|
56
56
|
resolveEnvMode,
|
|
57
57
|
sanitizeInput
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-SRNAXDOT.js";
|
|
59
59
|
import {
|
|
60
60
|
withPrerequisite
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ZIC6ZZFU.js";
|
|
62
62
|
import {
|
|
63
63
|
NOOP_NOTIFIER,
|
|
64
64
|
RateLimiter,
|
|
@@ -81,12 +81,12 @@ import {
|
|
|
81
81
|
withAuditTrail,
|
|
82
82
|
withProgressHeartbeat,
|
|
83
83
|
wrapToolWithTimeout
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-STMW5BSR.js";
|
|
85
85
|
import {
|
|
86
86
|
createAuditTrail,
|
|
87
87
|
createGraphAuditBridge,
|
|
88
88
|
emitPipelinePolicyEvent
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-QV52AXTF.js";
|
|
90
90
|
import {
|
|
91
91
|
addResearchPaper,
|
|
92
92
|
addSourceToRegistry,
|
|
@@ -114,15 +114,15 @@ import {
|
|
|
114
114
|
parseRegistry,
|
|
115
115
|
sourceExistsInRegistry,
|
|
116
116
|
summarizeContextForPrompt
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-ZSUN7BHE.js";
|
|
118
118
|
import {
|
|
119
119
|
getTokenEnvVars,
|
|
120
120
|
resolveToken
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-UNIDAVVR.js";
|
|
122
122
|
import {
|
|
123
123
|
loadPapersRegistry,
|
|
124
124
|
loadTechniquesRegistry
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-PC4Y4VPX.js";
|
|
126
126
|
import {
|
|
127
127
|
resolveInsideRoot
|
|
128
128
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -131,14 +131,14 @@ import {
|
|
|
131
131
|
MemoryImportance,
|
|
132
132
|
calculateTextJaccardSimilarity,
|
|
133
133
|
getToolMemory
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-KM3YEIEN.js";
|
|
135
135
|
import {
|
|
136
136
|
STOPWORDS,
|
|
137
137
|
truncateWithInfo
|
|
138
138
|
} from "./chunk-6T3EPABN.js";
|
|
139
139
|
import {
|
|
140
140
|
createSessionMemory
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-QPSYBHK6.js";
|
|
142
142
|
import {
|
|
143
143
|
BUILT_IN_EXPERTS,
|
|
144
144
|
BuiltInExpertTypeSchema,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
createEvent,
|
|
154
154
|
getGlobalEventBus,
|
|
155
155
|
getGlobalRegistry
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-GGYQTV2Y.js";
|
|
157
157
|
import {
|
|
158
158
|
CliDetectionCache,
|
|
159
159
|
asRecord,
|
|
@@ -161,19 +161,19 @@ import {
|
|
|
161
161
|
getAvailableClis,
|
|
162
162
|
sleep,
|
|
163
163
|
withTimeout
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-S6HCREYY.js";
|
|
165
165
|
import {
|
|
166
166
|
DEFAULTS
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-2NU774CB.js";
|
|
168
168
|
import {
|
|
169
169
|
getAvailabilityCache,
|
|
170
170
|
getCliForModelId,
|
|
171
171
|
resolveFallback
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-ZTTUXPBQ.js";
|
|
173
173
|
import {
|
|
174
174
|
generateHyphenId,
|
|
175
175
|
generateUUID
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-7USEQLMS.js";
|
|
177
177
|
import {
|
|
178
178
|
AGENT_ROUTER_TIMEOUTS,
|
|
179
179
|
API_TIMEOUTS,
|
|
@@ -265,7 +265,7 @@ import {
|
|
|
265
265
|
selectStrategyByManifest,
|
|
266
266
|
toExpertTaskAnalysisResult,
|
|
267
267
|
withStep
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-CURHM4TH.js";
|
|
269
269
|
import {
|
|
270
270
|
ensureLearningDir,
|
|
271
271
|
getMetaOutcomesFile,
|
|
@@ -26300,7 +26300,7 @@ function execIdFields(executionId) {
|
|
|
26300
26300
|
async function populateUnifiedContextOnState(state, options) {
|
|
26301
26301
|
const taskCandidate = state["task"];
|
|
26302
26302
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26303
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26303
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-YMJY6YBJ.js");
|
|
26304
26304
|
const category = inferTaskCategory2(taskCandidate);
|
|
26305
26305
|
const executionId = options?.executionId;
|
|
26306
26306
|
const execFields = execIdFields(executionId);
|
|
@@ -41674,7 +41674,7 @@ async function tryIssueTriage(task) {
|
|
|
41674
41674
|
try {
|
|
41675
41675
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
41676
41676
|
if (issueMatch === null) return null;
|
|
41677
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
41677
|
+
const { createIssueTriage } = await import("./issue-triage-CVMVZ3IV.js");
|
|
41678
41678
|
const triage = createIssueTriage();
|
|
41679
41679
|
const owner = issueMatch[1] ?? "";
|
|
41680
41680
|
const num = issueMatch[2] ?? "";
|
|
@@ -41702,7 +41702,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41702
41702
|
]);
|
|
41703
41703
|
async function classifyWithLLM(task) {
|
|
41704
41704
|
try {
|
|
41705
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41705
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-WNV3ST2T.js");
|
|
41706
41706
|
const prompt = [
|
|
41707
41707
|
"Classify this task into exactly one pipeline template.",
|
|
41708
41708
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -43343,7 +43343,7 @@ var memoryInitPromise = null;
|
|
|
43343
43343
|
async function initPipelineMemory() {
|
|
43344
43344
|
if (cachedMemory !== null) return cachedMemory;
|
|
43345
43345
|
try {
|
|
43346
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43346
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DAJHLPOY.js");
|
|
43347
43347
|
const { getLearningDir } = await import("./learning-persistence-6D5GGT7D.js");
|
|
43348
43348
|
const mem = createSessionMemory2(getLearningDir());
|
|
43349
43349
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -43405,7 +43405,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
43405
43405
|
callRecord(routingMemoryCache);
|
|
43406
43406
|
return;
|
|
43407
43407
|
}
|
|
43408
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
43408
|
+
routingMemoryInitPromise ??= import("./routing-memory-G6YBK4WI.js").then(({ createRoutingMemory }) => {
|
|
43409
43409
|
routingMemoryCache ??= createRoutingMemory();
|
|
43410
43410
|
return routingMemoryCache;
|
|
43411
43411
|
}).catch((error) => {
|
|
@@ -43439,7 +43439,7 @@ ${text}` : "";
|
|
|
43439
43439
|
}
|
|
43440
43440
|
async function getWeatherContext() {
|
|
43441
43441
|
try {
|
|
43442
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
43442
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-TWBLIHPZ.js");
|
|
43443
43443
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
43444
43444
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
43445
43445
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -43457,7 +43457,7 @@ ${lines}
|
|
|
43457
43457
|
}
|
|
43458
43458
|
async function getMemoryContext(task) {
|
|
43459
43459
|
try {
|
|
43460
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43460
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DAJHLPOY.js");
|
|
43461
43461
|
const { getLearningDir } = await import("./learning-persistence-6D5GGT7D.js");
|
|
43462
43462
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
43463
43463
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -43572,7 +43572,7 @@ ${contextBlock}`;
|
|
|
43572
43572
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
43573
43573
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
43574
43574
|
try {
|
|
43575
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
43575
|
+
const { executeVoting } = await import("./consensus-vote-322S65GQ.js");
|
|
43576
43576
|
const votingResult = await executeVoting(
|
|
43577
43577
|
{
|
|
43578
43578
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -44013,7 +44013,7 @@ async function searchCodebaseForTask(task) {
|
|
|
44013
44013
|
}
|
|
44014
44014
|
async function queryResearchRegistry(task) {
|
|
44015
44015
|
try {
|
|
44016
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
44016
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-F4PV4B4B.js");
|
|
44017
44017
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
44018
44018
|
if (topic === void 0) return null;
|
|
44019
44019
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -44084,7 +44084,7 @@ function createScanStageWrapper() {
|
|
|
44084
44084
|
try {
|
|
44085
44085
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
44086
44086
|
if (slug !== void 0) {
|
|
44087
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
44087
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-F7V5SHAQ.js");
|
|
44088
44088
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
44089
44089
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
44090
44090
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -47044,7 +47044,7 @@ var GitHubTaskTracker = class {
|
|
|
47044
47044
|
cachedProvider = null;
|
|
47045
47045
|
async getProvider() {
|
|
47046
47046
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
47047
|
-
const { createScmProvider } = await import("./factory-
|
|
47047
|
+
const { createScmProvider } = await import("./factory-TLSTFONW.js");
|
|
47048
47048
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
47049
47049
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
47050
47050
|
this.cachedProvider = result.value;
|
|
@@ -47851,7 +47851,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
47851
47851
|
}
|
|
47852
47852
|
}
|
|
47853
47853
|
async function defaultSources(includeOpenRouter) {
|
|
47854
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
47854
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-33HQYVCK.js");
|
|
47855
47855
|
const adapters = createAllAdapters2();
|
|
47856
47856
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
47857
47857
|
}
|
|
@@ -51920,4 +51920,4 @@ export {
|
|
|
51920
51920
|
shutdownFeedbackSubscriber,
|
|
51921
51921
|
createEventBusBridge
|
|
51922
51922
|
};
|
|
51923
|
-
//# sourceMappingURL=chunk-
|
|
51923
|
+
//# sourceMappingURL=chunk-ZTWKSN5K.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliCircuitBreakerIntegration,
|
|
3
3
|
createCliCircuitBreakerIntegration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-COIZLMGV.js";
|
|
5
|
+
import "./chunk-GVNY4ZB6.js";
|
|
6
|
+
import "./chunk-CURHM4TH.js";
|
|
7
7
|
import "./chunk-AXTD4TFK.js";
|
|
8
8
|
import "./chunk-DHVMSIT5.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
CliCircuitBreakerIntegration,
|
|
12
12
|
createCliCircuitBreakerIntegration
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
14
|
+
//# sourceMappingURL=cli-circuit-breaker-2AAHSCHR.js.map
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
buildOpenAICompatAdapters,
|
|
4
4
|
readOpenAICompatEnv
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VGEVDF44.js";
|
|
6
6
|
import {
|
|
7
7
|
calculateConsensus,
|
|
8
8
|
countByCategory,
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
generateSummary,
|
|
18
18
|
parseFindings,
|
|
19
19
|
sumFindings
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-JKUX73VD.js";
|
|
21
|
+
import "./chunk-O6VL6LA4.js";
|
|
22
22
|
import {
|
|
23
23
|
setupCommandAsync,
|
|
24
24
|
verifyCommand
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-USBKBGT3.js";
|
|
26
|
+
import "./chunk-XUMLVCFL.js";
|
|
27
27
|
import {
|
|
28
28
|
AuthHandler,
|
|
29
29
|
DEFAULT_EXPERTS,
|
|
@@ -142,9 +142,9 @@ import {
|
|
|
142
142
|
validateCommand,
|
|
143
143
|
validateWorkflow,
|
|
144
144
|
wrapInMarkdownFence
|
|
145
|
-
} from "./chunk-
|
|
146
|
-
import "./chunk-
|
|
147
|
-
import "./chunk-
|
|
145
|
+
} from "./chunk-ZTWKSN5K.js";
|
|
146
|
+
import "./chunk-DFCC7FN4.js";
|
|
147
|
+
import "./chunk-VNVGGM73.js";
|
|
148
148
|
import "./chunk-HFOQKCD2.js";
|
|
149
149
|
import "./chunk-AO4X3BMP.js";
|
|
150
150
|
import {
|
|
@@ -170,11 +170,11 @@ import {
|
|
|
170
170
|
loadConfig,
|
|
171
171
|
runDoctor,
|
|
172
172
|
validateNexusEnv
|
|
173
|
-
} from "./chunk-
|
|
174
|
-
import "./chunk-
|
|
173
|
+
} from "./chunk-QLZDOEO4.js";
|
|
174
|
+
import "./chunk-COIZLMGV.js";
|
|
175
175
|
import {
|
|
176
176
|
shutdownExpertBridge
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-GRWHPG72.js";
|
|
178
178
|
import {
|
|
179
179
|
ConsensusVoteInputSchema,
|
|
180
180
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -184,25 +184,25 @@ import {
|
|
|
184
184
|
executeVoting,
|
|
185
185
|
mapOutcomeToDecision,
|
|
186
186
|
registerConsensusVoteTool
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-TGAVZ2ZL.js";
|
|
188
188
|
import {
|
|
189
189
|
loadUsageEvents,
|
|
190
190
|
rollupByModel
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-ZAPCPHGZ.js";
|
|
192
192
|
import {
|
|
193
193
|
synthesizeResearch
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-7K5LSUEU.js";
|
|
195
195
|
import {
|
|
196
196
|
classifyTrust,
|
|
197
197
|
createFullGitHubProvider,
|
|
198
198
|
evaluatePolicy,
|
|
199
199
|
parsePRUrl
|
|
200
|
-
} from "./chunk-
|
|
201
|
-
import "./chunk-
|
|
200
|
+
} from "./chunk-RKIPSMCN.js";
|
|
201
|
+
import "./chunk-BB7KSLNA.js";
|
|
202
202
|
import {
|
|
203
203
|
ReputationCache,
|
|
204
204
|
sanitizeInput
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-SRNAXDOT.js";
|
|
206
206
|
import {
|
|
207
207
|
ImprovementReviewInputSchema,
|
|
208
208
|
calculateFitnessScore,
|
|
@@ -216,11 +216,11 @@ import {
|
|
|
216
216
|
registerImprovementReviewTool,
|
|
217
217
|
runImprovementReview,
|
|
218
218
|
scanForSecrets
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-ZIC6ZZFU.js";
|
|
220
220
|
import {
|
|
221
221
|
createDefaultPolicyFirewall
|
|
222
|
-
} from "./chunk-
|
|
223
|
-
import "./chunk-
|
|
222
|
+
} from "./chunk-STMW5BSR.js";
|
|
223
|
+
import "./chunk-QV52AXTF.js";
|
|
224
224
|
import {
|
|
225
225
|
PaperStatusSchema,
|
|
226
226
|
createResearchIssue,
|
|
@@ -243,32 +243,32 @@ import {
|
|
|
243
243
|
loadSourcesRegistry,
|
|
244
244
|
rankDiscoveredItems,
|
|
245
245
|
saveSourcesRegistry
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-ZSUN7BHE.js";
|
|
247
247
|
import {
|
|
248
248
|
resolveToken
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-UNIDAVVR.js";
|
|
250
250
|
import {
|
|
251
251
|
loadPapersRegistry,
|
|
252
252
|
loadTechniquesRegistry,
|
|
253
253
|
savePapersRegistry
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-PC4Y4VPX.js";
|
|
255
255
|
import "./chunk-NUBSJGQZ.js";
|
|
256
256
|
import {
|
|
257
257
|
MemoryError,
|
|
258
258
|
shutdownToolMemory
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-KM3YEIEN.js";
|
|
260
260
|
import {
|
|
261
261
|
capitalize,
|
|
262
262
|
capitalizeKebab,
|
|
263
263
|
truncateSentence
|
|
264
264
|
} from "./chunk-6T3EPABN.js";
|
|
265
|
-
import "./chunk-
|
|
265
|
+
import "./chunk-QPSYBHK6.js";
|
|
266
266
|
import "./chunk-ZM4O442V.js";
|
|
267
267
|
import "./chunk-PINS44XA.js";
|
|
268
268
|
import "./chunk-KSQSWEFH.js";
|
|
269
269
|
import {
|
|
270
270
|
createUnifiedRegistry
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-GGYQTV2Y.js";
|
|
272
272
|
import {
|
|
273
273
|
NEXUS_SUBPROCESS_DEPTH_ENV,
|
|
274
274
|
createAllAdapters,
|
|
@@ -276,14 +276,15 @@ import {
|
|
|
276
276
|
isRecord,
|
|
277
277
|
probeAllClis,
|
|
278
278
|
readSubprocessDepth
|
|
279
|
-
} from "./chunk-
|
|
280
|
-
import "./chunk-
|
|
279
|
+
} from "./chunk-S6HCREYY.js";
|
|
280
|
+
import "./chunk-IFSIKGHI.js";
|
|
281
281
|
import {
|
|
282
282
|
DEFAULTS
|
|
283
|
-
} from "./chunk-
|
|
284
|
-
import "./chunk-
|
|
285
|
-
import "./chunk-
|
|
286
|
-
import "./chunk-
|
|
283
|
+
} from "./chunk-2NU774CB.js";
|
|
284
|
+
import "./chunk-GVNY4ZB6.js";
|
|
285
|
+
import "./chunk-ZTTUXPBQ.js";
|
|
286
|
+
import "./chunk-QZUG667L.js";
|
|
287
|
+
import "./chunk-7USEQLMS.js";
|
|
287
288
|
import {
|
|
288
289
|
API_TIMEOUTS,
|
|
289
290
|
AgentCapability,
|
|
@@ -357,7 +358,7 @@ import {
|
|
|
357
358
|
validateTimeout,
|
|
358
359
|
writeEmptyLine,
|
|
359
360
|
writeLine
|
|
360
|
-
} from "./chunk-
|
|
361
|
+
} from "./chunk-CURHM4TH.js";
|
|
361
362
|
import "./chunk-AXTD4TFK.js";
|
|
362
363
|
import {
|
|
363
364
|
applyPortableMode,
|
|
@@ -4035,7 +4036,7 @@ ${file.patch}
|
|
|
4035
4036
|
violations: policyResult.violations
|
|
4036
4037
|
});
|
|
4037
4038
|
}
|
|
4038
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4039
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-SAMOVLNJ.js");
|
|
4039
4040
|
const body = formatReviewComment2(result);
|
|
4040
4041
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4041
4042
|
if (!postResult.ok) {
|
|
@@ -17886,7 +17887,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
17886
17887
|
let running = false;
|
|
17887
17888
|
const runOnce = async () => {
|
|
17888
17889
|
try {
|
|
17889
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
17890
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-2W6LKP74.js");
|
|
17890
17891
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
17891
17892
|
const result = await runImprovementReview2(input, { logger: logger19 });
|
|
17892
17893
|
logger19.info("Scheduled improvement_review complete", {
|
|
@@ -19925,7 +19926,7 @@ function adaptConfigToLibrary(config) {
|
|
|
19925
19926
|
}
|
|
19926
19927
|
function createBeliefPromoter() {
|
|
19927
19928
|
return async (event) => {
|
|
19928
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
19929
|
+
const { getToolMemory } = await import("./tool-memory-XJ5VRMNQ.js");
|
|
19929
19930
|
const tm = getToolMemory();
|
|
19930
19931
|
await tm.recordBelief(
|
|
19931
19932
|
`skill:${event.name}`,
|
|
@@ -21101,7 +21102,7 @@ async function handleResearchCommand(args) {
|
|
|
21101
21102
|
}
|
|
21102
21103
|
}
|
|
21103
21104
|
async function handleRegistryCommand(args) {
|
|
21104
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
21105
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-5D2DJT53.js");
|
|
21105
21106
|
const subcommand = args.subcommand;
|
|
21106
21107
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
21107
21108
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -21149,7 +21150,7 @@ async function handleVerifyCommand(args) {
|
|
|
21149
21150
|
async function handleDoctorCommand(args) {
|
|
21150
21151
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
21151
21152
|
if (args.options.deep) {
|
|
21152
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
21153
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-DALT3OXC.js");
|
|
21153
21154
|
const diag = runDeepDiagnostics2();
|
|
21154
21155
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
21155
21156
|
}
|
|
@@ -21199,7 +21200,7 @@ async function runInitPortableFlow(args) {
|
|
|
21199
21200
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
21200
21201
|
}
|
|
21201
21202
|
async function runInitOpencodeFlow(args) {
|
|
21202
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
21203
|
+
const { runInitOpencode } = await import("./init-opencode-I4FY4OGP.js");
|
|
21203
21204
|
const opencodePath = args.options.opencode;
|
|
21204
21205
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
21205
21206
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -21225,7 +21226,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
21225
21226
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
21226
21227
|
}
|
|
21227
21228
|
async function renderOpencodeValidate(opencodePath) {
|
|
21228
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
21229
|
+
const { runOpencodeValidate } = await import("./init-opencode-I4FY4OGP.js");
|
|
21229
21230
|
const result = await runOpencodeValidate(opencodePath);
|
|
21230
21231
|
if (!result.ok) {
|
|
21231
21232
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -21264,7 +21265,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
21264
21265
|
return cliExitFromStatus(exitCode);
|
|
21265
21266
|
}
|
|
21266
21267
|
async function runCustomApiSetup(args) {
|
|
21267
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
21268
|
+
const { configureCustomApi } = await import("./setup-custom-api-XRUPWEPF.js");
|
|
21268
21269
|
const baseUrl = args.options.customApi;
|
|
21269
21270
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
21270
21271
|
const input = {
|