nexus-agents 8.44.1 → 8.44.2
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/{ast-rule-runner-EPU4KNXJ.js → ast-rule-runner-WVDAA42T.js} +3 -3
- package/dist/{child-mcp-config-MQYS7D6P.js → child-mcp-config-7QA75U75.js} +2 -2
- package/dist/{chunk-M7TQR4UU.js → chunk-2XVGARRY.js} +4 -4
- package/dist/{chunk-6HMACBA3.js → chunk-4R7UX4LH.js} +2 -2
- package/dist/{chunk-WPBF2POG.js → chunk-4XSUIYEJ.js} +4 -4
- package/dist/{chunk-ZSMK7RFK.js → chunk-76RVBWFJ.js} +2 -2
- package/dist/{chunk-LVOXPW3M.js → chunk-7LC7IAC6.js} +2 -2
- package/dist/{chunk-AP3KIHPG.js → chunk-CFD2JBFF.js} +2 -2
- package/dist/{chunk-H77DZWRG.js → chunk-E7GG4QM4.js} +2 -2
- package/dist/{chunk-AMCNB2TJ.js → chunk-G6BYL67S.js} +5 -5
- package/dist/{chunk-5CO7TEYR.js → chunk-GNXA7QYJ.js} +2 -2
- package/dist/{chunk-Z4SCHKLH.js → chunk-HT2X7CTV.js} +2 -2
- package/dist/{chunk-23MBJUHY.js → chunk-II5QSTMF.js} +40 -39
- package/dist/{chunk-23MBJUHY.js.map → chunk-II5QSTMF.js.map} +1 -1
- package/dist/{chunk-OO73573G.js → chunk-K5AOFWUZ.js} +2 -2
- package/dist/{chunk-GCLLRAST.js → chunk-KWBL4YBO.js} +3 -3
- package/dist/{chunk-NJDB4LVF.js → chunk-L4M72UC3.js} +8 -8
- package/dist/{chunk-U7JRUYB3.js → chunk-LQQVESK4.js} +2 -2
- package/dist/{chunk-LHIOFRJX.js → chunk-N5TB4D4Y.js} +6 -6
- package/dist/{chunk-P6DGZEWY.js → chunk-NAQZUL6T.js} +4 -4
- package/dist/{chunk-B5R7KEZR.js → chunk-OJQGBWSN.js} +7 -7
- package/dist/{chunk-IOV4B5R5.js → chunk-OWFSWV2B.js} +2 -2
- package/dist/{chunk-4WEBJR5L.js → chunk-Q4YQUVFY.js} +7 -7
- package/dist/{chunk-X2MX53O3.js → chunk-RTXOSQQ5.js} +2 -2
- package/dist/{chunk-JSH5GCZK.js → chunk-S4RQTNOJ.js} +3 -3
- package/dist/{chunk-4H44CQIZ.js → chunk-SSZ3UI5I.js} +2 -2
- package/dist/{chunk-XYD2J2M5.js → chunk-TCAOGMSJ.js} +3 -3
- package/dist/{chunk-PFW4EQ2E.js → chunk-UVWWUCTU.js} +2 -2
- package/dist/{chunk-LZL23U7Z.js → chunk-VMUMZQRK.js} +2 -2
- package/dist/{chunk-2VDDZCVT.js → chunk-W4FTZ6NQ.js} +9 -9
- package/dist/{chunk-BTWPTJF3.js → chunk-WG57CLZX.js} +3 -3
- package/dist/{chunk-TPHY6M6D.js → chunk-WINAQRIP.js} +4 -4
- package/dist/{chunk-3QP3NJ4E.js → chunk-WTJARWUI.js} +2 -2
- package/dist/{chunk-OEKALQ2G.js → chunk-Y5SMWBMT.js} +2 -2
- package/dist/{chunk-RL6F6IUQ.js → chunk-YO44KBCM.js} +2 -2
- package/dist/{chunk-MLG2PR6E.js → chunk-ZAQ7TGE5.js} +2 -2
- package/dist/{chunk-S4QNCIZF.js → chunk-ZYBVRWCQ.js} +19 -9
- package/dist/chunk-ZYBVRWCQ.js.map +1 -0
- package/dist/{cli-circuit-breaker-LAOVTGFP.js → cli-circuit-breaker-YNMILNBW.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-CN2SV6PX.js → composite-router-IMTJSNSW.js} +2 -2
- package/dist/{consensus-vote-52SR6UJB.js → consensus-vote-M4LH7MXD.js} +17 -17
- package/dist/{context-retriever-3XRHW4EG.js → context-retriever-TJD4G7VT.js} +8 -8
- package/dist/{doctor-deep-5CSAHVEP.js → doctor-deep-A6KISK57.js} +3 -3
- package/dist/{doctor-live-5NRILDTR.js → doctor-live-PRGQCROP.js} +9 -9
- package/dist/{expert-bridge-ZNNMHOQH.js → expert-bridge-6C6RR6WF.js} +4 -4
- package/dist/{factory-UYBTTLHZ.js → factory-YJQI6VWJ.js} +5 -5
- package/dist/{factory-TE7DQKRW.js → factory-YLPR5WLO.js} +9 -9
- package/dist/{improvement-review-3VV4DBCJ.js → improvement-review-E6GLPXUP.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/{init-opencode-WKKW7V7A.js → init-opencode-KPMC65FE.js} +6 -6
- package/dist/issue-triage-PV46T7GR.js +17 -0
- package/dist/{pr-reviewer-helpers-BR6YMKMR.js → pr-reviewer-helpers-HOIPAC4C.js} +4 -4
- package/dist/{registry-command-TWZXTXWB.js → registry-command-QTVLH3SG.js} +2 -2
- package/dist/{repo-security-plan-3E3FSPD5.js → repo-security-plan-VSFW6JNC.js} +3 -3
- package/dist/{research-helpers-synthesize-NIDQS4XT.js → research-helpers-synthesize-FEL4P5AM.js} +4 -4
- package/dist/{routing-memory-PGYUB4UJ.js → routing-memory-3QEB367H.js} +2 -2
- package/dist/{session-memory-D2IK4PC2.js → session-memory-MXNCBWWR.js} +3 -3
- package/dist/{setup-config-QELDNFFB.js → setup-config-3EJ37UHP.js} +3 -3
- package/dist/{setup-custom-api-57TCCU7N.js → setup-custom-api-KZL36DTQ.js} +4 -4
- package/dist/setup-data-dir-EKNO344K.js +29 -0
- package/dist/{tool-memory-3B44V6CP.js → tool-memory-K5XBNYLH.js} +5 -5
- package/dist/{unified-registry-AIHYR7FG.js → unified-registry-5Y5JXIT2.js} +10 -10
- package/dist/{weather-report-2Q6RXC2D.js → weather-report-K5JQJERB.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-S4QNCIZF.js.map +0 -1
- package/dist/issue-triage-FRPETYSK.js +0 -17
- package/dist/setup-data-dir-WFISCBTQ.js +0 -29
- /package/dist/{ast-rule-runner-EPU4KNXJ.js.map → ast-rule-runner-WVDAA42T.js.map} +0 -0
- /package/dist/{child-mcp-config-MQYS7D6P.js.map → child-mcp-config-7QA75U75.js.map} +0 -0
- /package/dist/{chunk-M7TQR4UU.js.map → chunk-2XVGARRY.js.map} +0 -0
- /package/dist/{chunk-6HMACBA3.js.map → chunk-4R7UX4LH.js.map} +0 -0
- /package/dist/{chunk-WPBF2POG.js.map → chunk-4XSUIYEJ.js.map} +0 -0
- /package/dist/{chunk-ZSMK7RFK.js.map → chunk-76RVBWFJ.js.map} +0 -0
- /package/dist/{chunk-LVOXPW3M.js.map → chunk-7LC7IAC6.js.map} +0 -0
- /package/dist/{chunk-AP3KIHPG.js.map → chunk-CFD2JBFF.js.map} +0 -0
- /package/dist/{chunk-H77DZWRG.js.map → chunk-E7GG4QM4.js.map} +0 -0
- /package/dist/{chunk-AMCNB2TJ.js.map → chunk-G6BYL67S.js.map} +0 -0
- /package/dist/{chunk-5CO7TEYR.js.map → chunk-GNXA7QYJ.js.map} +0 -0
- /package/dist/{chunk-Z4SCHKLH.js.map → chunk-HT2X7CTV.js.map} +0 -0
- /package/dist/{chunk-OO73573G.js.map → chunk-K5AOFWUZ.js.map} +0 -0
- /package/dist/{chunk-GCLLRAST.js.map → chunk-KWBL4YBO.js.map} +0 -0
- /package/dist/{chunk-NJDB4LVF.js.map → chunk-L4M72UC3.js.map} +0 -0
- /package/dist/{chunk-U7JRUYB3.js.map → chunk-LQQVESK4.js.map} +0 -0
- /package/dist/{chunk-LHIOFRJX.js.map → chunk-N5TB4D4Y.js.map} +0 -0
- /package/dist/{chunk-P6DGZEWY.js.map → chunk-NAQZUL6T.js.map} +0 -0
- /package/dist/{chunk-B5R7KEZR.js.map → chunk-OJQGBWSN.js.map} +0 -0
- /package/dist/{chunk-IOV4B5R5.js.map → chunk-OWFSWV2B.js.map} +0 -0
- /package/dist/{chunk-4WEBJR5L.js.map → chunk-Q4YQUVFY.js.map} +0 -0
- /package/dist/{chunk-X2MX53O3.js.map → chunk-RTXOSQQ5.js.map} +0 -0
- /package/dist/{chunk-JSH5GCZK.js.map → chunk-S4RQTNOJ.js.map} +0 -0
- /package/dist/{chunk-4H44CQIZ.js.map → chunk-SSZ3UI5I.js.map} +0 -0
- /package/dist/{chunk-XYD2J2M5.js.map → chunk-TCAOGMSJ.js.map} +0 -0
- /package/dist/{chunk-PFW4EQ2E.js.map → chunk-UVWWUCTU.js.map} +0 -0
- /package/dist/{chunk-LZL23U7Z.js.map → chunk-VMUMZQRK.js.map} +0 -0
- /package/dist/{chunk-2VDDZCVT.js.map → chunk-W4FTZ6NQ.js.map} +0 -0
- /package/dist/{chunk-BTWPTJF3.js.map → chunk-WG57CLZX.js.map} +0 -0
- /package/dist/{chunk-TPHY6M6D.js.map → chunk-WINAQRIP.js.map} +0 -0
- /package/dist/{chunk-3QP3NJ4E.js.map → chunk-WTJARWUI.js.map} +0 -0
- /package/dist/{chunk-OEKALQ2G.js.map → chunk-Y5SMWBMT.js.map} +0 -0
- /package/dist/{chunk-RL6F6IUQ.js.map → chunk-YO44KBCM.js.map} +0 -0
- /package/dist/{chunk-MLG2PR6E.js.map → chunk-ZAQ7TGE5.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-LAOVTGFP.js.map → cli-circuit-breaker-YNMILNBW.js.map} +0 -0
- /package/dist/{composite-router-CN2SV6PX.js.map → composite-router-IMTJSNSW.js.map} +0 -0
- /package/dist/{consensus-vote-52SR6UJB.js.map → consensus-vote-M4LH7MXD.js.map} +0 -0
- /package/dist/{context-retriever-3XRHW4EG.js.map → context-retriever-TJD4G7VT.js.map} +0 -0
- /package/dist/{doctor-deep-5CSAHVEP.js.map → doctor-deep-A6KISK57.js.map} +0 -0
- /package/dist/{doctor-live-5NRILDTR.js.map → doctor-live-PRGQCROP.js.map} +0 -0
- /package/dist/{expert-bridge-ZNNMHOQH.js.map → expert-bridge-6C6RR6WF.js.map} +0 -0
- /package/dist/{factory-TE7DQKRW.js.map → factory-YJQI6VWJ.js.map} +0 -0
- /package/dist/{factory-UYBTTLHZ.js.map → factory-YLPR5WLO.js.map} +0 -0
- /package/dist/{improvement-review-3VV4DBCJ.js.map → improvement-review-E6GLPXUP.js.map} +0 -0
- /package/dist/{init-opencode-WKKW7V7A.js.map → init-opencode-KPMC65FE.js.map} +0 -0
- /package/dist/{issue-triage-FRPETYSK.js.map → issue-triage-PV46T7GR.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-BR6YMKMR.js.map → pr-reviewer-helpers-HOIPAC4C.js.map} +0 -0
- /package/dist/{registry-command-TWZXTXWB.js.map → registry-command-QTVLH3SG.js.map} +0 -0
- /package/dist/{repo-security-plan-3E3FSPD5.js.map → repo-security-plan-VSFW6JNC.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-NIDQS4XT.js.map → research-helpers-synthesize-FEL4P5AM.js.map} +0 -0
- /package/dist/{routing-memory-PGYUB4UJ.js.map → routing-memory-3QEB367H.js.map} +0 -0
- /package/dist/{session-memory-D2IK4PC2.js.map → session-memory-MXNCBWWR.js.map} +0 -0
- /package/dist/{setup-config-QELDNFFB.js.map → setup-config-3EJ37UHP.js.map} +0 -0
- /package/dist/{setup-custom-api-57TCCU7N.js.map → setup-custom-api-KZL36DTQ.js.map} +0 -0
- /package/dist/{setup-data-dir-WFISCBTQ.js.map → setup-data-dir-EKNO344K.js.map} +0 -0
- /package/dist/{tool-memory-3B44V6CP.js.map → tool-memory-K5XBNYLH.js.map} +0 -0
- /package/dist/{unified-registry-AIHYR7FG.js.map → unified-registry-5Y5JXIT2.js.map} +0 -0
- /package/dist/{weather-report-2Q6RXC2D.js.map → weather-report-K5JQJERB.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
getDefaultRegistry,
|
|
5
5
|
roundToMicroUsd
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WG57CLZX.js";
|
|
7
7
|
import {
|
|
8
8
|
getNexusDataDir
|
|
9
9
|
} from "./chunk-JVNJJ2VL.js";
|
|
@@ -196,4 +196,4 @@ export {
|
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-K5AOFWUZ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YO44KBCM.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WG57CLZX.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -886,4 +886,4 @@ export {
|
|
|
886
886
|
AttributedInsightSchema,
|
|
887
887
|
synthesizeResearch
|
|
888
888
|
};
|
|
889
|
-
//# sourceMappingURL=chunk-
|
|
889
|
+
//# sourceMappingURL=chunk-KWBL4YBO.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VMUMZQRK.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y5SMWBMT.js";
|
|
12
12
|
import {
|
|
13
13
|
CUSTOM_API_BASE_URL_ENV,
|
|
14
14
|
PROVIDER_ENV_KEYS,
|
|
15
15
|
assertCustomApiHostResolvesPublic,
|
|
16
16
|
validateCustomApiBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LQQVESK4.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-T5GVEXSA.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CFD2JBFF.js";
|
|
24
24
|
import {
|
|
25
25
|
extractSystemPrompt
|
|
26
26
|
} from "./chunk-QZUG667L.js";
|
|
27
27
|
import {
|
|
28
28
|
generateHyphenId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GNXA7QYJ.js";
|
|
30
30
|
import {
|
|
31
31
|
CliCircuitBreaker,
|
|
32
32
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
33
33
|
getCliCircuitBreakerSnapshot,
|
|
34
34
|
getDefaultCliCircuitBreakerRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OWFSWV2B.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
resolveCliModelName,
|
|
74
74
|
resolveRetryAfterMs,
|
|
75
75
|
retryAfterMsFromContext
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-WG57CLZX.js";
|
|
77
77
|
import {
|
|
78
78
|
parseBoolValue
|
|
79
79
|
} from "./chunk-JVNJJ2VL.js";
|
|
@@ -4993,4 +4993,4 @@ export {
|
|
|
4993
4993
|
SdkAdapter,
|
|
4994
4994
|
createAutoAdapter
|
|
4995
4995
|
};
|
|
4996
|
-
//# sourceMappingURL=chunk-
|
|
4996
|
+
//# sourceMappingURL=chunk-L4M72UC3.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
err,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WG57CLZX.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/sdk/types.ts
|
|
9
9
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
validateCustomApiBaseUrl,
|
|
261
261
|
assertCustomApiHostResolvesPublic
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-LQQVESK4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WTJARWUI.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveEnvMode,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-76RVBWFJ.js";
|
|
16
16
|
import {
|
|
17
17
|
MAX_STRIPPED_ELEMENTS_PER_EVENT,
|
|
18
18
|
createAuditTrail,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
emitReputationEvent,
|
|
21
21
|
emitSanitizationEvent,
|
|
22
22
|
emitTrustEvent
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZAQ7TGE5.js";
|
|
24
24
|
import {
|
|
25
25
|
hasToken
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7LC7IAC6.js";
|
|
27
27
|
import {
|
|
28
28
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
29
29
|
createLogger,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
getErrorMessage,
|
|
32
32
|
getTimeProvider,
|
|
33
33
|
ok
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WG57CLZX.js";
|
|
35
35
|
|
|
36
36
|
// src/security/firewall/firewall-policy-mode.ts
|
|
37
37
|
import { z } from "zod";
|
|
@@ -2162,4 +2162,4 @@ export {
|
|
|
2162
2162
|
IssueTriage,
|
|
2163
2163
|
createIssueTriage
|
|
2164
2164
|
};
|
|
2165
|
-
//# sourceMappingURL=chunk-
|
|
2165
|
+
//# sourceMappingURL=chunk-N5TB4D4Y.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-7LP6VJRP.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E7GG4QM4.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-YYJFZ7TO.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GNXA7QYJ.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
NexusError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
ok,
|
|
30
30
|
openSqliteDatabase,
|
|
31
31
|
setSharedMobiMemDbPathResolver
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WG57CLZX.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-JVNJJ2VL.js";
|
|
@@ -5825,4 +5825,4 @@ export {
|
|
|
5825
5825
|
reinitializeMemoryBackends,
|
|
5826
5826
|
ToolMemoryManager
|
|
5827
5827
|
};
|
|
5828
|
-
//# sourceMappingURL=chunk-
|
|
5828
|
+
//# sourceMappingURL=chunk-NAQZUL6T.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CFD2JBFF.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WG57CLZX.js";
|
|
9
9
|
|
|
10
10
|
// src/pipeline/expert-bridge.ts
|
|
11
11
|
function resolveCliFromModelString(model) {
|
|
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
|
|
|
21
21
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
22
22
|
mcpConfigInitPromise ??= (async () => {
|
|
23
23
|
try {
|
|
24
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
24
|
+
const { generateMcpConfig } = await import("./child-mcp-config-7QA75U75.js");
|
|
25
25
|
const config = await generateMcpConfig();
|
|
26
26
|
cachedMcpConfigPath = config.configPath;
|
|
27
27
|
cachedMcpConfigCleanup = config.cleanup;
|
|
@@ -93,8 +93,8 @@ var routerInitPromise = null;
|
|
|
93
93
|
async function getRouter() {
|
|
94
94
|
if (cachedRouter !== null) return cachedRouter;
|
|
95
95
|
routerInitPromise ??= (async () => {
|
|
96
|
-
const { createAllAdapters } = await import("./factory-
|
|
97
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
96
|
+
const { createAllAdapters } = await import("./factory-YLPR5WLO.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-IMTJSNSW.js");
|
|
98
98
|
const adapters = createAllAdapters();
|
|
99
99
|
if (adapters.size === 0) {
|
|
100
100
|
routerInitPromise = null;
|
|
@@ -102,7 +102,7 @@ async function getRouter() {
|
|
|
102
102
|
}
|
|
103
103
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
104
104
|
try {
|
|
105
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
105
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-YNMILNBW.js");
|
|
106
106
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
107
107
|
} catch (error) {
|
|
108
108
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
tokenSplitFromUsage,
|
|
214
214
|
executeExpert
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-OJQGBWSN.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WG57CLZX.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
14
14
|
var CircuitErrorCode = {
|
|
@@ -541,4 +541,4 @@ export {
|
|
|
541
541
|
CliCircuitBreakerIntegration,
|
|
542
542
|
createCliCircuitBreakerIntegration
|
|
543
543
|
};
|
|
544
|
-
//# sourceMappingURL=chunk-
|
|
544
|
+
//# sourceMappingURL=chunk-OWFSWV2B.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readOpenAICompatEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G6BYL67S.js";
|
|
4
4
|
import {
|
|
5
5
|
allOf
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UVWWUCTU.js";
|
|
12
12
|
import {
|
|
13
13
|
capitalize
|
|
14
14
|
} from "./chunk-7LP6VJRP.js";
|
|
15
15
|
import {
|
|
16
16
|
createAllAdapters,
|
|
17
17
|
probeCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-L4M72UC3.js";
|
|
19
19
|
import {
|
|
20
20
|
getNexusTmpDir
|
|
21
21
|
} from "./chunk-T5GVEXSA.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
ok,
|
|
31
31
|
symbols,
|
|
32
32
|
writeLine
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WG57CLZX.js";
|
|
34
34
|
import {
|
|
35
35
|
getLearningDir,
|
|
36
36
|
getOutcomesFile,
|
|
@@ -1228,13 +1228,13 @@ async function runDoctorFix(result) {
|
|
|
1228
1228
|
writeLine2("\u2500".repeat(40));
|
|
1229
1229
|
let fixCount = 0;
|
|
1230
1230
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1231
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1231
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-EKNO344K.js");
|
|
1232
1232
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1233
1233
|
writeLine2(outcome.line);
|
|
1234
1234
|
if (outcome.counted) fixCount++;
|
|
1235
1235
|
}
|
|
1236
1236
|
if (!result.configFile.found) {
|
|
1237
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1237
|
+
const { runConfigInitSync } = await import("./setup-config-3EJ37UHP.js");
|
|
1238
1238
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1239
1239
|
if (configResult.success && configResult.created) {
|
|
1240
1240
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1330,4 +1330,4 @@ export {
|
|
|
1330
1330
|
startStdioServer,
|
|
1331
1331
|
closeServer
|
|
1332
1332
|
};
|
|
1333
|
-
//# sourceMappingURL=chunk-
|
|
1333
|
+
//# sourceMappingURL=chunk-Q4YQUVFY.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WG57CLZX.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/doctor-deep.ts
|
|
8
8
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
runDeepDiagnostics,
|
|
107
107
|
formatDeepDiagnostics
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-RTXOSQQ5.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
assessReputation,
|
|
12
12
|
sanitizeInput
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-76RVBWFJ.js";
|
|
14
14
|
import {
|
|
15
15
|
createLogger,
|
|
16
16
|
err,
|
|
17
17
|
getTimeProvider,
|
|
18
18
|
ok
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WG57CLZX.js";
|
|
20
20
|
|
|
21
21
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
22
22
|
import { randomUUID } from "node:crypto";
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
createFailedReview,
|
|
417
417
|
reviewPostingBlock
|
|
418
418
|
};
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-S4RQTNOJ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WG57CLZX.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -721,4 +721,4 @@ export {
|
|
|
721
721
|
generateSecurityPlan,
|
|
722
722
|
buildPlanFromAnalysis
|
|
723
723
|
};
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-SSZ3UI5I.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WINAQRIP.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate,
|
|
22
22
|
isRegisteredToolName
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WG57CLZX.js";
|
|
24
24
|
import {
|
|
25
25
|
getNexusDataDir,
|
|
26
26
|
nexusDataPath
|
|
@@ -2173,4 +2173,4 @@ export {
|
|
|
2173
2173
|
runImprovementReview,
|
|
2174
2174
|
registerImprovementReviewTool
|
|
2175
2175
|
};
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
+
//# sourceMappingURL=chunk-TCAOGMSJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.44.
|
|
3
|
+
var VERSION = true ? "8.44.2" : "dev";
|
|
4
4
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
5
5
|
function isNodeVersionSupported(version) {
|
|
6
6
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
isNodeVersionSupported
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-UVWWUCTU.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WG57CLZX.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-VMUMZQRK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K5AOFWUZ.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WINAQRIP.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UVWWUCTU.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
33
33
|
createEvent,
|
|
34
34
|
getGlobalRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4XSUIYEJ.js";
|
|
36
36
|
import {
|
|
37
37
|
getToolMemory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NAQZUL6T.js";
|
|
39
39
|
import {
|
|
40
40
|
authRemediation,
|
|
41
41
|
delay,
|
|
42
42
|
getAvailableClis,
|
|
43
43
|
sleep,
|
|
44
44
|
withTimeout
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-L4M72UC3.js";
|
|
46
46
|
import {
|
|
47
47
|
AgentError,
|
|
48
48
|
CLI_NAMES,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
registerPersistentOutcomeStoreFactory,
|
|
71
71
|
resolveClassGuardMs,
|
|
72
72
|
resolveVoteTimeout
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-WG57CLZX.js";
|
|
74
74
|
import {
|
|
75
75
|
ensureLearningDir,
|
|
76
76
|
getOutcomesFile
|
|
@@ -7253,7 +7253,7 @@ function logPartialProposal(bounded, log) {
|
|
|
7253
7253
|
}
|
|
7254
7254
|
async function runContrarianCheck(proposal, log) {
|
|
7255
7255
|
try {
|
|
7256
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
7256
|
+
const { executeExpert } = await import("./expert-bridge-6C6RR6WF.js");
|
|
7257
7257
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
7258
7258
|
logPartialProposal(bounded, log);
|
|
7259
7259
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -7850,4 +7850,4 @@ export {
|
|
|
7850
7850
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7851
7851
|
registerConsensusVoteTool
|
|
7852
7852
|
};
|
|
7853
|
-
//# sourceMappingURL=chunk-
|
|
7853
|
+
//# sourceMappingURL=chunk-W4FTZ6NQ.js.map
|
|
@@ -2678,7 +2678,7 @@ function setDefaultRegistry(registry) {
|
|
|
2678
2678
|
}
|
|
2679
2679
|
async function reloadDefaultRegistry() {
|
|
2680
2680
|
globalRegistry = buildDefaultRegistry();
|
|
2681
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
2681
|
+
const { resetGlobalRegistry } = await import("./unified-registry-5Y5JXIT2.js");
|
|
2682
2682
|
resetGlobalRegistry();
|
|
2683
2683
|
return globalRegistry;
|
|
2684
2684
|
}
|
|
@@ -15339,7 +15339,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
15339
15339
|
*/
|
|
15340
15340
|
async consultUnifiedContext(task) {
|
|
15341
15341
|
try {
|
|
15342
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
15342
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-TJD4G7VT.js");
|
|
15343
15343
|
const ctx = await getContextForTask({
|
|
15344
15344
|
task: task.content,
|
|
15345
15345
|
category: inferTaskCategory(task.content),
|
|
@@ -17030,4 +17030,4 @@ export {
|
|
|
17030
17030
|
AgentCapability,
|
|
17031
17031
|
OrchestratorError
|
|
17032
17032
|
};
|
|
17033
|
-
//# sourceMappingURL=chunk-
|
|
17033
|
+
//# sourceMappingURL=chunk-WG57CLZX.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UVWWUCTU.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZAQ7TGE5.js";
|
|
7
7
|
import {
|
|
8
8
|
CACHE_TIMEOUTS,
|
|
9
9
|
MCP_TIMEOUTS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getTimeProvider,
|
|
20
20
|
ok,
|
|
21
21
|
resolveToolClassGuardMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WG57CLZX.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir
|
|
25
25
|
} from "./chunk-JVNJJ2VL.js";
|
|
@@ -2317,4 +2317,4 @@ export {
|
|
|
2317
2317
|
VOTING_THRESHOLDS,
|
|
2318
2318
|
ConsensusMetricsSchema
|
|
2319
2319
|
};
|
|
2320
|
-
//# sourceMappingURL=chunk-
|
|
2320
|
+
//# sourceMappingURL=chunk-WINAQRIP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WG57CLZX.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-WTJARWUI.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
MCP_TIMEOUTS,
|
|
6
6
|
TEST_TIMEOUTS,
|
|
7
7
|
WORKFLOW_TIMEOUTS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WG57CLZX.js";
|
|
9
9
|
import {
|
|
10
10
|
createGetCircuitBreakerConfig,
|
|
11
11
|
createGetEnvVarDocumentation,
|
|
@@ -232,4 +232,4 @@ export {
|
|
|
232
232
|
CUSTOM_API_DEFAULT_MODEL,
|
|
233
233
|
DEFAULTS
|
|
234
234
|
};
|
|
235
|
-
//# sourceMappingURL=chunk-
|
|
235
|
+
//# sourceMappingURL=chunk-Y5SMWBMT.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
err,
|
|
6
6
|
getErrorMessage,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WG57CLZX.js";
|
|
9
9
|
import {
|
|
10
10
|
findRepoRoot,
|
|
11
11
|
getActiveWorkspaceRoot,
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
loadPapersRegistry,
|
|
224
224
|
savePapersRegistry
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-YO44KBCM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WG57CLZX.js";
|
|
4
4
|
|
|
5
5
|
// src/security/audit-trail.ts
|
|
6
6
|
var MAX_EVENTS = 1e4;
|
|
@@ -214,4 +214,4 @@ export {
|
|
|
214
214
|
createGraphAuditBridge,
|
|
215
215
|
createAuditTrail
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
217
|
+
//# sourceMappingURL=chunk-ZAQ7TGE5.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YO44KBCM.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7LC7IAC6.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NAQZUL6T.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ok,
|
|
41
41
|
registerPersistentDistillerFactory,
|
|
42
42
|
sigmoidConfidence
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-WG57CLZX.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -187,15 +187,25 @@ var PersistentStrategyDistiller = class extends StrategyDistiller {
|
|
|
187
187
|
registerPersistentDistillerFactory(
|
|
188
188
|
(outcomeStore, logger) => new PersistentStrategyDistiller(outcomeStore, void 0, logger)
|
|
189
189
|
);
|
|
190
|
-
function loadPersistedRules(filePath = getRulesFile()) {
|
|
190
|
+
function loadPersistedRules(filePath = getRulesFile(), logger) {
|
|
191
191
|
if (!existsSync(filePath)) return [];
|
|
192
192
|
try {
|
|
193
193
|
const content = readFileSync(filePath, "utf-8");
|
|
194
194
|
const parsed = JSON.parse(content);
|
|
195
195
|
const result = RulesSnapshotSchema.safeParse(parsed);
|
|
196
|
-
if (!result.success)
|
|
196
|
+
if (!result.success) {
|
|
197
|
+
logger?.warn("Rules file failed validation; treating as no rules", {
|
|
198
|
+
path: filePath,
|
|
199
|
+
issues: result.error.issues.length
|
|
200
|
+
});
|
|
201
|
+
return [];
|
|
202
|
+
}
|
|
197
203
|
return result.data.rules.map((raw) => hydrateRule(raw, DEFAULT_DISTILLER_CONFIG).rule);
|
|
198
|
-
} catch {
|
|
204
|
+
} catch (error) {
|
|
205
|
+
logger?.warn("Rules file could not be read; treating as no rules", {
|
|
206
|
+
path: filePath,
|
|
207
|
+
error: error instanceof Error ? error.message : String(error)
|
|
208
|
+
});
|
|
199
209
|
return [];
|
|
200
210
|
}
|
|
201
211
|
}
|
|
@@ -3952,7 +3962,7 @@ async function getResearchInsightsForTask(task, limit, logger) {
|
|
|
3952
3962
|
}
|
|
3953
3963
|
function fetchPriorStrategies(category, limit, logger) {
|
|
3954
3964
|
try {
|
|
3955
|
-
const all = loadPersistedRules();
|
|
3965
|
+
const all = loadPersistedRules(void 0, logger);
|
|
3956
3966
|
return all.filter((r) => r.status === "active").filter((r) => r.category === category || r.category === "*").slice(0, limit);
|
|
3957
3967
|
} catch (error) {
|
|
3958
3968
|
logger.debug("ContextRetriever: prior-strategies fetch failed", {
|
|
@@ -4228,4 +4238,4 @@ export {
|
|
|
4228
4238
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4229
4239
|
getContextPromptPrefix
|
|
4230
4240
|
};
|
|
4231
|
-
//# sourceMappingURL=chunk-
|
|
4241
|
+
//# sourceMappingURL=chunk-ZYBVRWCQ.js.map
|