nexus-agents 6.3.2 → 6.3.4
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-6UXFBHW5.js → child-mcp-config-HGD32ADZ.js} +2 -2
- package/dist/{chunk-DZQWHHGI.js → chunk-3FPHHCY5.js} +4 -4
- package/dist/{chunk-UONHQ3Q3.js → chunk-5FHJAPIR.js} +2 -2
- package/dist/chunk-AQBOZVBW.js +7 -0
- package/dist/{chunk-2TP7YLBC.js → chunk-BE6FQ7XI.js} +2 -2
- package/dist/{chunk-XJ76EMQV.js → chunk-CLIZCXWB.js} +5 -5
- package/dist/{chunk-XHKHC44U.js → chunk-DJN4XAQO.js} +47 -43
- package/dist/{chunk-XHKHC44U.js.map → chunk-DJN4XAQO.js.map} +1 -1
- package/dist/{chunk-BT534KOS.js → chunk-DPFRPNAC.js} +7 -7
- package/dist/{chunk-MFORQ7FO.js → chunk-E6LGFJQE.js} +2 -2
- package/dist/{chunk-GVRDLRJM.js → chunk-ECHZGAZO.js} +49 -4
- package/dist/chunk-ECHZGAZO.js.map +1 -0
- package/dist/{chunk-47TTP5PC.js → chunk-FQQYGPMC.js} +2 -2
- package/dist/{chunk-5LREI4NO.js → chunk-GRLN6WL5.js} +3 -3
- package/dist/{chunk-5M3ZAK2V.js → chunk-HJUL6YRG.js} +4 -4
- package/dist/{chunk-LX4DUS4M.js → chunk-ITB2NBB7.js} +6 -6
- package/dist/{chunk-E2TILOO3.js → chunk-JLA2YAGY.js} +5 -5
- package/dist/{chunk-T7NTJNCG.js → chunk-JLE24ZSP.js} +2 -2
- package/dist/{chunk-XWKL7QDH.js → chunk-KNBIEADY.js} +2 -2
- package/dist/{chunk-QOF5S5Z5.js → chunk-KYHZYRMR.js} +2 -2
- package/dist/{chunk-5F36KKHM.js → chunk-LB4UH4FF.js} +25 -4
- package/dist/chunk-LB4UH4FF.js.map +1 -0
- package/dist/{chunk-ZT6RBA7L.js → chunk-LMIR62SG.js} +2 -2
- package/dist/{chunk-QEZ5CS5H.js → chunk-LPBGCX6H.js} +2 -2
- package/dist/{chunk-JYTDEFY6.js → chunk-NQ2CC67G.js} +2 -2
- package/dist/{chunk-ZCNB6YJ3.js → chunk-NXHPOKIO.js} +4 -4
- package/dist/{chunk-M2TFLYPC.js → chunk-Q3DEXAOB.js} +7 -7
- package/dist/{chunk-LM5ZSWYB.js → chunk-QZJR42BR.js} +4 -4
- package/dist/{chunk-5YZF5DUW.js → chunk-R6YU33TY.js} +8 -8
- package/dist/{chunk-ZTH7YD3J.js → chunk-RIMEO4AY.js} +3 -3
- package/dist/{chunk-VE6ZMLCT.js → chunk-SPRQFHVR.js} +2 -2
- package/dist/{chunk-W3VI2AAJ.js → chunk-TOQVL64J.js} +3 -3
- package/dist/{chunk-KFKI2M4X.js → chunk-UCW7IIX6.js} +2 -2
- package/dist/{chunk-YZDCUGPS.js → chunk-Y5ATK7BS.js} +2 -2
- package/dist/{chunk-6THNSXDV.js → chunk-YBG6Y2UN.js} +8 -8
- package/dist/{chunk-EPIRYAU3.js → chunk-Z2EUE6E6.js} +2 -2
- package/dist/{chunk-64LODBD3.js → chunk-ZNPUVXMB.js} +2 -2
- package/dist/{cli-circuit-breaker-U2CTVGQ7.js → cli-circuit-breaker-NPISC6Q4.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-GQOZMVH7.js → composite-router-ULU3C7ZA.js} +2 -2
- package/dist/{consensus-vote-YUVGQZL7.js → consensus-vote-5XRP2OY4.js} +17 -17
- package/dist/{context-retriever-FHHESJMM.js → context-retriever-UDMXESPP.js} +8 -8
- package/dist/{doctor-deep-Y65MN57O.js → doctor-deep-E2UHOIOS.js} +3 -3
- package/dist/{doctor-live-SWFNSL5Y.js → doctor-live-52MCZLBK.js} +9 -9
- package/dist/{expert-bridge-Y75TQIEO.js → expert-bridge-KMJQGVUM.js} +4 -4
- package/dist/{factory-7BW4S6PR.js → factory-LCKPBDL2.js} +5 -5
- package/dist/{factory-EBM7Z7MP.js → factory-RPWJNOET.js} +9 -9
- package/dist/{improvement-review-QKDI3QDL.js → improvement-review-2R6UZ4PF.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/{init-opencode-SSEA3UCA.js → init-opencode-AFES5ZQD.js} +6 -6
- package/dist/issue-triage-VVEGWHXP.js +17 -0
- package/dist/{pr-reviewer-helpers-245UWBYB.js → pr-reviewer-helpers-EJIWNM3Z.js} +4 -4
- package/dist/{registry-command-TPLFFKVI.js → registry-command-45SBK736.js} +2 -2
- package/dist/{repo-security-plan-C4JE7ZKQ.js → repo-security-plan-Z25BUZGY.js} +3 -3
- package/dist/{research-helpers-synthesize-ZZRDEX7R.js → research-helpers-synthesize-ILCLFNSL.js} +4 -4
- package/dist/{routing-memory-MLMNEIZD.js → routing-memory-SE3MTQSU.js} +2 -2
- package/dist/{session-memory-43TLUGSP.js → session-memory-JOJ5SHVX.js} +3 -3
- package/dist/{setup-config-LZWSAEL7.js → setup-config-IVLUCSF2.js} +3 -3
- package/dist/{setup-custom-api-UIIB2OYQ.js → setup-custom-api-G24JS2HB.js} +4 -4
- package/dist/setup-data-dir-VN2PMSVM.js +29 -0
- package/dist/{tool-memory-6HM6HC2C.js → tool-memory-O4XK27UO.js} +5 -5
- package/dist/{unified-registry-YYHYITVO.js → unified-registry-DPOXBGFQ.js} +10 -10
- package/dist/{weather-report-WCWQRH3K.js → weather-report-5SMT3RHJ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-5F36KKHM.js.map +0 -1
- package/dist/chunk-5STSWEDG.js +0 -7
- package/dist/chunk-GVRDLRJM.js.map +0 -1
- package/dist/issue-triage-HQQ2TR4C.js +0 -17
- package/dist/setup-data-dir-NNBWZ2BK.js +0 -29
- /package/dist/{child-mcp-config-6UXFBHW5.js.map → child-mcp-config-HGD32ADZ.js.map} +0 -0
- /package/dist/{chunk-DZQWHHGI.js.map → chunk-3FPHHCY5.js.map} +0 -0
- /package/dist/{chunk-UONHQ3Q3.js.map → chunk-5FHJAPIR.js.map} +0 -0
- /package/dist/{chunk-5STSWEDG.js.map → chunk-AQBOZVBW.js.map} +0 -0
- /package/dist/{chunk-2TP7YLBC.js.map → chunk-BE6FQ7XI.js.map} +0 -0
- /package/dist/{chunk-XJ76EMQV.js.map → chunk-CLIZCXWB.js.map} +0 -0
- /package/dist/{chunk-BT534KOS.js.map → chunk-DPFRPNAC.js.map} +0 -0
- /package/dist/{chunk-MFORQ7FO.js.map → chunk-E6LGFJQE.js.map} +0 -0
- /package/dist/{chunk-47TTP5PC.js.map → chunk-FQQYGPMC.js.map} +0 -0
- /package/dist/{chunk-5LREI4NO.js.map → chunk-GRLN6WL5.js.map} +0 -0
- /package/dist/{chunk-5M3ZAK2V.js.map → chunk-HJUL6YRG.js.map} +0 -0
- /package/dist/{chunk-LX4DUS4M.js.map → chunk-ITB2NBB7.js.map} +0 -0
- /package/dist/{chunk-E2TILOO3.js.map → chunk-JLA2YAGY.js.map} +0 -0
- /package/dist/{chunk-T7NTJNCG.js.map → chunk-JLE24ZSP.js.map} +0 -0
- /package/dist/{chunk-XWKL7QDH.js.map → chunk-KNBIEADY.js.map} +0 -0
- /package/dist/{chunk-QOF5S5Z5.js.map → chunk-KYHZYRMR.js.map} +0 -0
- /package/dist/{chunk-ZT6RBA7L.js.map → chunk-LMIR62SG.js.map} +0 -0
- /package/dist/{chunk-QEZ5CS5H.js.map → chunk-LPBGCX6H.js.map} +0 -0
- /package/dist/{chunk-JYTDEFY6.js.map → chunk-NQ2CC67G.js.map} +0 -0
- /package/dist/{chunk-ZCNB6YJ3.js.map → chunk-NXHPOKIO.js.map} +0 -0
- /package/dist/{chunk-M2TFLYPC.js.map → chunk-Q3DEXAOB.js.map} +0 -0
- /package/dist/{chunk-LM5ZSWYB.js.map → chunk-QZJR42BR.js.map} +0 -0
- /package/dist/{chunk-5YZF5DUW.js.map → chunk-R6YU33TY.js.map} +0 -0
- /package/dist/{chunk-ZTH7YD3J.js.map → chunk-RIMEO4AY.js.map} +0 -0
- /package/dist/{chunk-VE6ZMLCT.js.map → chunk-SPRQFHVR.js.map} +0 -0
- /package/dist/{chunk-W3VI2AAJ.js.map → chunk-TOQVL64J.js.map} +0 -0
- /package/dist/{chunk-KFKI2M4X.js.map → chunk-UCW7IIX6.js.map} +0 -0
- /package/dist/{chunk-YZDCUGPS.js.map → chunk-Y5ATK7BS.js.map} +0 -0
- /package/dist/{chunk-6THNSXDV.js.map → chunk-YBG6Y2UN.js.map} +0 -0
- /package/dist/{chunk-EPIRYAU3.js.map → chunk-Z2EUE6E6.js.map} +0 -0
- /package/dist/{chunk-64LODBD3.js.map → chunk-ZNPUVXMB.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-U2CTVGQ7.js.map → cli-circuit-breaker-NPISC6Q4.js.map} +0 -0
- /package/dist/{composite-router-GQOZMVH7.js.map → composite-router-ULU3C7ZA.js.map} +0 -0
- /package/dist/{consensus-vote-YUVGQZL7.js.map → consensus-vote-5XRP2OY4.js.map} +0 -0
- /package/dist/{context-retriever-FHHESJMM.js.map → context-retriever-UDMXESPP.js.map} +0 -0
- /package/dist/{doctor-deep-Y65MN57O.js.map → doctor-deep-E2UHOIOS.js.map} +0 -0
- /package/dist/{doctor-live-SWFNSL5Y.js.map → doctor-live-52MCZLBK.js.map} +0 -0
- /package/dist/{expert-bridge-Y75TQIEO.js.map → expert-bridge-KMJQGVUM.js.map} +0 -0
- /package/dist/{factory-7BW4S6PR.js.map → factory-LCKPBDL2.js.map} +0 -0
- /package/dist/{factory-EBM7Z7MP.js.map → factory-RPWJNOET.js.map} +0 -0
- /package/dist/{improvement-review-QKDI3QDL.js.map → improvement-review-2R6UZ4PF.js.map} +0 -0
- /package/dist/{init-opencode-SSEA3UCA.js.map → init-opencode-AFES5ZQD.js.map} +0 -0
- /package/dist/{issue-triage-HQQ2TR4C.js.map → issue-triage-VVEGWHXP.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-245UWBYB.js.map → pr-reviewer-helpers-EJIWNM3Z.js.map} +0 -0
- /package/dist/{registry-command-TPLFFKVI.js.map → registry-command-45SBK736.js.map} +0 -0
- /package/dist/{repo-security-plan-C4JE7ZKQ.js.map → repo-security-plan-Z25BUZGY.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-ZZRDEX7R.js.map → research-helpers-synthesize-ILCLFNSL.js.map} +0 -0
- /package/dist/{routing-memory-MLMNEIZD.js.map → routing-memory-SE3MTQSU.js.map} +0 -0
- /package/dist/{session-memory-43TLUGSP.js.map → session-memory-JOJ5SHVX.js.map} +0 -0
- /package/dist/{setup-config-LZWSAEL7.js.map → setup-config-IVLUCSF2.js.map} +0 -0
- /package/dist/{setup-custom-api-UIIB2OYQ.js.map → setup-custom-api-G24JS2HB.js.map} +0 -0
- /package/dist/{setup-data-dir-NNBWZ2BK.js.map → setup-data-dir-VN2PMSVM.js.map} +0 -0
- /package/dist/{tool-memory-6HM6HC2C.js.map → tool-memory-O4XK27UO.js.map} +0 -0
- /package/dist/{unified-registry-YYHYITVO.js.map → unified-registry-DPOXBGFQ.js.map} +0 -0
- /package/dist/{weather-report-WCWQRH3K.js.map → weather-report-5SMT3RHJ.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4OW67KT2.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LB4UH4FF.js";
|
|
7
7
|
import "./chunk-GBHJ37V3.js";
|
|
8
8
|
import "./chunk-OGHEKPLD.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-HGD32ADZ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R6YU33TY.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LMIR62SG.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_NAMES,
|
|
10
10
|
CircularBuffer,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
recordRateLimitEvent,
|
|
24
24
|
resolveModelIdentitySync,
|
|
25
25
|
toRateLimitError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LB4UH4FF.js";
|
|
27
27
|
|
|
28
28
|
// src/config/model-equivalence.ts
|
|
29
29
|
function canonicalModelKey(modelId) {
|
|
@@ -895,4 +895,4 @@ export {
|
|
|
895
895
|
getGlobalRegistry,
|
|
896
896
|
resetGlobalRegistry
|
|
897
897
|
};
|
|
898
|
-
//# sourceMappingURL=chunk-
|
|
898
|
+
//# sourceMappingURL=chunk-3FPHHCY5.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LB4UH4FF.js";
|
|
17
17
|
|
|
18
18
|
// src/config/model-parameter-support.ts
|
|
19
19
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -834,4 +834,4 @@ export {
|
|
|
834
834
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
835
835
|
collectStream
|
|
836
836
|
};
|
|
837
|
-
//# sourceMappingURL=chunk-
|
|
837
|
+
//# sourceMappingURL=chunk-5FHJAPIR.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok,
|
|
7
7
|
parseBoolEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LB4UH4FF.js";
|
|
9
9
|
|
|
10
10
|
// src/cli/research-helpers-io.ts
|
|
11
11
|
import * as fs2 from "fs/promises";
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
loadPapersRegistry,
|
|
157
157
|
savePapersRegistry
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-BE6FQ7XI.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BE6FQ7XI.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y5ATK7BS.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NXHPOKIO.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
getTimeProvider,
|
|
38
38
|
ok,
|
|
39
39
|
registerPersistentDistillerFactory
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LB4UH4FF.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureLearningDir,
|
|
43
43
|
getRulesFile
|
|
@@ -4132,4 +4132,4 @@ export {
|
|
|
4132
4132
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4133
4133
|
getContextPromptPrefix
|
|
4134
4134
|
};
|
|
4135
|
-
//# sourceMappingURL=chunk-
|
|
4135
|
+
//# sourceMappingURL=chunk-CLIZCXWB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FQQYGPMC.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DPFRPNAC.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Q3DEXAOB.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -47,24 +47,24 @@ import {
|
|
|
47
47
|
simulationDeniedResult,
|
|
48
48
|
toJobSummary,
|
|
49
49
|
writeJobCancelled
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-YBG6Y2UN.js";
|
|
51
51
|
import {
|
|
52
52
|
allOf
|
|
53
53
|
} from "./chunk-OQB3XC5O.js";
|
|
54
54
|
import {
|
|
55
55
|
normalizeTopicToCanonical,
|
|
56
56
|
synthesizeResearch
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-GRLN6WL5.js";
|
|
58
58
|
import {
|
|
59
59
|
IssueTriage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ITB2NBB7.js";
|
|
61
61
|
import {
|
|
62
62
|
resolveEnvMode,
|
|
63
63
|
sanitizeInput
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-NQ2CC67G.js";
|
|
65
65
|
import {
|
|
66
66
|
withPrerequisite
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-RIMEO4AY.js";
|
|
68
68
|
import {
|
|
69
69
|
NOOP_NOTIFIER,
|
|
70
70
|
RateLimiter,
|
|
@@ -88,18 +88,18 @@ import {
|
|
|
88
88
|
withAuditTrail,
|
|
89
89
|
withProgressHeartbeat,
|
|
90
90
|
wrapToolWithTimeout
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-HJUL6YRG.js";
|
|
92
92
|
import {
|
|
93
93
|
createAuditTrail,
|
|
94
94
|
createGraphAuditBridge,
|
|
95
95
|
emitPipelinePolicyEvent
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-KYHZYRMR.js";
|
|
97
97
|
import {
|
|
98
98
|
EventTopics,
|
|
99
99
|
createEvent,
|
|
100
100
|
getGlobalEventBus,
|
|
101
101
|
getGlobalRegistry
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-3FPHHCY5.js";
|
|
103
103
|
import {
|
|
104
104
|
IDENTIFIER_RE,
|
|
105
105
|
LANG_VALUES,
|
|
@@ -132,29 +132,29 @@ import {
|
|
|
132
132
|
parseRegistry,
|
|
133
133
|
sourceExistsInRegistry,
|
|
134
134
|
summarizeContextForPrompt
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-CLIZCXWB.js";
|
|
136
136
|
import {
|
|
137
137
|
loadPapersRegistry,
|
|
138
138
|
loadTechniquesRegistry,
|
|
139
139
|
resolveInsideRoot
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-BE6FQ7XI.js";
|
|
141
141
|
import {
|
|
142
142
|
getTokenEnvVars,
|
|
143
143
|
resolveToken
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-Y5ATK7BS.js";
|
|
145
145
|
import {
|
|
146
146
|
DEFAULT_RELEVANCE_CONFIG,
|
|
147
147
|
MemoryImportance,
|
|
148
148
|
calculateTextJaccardSimilarity,
|
|
149
149
|
getToolMemory
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-NXHPOKIO.js";
|
|
151
151
|
import {
|
|
152
152
|
STOPWORDS,
|
|
153
153
|
truncateWithInfo
|
|
154
154
|
} from "./chunk-6T3EPABN.js";
|
|
155
155
|
import {
|
|
156
156
|
createSessionMemory
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-E6LGFJQE.js";
|
|
158
158
|
import {
|
|
159
159
|
BUILT_IN_EXPERTS,
|
|
160
160
|
BuiltInExpertTypeSchema,
|
|
@@ -172,25 +172,25 @@ import {
|
|
|
172
172
|
getAvailableClis,
|
|
173
173
|
sleep,
|
|
174
174
|
withTimeout
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-R6YU33TY.js";
|
|
176
176
|
import {
|
|
177
177
|
BaseAdapter,
|
|
178
178
|
createStream,
|
|
179
179
|
requireApiKey,
|
|
180
180
|
validateApiKeyPresence
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-5FHJAPIR.js";
|
|
182
182
|
import {
|
|
183
183
|
DEFAULTS
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-LPBGCX6H.js";
|
|
185
185
|
import {
|
|
186
186
|
getAvailabilityCache,
|
|
187
187
|
getCliForModelId,
|
|
188
188
|
resolveFallback
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-KNBIEADY.js";
|
|
190
190
|
import {
|
|
191
191
|
generateHyphenId,
|
|
192
192
|
generateUUID
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-JLE24ZSP.js";
|
|
194
194
|
import {
|
|
195
195
|
AGENT_ROUTER_TIMEOUTS,
|
|
196
196
|
API_TIMEOUTS,
|
|
@@ -296,7 +296,7 @@ import {
|
|
|
296
296
|
selectStrategyByManifest,
|
|
297
297
|
toExpertTaskAnalysisResult,
|
|
298
298
|
withStep
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-LB4UH4FF.js";
|
|
300
300
|
import {
|
|
301
301
|
ensureLearningDir,
|
|
302
302
|
getMetaOutcomesFile,
|
|
@@ -29692,7 +29692,7 @@ function execIdFields(executionId) {
|
|
|
29692
29692
|
async function populateUnifiedContextOnState(state, options) {
|
|
29693
29693
|
const taskCandidate = state["task"];
|
|
29694
29694
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29695
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29695
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-UDMXESPP.js");
|
|
29696
29696
|
const category = inferTaskCategory2(taskCandidate);
|
|
29697
29697
|
const executionId = options?.executionId;
|
|
29698
29698
|
const execFields = execIdFields(executionId);
|
|
@@ -35906,8 +35906,9 @@ async function deriveWithTelemetry(userObjective, opts = {}) {
|
|
|
35906
35906
|
const started = Date.now();
|
|
35907
35907
|
const mode = opts.mode ?? resolveAccessPolicyMode();
|
|
35908
35908
|
const hash = hashObjective(userObjective);
|
|
35909
|
+
const cacheKey = policyCacheKey(hash, mode, opts.trustTier);
|
|
35909
35910
|
const cache = getPolicyCache();
|
|
35910
|
-
const cached = cache.get(
|
|
35911
|
+
const cached = cache.get(cacheKey);
|
|
35911
35912
|
if (cached !== void 0) {
|
|
35912
35913
|
return {
|
|
35913
35914
|
policy: cached,
|
|
@@ -35918,17 +35919,17 @@ async function deriveWithTelemetry(userObjective, opts = {}) {
|
|
|
35918
35919
|
}
|
|
35919
35920
|
};
|
|
35920
35921
|
}
|
|
35921
|
-
if (mode === "off") return cacheAndReturnBypass(cache, mode, hash, started);
|
|
35922
|
+
if (mode === "off") return cacheAndReturnBypass(cache, mode, hash, cacheKey, started);
|
|
35922
35923
|
const gate = gateTrust(opts.trustTier);
|
|
35923
|
-
const ctx = { userObjective, mode, hash, started, cache };
|
|
35924
|
+
const ctx = { userObjective, mode, hash, cacheKey, started, cache };
|
|
35924
35925
|
if (gate.allow === "llm" && opts.adapter !== void 0) {
|
|
35925
35926
|
return runLlmPath(ctx, opts);
|
|
35926
35927
|
}
|
|
35927
35928
|
return runFallbackPath(ctx, gate);
|
|
35928
35929
|
}
|
|
35929
|
-
function cacheAndReturnBypass(cache, mode, hash, started) {
|
|
35930
|
+
function cacheAndReturnBypass(cache, mode, hash, cacheKey, started) {
|
|
35930
35931
|
const policy = buildBypassPolicy(mode, hash);
|
|
35931
|
-
cache.set(
|
|
35932
|
+
cache.set(cacheKey, policy);
|
|
35932
35933
|
return {
|
|
35933
35934
|
policy,
|
|
35934
35935
|
telemetry: {
|
|
@@ -35948,14 +35949,14 @@ async function runLlmPath(ctx, opts) {
|
|
|
35948
35949
|
opts.timeoutMs ?? DEFAULT_LLM_TIMEOUT_MS
|
|
35949
35950
|
);
|
|
35950
35951
|
if (llmResult.ok) {
|
|
35951
|
-
ctx.cache.set(ctx.
|
|
35952
|
+
ctx.cache.set(ctx.cacheKey, llmResult.policy);
|
|
35952
35953
|
return {
|
|
35953
35954
|
policy: llmResult.policy,
|
|
35954
35955
|
telemetry: { latencyMs: Date.now() - ctx.started, source: "llm", trustDecision: "llm" }
|
|
35955
35956
|
};
|
|
35956
35957
|
}
|
|
35957
35958
|
const policy = deriveFallbackPolicy(ctx.userObjective, ctx.mode, ctx.hash);
|
|
35958
|
-
ctx.cache.set(ctx.
|
|
35959
|
+
ctx.cache.set(ctx.cacheKey, policy);
|
|
35959
35960
|
return {
|
|
35960
35961
|
policy,
|
|
35961
35962
|
telemetry: {
|
|
@@ -35968,7 +35969,7 @@ async function runLlmPath(ctx, opts) {
|
|
|
35968
35969
|
}
|
|
35969
35970
|
function runFallbackPath(ctx, gate) {
|
|
35970
35971
|
const policy = deriveFallbackPolicy(ctx.userObjective, ctx.mode, ctx.hash);
|
|
35971
|
-
ctx.cache.set(ctx.
|
|
35972
|
+
ctx.cache.set(ctx.cacheKey, policy);
|
|
35972
35973
|
return {
|
|
35973
35974
|
policy,
|
|
35974
35975
|
telemetry: {
|
|
@@ -35990,6 +35991,9 @@ function buildBypassPolicy(mode, hash) {
|
|
|
35990
35991
|
mode
|
|
35991
35992
|
};
|
|
35992
35993
|
}
|
|
35994
|
+
function policyCacheKey(objectiveHash, mode, trustTier) {
|
|
35995
|
+
return `${objectiveHash}:${mode}:${trustTier ?? "unset"}`;
|
|
35996
|
+
}
|
|
35993
35997
|
function hashObjective(userObjective) {
|
|
35994
35998
|
return createHash2("sha256").update(userObjective, "utf8").digest("hex").slice(0, 16);
|
|
35995
35999
|
}
|
|
@@ -45525,7 +45529,7 @@ async function tryIssueTriage(task) {
|
|
|
45525
45529
|
try {
|
|
45526
45530
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45527
45531
|
if (issueMatch === null) return null;
|
|
45528
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45532
|
+
const { createIssueTriage } = await import("./issue-triage-VVEGWHXP.js");
|
|
45529
45533
|
const triage = createIssueTriage();
|
|
45530
45534
|
const owner = issueMatch[1] ?? "";
|
|
45531
45535
|
const num = issueMatch[2] ?? "";
|
|
@@ -45553,7 +45557,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45553
45557
|
]);
|
|
45554
45558
|
async function classifyWithLLM(task) {
|
|
45555
45559
|
try {
|
|
45556
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45560
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-KMJQGVUM.js");
|
|
45557
45561
|
const prompt = [
|
|
45558
45562
|
"Classify this task into exactly one pipeline template.",
|
|
45559
45563
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47132,7 +47136,7 @@ var memoryInitPromise = null;
|
|
|
47132
47136
|
async function initPipelineMemory() {
|
|
47133
47137
|
if (cachedMemory !== null) return cachedMemory;
|
|
47134
47138
|
try {
|
|
47135
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47139
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-JOJ5SHVX.js");
|
|
47136
47140
|
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47137
47141
|
const mem = createSessionMemory2(getLearningDir());
|
|
47138
47142
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47194,7 +47198,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47194
47198
|
callRecord(routingMemoryCache);
|
|
47195
47199
|
return;
|
|
47196
47200
|
}
|
|
47197
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47201
|
+
routingMemoryInitPromise ??= import("./routing-memory-SE3MTQSU.js").then(({ createRoutingMemory }) => {
|
|
47198
47202
|
routingMemoryCache ??= createRoutingMemory();
|
|
47199
47203
|
return routingMemoryCache;
|
|
47200
47204
|
}).catch((error) => {
|
|
@@ -47228,7 +47232,7 @@ ${text}` : "";
|
|
|
47228
47232
|
}
|
|
47229
47233
|
async function getWeatherContext() {
|
|
47230
47234
|
try {
|
|
47231
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47235
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-5SMT3RHJ.js");
|
|
47232
47236
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47233
47237
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47234
47238
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47246,7 +47250,7 @@ ${lines}
|
|
|
47246
47250
|
}
|
|
47247
47251
|
async function getMemoryContext(task) {
|
|
47248
47252
|
try {
|
|
47249
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47253
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-JOJ5SHVX.js");
|
|
47250
47254
|
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47251
47255
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47252
47256
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47365,7 +47369,7 @@ ${contextBlock}`;
|
|
|
47365
47369
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47366
47370
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47367
47371
|
try {
|
|
47368
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47372
|
+
const { executeVoting } = await import("./consensus-vote-5XRP2OY4.js");
|
|
47369
47373
|
const votingResult = await executeVoting(
|
|
47370
47374
|
{
|
|
47371
47375
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47794,7 +47798,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47794
47798
|
}
|
|
47795
47799
|
async function queryResearchRegistry(task) {
|
|
47796
47800
|
try {
|
|
47797
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47801
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ILCLFNSL.js");
|
|
47798
47802
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47799
47803
|
if (topic === void 0) return null;
|
|
47800
47804
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47865,7 +47869,7 @@ function createScanStageWrapper() {
|
|
|
47865
47869
|
try {
|
|
47866
47870
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47867
47871
|
if (slug !== void 0) {
|
|
47868
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47872
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-Z25BUZGY.js");
|
|
47869
47873
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47870
47874
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47871
47875
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51009,7 +51013,7 @@ var GitHubTaskTracker = class {
|
|
|
51009
51013
|
cachedProvider = null;
|
|
51010
51014
|
async getProvider() {
|
|
51011
51015
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51012
|
-
const { createScmProvider } = await import("./factory-
|
|
51016
|
+
const { createScmProvider } = await import("./factory-LCKPBDL2.js");
|
|
51013
51017
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51014
51018
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51015
51019
|
this.cachedProvider = result.value;
|
|
@@ -51924,7 +51928,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51924
51928
|
}
|
|
51925
51929
|
}
|
|
51926
51930
|
async function defaultSources(includeOpenRouter) {
|
|
51927
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51931
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-RPWJNOET.js");
|
|
51928
51932
|
const adapters = createAllAdapters2();
|
|
51929
51933
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51930
51934
|
}
|
|
@@ -55996,4 +56000,4 @@ export {
|
|
|
55996
56000
|
shutdownFeedbackSubscriber,
|
|
55997
56001
|
createEventBusBridge
|
|
55998
56002
|
};
|
|
55999
|
-
//# sourceMappingURL=chunk-
|
|
56003
|
+
//# sourceMappingURL=chunk-DJN4XAQO.js.map
|