@harness-engineering/cli 2.4.0 → 2.4.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/agents-md-2M46KG4F.js +10 -0
- package/dist/{architecture-I2G7PNQB.js → architecture-3ZSN5RDQ.js} +5 -5
- package/dist/{assess-project-LO6NCLE7.js → assess-project-KZWFQEJE.js} +5 -3
- package/dist/bin/harness-mcp.js +16 -16
- package/dist/bin/harness.js +29 -27
- package/dist/{check-phase-gate-52SQFNJB.js → check-phase-gate-EWV5VYTG.js} +5 -5
- package/dist/{chunk-GDJ2MRYH.js → chunk-2TGCYJMT.js} +259 -5
- package/dist/{chunk-TIQU5VY7.js → chunk-5FDBXUFW.js} +1 -1
- package/dist/{chunk-7BNK4M23.js → chunk-5XLLIYYL.js} +1 -1
- package/dist/{chunk-U4XK4BB3.js → chunk-73KZ2E47.js} +9 -9
- package/dist/{chunk-NGCM4B4V.js → chunk-7RZZV73V.js} +5 -5
- package/dist/{chunk-WY2J54IZ.js → chunk-B2ZYMQGT.js} +64 -30
- package/dist/{chunk-XPRGWHBL.js → chunk-BCFDGOMA.js} +1 -1
- package/dist/{chunk-27EHWQPK.js → chunk-GLKASJZE.js} +6 -6
- package/dist/{chunk-TCR5PKMU.js → chunk-GOSUZC5H.js} +514 -208
- package/dist/{chunk-MQRKPF46.js → chunk-I2KULMPD.js} +10 -10
- package/dist/{chunk-4XB37LST.js → chunk-IEHXZB6J.js} +9 -9
- package/dist/{chunk-5YOHXTK3.js → chunk-KOK7BFP2.js} +3 -3
- package/dist/{chunk-2L2A6W6I.js → chunk-KRQTN46U.js} +3 -3
- package/dist/{chunk-GN2CSZC6.js → chunk-LHHO7AH4.js} +3 -3
- package/dist/{chunk-OFMQEUYN.js → chunk-LJF6UY4R.js} +2 -2
- package/dist/{chunk-KPWUZSHL.js → chunk-MXOQEI72.js} +25 -8
- package/dist/{chunk-54JTO4NZ.js → chunk-NM3ZIWVN.js} +2 -2
- package/dist/{chunk-JGPOQJ73.js → chunk-NTOKQJOX.js} +2 -2
- package/dist/chunk-O63AAPIZ.js +190 -0
- package/dist/{chunk-TVJZX53C.js → chunk-OUXYITL5.js} +2 -2
- package/dist/{chunk-MSBVH6ER.js → chunk-PPQ3TY2R.js} +2 -2
- package/dist/{chunk-RYVL76ZF.js → chunk-QV5EBDWA.js} +1 -1
- package/dist/{chunk-FJJYQWUP.js → chunk-RRTTJ3VB.js} +2 -2
- package/dist/{chunk-Q43LM7CO.js → chunk-TPNA2I4J.js} +206 -97
- package/dist/{chunk-RZASDABE.js → chunk-UPV7VDUB.js} +2 -2
- package/dist/{chunk-DJRRTZGD.js → chunk-UQJV7NNM.js} +2 -2
- package/dist/ci-workflow-5TBUHJFC.js +10 -0
- package/dist/{dist-ZJGFXGIB.js → dist-HA6IIPRC.js} +39 -3
- package/dist/dist-O733ZU6I.js +49 -0
- package/dist/{dist-SQAOKWXM.js → dist-QPWXPCPL.js} +1 -1
- package/dist/{docs-7CW7WUFB.js → docs-D6WI2LCF.js} +5 -5
- package/dist/engine-GBEVIZZQ.js +10 -0
- package/dist/{entropy-P6QELTFA.js → entropy-V6M4KJDC.js} +4 -4
- package/dist/{feedback-PJWCDRRZ.js → feedback-22I4HHXM.js} +1 -1
- package/dist/{generate-agent-definitions-ONDIJHHK.js → generate-agent-definitions-UM7T3WLA.js} +5 -5
- package/dist/{glob-helper-JE3MO4UD.js → glob-helper-XE2UGEOV.js} +1 -1
- package/dist/{graph-loader-TJU4E7KL.js → graph-loader-EQBOIHFZ.js} +1 -1
- package/dist/index.d.ts +100 -10
- package/dist/index.js +26 -26
- package/dist/loader-5V72NYMF.js +12 -0
- package/dist/{mcp-UUNLS3MC.js → mcp-5KQGFG5U.js} +16 -16
- package/dist/{performance-7X3EFAOD.js → performance-MVORVVMG.js} +5 -5
- package/dist/{review-pipeline-GAJ22PBC.js → review-pipeline-JYSVCNGJ.js} +4 -4
- package/dist/runtime-KZC2OQI7.js +11 -0
- package/dist/{scan-SFX5U3TE.js → scan-4PPP6ZXT.js} +1 -1
- package/dist/{security-ZSU643D7.js → security-WOVOBLCI.js} +1 -1
- package/dist/{tool-tiers-7QGZ3FKY.js → tool-tiers-QVWKAZX4.js} +5 -1
- package/dist/{validate-IDX6RI3U.js → validate-55HGQKWR.js} +5 -5
- package/dist/validate-cross-check-H3PSV4VY.js +10 -0
- package/package.json +6 -6
- package/dist/agents-md-ROTDQOXM.js +0 -10
- package/dist/chunk-RL4VMEXL.js +0 -53
- package/dist/ci-workflow-MYBH64CR.js +0 -10
- package/dist/dist-3EWNRFFQ.js +0 -21
- package/dist/engine-Y75QZW6N.js +0 -10
- package/dist/loader-DQRNWKOZ.js +0 -12
- package/dist/runtime-6TK6U72R.js +0 -11
- package/dist/validate-cross-check-5YEWZ3EW.js +0 -10
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
init_dist,
|
|
6
6
|
paginate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2TGCYJMT.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/review-pipeline.ts
|
|
10
10
|
init_dist();
|
|
@@ -79,7 +79,7 @@ var runCodeReviewDefinition = {
|
|
|
79
79
|
};
|
|
80
80
|
async function handleRunCodeReview(input) {
|
|
81
81
|
try {
|
|
82
|
-
const { parseDiff, runReviewPipeline } = await import("./dist-
|
|
82
|
+
const { parseDiff, runReviewPipeline } = await import("./dist-HA6IIPRC.js");
|
|
83
83
|
const parseResult = parseDiff(input.diff);
|
|
84
84
|
if (!parseResult.ok) {
|
|
85
85
|
return {
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
CINotifier,
|
|
24
24
|
COMPLIANCE_DESCRIPTOR,
|
|
25
25
|
CORROBORATED_AGREEMENT,
|
|
26
|
+
CacheMetricsRecorder,
|
|
26
27
|
CategoryBaselineSchema,
|
|
27
28
|
CategoryForecastSchema,
|
|
28
29
|
CategoryRegressionSchema,
|
|
@@ -88,6 +89,7 @@ import {
|
|
|
88
89
|
NoOpExecutor,
|
|
89
90
|
NoOpSink,
|
|
90
91
|
NoOpTelemetryAdapter,
|
|
92
|
+
OTLPExporter,
|
|
91
93
|
OpenAICacheAdapter,
|
|
92
94
|
PII_FIELD_DENYLIST,
|
|
93
95
|
PII_LINE_RE,
|
|
@@ -125,6 +127,7 @@ import {
|
|
|
125
127
|
SharableSecurityRulesSchema,
|
|
126
128
|
SkillEventSchema,
|
|
127
129
|
SolutionDocFrontmatterSchema,
|
|
130
|
+
SpanKind,
|
|
128
131
|
SpecImpactEstimateSchema,
|
|
129
132
|
SpecImpactEstimator,
|
|
130
133
|
SpecImpactSignalsSchema,
|
|
@@ -294,6 +297,7 @@ import {
|
|
|
294
297
|
init_dist,
|
|
295
298
|
injectionRules,
|
|
296
299
|
insecureDefaultsRules,
|
|
300
|
+
invalidateCheckState,
|
|
297
301
|
isBadPort,
|
|
298
302
|
isDuplicateFinding,
|
|
299
303
|
isRegression,
|
|
@@ -448,17 +452,31 @@ import {
|
|
|
448
452
|
writeSessionSummary,
|
|
449
453
|
writeTaint,
|
|
450
454
|
xssRules
|
|
451
|
-
} from "./chunk-
|
|
455
|
+
} from "./chunk-2TGCYJMT.js";
|
|
452
456
|
import {
|
|
457
|
+
AuthAuditEntrySchema,
|
|
458
|
+
AuthTokenPublicSchema,
|
|
459
|
+
AuthTokenSchema,
|
|
460
|
+
BridgeKindSchema,
|
|
453
461
|
DEFAULT_SKILL_CONTEXT_BUDGET,
|
|
454
462
|
Err,
|
|
463
|
+
GatewayEventSchema,
|
|
464
|
+
OTLPKeyValueSchema,
|
|
465
|
+
OTLPSpanSchema,
|
|
455
466
|
Ok,
|
|
467
|
+
PromptCacheStatsSchema,
|
|
456
468
|
SESSION_SECTION_NAMES,
|
|
457
469
|
STANDARD_COGNITIVE_MODES,
|
|
470
|
+
TokenScopeSchema,
|
|
471
|
+
TrajectoryMetadataSchema,
|
|
472
|
+
WebhookDeliverySchema,
|
|
473
|
+
WebhookDeliveryStatusSchema,
|
|
474
|
+
WebhookSubscriptionPublicSchema,
|
|
475
|
+
WebhookSubscriptionSchema,
|
|
458
476
|
isErr,
|
|
459
477
|
isOk
|
|
460
|
-
} from "./chunk-
|
|
461
|
-
import "./chunk-
|
|
478
|
+
} from "./chunk-O63AAPIZ.js";
|
|
479
|
+
import "./chunk-BCFDGOMA.js";
|
|
462
480
|
import "./chunk-KFQGP6VL.js";
|
|
463
481
|
init_dist();
|
|
464
482
|
export {
|
|
@@ -475,17 +493,22 @@ export {
|
|
|
475
493
|
ArchConfigSchema,
|
|
476
494
|
ArchDiffResultSchema,
|
|
477
495
|
ArchMetricCategorySchema,
|
|
496
|
+
AuthAuditEntrySchema,
|
|
497
|
+
AuthTokenPublicSchema,
|
|
498
|
+
AuthTokenSchema,
|
|
478
499
|
BUG_DETECTION_DESCRIPTOR,
|
|
479
500
|
BUG_TRACK_CATEGORIES,
|
|
480
501
|
BaselineManager,
|
|
481
502
|
BenchmarkRunner,
|
|
482
503
|
BlueprintGenerator,
|
|
504
|
+
BridgeKindSchema,
|
|
483
505
|
BundleConstraintsSchema,
|
|
484
506
|
BundleSchema,
|
|
485
507
|
CACHE_TTL_MS,
|
|
486
508
|
CINotifier,
|
|
487
509
|
COMPLIANCE_DESCRIPTOR,
|
|
488
510
|
CORROBORATED_AGREEMENT,
|
|
511
|
+
CacheMetricsRecorder,
|
|
489
512
|
CategoryBaselineSchema,
|
|
490
513
|
CategoryForecastSchema,
|
|
491
514
|
CategoryRegressionSchema,
|
|
@@ -535,6 +558,7 @@ export {
|
|
|
535
558
|
ForbiddenImportCollector,
|
|
536
559
|
GateConfigSchema,
|
|
537
560
|
GateResultSchema,
|
|
561
|
+
GatewayEventSchema,
|
|
538
562
|
GeminiCacheAdapter,
|
|
539
563
|
GitHubIssuesSyncAdapter,
|
|
540
564
|
HandoffSchema,
|
|
@@ -552,6 +576,9 @@ export {
|
|
|
552
576
|
NoOpExecutor,
|
|
553
577
|
NoOpSink,
|
|
554
578
|
NoOpTelemetryAdapter,
|
|
579
|
+
OTLPExporter,
|
|
580
|
+
OTLPKeyValueSchema,
|
|
581
|
+
OTLPSpanSchema,
|
|
555
582
|
Ok,
|
|
556
583
|
OpenAICacheAdapter,
|
|
557
584
|
PII_FIELD_DENYLIST,
|
|
@@ -564,6 +591,7 @@ export {
|
|
|
564
591
|
PredictionResultSchema,
|
|
565
592
|
PredictionWarningSchema,
|
|
566
593
|
ProjectScanner,
|
|
594
|
+
PromptCacheStatsSchema,
|
|
567
595
|
PulseAdapterAlreadyRegisteredError,
|
|
568
596
|
PulseConfigSchema,
|
|
569
597
|
PulseDbSourceSchema,
|
|
@@ -593,6 +621,7 @@ export {
|
|
|
593
621
|
SharableSecurityRulesSchema,
|
|
594
622
|
SkillEventSchema,
|
|
595
623
|
SolutionDocFrontmatterSchema,
|
|
624
|
+
SpanKind,
|
|
596
625
|
SpecImpactEstimateSchema,
|
|
597
626
|
SpecImpactEstimator,
|
|
598
627
|
SpecImpactSignalsSchema,
|
|
@@ -607,6 +636,8 @@ export {
|
|
|
607
636
|
TimelineFileSchema,
|
|
608
637
|
TimelineManager,
|
|
609
638
|
TimelineSnapshotSchema,
|
|
639
|
+
TokenScopeSchema,
|
|
640
|
+
TrajectoryMetadataSchema,
|
|
610
641
|
TransitionSchema,
|
|
611
642
|
TrendAttributionSchema,
|
|
612
643
|
TrendLineSchema,
|
|
@@ -621,6 +652,10 @@ export {
|
|
|
621
652
|
ViolationSchema,
|
|
622
653
|
ViolationSnapshotSchema,
|
|
623
654
|
WHATWG_BAD_PORTS,
|
|
655
|
+
WebhookDeliverySchema,
|
|
656
|
+
WebhookDeliveryStatusSchema,
|
|
657
|
+
WebhookSubscriptionPublicSchema,
|
|
658
|
+
WebhookSubscriptionSchema,
|
|
624
659
|
acquireCompoundLock,
|
|
625
660
|
addProvenance,
|
|
626
661
|
agentConfigRules,
|
|
@@ -761,6 +796,7 @@ export {
|
|
|
761
796
|
goRules,
|
|
762
797
|
injectionRules,
|
|
763
798
|
insecureDefaultsRules,
|
|
799
|
+
invalidateCheckState,
|
|
764
800
|
isBadPort,
|
|
765
801
|
isDuplicateFinding,
|
|
766
802
|
isErr,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AuthAuditEntrySchema,
|
|
3
|
+
AuthTokenPublicSchema,
|
|
4
|
+
AuthTokenSchema,
|
|
5
|
+
BridgeKindSchema,
|
|
6
|
+
DEFAULT_SKILL_CONTEXT_BUDGET,
|
|
7
|
+
Err,
|
|
8
|
+
GatewayEventSchema,
|
|
9
|
+
OTLPKeyValueSchema,
|
|
10
|
+
OTLPSpanSchema,
|
|
11
|
+
Ok,
|
|
12
|
+
PromptCacheStatsSchema,
|
|
13
|
+
SESSION_SECTION_NAMES,
|
|
14
|
+
STANDARD_COGNITIVE_MODES,
|
|
15
|
+
TokenScopeSchema,
|
|
16
|
+
TrajectoryMetadataSchema,
|
|
17
|
+
WebhookDeliverySchema,
|
|
18
|
+
WebhookDeliveryStatusSchema,
|
|
19
|
+
WebhookSubscriptionPublicSchema,
|
|
20
|
+
WebhookSubscriptionSchema,
|
|
21
|
+
init_dist,
|
|
22
|
+
isErr,
|
|
23
|
+
isOk
|
|
24
|
+
} from "./chunk-O63AAPIZ.js";
|
|
25
|
+
import "./chunk-KFQGP6VL.js";
|
|
26
|
+
init_dist();
|
|
27
|
+
export {
|
|
28
|
+
AuthAuditEntrySchema,
|
|
29
|
+
AuthTokenPublicSchema,
|
|
30
|
+
AuthTokenSchema,
|
|
31
|
+
BridgeKindSchema,
|
|
32
|
+
DEFAULT_SKILL_CONTEXT_BUDGET,
|
|
33
|
+
Err,
|
|
34
|
+
GatewayEventSchema,
|
|
35
|
+
OTLPKeyValueSchema,
|
|
36
|
+
OTLPSpanSchema,
|
|
37
|
+
Ok,
|
|
38
|
+
PromptCacheStatsSchema,
|
|
39
|
+
SESSION_SECTION_NAMES,
|
|
40
|
+
STANDARD_COGNITIVE_MODES,
|
|
41
|
+
TokenScopeSchema,
|
|
42
|
+
TrajectoryMetadataSchema,
|
|
43
|
+
WebhookDeliverySchema,
|
|
44
|
+
WebhookDeliveryStatusSchema,
|
|
45
|
+
WebhookSubscriptionPublicSchema,
|
|
46
|
+
WebhookSubscriptionSchema,
|
|
47
|
+
isErr,
|
|
48
|
+
isOk
|
|
49
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkDocsDefinition,
|
|
3
3
|
handleCheckDocs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I2KULMPD.js";
|
|
5
5
|
import "./chunk-EPUKTTJZ.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MXOQEI72.js";
|
|
8
8
|
import "./chunk-ZCZD7FHU.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-2TGCYJMT.js";
|
|
10
|
+
import "./chunk-O63AAPIZ.js";
|
|
11
|
+
import "./chunk-BCFDGOMA.js";
|
|
12
12
|
import "./chunk-3WGJMBKH.js";
|
|
13
13
|
import "./chunk-KFQGP6VL.js";
|
|
14
14
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectEntropyDefinition,
|
|
3
3
|
handleDetectEntropy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GLKASJZE.js";
|
|
5
5
|
import "./chunk-EPUKTTJZ.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-2TGCYJMT.js";
|
|
8
|
+
import "./chunk-O63AAPIZ.js";
|
|
9
|
+
import "./chunk-BCFDGOMA.js";
|
|
10
10
|
import "./chunk-KFQGP6VL.js";
|
|
11
11
|
export {
|
|
12
12
|
detectEntropyDefinition,
|
package/dist/{generate-agent-definitions-ONDIJHHK.js → generate-agent-definitions-UM7T3WLA.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGenerateAgentDefinitionsCommand,
|
|
3
3
|
generateAgentDefinitions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QV5EBDWA.js";
|
|
5
5
|
import "./chunk-KET4QQZB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-NTOKQJOX.js";
|
|
7
7
|
import "./chunk-3ISINLYT.js";
|
|
8
8
|
import "./chunk-6B6UN6SG.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-2TGCYJMT.js";
|
|
10
|
+
import "./chunk-O63AAPIZ.js";
|
|
11
|
+
import "./chunk-BCFDGOMA.js";
|
|
12
12
|
import "./chunk-3WGJMBKH.js";
|
|
13
13
|
import "./chunk-KFQGP6VL.js";
|
|
14
14
|
export {
|
package/dist/index.d.ts
CHANGED
|
@@ -788,14 +788,14 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
788
788
|
modules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["circular-deps", "layer-violations", "complexity", "coupling", "forbidden-imports", "module-size", "dependency-depth"]>, z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>>>;
|
|
789
789
|
}, "strip", z.ZodTypeAny, {
|
|
790
790
|
enabled: boolean;
|
|
791
|
-
thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
792
|
-
modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
793
791
|
baselinePath: string;
|
|
792
|
+
thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
793
|
+
modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
794
794
|
}, {
|
|
795
795
|
enabled?: boolean | undefined;
|
|
796
|
-
thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
797
|
-
modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
798
796
|
baselinePath?: string | undefined;
|
|
797
|
+
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
798
|
+
modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
799
799
|
}>>;
|
|
800
800
|
/** Skill loading, suggestion, and tier override settings */
|
|
801
801
|
skills: z.ZodOptional<z.ZodObject<{
|
|
@@ -957,14 +957,75 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
957
957
|
ignore?: string[] | undefined;
|
|
958
958
|
} | undefined;
|
|
959
959
|
}>>;
|
|
960
|
-
/** Central telemetry
|
|
960
|
+
/** Central telemetry + trace export settings */
|
|
961
961
|
telemetry: z.ZodOptional<z.ZodObject<{
|
|
962
|
-
/** Whether anonymous telemetry is enabled (default: true) */
|
|
962
|
+
/** Whether anonymous central telemetry (PostHog) is enabled (default: true). */
|
|
963
963
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
964
|
+
/** Trace exporter configuration. Currently the only export channel is OTLP/HTTP. */
|
|
965
|
+
export: z.ZodOptional<z.ZodObject<{
|
|
966
|
+
otlp: z.ZodOptional<z.ZodObject<{
|
|
967
|
+
/** Full URL to the OTLP/HTTP traces ingestion endpoint. */
|
|
968
|
+
endpoint: z.ZodString;
|
|
969
|
+
/** Whether the exporter is active. Default: true. */
|
|
970
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
971
|
+
/** Optional headers forwarded on every flush (e.g. collector auth tokens). */
|
|
972
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
973
|
+
/** Flush cadence in milliseconds. Default: 2000. */
|
|
974
|
+
flushIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
975
|
+
/** Maximum buffered spans before forcing an early flush. Default: 64. */
|
|
976
|
+
batchSize: z.ZodDefault<z.ZodNumber>;
|
|
977
|
+
}, "strip", z.ZodTypeAny, {
|
|
978
|
+
enabled: boolean;
|
|
979
|
+
endpoint: string;
|
|
980
|
+
flushIntervalMs: number;
|
|
981
|
+
batchSize: number;
|
|
982
|
+
headers?: Record<string, string> | undefined;
|
|
983
|
+
}, {
|
|
984
|
+
endpoint: string;
|
|
985
|
+
enabled?: boolean | undefined;
|
|
986
|
+
headers?: Record<string, string> | undefined;
|
|
987
|
+
flushIntervalMs?: number | undefined;
|
|
988
|
+
batchSize?: number | undefined;
|
|
989
|
+
}>>;
|
|
990
|
+
}, "strip", z.ZodTypeAny, {
|
|
991
|
+
otlp?: {
|
|
992
|
+
enabled: boolean;
|
|
993
|
+
endpoint: string;
|
|
994
|
+
flushIntervalMs: number;
|
|
995
|
+
batchSize: number;
|
|
996
|
+
headers?: Record<string, string> | undefined;
|
|
997
|
+
} | undefined;
|
|
998
|
+
}, {
|
|
999
|
+
otlp?: {
|
|
1000
|
+
endpoint: string;
|
|
1001
|
+
enabled?: boolean | undefined;
|
|
1002
|
+
headers?: Record<string, string> | undefined;
|
|
1003
|
+
flushIntervalMs?: number | undefined;
|
|
1004
|
+
batchSize?: number | undefined;
|
|
1005
|
+
} | undefined;
|
|
1006
|
+
}>>;
|
|
964
1007
|
}, "strip", z.ZodTypeAny, {
|
|
965
1008
|
enabled: boolean;
|
|
1009
|
+
export?: {
|
|
1010
|
+
otlp?: {
|
|
1011
|
+
enabled: boolean;
|
|
1012
|
+
endpoint: string;
|
|
1013
|
+
flushIntervalMs: number;
|
|
1014
|
+
batchSize: number;
|
|
1015
|
+
headers?: Record<string, string> | undefined;
|
|
1016
|
+
} | undefined;
|
|
1017
|
+
} | undefined;
|
|
966
1018
|
}, {
|
|
967
1019
|
enabled?: boolean | undefined;
|
|
1020
|
+
export?: {
|
|
1021
|
+
otlp?: {
|
|
1022
|
+
endpoint: string;
|
|
1023
|
+
enabled?: boolean | undefined;
|
|
1024
|
+
headers?: Record<string, string> | undefined;
|
|
1025
|
+
flushIntervalMs?: number | undefined;
|
|
1026
|
+
batchSize?: number | undefined;
|
|
1027
|
+
} | undefined;
|
|
1028
|
+
} | undefined;
|
|
968
1029
|
}>>;
|
|
969
1030
|
/** How often (in ms) to check for CLI updates */
|
|
970
1031
|
updateCheckInterval: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1101,9 +1162,9 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
1101
1162
|
} | undefined;
|
|
1102
1163
|
architecture?: {
|
|
1103
1164
|
enabled: boolean;
|
|
1104
|
-
thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
1105
|
-
modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
1106
1165
|
baselinePath: string;
|
|
1166
|
+
thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
1167
|
+
modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
1107
1168
|
} | undefined;
|
|
1108
1169
|
traceability?: {
|
|
1109
1170
|
enabled: boolean;
|
|
@@ -1140,6 +1201,15 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
1140
1201
|
} | undefined;
|
|
1141
1202
|
telemetry?: {
|
|
1142
1203
|
enabled: boolean;
|
|
1204
|
+
export?: {
|
|
1205
|
+
otlp?: {
|
|
1206
|
+
enabled: boolean;
|
|
1207
|
+
endpoint: string;
|
|
1208
|
+
flushIntervalMs: number;
|
|
1209
|
+
batchSize: number;
|
|
1210
|
+
headers?: Record<string, string> | undefined;
|
|
1211
|
+
} | undefined;
|
|
1212
|
+
} | undefined;
|
|
1143
1213
|
} | undefined;
|
|
1144
1214
|
updateCheckInterval?: number | undefined;
|
|
1145
1215
|
graph?: {
|
|
@@ -1269,9 +1339,9 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
1269
1339
|
} | undefined;
|
|
1270
1340
|
architecture?: {
|
|
1271
1341
|
enabled?: boolean | undefined;
|
|
1272
|
-
thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
1273
|
-
modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
1274
1342
|
baselinePath?: string | undefined;
|
|
1343
|
+
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
1344
|
+
modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
1275
1345
|
} | undefined;
|
|
1276
1346
|
traceability?: {
|
|
1277
1347
|
enabled?: boolean | undefined;
|
|
@@ -1308,6 +1378,15 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
1308
1378
|
} | undefined;
|
|
1309
1379
|
telemetry?: {
|
|
1310
1380
|
enabled?: boolean | undefined;
|
|
1381
|
+
export?: {
|
|
1382
|
+
otlp?: {
|
|
1383
|
+
endpoint: string;
|
|
1384
|
+
enabled?: boolean | undefined;
|
|
1385
|
+
headers?: Record<string, string> | undefined;
|
|
1386
|
+
flushIntervalMs?: number | undefined;
|
|
1387
|
+
batchSize?: number | undefined;
|
|
1388
|
+
} | undefined;
|
|
1389
|
+
} | undefined;
|
|
1311
1390
|
} | undefined;
|
|
1312
1391
|
updateCheckInterval?: number | undefined;
|
|
1313
1392
|
graph?: {
|
|
@@ -1775,6 +1854,16 @@ declare function renderClaudeCodeAgent(def: AgentDefinition): string;
|
|
|
1775
1854
|
|
|
1776
1855
|
declare function renderGeminiAgent(def: AgentDefinition): string;
|
|
1777
1856
|
|
|
1857
|
+
/**
|
|
1858
|
+
* Shared MCP tool type definitions.
|
|
1859
|
+
*
|
|
1860
|
+
* Lives in its own module (rather than `server.ts`) so that tool-definition
|
|
1861
|
+
* files like `./tools/gateway-tools.ts` and the tier-allowlist in
|
|
1862
|
+
* `./tool-tiers.ts` can import `ToolDefinition` without creating a circular
|
|
1863
|
+
* dependency back to `server.ts` (which in turn imports each tool's
|
|
1864
|
+
* definition object). Flagged by `harness check-deps` at the end of
|
|
1865
|
+
* Phase 2 — fix landed in the Task 14 exit-gate sweep.
|
|
1866
|
+
*/
|
|
1778
1867
|
type ToolDefinition = {
|
|
1779
1868
|
name: string;
|
|
1780
1869
|
description: string;
|
|
@@ -1782,6 +1871,7 @@ type ToolDefinition = {
|
|
|
1782
1871
|
/** When true, output scanning is skipped for this tool (internal content, not external). */
|
|
1783
1872
|
trustedOutput?: boolean;
|
|
1784
1873
|
};
|
|
1874
|
+
|
|
1785
1875
|
declare function getToolDefinitions(): ToolDefinition[];
|
|
1786
1876
|
declare function createHarnessServer(projectRoot?: string, toolFilter?: string[]): Server;
|
|
1787
1877
|
declare function startServer(toolFilter?: string[]): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -12,22 +12,22 @@ import {
|
|
|
12
12
|
runSnapshotCapture,
|
|
13
13
|
runUninstall,
|
|
14
14
|
runUninstallConstraints
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GOSUZC5H.js";
|
|
16
16
|
import {
|
|
17
17
|
generateRuntime
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OUXYITL5.js";
|
|
19
19
|
import {
|
|
20
20
|
generateAgentsMd
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RRTTJ3VB.js";
|
|
22
22
|
import {
|
|
23
23
|
generateCIWorkflow
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UQJV7NNM.js";
|
|
25
25
|
import {
|
|
26
26
|
runCrossCheck
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PPQ3TY2R.js";
|
|
28
28
|
import {
|
|
29
29
|
TemplateEngine
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NM3ZIWVN.js";
|
|
31
31
|
import "./chunk-CQ553GZO.js";
|
|
32
32
|
import {
|
|
33
33
|
detectTrigger,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
OutputFormatter,
|
|
44
44
|
OutputMode,
|
|
45
45
|
runCheckPhaseGate
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-KOK7BFP2.js";
|
|
47
47
|
import {
|
|
48
48
|
AGENT_DESCRIPTIONS,
|
|
49
49
|
DEFAULT_TOOLS,
|
|
@@ -52,33 +52,33 @@ import {
|
|
|
52
52
|
generateAgentDefinitions,
|
|
53
53
|
renderClaudeCodeAgent,
|
|
54
54
|
renderGeminiAgent
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QV5EBDWA.js";
|
|
56
56
|
import "./chunk-KET4QQZB.js";
|
|
57
57
|
import {
|
|
58
58
|
listPersonas,
|
|
59
59
|
loadPersona
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NTOKQJOX.js";
|
|
61
61
|
import {
|
|
62
62
|
runScan
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-5XLLIYYL.js";
|
|
64
64
|
import {
|
|
65
65
|
createHarnessServer,
|
|
66
66
|
generateSlashCommands,
|
|
67
67
|
getToolDefinitions,
|
|
68
68
|
startServer
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-TPNA2I4J.js";
|
|
70
|
+
import "./chunk-UPV7VDUB.js";
|
|
71
|
+
import "./chunk-B2ZYMQGT.js";
|
|
72
72
|
import "./chunk-IOW3MW2K.js";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-IEHXZB6J.js";
|
|
74
|
+
import "./chunk-LHHO7AH4.js";
|
|
75
|
+
import "./chunk-5FDBXUFW.js";
|
|
76
|
+
import "./chunk-KRQTN46U.js";
|
|
77
|
+
import "./chunk-7RZZV73V.js";
|
|
78
|
+
import "./chunk-LJF6UY4R.js";
|
|
79
|
+
import "./chunk-I2KULMPD.js";
|
|
80
|
+
import "./chunk-GLKASJZE.js";
|
|
81
|
+
import "./chunk-73KZ2E47.js";
|
|
82
82
|
import "./chunk-EPUKTTJZ.js";
|
|
83
83
|
import "./chunk-W6Y7ZW3Y.js";
|
|
84
84
|
import "./chunk-27AJKSQY.js";
|
|
@@ -86,14 +86,14 @@ import {
|
|
|
86
86
|
findConfigFile,
|
|
87
87
|
loadConfig,
|
|
88
88
|
resolveConfig
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-MXOQEI72.js";
|
|
90
90
|
import "./chunk-3ISINLYT.js";
|
|
91
91
|
import "./chunk-6B6UN6SG.js";
|
|
92
92
|
import "./chunk-ZCZD7FHU.js";
|
|
93
93
|
import "./chunk-BM3PWGXQ.js";
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-2TGCYJMT.js";
|
|
95
|
+
import "./chunk-O63AAPIZ.js";
|
|
96
|
+
import "./chunk-BCFDGOMA.js";
|
|
97
97
|
import {
|
|
98
98
|
generateSkillFiles
|
|
99
99
|
} from "./chunk-ZP5E7YET.js";
|