@harness-engineering/core 0.13.0 → 0.13.1

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/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Result, WorkflowStep, WorkflowStepResult, Workflow, WorkflowResult, SkillLifecycleHooks, SkillContext, SkillResult, TurnContext, CICheckName, CIFailOnSeverity, CICheckReport, Roadmap, FeatureStatus } from '@harness-engineering/types';
2
2
  export * from '@harness-engineering/types';
3
3
  import { z } from 'zod';
4
- 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 } from './matchers-Dj1t5vpg.mjs';
5
- export { e as ArchBaselineSchema, f as ArchConfigSchema, g as ArchDiffResultSchema, h as ArchHandle, i as ArchMetricCategorySchema, j as ArchitectureOptions, k as CategoryBaseline, l as CategoryBaselineSchema, m as CategoryRegression, n as CategoryRegressionSchema, o as ConstraintRuleSchema, p as MetricResultSchema, q as ThresholdConfigSchema, V as Violation, r as ViolationSchema, s as archMatchers, t as archModule, u as architecture } from './matchers-Dj1t5vpg.mjs';
4
+ 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 } from './matchers-D20x48U9.mjs';
5
+ export { e as ArchBaselineSchema, f as ArchConfigSchema, g as ArchDiffResultSchema, h as ArchHandle, i as ArchMetricCategorySchema, j as ArchitectureOptions, k as CategoryBaseline, l as CategoryBaselineSchema, m as CategoryRegression, n as CategoryRegressionSchema, o as ConstraintRuleSchema, p as MetricResultSchema, q as ThresholdConfigSchema, V as Violation, r as ViolationSchema, s as archMatchers, t as archModule, u as architecture } from './matchers-D20x48U9.mjs';
6
6
 
