nexus-agents 5.0.3 → 5.0.5
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-2EXF74GZ.js → child-mcp-config-PIZSE56V.js} +2 -2
- package/dist/{chunk-KYOVZ2QZ.js → chunk-2I5BBD6U.js} +5 -5
- package/dist/{chunk-26PZ2652.js → chunk-326RCKE2.js} +46 -41
- package/dist/{chunk-26PZ2652.js.map → chunk-326RCKE2.js.map} +1 -1
- package/dist/{chunk-WTQEMR7D.js → chunk-5MQPSHIG.js} +7 -7
- package/dist/{chunk-SOKS6XK2.js → chunk-5VP6WPEI.js} +2 -2
- package/dist/{chunk-AVYTX7JQ.js → chunk-6OPLDOJG.js} +3 -3
- package/dist/{chunk-SZ6J4YY7.js → chunk-AS4B7KCT.js} +2 -2
- package/dist/{chunk-7TXO7LYE.js → chunk-BGGS3PH2.js} +2 -2
- package/dist/{chunk-Y4XI4RIB.js → chunk-F67CLL5B.js} +2 -2
- package/dist/{chunk-KG752W6G.js → chunk-FDWB4PUV.js} +2 -2
- package/dist/{chunk-C2LEM7RD.js → chunk-FU45UMX5.js} +2 -2
- package/dist/{chunk-3IDYJL2Y.js → chunk-FWBR6DZO.js} +2 -2
- package/dist/{chunk-77VDRUFK.js → chunk-GFDE5IAZ.js} +3 -3
- package/dist/{chunk-VRJJGXUE.js → chunk-GSK2JRVW.js} +8 -8
- package/dist/{chunk-KQPEECXT.js → chunk-GTMJPNPR.js} +2 -2
- package/dist/{chunk-OLCMDKQE.js → chunk-IJLWQ4Y3.js} +7 -7
- package/dist/{chunk-W7ITYRY2.js → chunk-JOY5IRVR.js} +2 -2
- package/dist/{chunk-AKOBOCUB.js → chunk-K4OBRS4D.js} +2 -2
- package/dist/{chunk-FWP5FZ7V.js → chunk-NDVKXAK5.js} +2 -2
- package/dist/{chunk-Q225TVYP.js → chunk-OCFY37TZ.js} +16 -2
- package/dist/chunk-OCFY37TZ.js.map +1 -0
- package/dist/{chunk-ZSNWRX2B.js → chunk-OOGKQTDN.js} +2 -2
- package/dist/{chunk-VS2DUTJ5.js → chunk-P7IHQSCC.js} +18 -4
- package/dist/chunk-P7IHQSCC.js.map +1 -0
- package/dist/{chunk-WIYDV6ZY.js → chunk-Q36RQS7J.js} +3 -3
- package/dist/{chunk-VZM7YQZL.js → chunk-R66FJKP4.js} +5 -5
- package/dist/{chunk-2P6GBKUN.js → chunk-ROCFIXAK.js} +2 -2
- package/dist/{chunk-EQRCOUJJ.js → chunk-SY54YKTT.js} +2 -2
- package/dist/{chunk-AU6N4HZR.js → chunk-T2KKAZTB.js} +3 -3
- package/dist/{chunk-OKS6I7T7.js → chunk-TC2QG4U3.js} +4 -4
- package/dist/{chunk-VHB3L7H7.js → chunk-TIOXRJK3.js} +2 -2
- package/dist/{chunk-XIWGJBVE.js → chunk-VX6VNBCU.js} +4 -4
- package/dist/chunk-XUTX54BU.js +7 -0
- package/dist/{chunk-FTIJ4V4A.js → chunk-YZN2UFYB.js} +8 -8
- package/dist/{chunk-O6TCROTE.js → chunk-ZSVUZOMQ.js} +4 -4
- package/dist/{chunk-QNF6NAQ3.js → chunk-ZXTOZ7B3.js} +6 -6
- package/dist/{cli-circuit-breaker-UFQZZVAB.js → cli-circuit-breaker-YEQKBXCN.js} +3 -3
- package/dist/cli.js +47 -45
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-KL7ZLCJY.js → composite-router-7D45ZSSG.js} +2 -2
- package/dist/{consensus-vote-3PGPRVOV.js → consensus-vote-AONDO26T.js} +17 -17
- package/dist/{context-retriever-GJL6HFJK.js → context-retriever-3R3BWMEW.js} +8 -8
- package/dist/{doctor-deep-XEJ7JXQI.js → doctor-deep-ECI74ALB.js} +3 -3
- package/dist/{doctor-live-4VAU6HLF.js → doctor-live-OBEZKBNU.js} +9 -9
- package/dist/{expert-bridge-VYB4C7C5.js → expert-bridge-XIFIEXQM.js} +4 -4
- package/dist/{factory-YYGHDTUN.js → factory-2TN6OVWR.js} +5 -5
- package/dist/{factory-S5K2EIKH.js → factory-3T6NTUDH.js} +9 -9
- package/dist/{improvement-review-NVIZXYSX.js → improvement-review-4KMYPNSZ.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/{init-opencode-5PUDYNKQ.js → init-opencode-SIT4DIQ4.js} +6 -6
- package/dist/issue-triage-42TGOOZX.js +17 -0
- package/dist/{pr-reviewer-helpers-4YANH63K.js → pr-reviewer-helpers-NL7YXDAO.js} +4 -4
- package/dist/{registry-command-KZDEZNUE.js → registry-command-UBUAESO2.js} +2 -2
- package/dist/{repo-security-plan-7N2BVFFF.js → repo-security-plan-MK3OFGIC.js} +3 -3
- package/dist/{research-helpers-synthesize-FCXEDCUC.js → research-helpers-synthesize-UZGA2H5E.js} +4 -4
- package/dist/{routing-memory-NZZHHDN6.js → routing-memory-GSOJXKYR.js} +2 -2
- package/dist/{session-memory-OV55DW3U.js → session-memory-QK544BZF.js} +3 -3
- package/dist/{setup-config-WFHZTYAU.js → setup-config-AXDZQQZD.js} +3 -3
- package/dist/{setup-custom-api-5V5IQUMA.js → setup-custom-api-JNLX5DPO.js} +4 -4
- package/dist/setup-data-dir-PIT5H2S6.js +29 -0
- package/dist/{tool-memory-NJ5B3U27.js → tool-memory-DYW3QKJZ.js} +5 -5
- package/dist/{unified-registry-YBGPLXH3.js → unified-registry-ZRG3SO3X.js} +10 -10
- package/dist/{weather-report-U626M3HS.js → weather-report-JQGPC6ZC.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-Q225TVYP.js.map +0 -1
- package/dist/chunk-RXJHAUJY.js +0 -7
- package/dist/chunk-VS2DUTJ5.js.map +0 -1
- package/dist/issue-triage-5ZFQWQ3W.js +0 -17
- package/dist/setup-data-dir-YJU7MPS5.js +0 -29
- /package/dist/{child-mcp-config-2EXF74GZ.js.map → child-mcp-config-PIZSE56V.js.map} +0 -0
- /package/dist/{chunk-KYOVZ2QZ.js.map → chunk-2I5BBD6U.js.map} +0 -0
- /package/dist/{chunk-WTQEMR7D.js.map → chunk-5MQPSHIG.js.map} +0 -0
- /package/dist/{chunk-SOKS6XK2.js.map → chunk-5VP6WPEI.js.map} +0 -0
- /package/dist/{chunk-AVYTX7JQ.js.map → chunk-6OPLDOJG.js.map} +0 -0
- /package/dist/{chunk-SZ6J4YY7.js.map → chunk-AS4B7KCT.js.map} +0 -0
- /package/dist/{chunk-7TXO7LYE.js.map → chunk-BGGS3PH2.js.map} +0 -0
- /package/dist/{chunk-Y4XI4RIB.js.map → chunk-F67CLL5B.js.map} +0 -0
- /package/dist/{chunk-KG752W6G.js.map → chunk-FDWB4PUV.js.map} +0 -0
- /package/dist/{chunk-C2LEM7RD.js.map → chunk-FU45UMX5.js.map} +0 -0
- /package/dist/{chunk-3IDYJL2Y.js.map → chunk-FWBR6DZO.js.map} +0 -0
- /package/dist/{chunk-77VDRUFK.js.map → chunk-GFDE5IAZ.js.map} +0 -0
- /package/dist/{chunk-VRJJGXUE.js.map → chunk-GSK2JRVW.js.map} +0 -0
- /package/dist/{chunk-KQPEECXT.js.map → chunk-GTMJPNPR.js.map} +0 -0
- /package/dist/{chunk-OLCMDKQE.js.map → chunk-IJLWQ4Y3.js.map} +0 -0
- /package/dist/{chunk-W7ITYRY2.js.map → chunk-JOY5IRVR.js.map} +0 -0
- /package/dist/{chunk-AKOBOCUB.js.map → chunk-K4OBRS4D.js.map} +0 -0
- /package/dist/{chunk-FWP5FZ7V.js.map → chunk-NDVKXAK5.js.map} +0 -0
- /package/dist/{chunk-ZSNWRX2B.js.map → chunk-OOGKQTDN.js.map} +0 -0
- /package/dist/{chunk-WIYDV6ZY.js.map → chunk-Q36RQS7J.js.map} +0 -0
- /package/dist/{chunk-VZM7YQZL.js.map → chunk-R66FJKP4.js.map} +0 -0
- /package/dist/{chunk-2P6GBKUN.js.map → chunk-ROCFIXAK.js.map} +0 -0
- /package/dist/{chunk-EQRCOUJJ.js.map → chunk-SY54YKTT.js.map} +0 -0
- /package/dist/{chunk-AU6N4HZR.js.map → chunk-T2KKAZTB.js.map} +0 -0
- /package/dist/{chunk-OKS6I7T7.js.map → chunk-TC2QG4U3.js.map} +0 -0
- /package/dist/{chunk-VHB3L7H7.js.map → chunk-TIOXRJK3.js.map} +0 -0
- /package/dist/{chunk-XIWGJBVE.js.map → chunk-VX6VNBCU.js.map} +0 -0
- /package/dist/{chunk-RXJHAUJY.js.map → chunk-XUTX54BU.js.map} +0 -0
- /package/dist/{chunk-FTIJ4V4A.js.map → chunk-YZN2UFYB.js.map} +0 -0
- /package/dist/{chunk-O6TCROTE.js.map → chunk-ZSVUZOMQ.js.map} +0 -0
- /package/dist/{chunk-QNF6NAQ3.js.map → chunk-ZXTOZ7B3.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-UFQZZVAB.js.map → cli-circuit-breaker-YEQKBXCN.js.map} +0 -0
- /package/dist/{composite-router-KL7ZLCJY.js.map → composite-router-7D45ZSSG.js.map} +0 -0
- /package/dist/{consensus-vote-3PGPRVOV.js.map → consensus-vote-AONDO26T.js.map} +0 -0
- /package/dist/{context-retriever-GJL6HFJK.js.map → context-retriever-3R3BWMEW.js.map} +0 -0
- /package/dist/{doctor-deep-XEJ7JXQI.js.map → doctor-deep-ECI74ALB.js.map} +0 -0
- /package/dist/{doctor-live-4VAU6HLF.js.map → doctor-live-OBEZKBNU.js.map} +0 -0
- /package/dist/{expert-bridge-VYB4C7C5.js.map → expert-bridge-XIFIEXQM.js.map} +0 -0
- /package/dist/{factory-S5K2EIKH.js.map → factory-2TN6OVWR.js.map} +0 -0
- /package/dist/{factory-YYGHDTUN.js.map → factory-3T6NTUDH.js.map} +0 -0
- /package/dist/{improvement-review-NVIZXYSX.js.map → improvement-review-4KMYPNSZ.js.map} +0 -0
- /package/dist/{init-opencode-5PUDYNKQ.js.map → init-opencode-SIT4DIQ4.js.map} +0 -0
- /package/dist/{issue-triage-5ZFQWQ3W.js.map → issue-triage-42TGOOZX.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-4YANH63K.js.map → pr-reviewer-helpers-NL7YXDAO.js.map} +0 -0
- /package/dist/{registry-command-KZDEZNUE.js.map → registry-command-UBUAESO2.js.map} +0 -0
- /package/dist/{repo-security-plan-7N2BVFFF.js.map → repo-security-plan-MK3OFGIC.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-FCXEDCUC.js.map → research-helpers-synthesize-UZGA2H5E.js.map} +0 -0
- /package/dist/{routing-memory-NZZHHDN6.js.map → routing-memory-GSOJXKYR.js.map} +0 -0
- /package/dist/{session-memory-OV55DW3U.js.map → session-memory-QK544BZF.js.map} +0 -0
- /package/dist/{setup-config-WFHZTYAU.js.map → setup-config-AXDZQQZD.js.map} +0 -0
- /package/dist/{setup-custom-api-5V5IQUMA.js.map → setup-custom-api-JNLX5DPO.js.map} +0 -0
- /package/dist/{setup-data-dir-YJU7MPS5.js.map → setup-data-dir-PIT5H2S6.js.map} +0 -0
- /package/dist/{tool-memory-NJ5B3U27.js.map → tool-memory-DYW3QKJZ.js.map} +0 -0
- /package/dist/{unified-registry-YBGPLXH3.js.map → unified-registry-ZRG3SO3X.js.map} +0 -0
- /package/dist/{weather-report-U626M3HS.js.map → weather-report-JQGPC6ZC.js.map} +0 -0
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
gateWithReputation,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FU45UMX5.js";
|
|
16
16
|
import {
|
|
17
17
|
createLogger,
|
|
18
18
|
getTimeProvider
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6OPLDOJG.js";
|
|
20
20
|
|
|
21
21
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -297,4 +297,4 @@ export {
|
|
|
297
297
|
formatReviewComment,
|
|
298
298
|
createFailedReview
|
|
299
299
|
};
|
|
300
|
-
//# sourceMappingURL=chunk-
|
|
300
|
+
//# sourceMappingURL=chunk-Q36RQS7J.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5VP6WPEI.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
createStream,
|
|
8
8
|
planOptionalParams,
|
|
9
9
|
requireApiKey,
|
|
10
10
|
validateApiKeyPresence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ROCFIXAK.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BGGS3PH2.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigError,
|
|
17
17
|
ModelCapability,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
getTokenEstimator,
|
|
24
24
|
ok
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6OPLDOJG.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
discoverModels,
|
|
834
834
|
buildOpenAICompatAdapters
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-R66FJKP4.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6OPLDOJG.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-ROCFIXAK.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createGetRetryConfig,
|
|
12
12
|
createGetTimeout,
|
|
13
13
|
createGetToolRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6OPLDOJG.js";
|
|
15
15
|
|
|
16
16
|
// src/config/defaults.ts
|
|
17
17
|
var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
|
|
@@ -230,4 +230,4 @@ export {
|
|
|
230
230
|
CUSTOM_API_DEFAULT_MODEL,
|
|
231
231
|
DEFAULTS
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=chunk-
|
|
233
|
+
//# sourceMappingURL=chunk-SY54YKTT.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZSVUZOMQ.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-6OPLDOJG.js";
|
|
24
24
|
import {
|
|
25
25
|
getNexusDataDir,
|
|
26
26
|
nexusDataPath
|
|
@@ -2159,4 +2159,4 @@ export {
|
|
|
2159
2159
|
runImprovementReview,
|
|
2160
2160
|
registerImprovementReviewTool
|
|
2161
2161
|
};
|
|
2162
|
-
//# sourceMappingURL=chunk-
|
|
2162
|
+
//# sourceMappingURL=chunk-T2KKAZTB.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GSK2JRVW.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FDWB4PUV.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-6OPLDOJG.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-TC2QG4U3.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6OPLDOJG.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-TIOXRJK3.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K4OBRS4D.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FWBR6DZO.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6OPLDOJG.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-VX6VNBCU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5VP6WPEI.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,22 +23,22 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZSVUZOMQ.js";
|
|
27
27
|
import {
|
|
28
28
|
assessPanelIndependence,
|
|
29
29
|
countDistinctModels,
|
|
30
30
|
createEvent,
|
|
31
31
|
getGlobalRegistry
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TC2QG4U3.js";
|
|
33
33
|
import {
|
|
34
34
|
getToolMemory
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-P7IHQSCC.js";
|
|
36
36
|
import {
|
|
37
37
|
authRemediation,
|
|
38
38
|
delay,
|
|
39
39
|
getAvailableClis,
|
|
40
40
|
withTimeout
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GSK2JRVW.js";
|
|
42
42
|
import {
|
|
43
43
|
AgentError,
|
|
44
44
|
CLI_NAMES,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
registerPersistentOutcomeStoreFactory,
|
|
67
67
|
resolveClassGuardMs,
|
|
68
68
|
resolveVoteTimeout
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-6OPLDOJG.js";
|
|
70
70
|
import {
|
|
71
71
|
ensureLearningDir,
|
|
72
72
|
getOutcomesFile
|
|
@@ -6261,7 +6261,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
6261
6261
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
6262
6262
|
async function runContrarianCheck(proposal, log) {
|
|
6263
6263
|
try {
|
|
6264
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6264
|
+
const { executeExpert } = await import("./expert-bridge-XIFIEXQM.js");
|
|
6265
6265
|
const prompt = [
|
|
6266
6266
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
6267
6267
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -6848,4 +6848,4 @@ export {
|
|
|
6848
6848
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6849
6849
|
registerConsensusVoteTool
|
|
6850
6850
|
};
|
|
6851
|
-
//# sourceMappingURL=chunk-
|
|
6851
|
+
//# sourceMappingURL=chunk-YZN2UFYB.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XUTX54BU.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OOGKQTDN.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-6OPLDOJG.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir
|
|
25
25
|
} from "./chunk-OGHEKPLD.js";
|
|
@@ -2135,4 +2135,4 @@ export {
|
|
|
2135
2135
|
VOTING_THRESHOLDS,
|
|
2136
2136
|
ConsensusMetricsSchema
|
|
2137
2137
|
};
|
|
2138
|
-
//# sourceMappingURL=chunk-
|
|
2138
|
+
//# sourceMappingURL=chunk-ZSVUZOMQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K4OBRS4D.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
gateWithReputation,
|
|
12
12
|
resolveReputationGatingMode,
|
|
13
13
|
sanitizeInput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FU45UMX5.js";
|
|
15
15
|
import {
|
|
16
16
|
emitPolicyEvent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OOGKQTDN.js";
|
|
18
18
|
import {
|
|
19
19
|
hasToken
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FWBR6DZO.js";
|
|
21
21
|
import {
|
|
22
22
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
23
23
|
createLogger,
|
|
24
24
|
err,
|
|
25
25
|
getTimeProvider,
|
|
26
26
|
ok
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6OPLDOJG.js";
|
|
28
28
|
|
|
29
29
|
// src/security/trust-classifier.ts
|
|
30
30
|
function mapAuthorAssociation(association) {
|
|
@@ -1247,4 +1247,4 @@ export {
|
|
|
1247
1247
|
IssueTriage,
|
|
1248
1248
|
createIssueTriage
|
|
1249
1249
|
};
|
|
1250
|
-
//# sourceMappingURL=chunk-
|
|
1250
|
+
//# sourceMappingURL=chunk-ZXTOZ7B3.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-FDWB4PUV.js";
|
|
7
|
+
import "./chunk-6OPLDOJG.js";
|
|
8
8
|
import "./chunk-GBHJ37V3.js";
|
|
9
9
|
import "./chunk-OGHEKPLD.js";
|
|
10
10
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getCliCircuitBreakerSnapshot,
|
|
15
15
|
getDefaultCliCircuitBreakerRegistry
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
17
|
+
//# sourceMappingURL=cli-circuit-breaker-YEQKBXCN.js.map
|
package/dist/cli.js
CHANGED
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
generateSummary,
|
|
19
19
|
parseFindings,
|
|
20
20
|
sumFindings
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-Q36RQS7J.js";
|
|
22
|
+
import "./chunk-TIOXRJK3.js";
|
|
23
23
|
import {
|
|
24
24
|
runConfigInitSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GTMJPNPR.js";
|
|
26
26
|
import {
|
|
27
27
|
AuthHandler,
|
|
28
28
|
CustomExpertDefinitionSchema,
|
|
@@ -152,8 +152,8 @@ import {
|
|
|
152
152
|
validateNexusEnv,
|
|
153
153
|
validateWorkflow,
|
|
154
154
|
wrapInMarkdownFence
|
|
155
|
-
} from "./chunk-
|
|
156
|
-
import "./chunk-
|
|
155
|
+
} from "./chunk-326RCKE2.js";
|
|
156
|
+
import "./chunk-JOY5IRVR.js";
|
|
157
157
|
import "./chunk-HFOQKCD2.js";
|
|
158
158
|
import "./chunk-RSMG2DPB.js";
|
|
159
159
|
import {
|
|
@@ -171,14 +171,14 @@ import {
|
|
|
171
171
|
doctorCommand,
|
|
172
172
|
initDataDirectories,
|
|
173
173
|
runDoctor
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-IJLWQ4Y3.js";
|
|
175
175
|
import {
|
|
176
176
|
buildOpenAICompatAdapters,
|
|
177
177
|
readOpenAICompatEnv
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-R66FJKP4.js";
|
|
179
179
|
import {
|
|
180
180
|
shutdownExpertBridge
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-5MQPSHIG.js";
|
|
182
182
|
import {
|
|
183
183
|
ConsensusVoteInputSchema,
|
|
184
184
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -190,29 +190,29 @@ import {
|
|
|
190
190
|
recordAuthenticVote,
|
|
191
191
|
registerConsensusVoteTool,
|
|
192
192
|
toRecordDecision
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-YZN2UFYB.js";
|
|
194
194
|
import {
|
|
195
195
|
loadUsageEvents,
|
|
196
196
|
rollupByModel
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-5VP6WPEI.js";
|
|
198
198
|
import {
|
|
199
199
|
allOf,
|
|
200
200
|
anyOf
|
|
201
201
|
} from "./chunk-OQB3XC5O.js";
|
|
202
202
|
import {
|
|
203
203
|
synthesizeResearch
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-GFDE5IAZ.js";
|
|
205
205
|
import {
|
|
206
206
|
classifyTrust,
|
|
207
207
|
createFullGitHubProvider,
|
|
208
208
|
evaluatePolicy,
|
|
209
209
|
parsePRUrl
|
|
210
|
-
} from "./chunk-
|
|
211
|
-
import "./chunk-
|
|
210
|
+
} from "./chunk-ZXTOZ7B3.js";
|
|
211
|
+
import "./chunk-K4OBRS4D.js";
|
|
212
212
|
import {
|
|
213
213
|
ReputationCache,
|
|
214
214
|
sanitizeInput
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-FU45UMX5.js";
|
|
216
216
|
import {
|
|
217
217
|
ImprovementReviewInputSchema,
|
|
218
218
|
calculateFitnessScore,
|
|
@@ -226,20 +226,20 @@ import {
|
|
|
226
226
|
registerImprovementReviewTool,
|
|
227
227
|
runImprovementReview,
|
|
228
228
|
scanForSecrets
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-T2KKAZTB.js";
|
|
230
230
|
import {
|
|
231
231
|
createDefaultPolicyFirewall,
|
|
232
232
|
setGlobalPolicyFirewall,
|
|
233
233
|
stagePolicyFirewallForRollout
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-ZSVUZOMQ.js";
|
|
235
235
|
import {
|
|
236
236
|
VERSION
|
|
237
|
-
} from "./chunk-
|
|
238
|
-
import "./chunk-
|
|
237
|
+
} from "./chunk-XUTX54BU.js";
|
|
238
|
+
import "./chunk-OOGKQTDN.js";
|
|
239
239
|
import {
|
|
240
240
|
createUnifiedRegistry,
|
|
241
241
|
getGlobalRegistry
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-TC2QG4U3.js";
|
|
243
243
|
import {
|
|
244
244
|
CodebaseIndexSchema,
|
|
245
245
|
PaperStatusSchema,
|
|
@@ -265,24 +265,24 @@ import {
|
|
|
265
265
|
loadSourcesRegistry,
|
|
266
266
|
rankDiscoveredItems,
|
|
267
267
|
saveSourcesRegistry
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-2I5BBD6U.js";
|
|
269
269
|
import {
|
|
270
270
|
loadPapersRegistry,
|
|
271
271
|
loadTechniquesRegistry,
|
|
272
272
|
savePapersRegistry
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-F67CLL5B.js";
|
|
274
274
|
import {
|
|
275
275
|
resolveToken
|
|
276
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-FWBR6DZO.js";
|
|
277
277
|
import {
|
|
278
278
|
MemoryError,
|
|
279
279
|
shutdownToolMemory
|
|
280
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-P7IHQSCC.js";
|
|
281
281
|
import {
|
|
282
282
|
capitalize,
|
|
283
283
|
capitalizeKebab
|
|
284
284
|
} from "./chunk-6T3EPABN.js";
|
|
285
|
-
import "./chunk-
|
|
285
|
+
import "./chunk-OCFY37TZ.js";
|
|
286
286
|
import {
|
|
287
287
|
BUILT_IN_EXPERTS
|
|
288
288
|
} from "./chunk-YPNQPT2F.js";
|
|
@@ -295,19 +295,19 @@ import {
|
|
|
295
295
|
isRecord,
|
|
296
296
|
probeAllClis,
|
|
297
297
|
readSubprocessDepth
|
|
298
|
-
} from "./chunk-
|
|
299
|
-
import "./chunk-
|
|
298
|
+
} from "./chunk-GSK2JRVW.js";
|
|
299
|
+
import "./chunk-ROCFIXAK.js";
|
|
300
300
|
import {
|
|
301
301
|
DEFAULTS
|
|
302
|
-
} from "./chunk-
|
|
303
|
-
import "./chunk-
|
|
302
|
+
} from "./chunk-SY54YKTT.js";
|
|
303
|
+
import "./chunk-BGGS3PH2.js";
|
|
304
304
|
import {
|
|
305
305
|
nexusMkdtempSync
|
|
306
306
|
} from "./chunk-4OW67KT2.js";
|
|
307
|
-
import "./chunk-
|
|
307
|
+
import "./chunk-NDVKXAK5.js";
|
|
308
308
|
import "./chunk-QZUG667L.js";
|
|
309
|
-
import "./chunk-
|
|
310
|
-
import "./chunk-
|
|
309
|
+
import "./chunk-AS4B7KCT.js";
|
|
310
|
+
import "./chunk-FDWB4PUV.js";
|
|
311
311
|
import {
|
|
312
312
|
API_TIMEOUTS,
|
|
313
313
|
AgentCapability,
|
|
@@ -384,7 +384,7 @@ import {
|
|
|
384
384
|
validateTimeout,
|
|
385
385
|
writeEmptyLine,
|
|
386
386
|
writeLine
|
|
387
|
-
} from "./chunk-
|
|
387
|
+
} from "./chunk-6OPLDOJG.js";
|
|
388
388
|
import "./chunk-GBHJ37V3.js";
|
|
389
389
|
import {
|
|
390
390
|
applyPortableMode,
|
|
@@ -4423,7 +4423,7 @@ ${file.patch}
|
|
|
4423
4423
|
violations: policyResult.violations
|
|
4424
4424
|
});
|
|
4425
4425
|
}
|
|
4426
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4426
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-NL7YXDAO.js");
|
|
4427
4427
|
const body = formatReviewComment2(result);
|
|
4428
4428
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4429
4429
|
if (!postResult.ok) {
|
|
@@ -12183,7 +12183,9 @@ function computeSummary(models, banditProgress, feedbackLoop) {
|
|
|
12183
12183
|
const overallSuccessRate = models.length > 0 ? models.reduce((sum, m) => sum + m.successRate * m.selectionPercent, 0) / 100 : 0;
|
|
12184
12184
|
const avgReward = feedbackLoop.avgReward;
|
|
12185
12185
|
let learningStatus;
|
|
12186
|
-
if (banditProgress.
|
|
12186
|
+
if (banditProgress.totalPulls === 0) {
|
|
12187
|
+
learningStatus = "unmeasured";
|
|
12188
|
+
} else if (banditProgress.explorationRatio > 0.6) {
|
|
12187
12189
|
learningStatus = "exploring";
|
|
12188
12190
|
} else if (banditProgress.explorationRatio < 0.3) {
|
|
12189
12191
|
learningStatus = "exploiting";
|
|
@@ -12211,9 +12213,9 @@ function formatHeader3(result) {
|
|
|
12211
12213
|
function formatSummary2(result) {
|
|
12212
12214
|
const lines = [];
|
|
12213
12215
|
lines.push(boxLine(color(" Summary:", ANSI3.bold)));
|
|
12214
|
-
const statusEmoji = result.summary.learningStatus === "exploring" ? color("\u26A1", ANSI3.yellow) : result.summary.learningStatus === "exploiting" ? color("\u2713", ANSI3.green) : color("\u25CE", ANSI3.blue);
|
|
12215
|
-
const
|
|
12216
|
-
lines.push(boxLine(` ${
|
|
12216
|
+
const statusEmoji = result.summary.learningStatus === "unmeasured" ? color("?", ANSI3.dim) : result.summary.learningStatus === "exploring" ? color("\u26A1", ANSI3.yellow) : result.summary.learningStatus === "exploiting" ? color("\u2713", ANSI3.green) : color("\u25CE", ANSI3.blue);
|
|
12217
|
+
const statusText = result.summary.learningStatus === "unmeasured" ? "unmeasured (no routing decisions recorded)" : result.summary.learningStatus;
|
|
12218
|
+
lines.push(boxLine(` ${statusEmoji} Learning Status: ${statusText}`));
|
|
12217
12219
|
const routings = result.summary.totalRoutings.toLocaleString();
|
|
12218
12220
|
lines.push(boxLine(` Total Routings: ${routings}`));
|
|
12219
12221
|
const successRate = formatPercentage(result.summary.overallSuccessRate, 1);
|
|
@@ -19553,7 +19555,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19553
19555
|
let running = false;
|
|
19554
19556
|
const runOnce = async () => {
|
|
19555
19557
|
try {
|
|
19556
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19558
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-4KMYPNSZ.js");
|
|
19557
19559
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19558
19560
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19559
19561
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -21638,7 +21640,7 @@ function adaptConfigToLibrary(config) {
|
|
|
21638
21640
|
}
|
|
21639
21641
|
function createBeliefPromoter() {
|
|
21640
21642
|
return async (event) => {
|
|
21641
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
21643
|
+
const { getToolMemory } = await import("./tool-memory-DYW3QKJZ.js");
|
|
21642
21644
|
const tm = getToolMemory();
|
|
21643
21645
|
await tm.recordBelief(
|
|
21644
21646
|
`skill:${event.name}`,
|
|
@@ -22859,7 +22861,7 @@ async function handleResearchCommand(args) {
|
|
|
22859
22861
|
}
|
|
22860
22862
|
}
|
|
22861
22863
|
async function handleRegistryCommand(args) {
|
|
22862
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
22864
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-UBUAESO2.js");
|
|
22863
22865
|
const subcommand = args.subcommand;
|
|
22864
22866
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
22865
22867
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -22907,12 +22909,12 @@ async function handleVerifyCommand(args) {
|
|
|
22907
22909
|
async function handleDoctorCommand(args) {
|
|
22908
22910
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
22909
22911
|
if (args.options.deep) {
|
|
22910
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
22912
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-ECI74ALB.js");
|
|
22911
22913
|
const diag = runDeepDiagnostics2();
|
|
22912
22914
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
22913
22915
|
}
|
|
22914
22916
|
if (args.options.live) {
|
|
22915
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
22917
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-OBEZKBNU.js");
|
|
22916
22918
|
const report = await runLiveReadiness();
|
|
22917
22919
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
22918
22920
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -22965,7 +22967,7 @@ async function runInitPortableFlow(args) {
|
|
|
22965
22967
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
22966
22968
|
}
|
|
22967
22969
|
async function runInitOpencodeFlow(args) {
|
|
22968
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
22970
|
+
const { runInitOpencode } = await import("./init-opencode-SIT4DIQ4.js");
|
|
22969
22971
|
const opencodePath = args.options.opencode;
|
|
22970
22972
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
22971
22973
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -22991,7 +22993,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
22991
22993
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
22992
22994
|
}
|
|
22993
22995
|
async function renderOpencodeValidate(opencodePath) {
|
|
22994
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
22996
|
+
const { runOpencodeValidate } = await import("./init-opencode-SIT4DIQ4.js");
|
|
22995
22997
|
const result = await runOpencodeValidate(opencodePath);
|
|
22996
22998
|
if (!result.ok) {
|
|
22997
22999
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -23030,7 +23032,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
23030
23032
|
return cliExitFromStatus(exitCode);
|
|
23031
23033
|
}
|
|
23032
23034
|
async function runCustomApiSetup(args) {
|
|
23033
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
23035
|
+
const { configureCustomApi } = await import("./setup-custom-api-JNLX5DPO.js");
|
|
23034
23036
|
const baseUrl = args.options.customApi;
|
|
23035
23037
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
23036
23038
|
const input = {
|