nexus-agents 4.12.3 → 4.13.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-KCISGMLP.js → child-mcp-config-OULJI7VH.js} +2 -2
- package/dist/{chunk-7HIXCOF3.js → chunk-232RDSCM.js} +2 -2
- package/dist/{chunk-QOM2AAOC.js → chunk-2OAOW7E2.js} +39 -37
- package/dist/chunk-2OAOW7E2.js.map +1 -0
- package/dist/{chunk-WF3JUKXF.js → chunk-4WVGF3SL.js} +3 -3
- package/dist/{chunk-WF3JUKXF.js.map → chunk-4WVGF3SL.js.map} +1 -1
- package/dist/{chunk-V2UK3JLW.js → chunk-56LJJOBN.js} +4 -4
- package/dist/{chunk-TSV3PKVG.js → chunk-5PCTGUMF.js} +3 -3
- package/dist/{chunk-UMVUMIYL.js → chunk-6454KSCM.js} +2 -2
- package/dist/{chunk-2B2D54DT.js → chunk-7STKQ3IH.js} +2 -2
- package/dist/{chunk-DHBABM7H.js → chunk-ARTQO7XZ.js} +4 -4
- package/dist/{chunk-TAHEGPTP.js → chunk-B6C3JCQB.js} +2 -2
- package/dist/{chunk-Y4HESICE.js → chunk-C7EXWOXQ.js} +5 -5
- package/dist/{chunk-PFZXV4BF.js → chunk-EHMMTCCS.js} +5 -5
- package/dist/{chunk-PHEB5LZ4.js → chunk-F6MUN523.js} +2 -2
- package/dist/{chunk-UJTDBI5A.js → chunk-F6SRPGDK.js} +28 -13
- package/dist/chunk-F6SRPGDK.js.map +1 -0
- package/dist/{chunk-XQQFK6W6.js → chunk-HBF7O6CN.js} +6 -6
- package/dist/{chunk-LO6AVP74.js → chunk-I6JMAM4J.js} +2 -2
- package/dist/{chunk-FAOEP2JU.js → chunk-IZUT5OHH.js} +2 -2
- package/dist/{chunk-GQGW22FJ.js → chunk-J6JEW4QZ.js} +7 -7
- package/dist/{chunk-3FPT5PZG.js → chunk-KUGBMQAP.js} +3 -3
- package/dist/{chunk-XEHAUJ2U.js → chunk-LUBCO6ZN.js} +2 -2
- package/dist/{chunk-ITKW25UM.js → chunk-NMNTYAV2.js} +2 -2
- package/dist/{chunk-GFZB7SXK.js → chunk-P45XNRHB.js} +2 -2
- package/dist/{chunk-PJOXJZ7A.js → chunk-PWSW5Z4L.js} +2 -2
- package/dist/{chunk-UOKQ7X43.js → chunk-TANMACVQ.js} +2 -2
- package/dist/{chunk-3ESVUE6D.js → chunk-V253VL7S.js} +3 -3
- package/dist/{chunk-VZG2R6YA.js → chunk-VENIFAMX.js} +4 -4
- package/dist/{chunk-3RUGMY4C.js → chunk-VPTDFOAK.js} +3 -3
- package/dist/{chunk-ULYAKSKE.js → chunk-VZVGT4MN.js} +7 -5
- package/dist/chunk-VZVGT4MN.js.map +1 -0
- package/dist/{chunk-WNIPOPQG.js → chunk-VZWNGPUH.js} +8 -8
- package/dist/{chunk-HL2RMRWZ.js → chunk-W6IZVEIM.js} +2 -2
- package/dist/{chunk-D6D4YNBK.js → chunk-WATNLQS7.js} +2 -2
- package/dist/{chunk-4YPTSBFR.js → chunk-XGCYJLTP.js} +8 -8
- package/dist/{chunk-FWB5HN67.js → chunk-XWIFBBBH.js} +2 -2
- package/dist/{chunk-FLJC3H6L.js → chunk-YHY5AZL2.js} +2 -2
- package/dist/{cli-circuit-breaker-F3Y7IJ2C.js → cli-circuit-breaker-4AVWA333.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-QZ54YC52.js → composite-router-7OTZN7NS.js} +2 -2
- package/dist/{consensus-vote-N6W43BWV.js → consensus-vote-KFLDRUJJ.js} +16 -16
- package/dist/{context-retriever-YIJXDVXK.js → context-retriever-2NZWXF6Z.js} +8 -8
- package/dist/{doctor-deep-EWG7CL3Z.js → doctor-deep-MC2FGSAF.js} +3 -3
- package/dist/{doctor-live-UEIWZDS7.js → doctor-live-25LRXKBO.js} +9 -9
- package/dist/{expert-bridge-D7EGIAZ6.js → expert-bridge-2YLK3E6Q.js} +4 -4
- package/dist/{factory-U5SRKSIG.js → factory-G57M6CD4.js} +5 -5
- package/dist/{factory-HZNKXWVD.js → factory-T7KN4CKD.js} +9 -9
- package/dist/{improvement-review-Q5IUKD4L.js → improvement-review-FFADRM4I.js} +5 -5
- package/dist/index.d.ts +17 -0
- package/dist/index.js +30 -30
- package/dist/{init-opencode-6TBM2B2N.js → init-opencode-OSZF74AL.js} +6 -6
- package/dist/issue-triage-KVYM5FQ5.js +17 -0
- package/dist/{pr-reviewer-helpers-LC266S6C.js → pr-reviewer-helpers-E3QXOVMT.js} +4 -4
- package/dist/{registry-command-NEM25F6F.js → registry-command-ZMKZ5CRZ.js} +2 -2
- package/dist/{repo-security-plan-AL6NHO3L.js → repo-security-plan-BPET6KTP.js} +3 -3
- package/dist/{research-helpers-synthesize-UIFSH6FS.js → research-helpers-synthesize-M4SONOWL.js} +4 -4
- package/dist/{routing-memory-AE43UXHE.js → routing-memory-3UWP6NOX.js} +2 -2
- package/dist/{session-memory-QBOHCSHP.js → session-memory-N2ABITF7.js} +3 -3
- package/dist/{setup-command-323RK7XH.js → setup-command-BXIJOFRP.js} +14 -14
- package/dist/{setup-config-7QZAT3PM.js → setup-config-PJNXP57G.js} +3 -3
- package/dist/{setup-custom-api-NNXJ3GQZ.js → setup-custom-api-PE2M5HWL.js} +4 -4
- package/dist/{tool-memory-H6ZXL3MH.js → tool-memory-CARCDHTN.js} +5 -5
- package/dist/{unified-registry-TEVQXOSC.js → unified-registry-HVALHHPY.js} +10 -10
- package/dist/{weather-report-FKXNWHLU.js → weather-report-ZA7DBOC3.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-QOM2AAOC.js.map +0 -1
- package/dist/chunk-UJTDBI5A.js.map +0 -1
- package/dist/chunk-ULYAKSKE.js.map +0 -1
- package/dist/issue-triage-AS5XMR5T.js +0 -17
- /package/dist/{child-mcp-config-KCISGMLP.js.map → child-mcp-config-OULJI7VH.js.map} +0 -0
- /package/dist/{chunk-7HIXCOF3.js.map → chunk-232RDSCM.js.map} +0 -0
- /package/dist/{chunk-V2UK3JLW.js.map → chunk-56LJJOBN.js.map} +0 -0
- /package/dist/{chunk-TSV3PKVG.js.map → chunk-5PCTGUMF.js.map} +0 -0
- /package/dist/{chunk-UMVUMIYL.js.map → chunk-6454KSCM.js.map} +0 -0
- /package/dist/{chunk-2B2D54DT.js.map → chunk-7STKQ3IH.js.map} +0 -0
- /package/dist/{chunk-DHBABM7H.js.map → chunk-ARTQO7XZ.js.map} +0 -0
- /package/dist/{chunk-TAHEGPTP.js.map → chunk-B6C3JCQB.js.map} +0 -0
- /package/dist/{chunk-Y4HESICE.js.map → chunk-C7EXWOXQ.js.map} +0 -0
- /package/dist/{chunk-PFZXV4BF.js.map → chunk-EHMMTCCS.js.map} +0 -0
- /package/dist/{chunk-PHEB5LZ4.js.map → chunk-F6MUN523.js.map} +0 -0
- /package/dist/{chunk-XQQFK6W6.js.map → chunk-HBF7O6CN.js.map} +0 -0
- /package/dist/{chunk-LO6AVP74.js.map → chunk-I6JMAM4J.js.map} +0 -0
- /package/dist/{chunk-FAOEP2JU.js.map → chunk-IZUT5OHH.js.map} +0 -0
- /package/dist/{chunk-GQGW22FJ.js.map → chunk-J6JEW4QZ.js.map} +0 -0
- /package/dist/{chunk-3FPT5PZG.js.map → chunk-KUGBMQAP.js.map} +0 -0
- /package/dist/{chunk-XEHAUJ2U.js.map → chunk-LUBCO6ZN.js.map} +0 -0
- /package/dist/{chunk-ITKW25UM.js.map → chunk-NMNTYAV2.js.map} +0 -0
- /package/dist/{chunk-GFZB7SXK.js.map → chunk-P45XNRHB.js.map} +0 -0
- /package/dist/{chunk-PJOXJZ7A.js.map → chunk-PWSW5Z4L.js.map} +0 -0
- /package/dist/{chunk-UOKQ7X43.js.map → chunk-TANMACVQ.js.map} +0 -0
- /package/dist/{chunk-3ESVUE6D.js.map → chunk-V253VL7S.js.map} +0 -0
- /package/dist/{chunk-VZG2R6YA.js.map → chunk-VENIFAMX.js.map} +0 -0
- /package/dist/{chunk-3RUGMY4C.js.map → chunk-VPTDFOAK.js.map} +0 -0
- /package/dist/{chunk-WNIPOPQG.js.map → chunk-VZWNGPUH.js.map} +0 -0
- /package/dist/{chunk-HL2RMRWZ.js.map → chunk-W6IZVEIM.js.map} +0 -0
- /package/dist/{chunk-D6D4YNBK.js.map → chunk-WATNLQS7.js.map} +0 -0
- /package/dist/{chunk-4YPTSBFR.js.map → chunk-XGCYJLTP.js.map} +0 -0
- /package/dist/{chunk-FWB5HN67.js.map → chunk-XWIFBBBH.js.map} +0 -0
- /package/dist/{chunk-FLJC3H6L.js.map → chunk-YHY5AZL2.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-F3Y7IJ2C.js.map → cli-circuit-breaker-4AVWA333.js.map} +0 -0
- /package/dist/{composite-router-QZ54YC52.js.map → composite-router-7OTZN7NS.js.map} +0 -0
- /package/dist/{consensus-vote-N6W43BWV.js.map → consensus-vote-KFLDRUJJ.js.map} +0 -0
- /package/dist/{context-retriever-YIJXDVXK.js.map → context-retriever-2NZWXF6Z.js.map} +0 -0
- /package/dist/{doctor-deep-EWG7CL3Z.js.map → doctor-deep-MC2FGSAF.js.map} +0 -0
- /package/dist/{doctor-live-UEIWZDS7.js.map → doctor-live-25LRXKBO.js.map} +0 -0
- /package/dist/{expert-bridge-D7EGIAZ6.js.map → expert-bridge-2YLK3E6Q.js.map} +0 -0
- /package/dist/{factory-HZNKXWVD.js.map → factory-G57M6CD4.js.map} +0 -0
- /package/dist/{factory-U5SRKSIG.js.map → factory-T7KN4CKD.js.map} +0 -0
- /package/dist/{improvement-review-Q5IUKD4L.js.map → improvement-review-FFADRM4I.js.map} +0 -0
- /package/dist/{init-opencode-6TBM2B2N.js.map → init-opencode-OSZF74AL.js.map} +0 -0
- /package/dist/{issue-triage-AS5XMR5T.js.map → issue-triage-KVYM5FQ5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-LC266S6C.js.map → pr-reviewer-helpers-E3QXOVMT.js.map} +0 -0
- /package/dist/{registry-command-NEM25F6F.js.map → registry-command-ZMKZ5CRZ.js.map} +0 -0
- /package/dist/{repo-security-plan-AL6NHO3L.js.map → repo-security-plan-BPET6KTP.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-UIFSH6FS.js.map → research-helpers-synthesize-M4SONOWL.js.map} +0 -0
- /package/dist/{routing-memory-AE43UXHE.js.map → routing-memory-3UWP6NOX.js.map} +0 -0
- /package/dist/{session-memory-QBOHCSHP.js.map → session-memory-N2ABITF7.js.map} +0 -0
- /package/dist/{setup-command-323RK7XH.js.map → setup-command-BXIJOFRP.js.map} +0 -0
- /package/dist/{setup-config-7QZAT3PM.js.map → setup-config-PJNXP57G.js.map} +0 -0
- /package/dist/{setup-custom-api-NNXJ3GQZ.js.map → setup-custom-api-PE2M5HWL.js.map} +0 -0
- /package/dist/{tool-memory-H6ZXL3MH.js.map → tool-memory-CARCDHTN.js.map} +0 -0
- /package/dist/{unified-registry-TEVQXOSC.js.map → unified-registry-HVALHHPY.js.map} +0 -0
- /package/dist/{weather-report-FKXNWHLU.js.map → weather-report-ZA7DBOC3.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-SNJNRDKZ.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4WVGF3SL.js";
|
|
7
7
|
import "./chunk-2HUC6NZN.js";
|
|
8
8
|
import "./chunk-OQLFRJCW.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-OULJI7VH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4WVGF3SL.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-232RDSCM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XWIFBBBH.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
24
24
|
clampTaskTtl
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VZWNGPUH.js";
|
|
26
26
|
import {
|
|
27
27
|
executeExpert
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-J6JEW4QZ.js";
|
|
29
29
|
import {
|
|
30
30
|
JobStatusSchema,
|
|
31
31
|
abortJob,
|
|
@@ -46,24 +46,24 @@ import {
|
|
|
46
46
|
simulationDeniedResult,
|
|
47
47
|
toJobSummary,
|
|
48
48
|
writeJobCancelled
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XGCYJLTP.js";
|
|
50
50
|
import {
|
|
51
51
|
allOf
|
|
52
52
|
} from "./chunk-OQB3XC5O.js";
|
|
53
53
|
import {
|
|
54
54
|
normalizeTopicToCanonical,
|
|
55
55
|
synthesizeResearch
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-5PCTGUMF.js";
|
|
57
57
|
import {
|
|
58
58
|
IssueTriage
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-HBF7O6CN.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveEnvMode,
|
|
62
62
|
sanitizeInput
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-F6MUN523.js";
|
|
64
64
|
import {
|
|
65
65
|
withPrerequisite
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-KUGBMQAP.js";
|
|
67
67
|
import {
|
|
68
68
|
NOOP_NOTIFIER,
|
|
69
69
|
RateLimiter,
|
|
@@ -87,18 +87,18 @@ import {
|
|
|
87
87
|
withAuditTrail,
|
|
88
88
|
withProgressHeartbeat,
|
|
89
89
|
wrapToolWithTimeout
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-V253VL7S.js";
|
|
91
91
|
import {
|
|
92
92
|
createAuditTrail,
|
|
93
93
|
createGraphAuditBridge,
|
|
94
94
|
emitPipelinePolicyEvent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-LUBCO6ZN.js";
|
|
96
96
|
import {
|
|
97
97
|
EventTopics,
|
|
98
98
|
createEvent,
|
|
99
99
|
getGlobalEventBus,
|
|
100
100
|
getGlobalRegistry
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-56LJJOBN.js";
|
|
102
102
|
import {
|
|
103
103
|
IDENTIFIER_RE,
|
|
104
104
|
LANG_VALUES,
|
|
@@ -131,31 +131,31 @@ import {
|
|
|
131
131
|
parseRegistry,
|
|
132
132
|
sourceExistsInRegistry,
|
|
133
133
|
summarizeContextForPrompt
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-EHMMTCCS.js";
|
|
135
135
|
import {
|
|
136
136
|
loadPapersRegistry,
|
|
137
137
|
loadTechniquesRegistry
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-PWSW5Z4L.js";
|
|
139
139
|
import {
|
|
140
140
|
resolveInsideRoot
|
|
141
141
|
} from "./chunk-NUBSJGQZ.js";
|
|
142
142
|
import {
|
|
143
143
|
getTokenEnvVars,
|
|
144
144
|
resolveToken
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-P45XNRHB.js";
|
|
146
146
|
import {
|
|
147
147
|
DEFAULT_RELEVANCE_CONFIG,
|
|
148
148
|
MemoryImportance,
|
|
149
149
|
calculateTextJaccardSimilarity,
|
|
150
150
|
getToolMemory
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-ARTQO7XZ.js";
|
|
152
152
|
import {
|
|
153
153
|
STOPWORDS,
|
|
154
154
|
truncateWithInfo
|
|
155
155
|
} from "./chunk-6T3EPABN.js";
|
|
156
156
|
import {
|
|
157
157
|
createSessionMemory
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-TANMACVQ.js";
|
|
159
159
|
import {
|
|
160
160
|
BUILT_IN_EXPERTS,
|
|
161
161
|
BuiltInExpertTypeSchema,
|
|
@@ -173,25 +173,25 @@ import {
|
|
|
173
173
|
getAvailableClis,
|
|
174
174
|
sleep,
|
|
175
175
|
withTimeout
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-F6SRPGDK.js";
|
|
177
177
|
import {
|
|
178
178
|
BaseAdapter,
|
|
179
179
|
createStream,
|
|
180
180
|
requireApiKey,
|
|
181
181
|
validateApiKeyPresence
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-6454KSCM.js";
|
|
183
183
|
import {
|
|
184
184
|
DEFAULTS
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-B6C3JCQB.js";
|
|
186
186
|
import {
|
|
187
187
|
getAvailabilityCache,
|
|
188
188
|
getCliForModelId,
|
|
189
189
|
resolveFallback
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-W6IZVEIM.js";
|
|
191
191
|
import {
|
|
192
192
|
generateHyphenId,
|
|
193
193
|
generateUUID
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-I6JMAM4J.js";
|
|
195
195
|
import {
|
|
196
196
|
AGENT_ROUTER_TIMEOUTS,
|
|
197
197
|
API_TIMEOUTS,
|
|
@@ -291,7 +291,7 @@ import {
|
|
|
291
291
|
selectStrategyByManifest,
|
|
292
292
|
toExpertTaskAnalysisResult,
|
|
293
293
|
withStep
|
|
294
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-4WVGF3SL.js";
|
|
295
295
|
import {
|
|
296
296
|
ensureLearningDir,
|
|
297
297
|
getMetaOutcomesFile,
|
|
@@ -1379,8 +1379,10 @@ var GeminiAdapter = class extends BaseAdapter {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
controller.push({
|
|
1381
1381
|
type: "message_delta",
|
|
1382
|
-
delta: { stop_reason: "end_turn" }
|
|
1383
|
-
|
|
1382
|
+
delta: { stop_reason: "end_turn" }
|
|
1383
|
+
// #4835: no usage is reported on this path, so none is emitted —
|
|
1384
|
+
// zero-filling all three made an unmeasured stream indistinguishable
|
|
1385
|
+
// from one that consumed nothing. `usage` is optional on the chunk.
|
|
1384
1386
|
});
|
|
1385
1387
|
controller.push({ type: "message_stop" });
|
|
1386
1388
|
controller.complete();
|
|
@@ -28265,7 +28267,7 @@ function execIdFields(executionId) {
|
|
|
28265
28267
|
async function populateUnifiedContextOnState(state, options) {
|
|
28266
28268
|
const taskCandidate = state["task"];
|
|
28267
28269
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
28268
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
28270
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-2NZWXF6Z.js");
|
|
28269
28271
|
const category = inferTaskCategory2(taskCandidate);
|
|
28270
28272
|
const executionId = options?.executionId;
|
|
28271
28273
|
const execFields = execIdFields(executionId);
|
|
@@ -43964,7 +43966,7 @@ async function tryIssueTriage(task) {
|
|
|
43964
43966
|
try {
|
|
43965
43967
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
43966
43968
|
if (issueMatch === null) return null;
|
|
43967
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
43969
|
+
const { createIssueTriage } = await import("./issue-triage-KVYM5FQ5.js");
|
|
43968
43970
|
const triage = createIssueTriage();
|
|
43969
43971
|
const owner = issueMatch[1] ?? "";
|
|
43970
43972
|
const num = issueMatch[2] ?? "";
|
|
@@ -43992,7 +43994,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
43992
43994
|
]);
|
|
43993
43995
|
async function classifyWithLLM(task) {
|
|
43994
43996
|
try {
|
|
43995
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
43997
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-2YLK3E6Q.js");
|
|
43996
43998
|
const prompt = [
|
|
43997
43999
|
"Classify this task into exactly one pipeline template.",
|
|
43998
44000
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45733,7 +45735,7 @@ var memoryInitPromise = null;
|
|
|
45733
45735
|
async function initPipelineMemory() {
|
|
45734
45736
|
if (cachedMemory !== null) return cachedMemory;
|
|
45735
45737
|
try {
|
|
45736
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45738
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-N2ABITF7.js");
|
|
45737
45739
|
const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
|
|
45738
45740
|
const mem = createSessionMemory2(getLearningDir());
|
|
45739
45741
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -45795,7 +45797,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
45795
45797
|
callRecord(routingMemoryCache);
|
|
45796
45798
|
return;
|
|
45797
45799
|
}
|
|
45798
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
45800
|
+
routingMemoryInitPromise ??= import("./routing-memory-3UWP6NOX.js").then(({ createRoutingMemory }) => {
|
|
45799
45801
|
routingMemoryCache ??= createRoutingMemory();
|
|
45800
45802
|
return routingMemoryCache;
|
|
45801
45803
|
}).catch((error) => {
|
|
@@ -45829,7 +45831,7 @@ ${text}` : "";
|
|
|
45829
45831
|
}
|
|
45830
45832
|
async function getWeatherContext() {
|
|
45831
45833
|
try {
|
|
45832
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
45834
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-ZA7DBOC3.js");
|
|
45833
45835
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
45834
45836
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
45835
45837
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -45847,7 +45849,7 @@ ${lines}
|
|
|
45847
45849
|
}
|
|
45848
45850
|
async function getMemoryContext(task) {
|
|
45849
45851
|
try {
|
|
45850
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45852
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-N2ABITF7.js");
|
|
45851
45853
|
const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
|
|
45852
45854
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
45853
45855
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -45966,7 +45968,7 @@ ${contextBlock}`;
|
|
|
45966
45968
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
45967
45969
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
45968
45970
|
try {
|
|
45969
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45971
|
+
const { executeVoting } = await import("./consensus-vote-KFLDRUJJ.js");
|
|
45970
45972
|
const votingResult = await executeVoting(
|
|
45971
45973
|
{
|
|
45972
45974
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -46405,7 +46407,7 @@ async function searchCodebaseForTask(task) {
|
|
|
46405
46407
|
}
|
|
46406
46408
|
async function queryResearchRegistry(task) {
|
|
46407
46409
|
try {
|
|
46408
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
46410
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-M4SONOWL.js");
|
|
46409
46411
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
46410
46412
|
if (topic === void 0) return null;
|
|
46411
46413
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -46476,7 +46478,7 @@ function createScanStageWrapper() {
|
|
|
46476
46478
|
try {
|
|
46477
46479
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
46478
46480
|
if (slug !== void 0) {
|
|
46479
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
46481
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-BPET6KTP.js");
|
|
46480
46482
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
46481
46483
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
46482
46484
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -49601,7 +49603,7 @@ var GitHubTaskTracker = class {
|
|
|
49601
49603
|
cachedProvider = null;
|
|
49602
49604
|
async getProvider() {
|
|
49603
49605
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
49604
|
-
const { createScmProvider } = await import("./factory-
|
|
49606
|
+
const { createScmProvider } = await import("./factory-G57M6CD4.js");
|
|
49605
49607
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
49606
49608
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
49607
49609
|
this.cachedProvider = result.value;
|
|
@@ -50492,7 +50494,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
50492
50494
|
}
|
|
50493
50495
|
}
|
|
50494
50496
|
async function defaultSources(includeOpenRouter) {
|
|
50495
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
50497
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-T7KN4CKD.js");
|
|
50496
50498
|
const adapters = createAllAdapters2();
|
|
50497
50499
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
50498
50500
|
}
|
|
@@ -54534,4 +54536,4 @@ export {
|
|
|
54534
54536
|
shutdownFeedbackSubscriber,
|
|
54535
54537
|
createEventBusBridge
|
|
54536
54538
|
};
|
|
54537
|
-
//# sourceMappingURL=chunk-
|
|
54539
|
+
//# sourceMappingURL=chunk-2OAOW7E2.js.map
|