7
7
  /**
8
8
  * Represents an error code for identifying specific error types.
@@ -522,12 +522,12 @@ declare const ManifestSchema: z.ZodObject<{
522
522
  schema: string;
523
523
  }>, "many">>;
524
524
  }, "strip", z.ZodTypeAny, {
525
- version: string;
526
525
  name: string;
526
+ version: string;
527
527
  include: string[];
528
528
  keywords: string[];
529
- description?: string | undefined;
530
529
  layers?: Record<string, string[]> | undefined;
530
+ description?: string | undefined;
531
531
  minHarnessVersion?: string | undefined;
532
532
  boundaries?: {
533
533
  name: string;
@@ -536,11 +536,11 @@ declare const ManifestSchema: z.ZodObject<{
536
536
  schema: string;
537
537
  }[] | undefined;
538
538
  }, {
539
- version: string;
540
539
  name: string;
540
+ version: string;
541
541
  include: string[];
542
- description?: string | undefined;
543
542
  layers?: Record<string, string[]> | undefined;
543
+ description?: string | undefined;
544
544
  minHarnessVersion?: string | undefined;
545
545
  keywords?: string[] | undefined;
546
546
  boundaries?: {
@@ -675,12 +675,12 @@ declare const BundleSchema: z.ZodObject<{
675
675
  schema: string;
676
676
  }>, "many">>;
677
677
  }, "strip", z.ZodTypeAny, {
678
- version: string;
679
678
  name: string;
679
+ version: string;
680
680
  include: string[];
681
681
  keywords: string[];
682
- description?: string | undefined;
683
682
  layers?: Record<string, string[]> | undefined;
683
+ description?: string | undefined;
684
684
  minHarnessVersion?: string | undefined;
685
685
  boundaries?: {
686
686
  name: string;
@@ -689,11 +689,11 @@ declare const BundleSchema: z.ZodObject<{
689
689
  schema: string;
690
690
  }[] | undefined;
691
691
  }, {
692
- version: string;
693
692
  name: string;
693
+ version: string;
694
694
  include: string[];
695
- description?: string | undefined;
696
695
  layers?: Record<string, string[]> | undefined;
696
+ description?: string | undefined;
697
697
  minHarnessVersion?: string | undefined;
698
698
  keywords?: string[] | undefined;
699
699
  boundaries?: {
@@ -799,15 +799,15 @@ declare const BundleSchema: z.ZodObject<{
799
799
  }>;
800
800
  contributions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
801
801
  }, "strip", z.ZodTypeAny, {
802
- version: string;
803
802
  name: string;
803
+ version: string;
804
804
  manifest: {
805
- version: string;
806
805
  name: string;
806
+ version: string;
807
807
  include: string[];
808
808
  keywords: string[];
809
- description?: string | undefined;
810
809
  layers?: Record<string, string[]> | undefined;
810
+ description?: string | undefined;
811
811
  minHarnessVersion?: string | undefined;
812
812
  boundaries?: {
813
813
  name: string;
@@ -842,14 +842,14 @@ declare const BundleSchema: z.ZodObject<{
842
842
  minHarnessVersion?: string | undefined;
843
843
  contributions?: Record<string, unknown> | undefined;
844
844
  }, {
845
- version: string;
846
845
  name: string;
846
+ version: string;
847
847
  manifest: {
848
- version: string;
849
848
  name: string;
849
+ version: string;
850
850
  include: string[];
851
- description?: string | undefined;
852
851
  layers?: Record<string, string[]> | undefined;
852
+ description?: string | undefined;
853
853
  minHarnessVersion?: string | undefined;
854
854
  keywords?: string[] | undefined;
855
855
  boundaries?: {
@@ -898,16 +898,16 @@ declare const LockfilePackageSchema: z.ZodObject<{
898
898
  integrity: z.ZodOptional<z.ZodString>;
899
899
  provenance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
900
900
  }, "strip", z.ZodTypeAny, {
901
- version: string;
902
901
  source: string;
902
+ version: string;
903
903
  installedAt: string;
904
904
  contributions?: Record<string, unknown> | null | undefined;
905
905
  resolved?: string | undefined;
906
906
  integrity?: string | undefined;
907
907
  provenance?: string[] | undefined;
908
908
  }, {
909
- version: string;
910
909
  source: string;
910
+ version: string;
911
911
  installedAt: string;
912
912
  contributions?: Record<string, unknown> | null | undefined;
913
913
  resolved?: string | undefined;
@@ -926,16 +926,16 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
926
926
  integrity: z.ZodOptional<z.ZodString>;
927
927
  provenance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
928
928
  }, "strip", z.ZodTypeAny, {
929
- version: string;
930
929
  source: string;
930
+ version: string;
931
931
  installedAt: string;
932
932
  contributions?: Record<string, unknown> | null | undefined;
933
933
  resolved?: string | undefined;
934
934
  integrity?: string | undefined;
935
935
  provenance?: string[] | undefined;
936
936
  }, {
937
- version: string;
938
937
  source: string;
938
+ version: string;
939
939
  installedAt: string;
940
940
  contributions?: Record<string, unknown> | null | undefined;
941
941
  resolved?: string | undefined;
@@ -944,8 +944,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
944
944
  }>>;
945
945
  }, "strip", z.ZodTypeAny, {
946
946
  packages: Record<string, {
947
- version: string;
948
947
  source: string;
948
+ version: string;
949
949
  installedAt: string;
950
950
  contributions?: Record<string, unknown> | null | undefined;
951
951
  resolved?: string | undefined;
@@ -956,8 +956,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
956
956
  lockfileVersion?: 1 | undefined;
957
957
  }, {
958
958
  packages: Record<string, {
959
- version: string;
960
959
  source: string;
960
+ version: string;
961
961
  installedAt: string;
962
962
  contributions?: Record<string, unknown> | null | undefined;
963
963
  resolved?: string | undefined;
@@ -968,8 +968,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
968
968
  lockfileVersion?: 1 | undefined;
969
969
  }>, {
970
970
  packages: Record<string, {
971
- version: string;
972
971
  source: string;
972
+ version: string;
973
973
  installedAt: string;
974
974
  contributions?: Record<string, unknown> | null | undefined;
975
975
  resolved?: string | undefined;
@@ -980,8 +980,8 @@ declare const LockfileSchema: z.ZodEffects<z.ZodObject<{
980
980
  lockfileVersion?: 1 | undefined;
981
981
  }, {
982
982
  packages: Record<string, {
983
- version: string;
984
983
  source: string;
984
+ version: string;
985
985
  installedAt: string;
986
986
  contributions?: Record<string, unknown> | null | undefined;
987
987
  resolved?: string | undefined;
@@ -1852,12 +1852,12 @@ declare const PatternConfigSchema: z.ZodObject<{
1852
1852
  match: z.ZodString;
1853
1853
  convention: z.ZodEnum<["camelCase", "PascalCase", "UPPER_SNAKE", "kebab-case"]>;
1854
1854
  }, "strip", z.ZodTypeAny, {
1855
- type: "naming";
1856
1855
  match: string;
1856
+ type: "naming";
1857
1857
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
1858
1858
  }, {
1859
- type: "naming";
1860
1859
  match: string;
1860
+ type: "naming";
1861
1861
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
1862
1862
  }>, z.ZodObject<{
1863
1863
  type: z.ZodLiteral<"max-exports">;
@@ -1889,10 +1889,10 @@ declare const PatternConfigSchema: z.ZodObject<{
1889
1889
  }>]>;
1890
1890
  message: z.ZodOptional<z.ZodString>;
1891
1891
  }, "strip", z.ZodTypeAny, {
1892
- severity: "error" | "warning";
1893
- description: string;
1894
1892
  files: string[];
1895
1893
  name: string;
1894
+ description: string;
1895
+ severity: "error" | "warning";
1896
1896
  rule: {
1897
1897
  type: "must-export";
1898
1898
  names: string[];
@@ -1910,8 +1910,8 @@ declare const PatternConfigSchema: z.ZodObject<{
1910
1910
  type: "no-import";
1911
1911
  from: string;
1912
1912
  } | {
1913
- type: "naming";
1914
1913
  match: string;
1914
+ type: "naming";
1915
1915
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
1916
1916
  } | {
1917
1917
  type: "max-exports";
@@ -1925,10 +1925,10 @@ declare const PatternConfigSchema: z.ZodObject<{
1925
1925
  };
1926
1926
  message?: string | undefined;
1927
1927
  }, {
1928
- severity: "error" | "warning";
1929
- description: string;
1930
1928
  files: string[];
1931
1929
  name: string;
1930
+ description: string;
1931
+ severity: "error" | "warning";
1932
1932
  rule: {
1933
1933
  type: "must-export";
1934
1934
  names: string[];
@@ -1946,8 +1946,8 @@ declare const PatternConfigSchema: z.ZodObject<{
1946
1946
  type: "no-import";
1947
1947
  from: string;
1948
1948
  } | {
1949
- type: "naming";
1950
1949
  match: string;
1950
+ type: "naming";
1951
1951
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
1952
1952
  } | {
1953
1953
  type: "max-exports";
@@ -1965,10 +1965,10 @@ declare const PatternConfigSchema: z.ZodObject<{
1965
1965
  ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1966
1966
  }, "strip", z.ZodTypeAny, {
1967
1967
  patterns: {
1968
- severity: "error" | "warning";
1969
- description: string;
1970
1968
  files: string[];
1971
1969
  name: string;
1970
+ description: string;
1971
+ severity: "error" | "warning";
1972
1972
  rule: {
1973
1973
  type: "must-export";
1974
1974
  names: string[];
@@ -1986,8 +1986,8 @@ declare const PatternConfigSchema: z.ZodObject<{
1986
1986
  type: "no-import";
1987
1987
  from: string;
1988
1988
  } | {
1989
- type: "naming";
1990
1989
  match: string;
1990
+ type: "naming";
1991
1991
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
1992
1992
  } | {
1993
1993
  type: "max-exports";
@@ -2005,10 +2005,10 @@ declare const PatternConfigSchema: z.ZodObject<{
2005
2005
  ignoreFiles?: string[] | undefined;
2006
2006
  }, {
2007
2007
  patterns: {
2008
- severity: "error" | "warning";
2009
- description: string;
2010
2008
  files: string[];
2011
2009
  name: string;
2010
+ description: string;
2011
+ severity: "error" | "warning";
2012
2012
  rule: {
2013
2013
  type: "must-export";
2014
2014
  names: string[];
@@ -2026,8 +2026,8 @@ declare const PatternConfigSchema: z.ZodObject<{
2026
2026
  type: "no-import";
2027
2027
  from: string;
2028
2028
  } | {
2029
- type: "naming";
2030
2029
  match: string;
2030
+ type: "naming";
2031
2031
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2032
2032
  } | {
2033
2033
  type: "max-exports";
@@ -2146,12 +2146,12 @@ declare const EntropyConfigSchema: z.ZodObject<{
2146
2146
  match: z.ZodString;
2147
2147
  convention: z.ZodEnum<["camelCase", "PascalCase", "UPPER_SNAKE", "kebab-case"]>;
2148
2148
  }, "strip", z.ZodTypeAny, {
2149
- type: "naming";
2150
2149
  match: string;
2150
+ type: "naming";
2151
2151
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2152
2152
  }, {
2153
- type: "naming";
2154
2153
  match: string;
2154
+ type: "naming";
2155
2155
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2156
2156
  }>, z.ZodObject<{
2157
2157
  type: z.ZodLiteral<"max-exports">;
@@ -2183,10 +2183,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2183
2183
  }>]>;
2184
2184
  message: z.ZodOptional<z.ZodString>;
2185
2185
  }, "strip", z.ZodTypeAny, {
2186
- severity: "error" | "warning";
2187
- description: string;
2188
2186
  files: string[];
2189
2187
  name: string;
2188
+ description: string;
2189
+ severity: "error" | "warning";
2190
2190
  rule: {
2191
2191
  type: "must-export";
2192
2192
  names: string[];
@@ -2204,8 +2204,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2204
2204
  type: "no-import";
2205
2205
  from: string;
2206
2206
  } | {
2207
- type: "naming";
2208
2207
  match: string;
2208
+ type: "naming";
2209
2209
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2210
2210
  } | {
2211
2211
  type: "max-exports";
@@ -2219,10 +2219,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2219
2219
  };
2220
2220
  message?: string | undefined;
2221
2221
  }, {
2222
- severity: "error" | "warning";
2223
- description: string;
2224
2222
  files: string[];
2225
2223
  name: string;
2224
+ description: string;
2225
+ severity: "error" | "warning";
2226
2226
  rule: {
2227
2227
  type: "must-export";
2228
2228
  names: string[];
@@ -2240,8 +2240,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2240
2240
  type: "no-import";
2241
2241
  from: string;
2242
2242
  } | {
2243
- type: "naming";
2244
2243
  match: string;
2244
+ type: "naming";
2245
2245
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2246
2246
  } | {
2247
2247
  type: "max-exports";
@@ -2259,10 +2259,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2259
2259
  ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2260
2260
  }, "strip", z.ZodTypeAny, {
2261
2261
  patterns: {
2262
- severity: "error" | "warning";
2263
- description: string;
2264
2262
  files: string[];
2265
2263
  name: string;
2264
+ description: string;
2265
+ severity: "error" | "warning";
2266
2266
  rule: {
2267
2267
  type: "must-export";
2268
2268
  names: string[];
@@ -2280,8 +2280,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2280
2280
  type: "no-import";
2281
2281
  from: string;
2282
2282
  } | {
2283
- type: "naming";
2284
2283
  match: string;
2284
+ type: "naming";
2285
2285
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2286
2286
  } | {
2287
2287
  type: "max-exports";
@@ -2299,10 +2299,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2299
2299
  ignoreFiles?: string[] | undefined;
2300
2300
  }, {
2301
2301
  patterns: {
2302
- severity: "error" | "warning";
2303
- description: string;
2304
2302
  files: string[];
2305
2303
  name: string;
2304
+ description: string;
2305
+ severity: "error" | "warning";
2306
2306
  rule: {
2307
2307
  type: "must-export";
2308
2308
  names: string[];
@@ -2320,8 +2320,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2320
2320
  type: "no-import";
2321
2321
  from: string;
2322
2322
  } | {
2323
- type: "naming";
2324
2323
  match: string;
2324
+ type: "naming";
2325
2325
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2326
2326
  } | {
2327
2327
  type: "max-exports";
@@ -2355,10 +2355,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2355
2355
  } | undefined;
2356
2356
  patterns?: boolean | {
2357
2357
  patterns: {
2358
- severity: "error" | "warning";
2359
- description: string;
2360
2358
  files: string[];
2361
2359
  name: string;
2360
+ description: string;
2361
+ severity: "error" | "warning";
2362
2362
  rule: {
2363
2363
  type: "must-export";
2364
2364
  names: string[];
@@ -2376,8 +2376,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2376
2376
  type: "no-import";
2377
2377
  from: string;
2378
2378
  } | {
2379
- type: "naming";
2380
2379
  match: string;
2380
+ type: "naming";
2381
2381
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2382
2382
  } | {
2383
2383
  type: "max-exports";
@@ -2411,10 +2411,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2411
2411
  } | undefined;
2412
2412
  patterns?: boolean | {
2413
2413
  patterns: {
2414
- severity: "error" | "warning";
2415
- description: string;
2416
2414
  files: string[];
2417
2415
  name: string;
2416
+ description: string;
2417
+ severity: "error" | "warning";
2418
2418
  rule: {
2419
2419
  type: "must-export";
2420
2420
  names: string[];
@@ -2432,8 +2432,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2432
2432
  type: "no-import";
2433
2433
  from: string;
2434
2434
  } | {
2435
- type: "naming";
2436
2435
  match: string;
2436
+ type: "naming";
2437
2437
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2438
2438
  } | {
2439
2439
  type: "max-exports";
@@ -2473,10 +2473,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2473
2473
  } | undefined;
2474
2474
  patterns?: boolean | {
2475
2475
  patterns: {
2476
- severity: "error" | "warning";
2477
- description: string;
2478
2476
  files: string[];
2479
2477
  name: string;
2478
+ description: string;
2479
+ severity: "error" | "warning";
2480
2480
  rule: {
2481
2481
  type: "must-export";
2482
2482
  names: string[];
@@ -2494,8 +2494,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2494
2494
  type: "no-import";
2495
2495
  from: string;
2496
2496
  } | {
2497
- type: "naming";
2498
2497
  match: string;
2498
+ type: "naming";
2499
2499
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2500
2500
  } | {
2501
2501
  type: "max-exports";
@@ -2537,10 +2537,10 @@ declare const EntropyConfigSchema: z.ZodObject<{
2537
2537
  } | undefined;
2538
2538
  patterns?: boolean | {
2539
2539
  patterns: {
2540
- severity: "error" | "warning";
2541
- description: string;
2542
2540
  files: string[];
2543
2541
  name: string;
2542
+ description: string;
2543
+ severity: "error" | "warning";
2544
2544
  rule: {
2545
2545
  type: "must-export";
2546
2546
  names: string[];
@@ -2558,8 +2558,8 @@ declare const EntropyConfigSchema: z.ZodObject<{
2558
2558
  type: "no-import";
2559
2559
  from: string;
2560
2560
  } | {
2561
- type: "naming";
2562
2561
  match: string;
2562
+ type: "naming";
2563
2563
  convention: "camelCase" | "PascalCase" | "UPPER_SNAKE" | "kebab-case";
2564
2564
  } | {
2565
2565
  type: "max-exports";
@@ -3149,6 +3149,8 @@ declare class DepDepthCollector implements Collector {
3149
3149
  * Produce a stable violation ID.
3150
3150
  * Formula: sha256(relativePath + ':' + category + ':' + normalizedDetail)
3151
3151
  * Line numbers are excluded to keep IDs stable across unrelated edits.
3152
+ *
3153
+ * @param relativePath - POSIX-normalized relative path (callers must use relativePosix())
3152
3154
  */
