@harness-engineering/core 0.26.0 → 0.26.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/architecture/matchers.d.mts +1 -1
- package/dist/architecture/matchers.d.ts +1 -1
- package/dist/index.d.mts +389 -197
- package/dist/index.d.ts +389 -197
- package/dist/index.js +234 -2
- package/dist/index.mjs +230 -2
- package/dist/{matchers-DSibUtbV.d.mts → matchers-XHMrK1kB.d.mts} +134 -134
- package/dist/{matchers-DSibUtbV.d.ts → matchers-XHMrK1kB.d.ts} +134 -134
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Result, LoadingLevel, SkillContextBudget, SessionSectionName, SessionEntry, SessionSections, WorkflowStep, WorkflowStepResult, Workflow, WorkflowResult, SkillLifecycleHooks, SkillContext, SkillResult, TurnContext, CICheckName, CIFailOnSeverity, CICheckReport, RoadmapFeature, ExternalTicket, ExternalTicketState, TrackerComment, TrackerSyncConfig, CINotifyOptions, Roadmap, FeatureStatus, SyncResult, Priority, ModelPricing, UsageRecord, DailyUsage, SessionUsage, SkillInvocationRecord, SkillAdoptionSummary, StabilityTier, TelemetryIdentity, TelemetryConfig, ConsentState, TelemetryEvent, SolutionCategory, SanitizedResult, PulseConfig, PulseAdapter, PulseWindow } from '@harness-engineering/types';
|
|
1
|
+
import { Result, LoadingLevel, SkillContextBudget, SessionSectionName, SessionEntry, SessionSections, WorkflowStep, WorkflowStepResult, Workflow, WorkflowResult, SkillLifecycleHooks, SkillContext, SkillResult, TurnContext, CICheckName, CIFailOnSeverity, CICheckReport, RoadmapFeature, ExternalTicket, ExternalTicketState, TrackerComment, TrackerSyncConfig, CINotifyOptions, Roadmap, FeatureStatus, SyncResult, Priority, ModelPricing, UsageRecord, DailyUsage, SessionUsage, SkillInvocationRecord, SkillAdoptionSummary, StabilityTier, TelemetryIdentity, TelemetryConfig, ConsentState, TelemetryEvent, PromptCacheStats, SolutionCategory, SanitizedResult, PulseConfig, PulseAdapter, PulseWindow } from '@harness-engineering/types';
|
|
2
2
|
export * from '@harness-engineering/types';
|
|
3
3
|
export { BlockerRef, BugTrackCategory, Issue, IssueTrackerClient, KnowledgeTrackCategory, PulseAdapter, PulseConfig, PulseDbSource, PulseRunStatus, PulseRunStatusType, PulseSources, PulseWindow, SanitizeFn, SanitizedResult, SolutionCategory, SolutionDocFrontmatter, SolutionTrack, TrackerConfig } from '@harness-engineering/types';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { C as Collector, A as ArchConfig, a as ConstraintRule, M as MetricResult, b as ArchMetricCategory, c as ArchBaseline, d as ArchDiffResult, T as ThresholdConfig, V as ViolationHistory, e as Violation, f as ViolationSnapshot, E as EmergenceResult } from './matchers-
|
|
6
|
-
export { g as ArchBaselineSchema, h as ArchConfigSchema, i as ArchDiffResultSchema, j as ArchHandle, k as ArchMetricCategorySchema, l as ArchitectureOptions, m as CategoryBaseline, n as CategoryBaselineSchema, o as CategoryRegression, p as CategoryRegressionSchema, q as ConstraintRuleSchema, r as EmergenceConfidence, s as EmergenceConfidenceSchema, t as EmergenceResultSchema, u as EmergentConstraintSuggestion, v as EmergentConstraintSuggestionSchema, w as MetricResultSchema, x as ThresholdConfigSchema, y as ViolationHistorySchema, z as ViolationSchema, B as ViolationSnapshotSchema, D as archMatchers, F as archModule, G as architecture } from './matchers-
|
|
5
|
+
import { C as Collector, A as ArchConfig, a as ConstraintRule, M as MetricResult, b as ArchMetricCategory, c as ArchBaseline, d as ArchDiffResult, T as ThresholdConfig, V as ViolationHistory, e as Violation, f as ViolationSnapshot, E as EmergenceResult } from './matchers-XHMrK1kB.js';
|
|
6
|
+
export { g as ArchBaselineSchema, h as ArchConfigSchema, i as ArchDiffResultSchema, j as ArchHandle, k as ArchMetricCategorySchema, l as ArchitectureOptions, m as CategoryBaseline, n as CategoryBaselineSchema, o as CategoryRegression, p as CategoryRegressionSchema, q as ConstraintRuleSchema, r as EmergenceConfidence, s as EmergenceConfidenceSchema, t as EmergenceResultSchema, u as EmergentConstraintSuggestion, v as EmergentConstraintSuggestionSchema, w as MetricResultSchema, x as ThresholdConfigSchema, y as ViolationHistorySchema, z as ViolationSchema, B as ViolationSnapshotSchema, D as archMatchers, F as archModule, G as architecture } from './matchers-XHMrK1kB.js';
|
|
7
7
|
import Parser from 'web-tree-sitter';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -854,8 +854,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
854
854
|
schema: string;
|
|
855
855
|
}>, "many">>;
|
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
name: string;
|
|
858
857
|
version: string;
|
|
858
|
+
name: string;
|
|
859
859
|
include: string[];
|
|
860
860
|
keywords: string[];
|
|
861
861
|
description?: string | undefined;
|
|
@@ -868,8 +868,8 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
868
868
|
schema: string;
|
|
869
869
|
}[] | undefined;
|
|
870
870
|
}, {
|
|
871
|
-
name: string;
|
|
872
871
|
version: string;
|
|
872
|
+
name: string;
|
|
873
873
|
include: string[];
|
|
874
874
|
description?: string | undefined;
|
|
875
875
|
layers?: Record<string, string[]> | undefined;
|
|
@@ -1007,8 +1007,8 @@ declare const BundleSchema: z.ZodObject<{
|
|
|
1007
1007
|
schema: string;
|
|
1008
1008
|
}>, "many">>;
|
|
1009
1009
|
}, "strip", z.ZodTypeAny, {
|
|
1010
|
-
name: string;
|
|
1011
1010
|
version: string;
|
|
1011
|
+
name: string;
|
|
1012
1012
|
include: string[];
|
|
1013
1013
|
keywords: string[];
|
|
1014
1014
|
description?: string | undefined;
|
|
@@ -1021,8 +1021,8 @@ declare const BundleSchema: z.ZodObject<{
|
|
|
1021
1021
|
schema: string;
|
|
1022
1022
|
}[] | undefined;
|
|
1023
1023
|
}, {
|
|
1024
|
-
name: string;
|
|
1025
1024
|
version: string;
|
|
1025
|
+
name: string;
|
|
1026
1026
|
include: string[];
|
|
1027
1027
|
description?: string | undefined;
|
|
1028
1028
|
layers?: Record<string, string[]> | undefined;
|
|
@@ -1131,11 +1131,11 @@ declare const BundleSchema: z.ZodObject<{
|
|
|
1131
1131
|
}>;
|
|
1132
1132
|
contributions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1133
1133
|
}, "strip", z.ZodTypeAny, {
|
|
1134
|
-
name: string;
|
|
1135
1134
|
version: string;
|
|
1135
|
+
name: string;
|
|
1136
1136
|
manifest: {
|
|
1137
|
-
name: string;
|
|
1138
1137
|
version: string;
|
|
1138
|
+
name: string;
|
|
1139
1139
|
include: string[];
|
|
1140
1140
|
keywords: string[];
|
|
1141
1141
|
description?: string | undefined;
|
|
@@ -1174,11 +1174,11 @@ declare const BundleSchema: z.ZodObject<{
|
|
|
1174
1174
|
minHarnessVersion?: string | undefined;
|
|
1175
1175
|
contributions?: Record<string, unknown> | undefined;
|
|
1176
1176
|
}, {
|
|
1177
|
-
name: string;
|
|
1178
1177
|
version: string;
|
|
1178
|
+
name: string;
|
|
1179
1179
|
manifest: {
|
|
1180
|
-
name: string;
|
|
1181
1180
|
version: string;
|
|
1181
|
+
name: string;
|
|
1182
1182
|
include: string[];
|
|
1183
1183
|
description?: string | undefined;
|
|
1184
1184
|
layers?: Record<string, string[]> | undefined;
|
|
@@ -1230,16 +1230,16 @@ declare const LockfilePackageSchema: z.ZodObject<{
|
|
|
1230
1230
|
integrity: z.ZodOptional<z.ZodString>;
|
|
1231
1231
|
provenance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1232
1232
|
}, "strip", z.ZodTypeAny, {
|
|
1233
|
-
source: string;
|
|
1234
1233
|
version: string;
|
|
1234
|
+
source: string;
|
|
1235
1235
|
installedAt: string;
|
|
1236
1236
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1237
1237
|
resolved?: string | undefined;
|
|
1238
1238
|
integrity?: string | undefined;
|
|
1239
1239
|
provenance?: string[] | undefined;
|
|
1240
1240
|
}, {
|
|
1241
|
-
source: string;
|
|
1242
1241
|
version: string;
|
|
1242
|
+
source: string;
|
|
1243
1243
|
installedAt: string;
|
|
1244
1244
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1245
1245
|
resolved?: string | undefined;
|
|
@@ -1258,16 +1258,16 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1258
1258
|
integrity: z.ZodOptional<z.ZodString>;
|
|
1259
1259
|
provenance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1260
1260
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
source: string;
|
|
1262
1261
|
version: string;
|
|
1262
|
+
source: string;
|
|
1263
1263
|
installedAt: string;
|
|
1264
1264
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1265
1265
|
resolved?: string | undefined;
|
|
1266
1266
|
integrity?: string | undefined;
|
|
1267
1267
|
provenance?: string[] | undefined;
|
|
1268
1268
|
}, {
|
|
1269
|
-
source: string;
|
|
1270
1269
|
version: string;
|
|
1270
|
+
source: string;
|
|
1271
1271
|
installedAt: string;
|
|
1272
1272
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1273
1273
|
resolved?: string | undefined;
|
|
@@ -1276,8 +1276,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1276
1276
|
}>>;
|
|
1277
1277
|
}, "strip", z.ZodTypeAny, {
|
|
1278
1278
|
packages: Record<string, {
|
|
1279
|
-
source: string;
|
|
1280
1279
|
version: string;
|
|
1280
|
+
source: string;
|
|
1281
1281
|
installedAt: string;
|
|
1282
1282
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1283
1283
|
resolved?: string | undefined;
|
|
@@ -1288,8 +1288,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1288
1288
|
lockfileVersion?: 1 | undefined;
|
|
1289
1289
|
}, {
|
|
1290
1290
|
packages: Record<string, {
|
|
1291
|
-
source: string;
|
|
1292
1291
|
version: string;
|
|
1292
|
+
source: string;
|
|
1293
1293
|
installedAt: string;
|
|
1294
1294
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1295
1295
|
resolved?: string | undefined;
|
|
@@ -1300,8 +1300,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1300
1300
|
lockfileVersion?: 1 | undefined;
|
|
1301
1301
|
}>, {
|
|
1302
1302
|
packages: Record<string, {
|
|
1303
|
-
source: string;
|
|
1304
1303
|
version: string;
|
|
1304
|
+
source: string;
|
|
1305
1305
|
installedAt: string;
|
|
1306
1306
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1307
1307
|
resolved?: string | undefined;
|
|
@@ -1312,8 +1312,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1312
1312
|
lockfileVersion?: 1 | undefined;
|
|
1313
1313
|
}, {
|
|
1314
1314
|
packages: Record<string, {
|
|
1315
|
-
source: string;
|
|
1316
1315
|
version: string;
|
|
1316
|
+
source: string;
|
|
1317
1317
|
installedAt: string;
|
|
1318
1318
|
contributions?: Record<string, unknown> | null | undefined;
|
|
1319
1319
|
resolved?: string | undefined;
|
|
@@ -2250,12 +2250,12 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2250
2250
|
match: z.ZodString;
|
|
2251
2251
|
convention: z.ZodEnum<["camelCase", "PascalCase", "UPPER_SNAKE", "kebab-case"]>;
|
|
2252
2252
|
}, "strip", z.ZodTypeAny, {
|
|
2253
|
-
match: string;
|
|
2254
2253
|
type: "naming";
|
|
2254
|
+
match: string;
|
|
2255
2255
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2256
2256
|
}, {
|
|
2257
|
-
match: string;
|
|
2258
2257
|
type: "naming";
|
|
2258
|
+
match: string;
|
|
2259
2259
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2260
2260
|
}>, z.ZodObject<{
|
|
2261
2261
|
type: z.ZodLiteral<"max-exports">;
|
|
@@ -2287,10 +2287,10 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2287
2287
|
}>]>;
|
|
2288
2288
|
message: z.ZodOptional<z.ZodString>;
|
|
2289
2289
|
}, "strip", z.ZodTypeAny, {
|
|
2290
|
-
|
|
2290
|
+
severity: "error" | "warning";
|
|
2291
2291
|
description: string;
|
|
2292
|
+
name: string;
|
|
2292
2293
|
files: string[];
|
|
2293
|
-
severity: "error" | "warning";
|
|
2294
2294
|
rule: {
|
|
2295
2295
|
type: "must-export";
|
|
2296
2296
|
names: string[];
|
|
@@ -2308,8 +2308,8 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2308
2308
|
type: "no-import";
|
|
2309
2309
|
from: string;
|
|
2310
2310
|
} | {
|
|
2311
|
-
match: string;
|
|
2312
2311
|
type: "naming";
|
|
2312
|
+
match: string;
|
|
2313
2313
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2314
2314
|
} | {
|
|
2315
2315
|
type: "max-exports";
|
|
@@ -2323,10 +2323,10 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2323
2323
|
};
|
|
2324
2324
|
message?: string | undefined;
|
|
2325
2325
|
}, {
|
|
2326
|
-
|
|
2326
|
+
severity: "error" | "warning";
|
|
2327
2327
|
description: string;
|
|
2328
|
+
name: string;
|
|
2328
2329
|
files: string[];
|
|
2329
|
-
severity: "error" | "warning";
|
|
2330
2330
|
rule: {
|
|
2331
2331
|
type: "must-export";
|
|
2332
2332
|
names: string[];
|
|
@@ -2344,8 +2344,8 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2344
2344
|
type: "no-import";
|
|
2345
2345
|
from: string;
|
|
2346
2346
|
} | {
|
|
2347
|
-
match: string;
|
|
2348
2347
|
type: "naming";
|
|
2348
|
+
match: string;
|
|
2349
2349
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2350
2350
|
} | {
|
|
2351
2351
|
type: "max-exports";
|
|
@@ -2363,10 +2363,10 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2363
2363
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2364
2364
|
}, "strip", z.ZodTypeAny, {
|
|
2365
2365
|
patterns: {
|
|
2366
|
-
|
|
2366
|
+
severity: "error" | "warning";
|
|
2367
2367
|
description: string;
|
|
2368
|
+
name: string;
|
|
2368
2369
|
files: string[];
|
|
2369
|
-
severity: "error" | "warning";
|
|
2370
2370
|
rule: {
|
|
2371
2371
|
type: "must-export";
|
|
2372
2372
|
names: string[];
|
|
@@ -2384,8 +2384,8 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2384
2384
|
type: "no-import";
|
|
2385
2385
|
from: string;
|
|
2386
2386
|
} | {
|
|
2387
|
-
match: string;
|
|
2388
2387
|
type: "naming";
|
|
2388
|
+
match: string;
|
|
2389
2389
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2390
2390
|
} | {
|
|
2391
2391
|
type: "max-exports";
|
|
@@ -2403,10 +2403,10 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2403
2403
|
ignoreFiles?: string[] | undefined;
|
|
2404
2404
|
}, {
|
|
2405
2405
|
patterns: {
|
|
2406
|
-
|
|
2406
|
+
severity: "error" | "warning";
|
|
2407
2407
|
description: string;
|
|
2408
|
+
name: string;
|
|
2408
2409
|
files: string[];
|
|
2409
|
-
severity: "error" | "warning";
|
|
2410
2410
|
rule: {
|
|
2411
2411
|
type: "must-export";
|
|
2412
2412
|
names: string[];
|
|
@@ -2424,8 +2424,8 @@ declare const PatternConfigSchema: z.ZodObject<{
|
|
|
2424
2424
|
type: "no-import";
|
|
2425
2425
|
from: string;
|
|
2426
2426
|
} | {
|
|
2427
|
-
match: string;
|
|
2428
2427
|
type: "naming";
|
|
2428
|
+
match: string;
|
|
2429
2429
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2430
2430
|
} | {
|
|
2431
2431
|
type: "max-exports";
|
|
@@ -2544,12 +2544,12 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2544
2544
|
match: z.ZodString;
|
|
2545
2545
|
convention: z.ZodEnum<["camelCase", "PascalCase", "UPPER_SNAKE", "kebab-case"]>;
|
|
2546
2546
|
}, "strip", z.ZodTypeAny, {
|
|
2547
|
-
match: string;
|
|
2548
2547
|
type: "naming";
|
|
2548
|
+
match: string;
|
|
2549
2549
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2550
2550
|
}, {
|
|
2551
|
-
match: string;
|
|
2552
2551
|
type: "naming";
|
|
2552
|
+
match: string;
|
|
2553
2553
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2554
2554
|
}>, z.ZodObject<{
|
|
2555
2555
|
type: z.ZodLiteral<"max-exports">;
|
|
@@ -2581,10 +2581,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2581
2581
|
}>]>;
|
|
2582
2582
|
message: z.ZodOptional<z.ZodString>;
|
|
2583
2583
|
}, "strip", z.ZodTypeAny, {
|
|
2584
|
-
|
|
2584
|
+
severity: "error" | "warning";
|
|
2585
2585
|
description: string;
|
|
2586
|
+
name: string;
|
|
2586
2587
|
files: string[];
|
|
2587
|
-
severity: "error" | "warning";
|
|
2588
2588
|
rule: {
|
|
2589
2589
|
type: "must-export";
|
|
2590
2590
|
names: string[];
|
|
@@ -2602,8 +2602,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2602
2602
|
type: "no-import";
|
|
2603
2603
|
from: string;
|
|
2604
2604
|
} | {
|
|
2605
|
-
match: string;
|
|
2606
2605
|
type: "naming";
|
|
2606
|
+
match: string;
|
|
2607
2607
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2608
2608
|
} | {
|
|
2609
2609
|
type: "max-exports";
|
|
@@ -2617,10 +2617,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2617
2617
|
};
|
|
2618
2618
|
message?: string | undefined;
|
|
2619
2619
|
}, {
|
|
2620
|
-
|
|
2620
|
+
severity: "error" | "warning";
|
|
2621
2621
|
description: string;
|
|
2622
|
+
name: string;
|
|
2622
2623
|
files: string[];
|
|
2623
|
-
severity: "error" | "warning";
|
|
2624
2624
|
rule: {
|
|
2625
2625
|
type: "must-export";
|
|
2626
2626
|
names: string[];
|
|
@@ -2638,8 +2638,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2638
2638
|
type: "no-import";
|
|
2639
2639
|
from: string;
|
|
2640
2640
|
} | {
|
|
2641
|
-
match: string;
|
|
2642
2641
|
type: "naming";
|
|
2642
|
+
match: string;
|
|
2643
2643
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2644
2644
|
} | {
|
|
2645
2645
|
type: "max-exports";
|
|
@@ -2657,10 +2657,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2657
2657
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2658
2658
|
}, "strip", z.ZodTypeAny, {
|
|
2659
2659
|
patterns: {
|
|
2660
|
-
|
|
2660
|
+
severity: "error" | "warning";
|
|
2661
2661
|
description: string;
|
|
2662
|
+
name: string;
|
|
2662
2663
|
files: string[];
|
|
2663
|
-
severity: "error" | "warning";
|
|
2664
2664
|
rule: {
|
|
2665
2665
|
type: "must-export";
|
|
2666
2666
|
names: string[];
|
|
@@ -2678,8 +2678,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2678
2678
|
type: "no-import";
|
|
2679
2679
|
from: string;
|
|
2680
2680
|
} | {
|
|
2681
|
-
match: string;
|
|
2682
2681
|
type: "naming";
|
|
2682
|
+
match: string;
|
|
2683
2683
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2684
2684
|
} | {
|
|
2685
2685
|
type: "max-exports";
|
|
@@ -2697,10 +2697,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2697
2697
|
ignoreFiles?: string[] | undefined;
|
|
2698
2698
|
}, {
|
|
2699
2699
|
patterns: {
|
|
2700
|
-
|
|
2700
|
+
severity: "error" | "warning";
|
|
2701
2701
|
description: string;
|
|
2702
|
+
name: string;
|
|
2702
2703
|
files: string[];
|
|
2703
|
-
severity: "error" | "warning";
|
|
2704
2704
|
rule: {
|
|
2705
2705
|
type: "must-export";
|
|
2706
2706
|
names: string[];
|
|
@@ -2718,8 +2718,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2718
2718
|
type: "no-import";
|
|
2719
2719
|
from: string;
|
|
2720
2720
|
} | {
|
|
2721
|
-
match: string;
|
|
2722
2721
|
type: "naming";
|
|
2722
|
+
match: string;
|
|
2723
2723
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2724
2724
|
} | {
|
|
2725
2725
|
type: "max-exports";
|
|
@@ -2753,10 +2753,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2753
2753
|
} | undefined;
|
|
2754
2754
|
patterns?: boolean | {
|
|
2755
2755
|
patterns: {
|
|
2756
|
-
|
|
2756
|
+
severity: "error" | "warning";
|
|
2757
2757
|
description: string;
|
|
2758
|
+
name: string;
|
|
2758
2759
|
files: string[];
|
|
2759
|
-
severity: "error" | "warning";
|
|
2760
2760
|
rule: {
|
|
2761
2761
|
type: "must-export";
|
|
2762
2762
|
names: string[];
|
|
@@ -2774,8 +2774,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2774
2774
|
type: "no-import";
|
|
2775
2775
|
from: string;
|
|
2776
2776
|
} | {
|
|
2777
|
-
match: string;
|
|
2778
2777
|
type: "naming";
|
|
2778
|
+
match: string;
|
|
2779
2779
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2780
2780
|
} | {
|
|
2781
2781
|
type: "max-exports";
|
|
@@ -2809,10 +2809,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2809
2809
|
} | undefined;
|
|
2810
2810
|
patterns?: boolean | {
|
|
2811
2811
|
patterns: {
|
|
2812
|
-
|
|
2812
|
+
severity: "error" | "warning";
|
|
2813
2813
|
description: string;
|
|
2814
|
+
name: string;
|
|
2814
2815
|
files: string[];
|
|
2815
|
-
severity: "error" | "warning";
|
|
2816
2816
|
rule: {
|
|
2817
2817
|
type: "must-export";
|
|
2818
2818
|
names: string[];
|
|
@@ -2830,8 +2830,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2830
2830
|
type: "no-import";
|
|
2831
2831
|
from: string;
|
|
2832
2832
|
} | {
|
|
2833
|
-
match: string;
|
|
2834
2833
|
type: "naming";
|
|
2834
|
+
match: string;
|
|
2835
2835
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2836
2836
|
} | {
|
|
2837
2837
|
type: "max-exports";
|
|
@@ -2871,10 +2871,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2871
2871
|
} | undefined;
|
|
2872
2872
|
patterns?: boolean | {
|
|
2873
2873
|
patterns: {
|
|
2874
|
-
|
|
2874
|
+
severity: "error" | "warning";
|
|
2875
2875
|
description: string;
|
|
2876
|
+
name: string;
|
|
2876
2877
|
files: string[];
|
|
2877
|
-
severity: "error" | "warning";
|
|
2878
2878
|
rule: {
|
|
2879
2879
|
type: "must-export";
|
|
2880
2880
|
names: string[];
|
|
@@ -2892,8 +2892,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2892
2892
|
type: "no-import";
|
|
2893
2893
|
from: string;
|
|
2894
2894
|
} | {
|
|
2895
|
-
match: string;
|
|
2896
2895
|
type: "naming";
|
|
2896
|
+
match: string;
|
|
2897
2897
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2898
2898
|
} | {
|
|
2899
2899
|
type: "max-exports";
|
|
@@ -2935,10 +2935,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2935
2935
|
} | undefined;
|
|
2936
2936
|
patterns?: boolean | {
|
|
2937
2937
|
patterns: {
|
|
2938
|
-
|
|
2938
|
+
severity: "error" | "warning";
|
|
2939
2939
|
description: string;
|
|
2940
|
+
name: string;
|
|
2940
2941
|
files: string[];
|
|
2941
|
-
severity: "error" | "warning";
|
|
2942
2942
|
rule: {
|
|
2943
2943
|
type: "must-export";
|
|
2944
2944
|
names: string[];
|
|
@@ -2956,8 +2956,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
|
|
|
2956
2956
|
type: "no-import";
|
|
2957
2957
|
from: string;
|
|
2958
2958
|
} | {
|
|
2959
|
-
match: string;
|
|
2960
2959
|
type: "naming";
|
|
2960
|
+
match: string;
|
|
2961
2961
|
convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
|
|
2962
2962
|
} | {
|
|
2963
2963
|
type: "max-exports";
|
|
@@ -3709,7 +3709,7 @@ declare const TimelineSnapshotSchema: z.ZodObject<{
|
|
|
3709
3709
|
violationCount: number;
|
|
3710
3710
|
}>>;
|
|
3711
3711
|
}, "strip", z.ZodTypeAny, {
|
|
3712
|
-
metrics: Partial<Record<"
|
|
3712
|
+
metrics: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3713
3713
|
value: number;
|
|
3714
3714
|
violationCount: number;
|
|
3715
3715
|
}>>;
|
|
@@ -3717,7 +3717,7 @@ declare const TimelineSnapshotSchema: z.ZodObject<{
|
|
|
3717
3717
|
commitHash: string;
|
|
3718
3718
|
stabilityScore: number;
|
|
3719
3719
|
}, {
|
|
3720
|
-
metrics: Partial<Record<"
|
|
3720
|
+
metrics: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3721
3721
|
value: number;
|
|
3722
3722
|
violationCount: number;
|
|
3723
3723
|
}>>;
|
|
@@ -3749,7 +3749,7 @@ declare const TimelineFileSchema: z.ZodObject<{
|
|
|
3749
3749
|
violationCount: number;
|
|
3750
3750
|
}>>;
|
|
3751
3751
|
}, "strip", z.ZodTypeAny, {
|
|
3752
|
-
metrics: Partial<Record<"
|
|
3752
|
+
metrics: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3753
3753
|
value: number;
|
|
3754
3754
|
violationCount: number;
|
|
3755
3755
|
}>>;
|
|
@@ -3757,7 +3757,7 @@ declare const TimelineFileSchema: z.ZodObject<{
|
|
|
3757
3757
|
commitHash: string;
|
|
3758
3758
|
stabilityScore: number;
|
|
3759
3759
|
}, {
|
|
3760
|
-
metrics: Partial<Record<"
|
|
3760
|
+
metrics: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3761
3761
|
value: number;
|
|
3762
3762
|
violationCount: number;
|
|
3763
3763
|
}>>;
|
|
@@ -3768,7 +3768,7 @@ declare const TimelineFileSchema: z.ZodObject<{
|
|
|
3768
3768
|
}, "strip", z.ZodTypeAny, {
|
|
3769
3769
|
version: 1;
|
|
3770
3770
|
snapshots: {
|
|
3771
|
-
metrics: Partial<Record<"
|
|
3771
|
+
metrics: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3772
3772
|
value: number;
|
|
3773
3773
|
violationCount: number;
|
|
3774
3774
|
}>>;
|
|
@@ -3779,7 +3779,7 @@ declare const TimelineFileSchema: z.ZodObject<{
|
|
|
3779
3779
|
}, {
|
|
3780
3780
|
version: 1;
|
|
3781
3781
|
snapshots: {
|
|
3782
|
-
metrics: Partial<Record<"
|
|
3782
|
+
metrics: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3783
3783
|
value: number;
|
|
3784
3784
|
violationCount: number;
|
|
3785
3785
|
}>>;
|
|
@@ -3799,13 +3799,13 @@ declare const TrendLineSchema: z.ZodObject<{
|
|
|
3799
3799
|
/** Direction indicator */
|
|
3800
3800
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
3801
3801
|
}, "strip", z.ZodTypeAny, {
|
|
3802
|
-
direction: "improving" | "stable" | "declining";
|
|
3803
3802
|
delta: number;
|
|
3803
|
+
direction: "improving" | "stable" | "declining";
|
|
3804
3804
|
current: number;
|
|
3805
3805
|
previous: number;
|
|
3806
3806
|
}, {
|
|
3807
|
-
direction: "improving" | "stable" | "declining";
|
|
3808
3807
|
delta: number;
|
|
3808
|
+
direction: "improving" | "stable" | "declining";
|
|
3809
3809
|
current: number;
|
|
3810
3810
|
previous: number;
|
|
3811
3811
|
}>;
|
|
@@ -3822,13 +3822,13 @@ declare const TrendResultSchema: z.ZodObject<{
|
|
|
3822
3822
|
/** Direction indicator */
|
|
3823
3823
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
3824
3824
|
}, "strip", z.ZodTypeAny, {
|
|
3825
|
-
direction: "improving" | "stable" | "declining";
|
|
3826
3825
|
delta: number;
|
|
3826
|
+
direction: "improving" | "stable" | "declining";
|
|
3827
3827
|
current: number;
|
|
3828
3828
|
previous: number;
|
|
3829
3829
|
}, {
|
|
3830
|
-
direction: "improving" | "stable" | "declining";
|
|
3831
3830
|
delta: number;
|
|
3831
|
+
direction: "improving" | "stable" | "declining";
|
|
3832
3832
|
current: number;
|
|
3833
3833
|
previous: number;
|
|
3834
3834
|
}>;
|
|
@@ -3843,13 +3843,13 @@ declare const TrendResultSchema: z.ZodObject<{
|
|
|
3843
3843
|
/** Direction indicator */
|
|
3844
3844
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
3845
3845
|
}, "strip", z.ZodTypeAny, {
|
|
3846
|
-
direction: "improving" | "stable" | "declining";
|
|
3847
3846
|
delta: number;
|
|
3847
|
+
direction: "improving" | "stable" | "declining";
|
|
3848
3848
|
current: number;
|
|
3849
3849
|
previous: number;
|
|
3850
3850
|
}, {
|
|
3851
|
-
direction: "improving" | "stable" | "declining";
|
|
3852
3851
|
delta: number;
|
|
3852
|
+
direction: "improving" | "stable" | "declining";
|
|
3853
3853
|
current: number;
|
|
3854
3854
|
previous: number;
|
|
3855
3855
|
}>>;
|
|
@@ -3859,32 +3859,32 @@ declare const TrendResultSchema: z.ZodObject<{
|
|
|
3859
3859
|
from: z.ZodString;
|
|
3860
3860
|
to: z.ZodString;
|
|
3861
3861
|
}, "strip", z.ZodTypeAny, {
|
|
3862
|
-
categories: Partial<Record<"
|
|
3863
|
-
direction: "improving" | "stable" | "declining";
|
|
3862
|
+
categories: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3864
3863
|
delta: number;
|
|
3864
|
+
direction: "improving" | "stable" | "declining";
|
|
3865
3865
|
current: number;
|
|
3866
3866
|
previous: number;
|
|
3867
3867
|
}>>;
|
|
3868
3868
|
from: string;
|
|
3869
3869
|
stability: {
|
|
3870
|
-
direction: "improving" | "stable" | "declining";
|
|
3871
3870
|
delta: number;
|
|
3871
|
+
direction: "improving" | "stable" | "declining";
|
|
3872
3872
|
current: number;
|
|
3873
3873
|
previous: number;
|
|
3874
3874
|
};
|
|
3875
3875
|
snapshotCount: number;
|
|
3876
3876
|
to: string;
|
|
3877
3877
|
}, {
|
|
3878
|
-
categories: Partial<Record<"
|
|
3879
|
-
direction: "improving" | "stable" | "declining";
|
|
3878
|
+
categories: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
3880
3879
|
delta: number;
|
|
3880
|
+
direction: "improving" | "stable" | "declining";
|
|
3881
3881
|
current: number;
|
|
3882
3882
|
previous: number;
|
|
3883
3883
|
}>>;
|
|
3884
3884
|
from: string;
|
|
3885
3885
|
stability: {
|
|
3886
|
-
direction: "improving" | "stable" | "declining";
|
|
3887
3886
|
delta: number;
|
|
3887
|
+
direction: "improving" | "stable" | "declining";
|
|
3888
3888
|
current: number;
|
|
3889
3889
|
previous: number;
|
|
3890
3890
|
};
|
|
@@ -3987,7 +3987,7 @@ declare const CategoryForecastSchema: z.ZodObject<{
|
|
|
3987
3987
|
}>;
|
|
3988
3988
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
3989
3989
|
}, "strip", z.ZodTypeAny, {
|
|
3990
|
-
category: "
|
|
3990
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
3991
3991
|
direction: "improving" | "stable" | "declining";
|
|
3992
3992
|
threshold: number;
|
|
3993
3993
|
confidence: "high" | "medium" | "low";
|
|
@@ -4003,7 +4003,7 @@ declare const CategoryForecastSchema: z.ZodObject<{
|
|
|
4003
4003
|
dataPoints: number;
|
|
4004
4004
|
};
|
|
4005
4005
|
}, {
|
|
4006
|
-
category: "
|
|
4006
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4007
4007
|
direction: "improving" | "stable" | "declining";
|
|
4008
4008
|
threshold: number;
|
|
4009
4009
|
confidence: "high" | "medium" | "low";
|
|
@@ -4065,7 +4065,7 @@ declare const SpecImpactEstimateSchema: z.ZodObject<{
|
|
|
4065
4065
|
newDependencies: number;
|
|
4066
4066
|
phaseCount: number;
|
|
4067
4067
|
};
|
|
4068
|
-
deltas?: Partial<Record<"
|
|
4068
|
+
deltas?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number>> | undefined;
|
|
4069
4069
|
}, {
|
|
4070
4070
|
specPath: string;
|
|
4071
4071
|
featureName: string;
|
|
@@ -4075,7 +4075,7 @@ declare const SpecImpactEstimateSchema: z.ZodObject<{
|
|
|
4075
4075
|
newDependencies: number;
|
|
4076
4076
|
phaseCount: number;
|
|
4077
4077
|
};
|
|
4078
|
-
deltas?: Partial<Record<"
|
|
4078
|
+
deltas?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number>> | undefined;
|
|
4079
4079
|
}>;
|
|
4080
4080
|
type SpecImpactEstimate = z.infer<typeof SpecImpactEstimateSchema>;
|
|
4081
4081
|
declare const ContributingFeatureSchema: z.ZodObject<{
|
|
@@ -4083,12 +4083,12 @@ declare const ContributingFeatureSchema: z.ZodObject<{
|
|
|
4083
4083
|
specPath: z.ZodString;
|
|
4084
4084
|
delta: z.ZodNumber;
|
|
4085
4085
|
}, "strip", z.ZodTypeAny, {
|
|
4086
|
-
name: string;
|
|
4087
4086
|
delta: number;
|
|
4087
|
+
name: string;
|
|
4088
4088
|
specPath: string;
|
|
4089
4089
|
}, {
|
|
4090
|
-
name: string;
|
|
4091
4090
|
delta: number;
|
|
4091
|
+
name: string;
|
|
4092
4092
|
specPath: string;
|
|
4093
4093
|
}>;
|
|
4094
4094
|
declare const AdjustedForecastSchema: z.ZodObject<{
|
|
@@ -4119,7 +4119,7 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4119
4119
|
}>;
|
|
4120
4120
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
4121
4121
|
}, "strip", z.ZodTypeAny, {
|
|
4122
|
-
category: "
|
|
4122
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4123
4123
|
direction: "improving" | "stable" | "declining";
|
|
4124
4124
|
threshold: number;
|
|
4125
4125
|
confidence: "high" | "medium" | "low";
|
|
@@ -4135,7 +4135,7 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4135
4135
|
dataPoints: number;
|
|
4136
4136
|
};
|
|
4137
4137
|
}, {
|
|
4138
|
-
category: "
|
|
4138
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4139
4139
|
direction: "improving" | "stable" | "declining";
|
|
4140
4140
|
threshold: number;
|
|
4141
4141
|
confidence: "high" | "medium" | "low";
|
|
@@ -4178,7 +4178,7 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4178
4178
|
}>;
|
|
4179
4179
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
4180
4180
|
}, "strip", z.ZodTypeAny, {
|
|
4181
|
-
category: "
|
|
4181
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4182
4182
|
direction: "improving" | "stable" | "declining";
|
|
4183
4183
|
threshold: number;
|
|
4184
4184
|
confidence: "high" | "medium" | "low";
|
|
@@ -4194,7 +4194,7 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4194
4194
|
dataPoints: number;
|
|
4195
4195
|
};
|
|
4196
4196
|
}, {
|
|
4197
|
-
category: "
|
|
4197
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4198
4198
|
direction: "improving" | "stable" | "declining";
|
|
4199
4199
|
threshold: number;
|
|
4200
4200
|
confidence: "high" | "medium" | "low";
|
|
@@ -4215,17 +4215,17 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4215
4215
|
specPath: z.ZodString;
|
|
4216
4216
|
delta: z.ZodNumber;
|
|
4217
4217
|
}, "strip", z.ZodTypeAny, {
|
|
4218
|
-
name: string;
|
|
4219
4218
|
delta: number;
|
|
4219
|
+
name: string;
|
|
4220
4220
|
specPath: string;
|
|
4221
4221
|
}, {
|
|
4222
|
-
name: string;
|
|
4223
4222
|
delta: number;
|
|
4223
|
+
name: string;
|
|
4224
4224
|
specPath: string;
|
|
4225
4225
|
}>, "many">;
|
|
4226
4226
|
}, "strip", z.ZodTypeAny, {
|
|
4227
4227
|
baseline: {
|
|
4228
|
-
category: "
|
|
4228
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4229
4229
|
direction: "improving" | "stable" | "declining";
|
|
4230
4230
|
threshold: number;
|
|
4231
4231
|
confidence: "high" | "medium" | "low";
|
|
@@ -4242,7 +4242,7 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4242
4242
|
};
|
|
4243
4243
|
};
|
|
4244
4244
|
adjusted: {
|
|
4245
|
-
category: "
|
|
4245
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4246
4246
|
direction: "improving" | "stable" | "declining";
|
|
4247
4247
|
threshold: number;
|
|
4248
4248
|
confidence: "high" | "medium" | "low";
|
|
@@ -4259,13 +4259,13 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4259
4259
|
};
|
|
4260
4260
|
};
|
|
4261
4261
|
contributingFeatures: {
|
|
4262
|
-
name: string;
|
|
4263
4262
|
delta: number;
|
|
4263
|
+
name: string;
|
|
4264
4264
|
specPath: string;
|
|
4265
4265
|
}[];
|
|
4266
4266
|
}, {
|
|
4267
4267
|
baseline: {
|
|
4268
|
-
category: "
|
|
4268
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4269
4269
|
direction: "improving" | "stable" | "declining";
|
|
4270
4270
|
threshold: number;
|
|
4271
4271
|
confidence: "high" | "medium" | "low";
|
|
@@ -4282,7 +4282,7 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4282
4282
|
};
|
|
4283
4283
|
};
|
|
4284
4284
|
adjusted: {
|
|
4285
|
-
category: "
|
|
4285
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4286
4286
|
direction: "improving" | "stable" | "declining";
|
|
4287
4287
|
threshold: number;
|
|
4288
4288
|
confidence: "high" | "medium" | "low";
|
|
@@ -4299,8 +4299,8 @@ declare const AdjustedForecastSchema: z.ZodObject<{
|
|
|
4299
4299
|
};
|
|
4300
4300
|
};
|
|
4301
4301
|
contributingFeatures: {
|
|
4302
|
-
name: string;
|
|
4303
4302
|
delta: number;
|
|
4303
|
+
name: string;
|
|
4304
4304
|
specPath: string;
|
|
4305
4305
|
}[];
|
|
4306
4306
|
}>;
|
|
@@ -4314,14 +4314,14 @@ declare const PredictionWarningSchema: z.ZodObject<{
|
|
|
4314
4314
|
contributingFeatures: z.ZodArray<z.ZodString, "many">;
|
|
4315
4315
|
}, "strip", z.ZodTypeAny, {
|
|
4316
4316
|
message: string;
|
|
4317
|
-
category: "
|
|
4317
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4318
4318
|
severity: "warning" | "info" | "critical";
|
|
4319
4319
|
confidence: "high" | "medium" | "low";
|
|
4320
4320
|
contributingFeatures: string[];
|
|
4321
4321
|
weeksUntil: number;
|
|
4322
4322
|
}, {
|
|
4323
4323
|
message: string;
|
|
4324
|
-
category: "
|
|
4324
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4325
4325
|
severity: "warning" | "info" | "critical";
|
|
4326
4326
|
confidence: "high" | "medium" | "low";
|
|
4327
4327
|
contributingFeatures: string[];
|
|
@@ -4414,7 +4414,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4414
4414
|
}>;
|
|
4415
4415
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
4416
4416
|
}, "strip", z.ZodTypeAny, {
|
|
4417
|
-
category: "
|
|
4417
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4418
4418
|
direction: "improving" | "stable" | "declining";
|
|
4419
4419
|
threshold: number;
|
|
4420
4420
|
confidence: "high" | "medium" | "low";
|
|
@@ -4430,7 +4430,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4430
4430
|
dataPoints: number;
|
|
4431
4431
|
};
|
|
4432
4432
|
}, {
|
|
4433
|
-
category: "
|
|
4433
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4434
4434
|
direction: "improving" | "stable" | "declining";
|
|
4435
4435
|
threshold: number;
|
|
4436
4436
|
confidence: "high" | "medium" | "low";
|
|
@@ -4473,7 +4473,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4473
4473
|
}>;
|
|
4474
4474
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
4475
4475
|
}, "strip", z.ZodTypeAny, {
|
|
4476
|
-
category: "
|
|
4476
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4477
4477
|
direction: "improving" | "stable" | "declining";
|
|
4478
4478
|
threshold: number;
|
|
4479
4479
|
confidence: "high" | "medium" | "low";
|
|
@@ -4489,7 +4489,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4489
4489
|
dataPoints: number;
|
|
4490
4490
|
};
|
|
4491
4491
|
}, {
|
|
4492
|
-
category: "
|
|
4492
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4493
4493
|
direction: "improving" | "stable" | "declining";
|
|
4494
4494
|
threshold: number;
|
|
4495
4495
|
confidence: "high" | "medium" | "low";
|
|
@@ -4510,17 +4510,17 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4510
4510
|
specPath: z.ZodString;
|
|
4511
4511
|
delta: z.ZodNumber;
|
|
4512
4512
|
}, "strip", z.ZodTypeAny, {
|
|
4513
|
-
name: string;
|
|
4514
4513
|
delta: number;
|
|
4514
|
+
name: string;
|
|
4515
4515
|
specPath: string;
|
|
4516
4516
|
}, {
|
|
4517
|
-
name: string;
|
|
4518
4517
|
delta: number;
|
|
4518
|
+
name: string;
|
|
4519
4519
|
specPath: string;
|
|
4520
4520
|
}>, "many">;
|
|
4521
4521
|
}, "strip", z.ZodTypeAny, {
|
|
4522
4522
|
baseline: {
|
|
4523
|
-
category: "
|
|
4523
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4524
4524
|
direction: "improving" | "stable" | "declining";
|
|
4525
4525
|
threshold: number;
|
|
4526
4526
|
confidence: "high" | "medium" | "low";
|
|
@@ -4537,7 +4537,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4537
4537
|
};
|
|
4538
4538
|
};
|
|
4539
4539
|
adjusted: {
|
|
4540
|
-
category: "
|
|
4540
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4541
4541
|
direction: "improving" | "stable" | "declining";
|
|
4542
4542
|
threshold: number;
|
|
4543
4543
|
confidence: "high" | "medium" | "low";
|
|
@@ -4554,13 +4554,13 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4554
4554
|
};
|
|
4555
4555
|
};
|
|
4556
4556
|
contributingFeatures: {
|
|
4557
|
-
name: string;
|
|
4558
4557
|
delta: number;
|
|
4558
|
+
name: string;
|
|
4559
4559
|
specPath: string;
|
|
4560
4560
|
}[];
|
|
4561
4561
|
}, {
|
|
4562
4562
|
baseline: {
|
|
4563
|
-
category: "
|
|
4563
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4564
4564
|
direction: "improving" | "stable" | "declining";
|
|
4565
4565
|
threshold: number;
|
|
4566
4566
|
confidence: "high" | "medium" | "low";
|
|
@@ -4577,7 +4577,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4577
4577
|
};
|
|
4578
4578
|
};
|
|
4579
4579
|
adjusted: {
|
|
4580
|
-
category: "
|
|
4580
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4581
4581
|
direction: "improving" | "stable" | "declining";
|
|
4582
4582
|
threshold: number;
|
|
4583
4583
|
confidence: "high" | "medium" | "low";
|
|
@@ -4594,8 +4594,8 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4594
4594
|
};
|
|
4595
4595
|
};
|
|
4596
4596
|
contributingFeatures: {
|
|
4597
|
-
name: string;
|
|
4598
4597
|
delta: number;
|
|
4598
|
+
name: string;
|
|
4599
4599
|
specPath: string;
|
|
4600
4600
|
}[];
|
|
4601
4601
|
}>>;
|
|
@@ -4608,23 +4608,23 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4608
4608
|
contributingFeatures: z.ZodArray<z.ZodString, "many">;
|
|
4609
4609
|
}, "strip", z.ZodTypeAny, {
|
|
4610
4610
|
message: string;
|
|
4611
|
-
category: "
|
|
4611
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4612
4612
|
severity: "warning" | "info" | "critical";
|
|
4613
4613
|
confidence: "high" | "medium" | "low";
|
|
4614
4614
|
contributingFeatures: string[];
|
|
4615
4615
|
weeksUntil: number;
|
|
4616
4616
|
}, {
|
|
4617
4617
|
message: string;
|
|
4618
|
-
category: "
|
|
4618
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4619
4619
|
severity: "warning" | "info" | "critical";
|
|
4620
4620
|
confidence: "high" | "medium" | "low";
|
|
4621
4621
|
contributingFeatures: string[];
|
|
4622
4622
|
weeksUntil: number;
|
|
4623
4623
|
}>, "many">;
|
|
4624
4624
|
}, "strip", z.ZodTypeAny, {
|
|
4625
|
-
categories: Partial<Record<"
|
|
4625
|
+
categories: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
4626
4626
|
baseline: {
|
|
4627
|
-
category: "
|
|
4627
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4628
4628
|
direction: "improving" | "stable" | "declining";
|
|
4629
4629
|
threshold: number;
|
|
4630
4630
|
confidence: "high" | "medium" | "low";
|
|
@@ -4641,7 +4641,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4641
4641
|
};
|
|
4642
4642
|
};
|
|
4643
4643
|
adjusted: {
|
|
4644
|
-
category: "
|
|
4644
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4645
4645
|
direction: "improving" | "stable" | "declining";
|
|
4646
4646
|
threshold: number;
|
|
4647
4647
|
confidence: "high" | "medium" | "low";
|
|
@@ -4658,8 +4658,8 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4658
4658
|
};
|
|
4659
4659
|
};
|
|
4660
4660
|
contributingFeatures: {
|
|
4661
|
-
name: string;
|
|
4662
4661
|
delta: number;
|
|
4662
|
+
name: string;
|
|
4663
4663
|
specPath: string;
|
|
4664
4664
|
}[];
|
|
4665
4665
|
}>>;
|
|
@@ -4679,16 +4679,16 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4679
4679
|
};
|
|
4680
4680
|
warnings: {
|
|
4681
4681
|
message: string;
|
|
4682
|
-
category: "
|
|
4682
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4683
4683
|
severity: "warning" | "info" | "critical";
|
|
4684
4684
|
confidence: "high" | "medium" | "low";
|
|
4685
4685
|
contributingFeatures: string[];
|
|
4686
4686
|
weeksUntil: number;
|
|
4687
4687
|
}[];
|
|
4688
4688
|
}, {
|
|
4689
|
-
categories: Partial<Record<"
|
|
4689
|
+
categories: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", {
|
|
4690
4690
|
baseline: {
|
|
4691
|
-
category: "
|
|
4691
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4692
4692
|
direction: "improving" | "stable" | "declining";
|
|
4693
4693
|
threshold: number;
|
|
4694
4694
|
confidence: "high" | "medium" | "low";
|
|
@@ -4705,7 +4705,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4705
4705
|
};
|
|
4706
4706
|
};
|
|
4707
4707
|
adjusted: {
|
|
4708
|
-
category: "
|
|
4708
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4709
4709
|
direction: "improving" | "stable" | "declining";
|
|
4710
4710
|
threshold: number;
|
|
4711
4711
|
confidence: "high" | "medium" | "low";
|
|
@@ -4722,8 +4722,8 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4722
4722
|
};
|
|
4723
4723
|
};
|
|
4724
4724
|
contributingFeatures: {
|
|
4725
|
-
name: string;
|
|
4726
4725
|
delta: number;
|
|
4726
|
+
name: string;
|
|
4727
4727
|
specPath: string;
|
|
4728
4728
|
}[];
|
|
4729
4729
|
}>>;
|
|
@@ -4743,7 +4743,7 @@ declare const PredictionResultSchema: z.ZodObject<{
|
|
|
4743
4743
|
};
|
|
4744
4744
|
warnings: {
|
|
4745
4745
|
message: string;
|
|
4746
|
-
category: "
|
|
4746
|
+
category: "circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth";
|
|
4747
4747
|
severity: "warning" | "info" | "critical";
|
|
4748
4748
|
confidence: "high" | "medium" | "low";
|
|
4749
4749
|
contributingFeatures: string[];
|
|
@@ -4759,11 +4759,11 @@ declare const PredictionOptionsSchema: z.ZodObject<{
|
|
|
4759
4759
|
}, "strip", z.ZodTypeAny, {
|
|
4760
4760
|
horizon: number;
|
|
4761
4761
|
includeRoadmap: boolean;
|
|
4762
|
-
|
|
4763
|
-
|
|
4762
|
+
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number>> | undefined;
|
|
4763
|
+
categories?: ("circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth")[] | undefined;
|
|
4764
4764
|
}, {
|
|
4765
|
-
|
|
4766
|
-
|
|
4765
|
+
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number>> | undefined;
|
|
4766
|
+
categories?: ("circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth")[] | undefined;
|
|
4767
4767
|
horizon?: number | undefined;
|
|
4768
4768
|
includeRoadmap?: boolean | undefined;
|
|
4769
4769
|
}>;
|
|
@@ -5102,33 +5102,33 @@ declare const GateResultSchema: z.ZodObject<{
|
|
|
5102
5102
|
output: z.ZodOptional<z.ZodString>;
|
|
5103
5103
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
5104
5104
|
}, "strip", z.ZodTypeAny, {
|
|
5105
|
+
passed: boolean;
|
|
5105
5106
|
name: string;
|
|
5106
5107
|
command: string;
|
|
5107
|
-
passed: boolean;
|
|
5108
5108
|
duration?: number | undefined;
|
|
5109
5109
|
output?: string | undefined;
|
|
5110
5110
|
}, {
|
|
5111
|
+
passed: boolean;
|
|
5111
5112
|
name: string;
|
|
5112
5113
|
command: string;
|
|
5113
|
-
passed: boolean;
|
|
5114
5114
|
duration?: number | undefined;
|
|
5115
5115
|
output?: string | undefined;
|
|
5116
5116
|
}>, "many">;
|
|
5117
5117
|
}, "strip", z.ZodTypeAny, {
|
|
5118
5118
|
passed: boolean;
|
|
5119
5119
|
checks: {
|
|
5120
|
+
passed: boolean;
|
|
5120
5121
|
name: string;
|
|
5121
5122
|
command: string;
|
|
5122
|
-
passed: boolean;
|
|
5123
5123
|
duration?: number | undefined;
|
|
5124
5124
|
output?: string | undefined;
|
|
5125
5125
|
}[];
|
|
5126
5126
|
}, {
|
|
5127
5127
|
passed: boolean;
|
|
5128
5128
|
checks: {
|
|
5129
|
+
passed: boolean;
|
|
5129
5130
|
name: string;
|
|
5130
5131
|
command: string;
|
|
5131
|
-
passed: boolean;
|
|
5132
5132
|
duration?: number | undefined;
|
|
5133
5133
|
output?: string | undefined;
|
|
5134
5134
|
}[];
|
|
@@ -5190,12 +5190,12 @@ declare const HarnessStateSchema: z.ZodObject<{
|
|
|
5190
5190
|
description: z.ZodString;
|
|
5191
5191
|
status: z.ZodEnum<["open", "resolved"]>;
|
|
5192
5192
|
}, "strip", z.ZodTypeAny, {
|
|
5193
|
-
id: string;
|
|
5194
5193
|
status: "resolved" | "open";
|
|
5194
|
+
id: string;
|
|
5195
5195
|
description: string;
|
|
5196
5196
|
}, {
|
|
5197
|
-
id: string;
|
|
5198
5197
|
status: "resolved" | "open";
|
|
5198
|
+
id: string;
|
|
5199
5199
|
description: string;
|
|
5200
5200
|
}>, "many">>;
|
|
5201
5201
|
progress: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["pending", "in_progress", "complete"]>>>;
|
|
@@ -5222,8 +5222,8 @@ declare const HarnessStateSchema: z.ZodObject<{
|
|
|
5222
5222
|
decision: string;
|
|
5223
5223
|
}[];
|
|
5224
5224
|
blockers: {
|
|
5225
|
-
id: string;
|
|
5226
5225
|
status: "resolved" | "open";
|
|
5226
|
+
id: string;
|
|
5227
5227
|
description: string;
|
|
5228
5228
|
}[];
|
|
5229
5229
|
schemaVersion: 1;
|
|
@@ -5246,8 +5246,8 @@ declare const HarnessStateSchema: z.ZodObject<{
|
|
|
5246
5246
|
decision: string;
|
|
5247
5247
|
}[] | undefined;
|
|
5248
5248
|
blockers?: {
|
|
5249
|
-
id: string;
|
|
5250
5249
|
status: "resolved" | "open";
|
|
5250
|
+
id: string;
|
|
5251
5251
|
description: string;
|
|
5252
5252
|
}[] | undefined;
|
|
5253
5253
|
position?: {
|
|
@@ -6266,20 +6266,20 @@ declare const FindingLifecycleSchema: z.ZodObject<{
|
|
|
6266
6266
|
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
6267
6267
|
resolvedCommit: z.ZodNullable<z.ZodString>;
|
|
6268
6268
|
}, "strip", z.ZodTypeAny, {
|
|
6269
|
-
file: string;
|
|
6270
6269
|
category: string;
|
|
6271
|
-
|
|
6270
|
+
file: string;
|
|
6272
6271
|
severity: string;
|
|
6272
|
+
ruleId: string;
|
|
6273
6273
|
findingId: string;
|
|
6274
6274
|
firstSeenAt: string;
|
|
6275
6275
|
firstSeenCommit: string;
|
|
6276
6276
|
resolvedAt: string | null;
|
|
6277
6277
|
resolvedCommit: string | null;
|
|
6278
6278
|
}, {
|
|
6279
|
-
file: string;
|
|
6280
6279
|
category: string;
|
|
6281
|
-
|
|
6280
|
+
file: string;
|
|
6282
6281
|
severity: string;
|
|
6282
|
+
ruleId: string;
|
|
6283
6283
|
findingId: string;
|
|
6284
6284
|
firstSeenAt: string;
|
|
6285
6285
|
firstSeenCommit: string;
|
|
@@ -6411,20 +6411,20 @@ declare const SecurityTimelineFileSchema: z.ZodObject<{
|
|
|
6411
6411
|
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
6412
6412
|
resolvedCommit: z.ZodNullable<z.ZodString>;
|
|
6413
6413
|
}, "strip", z.ZodTypeAny, {
|
|
6414
|
-
file: string;
|
|
6415
6414
|
category: string;
|
|
6416
|
-
|
|
6415
|
+
file: string;
|
|
6417
6416
|
severity: string;
|
|
6417
|
+
ruleId: string;
|
|
6418
6418
|
findingId: string;
|
|
6419
6419
|
firstSeenAt: string;
|
|
6420
6420
|
firstSeenCommit: string;
|
|
6421
6421
|
resolvedAt: string | null;
|
|
6422
6422
|
resolvedCommit: string | null;
|
|
6423
6423
|
}, {
|
|
6424
|
-
file: string;
|
|
6425
6424
|
category: string;
|
|
6426
|
-
|
|
6425
|
+
file: string;
|
|
6427
6426
|
severity: string;
|
|
6427
|
+
ruleId: string;
|
|
6428
6428
|
findingId: string;
|
|
6429
6429
|
firstSeenAt: string;
|
|
6430
6430
|
firstSeenCommit: string;
|
|
@@ -6461,10 +6461,10 @@ declare const SecurityTimelineFileSchema: z.ZodObject<{
|
|
|
6461
6461
|
findingIds: string[];
|
|
6462
6462
|
}[];
|
|
6463
6463
|
findingLifecycles: {
|
|
6464
|
-
file: string;
|
|
6465
6464
|
category: string;
|
|
6466
|
-
|
|
6465
|
+
file: string;
|
|
6467
6466
|
severity: string;
|
|
6467
|
+
ruleId: string;
|
|
6468
6468
|
findingId: string;
|
|
6469
6469
|
firstSeenAt: string;
|
|
6470
6470
|
firstSeenCommit: string;
|
|
@@ -6501,10 +6501,10 @@ declare const SecurityTimelineFileSchema: z.ZodObject<{
|
|
|
6501
6501
|
findingIds: string[];
|
|
6502
6502
|
}[];
|
|
6503
6503
|
findingLifecycles: {
|
|
6504
|
-
file: string;
|
|
6505
6504
|
category: string;
|
|
6506
|
-
|
|
6505
|
+
file: string;
|
|
6507
6506
|
severity: string;
|
|
6507
|
+
ruleId: string;
|
|
6508
6508
|
findingId: string;
|
|
6509
6509
|
firstSeenAt: string;
|
|
6510
6510
|
firstSeenCommit: string;
|
|
@@ -6521,13 +6521,13 @@ declare const SecurityTrendLineSchema: z.ZodObject<{
|
|
|
6521
6521
|
delta: z.ZodNumber;
|
|
6522
6522
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
6523
6523
|
}, "strip", z.ZodTypeAny, {
|
|
6524
|
-
direction: "improving" | "stable" | "declining";
|
|
6525
6524
|
delta: number;
|
|
6525
|
+
direction: "improving" | "stable" | "declining";
|
|
6526
6526
|
current: number;
|
|
6527
6527
|
previous: number;
|
|
6528
6528
|
}, {
|
|
6529
|
-
direction: "improving" | "stable" | "declining";
|
|
6530
6529
|
delta: number;
|
|
6530
|
+
direction: "improving" | "stable" | "declining";
|
|
6531
6531
|
current: number;
|
|
6532
6532
|
previous: number;
|
|
6533
6533
|
}>;
|
|
@@ -6540,13 +6540,13 @@ declare const TrendAttributionSchema: z.ZodObject<{
|
|
|
6540
6540
|
}, "strip", z.ZodTypeAny, {
|
|
6541
6541
|
category: string;
|
|
6542
6542
|
description: string;
|
|
6543
|
-
direction: "improving" | "stable" | "declining";
|
|
6544
6543
|
delta: number;
|
|
6544
|
+
direction: "improving" | "stable" | "declining";
|
|
6545
6545
|
}, {
|
|
6546
6546
|
category: string;
|
|
6547
6547
|
description: string;
|
|
6548
|
-
direction: "improving" | "stable" | "declining";
|
|
6549
6548
|
delta: number;
|
|
6549
|
+
direction: "improving" | "stable" | "declining";
|
|
6550
6550
|
}>;
|
|
6551
6551
|
type TrendAttribution = z.infer<typeof TrendAttributionSchema>;
|
|
6552
6552
|
declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
@@ -6556,13 +6556,13 @@ declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
|
6556
6556
|
delta: z.ZodNumber;
|
|
6557
6557
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
6558
6558
|
}, "strip", z.ZodTypeAny, {
|
|
6559
|
-
direction: "improving" | "stable" | "declining";
|
|
6560
6559
|
delta: number;
|
|
6560
|
+
direction: "improving" | "stable" | "declining";
|
|
6561
6561
|
current: number;
|
|
6562
6562
|
previous: number;
|
|
6563
6563
|
}, {
|
|
6564
|
-
direction: "improving" | "stable" | "declining";
|
|
6565
6564
|
delta: number;
|
|
6565
|
+
direction: "improving" | "stable" | "declining";
|
|
6566
6566
|
current: number;
|
|
6567
6567
|
previous: number;
|
|
6568
6568
|
}>;
|
|
@@ -6572,13 +6572,13 @@ declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
|
6572
6572
|
delta: z.ZodNumber;
|
|
6573
6573
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
6574
6574
|
}, "strip", z.ZodTypeAny, {
|
|
6575
|
-
direction: "improving" | "stable" | "declining";
|
|
6576
6575
|
delta: number;
|
|
6576
|
+
direction: "improving" | "stable" | "declining";
|
|
6577
6577
|
current: number;
|
|
6578
6578
|
previous: number;
|
|
6579
6579
|
}, {
|
|
6580
|
-
direction: "improving" | "stable" | "declining";
|
|
6581
6580
|
delta: number;
|
|
6581
|
+
direction: "improving" | "stable" | "declining";
|
|
6582
6582
|
current: number;
|
|
6583
6583
|
previous: number;
|
|
6584
6584
|
}>;
|
|
@@ -6589,13 +6589,13 @@ declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
|
6589
6589
|
delta: z.ZodNumber;
|
|
6590
6590
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
6591
6591
|
}, "strip", z.ZodTypeAny, {
|
|
6592
|
-
direction: "improving" | "stable" | "declining";
|
|
6593
6592
|
delta: number;
|
|
6593
|
+
direction: "improving" | "stable" | "declining";
|
|
6594
6594
|
current: number;
|
|
6595
6595
|
previous: number;
|
|
6596
6596
|
}, {
|
|
6597
|
-
direction: "improving" | "stable" | "declining";
|
|
6598
6597
|
delta: number;
|
|
6598
|
+
direction: "improving" | "stable" | "declining";
|
|
6599
6599
|
current: number;
|
|
6600
6600
|
previous: number;
|
|
6601
6601
|
}>;
|
|
@@ -6605,13 +6605,13 @@ declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
|
6605
6605
|
delta: z.ZodNumber;
|
|
6606
6606
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
6607
6607
|
}, "strip", z.ZodTypeAny, {
|
|
6608
|
-
direction: "improving" | "stable" | "declining";
|
|
6609
6608
|
delta: number;
|
|
6609
|
+
direction: "improving" | "stable" | "declining";
|
|
6610
6610
|
current: number;
|
|
6611
6611
|
previous: number;
|
|
6612
6612
|
}, {
|
|
6613
|
-
direction: "improving" | "stable" | "declining";
|
|
6614
6613
|
delta: number;
|
|
6614
|
+
direction: "improving" | "stable" | "declining";
|
|
6615
6615
|
current: number;
|
|
6616
6616
|
previous: number;
|
|
6617
6617
|
}>;
|
|
@@ -6621,51 +6621,51 @@ declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
|
6621
6621
|
delta: z.ZodNumber;
|
|
6622
6622
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
6623
6623
|
}, "strip", z.ZodTypeAny, {
|
|
6624
|
-
direction: "improving" | "stable" | "declining";
|
|
6625
6624
|
delta: number;
|
|
6625
|
+
direction: "improving" | "stable" | "declining";
|
|
6626
6626
|
current: number;
|
|
6627
6627
|
previous: number;
|
|
6628
6628
|
}, {
|
|
6629
|
-
direction: "improving" | "stable" | "declining";
|
|
6630
6629
|
delta: number;
|
|
6630
|
+
direction: "improving" | "stable" | "declining";
|
|
6631
6631
|
current: number;
|
|
6632
6632
|
previous: number;
|
|
6633
6633
|
}>;
|
|
6634
6634
|
}, "strip", z.ZodTypeAny, {
|
|
6635
6635
|
error: {
|
|
6636
|
-
direction: "improving" | "stable" | "declining";
|
|
6637
6636
|
delta: number;
|
|
6637
|
+
direction: "improving" | "stable" | "declining";
|
|
6638
6638
|
current: number;
|
|
6639
6639
|
previous: number;
|
|
6640
6640
|
};
|
|
6641
6641
|
warning: {
|
|
6642
|
-
direction: "improving" | "stable" | "declining";
|
|
6643
6642
|
delta: number;
|
|
6643
|
+
direction: "improving" | "stable" | "declining";
|
|
6644
6644
|
current: number;
|
|
6645
6645
|
previous: number;
|
|
6646
6646
|
};
|
|
6647
6647
|
info: {
|
|
6648
|
-
direction: "improving" | "stable" | "declining";
|
|
6649
6648
|
delta: number;
|
|
6649
|
+
direction: "improving" | "stable" | "declining";
|
|
6650
6650
|
current: number;
|
|
6651
6651
|
previous: number;
|
|
6652
6652
|
};
|
|
6653
6653
|
}, {
|
|
6654
6654
|
error: {
|
|
6655
|
-
direction: "improving" | "stable" | "declining";
|
|
6656
6655
|
delta: number;
|
|
6656
|
+
direction: "improving" | "stable" | "declining";
|
|
6657
6657
|
current: number;
|
|
6658
6658
|
previous: number;
|
|
6659
6659
|
};
|
|
6660
6660
|
warning: {
|
|
6661
|
-
direction: "improving" | "stable" | "declining";
|
|
6662
6661
|
delta: number;
|
|
6662
|
+
direction: "improving" | "stable" | "declining";
|
|
6663
6663
|
current: number;
|
|
6664
6664
|
previous: number;
|
|
6665
6665
|
};
|
|
6666
6666
|
info: {
|
|
6667
|
-
direction: "improving" | "stable" | "declining";
|
|
6668
6667
|
delta: number;
|
|
6668
|
+
direction: "improving" | "stable" | "declining";
|
|
6669
6669
|
current: number;
|
|
6670
6670
|
previous: number;
|
|
6671
6671
|
};
|
|
@@ -6676,13 +6676,13 @@ declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
|
6676
6676
|
delta: z.ZodNumber;
|
|
6677
6677
|
direction: z.ZodEnum<["improving", "stable", "declining"]>;
|
|
6678
6678
|
}, "strip", z.ZodTypeAny, {
|
|
6679
|
-
direction: "improving" | "stable" | "declining";
|
|
6680
6679
|
delta: number;
|
|
6680
|
+
direction: "improving" | "stable" | "declining";
|
|
6681
6681
|
current: number;
|
|
6682
6682
|
previous: number;
|
|
6683
6683
|
}, {
|
|
6684
|
-
direction: "improving" | "stable" | "declining";
|
|
6685
6684
|
delta: number;
|
|
6685
|
+
direction: "improving" | "stable" | "declining";
|
|
6686
6686
|
current: number;
|
|
6687
6687
|
previous: number;
|
|
6688
6688
|
}>;
|
|
@@ -6697,109 +6697,109 @@ declare const SecurityTrendResultSchema: z.ZodObject<{
|
|
|
6697
6697
|
}, "strip", z.ZodTypeAny, {
|
|
6698
6698
|
category: string;
|
|
6699
6699
|
description: string;
|
|
6700
|
-
direction: "improving" | "stable" | "declining";
|
|
6701
6700
|
delta: number;
|
|
6701
|
+
direction: "improving" | "stable" | "declining";
|
|
6702
6702
|
}, {
|
|
6703
6703
|
category: string;
|
|
6704
6704
|
description: string;
|
|
6705
|
-
direction: "improving" | "stable" | "declining";
|
|
6706
6705
|
delta: number;
|
|
6706
|
+
direction: "improving" | "stable" | "declining";
|
|
6707
6707
|
}>, "many">;
|
|
6708
6708
|
}, "strip", z.ZodTypeAny, {
|
|
6709
6709
|
from: string;
|
|
6710
6710
|
snapshotCount: number;
|
|
6711
6711
|
to: string;
|
|
6712
6712
|
totalFindings: {
|
|
6713
|
-
direction: "improving" | "stable" | "declining";
|
|
6714
6713
|
delta: number;
|
|
6714
|
+
direction: "improving" | "stable" | "declining";
|
|
6715
6715
|
current: number;
|
|
6716
6716
|
previous: number;
|
|
6717
6717
|
};
|
|
6718
6718
|
bySeverity: {
|
|
6719
6719
|
error: {
|
|
6720
|
-
direction: "improving" | "stable" | "declining";
|
|
6721
6720
|
delta: number;
|
|
6721
|
+
direction: "improving" | "stable" | "declining";
|
|
6722
6722
|
current: number;
|
|
6723
6723
|
previous: number;
|
|
6724
6724
|
};
|
|
6725
6725
|
warning: {
|
|
6726
|
-
direction: "improving" | "stable" | "declining";
|
|
6727
6726
|
delta: number;
|
|
6727
|
+
direction: "improving" | "stable" | "declining";
|
|
6728
6728
|
current: number;
|
|
6729
6729
|
previous: number;
|
|
6730
6730
|
};
|
|
6731
6731
|
info: {
|
|
6732
|
-
direction: "improving" | "stable" | "declining";
|
|
6733
6732
|
delta: number;
|
|
6733
|
+
direction: "improving" | "stable" | "declining";
|
|
6734
6734
|
current: number;
|
|
6735
6735
|
previous: number;
|
|
6736
6736
|
};
|
|
6737
6737
|
};
|
|
6738
6738
|
supplyChain: {
|
|
6739
|
-
direction: "improving" | "stable" | "declining";
|
|
6740
6739
|
delta: number;
|
|
6740
|
+
direction: "improving" | "stable" | "declining";
|
|
6741
6741
|
current: number;
|
|
6742
6742
|
previous: number;
|
|
6743
6743
|
};
|
|
6744
6744
|
score: {
|
|
6745
|
-
direction: "improving" | "stable" | "declining";
|
|
6746
6745
|
delta: number;
|
|
6746
|
+
direction: "improving" | "stable" | "declining";
|
|
6747
6747
|
current: number;
|
|
6748
6748
|
previous: number;
|
|
6749
6749
|
};
|
|
6750
6750
|
attribution: {
|
|
6751
6751
|
category: string;
|
|
6752
6752
|
description: string;
|
|
6753
|
-
direction: "improving" | "stable" | "declining";
|
|
6754
6753
|
delta: number;
|
|
6754
|
+
direction: "improving" | "stable" | "declining";
|
|
6755
6755
|
}[];
|
|
6756
6756
|
}, {
|
|
6757
6757
|
from: string;
|
|
6758
6758
|
snapshotCount: number;
|
|
6759
6759
|
to: string;
|
|
6760
6760
|
totalFindings: {
|
|
6761
|
-
direction: "improving" | "stable" | "declining";
|
|
6762
6761
|
delta: number;
|
|
6762
|
+
direction: "improving" | "stable" | "declining";
|
|
6763
6763
|
current: number;
|
|
6764
6764
|
previous: number;
|
|
6765
6765
|
};
|
|
6766
6766
|
bySeverity: {
|
|
6767
6767
|
error: {
|
|
6768
|
-
direction: "improving" | "stable" | "declining";
|
|
6769
6768
|
delta: number;
|
|
6769
|
+
direction: "improving" | "stable" | "declining";
|
|
6770
6770
|
current: number;
|
|
6771
6771
|
previous: number;
|
|
6772
6772
|
};
|
|
6773
6773
|
warning: {
|
|
6774
|
-
direction: "improving" | "stable" | "declining";
|
|
6775
6774
|
delta: number;
|
|
6775
|
+
direction: "improving" | "stable" | "declining";
|
|
6776
6776
|
current: number;
|
|
6777
6777
|
previous: number;
|
|
6778
6778
|
};
|
|
6779
6779
|
info: {
|
|
6780
|
-
direction: "improving" | "stable" | "declining";
|
|
6781
6780
|
delta: number;
|
|
6781
|
+
direction: "improving" | "stable" | "declining";
|
|
6782
6782
|
current: number;
|
|
6783
6783
|
previous: number;
|
|
6784
6784
|
};
|
|
6785
6785
|
};
|
|
6786
6786
|
supplyChain: {
|
|
6787
|
-
direction: "improving" | "stable" | "declining";
|
|
6788
6787
|
delta: number;
|
|
6788
|
+
direction: "improving" | "stable" | "declining";
|
|
6789
6789
|
current: number;
|
|
6790
6790
|
previous: number;
|
|
6791
6791
|
};
|
|
6792
6792
|
score: {
|
|
6793
|
-
direction: "improving" | "stable" | "declining";
|
|
6794
6793
|
delta: number;
|
|
6794
|
+
direction: "improving" | "stable" | "declining";
|
|
6795
6795
|
current: number;
|
|
6796
6796
|
previous: number;
|
|
6797
6797
|
};
|
|
6798
6798
|
attribution: {
|
|
6799
6799
|
category: string;
|
|
6800
6800
|
description: string;
|
|
6801
|
-
direction: "improving" | "stable" | "declining";
|
|
6802
6801
|
delta: number;
|
|
6802
|
+
direction: "improving" | "stable" | "declining";
|
|
6803
6803
|
}[];
|
|
6804
6804
|
}>;
|
|
6805
6805
|
type SecurityTrendResult = z.infer<typeof SecurityTrendResultSchema>;
|
|
@@ -8610,12 +8610,12 @@ declare const QuestionSchema: z.ZodObject<{
|
|
|
8610
8610
|
default: z.ZodOptional<z.ZodString>;
|
|
8611
8611
|
}, "strip", z.ZodTypeAny, {
|
|
8612
8612
|
text: string;
|
|
8613
|
-
default?: string | undefined;
|
|
8614
8613
|
options?: string[] | undefined;
|
|
8614
|
+
default?: string | undefined;
|
|
8615
8615
|
}, {
|
|
8616
8616
|
text: string;
|
|
8617
|
-
default?: string | undefined;
|
|
8618
8617
|
options?: string[] | undefined;
|
|
8618
|
+
default?: string | undefined;
|
|
8619
8619
|
}>;
|
|
8620
8620
|
declare const ConfirmationSchema: z.ZodObject<{
|
|
8621
8621
|
text: z.ZodString;
|
|
@@ -8659,12 +8659,12 @@ declare const EmitInteractionInputSchema: z.ZodObject<{
|
|
|
8659
8659
|
default: z.ZodOptional<z.ZodString>;
|
|
8660
8660
|
}, "strip", z.ZodTypeAny, {
|
|
8661
8661
|
text: string;
|
|
8662
|
-
default?: string | undefined;
|
|
8663
8662
|
options?: string[] | undefined;
|
|
8663
|
+
default?: string | undefined;
|
|
8664
8664
|
}, {
|
|
8665
8665
|
text: string;
|
|
8666
|
-
default?: string | undefined;
|
|
8667
8666
|
options?: string[] | undefined;
|
|
8667
|
+
default?: string | undefined;
|
|
8668
8668
|
}>>;
|
|
8669
8669
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
8670
8670
|
text: z.ZodString;
|
|
@@ -8699,13 +8699,13 @@ declare const EmitInteractionInputSchema: z.ZodObject<{
|
|
|
8699
8699
|
requiresConfirmation: boolean;
|
|
8700
8700
|
}>>;
|
|
8701
8701
|
}, "strip", z.ZodTypeAny, {
|
|
8702
|
-
type: "question" | "confirmation" | "transition";
|
|
8703
8702
|
path: string;
|
|
8703
|
+
type: "question" | "confirmation" | "transition";
|
|
8704
8704
|
stream?: string | undefined;
|
|
8705
8705
|
question?: {
|
|
8706
8706
|
text: string;
|
|
8707
|
-
default?: string | undefined;
|
|
8708
8707
|
options?: string[] | undefined;
|
|
8708
|
+
default?: string | undefined;
|
|
8709
8709
|
} | undefined;
|
|
8710
8710
|
confirmation?: {
|
|
8711
8711
|
text: string;
|
|
@@ -8720,13 +8720,13 @@ declare const EmitInteractionInputSchema: z.ZodObject<{
|
|
|
8720
8720
|
requiresConfirmation: boolean;
|
|
8721
8721
|
} | undefined;
|
|
8722
8722
|
}, {
|
|
8723
|
-
type: "question" | "confirmation" | "transition";
|
|
8724
8723
|
path: string;
|
|
8724
|
+
type: "question" | "confirmation" | "transition";
|
|
8725
8725
|
stream?: string | undefined;
|
|
8726
8726
|
question?: {
|
|
8727
8727
|
text: string;
|
|
8728
|
-
default?: string | undefined;
|
|
8729
8728
|
options?: string[] | undefined;
|
|
8729
|
+
default?: string | undefined;
|
|
8730
8730
|
} | undefined;
|
|
8731
8731
|
confirmation?: {
|
|
8732
8732
|
text: string;
|
|
@@ -8804,6 +8804,16 @@ declare function isUpdateCheckEnabled(configInterval?: number): boolean;
|
|
|
8804
8804
|
* If state is null (never checked), returns true.
|
|
8805
8805
|
*/
|
|
8806
8806
|
declare function shouldRunCheck(state: UpdateCheckState | null, intervalMs: number): boolean;
|
|
8807
|
+
/**
|
|
8808
|
+
* Removes the cached update-check state.
|
|
8809
|
+
*
|
|
8810
|
+
* Call after a successful `harness update` so the next CLI invocation cannot
|
|
8811
|
+
* print a stale "Update available" notification reflecting the pre-upgrade
|
|
8812
|
+
* state. With the file gone, `readCheckState` returns null and the
|
|
8813
|
+
* notification path bails out; the next invocation will rerun the background
|
|
8814
|
+
* check on its normal cadence.
|
|
8815
|
+
*/
|
|
8816
|
+
declare function invalidateCheckState(): void;
|
|
8807
8817
|
/**
|
|
8808
8818
|
* Reads the update check state from ~/.harness/update-check.json.
|
|
8809
8819
|
* Returns null if the file is missing, unreadable, or has invalid content.
|
|
@@ -9296,6 +9306,188 @@ declare function collectEvents(projectRoot: string, consent: ConsentState & {
|
|
|
9296
9306
|
*/
|
|
9297
9307
|
declare function send(events: TelemetryEvent[], apiKey: string): Promise<void>;
|
|
9298
9308
|
|
|
9309
|
+
/**
|
|
9310
|
+
* CacheMetricsRecorder — in-memory ring buffer recording prompt-cache
|
|
9311
|
+
* hits/misses per backend invocation. Powers `GET /api/v1/telemetry/cache/stats`
|
|
9312
|
+
* and the dashboard `/insights/cache` widget.
|
|
9313
|
+
*
|
|
9314
|
+
* Design notes:
|
|
9315
|
+
* - Sliding window of the last `capacity` records (default 1000). When
|
|
9316
|
+
* the buffer is full, oldest records are evicted FIFO. Restarts reset
|
|
9317
|
+
* the window — this is intentional: prompt-cache hit-rate is a
|
|
9318
|
+
* debugging/observability signal, not an audit record.
|
|
9319
|
+
* - `windowStartedAt` is set on the first `record()` after construction
|
|
9320
|
+
* (or after `reset()`) and is reported as a unix-ms timestamp. Empty
|
|
9321
|
+
* recorders report `0` so the API response remains JSON-stable.
|
|
9322
|
+
* - All operations are O(1) amortized; `record()` is on the hot path
|
|
9323
|
+
* for every Anthropic response and must not allocate.
|
|
9324
|
+
*/
|
|
9325
|
+
|
|
9326
|
+
interface CacheMetricsRecorderOptions {
|
|
9327
|
+
capacity?: number;
|
|
9328
|
+
/** Injectable clock for deterministic testing. Defaults to `Date.now`. */
|
|
9329
|
+
now?: () => number;
|
|
9330
|
+
}
|
|
9331
|
+
declare class CacheMetricsRecorder {
|
|
9332
|
+
private readonly capacity;
|
|
9333
|
+
private readonly now;
|
|
9334
|
+
private readonly buffer;
|
|
9335
|
+
private windowStartedAt;
|
|
9336
|
+
constructor(opts?: CacheMetricsRecorderOptions);
|
|
9337
|
+
/**
|
|
9338
|
+
* Append a single cache observation. Hot-path: O(1) amortized, no
|
|
9339
|
+
* allocations beyond the sample object itself.
|
|
9340
|
+
*/
|
|
9341
|
+
record(backendId: string, hit: boolean, tokensCreated: number, tokensRead: number): void;
|
|
9342
|
+
/** Aggregate the current window into a `PromptCacheStats` snapshot. */
|
|
9343
|
+
getStats(): PromptCacheStats;
|
|
9344
|
+
/** Clear the buffer and reset the window-start marker. */
|
|
9345
|
+
reset(): void;
|
|
9346
|
+
}
|
|
9347
|
+
|
|
9348
|
+
/**
|
|
9349
|
+
* In-tree trace span shapes for the OTLP/HTTP JSON exporter.
|
|
9350
|
+
*
|
|
9351
|
+
* These are the internal representations the orchestrator buffers and
|
|
9352
|
+
* hands to `OTLPExporter.push()`. The exporter converts them to the OTLP
|
|
9353
|
+
* wire format (string-encoded int64 timestamps, hex-encoded ids) before
|
|
9354
|
+
* serializing as JSON for `/v1/traces` requests.
|
|
9355
|
+
*
|
|
9356
|
+
* See `packages/types/src/telemetry.ts` for the OTLP wire-format shapes
|
|
9357
|
+
* and the rationale for stringly-typed nanosecond timestamps.
|
|
9358
|
+
*/
|
|
9359
|
+
/**
|
|
9360
|
+
* SpanKind enum mirroring the OTel spec values 1..5. Spans emitted by
|
|
9361
|
+
* the orchestrator are predominantly `INTERNAL`; we leave the other
|
|
9362
|
+
* variants exposed for future producer/consumer fanout instrumentation.
|
|
9363
|
+
*/
|
|
9364
|
+
declare enum SpanKind {
|
|
9365
|
+
INTERNAL = 1,
|
|
9366
|
+
SERVER = 2,
|
|
9367
|
+
CLIENT = 3,
|
|
9368
|
+
PRODUCER = 4,
|
|
9369
|
+
CONSUMER = 5
|
|
9370
|
+
}
|
|
9371
|
+
/**
|
|
9372
|
+
* Free-form attribute bag attached to a span. Values must be scalar:
|
|
9373
|
+
* strings, numbers, or booleans (the OTLP/HTTP JSON converter only
|
|
9374
|
+
* supports `stringValue` / `intValue` / `doubleValue` / `boolValue`).
|
|
9375
|
+
*/
|
|
9376
|
+
interface SpanAttributes {
|
|
9377
|
+
[key: string]: string | number | boolean;
|
|
9378
|
+
}
|
|
9379
|
+
/**
|
|
9380
|
+
* A completed trace span ready for export. `startTimeNs` and `endTimeNs`
|
|
9381
|
+
* are unix epoch nanoseconds as `bigint` (JS `number` cannot losslessly
|
|
9382
|
+
* hold int64); the exporter stringifies them for the OTLP JSON payload.
|
|
9383
|
+
*
|
|
9384
|
+
* `traceId` is a 32-char lowercase hex string (16 bytes); `spanId` and
|
|
9385
|
+
* `parentSpanId` are 16-char lowercase hex strings (8 bytes) per the
|
|
9386
|
+
* OTel trace context spec.
|
|
9387
|
+
*
|
|
9388
|
+
* `statusCode` follows OTel convention: 0 = UNSET, 1 = OK, 2 = ERROR.
|
|
9389
|
+
*/
|
|
9390
|
+
interface TraceSpan {
|
|
9391
|
+
traceId: string;
|
|
9392
|
+
spanId: string;
|
|
9393
|
+
parentSpanId?: string;
|
|
9394
|
+
name: string;
|
|
9395
|
+
kind: SpanKind;
|
|
9396
|
+
startTimeNs: bigint;
|
|
9397
|
+
endTimeNs: bigint;
|
|
9398
|
+
attributes: SpanAttributes;
|
|
9399
|
+
statusCode?: 0 | 1 | 2;
|
|
9400
|
+
}
|
|
9401
|
+
|
|
9402
|
+
/**
|
|
9403
|
+
* OTLPExporter — hand-rolled OTLP/HTTP JSON exporter for trace spans.
|
|
9404
|
+
*
|
|
9405
|
+
* Buffers `TraceSpan` instances in-memory and flushes them as OTLP/HTTP
|
|
9406
|
+
* v1.0.0 JSON payloads to a configurable `/v1/traces` endpoint on a
|
|
9407
|
+
* timer (default 2 s) or when the batch size is hit (default 64).
|
|
9408
|
+
*
|
|
9409
|
+
* Design contracts:
|
|
9410
|
+
* - {@link push} is synchronous and never awaits. The orchestrator hot
|
|
9411
|
+
* path may call `push()` thousands of times per second; we must add
|
|
9412
|
+
* < 5 ms p99 to dispatch latency (Phase 5 acceptance criterion).
|
|
9413
|
+
* - {@link flush} is fire-and-forget. On HTTP failure we retry up to 3
|
|
9414
|
+
* times with 1 s / 2 s / 4 s backoff, then drop the batch and log a
|
|
9415
|
+
* single `console.warn`. The exporter never queues to disk.
|
|
9416
|
+
* - When `enabled: false`, {@link push} is a constant-time no-op so
|
|
9417
|
+
* callers can wire the recorder unconditionally without branching.
|
|
9418
|
+
* - {@link stop} flushes the remaining buffer before resolving so we
|
|
9419
|
+
* don't lose data on graceful shutdown.
|
|
9420
|
+
*
|
|
9421
|
+
* Wire format (per OTLP/HTTP v1.0.0 spec):
|
|
9422
|
+
* ```json
|
|
9423
|
+
* {
|
|
9424
|
+
* "resourceSpans": [{
|
|
9425
|
+
* "resource": { "attributes": [{ "key": "service.name", "value": { "stringValue": "harness" } }] },
|
|
9426
|
+
* "scopeSpans": [{
|
|
9427
|
+
* "scope": { "name": "harness" },
|
|
9428
|
+
* "spans": [ ...OTLPSpan[] ]
|
|
9429
|
+
* }]
|
|
9430
|
+
* }]
|
|
9431
|
+
* }
|
|
9432
|
+
* ```
|
|
9433
|
+
*
|
|
9434
|
+
* `traceId` / `spanId` are lowercase hex strings (16 / 8 bytes); time
|
|
9435
|
+
* fields are stringly-typed nanoseconds (JSON cannot losslessly hold
|
|
9436
|
+
* int64).
|
|
9437
|
+
*/
|
|
9438
|
+
|
|
9439
|
+
interface OTLPExporterOptions {
|
|
9440
|
+
/** Full OTLP/HTTP traces endpoint, e.g. `http://localhost:4318/v1/traces`. */
|
|
9441
|
+
endpoint: string;
|
|
9442
|
+
/** Default `true`. When `false`, push() is a no-op. */
|
|
9443
|
+
enabled?: boolean;
|
|
9444
|
+
/** Custom headers (auth tokens, etc.). */
|
|
9445
|
+
headers?: Record<string, string>;
|
|
9446
|
+
/** Flush interval in ms. Default 2000. */
|
|
9447
|
+
flushIntervalMs?: number;
|
|
9448
|
+
/** Buffer size that triggers an immediate flush. Default 64. */
|
|
9449
|
+
batchSize?: number;
|
|
9450
|
+
/** Injectable fetch for tests. Defaults to `globalThis.fetch`. */
|
|
9451
|
+
fetchImpl?: typeof fetch;
|
|
9452
|
+
/** Injectable warn for tests. Defaults to `console.warn`. */
|
|
9453
|
+
warn?: (...args: unknown[]) => void;
|
|
9454
|
+
}
|
|
9455
|
+
declare class OTLPExporter {
|
|
9456
|
+
private readonly endpoint;
|
|
9457
|
+
private readonly enabled;
|
|
9458
|
+
private readonly headers;
|
|
9459
|
+
private readonly flushIntervalMs;
|
|
9460
|
+
private readonly batchSize;
|
|
9461
|
+
private readonly fetchImpl;
|
|
9462
|
+
private readonly warn;
|
|
9463
|
+
private buffer;
|
|
9464
|
+
private timer;
|
|
9465
|
+
private readonly inFlightFlushes;
|
|
9466
|
+
constructor(opts: OTLPExporterOptions);
|
|
9467
|
+
/**
|
|
9468
|
+
* O(1) buffer push. When `enabled === false` this is a no-op. If the
|
|
9469
|
+
* buffer reaches `batchSize`, a flush is triggered without awaiting.
|
|
9470
|
+
*/
|
|
9471
|
+
push(span: TraceSpan): void;
|
|
9472
|
+
/** Start the periodic flush timer. Idempotent. */
|
|
9473
|
+
start(): void;
|
|
9474
|
+
/** Flush any pending spans and stop the timer. Awaits all in-flight flushes. */
|
|
9475
|
+
stop(): Promise<void>;
|
|
9476
|
+
/**
|
|
9477
|
+
* Synchronously claim the current buffer and POST it to `/v1/traces`.
|
|
9478
|
+
* Each invocation runs independently — concurrent flushes (e.g. one
|
|
9479
|
+
* from the timer, one from a `batchSize` trip) each drain their own
|
|
9480
|
+
* batch. Retries up to 3 times on transport or 5xx failure, then
|
|
9481
|
+
* drops with a single warning.
|
|
9482
|
+
*/
|
|
9483
|
+
private flush;
|
|
9484
|
+
/**
|
|
9485
|
+
* Build the OTLP/HTTP JSON envelope for a batch of spans. Public for
|
|
9486
|
+
* tests; not part of the supported API surface.
|
|
9487
|
+
*/
|
|
9488
|
+
spansToOTLPJSON(spans: TraceSpan[]): unknown;
|
|
9489
|
+
}
|
|
9490
|
+
|
|
9299
9491
|
declare class CompoundLockHeldError extends Error {
|
|
9300
9492
|
readonly category: SolutionCategory;
|
|
9301
9493
|
readonly holderPid: number;
|
|
@@ -9635,16 +9827,16 @@ declare const SolutionDocFrontmatterSchema: z.ZodDiscriminatedUnion<"track", [z.
|
|
|
9635
9827
|
track: z.ZodLiteral<"bug-track">;
|
|
9636
9828
|
category: z.ZodEnum<["build-errors", "test-failures", "runtime-errors", "performance-issues", "database-issues", "security-issues", "ui-bugs", "integration-issues", "logic-errors"]>;
|
|
9637
9829
|
}, "strip", z.ZodTypeAny, {
|
|
9830
|
+
category: "build-errors" | "test-failures" | "runtime-errors" | "performance-issues" | "database-issues" | "security-issues" | "ui-bugs" | "integration-issues" | "logic-errors";
|
|
9638
9831
|
module: string;
|
|
9639
9832
|
track: "bug-track";
|
|
9640
|
-
category: "build-errors" | "test-failures" | "runtime-errors" | "performance-issues" | "database-issues" | "security-issues" | "ui-bugs" | "integration-issues" | "logic-errors";
|
|
9641
9833
|
tags: string[];
|
|
9642
9834
|
problem_type: string;
|
|
9643
9835
|
last_updated: string;
|
|
9644
9836
|
}, {
|
|
9837
|
+
category: "build-errors" | "test-failures" | "runtime-errors" | "performance-issues" | "database-issues" | "security-issues" | "ui-bugs" | "integration-issues" | "logic-errors";
|
|
9645
9838
|
module: string;
|
|
9646
9839
|
track: "bug-track";
|
|
9647
|
-
category: "build-errors" | "test-failures" | "runtime-errors" | "performance-issues" | "database-issues" | "security-issues" | "ui-bugs" | "integration-issues" | "logic-errors";
|
|
9648
9840
|
tags: string[];
|
|
9649
9841
|
problem_type: string;
|
|
9650
9842
|
last_updated: string;
|
|
@@ -9657,16 +9849,16 @@ declare const SolutionDocFrontmatterSchema: z.ZodDiscriminatedUnion<"track", [z.
|
|
|
9657
9849
|
track: z.ZodLiteral<"knowledge-track">;
|
|
9658
9850
|
category: z.ZodEnum<["architecture-patterns", "design-patterns", "tooling-decisions", "conventions", "dx", "best-practices"]>;
|
|
9659
9851
|
}, "strip", z.ZodTypeAny, {
|
|
9852
|
+
category: "architecture-patterns" | "design-patterns" | "tooling-decisions" | "conventions" | "dx" | "best-practices";
|
|
9660
9853
|
module: string;
|
|
9661
9854
|
track: "knowledge-track";
|
|
9662
|
-
category: "architecture-patterns" | "design-patterns" | "tooling-decisions" | "conventions" | "dx" | "best-practices";
|
|
9663
9855
|
tags: string[];
|
|
9664
9856
|
problem_type: string;
|
|
9665
9857
|
last_updated: string;
|
|
9666
9858
|
}, {
|
|
9859
|
+
category: "architecture-patterns" | "design-patterns" | "tooling-decisions" | "conventions" | "dx" | "best-practices";
|
|
9667
9860
|
module: string;
|
|
9668
9861
|
track: "knowledge-track";
|
|
9669
|
-
category: "architecture-patterns" | "design-patterns" | "tooling-decisions" | "conventions" | "dx" | "best-practices";
|
|
9670
9862
|
tags: string[];
|
|
9671
9863
|
problem_type: string;
|
|
9672
9864
|
last_updated: string;
|
|
@@ -9722,6 +9914,6 @@ interface AssembleInput {
|
|
|
9722
9914
|
}
|
|
9723
9915
|
declare function assembleCandidateReport(input: AssembleInput): string;
|
|
9724
9916
|
|
|
9725
|
-
declare const VERSION = "0.
|
|
9917
|
+
declare const VERSION = "0.25.0";
|
|
9726
9918
|
|
|
9727
|
-
export { AGENT_DESCRIPTORS, AGREEMENT_LINE_GAP, ALLOWED_FIELD_KEYS, ALL_SOLUTION_CATEGORIES, ARCHITECTURE_DESCRIPTOR, type AST, type AcquireOptions, type ActionContext, type ActionEvent, type ActionEventHandler, type ActionEventType, type ActionResult, type ActionSink, type ActionTracker, type ActionType, type AdjustedForecast, AdjustedForecastSchema, type AgentAction, AgentActionEmitter, type AgentConfigFallbackReason, type AgentConfigFinding, type AgentConfigOptions, type AgentConfigSeverity, type AgentConfigValidation, type AgentExecutor, type AgentMapLink, type AgentMapSection, type AgentMapValidation, type AgentProcess, type AgentReviewResult, type AgentType, type AgentsMapConfig, type AnnotationIssue, type AnnotationIssueType, AnthropicCacheAdapter, type AppendLearningResult, ArchBaseline, ArchBaselineManager, ArchConfig, ArchDiffResult, ArchMetricCategory, type AssembleInput, BUG_DETECTION_DESCRIPTOR, BUG_TRACK_CATEGORIES, type BaseError, type Baseline, BaselineManager, type BaselinesFile, type BenchmarkResult, type BenchmarkRunOptions, BenchmarkRunner, type BlueprintData, BlueprintGenerator, type BlueprintModule, type BlueprintOptions, type BoundaryDefinition, type BoundaryValidation, type BoundaryValidator, type BoundaryViolation, type BranchValidationResult, type BranchingConfig, type BrokenLink, type BudgetedLearningsOptions, type Bundle, type BundleConstraints, BundleConstraintsSchema, BundleSchema, CACHE_TTL_MS, CINotifier, COMPLIANCE_DESCRIPTOR, CORROBORATED_AGREEMENT, type CacheAdapter, type CategoryForecast, CategoryForecastSchema, CategorySnapshotSchema, type ChangeType, type ChangedFile, ChecklistBuilder, type CircularDependency, CircularDepsCollector, type CircularDepsResult, type CleanupFinding, type CodeBlock, type CodeChanges, type CodePattern, type CodeReference, type CodeSymbol, type CodebaseSnapshot, Collector, type CommentedCodeBlock, type CommitFormat, type CommitHistoryEntry, type CommitValidation, CompactionPipeline, type CompactionStrategy, ComplexityCollector, type ComplexityConfig, type ComplexityReport, type ComplexityThresholds, type ComplexityViolation, type CompoundLockHandle, CompoundLockHeldError, type ConfidenceTier, ConfidenceTierSchema, type ConfigError, type ConfigPattern, type Confirmation, ConfirmationSchema, ConflictError, type ConflictReport, ConsoleSink, type ConstraintError, type ConstraintNodeStore, ConstraintRule, type Content, type ContextBundle, type ContextError, type ContextFile, type ContextFilterResult, type ContextScopeOptions, ContributingFeatureSchema, type Contributions, ContributionsSchema, type Convention, CouplingCollector, type CouplingConfig, type CouplingReport, type CouplingThresholds, type CouplingViolation, type CoverageOptions, type CoverageReport, type CriticalPathEntry, CriticalPathResolver, type CriticalPathSet, type CustomRule, type CustomRuleResult, DEFAULT_LOADER_CONFIG, DEFAULT_PROVIDER_TIERS, DEFAULT_SECURITY_CONFIG, DEFAULT_STABILITY_THRESHOLDS, DEFAULT_STATE, DEFAULT_STREAM_INDEX, DEFAULT_TOKEN_BUDGET, DESTRUCTIVE_BASH, DOMAIN_BASELINES, type DailyAdoption, type DataPoint, type DeadCodeConfig, type DeadCodeReport, type DeadExport, type DeadFile, type DeadInternal, type DeduplicateFindingsOptions, DepDepthCollector, type DependencyEdge, type DependencyGraph, type DependencyValidation, type DependencyViolation, type DetectStaleResult, type DiffInfo, type Direction$1 as Direction, DirectionSchema$1 as DirectionSchema, type DocumentationDrift, type DocumentationFile, type DocumentationGap, type DriftConfig, type DriftReport, EMPTY_SUPPLY_CHAIN, ETagStore, EVIDENCE_SATURATION, EXTENSION_MAP, type EligibilityResult, EmergenceResult, type EmitEventInput, type EmitEventOptions, type EmitEventResult, type EmitInteractionInput, EmitInteractionInputSchema, EntropyAnalyzer, type EntropyConfig, EntropyConfigSchema, type EntropyError, type EntropyReport, type EstimatorCoefficients, type EventType, type EvidenceCoverageReport, ExclusionSet, type ExecutorHealth, type Export, type ExportMap, type ExternalSyncOptions, FACTOR_WEIGHTS, type FailureEntry, FailureEntrySchema, type FallbackPricingFile, type FanOutOptions, type FeaturePatch, type FeedbackAgentConfig, type FeedbackConfig, type FeedbackError$1 as FeedbackError, type FileCategory, type FileLessScoredCandidate, FileSink, type FindingLifecycle, FindingLifecycleSchema, type FindingSeverity, type Fix, type FixConfig, type FixResult, type FixType, ForbiddenImportCollector, type ForbiddenImportViolation, type ForbiddenPattern, type GateConfig, GateConfigSchema, type GateResult, GateResultSchema, GeminiCacheAdapter, type GenerateRubricOptions, type GenerationSection, type GitHubInlineComment, GitHubIssuesSyncAdapter, type GitScanOptions, type GraphAdapter, type GraphComplexityData, type GraphCouplingData, type GraphCoverageData, type GraphCriticalPathData, type GraphDependencyData, type GraphHarnessCheckData, type GraphImpactData, type GraphNode, type Handoff, HandoffSchema, type HarnessState, HarnessStateSchema, type HealthCheckResult, type HistoryEvent, type HistoryEventType, type Hotspot$1 as Hotspot, type HotspotContext, type Import, type InjectionFinding, type InjectionPattern, type InjectionSeverity, type InlineReference, type IntegrityReport, type InteractionType, InteractionTypeSchema, type InternalSymbol, type IsoWeek, type JSDocComment, KNOWLEDGE_TRACK_CATEGORIES, LITELLM_PRICING_URL, type LanguageParser, type Layer, type LayerConfig, LayerViolationCollector, type LearningPattern, type LearningsFrontmatter, type LearningsIndexEntry, type LiteLLMModelEntry, type LiteLLMPricingData, type LoadEventsOptions, type LoaderConfig, type Lockfile, type LockfilePackage, LockfilePackageSchema, LockfileSchema, type LogEntry, type LogFilter, MOCK_ADAPTER_NAME, type MakeTrackerConflictBodyOptions, type Manifest, ManifestSchema, type MechanicalCheckOptions, type MechanicalCheckResult, type MechanicalCheckStatus, type MechanicalFinding, type MergeResult, type Metric, MetricResult, type ModelProvider, type ModelTier, type ModelTierConfig, type ModuleDependency, ModuleSizeCollector, type NewFeatureInput, NoOpExecutor, NoOpSink, NoOpTelemetryAdapter, OpenAICacheAdapter, type OrchestratorResult, type OrphanedDep, type OutlineResult, type OverlapDimensions, type OverlapResult, PII_FIELD_DENYLIST, PII_LINE_RE, PII_TOKENS, type PackedEnvelope, type PaginatedSlice, type PaginationMeta, type ParallelGroups, type ParseError, type ParsedFile, type ParsedSection, type ParserLookup, type PatternConfig, PatternConfigSchema, type PatternMatch, type PatternReport, type PatternViolation, type PeerReview, type PeerReviewOptions, type PilotScoringOptions, type PipelineContext, type PipelineFlags, type PipelineOptions, type PipelineResult, type PrMetadata, PredictionEngine, type PredictionOptions, PredictionOptionsSchema, type RegressionResult as PredictionRegressionResult, RegressionResultSchema as PredictionRegressionResultSchema, type PredictionResult, PredictionResultSchema, type PredictionWarning, PredictionWarningSchema, type PricingCacheFile, type PricingDataset, type PriorReview, ProjectScanner, type PromoteResult, type ProtectedRegion, type ProtectedRegionMap, type ProtectionScope, type ProviderDefaults, type ProviderSystemBlock, type ProviderToolBlock, type PruneResult, PulseAdapterAlreadyRegisteredError, PulseConfigSchema, type PulseConfigValidation, PulseDbSourceSchema, PulseSourcesSchema, type Question, QuestionSchema, REQUIRED_SECTIONS, type ReachabilityNode, RegressionDetector, type RegressionFit, type RegressionReport, type RegressionResult$1 as RegressionResult, type ReviewAgentDescriptor, type ReviewAssessment, type ReviewChecklist, type ReviewComment, type ReviewContext, type ReviewDomain, type ReviewFinding, type ReviewItem, type ReviewOutputOptions, type ReviewPipelineResult, type ReviewStage, type ReviewStrength, type RoadmapMode, type RoadmapModeConfig, type RoadmapModeValidationConfig, type RoadmapTrackerClient, type Rubric, type RubricItem, type RuleOverride, RuleRegistry, type RunCIChecksInput, type RunPipelineOptions, SECURITY_DESCRIPTOR, STALENESS_WARNING_DAYS, STANDALONE_AGREEMENT, STATUS_RANK, type SafetyLevel, type ScanConfigFileResult, type ScanConfigFinding, type ScanConfigResult, type Hotspot as ScanHotspot, type HotspotOptions as ScanHotspotOptions, type ScanResult, type ScannedCommit, type ScoredCandidate, type SearchMatch, type SearchResult, type SecurityCategory, type SecurityCategorySnapshot, SecurityCategorySnapshotSchema, type SecurityConfidence, type SecurityConfig, SecurityConfigSchema, type Direction as SecurityDirection, DirectionSchema as SecurityDirectionSchema, type SecurityFinding, type SecurityRule, SecurityScanner, type SecuritySeverity, type SecurityTimelineFile, SecurityTimelineFileSchema, SecurityTimelineManager, type SecurityTimelineSnapshot, SecurityTimelineSnapshotSchema, type SecurityTrendLine, SecurityTrendLineSchema, type SecurityTrendResult, SecurityTrendResultSchema, type SeedOptions, type SelfReviewConfig, type SessionSummaryData, SharableBoundaryConfigSchema, SharableForbiddenImportSchema, SharableLayerSchema, SharableSecurityRulesSchema, type SizeBudgetConfig, type SizeBudgetReport, type SizeBudgetViolation, type SkillEvent, SkillEventSchema, type SkillExecutor, type SkillLoadPlan, SolutionDocFrontmatterSchema, type SolutionsDirValidation, type SourceFile, type Span, type SpanEvent, type SpecImpactEstimate, SpecImpactEstimateSchema, SpecImpactEstimator, SpecImpactSignalsSchema, type StabilityForecast, StabilityForecastSchema, type StabilityTaggedBlock, type StaleConstraint, type StalenessEntry, type StalenessReport, type StepExecutor, type StrategySeed, type StreamIndex, StreamIndexSchema, type StreamInfo, StreamInfoSchema, StructuralStrategy, type StructureValidation, type Suggestion, type SuggestionReport, type SupplyChainSnapshot, SupplyChainSnapshotSchema, type SupportedLanguage, type SuppressionRecord, type SymbolKind, type SyncChange, type SyncOptions, type TaintCheckResult, type TaintFinding, type TaintState, type TelemetryAdapter, type TelemetryHealth, ThresholdConfig, type TimeRange, type TimeToFixResult, TimeToFixResultSchema, type TimeToFixStats, TimeToFixStatsSchema, type CategorySnapshot as TimelineCategorySnapshot, type TimelineFile, TimelineFileSchema, TimelineManager, type TimelineSnapshot, TimelineSnapshotSchema, type TokenBudget, type TokenBudgetOverrides, type ToolDefinition, type Trace, type TrackedFeature, type TrackerClientConfig, type TrackerConflictBody, type TrackerSyncAdapter, type Transition, TransitionSchema, type TrendAttribution, TrendAttributionSchema, type TrendLine, TrendLineSchema, type TrendResult, TrendResultSchema, TruncationStrategy, type TrustScoreOptions, type TurnExecutor, TypeScriptParser, type UnfoldResult, type UnusedImport, type UpdateCheckState, VALIDATION_SCORES, VALID_SCOPES, VERSION, type ValidateFindingsOptions, type ValidationError, Violation, type ViolationCluster, ViolationHistory, ViolationHistoryManager, ViolationSnapshot, WHATWG_BAD_PORTS, type WorkflowPhase, type WritePulseConfigOptions, acquireCompoundLock, addProvenance, agentConfigRules, aggregateByDay as aggregateAdoptionByDay, aggregateByDay$1 as aggregateByDay, aggregateBySession, aggregateBySkill, analyzeDiff, analyzeLearningPatterns, appendFailure, appendLearning, appendSessionEntry, applyFixes, applyHotspotDowngrade, applyRecencyWeights, applySyncChanges, archiveFailures, archiveLearnings, archiveSession, archiveStream, assembleCandidateReport, assembleReport, assertPortUsable, assertSanitized, assignFeature, buildDependencyGraph, buildExclusionSet, buildSnapshot, calculateCacheSavings, calculateCost, checkDocCoverage, checkEligibility, checkEvidenceCoverage, checkOverlap, checkTaint, classifyConfidence, classifyFinding, clearEventHashCache, clearFailuresCache, clearLearningsCache, clearPulseAdapters, clearTaint, clusterViolations, collectEvents, computeContentHash, computeHotspots, computeLexicalSimilarity, computeLoadPlan, computeOverallSeverity, computeScanExitCode, computeTrustScores, computeWindow, configureFeedback, constraintRuleId, contextBudget, contextFilter, countLearningEntries, createBoundaryValidator, createCommentedCodeFixes, createError, createFixes, createForbiddenImportFixes, createOrphanedDepFixes, createParseError, createRegionMap, createSelfReview, createStream, createTrackerClient, crossReferenceUndocumentedFixes, cryptoRules, deduplicateCleanupFindings, deduplicateFindings, deepMergeConstraints, defaultCollectors, defineLayer, deserializationRules, detectChangeType, detectCircularDeps, detectCircularDepsInFiles, detectComplexityViolations, detectCouplingViolations, detectDeadCode, detectDocDrift, detectEmergentConstraints, detectLanguage, detectPatternViolations, detectSizeBudgetViolations, detectStack, detectStaleConstraints, detectStaleLearnings, determineAssessment, diff, emitEvent, estimateTokens, executeWorkflow, expressRules, extractBundle, extractDirectoryScope, extractFileReferences, extractHeadlines, extractIndexEntry, extractLevel, extractMarkdownLinks, extractSections, fanOutReview, findParallelGroups, formatCIReportAsMarkdown, formatEventTimeline, formatFindingBlock, formatGitHubComment, formatGitHubSummary, formatIsoWeek, formatOutline, formatTerminalOutput, fullSync, generateAgentsMap, generateRubric, generateSuggestions, getActionEmitter, getExitCode, getFeedbackConfig, getInjectionPatterns, getModelPrice, getOrCreateInstallId, getOutline, getParser, getPhaseCategories, getPulseAdapter, getRoadmapMode, getStreamForBranch, getTaintFilePath, getTrustLevel, getUpdateNotification, gitScan, goRules, injectionRules, insecureDefaultsRules, isBadPort, isDuplicateFinding, isRegression, isSanitizedResult, isSmallSuggestion, isUpdateCheckEnabled, isoWeek, listActiveSessions, listPulseAdapters, listStreams, listTaintedSessions, loadBudgetedLearnings, loadEvents, loadFailures, loadHandoff, loadIndexEntries, loadPricingData, loadProjectRoadmapMode, loadRelevantLearnings, loadSessionSummary, loadState, loadStreamIndex, loadTrackerClientConfigFromProject, loadTrackerSyncConfig, logAgentAction, makeTrackerConflictBody, mapInjectionFindings, mapSecurityFindings, mapSecuritySeverity, markProtectedFindings, mcpRules, index as migrate, migrateToStreams, networkRules, nodeRules, normalizeLearningContent, normalizeViolationPattern, paginate, parseCCRecords, parseDateFromEntry, parseDiff, parseFile, parseFileRegions, parseFrontmatter, parseHarnessIgnore, parseLiteLLMData, parseLookback, parseManifest, parseProtectedRegions, parseRoadmap, parseSections, parseSecurityConfig, parseSize, pathTraversalRules, previewFix, projectValue, promoteSessionLearnings, pruneLearnings, reactRules, readAdoptionRecords, readCheckState, readCostRecords, readIdentity, readLockfile, readSessionSection, readSessionSections, readTaint, registerMockAdapter, registerPulseAdapter, removeContributions, removeProvenance, requestMultiplePeerReviews, requestPeerReview, resetFeedbackConfig, resetParserCache, resolveConsent, resolveFileToLayer, resolveModelTier, resolveReverseStatus, resolveRuleSeverity, resolveSessionDir, resolveStability, resolveStreamPath, resolveThresholds, runFallbackRules as runAgentConfigFallbackRules, runAll, runArchitectureAgent, runBugDetectionAgent, runCIChecks, runComplianceAgent, runMechanicalChecks, runMechanicalGate, runMultiTurnPipeline, runPipeline, runPulse, runReviewPipeline, runSecurityAgent, saveHandoff, saveState, saveStreamIndex, scanForInjection, scopeContext, scoreRoadmapCandidates, scoreRoadmapCandidatesFileLess, scoreRoadmapCandidatesForMode, searchSymbols, secretRules, securityFindingId, seedFromStrategy, send, serializeEnvelope, serializeRoadmap, setActiveStream, sharpEdgesRules, shouldRunCheck, spawnBackgroundCheck, splitBundlesByStage, stageDomains, suggestCategory, syncConstraintNodes, syncFromExternal, syncRoadmap, syncToExternal, tagUncitedFindings, topSkills, touchStream, trackAction, unfoldRange, unfoldSymbol, updateSessionEntryStatus, updateSessionIndex, validateAgentConfigs, validateAgentsMap, validateBoundaries, validateBranchName, validateCommitMessage, validateConfig, validateDependencies, validateFileStructure, validateFindings, validateKnowledgeMap, validatePatternConfig, validatePulseConfig, validateRoadmapMode, validateSolutionsDir, violationId, weeksUntilThreshold, weightedLinearRegression, writeConfig, writeLockfile, writePulseConfig, writeSessionSummary, writeTaint, xssRules };
|
|
9919
|
+
export { AGENT_DESCRIPTORS, AGREEMENT_LINE_GAP, ALLOWED_FIELD_KEYS, ALL_SOLUTION_CATEGORIES, ARCHITECTURE_DESCRIPTOR, type AST, type AcquireOptions, type ActionContext, type ActionEvent, type ActionEventHandler, type ActionEventType, type ActionResult, type ActionSink, type ActionTracker, type ActionType, type AdjustedForecast, AdjustedForecastSchema, type AgentAction, AgentActionEmitter, type AgentConfigFallbackReason, type AgentConfigFinding, type AgentConfigOptions, type AgentConfigSeverity, type AgentConfigValidation, type AgentExecutor, type AgentMapLink, type AgentMapSection, type AgentMapValidation, type AgentProcess, type AgentReviewResult, type AgentType, type AgentsMapConfig, type AnnotationIssue, type AnnotationIssueType, AnthropicCacheAdapter, type AppendLearningResult, ArchBaseline, ArchBaselineManager, ArchConfig, ArchDiffResult, ArchMetricCategory, type AssembleInput, BUG_DETECTION_DESCRIPTOR, BUG_TRACK_CATEGORIES, type BaseError, type Baseline, BaselineManager, type BaselinesFile, type BenchmarkResult, type BenchmarkRunOptions, BenchmarkRunner, type BlueprintData, BlueprintGenerator, type BlueprintModule, type BlueprintOptions, type BoundaryDefinition, type BoundaryValidation, type BoundaryValidator, type BoundaryViolation, type BranchValidationResult, type BranchingConfig, type BrokenLink, type BudgetedLearningsOptions, type Bundle, type BundleConstraints, BundleConstraintsSchema, BundleSchema, CACHE_TTL_MS, CINotifier, COMPLIANCE_DESCRIPTOR, CORROBORATED_AGREEMENT, type CacheAdapter, CacheMetricsRecorder, type CacheMetricsRecorderOptions, type CategoryForecast, CategoryForecastSchema, CategorySnapshotSchema, type ChangeType, type ChangedFile, ChecklistBuilder, type CircularDependency, CircularDepsCollector, type CircularDepsResult, type CleanupFinding, type CodeBlock, type CodeChanges, type CodePattern, type CodeReference, type CodeSymbol, type CodebaseSnapshot, Collector, type CommentedCodeBlock, type CommitFormat, type CommitHistoryEntry, type CommitValidation, CompactionPipeline, type CompactionStrategy, ComplexityCollector, type ComplexityConfig, type ComplexityReport, type ComplexityThresholds, type ComplexityViolation, type CompoundLockHandle, CompoundLockHeldError, type ConfidenceTier, ConfidenceTierSchema, type ConfigError, type ConfigPattern, type Confirmation, ConfirmationSchema, ConflictError, type ConflictReport, ConsoleSink, type ConstraintError, type ConstraintNodeStore, ConstraintRule, type Content, type ContextBundle, type ContextError, type ContextFile, type ContextFilterResult, type ContextScopeOptions, ContributingFeatureSchema, type Contributions, ContributionsSchema, type Convention, CouplingCollector, type CouplingConfig, type CouplingReport, type CouplingThresholds, type CouplingViolation, type CoverageOptions, type CoverageReport, type CriticalPathEntry, CriticalPathResolver, type CriticalPathSet, type CustomRule, type CustomRuleResult, DEFAULT_LOADER_CONFIG, DEFAULT_PROVIDER_TIERS, DEFAULT_SECURITY_CONFIG, DEFAULT_STABILITY_THRESHOLDS, DEFAULT_STATE, DEFAULT_STREAM_INDEX, DEFAULT_TOKEN_BUDGET, DESTRUCTIVE_BASH, DOMAIN_BASELINES, type DailyAdoption, type DataPoint, type DeadCodeConfig, type DeadCodeReport, type DeadExport, type DeadFile, type DeadInternal, type DeduplicateFindingsOptions, DepDepthCollector, type DependencyEdge, type DependencyGraph, type DependencyValidation, type DependencyViolation, type DetectStaleResult, type DiffInfo, type Direction$1 as Direction, DirectionSchema$1 as DirectionSchema, type DocumentationDrift, type DocumentationFile, type DocumentationGap, type DriftConfig, type DriftReport, EMPTY_SUPPLY_CHAIN, ETagStore, EVIDENCE_SATURATION, EXTENSION_MAP, type EligibilityResult, EmergenceResult, type EmitEventInput, type EmitEventOptions, type EmitEventResult, type EmitInteractionInput, EmitInteractionInputSchema, EntropyAnalyzer, type EntropyConfig, EntropyConfigSchema, type EntropyError, type EntropyReport, type EstimatorCoefficients, type EventType, type EvidenceCoverageReport, ExclusionSet, type ExecutorHealth, type Export, type ExportMap, type ExternalSyncOptions, FACTOR_WEIGHTS, type FailureEntry, FailureEntrySchema, type FallbackPricingFile, type FanOutOptions, type FeaturePatch, type FeedbackAgentConfig, type FeedbackConfig, type FeedbackError$1 as FeedbackError, type FileCategory, type FileLessScoredCandidate, FileSink, type FindingLifecycle, FindingLifecycleSchema, type FindingSeverity, type Fix, type FixConfig, type FixResult, type FixType, ForbiddenImportCollector, type ForbiddenImportViolation, type ForbiddenPattern, type GateConfig, GateConfigSchema, type GateResult, GateResultSchema, GeminiCacheAdapter, type GenerateRubricOptions, type GenerationSection, type GitHubInlineComment, GitHubIssuesSyncAdapter, type GitScanOptions, type GraphAdapter, type GraphComplexityData, type GraphCouplingData, type GraphCoverageData, type GraphCriticalPathData, type GraphDependencyData, type GraphHarnessCheckData, type GraphImpactData, type GraphNode, type Handoff, HandoffSchema, type HarnessState, HarnessStateSchema, type HealthCheckResult, type HistoryEvent, type HistoryEventType, type Hotspot$1 as Hotspot, type HotspotContext, type Import, type InjectionFinding, type InjectionPattern, type InjectionSeverity, type InlineReference, type IntegrityReport, type InteractionType, InteractionTypeSchema, type InternalSymbol, type IsoWeek, type JSDocComment, KNOWLEDGE_TRACK_CATEGORIES, LITELLM_PRICING_URL, type LanguageParser, type Layer, type LayerConfig, LayerViolationCollector, type LearningPattern, type LearningsFrontmatter, type LearningsIndexEntry, type LiteLLMModelEntry, type LiteLLMPricingData, type LoadEventsOptions, type LoaderConfig, type Lockfile, type LockfilePackage, LockfilePackageSchema, LockfileSchema, type LogEntry, type LogFilter, MOCK_ADAPTER_NAME, type MakeTrackerConflictBodyOptions, type Manifest, ManifestSchema, type MechanicalCheckOptions, type MechanicalCheckResult, type MechanicalCheckStatus, type MechanicalFinding, type MergeResult, type Metric, MetricResult, type ModelProvider, type ModelTier, type ModelTierConfig, type ModuleDependency, ModuleSizeCollector, type NewFeatureInput, NoOpExecutor, NoOpSink, NoOpTelemetryAdapter, OTLPExporter, type OTLPExporterOptions, OpenAICacheAdapter, type OrchestratorResult, type OrphanedDep, type OutlineResult, type OverlapDimensions, type OverlapResult, PII_FIELD_DENYLIST, PII_LINE_RE, PII_TOKENS, type PackedEnvelope, type PaginatedSlice, type PaginationMeta, type ParallelGroups, type ParseError, type ParsedFile, type ParsedSection, type ParserLookup, type PatternConfig, PatternConfigSchema, type PatternMatch, type PatternReport, type PatternViolation, type PeerReview, type PeerReviewOptions, type PilotScoringOptions, type PipelineContext, type PipelineFlags, type PipelineOptions, type PipelineResult, type PrMetadata, PredictionEngine, type PredictionOptions, PredictionOptionsSchema, type RegressionResult as PredictionRegressionResult, RegressionResultSchema as PredictionRegressionResultSchema, type PredictionResult, PredictionResultSchema, type PredictionWarning, PredictionWarningSchema, type PricingCacheFile, type PricingDataset, type PriorReview, ProjectScanner, type PromoteResult, type ProtectedRegion, type ProtectedRegionMap, type ProtectionScope, type ProviderDefaults, type ProviderSystemBlock, type ProviderToolBlock, type PruneResult, PulseAdapterAlreadyRegisteredError, PulseConfigSchema, type PulseConfigValidation, PulseDbSourceSchema, PulseSourcesSchema, type Question, QuestionSchema, REQUIRED_SECTIONS, type ReachabilityNode, RegressionDetector, type RegressionFit, type RegressionReport, type RegressionResult$1 as RegressionResult, type ReviewAgentDescriptor, type ReviewAssessment, type ReviewChecklist, type ReviewComment, type ReviewContext, type ReviewDomain, type ReviewFinding, type ReviewItem, type ReviewOutputOptions, type ReviewPipelineResult, type ReviewStage, type ReviewStrength, type RoadmapMode, type RoadmapModeConfig, type RoadmapModeValidationConfig, type RoadmapTrackerClient, type Rubric, type RubricItem, type RuleOverride, RuleRegistry, type RunCIChecksInput, type RunPipelineOptions, SECURITY_DESCRIPTOR, STALENESS_WARNING_DAYS, STANDALONE_AGREEMENT, STATUS_RANK, type SafetyLevel, type ScanConfigFileResult, type ScanConfigFinding, type ScanConfigResult, type Hotspot as ScanHotspot, type HotspotOptions as ScanHotspotOptions, type ScanResult, type ScannedCommit, type ScoredCandidate, type SearchMatch, type SearchResult, type SecurityCategory, type SecurityCategorySnapshot, SecurityCategorySnapshotSchema, type SecurityConfidence, type SecurityConfig, SecurityConfigSchema, type Direction as SecurityDirection, DirectionSchema as SecurityDirectionSchema, type SecurityFinding, type SecurityRule, SecurityScanner, type SecuritySeverity, type SecurityTimelineFile, SecurityTimelineFileSchema, SecurityTimelineManager, type SecurityTimelineSnapshot, SecurityTimelineSnapshotSchema, type SecurityTrendLine, SecurityTrendLineSchema, type SecurityTrendResult, SecurityTrendResultSchema, type SeedOptions, type SelfReviewConfig, type SessionSummaryData, SharableBoundaryConfigSchema, SharableForbiddenImportSchema, SharableLayerSchema, SharableSecurityRulesSchema, type SizeBudgetConfig, type SizeBudgetReport, type SizeBudgetViolation, type SkillEvent, SkillEventSchema, type SkillExecutor, type SkillLoadPlan, SolutionDocFrontmatterSchema, type SolutionsDirValidation, type SourceFile, type Span, type SpanAttributes, type SpanEvent, SpanKind, type SpecImpactEstimate, SpecImpactEstimateSchema, SpecImpactEstimator, SpecImpactSignalsSchema, type StabilityForecast, StabilityForecastSchema, type StabilityTaggedBlock, type StaleConstraint, type StalenessEntry, type StalenessReport, type StepExecutor, type StrategySeed, type StreamIndex, StreamIndexSchema, type StreamInfo, StreamInfoSchema, StructuralStrategy, type StructureValidation, type Suggestion, type SuggestionReport, type SupplyChainSnapshot, SupplyChainSnapshotSchema, type SupportedLanguage, type SuppressionRecord, type SymbolKind, type SyncChange, type SyncOptions, type TaintCheckResult, type TaintFinding, type TaintState, type TelemetryAdapter, type TelemetryHealth, ThresholdConfig, type TimeRange, type TimeToFixResult, TimeToFixResultSchema, type TimeToFixStats, TimeToFixStatsSchema, type CategorySnapshot as TimelineCategorySnapshot, type TimelineFile, TimelineFileSchema, TimelineManager, type TimelineSnapshot, TimelineSnapshotSchema, type TokenBudget, type TokenBudgetOverrides, type ToolDefinition, type Trace, type TraceSpan, type TrackedFeature, type TrackerClientConfig, type TrackerConflictBody, type TrackerSyncAdapter, type Transition, TransitionSchema, type TrendAttribution, TrendAttributionSchema, type TrendLine, TrendLineSchema, type TrendResult, TrendResultSchema, TruncationStrategy, type TrustScoreOptions, type TurnExecutor, TypeScriptParser, type UnfoldResult, type UnusedImport, type UpdateCheckState, VALIDATION_SCORES, VALID_SCOPES, VERSION, type ValidateFindingsOptions, type ValidationError, Violation, type ViolationCluster, ViolationHistory, ViolationHistoryManager, ViolationSnapshot, WHATWG_BAD_PORTS, type WorkflowPhase, type WritePulseConfigOptions, acquireCompoundLock, addProvenance, agentConfigRules, aggregateByDay as aggregateAdoptionByDay, aggregateByDay$1 as aggregateByDay, aggregateBySession, aggregateBySkill, analyzeDiff, analyzeLearningPatterns, appendFailure, appendLearning, appendSessionEntry, applyFixes, applyHotspotDowngrade, applyRecencyWeights, applySyncChanges, archiveFailures, archiveLearnings, archiveSession, archiveStream, assembleCandidateReport, assembleReport, assertPortUsable, assertSanitized, assignFeature, buildDependencyGraph, buildExclusionSet, buildSnapshot, calculateCacheSavings, calculateCost, checkDocCoverage, checkEligibility, checkEvidenceCoverage, checkOverlap, checkTaint, classifyConfidence, classifyFinding, clearEventHashCache, clearFailuresCache, clearLearningsCache, clearPulseAdapters, clearTaint, clusterViolations, collectEvents, computeContentHash, computeHotspots, computeLexicalSimilarity, computeLoadPlan, computeOverallSeverity, computeScanExitCode, computeTrustScores, computeWindow, configureFeedback, constraintRuleId, contextBudget, contextFilter, countLearningEntries, createBoundaryValidator, createCommentedCodeFixes, createError, createFixes, createForbiddenImportFixes, createOrphanedDepFixes, createParseError, createRegionMap, createSelfReview, createStream, createTrackerClient, crossReferenceUndocumentedFixes, cryptoRules, deduplicateCleanupFindings, deduplicateFindings, deepMergeConstraints, defaultCollectors, defineLayer, deserializationRules, detectChangeType, detectCircularDeps, detectCircularDepsInFiles, detectComplexityViolations, detectCouplingViolations, detectDeadCode, detectDocDrift, detectEmergentConstraints, detectLanguage, detectPatternViolations, detectSizeBudgetViolations, detectStack, detectStaleConstraints, detectStaleLearnings, determineAssessment, diff, emitEvent, estimateTokens, executeWorkflow, expressRules, extractBundle, extractDirectoryScope, extractFileReferences, extractHeadlines, extractIndexEntry, extractLevel, extractMarkdownLinks, extractSections, fanOutReview, findParallelGroups, formatCIReportAsMarkdown, formatEventTimeline, formatFindingBlock, formatGitHubComment, formatGitHubSummary, formatIsoWeek, formatOutline, formatTerminalOutput, fullSync, generateAgentsMap, generateRubric, generateSuggestions, getActionEmitter, getExitCode, getFeedbackConfig, getInjectionPatterns, getModelPrice, getOrCreateInstallId, getOutline, getParser, getPhaseCategories, getPulseAdapter, getRoadmapMode, getStreamForBranch, getTaintFilePath, getTrustLevel, getUpdateNotification, gitScan, goRules, injectionRules, insecureDefaultsRules, invalidateCheckState, isBadPort, isDuplicateFinding, isRegression, isSanitizedResult, isSmallSuggestion, isUpdateCheckEnabled, isoWeek, listActiveSessions, listPulseAdapters, listStreams, listTaintedSessions, loadBudgetedLearnings, loadEvents, loadFailures, loadHandoff, loadIndexEntries, loadPricingData, loadProjectRoadmapMode, loadRelevantLearnings, loadSessionSummary, loadState, loadStreamIndex, loadTrackerClientConfigFromProject, loadTrackerSyncConfig, logAgentAction, makeTrackerConflictBody, mapInjectionFindings, mapSecurityFindings, mapSecuritySeverity, markProtectedFindings, mcpRules, index as migrate, migrateToStreams, networkRules, nodeRules, normalizeLearningContent, normalizeViolationPattern, paginate, parseCCRecords, parseDateFromEntry, parseDiff, parseFile, parseFileRegions, parseFrontmatter, parseHarnessIgnore, parseLiteLLMData, parseLookback, parseManifest, parseProtectedRegions, parseRoadmap, parseSections, parseSecurityConfig, parseSize, pathTraversalRules, previewFix, projectValue, promoteSessionLearnings, pruneLearnings, reactRules, readAdoptionRecords, readCheckState, readCostRecords, readIdentity, readLockfile, readSessionSection, readSessionSections, readTaint, registerMockAdapter, registerPulseAdapter, removeContributions, removeProvenance, requestMultiplePeerReviews, requestPeerReview, resetFeedbackConfig, resetParserCache, resolveConsent, resolveFileToLayer, resolveModelTier, resolveReverseStatus, resolveRuleSeverity, resolveSessionDir, resolveStability, resolveStreamPath, resolveThresholds, runFallbackRules as runAgentConfigFallbackRules, runAll, runArchitectureAgent, runBugDetectionAgent, runCIChecks, runComplianceAgent, runMechanicalChecks, runMechanicalGate, runMultiTurnPipeline, runPipeline, runPulse, runReviewPipeline, runSecurityAgent, saveHandoff, saveState, saveStreamIndex, scanForInjection, scopeContext, scoreRoadmapCandidates, scoreRoadmapCandidatesFileLess, scoreRoadmapCandidatesForMode, searchSymbols, secretRules, securityFindingId, seedFromStrategy, send, serializeEnvelope, serializeRoadmap, setActiveStream, sharpEdgesRules, shouldRunCheck, spawnBackgroundCheck, splitBundlesByStage, stageDomains, suggestCategory, syncConstraintNodes, syncFromExternal, syncRoadmap, syncToExternal, tagUncitedFindings, topSkills, touchStream, trackAction, unfoldRange, unfoldSymbol, updateSessionEntryStatus, updateSessionIndex, validateAgentConfigs, validateAgentsMap, validateBoundaries, validateBranchName, validateCommitMessage, validateConfig, validateDependencies, validateFileStructure, validateFindings, validateKnowledgeMap, validatePatternConfig, validatePulseConfig, validateRoadmapMode, validateSolutionsDir, violationId, weeksUntilThreshold, weightedLinearRegression, writeConfig, writeLockfile, writePulseConfig, writeSessionSummary, writeTaint, xssRules };
|