nexus-agents 2.130.0 → 2.131.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-F7R7BFEF.js → child-mcp-config-M7WR4XBB.js} +2 -2
- package/dist/{chunk-SUJFJVAM.js → chunk-2Z4V5THE.js} +2 -2
- package/dist/{chunk-GMC6DYG7.js → chunk-3N7TSFKQ.js} +2 -2
- package/dist/{chunk-CFXL5LJC.js → chunk-3UXCVSLJ.js} +2 -2
- package/dist/{chunk-W4PM3PLE.js → chunk-3XLDANPJ.js} +7 -7
- package/dist/{chunk-KBX2Q3DG.js → chunk-4A6MSCNJ.js} +2 -2
- package/dist/{chunk-FYECPZKQ.js → chunk-5CADWTFO.js} +3 -3
- package/dist/{chunk-QENZCLR2.js → chunk-5GQMP7QN.js} +3 -3
- package/dist/{chunk-RBPGEUHT.js → chunk-7IMI64LW.js} +3 -3
- package/dist/{chunk-6BF3BRJ3.js → chunk-A4MPCXZ7.js} +2 -2
- package/dist/{chunk-BPGSM6U5.js → chunk-ACARS7NG.js} +2 -2
- package/dist/{chunk-SWKSR5R7.js → chunk-ADIJIYFA.js} +2 -2
- package/dist/{chunk-RDJMBYZ2.js → chunk-AVRE45DO.js} +3 -3
- package/dist/{chunk-JDHCHN7U.js → chunk-CMRQR57K.js} +3 -3
- package/dist/{chunk-P5TYSLNS.js → chunk-E4LAXVQE.js} +2 -2
- package/dist/{chunk-UXTCUMJM.js → chunk-EYD6O5TQ.js} +4 -4
- package/dist/chunk-EYD6O5TQ.js.map +1 -0
- package/dist/{chunk-L4ETHMN6.js → chunk-FDY6YOFG.js} +2 -2
- package/dist/{chunk-F6Y2CE24.js → chunk-FFJEERPZ.js} +2 -2
- package/dist/{chunk-CXGIRMHT.js → chunk-IZO437XR.js} +7 -7
- package/dist/{chunk-V5EI2KEG.js → chunk-KY2QMH3C.js} +5 -5
- package/dist/{chunk-TT7DZ6XW.js → chunk-OGOE3NW5.js} +4 -4
- package/dist/{chunk-4SDY75WA.js → chunk-PM4MZHQK.js} +4 -4
- package/dist/{chunk-KOICNQMN.js → chunk-RPT5WZAT.js} +64 -38
- package/dist/{chunk-KOICNQMN.js.map → chunk-RPT5WZAT.js.map} +1 -1
- package/dist/{chunk-GIKZBQY7.js → chunk-TA5HYM3H.js} +4 -4
- package/dist/{chunk-R3ZNBC2O.js → chunk-TGDWL7FG.js} +2 -2
- package/dist/{chunk-2ECAJTUP.js → chunk-ULIAUMQD.js} +2 -2
- package/dist/{chunk-LICM3H4J.js → chunk-VTTPYENR.js} +2 -2
- package/dist/{chunk-MII2DHXL.js → chunk-VY5WEC2D.js} +8 -3
- package/dist/chunk-VY5WEC2D.js.map +1 -0
- package/dist/{chunk-PP724WVD.js → chunk-YEK3ZHO6.js} +5 -5
- package/dist/{chunk-PLVZ64OM.js → chunk-YHBVFTRG.js} +2 -2
- package/dist/{chunk-AZFHCHYX.js → chunk-YXFQ3L56.js} +7 -7
- package/dist/{chunk-MJTTQCJS.js → chunk-ZM3S6PTN.js} +3 -3
- package/dist/{chunk-TULQAVRC.js → chunk-ZQ5K3PG4.js} +7 -7
- package/dist/{cli-circuit-breaker-VXHOHBE6.js → cli-circuit-breaker-XRXLO2V6.js} +4 -4
- package/dist/cli.js +39 -39
- package/dist/{composite-router-NJZMYTXG.js → composite-router-V36PBE7B.js} +2 -2
- package/dist/{consensus-vote-SH5CKJQR.js → consensus-vote-3REPKLK4.js} +13 -13
- package/dist/{context-retriever-LVW25GWO.js → context-retriever-KCSSXI6X.js} +8 -8
- package/dist/{doctor-deep-HCT3LW5G.js → doctor-deep-WID6FQ2F.js} +3 -3
- package/dist/{expert-bridge-FBYWLGB3.js → expert-bridge-F4UMZFWS.js} +4 -4
- package/dist/factory-B3SPS47O.js +21 -0
- package/dist/{factory-GP5SJCTQ.js → factory-YVHULPTE.js} +5 -5
- package/dist/{improvement-review-OUGGPW4A.js → improvement-review-AMVJW3SI.js} +4 -4
- package/dist/index.d.ts +11 -0
- package/dist/index.js +28 -28
- package/dist/{init-opencode-6PZVSSZY.js → init-opencode-3UPZL2UQ.js} +5 -5
- package/dist/{issue-triage-TPPWEE5N.js → issue-triage-U3VC5TKV.js} +5 -5
- package/dist/{pr-reviewer-helpers-MMVZFL2P.js → pr-reviewer-helpers-2WBM5GL7.js} +4 -4
- package/dist/{registry-command-IDC5G3EZ.js → registry-command-AXNA2H35.js} +2 -2
- package/dist/{repo-security-plan-XL3LTBPN.js → repo-security-plan-P2KJ4FDT.js} +3 -3
- package/dist/{research-helpers-synthesize-6ROTFLGO.js → research-helpers-synthesize-UHWT62F2.js} +4 -4
- package/dist/{routing-memory-YAW2AIRX.js → routing-memory-7RNR6A45.js} +2 -2
- package/dist/{session-memory-VR3BJMWL.js → session-memory-2J2UBZJA.js} +3 -3
- package/dist/{setup-command-SMJX3TES.js → setup-command-UF7EQKAL.js} +11 -11
- package/dist/{setup-config-IXZAAYYH.js → setup-config-Y3S2L4RD.js} +3 -3
- package/dist/{setup-custom-api-6ZBOVWEU.js → setup-custom-api-AZMHKIHE.js} +3 -3
- package/dist/{tool-memory-ZKMPHKG5.js → tool-memory-MIZVB4ZT.js} +5 -5
- package/dist/{unified-registry-WP4XC656.js → unified-registry-V4AZ6UYA.js} +9 -9
- package/dist/{weather-report-CETWTNE5.js → weather-report-WZKEEAC7.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-MII2DHXL.js.map +0 -1
- package/dist/chunk-UXTCUMJM.js.map +0 -1
- package/dist/factory-5IYTNTA2.js +0 -21
- /package/dist/{child-mcp-config-F7R7BFEF.js.map → child-mcp-config-M7WR4XBB.js.map} +0 -0
- /package/dist/{chunk-SUJFJVAM.js.map → chunk-2Z4V5THE.js.map} +0 -0
- /package/dist/{chunk-GMC6DYG7.js.map → chunk-3N7TSFKQ.js.map} +0 -0
- /package/dist/{chunk-CFXL5LJC.js.map → chunk-3UXCVSLJ.js.map} +0 -0
- /package/dist/{chunk-W4PM3PLE.js.map → chunk-3XLDANPJ.js.map} +0 -0
- /package/dist/{chunk-KBX2Q3DG.js.map → chunk-4A6MSCNJ.js.map} +0 -0
- /package/dist/{chunk-FYECPZKQ.js.map → chunk-5CADWTFO.js.map} +0 -0
- /package/dist/{chunk-QENZCLR2.js.map → chunk-5GQMP7QN.js.map} +0 -0
- /package/dist/{chunk-RBPGEUHT.js.map → chunk-7IMI64LW.js.map} +0 -0
- /package/dist/{chunk-6BF3BRJ3.js.map → chunk-A4MPCXZ7.js.map} +0 -0
- /package/dist/{chunk-BPGSM6U5.js.map → chunk-ACARS7NG.js.map} +0 -0
- /package/dist/{chunk-SWKSR5R7.js.map → chunk-ADIJIYFA.js.map} +0 -0
- /package/dist/{chunk-RDJMBYZ2.js.map → chunk-AVRE45DO.js.map} +0 -0
- /package/dist/{chunk-JDHCHN7U.js.map → chunk-CMRQR57K.js.map} +0 -0
- /package/dist/{chunk-P5TYSLNS.js.map → chunk-E4LAXVQE.js.map} +0 -0
- /package/dist/{chunk-L4ETHMN6.js.map → chunk-FDY6YOFG.js.map} +0 -0
- /package/dist/{chunk-F6Y2CE24.js.map → chunk-FFJEERPZ.js.map} +0 -0
- /package/dist/{chunk-CXGIRMHT.js.map → chunk-IZO437XR.js.map} +0 -0
- /package/dist/{chunk-V5EI2KEG.js.map → chunk-KY2QMH3C.js.map} +0 -0
- /package/dist/{chunk-TT7DZ6XW.js.map → chunk-OGOE3NW5.js.map} +0 -0
- /package/dist/{chunk-4SDY75WA.js.map → chunk-PM4MZHQK.js.map} +0 -0
- /package/dist/{chunk-GIKZBQY7.js.map → chunk-TA5HYM3H.js.map} +0 -0
- /package/dist/{chunk-R3ZNBC2O.js.map → chunk-TGDWL7FG.js.map} +0 -0
- /package/dist/{chunk-2ECAJTUP.js.map → chunk-ULIAUMQD.js.map} +0 -0
- /package/dist/{chunk-LICM3H4J.js.map → chunk-VTTPYENR.js.map} +0 -0
- /package/dist/{chunk-PP724WVD.js.map → chunk-YEK3ZHO6.js.map} +0 -0
- /package/dist/{chunk-PLVZ64OM.js.map → chunk-YHBVFTRG.js.map} +0 -0
- /package/dist/{chunk-AZFHCHYX.js.map → chunk-YXFQ3L56.js.map} +0 -0
- /package/dist/{chunk-MJTTQCJS.js.map → chunk-ZM3S6PTN.js.map} +0 -0
- /package/dist/{chunk-TULQAVRC.js.map → chunk-ZQ5K3PG4.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-VXHOHBE6.js.map → cli-circuit-breaker-XRXLO2V6.js.map} +0 -0
- /package/dist/{composite-router-NJZMYTXG.js.map → composite-router-V36PBE7B.js.map} +0 -0
- /package/dist/{consensus-vote-SH5CKJQR.js.map → consensus-vote-3REPKLK4.js.map} +0 -0
- /package/dist/{context-retriever-LVW25GWO.js.map → context-retriever-KCSSXI6X.js.map} +0 -0
- /package/dist/{doctor-deep-HCT3LW5G.js.map → doctor-deep-WID6FQ2F.js.map} +0 -0
- /package/dist/{expert-bridge-FBYWLGB3.js.map → expert-bridge-F4UMZFWS.js.map} +0 -0
- /package/dist/{factory-5IYTNTA2.js.map → factory-B3SPS47O.js.map} +0 -0
- /package/dist/{factory-GP5SJCTQ.js.map → factory-YVHULPTE.js.map} +0 -0
- /package/dist/{improvement-review-OUGGPW4A.js.map → improvement-review-AMVJW3SI.js.map} +0 -0
- /package/dist/{init-opencode-6PZVSSZY.js.map → init-opencode-3UPZL2UQ.js.map} +0 -0
- /package/dist/{issue-triage-TPPWEE5N.js.map → issue-triage-U3VC5TKV.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-MMVZFL2P.js.map → pr-reviewer-helpers-2WBM5GL7.js.map} +0 -0
- /package/dist/{registry-command-IDC5G3EZ.js.map → registry-command-AXNA2H35.js.map} +0 -0
- /package/dist/{repo-security-plan-XL3LTBPN.js.map → repo-security-plan-P2KJ4FDT.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-6ROTFLGO.js.map → research-helpers-synthesize-UHWT62F2.js.map} +0 -0
- /package/dist/{routing-memory-YAW2AIRX.js.map → routing-memory-7RNR6A45.js.map} +0 -0
- /package/dist/{session-memory-VR3BJMWL.js.map → session-memory-2J2UBZJA.js.map} +0 -0
- /package/dist/{setup-command-SMJX3TES.js.map → setup-command-UF7EQKAL.js.map} +0 -0
- /package/dist/{setup-config-IXZAAYYH.js.map → setup-config-Y3S2L4RD.js.map} +0 -0
- /package/dist/{setup-custom-api-6ZBOVWEU.js.map → setup-custom-api-AZMHKIHE.js.map} +0 -0
- /package/dist/{tool-memory-ZKMPHKG5.js.map → tool-memory-MIZVB4ZT.js.map} +0 -0
- /package/dist/{unified-registry-WP4XC656.js.map → unified-registry-V4AZ6UYA.js.map} +0 -0
- /package/dist/{weather-report-CETWTNE5.js.map → weather-report-WZKEEAC7.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3N7TSFKQ.js";
|
|
4
4
|
import {
|
|
5
5
|
CodebaseIndex,
|
|
6
6
|
extractSymbolIndex,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-WAYGXUSM.js";
|
|
14
14
|
import {
|
|
15
15
|
executeExpert
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YXFQ3L56.js";
|
|
17
17
|
import {
|
|
18
18
|
JobStatusSchema,
|
|
19
19
|
collectRealVotes,
|
|
@@ -31,24 +31,24 @@ import {
|
|
|
31
31
|
toJobSummary,
|
|
32
32
|
warnIfSimulatedOutsideTests,
|
|
33
33
|
writeJobCancelled
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZQ5K3PG4.js";
|
|
35
35
|
import {
|
|
36
36
|
normalizeTopicToCanonical,
|
|
37
37
|
synthesizeResearch
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7IMI64LW.js";
|
|
39
39
|
import {
|
|
40
40
|
IssueTriage,
|
|
41
41
|
createAuditTrail,
|
|
42
42
|
createGraphAuditBridge,
|
|
43
43
|
emitPipelinePolicyEvent
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-EYD6O5TQ.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveEnvMode,
|
|
47
47
|
sanitizeInput
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3UXCVSLJ.js";
|
|
49
49
|
import {
|
|
50
50
|
withPrerequisite
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-5CADWTFO.js";
|
|
52
52
|
import {
|
|
53
53
|
NOOP_NOTIFIER,
|
|
54
54
|
RateLimiter,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
withAccessPolicy,
|
|
71
71
|
withProgressHeartbeat,
|
|
72
72
|
wrapToolWithTimeout
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ACARS7NG.js";
|
|
74
74
|
import {
|
|
75
75
|
analyzeGitHubRepo
|
|
76
76
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -101,29 +101,29 @@ import {
|
|
|
101
101
|
parseRegistry,
|
|
102
102
|
sourceExistsInRegistry,
|
|
103
103
|
summarizeContextForPrompt
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-YEK3ZHO6.js";
|
|
105
105
|
import {
|
|
106
106
|
getTokenEnvVars,
|
|
107
107
|
resolveToken
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-YHBVFTRG.js";
|
|
109
109
|
import {
|
|
110
110
|
loadPapersRegistry,
|
|
111
111
|
loadTechniquesRegistry
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-VTTPYENR.js";
|
|
113
113
|
import {
|
|
114
114
|
DEFAULT_RELEVANCE_CONFIG,
|
|
115
115
|
MemoryImportance,
|
|
116
116
|
calculateTextJaccardSimilarity,
|
|
117
117
|
getToolMemory
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-PM4MZHQK.js";
|
|
119
119
|
import {
|
|
120
120
|
createSessionMemory
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-FDY6YOFG.js";
|
|
122
122
|
import {
|
|
123
123
|
DEFAULT_TASK_TTL_MS,
|
|
124
124
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
125
125
|
clampTaskTtl
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-3XLDANPJ.js";
|
|
127
127
|
import {
|
|
128
128
|
resolveInsideRoot
|
|
129
129
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
createEvent,
|
|
146
146
|
getGlobalEventBus,
|
|
147
147
|
getGlobalRegistry
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-TA5HYM3H.js";
|
|
149
149
|
import {
|
|
150
150
|
CliDetectionCache,
|
|
151
151
|
asRecord,
|
|
@@ -153,19 +153,19 @@ import {
|
|
|
153
153
|
getAvailableClis,
|
|
154
154
|
sleep,
|
|
155
155
|
withTimeout
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-IZO437XR.js";
|
|
157
157
|
import {
|
|
158
158
|
DEFAULTS
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-4A6MSCNJ.js";
|
|
160
160
|
import {
|
|
161
161
|
getAvailabilityCache,
|
|
162
162
|
getCliForModelId,
|
|
163
163
|
resolveFallback
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-2Z4V5THE.js";
|
|
165
165
|
import {
|
|
166
166
|
generateHyphenId,
|
|
167
167
|
generateUUID
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-E4LAXVQE.js";
|
|
169
169
|
import {
|
|
170
170
|
AGENT_ROUTER_TIMEOUTS,
|
|
171
171
|
API_TIMEOUTS,
|
|
@@ -253,7 +253,7 @@ import {
|
|
|
253
253
|
routingArmDisplaySlot,
|
|
254
254
|
toExpertTaskAnalysisResult,
|
|
255
255
|
withStep
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-VY5WEC2D.js";
|
|
257
257
|
import {
|
|
258
258
|
ensureLearningDir,
|
|
259
259
|
getMetaOutcomesFile,
|
|
@@ -26281,7 +26281,7 @@ function execIdFields(executionId) {
|
|
|
26281
26281
|
async function populateUnifiedContextOnState(state, options) {
|
|
26282
26282
|
const taskCandidate = state["task"];
|
|
26283
26283
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26284
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26284
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-KCSSXI6X.js");
|
|
26285
26285
|
const category = inferTaskCategory2(taskCandidate);
|
|
26286
26286
|
const executionId = options?.executionId;
|
|
26287
26287
|
const execFields = execIdFields(executionId);
|
|
@@ -27113,6 +27113,7 @@ function evaluatePipelinePolicy(options, context) {
|
|
|
27113
27113
|
emitDurablePolicyEvents(options.auditTrail, context, violations, mode);
|
|
27114
27114
|
logViolations(context, violations, mode);
|
|
27115
27115
|
}
|
|
27116
|
+
emitDurablePolicyEvaluationSummary(options.auditTrail, context, violations.length, mode);
|
|
27116
27117
|
const allowed = mode === "warn" || violations.length === 0;
|
|
27117
27118
|
return { allowed, violations, mode };
|
|
27118
27119
|
}
|
|
@@ -27143,10 +27144,28 @@ function emitDurablePolicyEvents(auditTrail, context, violations, mode) {
|
|
|
27143
27144
|
violationRules: [v.ruleId],
|
|
27144
27145
|
mode,
|
|
27145
27146
|
ruleIds: [v.ruleId],
|
|
27146
|
-
stageType: context.stageType
|
|
27147
|
+
stageType: context.stageType,
|
|
27148
|
+
// #3727: the existing per-violation records (the NUMERATOR detail). The
|
|
27149
|
+
// #3710 count-parity assertion scopes to this kind.
|
|
27150
|
+
recordKind: "violation"
|
|
27147
27151
|
});
|
|
27148
27152
|
}
|
|
27149
27153
|
}
|
|
27154
|
+
function emitDurablePolicyEvaluationSummary(auditTrail, context, violationCount, mode) {
|
|
27155
|
+
if (auditTrail === void 0) return;
|
|
27156
|
+
emitPipelinePolicyEvent(auditTrail, {
|
|
27157
|
+
// Run-level verdict: warn always continues; otherwise allowed iff no violations.
|
|
27158
|
+
allowed: mode === "warn" || violationCount === 0,
|
|
27159
|
+
requiresApproval: false,
|
|
27160
|
+
inputTrustTier: "4",
|
|
27161
|
+
violationRules: [],
|
|
27162
|
+
mode,
|
|
27163
|
+
ruleIds: [],
|
|
27164
|
+
stageType: context.stageType,
|
|
27165
|
+
recordKind: "summary",
|
|
27166
|
+
violationCount
|
|
27167
|
+
});
|
|
27168
|
+
}
|
|
27150
27169
|
function logViolations(context, violations, mode) {
|
|
27151
27170
|
const summary = violations.map((v) => v.ruleId).join(", ");
|
|
27152
27171
|
if (mode === "block") {
|
|
@@ -41180,7 +41199,7 @@ async function tryIssueTriage(task) {
|
|
|
41180
41199
|
try {
|
|
41181
41200
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
41182
41201
|
if (issueMatch === null) return null;
|
|
41183
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
41202
|
+
const { createIssueTriage } = await import("./issue-triage-U3VC5TKV.js");
|
|
41184
41203
|
const triage = createIssueTriage();
|
|
41185
41204
|
const owner = issueMatch[1] ?? "";
|
|
41186
41205
|
const num = issueMatch[2] ?? "";
|
|
@@ -41208,7 +41227,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41208
41227
|
]);
|
|
41209
41228
|
async function classifyWithLLM(task) {
|
|
41210
41229
|
try {
|
|
41211
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41230
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-F4UMZFWS.js");
|
|
41212
41231
|
const prompt = [
|
|
41213
41232
|
"Classify this task into exactly one pipeline template.",
|
|
41214
41233
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -41537,6 +41556,16 @@ function mapTrust(e) {
|
|
|
41537
41556
|
}
|
|
41538
41557
|
};
|
|
41539
41558
|
}
|
|
41559
|
+
function pipelinePolicyMetadata(e) {
|
|
41560
|
+
return {
|
|
41561
|
+
...e.actionType !== void 0 ? { actionType: e.actionType } : {},
|
|
41562
|
+
...e.mode !== void 0 ? { mode: e.mode } : {},
|
|
41563
|
+
...e.ruleIds !== void 0 ? { ruleIds: e.ruleIds } : {},
|
|
41564
|
+
...e.stageType !== void 0 ? { stageType: e.stageType } : {},
|
|
41565
|
+
...e.recordKind !== void 0 ? { recordKind: e.recordKind } : {},
|
|
41566
|
+
...e.violationCount !== void 0 ? { violationCount: e.violationCount } : {}
|
|
41567
|
+
};
|
|
41568
|
+
}
|
|
41540
41569
|
function mapPolicyGate(e) {
|
|
41541
41570
|
const outcome = e.allowed ? "success" : "denied";
|
|
41542
41571
|
return {
|
|
@@ -41549,13 +41578,10 @@ function mapPolicyGate(e) {
|
|
|
41549
41578
|
policyDecision: e.allowed ? "allow" : "deny",
|
|
41550
41579
|
...e.violationRules.length > 0 ? { violationType: e.violationRules.join(",") } : {},
|
|
41551
41580
|
metadata: {
|
|
41552
|
-
...e.actionType !== void 0 ? { actionType: e.actionType } : {},
|
|
41553
41581
|
requiresApproval: e.requiresApproval,
|
|
41554
41582
|
inputTrustTier: e.inputTrustTier,
|
|
41555
41583
|
violationRules: e.violationRules,
|
|
41556
|
-
...e
|
|
41557
|
-
...e.ruleIds !== void 0 ? { ruleIds: e.ruleIds } : {},
|
|
41558
|
-
...e.stageType !== void 0 ? { stageType: e.stageType } : {}
|
|
41584
|
+
...pipelinePolicyMetadata(e)
|
|
41559
41585
|
}
|
|
41560
41586
|
};
|
|
41561
41587
|
}
|
|
@@ -42967,7 +42993,7 @@ var memoryInitPromise = null;
|
|
|
42967
42993
|
async function initPipelineMemory() {
|
|
42968
42994
|
if (cachedMemory !== null) return cachedMemory;
|
|
42969
42995
|
try {
|
|
42970
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
42996
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2J2UBZJA.js");
|
|
42971
42997
|
const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
|
|
42972
42998
|
const mem = createSessionMemory2(getLearningDir());
|
|
42973
42999
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -43029,7 +43055,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
43029
43055
|
callRecord(routingMemoryCache);
|
|
43030
43056
|
return;
|
|
43031
43057
|
}
|
|
43032
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
43058
|
+
routingMemoryInitPromise ??= import("./routing-memory-7RNR6A45.js").then(({ createRoutingMemory }) => {
|
|
43033
43059
|
routingMemoryCache ??= createRoutingMemory();
|
|
43034
43060
|
return routingMemoryCache;
|
|
43035
43061
|
}).catch((error) => {
|
|
@@ -43063,7 +43089,7 @@ ${text}` : "";
|
|
|
43063
43089
|
}
|
|
43064
43090
|
async function getWeatherContext() {
|
|
43065
43091
|
try {
|
|
43066
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
43092
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-WZKEEAC7.js");
|
|
43067
43093
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
43068
43094
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
43069
43095
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -43081,7 +43107,7 @@ ${lines}
|
|
|
43081
43107
|
}
|
|
43082
43108
|
async function getMemoryContext(task) {
|
|
43083
43109
|
try {
|
|
43084
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43110
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2J2UBZJA.js");
|
|
43085
43111
|
const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
|
|
43086
43112
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
43087
43113
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -43193,7 +43219,7 @@ ${contextBlock}`;
|
|
|
43193
43219
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
43194
43220
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
43195
43221
|
try {
|
|
43196
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
43222
|
+
const { executeVoting } = await import("./consensus-vote-3REPKLK4.js");
|
|
43197
43223
|
const votingResult = await executeVoting(
|
|
43198
43224
|
{
|
|
43199
43225
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -43630,7 +43656,7 @@ async function searchCodebaseForTask(task) {
|
|
|
43630
43656
|
}
|
|
43631
43657
|
async function queryResearchRegistry(task) {
|
|
43632
43658
|
try {
|
|
43633
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
43659
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-UHWT62F2.js");
|
|
43634
43660
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
43635
43661
|
if (topic === void 0) return null;
|
|
43636
43662
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -43701,7 +43727,7 @@ function createScanStageWrapper() {
|
|
|
43701
43727
|
try {
|
|
43702
43728
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
43703
43729
|
if (slug !== void 0) {
|
|
43704
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
43730
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-P2KJ4FDT.js");
|
|
43705
43731
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
43706
43732
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
43707
43733
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -45752,7 +45778,7 @@ var GitHubTaskTracker = class {
|
|
|
45752
45778
|
cachedProvider = null;
|
|
45753
45779
|
async getProvider() {
|
|
45754
45780
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
45755
|
-
const { createScmProvider } = await import("./factory-
|
|
45781
|
+
const { createScmProvider } = await import("./factory-YVHULPTE.js");
|
|
45756
45782
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
45757
45783
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
45758
45784
|
this.cachedProvider = result.value;
|
|
@@ -46524,7 +46550,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
46524
46550
|
}
|
|
46525
46551
|
}
|
|
46526
46552
|
async function defaultSources(includeOpenRouter) {
|
|
46527
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
46553
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-B3SPS47O.js");
|
|
46528
46554
|
const adapters = createAllAdapters2();
|
|
46529
46555
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
46530
46556
|
}
|
|
@@ -50543,4 +50569,4 @@ export {
|
|
|
50543
50569
|
shutdownFeedbackSubscriber,
|
|
50544
50570
|
createEventBusBridge
|
|
50545
50571
|
};
|
|
50546
|
-
//# sourceMappingURL=chunk-
|
|
50572
|
+
//# sourceMappingURL=chunk-RPT5WZAT.js.map
|