3153
3155
  declare function violationId(relativePath: string, category: string, normalizedDetail: string): string;
3154
3156
  /**
@@ -3275,13 +3277,13 @@ declare const FailureEntrySchema: z.ZodObject<{
3275
3277
  description: z.ZodString;
3276
3278
  }, "strip", z.ZodTypeAny, {
3277
3279
  type: string;
3278
- date: string;
3279
3280
  description: string;
3281
+ date: string;
3280
3282
  skill: string;
3281
3283
  }, {
3282
3284
  type: string;
3283
- date: string;
3284
3285
  description: string;
3286
+ date: string;
3285
3287
  skill: string;
3286
3288
  }>;
3287
3289
  type FailureEntry = z.infer<typeof FailureEntrySchema>;
@@ -3344,14 +3346,14 @@ declare const GateResultSchema: z.ZodObject<{
3344
3346
  output: z.ZodOptional<z.ZodString>;
3345
3347
  duration: z.ZodOptional<z.ZodNumber>;
3346
3348
  }, "strip", z.ZodTypeAny, {
3347
- passed: boolean;
3348
3349
  name: string;
3350
+ passed: boolean;
3349
3351
  command: string;
3350
3352
  output?: string | undefined;
3351
3353
  duration?: number | undefined;
3352
3354
  }, {
3353
- passed: boolean;
3354
3355
  name: string;
3356
+ passed: boolean;
3355
3357
  command: string;
3356
3358
  output?: string | undefined;
3357
3359
  duration?: number | undefined;
@@ -3359,8 +3361,8 @@ declare const GateResultSchema: z.ZodObject<{
3359
3361
  }, "strip", z.ZodTypeAny, {
3360
3362
  passed: boolean;
3361
3363
  checks: {
3362
- passed: boolean;
3363
3364
  name: string;
3365
+ passed: boolean;
3364
3366
  command: string;
3365
3367
  output?: string | undefined;
3366
3368
  duration?: number | undefined;
@@ -3368,8 +3370,8 @@ declare const GateResultSchema: z.ZodObject<{
3368
3370
  }, {
3369
3371
  passed: boolean;
3370
3372
  checks: {
3371
- passed: boolean;
3372
3373
  name: string;
3374
+ passed: boolean;
3373
3375
  command: string;
3374
3376
  output?: string | undefined;
3375
3377
  duration?: number | undefined;
@@ -3432,13 +3434,13 @@ declare const HarnessStateSchema: z.ZodObject<{
3432
3434
  description: z.ZodString;
3433
3435
  status: z.ZodEnum<["open", "resolved"]>;
3434
3436
  }, "strip", z.ZodTypeAny, {
3435
- status: "resolved" | "open";
3436
3437
  id: string;
3437
3438
  description: string;
3438
- }, {
3439
3439
  status: "resolved" | "open";
3440
+ }, {
3440
3441
  id: string;
3441
3442
  description: string;
3443
+ status: "resolved" | "open";
3442
3444
  }>, "many">>;
3443
3445
  progress: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["pending", "in_progress", "complete"]>>>;
3444
3446
  lastSession: z.ZodOptional<z.ZodObject<{
@@ -3464,9 +3466,9 @@ declare const HarnessStateSchema: z.ZodObject<{
3464
3466
  decision: string;
3465
3467
  }[];
3466
3468
  blockers: {
3467
- status: "resolved" | "open";
3468
3469
  id: string;
3469
3470
  description: string;
3471
+ status: "resolved" | "open";
3470
3472
  }[];
3471
3473
  schemaVersion: 1;
3472
3474
  position: {
@@ -3488,9 +3490,9 @@ declare const HarnessStateSchema: z.ZodObject<{
3488
3490
  decision: string;
3489
3491
  }[] | undefined;
3490
3492
  blockers?: {
3491
- status: "resolved" | "open";
3492
3493
  id: string;
3493
3494
  description: string;
3495
+ status: "resolved" | "open";
3494
3496
  }[] | undefined;
3495
3497
  position?: {
3496
3498
  task?: string | undefined;
@@ -3846,9 +3848,9 @@ declare const SecurityConfigSchema: z.ZodObject<{
3846
3848
  } | undefined;
3847
3849
  }>>;
3848
3850
  }, "strip", z.ZodTypeAny, {
3851
+ rules: Record<string, "error" | "warning" | "info" | "off">;
3849
3852
  enabled: boolean;
3850
3853
  strict: boolean;
3851
- rules: Record<string, "error" | "warning" | "info" | "off">;
3852
3854
  exclude: string[];
3853
3855
  external?: {
3854
3856
  semgrep?: {
@@ -3860,9 +3862,9 @@ declare const SecurityConfigSchema: z.ZodObject<{
3860
3862
  } | undefined;
3861
3863
  } | undefined;
3862
3864
  }, {
3865
+ rules?: Record<string, "error" | "warning" | "info" | "off"> | undefined;
3863
3866
  enabled?: boolean | undefined;
3864
3867
  strict?: boolean | undefined;
3865
- rules?: Record<string, "error" | "warning" | "info" | "off"> | undefined;
3866
3868
  exclude?: string[] | undefined;
3867
3869
  external?: {
3868
3870
  semgrep?: {
@@ -4678,12 +4680,12 @@ declare const QuestionSchema: z.ZodObject<{
4678
4680
  default: z.ZodOptional<z.ZodString>;
4679
4681
  }, "strip", z.ZodTypeAny, {
4680
4682
  text: string;
4681
- options?: string[] | undefined;
4682
4683
  default?: string | undefined;
4684
+ options?: string[] | undefined;
4683
4685
  }, {
4684
4686
  text: string;
4685
- options?: string[] | undefined;
4686
4687
  default?: string | undefined;
4688
+ options?: string[] | undefined;
4687
4689
  }>;
4688
4690
  declare const ConfirmationSchema: z.ZodObject<{
4689
4691
  text: z.ZodString;
@@ -4727,12 +4729,12 @@ declare const EmitInteractionInputSchema: z.ZodObject<{
4727
4729
  default: z.ZodOptional<z.ZodString>;
4728
4730
  }, "strip", z.ZodTypeAny, {
4729
4731
  text: string;
4730
- options?: string[] | undefined;
4731
4732
  default?: string | undefined;
4733
+ options?: string[] | undefined;
4732
4734
  }, {
4733
4735
  text: string;
4734
- options?: string[] | undefined;
4735
4736
  default?: string | undefined;
4737
+ options?: string[] | undefined;
4736
4738
  }>>;
4737
4739
  confirmation: z.ZodOptional<z.ZodObject<{
4738
4740
  text: z.ZodString;
@@ -4772,8 +4774,8 @@ declare const EmitInteractionInputSchema: z.ZodObject<{
4772
4774
  stream?: string | undefined;
4773
4775
  question?: {
4774
4776
  text: string;
4775
- options?: string[] | undefined;
4776
4777
  default?: string | undefined;
4778
+ options?: string[] | undefined;
4777
4779
  } | undefined;
4778
4780
  confirmation?: {
4779
4781
  text: string;
@@ -4793,8 +4795,8 @@ declare const EmitInteractionInputSchema: z.ZodObject<{
4793
4795
  stream?: string | undefined;
4794
4796
  question?: {
4795
4797
  text: string;
4796
- options?: string[] | undefined;
4797
4798
  default?: string | undefined;
4799
+ options?: string[] | undefined;
4798
4800
  } | undefined;
4799
4801
  confirmation?: {
4800
4802
  text: string;
@@ -4917,6 +4919,6 @@ declare function getUpdateNotification(currentVersion: string): string | null;
4917
4919
  * release. Kept only as a fallback for consumers that cannot resolve the CLI
4918
4920
  * package at runtime.
4919
4921
  */
