nexus-agents 8.89.1 → 8.89.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-YFTJDT7X.js → ast-rule-runner-AMZCLKRV.js} +3 -3
- package/dist/{child-mcp-config-4ELORIGD.js → child-mcp-config-7DSYI325.js} +2 -2
- package/dist/{chunk-UAUG7UEY.js → chunk-3IBALX36.js} +2 -2
- package/dist/{chunk-IF7GVPKD.js → chunk-3PQIIMHN.js} +2 -2
- package/dist/{chunk-DJKLTLT2.js → chunk-4IV25ZUM.js} +2 -2
- package/dist/{chunk-7SJL3BZB.js → chunk-5GZ4UN5F.js} +2 -2
- package/dist/{chunk-D6EQ454Z.js → chunk-5UCGVAEZ.js} +4 -4
- package/dist/{chunk-NJGU5D52.js → chunk-5XZCL7QT.js} +10 -10
- package/dist/{chunk-GNM4YDQA.js → chunk-6FFBX665.js} +2 -2
- package/dist/{chunk-7AP6YJM4.js → chunk-AXBEG6VW.js} +3 -3
- package/dist/{chunk-JMBBRHZS.js → chunk-BJXSG5YL.js} +4 -4
- package/dist/{chunk-JT6I3X3S.js → chunk-CG7OSI5P.js} +2 -2
- package/dist/{chunk-IBL26DXR.js → chunk-E6AJH4F4.js} +38 -37
- package/dist/{chunk-IBL26DXR.js.map → chunk-E6AJH4F4.js.map} +1 -1
- package/dist/{chunk-WGX2OXDY.js → chunk-EKZ6V7SE.js} +9 -7
- package/dist/chunk-EKZ6V7SE.js.map +1 -0
- package/dist/{chunk-RFUOEY6O.js → chunk-GXBXZCY7.js} +9 -9
- package/dist/{chunk-O456HC2T.js → chunk-GYQIIAVM.js} +3 -3
- package/dist/{chunk-CWFWLIZG.js → chunk-HLXXP3CS.js} +3 -3
- package/dist/{chunk-FG6BJ3QZ.js → chunk-ILA4UGXI.js} +2 -2
- package/dist/{chunk-HFONXAJI.js → chunk-JRZEB4OQ.js} +2 -2
- package/dist/{chunk-Z6TYHJ34.js → chunk-JYKRCQSU.js} +5 -5
- package/dist/{chunk-T3QVXJD7.js → chunk-JYZNPK62.js} +8 -8
- package/dist/{chunk-4K3WJ7KR.js → chunk-KQE7EFBF.js} +5 -5
- package/dist/{chunk-ZKR2UV2O.js → chunk-LFFXUHX3.js} +2 -2
- package/dist/{chunk-4VWPE2QB.js → chunk-LZNYQYDU.js} +2 -2
- package/dist/{chunk-W5DQ2NPP.js → chunk-NZN3SWSZ.js} +14 -6
- package/dist/chunk-NZN3SWSZ.js.map +1 -0
- package/dist/{chunk-IM5F6YML.js → chunk-PENEGF75.js} +2 -2
- package/dist/{chunk-FKCYKG6B.js → chunk-SCXCJSTT.js} +2 -2
- package/dist/{chunk-VQBPRW5D.js → chunk-TLFZPJOY.js} +4 -4
- package/dist/{chunk-R7JTOVK6.js → chunk-TRCYUQ4M.js} +2 -2
- package/dist/{chunk-BNY7OPWU.js → chunk-UDWZJY3V.js} +2 -2
- package/dist/{chunk-V7KPBMW3.js → chunk-VM4HZT3B.js} +4 -4
- package/dist/{chunk-PRM2R525.js → chunk-XJAGCUMD.js} +2 -2
- package/dist/{chunk-FXOD3W5M.js → chunk-XU2SJKFK.js} +2 -2
- package/dist/{chunk-GPOL7A3J.js → chunk-Z5VUMKF5.js} +3 -3
- package/dist/{chunk-VSLDUTMC.js → chunk-ZTTBGME2.js} +2 -2
- package/dist/{cli-circuit-breaker-OLBCD76Q.js → cli-circuit-breaker-MCQG3PQK.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +47 -47
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-R5OHT23F.js → composite-router-QAYCHEFG.js} +2 -2
- package/dist/{consensus-vote-CHJ26ZP5.js → consensus-vote-UHNEKOO7.js} +16 -16
- package/dist/{consensus-vote-types-ptxFNv55.d.ts → consensus-vote-types-DhmacUE7.d.ts} +12 -0
- package/dist/{context-retriever-C543ZSAK.js → context-retriever-UXQCDDRY.js} +8 -8
- package/dist/{doctor-deep-RDKE4IUJ.js → doctor-deep-QRLRDFM4.js} +3 -3
- package/dist/{doctor-live-QH6CAYXX.js → doctor-live-CUKBQSSH.js} +10 -10
- package/dist/{expert-bridge-QVGTBYJR.js → expert-bridge-ZG2IA3RJ.js} +4 -4
- package/dist/{factory-TYE4SYFG.js → factory-FPNYFKXU.js} +5 -5
- package/dist/{factory-3XP5YV5H.js → factory-RQEHJ4AW.js} +9 -9
- package/dist/{improvement-review-3ULJQSPW.js → improvement-review-N36SVUDG.js} +5 -5
- package/dist/index.d.ts +9 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-OJOLKRX5.js → init-opencode-4QECASK4.js} +5 -5
- package/dist/issue-triage-BIEZBWV2.js +16 -0
- package/dist/{pr-reviewer-helpers-PQVZGOMW.js → pr-reviewer-helpers-RK5IT4US.js} +4 -4
- package/dist/{registry-command-A4V5IY3H.js → registry-command-MBZFFDWS.js} +2 -2
- package/dist/{repo-security-plan-AEAGWV5B.js → repo-security-plan-W76YLC2M.js} +3 -3
- package/dist/{research-helpers-synthesize-5AZ5HFJA.js → research-helpers-synthesize-GI5JFAQM.js} +4 -4
- package/dist/{routing-memory-OGPJD5SV.js → routing-memory-WLCUOPDE.js} +2 -2
- package/dist/{session-memory-7C2PLBQ4.js → session-memory-HU3XMQEH.js} +3 -3
- package/dist/{setup-config-E33MS244.js → setup-config-XA756R2O.js} +3 -3
- package/dist/{setup-custom-api-75GT72XR.js → setup-custom-api-ETBGOE7O.js} +4 -4
- package/dist/setup-data-dir-UNM34FGW.js +32 -0
- package/dist/{tool-memory-RCFKUAVI.js → tool-memory-7XMQAQQM.js} +5 -5
- package/dist/{unified-registry-L7VBJHCY.js → unified-registry-LR4OCUFI.js} +10 -10
- package/dist/{weather-report-DT3QPADZ.js → weather-report-UYKQUSBB.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-W5DQ2NPP.js.map +0 -1
- package/dist/chunk-WGX2OXDY.js.map +0 -1
- package/dist/issue-triage-PHJ5W52G.js +0 -16
- package/dist/setup-data-dir-B4QPQKBS.js +0 -32
- /package/dist/{ast-rule-runner-YFTJDT7X.js.map → ast-rule-runner-AMZCLKRV.js.map} +0 -0
- /package/dist/{child-mcp-config-4ELORIGD.js.map → child-mcp-config-7DSYI325.js.map} +0 -0
- /package/dist/{chunk-UAUG7UEY.js.map → chunk-3IBALX36.js.map} +0 -0
- /package/dist/{chunk-IF7GVPKD.js.map → chunk-3PQIIMHN.js.map} +0 -0
- /package/dist/{chunk-DJKLTLT2.js.map → chunk-4IV25ZUM.js.map} +0 -0
- /package/dist/{chunk-7SJL3BZB.js.map → chunk-5GZ4UN5F.js.map} +0 -0
- /package/dist/{chunk-D6EQ454Z.js.map → chunk-5UCGVAEZ.js.map} +0 -0
- /package/dist/{chunk-NJGU5D52.js.map → chunk-5XZCL7QT.js.map} +0 -0
- /package/dist/{chunk-GNM4YDQA.js.map → chunk-6FFBX665.js.map} +0 -0
- /package/dist/{chunk-7AP6YJM4.js.map → chunk-AXBEG6VW.js.map} +0 -0
- /package/dist/{chunk-JMBBRHZS.js.map → chunk-BJXSG5YL.js.map} +0 -0
- /package/dist/{chunk-JT6I3X3S.js.map → chunk-CG7OSI5P.js.map} +0 -0
- /package/dist/{chunk-RFUOEY6O.js.map → chunk-GXBXZCY7.js.map} +0 -0
- /package/dist/{chunk-O456HC2T.js.map → chunk-GYQIIAVM.js.map} +0 -0
- /package/dist/{chunk-CWFWLIZG.js.map → chunk-HLXXP3CS.js.map} +0 -0
- /package/dist/{chunk-FG6BJ3QZ.js.map → chunk-ILA4UGXI.js.map} +0 -0
- /package/dist/{chunk-HFONXAJI.js.map → chunk-JRZEB4OQ.js.map} +0 -0
- /package/dist/{chunk-Z6TYHJ34.js.map → chunk-JYKRCQSU.js.map} +0 -0
- /package/dist/{chunk-T3QVXJD7.js.map → chunk-JYZNPK62.js.map} +0 -0
- /package/dist/{chunk-4K3WJ7KR.js.map → chunk-KQE7EFBF.js.map} +0 -0
- /package/dist/{chunk-ZKR2UV2O.js.map → chunk-LFFXUHX3.js.map} +0 -0
- /package/dist/{chunk-4VWPE2QB.js.map → chunk-LZNYQYDU.js.map} +0 -0
- /package/dist/{chunk-IM5F6YML.js.map → chunk-PENEGF75.js.map} +0 -0
- /package/dist/{chunk-FKCYKG6B.js.map → chunk-SCXCJSTT.js.map} +0 -0
- /package/dist/{chunk-VQBPRW5D.js.map → chunk-TLFZPJOY.js.map} +0 -0
- /package/dist/{chunk-R7JTOVK6.js.map → chunk-TRCYUQ4M.js.map} +0 -0
- /package/dist/{chunk-BNY7OPWU.js.map → chunk-UDWZJY3V.js.map} +0 -0
- /package/dist/{chunk-V7KPBMW3.js.map → chunk-VM4HZT3B.js.map} +0 -0
- /package/dist/{chunk-PRM2R525.js.map → chunk-XJAGCUMD.js.map} +0 -0
- /package/dist/{chunk-FXOD3W5M.js.map → chunk-XU2SJKFK.js.map} +0 -0
- /package/dist/{chunk-GPOL7A3J.js.map → chunk-Z5VUMKF5.js.map} +0 -0
- /package/dist/{chunk-VSLDUTMC.js.map → chunk-ZTTBGME2.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-OLBCD76Q.js.map → cli-circuit-breaker-MCQG3PQK.js.map} +0 -0
- /package/dist/{composite-router-R5OHT23F.js.map → composite-router-QAYCHEFG.js.map} +0 -0
- /package/dist/{consensus-vote-CHJ26ZP5.js.map → consensus-vote-UHNEKOO7.js.map} +0 -0
- /package/dist/{context-retriever-C543ZSAK.js.map → context-retriever-UXQCDDRY.js.map} +0 -0
- /package/dist/{doctor-deep-RDKE4IUJ.js.map → doctor-deep-QRLRDFM4.js.map} +0 -0
- /package/dist/{doctor-live-QH6CAYXX.js.map → doctor-live-CUKBQSSH.js.map} +0 -0
- /package/dist/{expert-bridge-QVGTBYJR.js.map → expert-bridge-ZG2IA3RJ.js.map} +0 -0
- /package/dist/{factory-3XP5YV5H.js.map → factory-FPNYFKXU.js.map} +0 -0
- /package/dist/{factory-TYE4SYFG.js.map → factory-RQEHJ4AW.js.map} +0 -0
- /package/dist/{improvement-review-3ULJQSPW.js.map → improvement-review-N36SVUDG.js.map} +0 -0
- /package/dist/{init-opencode-OJOLKRX5.js.map → init-opencode-4QECASK4.js.map} +0 -0
- /package/dist/{issue-triage-PHJ5W52G.js.map → issue-triage-BIEZBWV2.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-PQVZGOMW.js.map → pr-reviewer-helpers-RK5IT4US.js.map} +0 -0
- /package/dist/{registry-command-A4V5IY3H.js.map → registry-command-MBZFFDWS.js.map} +0 -0
- /package/dist/{repo-security-plan-AEAGWV5B.js.map → repo-security-plan-W76YLC2M.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-5AZ5HFJA.js.map → research-helpers-synthesize-GI5JFAQM.js.map} +0 -0
- /package/dist/{routing-memory-OGPJD5SV.js.map → routing-memory-WLCUOPDE.js.map} +0 -0
- /package/dist/{session-memory-7C2PLBQ4.js.map → session-memory-HU3XMQEH.js.map} +0 -0
- /package/dist/{setup-config-E33MS244.js.map → setup-config-XA756R2O.js.map} +0 -0
- /package/dist/{setup-custom-api-75GT72XR.js.map → setup-custom-api-ETBGOE7O.js.map} +0 -0
- /package/dist/{setup-data-dir-B4QPQKBS.js.map → setup-data-dir-UNM34FGW.js.map} +0 -0
- /package/dist/{tool-memory-RCFKUAVI.js.map → tool-memory-7XMQAQQM.js.map} +0 -0
- /package/dist/{unified-registry-L7VBJHCY.js.map → unified-registry-LR4OCUFI.js.map} +0 -0
- /package/dist/{weather-report-DT3QPADZ.js.map → weather-report-UYKQUSBB.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-PENEGF75.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NZN3SWSZ.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-SCXCJSTT.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JYZNPK62.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XU2SJKFK.js";
|
|
8
8
|
import {
|
|
9
9
|
CircularBuffer,
|
|
10
10
|
ConfigError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
resolveModelIdentitySync,
|
|
29
29
|
toRateLimitError,
|
|
30
30
|
warnIfGatewayCostUndeclared
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
32
32
|
|
|
33
33
|
// src/config/model-equivalence.ts
|
|
34
34
|
function canonicalModelKey(modelId) {
|
|
@@ -975,4 +975,4 @@ export {
|
|
|
975
975
|
getGlobalRegistry,
|
|
976
976
|
resetGlobalRegistry
|
|
977
977
|
};
|
|
978
|
-
//# sourceMappingURL=chunk-
|
|
978
|
+
//# sourceMappingURL=chunk-TLFZPJOY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveClassGuardMs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/cli-readiness.ts
|
|
6
6
|
var READINESS_LEVELS = ["installed", "authenticated", "serves"];
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
SERVES_PROBE_PROMPT,
|
|
91
91
|
probeServes
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-TRCYUQ4M.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-UDWZJY3V.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-ILA4UGXI.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-MUJCGBZW.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4IV25ZUM.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-NZN3SWSZ.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-LWOX65CP.js";
|
|
@@ -5768,4 +5768,4 @@ export {
|
|
|
5768
5768
|
shutdownToolMemory,
|
|
5769
5769
|
ToolMemoryManager
|
|
5770
5770
|
};
|
|
5771
|
-
//# sourceMappingURL=chunk-
|
|
5771
|
+
//# sourceMappingURL=chunk-VM4HZT3B.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
MCP_TIMEOUTS,
|
|
9
9
|
TEST_TIMEOUTS,
|
|
10
10
|
WORKFLOW_TIMEOUTS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
12
12
|
import {
|
|
13
13
|
createGetToolRateLimit
|
|
14
14
|
} from "./chunk-LWOX65CP.js";
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
CUSTOM_API_DEFAULT_MODEL,
|
|
224
224
|
DEFAULTS
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-XJAGCUMD.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isRateLimitText,
|
|
11
11
|
observedArmDisplaySlot,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
14
14
|
|
|
15
15
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
16
16
|
var CircuitErrorCode = {
|
|
@@ -592,4 +592,4 @@ export {
|
|
|
592
592
|
CliCircuitBreakerIntegration,
|
|
593
593
|
createCliCircuitBreakerIntegration
|
|
594
594
|
};
|
|
595
|
-
//# sourceMappingURL=chunk-
|
|
595
|
+
//# sourceMappingURL=chunk-XU2SJKFK.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CG7OSI5P.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-Z5VUMKF5.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NZN3SWSZ.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-ZTTBGME2.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
createCliCircuitBreakerIntegration,
|
|
4
4
|
getCliCircuitBreakerSnapshot,
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-XU2SJKFK.js";
|
|
7
|
+
import "./chunk-NZN3SWSZ.js";
|
|
8
8
|
import "./chunk-UE7A2XHM.js";
|
|
9
9
|
import "./chunk-LWOX65CP.js";
|
|
10
10
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getCliCircuitBreakerSnapshot,
|
|
15
15
|
getDefaultCliCircuitBreakerRegistry
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
17
|
+
//# sourceMappingURL=cli-circuit-breaker-MCQG3PQK.js.map
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as CliNameLiteral, a6 as VoteThreshold, B as VotingStrategy, F as ErrorPolicy, a7 as NoQuorumPolicy } from './consensus-vote-types-
|
|
2
|
+
import { C as CliNameLiteral, a6 as VoteThreshold, B as VotingStrategy, F as ErrorPolicy, a7 as NoQuorumPolicy } from './consensus-vote-types-DhmacUE7.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/cli.js
CHANGED
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
parseExpertReview,
|
|
24
24
|
reviewPostingBlock,
|
|
25
25
|
sumFindings
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-AXBEG6VW.js";
|
|
27
|
+
import "./chunk-3PQIIMHN.js";
|
|
28
28
|
import {
|
|
29
29
|
runConfigInitSync
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PENEGF75.js";
|
|
31
31
|
import {
|
|
32
32
|
AuthHandler,
|
|
33
33
|
CustomExpertDefinitionSchema,
|
|
@@ -155,11 +155,11 @@ import {
|
|
|
155
155
|
validateNexusEnv,
|
|
156
156
|
validateWorkflow,
|
|
157
157
|
wrapInMarkdownFence
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-
|
|
158
|
+
} from "./chunk-E6AJH4F4.js";
|
|
159
|
+
import "./chunk-3IBALX36.js";
|
|
160
160
|
import "./chunk-4GDMHCKX.js";
|
|
161
161
|
import "./chunk-7ETWTSTB.js";
|
|
162
|
-
import "./chunk-
|
|
162
|
+
import "./chunk-LFFXUHX3.js";
|
|
163
163
|
import {
|
|
164
164
|
CATEGORY_DISPLAY_NAMES,
|
|
165
165
|
DEFAULT_PR_REVIEW_CONFIG
|
|
@@ -175,11 +175,11 @@ import {
|
|
|
175
175
|
doctorCommand,
|
|
176
176
|
initDataDirectories,
|
|
177
177
|
runDoctor
|
|
178
|
-
} from "./chunk-
|
|
179
|
-
import "./chunk-
|
|
178
|
+
} from "./chunk-5XZCL7QT.js";
|
|
179
|
+
import "./chunk-TRCYUQ4M.js";
|
|
180
180
|
import {
|
|
181
181
|
shutdownExpertBridge
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-EKZ6V7SE.js";
|
|
183
183
|
import {
|
|
184
184
|
ConsensusVoteInputSchema,
|
|
185
185
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -197,19 +197,19 @@ import {
|
|
|
197
197
|
registerConsensusVoteTool,
|
|
198
198
|
seatFallbacks,
|
|
199
199
|
toRecordDecision
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-GXBXZCY7.js";
|
|
201
201
|
import {
|
|
202
202
|
buildOpenAICompatAdapters,
|
|
203
203
|
readOpenAICompatEndpoint,
|
|
204
204
|
readOpenAICompatEnv
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-BJXSG5YL.js";
|
|
206
206
|
import {
|
|
207
207
|
allOf,
|
|
208
208
|
anyOf
|
|
209
209
|
} from "./chunk-OQB3XC5O.js";
|
|
210
210
|
import {
|
|
211
211
|
synthesizeResearch
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-Z5VUMKF5.js";
|
|
213
213
|
import {
|
|
214
214
|
DRAFT_REPLY_BODY_MAX_LENGTH,
|
|
215
215
|
configureUntrustedInputFirewall,
|
|
@@ -220,12 +220,12 @@ import {
|
|
|
220
220
|
runUntrustedInputFirewall,
|
|
221
221
|
validateActionCorroboration,
|
|
222
222
|
validateAgentAction
|
|
223
|
-
} from "./chunk-
|
|
224
|
-
import "./chunk-
|
|
223
|
+
} from "./chunk-JYKRCQSU.js";
|
|
224
|
+
import "./chunk-SCXCJSTT.js";
|
|
225
225
|
import {
|
|
226
226
|
ReputationCache,
|
|
227
227
|
sanitizeInput
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-5GZ4UN5F.js";
|
|
229
229
|
import {
|
|
230
230
|
ImprovementReviewInputSchema,
|
|
231
231
|
calculateFitnessScore,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
registerImprovementReviewTool,
|
|
240
240
|
runImprovementReview,
|
|
241
241
|
scanForSecrets
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-HLXXP3CS.js";
|
|
243
243
|
import {
|
|
244
244
|
createDefaultPolicyFirewall,
|
|
245
245
|
formatPolicyRolloutMode,
|
|
@@ -249,17 +249,17 @@ import {
|
|
|
249
249
|
setGlobalPolicyFirewall,
|
|
250
250
|
setSecureHandlerAuditLogger,
|
|
251
251
|
stagePolicyFirewallForRollout
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-GYQIIAVM.js";
|
|
253
253
|
import {
|
|
254
254
|
NODE_ENGINE_RANGE,
|
|
255
255
|
VERSION,
|
|
256
256
|
isNodeVersionSupported
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-JRZEB4OQ.js";
|
|
258
258
|
import {
|
|
259
259
|
claimGlobalRegistry,
|
|
260
260
|
createUnifiedRegistry,
|
|
261
261
|
getGlobalRegistry
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-TLFZPJOY.js";
|
|
263
263
|
import {
|
|
264
264
|
CodebaseIndexSchema,
|
|
265
265
|
PaperStatusSchema,
|
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
loadSourcesRegistry,
|
|
286
286
|
rankDiscoveredItems,
|
|
287
287
|
saveSourcesRegistry
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-KQE7EFBF.js";
|
|
289
289
|
import {
|
|
290
290
|
getTsMorph
|
|
291
291
|
} from "./chunk-W654ME6B.js";
|
|
@@ -293,21 +293,21 @@ import {
|
|
|
293
293
|
loadPapersRegistry,
|
|
294
294
|
loadTechniquesRegistry,
|
|
295
295
|
savePapersRegistry
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-CG7OSI5P.js";
|
|
297
297
|
import {
|
|
298
298
|
resolveToken
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-UDWZJY3V.js";
|
|
300
300
|
import {
|
|
301
301
|
MemoryError,
|
|
302
302
|
configureToolMemory,
|
|
303
303
|
shutdownToolMemory
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-VM4HZT3B.js";
|
|
305
305
|
import {
|
|
306
306
|
capitalize,
|
|
307
307
|
capitalizeKebab,
|
|
308
308
|
truncateText
|
|
309
309
|
} from "./chunk-7LP6VJRP.js";
|
|
310
|
-
import "./chunk-
|
|
310
|
+
import "./chunk-ILA4UGXI.js";
|
|
311
311
|
import {
|
|
312
312
|
BUILT_IN_EXPERTS
|
|
313
313
|
} from "./chunk-AHI43IQB.js";
|
|
@@ -321,30 +321,30 @@ import {
|
|
|
321
321
|
probeAllClis,
|
|
322
322
|
readSubprocessDepth,
|
|
323
323
|
safeJsonParse
|
|
324
|
-
} from "./chunk-
|
|
325
|
-
import "./chunk-
|
|
324
|
+
} from "./chunk-JYZNPK62.js";
|
|
325
|
+
import "./chunk-ZTTBGME2.js";
|
|
326
326
|
import {
|
|
327
327
|
DEFAULTS
|
|
328
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-XJAGCUMD.js";
|
|
329
329
|
import {
|
|
330
330
|
hostnameOf,
|
|
331
331
|
warnDeprecatedGatewayEnvOnce
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-LZNYQYDU.js";
|
|
333
333
|
import {
|
|
334
334
|
getNexusTmpDir,
|
|
335
335
|
nexusMkdtempSync
|
|
336
336
|
} from "./chunk-OITVVSWO.js";
|
|
337
|
-
import "./chunk-
|
|
337
|
+
import "./chunk-6FFBX665.js";
|
|
338
338
|
import "./chunk-2NDA4DHW.js";
|
|
339
339
|
import {
|
|
340
340
|
DEFAULT_EXECUTION_MODE
|
|
341
341
|
} from "./chunk-ECJ52NSK.js";
|
|
342
342
|
import "./chunk-QZUG667L.js";
|
|
343
|
-
import "./chunk-
|
|
343
|
+
import "./chunk-4IV25ZUM.js";
|
|
344
344
|
import {
|
|
345
345
|
getDefaultCliCircuitBreakerRegistry,
|
|
346
346
|
mapModelErrorToCategory
|
|
347
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-XU2SJKFK.js";
|
|
348
348
|
import {
|
|
349
349
|
API_TIMEOUTS,
|
|
350
350
|
AgentCapability,
|
|
@@ -440,7 +440,7 @@ import {
|
|
|
440
440
|
validateTimeout,
|
|
441
441
|
writeEmptyLine,
|
|
442
442
|
writeLine
|
|
443
|
-
} from "./chunk-
|
|
443
|
+
} from "./chunk-NZN3SWSZ.js";
|
|
444
444
|
import "./chunk-UE7A2XHM.js";
|
|
445
445
|
import {
|
|
446
446
|
applyPortableMode,
|
|
@@ -4537,7 +4537,7 @@ Provide a structured review with:
|
|
|
4537
4537
|
* (Source: Issue #828 — Wire policy gate into production pipeline)
|
|
4538
4538
|
*/
|
|
4539
4539
|
async postReviewToGitHub(provider, pr, result, context) {
|
|
4540
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4540
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-RK5IT4US.js");
|
|
4541
4541
|
const formattedBody = formatReviewComment2(result);
|
|
4542
4542
|
const body = truncateText(formattedBody, DRAFT_REPLY_BODY_MAX_LENGTH, "\u2026[review truncated]");
|
|
4543
4543
|
const sources = buildReviewCitations(pr.files);
|
|
@@ -5859,20 +5859,20 @@ var logger10 = createLogger({ component: "orchestrate-outcome" });
|
|
|
5859
5859
|
function attributionOf(result) {
|
|
5860
5860
|
const side = result.ok ? result.value : result.error;
|
|
5861
5861
|
return {
|
|
5862
|
-
|
|
5862
|
+
routedArm: side.routedArm ?? side.routedCli,
|
|
5863
5863
|
routedDurationMs: side.routedDurationMs,
|
|
5864
5864
|
error: result.ok ? void 0 : result.error.message
|
|
5865
5865
|
};
|
|
5866
5866
|
}
|
|
5867
5867
|
function recordRoutedOrchestrateOutcome(taskContent, result) {
|
|
5868
|
-
const {
|
|
5869
|
-
if (
|
|
5868
|
+
const { routedArm, routedDurationMs, error } = attributionOf(result);
|
|
5869
|
+
if (routedArm === void 0 || routedDurationMs === void 0) {
|
|
5870
5870
|
logger10.debug("No routed arm on the result; no outcome recorded");
|
|
5871
5871
|
return;
|
|
5872
5872
|
}
|
|
5873
5873
|
const category = detectTaskCategory(taskContent)?.category;
|
|
5874
5874
|
if (category === void 0) {
|
|
5875
|
-
logger10.debug("Task category not detected; routed outcome not persisted", {
|
|
5875
|
+
logger10.debug("Task category not detected; routed outcome not persisted", { routedArm });
|
|
5876
5876
|
return;
|
|
5877
5877
|
}
|
|
5878
5878
|
try {
|
|
@@ -5880,7 +5880,7 @@ function recordRoutedOrchestrateOutcome(taskContent, result) {
|
|
|
5880
5880
|
const suffix = getRandomProvider().random().toString(36).slice(2, 8);
|
|
5881
5881
|
getOutcomeStore().append({
|
|
5882
5882
|
id: `orchestrate-cli-${String(nowMs)}-${suffix}`,
|
|
5883
|
-
cli:
|
|
5883
|
+
cli: routedArm,
|
|
5884
5884
|
routedBy: "composite-router",
|
|
5885
5885
|
category,
|
|
5886
5886
|
model: "orchestrate-cli",
|
|
@@ -12277,7 +12277,7 @@ function probeGrammars(register, parse6, probes = GRAMMAR_PROBES) {
|
|
|
12277
12277
|
}
|
|
12278
12278
|
async function loadGrammarModules() {
|
|
12279
12279
|
const [{ ensurePolyglotLangs }, napi] = await Promise.all([
|
|
12280
|
-
import("./ast-rule-runner-
|
|
12280
|
+
import("./ast-rule-runner-AMZCLKRV.js"),
|
|
12281
12281
|
import("@ast-grep/napi")
|
|
12282
12282
|
]);
|
|
12283
12283
|
return { register: ensurePolyglotLangs, parse: napi.parse };
|
|
@@ -19877,7 +19877,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19877
19877
|
let running = false;
|
|
19878
19878
|
const runOnce = async () => {
|
|
19879
19879
|
try {
|
|
19880
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19880
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-N36SVUDG.js");
|
|
19881
19881
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19882
19882
|
const result = await runImprovementReview2(input, { logger: logger23 });
|
|
19883
19883
|
logger23.info("Scheduled improvement_review complete", {
|
|
@@ -22171,7 +22171,7 @@ function adaptConfigToLibrary(config) {
|
|
|
22171
22171
|
}
|
|
22172
22172
|
function createBeliefPromoter() {
|
|
22173
22173
|
return async (event) => {
|
|
22174
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
22174
|
+
const { getToolMemory } = await import("./tool-memory-7XMQAQQM.js");
|
|
22175
22175
|
const tm = getToolMemory();
|
|
22176
22176
|
await tm.recordBelief(
|
|
22177
22177
|
`skill:${event.name}`,
|
|
@@ -23402,7 +23402,7 @@ async function handleResearchCommand(args) {
|
|
|
23402
23402
|
}
|
|
23403
23403
|
}
|
|
23404
23404
|
async function handleRegistryCommand(args) {
|
|
23405
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
23405
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-MBZFFDWS.js");
|
|
23406
23406
|
const subcommand = args.subcommand;
|
|
23407
23407
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
23408
23408
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -23450,12 +23450,12 @@ async function handleVerifyCommand(args) {
|
|
|
23450
23450
|
async function handleDoctorCommand(args) {
|
|
23451
23451
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
23452
23452
|
if (args.options.deep) {
|
|
23453
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
23453
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-QRLRDFM4.js");
|
|
23454
23454
|
const diag = runDeepDiagnostics2();
|
|
23455
23455
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
23456
23456
|
}
|
|
23457
23457
|
if (args.options.live) {
|
|
23458
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
23458
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-CUKBQSSH.js");
|
|
23459
23459
|
const report = await runLiveReadiness();
|
|
23460
23460
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
23461
23461
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -24188,7 +24188,7 @@ async function runInitPortableFlow(args) {
|
|
|
24188
24188
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
24189
24189
|
}
|
|
24190
24190
|
async function runInitOpencodeFlow(args) {
|
|
24191
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
24191
|
+
const { runInitOpencode } = await import("./init-opencode-4QECASK4.js");
|
|
24192
24192
|
const opencodePath = args.options.opencode;
|
|
24193
24193
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
24194
24194
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -24214,7 +24214,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
24214
24214
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
24215
24215
|
}
|
|
24216
24216
|
async function renderOpencodeValidate(opencodePath) {
|
|
24217
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
24217
|
+
const { runOpencodeValidate } = await import("./init-opencode-4QECASK4.js");
|
|
24218
24218
|
const result = await runOpencodeValidate(opencodePath);
|
|
24219
24219
|
if (!result.ok) {
|
|
24220
24220
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -24253,7 +24253,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
24253
24253
|
return cliExitFromStatus(exitCode);
|
|
24254
24254
|
}
|
|
24255
24255
|
async function runCustomApiSetup(args) {
|
|
24256
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
24256
|
+
const { configureCustomApi } = await import("./setup-custom-api-ETBGOE7O.js");
|
|
24257
24257
|
const baseUrl = args.options.customApi;
|
|
24258
24258
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
24259
24259
|
const input = {
|