@harness-engineering/cli 2.4.2 → 2.4.3
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/{agents-md-2M46KG4F.js → agents-md-WN2DOL7N.js} +2 -2
- package/dist/{architecture-3ZSN5RDQ.js → architecture-TUJ2FWM7.js} +3 -3
- package/dist/{assess-project-KZWFQEJE.js → assess-project-SIG4QAZA.js} +1 -1
- package/dist/bin/harness-mcp.js +13 -13
- package/dist/bin/harness.js +22 -22
- package/dist/{check-phase-gate-EWV5VYTG.js → check-phase-gate-JX522QQH.js} +3 -3
- package/dist/{chunk-RRTTJ3VB.js → chunk-52ATJ5JD.js} +1 -1
- package/dist/{chunk-OUXYITL5.js → chunk-54S2MJZI.js} +1 -1
- package/dist/{chunk-2TGCYJMT.js → chunk-5O3PNHUQ.js} +17 -7
- package/dist/{chunk-GOSUZC5H.js → chunk-AK7T7NG7.js} +25 -25
- package/dist/{chunk-GLKASJZE.js → chunk-AP73KZP6.js} +3 -3
- package/dist/{chunk-LHHO7AH4.js → chunk-GDGEFHXV.js} +2 -2
- package/dist/{chunk-MXOQEI72.js → chunk-GNZABDPB.js} +1 -1
- package/dist/{chunk-PPQ3TY2R.js → chunk-IPFGVYNC.js} +1 -1
- package/dist/{chunk-B2ZYMQGT.js → chunk-IWUKWHXV.js} +6 -6
- package/dist/{chunk-I2KULMPD.js → chunk-JAS63FFQ.js} +5 -5
- package/dist/{chunk-KOK7BFP2.js → chunk-JDOL6YP7.js} +2 -2
- package/dist/{chunk-NTOKQJOX.js → chunk-LA3VGBU6.js} +1 -1
- package/dist/{chunk-73KZ2E47.js → chunk-LZXZQQKP.js} +6 -6
- package/dist/{chunk-LJF6UY4R.js → chunk-MTJ2LOXB.js} +1 -1
- package/dist/{chunk-TPNA2I4J.js → chunk-NDS6XSHS.js} +70 -70
- package/dist/{chunk-7RZZV73V.js → chunk-NDTH6MGG.js} +2 -2
- package/dist/{chunk-IEHXZB6J.js → chunk-O7ZZ3FN4.js} +3 -3
- package/dist/{chunk-QV5EBDWA.js → chunk-OOXNZABU.js} +1 -1
- package/dist/{chunk-NM3ZIWVN.js → chunk-P542RBCL.js} +1 -1
- package/dist/{chunk-UPV7VDUB.js → chunk-TW4NGPAW.js} +2 -2
- package/dist/{chunk-KRQTN46U.js → chunk-URHLDRYH.js} +3 -3
- package/dist/{chunk-UQJV7NNM.js → chunk-Y2ZVBLOR.js} +1 -1
- package/dist/{ci-workflow-5TBUHJFC.js → ci-workflow-TIFZJZNY.js} +2 -2
- package/dist/{dist-HA6IIPRC.js → dist-RYZFURLL.js} +1 -1
- package/dist/{docs-D6WI2LCF.js → docs-VVCOB35D.js} +3 -3
- package/dist/{engine-GBEVIZZQ.js → engine-AAJLFT45.js} +2 -2
- package/dist/{entropy-V6M4KJDC.js → entropy-TNA7IRJY.js} +2 -2
- package/dist/{feedback-22I4HHXM.js → feedback-BAVIWDHH.js} +1 -1
- package/dist/{generate-agent-definitions-UM7T3WLA.js → generate-agent-definitions-6UTHCELR.js} +3 -3
- package/dist/index.d.ts +8 -8
- package/dist/index.js +22 -22
- package/dist/{loader-5V72NYMF.js → loader-TMZCNQWN.js} +2 -2
- package/dist/{mcp-5KQGFG5U.js → mcp-BMCVFQJG.js} +13 -13
- package/dist/{performance-MVORVVMG.js → performance-HH7SQOTB.js} +3 -3
- package/dist/{review-pipeline-JYSVCNGJ.js → review-pipeline-QB3AND3K.js} +2 -2
- package/dist/{runtime-KZC2OQI7.js → runtime-RITOSII6.js} +2 -2
- package/dist/{security-WOVOBLCI.js → security-UISVYDES.js} +1 -1
- package/dist/{validate-55HGQKWR.js → validate-QWQMHJFD.js} +3 -3
- package/dist/{validate-cross-check-H3PSV4VY.js → validate-cross-check-3QIA7O4F.js} +2 -2
- package/package.json +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkDependenciesDefinition,
|
|
3
3
|
handleCheckDependencies
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NDTH6MGG.js";
|
|
5
|
+
import "./chunk-MTJ2LOXB.js";
|
|
6
6
|
import "./chunk-EPUKTTJZ.js";
|
|
7
7
|
import "./chunk-W6Y7ZW3Y.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-5O3PNHUQ.js";
|
|
9
9
|
import "./chunk-O63AAPIZ.js";
|
|
10
10
|
import "./chunk-BCFDGOMA.js";
|
|
11
11
|
import "./chunk-KFQGP6VL.js";
|
package/dist/bin/harness-mcp.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
startServer
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-NDS6XSHS.js";
|
|
5
|
+
import "../chunk-TW4NGPAW.js";
|
|
6
|
+
import "../chunk-IWUKWHXV.js";
|
|
7
7
|
import "../chunk-IOW3MW2K.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-O7ZZ3FN4.js";
|
|
9
|
+
import "../chunk-GDGEFHXV.js";
|
|
10
10
|
import "../chunk-5FDBXUFW.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-URHLDRYH.js";
|
|
12
|
+
import "../chunk-NDTH6MGG.js";
|
|
13
|
+
import "../chunk-MTJ2LOXB.js";
|
|
14
|
+
import "../chunk-JAS63FFQ.js";
|
|
15
|
+
import "../chunk-AP73KZP6.js";
|
|
16
|
+
import "../chunk-LZXZQQKP.js";
|
|
17
17
|
import "../chunk-EPUKTTJZ.js";
|
|
18
18
|
import "../chunk-W6Y7ZW3Y.js";
|
|
19
19
|
import "../chunk-27AJKSQY.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-GNZABDPB.js";
|
|
21
21
|
import "../chunk-3ISINLYT.js";
|
|
22
22
|
import "../chunk-6B6UN6SG.js";
|
|
23
23
|
import "../chunk-ZCZD7FHU.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-5O3PNHUQ.js";
|
|
25
25
|
import "../chunk-O63AAPIZ.js";
|
|
26
26
|
import "../chunk-BCFDGOMA.js";
|
|
27
27
|
import "../chunk-HIK6OEUF.js";
|
package/dist/bin/harness.js
CHANGED
|
@@ -3,43 +3,43 @@ import {
|
|
|
3
3
|
createProgram,
|
|
4
4
|
installCommandTelemetry,
|
|
5
5
|
printFirstRunWelcome
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-AK7T7NG7.js";
|
|
7
|
+
import "../chunk-54S2MJZI.js";
|
|
8
|
+
import "../chunk-52ATJ5JD.js";
|
|
9
|
+
import "../chunk-Y2ZVBLOR.js";
|
|
10
|
+
import "../chunk-IPFGVYNC.js";
|
|
11
|
+
import "../chunk-P542RBCL.js";
|
|
12
12
|
import "../chunk-CQ553GZO.js";
|
|
13
13
|
import "../chunk-GISMXMVL.js";
|
|
14
14
|
import "../chunk-WWACIIBA.js";
|
|
15
15
|
import "../chunk-TEFCFC4H.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-JDOL6YP7.js";
|
|
17
|
+
import "../chunk-OOXNZABU.js";
|
|
18
18
|
import "../chunk-KET4QQZB.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-LA3VGBU6.js";
|
|
20
20
|
import "../chunk-5XLLIYYL.js";
|
|
21
21
|
import {
|
|
22
22
|
dispatchSkillsFromGit
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-NDS6XSHS.js";
|
|
24
|
+
import "../chunk-TW4NGPAW.js";
|
|
25
|
+
import "../chunk-IWUKWHXV.js";
|
|
26
26
|
import "../chunk-IOW3MW2K.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-O7ZZ3FN4.js";
|
|
28
|
+
import "../chunk-GDGEFHXV.js";
|
|
29
29
|
import "../chunk-5FDBXUFW.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-URHLDRYH.js";
|
|
31
|
+
import "../chunk-NDTH6MGG.js";
|
|
32
|
+
import "../chunk-MTJ2LOXB.js";
|
|
33
|
+
import "../chunk-JAS63FFQ.js";
|
|
34
|
+
import "../chunk-AP73KZP6.js";
|
|
35
|
+
import "../chunk-LZXZQQKP.js";
|
|
36
36
|
import "../chunk-EPUKTTJZ.js";
|
|
37
37
|
import "../chunk-W6Y7ZW3Y.js";
|
|
38
38
|
import "../chunk-27AJKSQY.js";
|
|
39
39
|
import {
|
|
40
40
|
findConfigFile,
|
|
41
41
|
loadConfig
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-GNZABDPB.js";
|
|
43
43
|
import "../chunk-3ISINLYT.js";
|
|
44
44
|
import "../chunk-6B6UN6SG.js";
|
|
45
45
|
import "../chunk-ZCZD7FHU.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
readCheckState,
|
|
54
54
|
shouldRunCheck,
|
|
55
55
|
spawnBackgroundCheck
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-5O3PNHUQ.js";
|
|
57
57
|
import "../chunk-O63AAPIZ.js";
|
|
58
58
|
import "../chunk-BCFDGOMA.js";
|
|
59
59
|
import "../chunk-ZP5E7YET.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCheckPhaseGateCommand,
|
|
3
3
|
runCheckPhaseGate
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JDOL6YP7.js";
|
|
5
|
+
import "./chunk-GNZABDPB.js";
|
|
6
6
|
import "./chunk-ZCZD7FHU.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-5O3PNHUQ.js";
|
|
8
8
|
import "./chunk-O63AAPIZ.js";
|
|
9
9
|
import "./chunk-BCFDGOMA.js";
|
|
10
10
|
import "./chunk-EBJQ6N4M.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
__export
|
|
36
36
|
} from "./chunk-KFQGP6VL.js";
|
|
37
37
|
|
|
38
|
-
// ../core/dist/chunk-
|
|
38
|
+
// ../core/dist/chunk-JIOBXIVB.mjs
|
|
39
39
|
import { z } from "zod";
|
|
40
40
|
import { createHash } from "crypto";
|
|
41
41
|
import { minimatch } from "minimatch";
|
|
@@ -101,8 +101,12 @@ async function readFileContent(path46) {
|
|
|
101
101
|
return Err(error);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
async function findFiles(pattern, cwd = process.cwd()) {
|
|
105
|
-
return glob(pattern, {
|
|
104
|
+
async function findFiles(pattern, cwd = process.cwd(), extraIgnore = []) {
|
|
105
|
+
return glob(pattern, {
|
|
106
|
+
cwd,
|
|
107
|
+
absolute: true,
|
|
108
|
+
ignore: [...DEFAULT_FIND_FILES_IGNORE, ...extraIgnore]
|
|
109
|
+
});
|
|
106
110
|
}
|
|
107
111
|
function relativePosix(from, to) {
|
|
108
112
|
return relative(from, to).replaceAll("\\", "/");
|
|
@@ -1761,9 +1765,9 @@ async function toHaveMaxDepDepth(received, maxDepth) {
|
|
|
1761
1765
|
message: () => pass ? `Expected dependency depth in '${received.scope}' to exceed ${maxDepth} but it was ${maxActual}` : `Module '${received.scope}' has dependency depth ${maxActual} (limit: ${maxDepth})`
|
|
1762
1766
|
};
|
|
1763
1767
|
}
|
|
1764
|
-
var __defProp, __export2, ArchMetricCategorySchema, ViolationSchema, MetricResultSchema, CategoryBaselineSchema, ArchBaselineSchema, CategoryRegressionSchema, ArchDiffResultSchema, ThresholdConfigSchema, ArchConfigSchema, ConstraintRuleSchema, ViolationSnapshotSchema, ViolationHistorySchema, EmergenceConfidenceSchema, EmergentConstraintSuggestionSchema, EmergenceResultSchema, accessAsync, readFileAsync, EXTENSION_BY_LANG, JS_EXT_FALLBACKS, CircularDepsCollector, TypeScriptParser, EXTENSION_MAP, parserCache, initialized, GRAMMAR_MAP, TOP_LEVEL_TYPES, METHOD_TYPES, IDENTIFIER_TYPES, NAME_EXTRACTORS, pythonStrategy, goStrategy, RUST_USE_ARG_TYPES, RUST_PUB_ITEM_TYPES, rustStrategy, JAVA_IMPORT_TYPES, JAVA_EXPORT_TYPES, javaStrategy, STRATEGIES, TreeSitterParser, ParserRegistry, defaultRegistry, LayerViolationCollector, ArchBaselineManager, DEFAULT_THRESHOLDS, FUNCTION_PATTERNS, DECISION_PATTERNS, ComplexityCollector, DEFAULT_THRESHOLDS2, CouplingCollector, ForbiddenImportCollector, ModuleSizeCollector, DepDepthCollector, defaultCollectors, archMatchers;
|
|
1765
|
-
var
|
|
1766
|
-
"../core/dist/chunk-
|
|
1768
|
+
var __defProp, __export2, ArchMetricCategorySchema, ViolationSchema, MetricResultSchema, CategoryBaselineSchema, ArchBaselineSchema, CategoryRegressionSchema, ArchDiffResultSchema, ThresholdConfigSchema, ArchConfigSchema, ConstraintRuleSchema, ViolationSnapshotSchema, ViolationHistorySchema, EmergenceConfidenceSchema, EmergentConstraintSuggestionSchema, EmergenceResultSchema, accessAsync, readFileAsync, DEFAULT_FIND_FILES_IGNORE, EXTENSION_BY_LANG, JS_EXT_FALLBACKS, CircularDepsCollector, TypeScriptParser, EXTENSION_MAP, parserCache, initialized, GRAMMAR_MAP, TOP_LEVEL_TYPES, METHOD_TYPES, IDENTIFIER_TYPES, NAME_EXTRACTORS, pythonStrategy, goStrategy, RUST_USE_ARG_TYPES, RUST_PUB_ITEM_TYPES, rustStrategy, JAVA_IMPORT_TYPES, JAVA_EXPORT_TYPES, javaStrategy, STRATEGIES, TreeSitterParser, ParserRegistry, defaultRegistry, LayerViolationCollector, ArchBaselineManager, DEFAULT_THRESHOLDS, FUNCTION_PATTERNS, DECISION_PATTERNS, ComplexityCollector, DEFAULT_THRESHOLDS2, CouplingCollector, ForbiddenImportCollector, ModuleSizeCollector, DepDepthCollector, defaultCollectors, archMatchers;
|
|
1769
|
+
var init_chunk_JIOBXIVB = __esm({
|
|
1770
|
+
"../core/dist/chunk-JIOBXIVB.mjs"() {
|
|
1767
1771
|
"use strict";
|
|
1768
1772
|
init_dist();
|
|
1769
1773
|
init_dist2();
|
|
@@ -1880,6 +1884,12 @@ var init_chunk_4UI65RLE = __esm({
|
|
|
1880
1884
|
});
|
|
1881
1885
|
accessAsync = promisify(access);
|
|
1882
1886
|
readFileAsync = promisify(readFile);
|
|
1887
|
+
DEFAULT_FIND_FILES_IGNORE = [
|
|
1888
|
+
"**/node_modules/**",
|
|
1889
|
+
"**/dist/**",
|
|
1890
|
+
"**/build/**",
|
|
1891
|
+
"**/coverage/**"
|
|
1892
|
+
];
|
|
1883
1893
|
EXTENSION_BY_LANG = {
|
|
1884
1894
|
typescript: [".ts", ".tsx"],
|
|
1885
1895
|
javascript: [".js", ".jsx", ".mjs", ".cjs"],
|
|
@@ -15731,7 +15741,7 @@ function assembleCandidateReport(input) {
|
|
|
15731
15741
|
var WHATWG_BAD_PORTS, BAD_PORT_SET, VALID_TYPES, CONVENTIONAL_PATTERN, LOOKBACK_PATTERN, PulseDbSourceSchema, PulseSourcesSchema, PulseConfigSchema, BUG_TRACK_CATEGORIES, KNOWLEDGE_TRACK_CATEGORIES, ALL_SOLUTION_CATEGORIES, ISO_DATE, BugTrackSchema, KnowledgeTrackSchema, BaseFrontmatter, SolutionDocFrontmatterSchema, TRACK_CATEGORIES, DEFAULT_AGNIX_TIMEOUT_MS, HARNESS_AGNIX_DISABLE, HARNESS_AGNIX_BIN, CLAUDE_MD_WARN_BYTES, CLAUDE_MD_ERROR_BYTES, CONTEXT_FILES, MIN_DESCRIPTION_LENGTH, SETTINGS_PATHS, KNOWN_HOOK_EVENTS, MCP_SETTINGS_FILES, REQUIRED_SECTIONS, SETTINGS_FILES, KNOWN_AGNIX_TOOLS, KEBAB_CASE, TICKET_ID, DEFAULT_SECTIONS, DEFAULT_RATIOS, NODE_TYPE_TO_CATEGORY, SECTION_LEVEL_MAP, DEFAULT_LEVEL, DEFAULT_BUDGET, DEFAULT_LOADER_CONFIG, LEVEL_FRACTIONS, PHASE_PRIORITIES, ManifestSchema, BundleConstraintsSchema, BundleSchema, ContributionsSchema, LockfilePackageSchema, LockfileSchema, SharableLayerSchema, SharableForbiddenImportSchema, SharableBoundaryConfigSchema, SharableSecurityRulesSchema, VALID_SCOPES, LINE_PATTERN, START_PATTERN, END_PATTERN, TS_HINTS, TS_CONVENTIONS, PYTHON_HINTS, PYTHON_CONVENTIONS, DEFAULT_INCLUDE_PATTERNS, CODE_BLOCK_LANGUAGES, DEFAULT_DRIFT_CONFIG, JS_EXT_FALLBACKS2, FILE_TYPES, EXPORT_TYPES, CONVENTION_DESCRIPTIONS, RULE_CHECKERS, EntropyAnalyzer, readFile62, writeFile32, unlink22, mkdir22, copyFile2, DEFAULT_FIX_CONFIG, EXPORT_TYPE_KEYWORD, ALWAYS_UNSAFE_TYPES, idCounter, DEAD_CODE_FIX_ACTIONS, MustExportRuleSchema, MustExportDefaultRuleSchema, NoExportRuleSchema, MustImportRuleSchema, NoImportRuleSchema, NamingRuleSchema, MaxExportsRuleSchema, MaxLinesRuleSchema, RequireJSDocRuleSchema, RuleSchema, ConfigPatternSchema, PatternConfigSchema, DriftConfigSchema, DeadCodeConfigSchema, EntropyConfigSchema, BaselineManager, BenchmarkRunner, RegressionDetector, SOURCE_EXTENSIONS, FUNCTION_DECL_RE, CONST_DECL_RE, CriticalPathResolver, NoOpTelemetryAdapter, NoOpExecutor, ConsoleSink, feedbackConfig, ChecklistBuilder, AgentActionEmitter, globalEmitter, FileSink, NoOpSink, CategorySnapshotSchema, TimelineSnapshotSchema, TimelineFileSchema, TrendLineSchema, TrendResultSchema, DEFAULT_STABILITY_THRESHOLDS, ALL_CATEGORIES, TimelineManager, ConfidenceTierSchema, RegressionResultSchema, DirectionSchema, CategoryForecastSchema, SpecImpactSignalsSchema, SpecImpactEstimateSchema, ContributingFeatureSchema, AdjustedForecastSchema, PredictionWarningSchema, StabilityForecastSchema, PredictionResultSchema, PredictionOptionsSchema, VALID_STATUSES, EM_DASH, VALID_PRIORITIES, ALL_CATEGORIES2, DIRECTION_THRESHOLD, PredictionEngine, DEFAULT_COEFFICIENTS, SpecImpactEstimator, EMPTY_HISTORY, ViolationHistoryManager, NORMALIZERS, MAX_SAMPLES, DEFAULT_WINDOW_WEEKS, DEFAULT_MIN_OCCURRENCES, FailureEntrySchema, HandoffSchema, GateCheckSchema, GateResultSchema, GateConfigSchema, HarnessStateSchema, DEFAULT_STATE, StreamInfoSchema, StreamIndexSchema, DEFAULT_STREAM_INDEX, HARNESS_DIR, STATE_FILE, LEARNINGS_FILE, FAILURES_FILE, HANDOFF_FILE, GATE_CONFIG_FILE, INDEX_FILE, SESSIONS_DIR, SESSION_INDEX_FILE, SUMMARY_FILE, SESSION_STATE_FILE, ARCHIVE_DIR, CONTENT_HASHES_FILE, EVENTS_FILE, STREAMS_DIR, STREAM_NAME_REGEX, branchCache, BRANCH_CACHE_TTL_MS, STATE_FILES, MAX_CACHE_ENTRIES, learningsCacheMap, WEIGHTS, LOCK_RETRIES, LOCK_BACKOFFS, PROMOTABLE_OUTCOMES, failuresCacheMap, FAILURE_LINE_REGEX, SAFE_GATE_COMMAND, SkillEventSchema, knownHashesCache, EVENT_FORMATTERS, RuleRegistry, DEFAULT_SECURITY_CONFIG, RuleOverrideSchema, SecurityConfigSchema, secretRules, injectionRules, xssRules, cryptoRules, pathTraversalRules, networkRules, deserializationRules, agentConfigRules, mcpRules, insecureDefaultsRules, sharpEdgesRules, nodeRules, expressRules, reactRules, goRules, SecurityScanner, hiddenUnicodePatterns, reRolingPatterns, permissionEscalationPatterns, encodedPayloadPatterns, indirectInjectionPatterns, contextManipulationPatterns, socialEngineeringPatterns, suspiciousPatterns, ALL_PATTERNS, DESTRUCTIVE_BASH, TAINT_DURATION_MS, DEFAULT_SESSION_ID, SecurityCategorySnapshotSchema, SupplyChainSnapshotSchema, SecurityTimelineSnapshotSchema, FindingLifecycleSchema, SecurityTimelineFileSchema, DirectionSchema2, SecurityTrendLineSchema, TrendAttributionSchema, SecurityTrendResultSchema, TimeToFixStatsSchema, TimeToFixResultSchema, EMPTY_SUPPLY_CHAIN, SecurityTimelineManager, ALL_CHECKS, STATUS_ICONS, CINotifier, ExclusionSet, PREFIX_PATTERNS, TEST_FILE_PATTERN, MD_FILE_PATTERN, ALL_DOMAINS, SECURITY_PATTERNS, JS_EXT_FALLBACKS22, SEVERITY_RANK, SEVERITY_ORDER, SEVERITY_LABELS, VALIDATED_BY_RANK, VALIDATION_SCORES, DOMAIN_BASELINES, FACTOR_WEIGHTS, EVIDENCE_SATURATION, CORROBORATED_AGREEMENT, STANDALONE_AGREEMENT, AGREEMENT_LINE_GAP, COMPLIANCE_DESCRIPTOR, EXPORT_RE, BUG_DETECTION_DESCRIPTOR, SECURITY_DESCRIPTOR, EVAL_PATTERN, SECRET_PATTERNS, SQL_CONCAT_PATTERN, SHELL_EXEC_PATTERN, ARCHITECTURE_DESCRIPTOR, LARGE_FILE_THRESHOLD, VIOLATION_FILE_RE, LEARNINGS_DESCRIPTOR, RELEVANCE_THRESHOLD, AGENT_DESCRIPTORS, AGENT_RUNNERS, DOWNGRADE_MAP, DEFAULT_PROVIDER_TIERS, SMALL_SUGGESTION_LINE_LIMIT, FILE_LINE_RANGE_PATTERN, FILE_LINE_PATTERN, FILE_ONLY_PATTERN, SECURITY_SENSITIVE_PATH, MIGRATION_PATH, TEST_PATH, CONFIG_PATH, STAGE_DOMAINS, EM_DASH2, STATUS_RANK, RETRY_DEFAULTS, GitHubIssuesSyncAdapter, syncMutex, PRIORITY_RANK, PRIORITY_RANK2, POSITION_WEIGHT, DEPENDENTS_WEIGHT, AFFINITY_WEIGHT, ConflictError, DEFAULTS, GitHubHttp, ETagStore, START_MARKER, END_MARKER, SERIALIZER_FIELDS, GitHubIssuesTrackerAdapter, migrate_exports, HASH_RE, InteractionTypeSchema, QuestionSchema, ConfirmationSchema, TransitionSchema, EmitInteractionInputSchema, ProjectScanner, SHELL_TEMPLATE, STYLES, SCRIPTS, MockLLMService, llmService, ContentPipeline, BlueprintGenerator, TOKENS_PER_MILLION, fallback_default, LITELLM_PRICING_URL, CACHE_TTL_MS, STALENESS_WARNING_DAYS, MICRODOLLARS_PER_DOLLAR, TOKENS_PER_MILLION2, StructuralStrategy, DEFAULT_TOKEN_BUDGET, CHARS_PER_TOKEN, TRUNCATION_MARKER, TruncationStrategy, CompactionPipeline, STABILITY_LOOKUP, TIER_ORDER, AnthropicCacheAdapter, TIER_ORDER2, OpenAICacheAdapter, TIER_ORDER3, CACHED_CONTENT_MARKER, GeminiCacheAdapter, VERSION, POSTHOG_BATCH_URL, MAX_ATTEMPTS, TIMEOUT_MS, DEFAULT_CAPACITY, CacheMetricsRecorder, RETRY_BACKOFFS_MS, OTLPExporter, SpanKind, CompoundLockHeldError, KNOWN_CATEGORIES, ALLOWED_FIELD_KEYS, PII_TOKENS, PII_FIELD_DENYLIST, PII_LINE_RE, ALLOWED_SET, PulseAdapterAlreadyRegisteredError, REGISTRY, MOCK_ADAPTER_NAME, ALLOWED_FIELD_SET, adapter, LOOKBACK_RE, MAX_LINES, INLINE_TEMPLATE, TRUNCATION_MARKER2, execFileAsync, FIX_RE, EMPTY_REPO_RE, execFileAsync2, TRACK_CATEGORIES2, STOPWORDS, KEYWORD_TO_CATEGORY;
|
|
15732
15742
|
var init_dist3 = __esm({
|
|
15733
15743
|
"../core/dist/index.mjs"() {
|
|
15734
|
-
|
|
15744
|
+
init_chunk_JIOBXIVB();
|
|
15735
15745
|
init_dist();
|
|
15736
15746
|
init_dist2();
|
|
15737
15747
|
init_dist2();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateRuntime
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-54S2MJZI.js";
|
|
4
4
|
import {
|
|
5
5
|
generateAgentsMd
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-52ATJ5JD.js";
|
|
7
7
|
import {
|
|
8
8
|
generateCIWorkflow
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y2ZVBLOR.js";
|
|
10
10
|
import {
|
|
11
11
|
TemplateEngine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P542RBCL.js";
|
|
13
13
|
import {
|
|
14
14
|
generate,
|
|
15
15
|
validate
|
|
@@ -28,18 +28,18 @@ import {
|
|
|
28
28
|
OutputMode,
|
|
29
29
|
createCheckPhaseGateCommand,
|
|
30
30
|
findFiles
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JDOL6YP7.js";
|
|
32
32
|
import {
|
|
33
33
|
createGenerateAgentDefinitionsCommand,
|
|
34
34
|
generateAgentDefinitions
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OOXNZABU.js";
|
|
36
36
|
import {
|
|
37
37
|
toKebabCase
|
|
38
38
|
} from "./chunk-KET4QQZB.js";
|
|
39
39
|
import {
|
|
40
40
|
listPersonas,
|
|
41
41
|
loadPersona
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-LA3VGBU6.js";
|
|
43
43
|
import {
|
|
44
44
|
createScanCommand,
|
|
45
45
|
loadIngestOptions
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
loadCachedSnapshot,
|
|
58
58
|
persistToolingConfig,
|
|
59
59
|
recommend
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NDS6XSHS.js";
|
|
61
61
|
import {
|
|
62
62
|
loadGraphStore
|
|
63
63
|
} from "./chunk-5FDBXUFW.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
BranchingConfigSchema,
|
|
69
69
|
findConfigFile,
|
|
70
70
|
resolveConfig
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-GNZABDPB.js";
|
|
72
72
|
import {
|
|
73
73
|
VALID_PLATFORMS
|
|
74
74
|
} from "./chunk-3ISINLYT.js";
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
validateSolutionsDir,
|
|
174
174
|
writeConfig,
|
|
175
175
|
writeLockfile
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-5O3PNHUQ.js";
|
|
177
177
|
import {
|
|
178
178
|
Err,
|
|
179
179
|
Ok
|
|
@@ -391,7 +391,7 @@ function registerSkillsCommand(adoption) {
|
|
|
391
391
|
const globalOpts = cmd.optsWithGlobals();
|
|
392
392
|
const limit = Math.max(parseInt(opts.limit, 10) || 20, 1);
|
|
393
393
|
const cwd = process.cwd();
|
|
394
|
-
const { readAdoptionRecords, aggregateBySkill } = await import("./dist-
|
|
394
|
+
const { readAdoptionRecords, aggregateBySkill } = await import("./dist-RYZFURLL.js");
|
|
395
395
|
const records = readAdoptionRecords(cwd);
|
|
396
396
|
if (records.length === 0) {
|
|
397
397
|
if (globalOpts.json) {
|
|
@@ -427,7 +427,7 @@ function registerRecentCommand(adoption) {
|
|
|
427
427
|
const globalOpts = cmd.optsWithGlobals();
|
|
428
428
|
const limit = Math.max(parseInt(opts.limit, 10) || 20, 1);
|
|
429
429
|
const cwd = process.cwd();
|
|
430
|
-
const { readAdoptionRecords } = await import("./dist-
|
|
430
|
+
const { readAdoptionRecords } = await import("./dist-RYZFURLL.js");
|
|
431
431
|
const records = readAdoptionRecords(cwd);
|
|
432
432
|
if (records.length === 0) {
|
|
433
433
|
if (globalOpts.json) {
|
|
@@ -505,7 +505,7 @@ function registerSkillCommand(adoption) {
|
|
|
505
505
|
adoption.command("skill <name>").description("Show detail for a specific skill").action(async (name, _opts, cmd) => {
|
|
506
506
|
const globalOpts = cmd.optsWithGlobals();
|
|
507
507
|
const cwd = process.cwd();
|
|
508
|
-
const { readAdoptionRecords, aggregateBySkill } = await import("./dist-
|
|
508
|
+
const { readAdoptionRecords, aggregateBySkill } = await import("./dist-RYZFURLL.js");
|
|
509
509
|
const records = readAdoptionRecords(cwd);
|
|
510
510
|
const skillRecords = records.filter((r) => r.skill === name);
|
|
511
511
|
if (skillRecords.length === 0) {
|
|
@@ -5984,7 +5984,7 @@ function createMcpCommand() {
|
|
|
5984
5984
|
parseBudget
|
|
5985
5985
|
).action(async (opts) => {
|
|
5986
5986
|
const [{ startServer: startServer2, getToolDefinitions: getToolDefinitions2 }, { selectTier }] = await Promise.all([
|
|
5987
|
-
import("./mcp-
|
|
5987
|
+
import("./mcp-BMCVFQJG.js"),
|
|
5988
5988
|
import("./tool-tiers-QVWKAZX4.js")
|
|
5989
5989
|
]);
|
|
5990
5990
|
if (opts.tools && opts.tools.length > 0) {
|
|
@@ -6480,7 +6480,7 @@ function registerBenchCommand(perf) {
|
|
|
6480
6480
|
perf.command("bench [glob]").description("Run benchmarks via vitest bench").action(async (glob2, _opts, cmd) => {
|
|
6481
6481
|
const globalOpts = cmd.optsWithGlobals();
|
|
6482
6482
|
const cwd = process.cwd();
|
|
6483
|
-
const { BenchmarkRunner } = await import("./dist-
|
|
6483
|
+
const { BenchmarkRunner } = await import("./dist-RYZFURLL.js");
|
|
6484
6484
|
const runner = new BenchmarkRunner();
|
|
6485
6485
|
const benchFiles = runner.discover(cwd, glob2);
|
|
6486
6486
|
if (benchFiles.length === 0) {
|
|
@@ -6544,7 +6544,7 @@ async function runBaselinesShow(globalOpts) {
|
|
|
6544
6544
|
}
|
|
6545
6545
|
async function runBaselinesUpdate(globalOpts) {
|
|
6546
6546
|
const cwd = process.cwd();
|
|
6547
|
-
const { BenchmarkRunner } = await import("./dist-
|
|
6547
|
+
const { BenchmarkRunner } = await import("./dist-RYZFURLL.js");
|
|
6548
6548
|
const runner = new BenchmarkRunner();
|
|
6549
6549
|
const manager = new BaselineManager(cwd);
|
|
6550
6550
|
logger.info("Running benchmarks to update baselines...");
|
|
@@ -6585,7 +6585,7 @@ function registerReportCommand(perf) {
|
|
|
6585
6585
|
perf.command("report").description("Full performance report with metrics, trends, and hotspots").action(async (_opts, cmd) => {
|
|
6586
6586
|
const globalOpts = cmd.optsWithGlobals();
|
|
6587
6587
|
const cwd = process.cwd();
|
|
6588
|
-
const { EntropyAnalyzer: EntropyAnalyzer2 } = await import("./dist-
|
|
6588
|
+
const { EntropyAnalyzer: EntropyAnalyzer2 } = await import("./dist-RYZFURLL.js");
|
|
6589
6589
|
const analyzer = new EntropyAnalyzer2({
|
|
6590
6590
|
rootDir: path42.resolve(cwd),
|
|
6591
6591
|
analyze: { complexity: true, coupling: true }
|
|
@@ -7001,7 +7001,7 @@ async function runPublishAnalyses(opts) {
|
|
|
7001
7001
|
const nameToExternalId = await buildNameToExternalIdMap(projectPath);
|
|
7002
7002
|
if (!nameToExternalId) return process.exit(1);
|
|
7003
7003
|
const { AnalysisArchive } = await import("@harness-engineering/orchestrator");
|
|
7004
|
-
const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-
|
|
7004
|
+
const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-RYZFURLL.js");
|
|
7005
7005
|
const archive = new AnalysisArchive(path44.join(projectPath, ".harness", "analyses"));
|
|
7006
7006
|
const analyses = await archive.list();
|
|
7007
7007
|
if (analyses.length === 0) {
|
|
@@ -9493,7 +9493,7 @@ async function runSyncAnalyses(opts) {
|
|
|
9493
9493
|
return;
|
|
9494
9494
|
}
|
|
9495
9495
|
const { AnalysisArchive, loadPublishedIndex: loadPublishedIndex2, savePublishedIndex: savePublishedIndex2 } = await import("@harness-engineering/orchestrator");
|
|
9496
|
-
const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-
|
|
9496
|
+
const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-RYZFURLL.js");
|
|
9497
9497
|
const adapter = new GitHubIssuesSyncAdapter2({ token, config: trackerConfig });
|
|
9498
9498
|
const archive = new AnalysisArchive(path62.join(projectPath, ".harness", "analyses"));
|
|
9499
9499
|
const publishedIndex = loadPublishedIndex2(projectPath);
|
|
@@ -10625,7 +10625,7 @@ function createUpdateCommand() {
|
|
|
10625
10625
|
// src/commands/usage.ts
|
|
10626
10626
|
import { Command as Command94 } from "commander";
|
|
10627
10627
|
async function loadAndPriceRecords(cwd, includeClaudeSessions = false) {
|
|
10628
|
-
const { readCostRecords, loadPricingData, calculateCost, parseCCRecords } = await import("./dist-
|
|
10628
|
+
const { readCostRecords, loadPricingData, calculateCost, parseCCRecords } = await import("./dist-RYZFURLL.js");
|
|
10629
10629
|
const records = readCostRecords(cwd);
|
|
10630
10630
|
if (includeClaudeSessions) {
|
|
10631
10631
|
const ccRecords = parseCCRecords();
|
|
@@ -10718,7 +10718,7 @@ function registerDailyCommand(usage) {
|
|
|
10718
10718
|
else logger.info("No usage data found. Run some harness sessions first.");
|
|
10719
10719
|
return;
|
|
10720
10720
|
}
|
|
10721
|
-
const { aggregateByDay } = await import("./dist-
|
|
10721
|
+
const { aggregateByDay } = await import("./dist-RYZFURLL.js");
|
|
10722
10722
|
const limited = aggregateByDay(records).slice(0, days);
|
|
10723
10723
|
if (globalOpts.json) {
|
|
10724
10724
|
console.log(
|
|
@@ -10747,7 +10747,7 @@ function registerSessionsCommand(usage) {
|
|
|
10747
10747
|
}
|
|
10748
10748
|
return;
|
|
10749
10749
|
}
|
|
10750
|
-
const { aggregateBySession } = await import("./dist-
|
|
10750
|
+
const { aggregateBySession } = await import("./dist-RYZFURLL.js");
|
|
10751
10751
|
const sessionData = aggregateBySession(records);
|
|
10752
10752
|
const limited = sessionData.slice(0, limit);
|
|
10753
10753
|
if (globalOpts.json) {
|
|
@@ -10827,7 +10827,7 @@ function registerSessionCommand(usage) {
|
|
|
10827
10827
|
cwd,
|
|
10828
10828
|
globalOpts.includeClaudeSessions
|
|
10829
10829
|
);
|
|
10830
|
-
const { aggregateBySession } = await import("./dist-
|
|
10830
|
+
const { aggregateBySession } = await import("./dist-RYZFURLL.js");
|
|
10831
10831
|
const sessionData = aggregateBySession(records);
|
|
10832
10832
|
const match = sessionData.find((s) => s.sessionId === id);
|
|
10833
10833
|
if (!match) {
|
|
@@ -10862,7 +10862,7 @@ function registerLatestCommand(usage) {
|
|
|
10862
10862
|
}
|
|
10863
10863
|
return;
|
|
10864
10864
|
}
|
|
10865
|
-
const { aggregateBySession } = await import("./dist-
|
|
10865
|
+
const { aggregateBySession } = await import("./dist-RYZFURLL.js");
|
|
10866
10866
|
const sessionData = aggregateBySession(records);
|
|
10867
10867
|
const latest = sessionData[0];
|
|
10868
10868
|
if (!latest) {
|
|
@@ -11031,7 +11031,7 @@ function resolveValidateMode(globalOpts) {
|
|
|
11031
11031
|
return OutputMode.TEXT;
|
|
11032
11032
|
}
|
|
11033
11033
|
async function printCrossCheckWarnings(mode) {
|
|
11034
|
-
const { runCrossCheck: runCrossCheck2 } = await import("./validate-cross-check-
|
|
11034
|
+
const { runCrossCheck: runCrossCheck2 } = await import("./validate-cross-check-3QIA7O4F.js");
|
|
11035
11035
|
const cwd = process.cwd();
|
|
11036
11036
|
const crossResult = await runCrossCheck2({
|
|
11037
11037
|
specsDir: path67.join(cwd, "docs", "specs"),
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-W6Y7ZW3Y.js";
|
|
7
7
|
import {
|
|
8
8
|
init_dist
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5O3PNHUQ.js";
|
|
10
10
|
import {
|
|
11
11
|
Ok
|
|
12
12
|
} from "./chunk-O63AAPIZ.js";
|
|
@@ -127,7 +127,7 @@ function buildSummaryResponse(report) {
|
|
|
127
127
|
}
|
|
128
128
|
async function handleDetectEntropy(input) {
|
|
129
129
|
try {
|
|
130
|
-
const { EntropyAnalyzer } = await import("./dist-
|
|
130
|
+
const { EntropyAnalyzer } = await import("./dist-RYZFURLL.js");
|
|
131
131
|
const typeFilter = input.type ?? "all";
|
|
132
132
|
const analyzer = new EntropyAnalyzer({
|
|
133
133
|
rootDir: sanitizePath(input.path),
|
|
@@ -146,7 +146,7 @@ async function handleDetectEntropy(input) {
|
|
|
146
146
|
return resultToMcpResponse(result);
|
|
147
147
|
}
|
|
148
148
|
if (!result.ok) return resultToMcpResponse(result);
|
|
149
|
-
const { createFixes, applyFixes, generateSuggestions } = await import("./dist-
|
|
149
|
+
const { createFixes, applyFixes, generateSuggestions } = await import("./dist-RYZFURLL.js");
|
|
150
150
|
const report = result.value;
|
|
151
151
|
const deadCode = report.deadCode;
|
|
152
152
|
const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;
|
|
@@ -27,7 +27,7 @@ var runSecurityScanDefinition = {
|
|
|
27
27
|
};
|
|
28
28
|
async function handleRunSecurityScan(input) {
|
|
29
29
|
try {
|
|
30
|
-
const core = await import("./dist-
|
|
30
|
+
const core = await import("./dist-RYZFURLL.js");
|
|
31
31
|
const projectRoot = sanitizePath(input.path);
|
|
32
32
|
let configData = {};
|
|
33
33
|
try {
|
|
@@ -114,7 +114,7 @@ var getSecurityTrendsDefinition = {
|
|
|
114
114
|
};
|
|
115
115
|
async function handleGetSecurityTrends(input) {
|
|
116
116
|
try {
|
|
117
|
-
const core = await import("./dist-
|
|
117
|
+
const core = await import("./dist-RYZFURLL.js");
|
|
118
118
|
const projectRoot = sanitizePath(input.path);
|
|
119
119
|
const manager = new core.SecurityTimelineManager(projectRoot);
|
|
120
120
|
const trendOptions = {};
|
|
@@ -72,7 +72,7 @@ async function handleAssessProject(input) {
|
|
|
72
72
|
let validateResult = null;
|
|
73
73
|
if (checksToRun.has("validate")) {
|
|
74
74
|
try {
|
|
75
|
-
const { handleValidateProject } = await import("./validate-
|
|
75
|
+
const { handleValidateProject } = await import("./validate-QWQMHJFD.js");
|
|
76
76
|
const result = await handleValidateProject({ path: projectPath });
|
|
77
77
|
const out = parseToolResponse(result, "validate");
|
|
78
78
|
if ("error" in out) {
|
|
@@ -101,7 +101,7 @@ async function handleAssessProject(input) {
|
|
|
101
101
|
parallelChecks.push(
|
|
102
102
|
(async () => {
|
|
103
103
|
try {
|
|
104
|
-
const { handleCheckDependencies } = await import("./architecture-
|
|
104
|
+
const { handleCheckDependencies } = await import("./architecture-TUJ2FWM7.js");
|
|
105
105
|
const result = await handleCheckDependencies({ path: projectPath });
|
|
106
106
|
const out = parseToolResponse(result, "deps");
|
|
107
107
|
if ("error" in out) return out.error;
|
|
@@ -129,7 +129,7 @@ async function handleAssessProject(input) {
|
|
|
129
129
|
parallelChecks.push(
|
|
130
130
|
(async () => {
|
|
131
131
|
try {
|
|
132
|
-
const { handleCheckDocs } = await import("./docs-
|
|
132
|
+
const { handleCheckDocs } = await import("./docs-VVCOB35D.js");
|
|
133
133
|
const result = await handleCheckDocs({ path: projectPath, scope: "coverage" });
|
|
134
134
|
const out = parseToolResponse(result, "docs");
|
|
135
135
|
if ("error" in out) return out.error;
|
|
@@ -157,7 +157,7 @@ async function handleAssessProject(input) {
|
|
|
157
157
|
parallelChecks.push(
|
|
158
158
|
(async () => {
|
|
159
159
|
try {
|
|
160
|
-
const { handleDetectEntropy } = await import("./entropy-
|
|
160
|
+
const { handleDetectEntropy } = await import("./entropy-TNA7IRJY.js");
|
|
161
161
|
const result = await handleDetectEntropy({ path: projectPath, type: "all" });
|
|
162
162
|
const out = parseToolResponse(result, "entropy");
|
|
163
163
|
if ("error" in out) return out.error;
|
|
@@ -188,7 +188,7 @@ async function handleAssessProject(input) {
|
|
|
188
188
|
parallelChecks.push(
|
|
189
189
|
(async () => {
|
|
190
190
|
try {
|
|
191
|
-
const { handleRunSecurityScan } = await import("./security-
|
|
191
|
+
const { handleRunSecurityScan } = await import("./security-UISVYDES.js");
|
|
192
192
|
const result = await handleRunSecurityScan({ path: projectPath });
|
|
193
193
|
const out = parseToolResponse(result, "security");
|
|
194
194
|
if ("error" in out) return out.error;
|
|
@@ -221,7 +221,7 @@ async function handleAssessProject(input) {
|
|
|
221
221
|
parallelChecks.push(
|
|
222
222
|
(async () => {
|
|
223
223
|
try {
|
|
224
|
-
const { handleCheckPerformance } = await import("./performance-
|
|
224
|
+
const { handleCheckPerformance } = await import("./performance-HH7SQOTB.js");
|
|
225
225
|
const result = await handleCheckPerformance({ path: projectPath });
|
|
226
226
|
if ("isError" in result && result.isError) {
|
|
227
227
|
const msg = result.content[0]?.text ?? "Performance check failed";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
findConfigFile,
|
|
9
9
|
loadConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GNZABDPB.js";
|
|
11
11
|
import {
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5O3PNHUQ.js";
|
|
14
14
|
import {
|
|
15
15
|
Ok
|
|
16
16
|
} from "./chunk-O63AAPIZ.js";
|
|
@@ -50,12 +50,12 @@ async function handleCheckDocs(input) {
|
|
|
50
50
|
const projectPath = sanitizePath(input.path);
|
|
51
51
|
const scope = input.scope ?? "coverage";
|
|
52
52
|
if (scope === "integrity") {
|
|
53
|
-
const { validateKnowledgeMap } = await import("./dist-
|
|
53
|
+
const { validateKnowledgeMap } = await import("./dist-RYZFURLL.js");
|
|
54
54
|
const result2 = await validateKnowledgeMap(projectPath);
|
|
55
55
|
return resultToMcpResponse(result2);
|
|
56
56
|
}
|
|
57
57
|
if (scope === "all") {
|
|
58
|
-
const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-
|
|
58
|
+
const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-RYZFURLL.js");
|
|
59
59
|
const domain2 = input.domain ?? "src";
|
|
60
60
|
const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-EQBOIHFZ.js");
|
|
61
61
|
const store2 = await loadGraphStore2(projectPath);
|
|
@@ -94,7 +94,7 @@ async function handleCheckDocs(input) {
|
|
|
94
94
|
}
|
|
95
95
|
return resultToMcpResponse(Ok({ coverage, integrity }));
|
|
96
96
|
}
|
|
97
|
-
const { checkDocCoverage } = await import("./dist-
|
|
97
|
+
const { checkDocCoverage } = await import("./dist-RYZFURLL.js");
|
|
98
98
|
const domain = input.domain ?? "src";
|
|
99
99
|
const { loadGraphStore } = await import("./graph-loader-EQBOIHFZ.js");
|
|
100
100
|
const store = await loadGraphStore(projectPath);
|