4920
- declare const VERSION = "0.11.0";
4922
+ declare const VERSION = "0.13.0";
4921
4923
 
4922
4924
  export { AGENT_DESCRIPTORS, ARCHITECTURE_DESCRIPTOR, type AST, type ActionContext, type ActionEvent, type ActionEventHandler, type ActionEventType, type ActionResult, type ActionSink, type ActionTracker, type ActionType, type AgentAction, AgentActionEmitter, type AgentExecutor, type AgentMapLink, type AgentMapSection, type AgentMapValidation, type AgentProcess, type AgentReviewResult, type AgentType, type AgentsMapConfig, ArchBaseline, ArchBaselineManager, ArchConfig, ArchDiffResult, ArchMetricCategory, BUG_DETECTION_DESCRIPTOR, 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 BrokenLink, type BudgetedLearningsOptions, type Bundle, type BundleConstraints, BundleConstraintsSchema, BundleSchema, COMPLIANCE_DESCRIPTOR, type ChangeType, type ChangedFile, ChecklistBuilder, type CircularDependency, CircularDepsCollector, type CircularDepsResult, type CleanupFinding, type CodeBlock, type CodeChanges, type CodePattern, type CodeReference, type CodebaseSnapshot, Collector, type CommentedCodeBlock, type CommitFormat, type CommitHistoryEntry, type CommitValidation, ComplexityCollector, type ComplexityConfig, type ComplexityReport, type ComplexityThresholds, type ComplexityViolation, type ConfigError, type ConfigPattern, type Confirmation, ConfirmationSchema, type ConflictReport, ConsoleSink, type ConstraintError, type ConstraintNodeStore, ConstraintRule, type Content, ContentPipeline, type ContextBundle, type ContextError, type ContextFile, type ContextFilterResult, type ContextScopeOptions, 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_PROVIDER_TIERS, DEFAULT_SECURITY_CONFIG, DEFAULT_STATE, DEFAULT_STREAM_INDEX, 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 DocumentationDrift, type DocumentationFile, type DocumentationGap, type DriftConfig, type DriftReport, type EligibilityResult, type EmitInteractionInput, EmitInteractionInputSchema, EntropyAnalyzer, type EntropyConfig, EntropyConfigSchema, type EntropyError, type EntropyReport, ExclusionSet, type ExecutorHealth, type Export, type ExportMap, type FailureEntry, FailureEntrySchema, type FanOutOptions, type FeedbackAgentConfig, type FeedbackConfig, type FeedbackError$1 as FeedbackError, type FileCategory, FileSink, type FindingSeverity, type Fix, type FixConfig, type FixResult, type FixType, ForbiddenImportCollector, type ForbiddenImportViolation, type ForbiddenPattern, type GateConfig, GateConfigSchema, type GateResult, GateResultSchema, type GenerationSection, type GitHubInlineComment, type GraphAdapter, type GraphComplexityData, type GraphCouplingData, type GraphCoverageData, type GraphCriticalPathData, type GraphDependencyData, type GraphHarnessCheckData, type GraphImpactData, type Handoff, HandoffSchema, type HarnessState, HarnessStateSchema, type HealthCheckResult, type Hotspot, type HotspotContext, type Import, type InlineReference, type IntegrityReport, type InteractionType, InteractionTypeSchema, type InternalSymbol, type JSDocComment, type LanguageParser, type Layer, type LayerConfig, LayerViolationCollector, type LearningPattern, type Lockfile, type LockfilePackage, LockfilePackageSchema, LockfileSchema, type LogEntry, type LogFilter, 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, NoOpExecutor, NoOpSink, NoOpTelemetryAdapter, type OrphanedDep, type ParseError, type PatternConfig, PatternConfigSchema, type PatternMatch, type PatternReport, type PatternViolation, type PeerReview, type PeerReviewOptions, type PipelineContext, type PipelineFlags, type PipelineOptions, type PipelineResult, type PrMetadata, type PriorReview, ProjectScanner, type ProviderDefaults, type PruneResult, type Question, QuestionSchema, REQUIRED_SECTIONS, type ReachabilityNode, RegressionDetector, type RegressionReport, type RegressionResult, type ReviewAgentDescriptor, type ReviewAssessment, type ReviewChecklist, type ReviewComment, type ReviewContext, type ReviewDomain, type ReviewFinding, type ReviewItem, type ReviewOutputOptions, type ReviewPipelineResult, type ReviewStrength, type RuleOverride, RuleRegistry, type RunCIChecksInput, type RunPipelineOptions, SECURITY_DESCRIPTOR, type SafetyLevel, type ScanResult, type SecurityCategory, type SecurityConfidence, type SecurityConfig, SecurityConfigSchema, type SecurityFinding, type SecurityRule, SecurityScanner, type SecuritySeverity, type SelfReviewConfig, type SessionSummaryData, SharableBoundaryConfigSchema, SharableForbiddenImportSchema, SharableLayerSchema, SharableSecurityRulesSchema, type SizeBudgetConfig, type SizeBudgetReport, type SizeBudgetViolation, type SkillExecutor, type SourceFile, type Span, type SpanEvent, type StaleConstraint, type StepExecutor, type StreamIndex, StreamIndexSchema, type StreamInfo, StreamInfoSchema, type StructureValidation, type Suggestion, type SuggestionReport, type SyncChange, type SyncOptions, type TelemetryAdapter, type TelemetryHealth, ThresholdConfig, type TimeRange, type TokenBudget, type TokenBudgetOverrides, type Trace, type Transition, TransitionSchema, type TurnExecutor, TypeScriptParser, type UnusedImport, type UpdateCheckState, VERSION, type ValidateFindingsOptions, type ValidationError, type WorkflowPhase, addProvenance, analyzeDiff, analyzeLearningPatterns, appendFailure, appendLearning, applyFixes, applyHotspotDowngrade, archiveFailures, archiveLearnings, archiveStream, buildDependencyGraph, buildExclusionSet, buildSnapshot, checkDocCoverage, checkEligibility, classifyFinding, clearFailuresCache, clearLearningsCache, configureFeedback, constraintRuleId, contextBudget, contextFilter, createBoundaryValidator, createCommentedCodeFixes, createError, createFixes, createForbiddenImportFixes, createOrphanedDepFixes, createParseError, createSelfReview, createStream, cryptoRules, deduplicateCleanupFindings, deduplicateFindings, deepMergeConstraints, defaultCollectors, defineLayer, deserializationRules, detectChangeType, detectCircularDeps, detectCircularDepsInFiles, detectComplexityViolations, detectCouplingViolations, detectDeadCode, detectDocDrift, detectPatternViolations, detectSizeBudgetViolations, detectStack, detectStaleConstraints, determineAssessment, diff, executeWorkflow, expressRules, extractBundle, extractMarkdownLinks, extractSections, fanOutReview, formatFindingBlock, formatGitHubComment, formatGitHubSummary, formatTerminalOutput, generateAgentsMap, generateSuggestions, getActionEmitter, getExitCode, getFeedbackConfig, getPhaseCategories, getStreamForBranch, getUpdateNotification, goRules, injectionRules, isSmallSuggestion, isUpdateCheckEnabled, listActiveSessions, listStreams, loadBudgetedLearnings, loadFailures, loadHandoff, loadRelevantLearnings, loadSessionSummary, loadState, loadStreamIndex, logAgentAction, migrateToStreams, networkRules, nodeRules, parseDateFromEntry, parseDiff, parseManifest, parseRoadmap, parseSecurityConfig, parseSize, pathTraversalRules, previewFix, pruneLearnings, reactRules, readCheckState, readLockfile, removeContributions, removeProvenance, requestMultiplePeerReviews, requestPeerReview, resetFeedbackConfig, resolveFileToLayer, resolveModelTier, resolveRuleSeverity, resolveSessionDir, resolveStreamPath, resolveThresholds, runAll, runArchitectureAgent, runBugDetectionAgent, runCIChecks, runComplianceAgent, runMechanicalChecks, runMechanicalGate, runMultiTurnPipeline, runPipeline, runReviewPipeline, runSecurityAgent, saveHandoff, saveState, saveStreamIndex, scopeContext, secretRules, serializeRoadmap, setActiveStream, shouldRunCheck, spawnBackgroundCheck, syncConstraintNodes, syncRoadmap, touchStream, trackAction, updateSessionIndex, validateAgentsMap, validateBoundaries, validateCommitMessage, validateConfig, validateDependencies, validateFileStructure, validateFindings, validateKnowledgeMap, validatePatternConfig, violationId, writeConfig, writeLockfile, writeSessionSummary, xssRules };