@wispbit/local 1.0.25 → 1.0.27
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/cli.js +1190 -638
- package/dist/cli.js.map +4 -4
- package/dist/index.js +10 -3857
- package/dist/index.js.map +4 -4
- package/dist/package.json +3 -2
- package/dist/src/api/WispbitApiClient.d.ts +185 -0
- package/dist/src/api/WispbitApiClient.d.ts.map +1 -0
- package/dist/src/cli.d.ts.map +1 -1
- package/dist/src/environment/Config.d.ts +15 -5
- package/dist/src/environment/Config.d.ts.map +1 -1
- package/dist/src/providers/ViolationValidationProvider.d.ts +7 -11
- package/dist/src/providers/ViolationValidationProvider.d.ts.map +1 -1
- package/dist/src/providers/WispbitRuleProvider.d.ts +0 -16
- package/dist/src/providers/WispbitRuleProvider.d.ts.map +1 -1
- package/dist/src/providers/WispbitViolationValidationProvider.d.ts +4 -7
- package/dist/src/providers/WispbitViolationValidationProvider.d.ts.map +1 -1
- package/dist/src/schemas.d.ts +13 -514
- package/dist/src/schemas.d.ts.map +1 -1
- package/dist/src/steps/ExecutionEventEmitter.d.ts +37 -2
- package/dist/src/steps/ExecutionEventEmitter.d.ts.map +1 -1
- package/dist/src/steps/FileExecutionContext.d.ts +14 -5
- package/dist/src/steps/FileExecutionContext.d.ts.map +1 -1
- package/dist/src/steps/FileFilterStep.d.ts +0 -7
- package/dist/src/steps/FileFilterStep.d.ts.map +1 -1
- package/dist/src/steps/GotoDefinitionStep.d.ts.map +1 -1
- package/dist/src/steps/LLMStep.d.ts +0 -10
- package/dist/src/steps/LLMStep.d.ts.map +1 -1
- package/dist/src/steps/RuleExecutor.d.ts +5 -1
- package/dist/src/steps/RuleExecutor.d.ts.map +1 -1
- package/dist/src/test/TestExecutor.d.ts +6 -1
- package/dist/src/test/TestExecutor.d.ts.map +1 -1
- package/dist/src/types.d.ts +1 -5
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/debugLogger.d.ts +6 -0
- package/dist/src/utils/debugLogger.d.ts.map +1 -0
- package/dist/src/utils/formatters.d.ts.map +1 -1
- package/dist/src/utils/git.d.ts +31 -2
- package/dist/src/utils/git.d.ts.map +1 -1
- package/dist/src/utils/git.test.d.ts +2 -0
- package/dist/src/utils/git.test.d.ts.map +1 -0
- package/dist/src/utils/patternMatching.d.ts +2 -0
- package/dist/src/utils/patternMatching.d.ts.map +1 -0
- package/dist/src/utils/validateRule.d.ts +37 -1
- package/dist/src/utils/validateRule.d.ts.map +1 -1
- package/dist/src/validationSchemas.d.ts +553 -0
- package/dist/src/validationSchemas.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -4
package/dist/src/schemas.d.ts
CHANGED
|
@@ -32,20 +32,20 @@ export declare const RangeObjectSchema: z.ZodObject<{
|
|
|
32
32
|
column?: number | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
|
|
35
|
+
start: {
|
|
36
36
|
line: number;
|
|
37
37
|
column?: number | undefined;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
end: {
|
|
40
40
|
line: number;
|
|
41
41
|
column?: number | undefined;
|
|
42
42
|
};
|
|
43
43
|
}, {
|
|
44
|
-
|
|
44
|
+
start: {
|
|
45
45
|
line: number;
|
|
46
46
|
column?: number | undefined;
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
end: {
|
|
49
49
|
line: number;
|
|
50
50
|
column?: number | undefined;
|
|
51
51
|
};
|
|
@@ -78,19 +78,18 @@ export declare const NthChildSchema: z.ZodUnion<[z.ZodNumber, z.ZodString, z.Zod
|
|
|
78
78
|
}>]>;
|
|
79
79
|
export declare const AstGrepRuleSchema: z.ZodType<any>;
|
|
80
80
|
export declare const FactPredicateSchema: z.ZodObject<{
|
|
81
|
-
fact: z.ZodEnum<["fs.siblingAny", "fs.siblingExists", "fs.
|
|
81
|
+
fact: z.ZodEnum<["fs.siblingAny", "fs.siblingExists", "fs.ancestorHas"]>;
|
|
82
82
|
args: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
83
83
|
equals: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
85
|
equals: boolean;
|
|
86
|
-
fact: "fs.siblingAny" | "fs.siblingExists" | "fs.
|
|
86
|
+
fact: "fs.siblingAny" | "fs.siblingExists" | "fs.ancestorHas";
|
|
87
87
|
args?: string | number | boolean | unknown[] | Record<string, unknown> | null | undefined;
|
|
88
88
|
}, {
|
|
89
|
-
fact: "fs.siblingAny" | "fs.siblingExists" | "fs.
|
|
89
|
+
fact: "fs.siblingAny" | "fs.siblingExists" | "fs.ancestorHas";
|
|
90
90
|
equals?: boolean | undefined;
|
|
91
91
|
args?: string | number | boolean | unknown[] | Record<string, unknown> | null | undefined;
|
|
92
92
|
}>;
|
|
93
|
-
export declare const WhereExprSchema: z.ZodType<any>;
|
|
94
93
|
export declare const FileFilterConditionSchema: z.ZodUnion<[z.ZodObject<{
|
|
95
94
|
"fs.siblingExists": z.ZodObject<{
|
|
96
95
|
filename: z.ZodString;
|
|
@@ -107,22 +106,6 @@ export declare const FileFilterConditionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
107
106
|
"fs.siblingExists": {
|
|
108
107
|
filename: string;
|
|
109
108
|
};
|
|
110
|
-
}>, z.ZodObject<{
|
|
111
|
-
"fs.pathMatches": z.ZodObject<{
|
|
112
|
-
pattern: z.ZodString;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
pattern: string;
|
|
115
|
-
}, {
|
|
116
|
-
pattern: string;
|
|
117
|
-
}>;
|
|
118
|
-
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
"fs.pathMatches": {
|
|
120
|
-
pattern: string;
|
|
121
|
-
};
|
|
122
|
-
}, {
|
|
123
|
-
"fs.pathMatches": {
|
|
124
|
-
pattern: string;
|
|
125
|
-
};
|
|
126
109
|
}>, z.ZodObject<{
|
|
127
110
|
"fs.ancestorHas": z.ZodObject<{
|
|
128
111
|
filename: z.ZodString;
|
|
@@ -173,22 +156,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
173
156
|
"fs.siblingExists": {
|
|
174
157
|
filename: string;
|
|
175
158
|
};
|
|
176
|
-
}>, z.ZodObject<{
|
|
177
|
-
"fs.pathMatches": z.ZodObject<{
|
|
178
|
-
pattern: z.ZodString;
|
|
179
|
-
}, "strip", z.ZodTypeAny, {
|
|
180
|
-
pattern: string;
|
|
181
|
-
}, {
|
|
182
|
-
pattern: string;
|
|
183
|
-
}>;
|
|
184
|
-
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
"fs.pathMatches": {
|
|
186
|
-
pattern: string;
|
|
187
|
-
};
|
|
188
|
-
}, {
|
|
189
|
-
"fs.pathMatches": {
|
|
190
|
-
pattern: string;
|
|
191
|
-
};
|
|
192
159
|
}>, z.ZodObject<{
|
|
193
160
|
"fs.ancestorHas": z.ZodObject<{
|
|
194
161
|
filename: z.ZodString;
|
|
@@ -238,22 +205,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
238
205
|
"fs.siblingExists": {
|
|
239
206
|
filename: string;
|
|
240
207
|
};
|
|
241
|
-
}>, z.ZodObject<{
|
|
242
|
-
"fs.pathMatches": z.ZodObject<{
|
|
243
|
-
pattern: z.ZodString;
|
|
244
|
-
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
pattern: string;
|
|
246
|
-
}, {
|
|
247
|
-
pattern: string;
|
|
248
|
-
}>;
|
|
249
|
-
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
"fs.pathMatches": {
|
|
251
|
-
pattern: string;
|
|
252
|
-
};
|
|
253
|
-
}, {
|
|
254
|
-
"fs.pathMatches": {
|
|
255
|
-
pattern: string;
|
|
256
|
-
};
|
|
257
208
|
}>, z.ZodObject<{
|
|
258
209
|
"fs.ancestorHas": z.ZodObject<{
|
|
259
210
|
filename: z.ZodString;
|
|
@@ -303,22 +254,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
303
254
|
"fs.siblingExists": {
|
|
304
255
|
filename: string;
|
|
305
256
|
};
|
|
306
|
-
}>, z.ZodObject<{
|
|
307
|
-
"fs.pathMatches": z.ZodObject<{
|
|
308
|
-
pattern: z.ZodString;
|
|
309
|
-
}, "strip", z.ZodTypeAny, {
|
|
310
|
-
pattern: string;
|
|
311
|
-
}, {
|
|
312
|
-
pattern: string;
|
|
313
|
-
}>;
|
|
314
|
-
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
"fs.pathMatches": {
|
|
316
|
-
pattern: string;
|
|
317
|
-
};
|
|
318
|
-
}, {
|
|
319
|
-
"fs.pathMatches": {
|
|
320
|
-
pattern: string;
|
|
321
|
-
};
|
|
322
257
|
}>, z.ZodObject<{
|
|
323
258
|
"fs.ancestorHas": z.ZodObject<{
|
|
324
259
|
filename: z.ZodString;
|
|
@@ -357,10 +292,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
357
292
|
"fs.siblingExists": {
|
|
358
293
|
filename: string;
|
|
359
294
|
};
|
|
360
|
-
} | {
|
|
361
|
-
"fs.pathMatches": {
|
|
362
|
-
pattern: string;
|
|
363
|
-
};
|
|
364
295
|
} | {
|
|
365
296
|
"fs.ancestorHas": {
|
|
366
297
|
filename: string;
|
|
@@ -374,10 +305,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
374
305
|
"fs.siblingExists": {
|
|
375
306
|
filename: string;
|
|
376
307
|
};
|
|
377
|
-
} | {
|
|
378
|
-
"fs.pathMatches": {
|
|
379
|
-
pattern: string;
|
|
380
|
-
};
|
|
381
308
|
} | {
|
|
382
309
|
"fs.ancestorHas": {
|
|
383
310
|
filename: string;
|
|
@@ -391,10 +318,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
391
318
|
"fs.siblingExists": {
|
|
392
319
|
filename: string;
|
|
393
320
|
};
|
|
394
|
-
} | {
|
|
395
|
-
"fs.pathMatches": {
|
|
396
|
-
pattern: string;
|
|
397
|
-
};
|
|
398
321
|
} | {
|
|
399
322
|
"fs.ancestorHas": {
|
|
400
323
|
filename: string;
|
|
@@ -409,10 +332,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
409
332
|
"fs.siblingExists": {
|
|
410
333
|
filename: string;
|
|
411
334
|
};
|
|
412
|
-
} | {
|
|
413
|
-
"fs.pathMatches": {
|
|
414
|
-
pattern: string;
|
|
415
|
-
};
|
|
416
335
|
} | {
|
|
417
336
|
"fs.ancestorHas": {
|
|
418
337
|
filename: string;
|
|
@@ -426,10 +345,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
426
345
|
"fs.siblingExists": {
|
|
427
346
|
filename: string;
|
|
428
347
|
};
|
|
429
|
-
} | {
|
|
430
|
-
"fs.pathMatches": {
|
|
431
|
-
pattern: string;
|
|
432
|
-
};
|
|
433
348
|
} | {
|
|
434
349
|
"fs.ancestorHas": {
|
|
435
350
|
filename: string;
|
|
@@ -443,10 +358,6 @@ export declare const FileFilterConditionsSchema: z.ZodObject<{
|
|
|
443
358
|
"fs.siblingExists": {
|
|
444
359
|
filename: string;
|
|
445
360
|
};
|
|
446
|
-
} | {
|
|
447
|
-
"fs.pathMatches": {
|
|
448
|
-
pattern: string;
|
|
449
|
-
};
|
|
450
361
|
} | {
|
|
451
362
|
"fs.ancestorHas": {
|
|
452
363
|
filename: string;
|
|
@@ -494,22 +405,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
494
405
|
"fs.siblingExists": {
|
|
495
406
|
filename: string;
|
|
496
407
|
};
|
|
497
|
-
}>, z.ZodObject<{
|
|
498
|
-
"fs.pathMatches": z.ZodObject<{
|
|
499
|
-
pattern: z.ZodString;
|
|
500
|
-
}, "strip", z.ZodTypeAny, {
|
|
501
|
-
pattern: string;
|
|
502
|
-
}, {
|
|
503
|
-
pattern: string;
|
|
504
|
-
}>;
|
|
505
|
-
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
"fs.pathMatches": {
|
|
507
|
-
pattern: string;
|
|
508
|
-
};
|
|
509
|
-
}, {
|
|
510
|
-
"fs.pathMatches": {
|
|
511
|
-
pattern: string;
|
|
512
|
-
};
|
|
513
408
|
}>, z.ZodObject<{
|
|
514
409
|
"fs.ancestorHas": z.ZodObject<{
|
|
515
410
|
filename: z.ZodString;
|
|
@@ -559,22 +454,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
559
454
|
"fs.siblingExists": {
|
|
560
455
|
filename: string;
|
|
561
456
|
};
|
|
562
|
-
}>, z.ZodObject<{
|
|
563
|
-
"fs.pathMatches": z.ZodObject<{
|
|
564
|
-
pattern: z.ZodString;
|
|
565
|
-
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
pattern: string;
|
|
567
|
-
}, {
|
|
568
|
-
pattern: string;
|
|
569
|
-
}>;
|
|
570
|
-
}, "strip", z.ZodTypeAny, {
|
|
571
|
-
"fs.pathMatches": {
|
|
572
|
-
pattern: string;
|
|
573
|
-
};
|
|
574
|
-
}, {
|
|
575
|
-
"fs.pathMatches": {
|
|
576
|
-
pattern: string;
|
|
577
|
-
};
|
|
578
457
|
}>, z.ZodObject<{
|
|
579
458
|
"fs.ancestorHas": z.ZodObject<{
|
|
580
459
|
filename: z.ZodString;
|
|
@@ -624,22 +503,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
624
503
|
"fs.siblingExists": {
|
|
625
504
|
filename: string;
|
|
626
505
|
};
|
|
627
|
-
}>, z.ZodObject<{
|
|
628
|
-
"fs.pathMatches": z.ZodObject<{
|
|
629
|
-
pattern: z.ZodString;
|
|
630
|
-
}, "strip", z.ZodTypeAny, {
|
|
631
|
-
pattern: string;
|
|
632
|
-
}, {
|
|
633
|
-
pattern: string;
|
|
634
|
-
}>;
|
|
635
|
-
}, "strip", z.ZodTypeAny, {
|
|
636
|
-
"fs.pathMatches": {
|
|
637
|
-
pattern: string;
|
|
638
|
-
};
|
|
639
|
-
}, {
|
|
640
|
-
"fs.pathMatches": {
|
|
641
|
-
pattern: string;
|
|
642
|
-
};
|
|
643
506
|
}>, z.ZodObject<{
|
|
644
507
|
"fs.ancestorHas": z.ZodObject<{
|
|
645
508
|
filename: z.ZodString;
|
|
@@ -678,10 +541,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
678
541
|
"fs.siblingExists": {
|
|
679
542
|
filename: string;
|
|
680
543
|
};
|
|
681
|
-
} | {
|
|
682
|
-
"fs.pathMatches": {
|
|
683
|
-
pattern: string;
|
|
684
|
-
};
|
|
685
544
|
} | {
|
|
686
545
|
"fs.ancestorHas": {
|
|
687
546
|
filename: string;
|
|
@@ -695,10 +554,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
695
554
|
"fs.siblingExists": {
|
|
696
555
|
filename: string;
|
|
697
556
|
};
|
|
698
|
-
} | {
|
|
699
|
-
"fs.pathMatches": {
|
|
700
|
-
pattern: string;
|
|
701
|
-
};
|
|
702
557
|
} | {
|
|
703
558
|
"fs.ancestorHas": {
|
|
704
559
|
filename: string;
|
|
@@ -712,10 +567,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
712
567
|
"fs.siblingExists": {
|
|
713
568
|
filename: string;
|
|
714
569
|
};
|
|
715
|
-
} | {
|
|
716
|
-
"fs.pathMatches": {
|
|
717
|
-
pattern: string;
|
|
718
|
-
};
|
|
719
570
|
} | {
|
|
720
571
|
"fs.ancestorHas": {
|
|
721
572
|
filename: string;
|
|
@@ -730,10 +581,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
730
581
|
"fs.siblingExists": {
|
|
731
582
|
filename: string;
|
|
732
583
|
};
|
|
733
|
-
} | {
|
|
734
|
-
"fs.pathMatches": {
|
|
735
|
-
pattern: string;
|
|
736
|
-
};
|
|
737
584
|
} | {
|
|
738
585
|
"fs.ancestorHas": {
|
|
739
586
|
filename: string;
|
|
@@ -747,10 +594,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
747
594
|
"fs.siblingExists": {
|
|
748
595
|
filename: string;
|
|
749
596
|
};
|
|
750
|
-
} | {
|
|
751
|
-
"fs.pathMatches": {
|
|
752
|
-
pattern: string;
|
|
753
|
-
};
|
|
754
597
|
} | {
|
|
755
598
|
"fs.ancestorHas": {
|
|
756
599
|
filename: string;
|
|
@@ -764,10 +607,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
764
607
|
"fs.siblingExists": {
|
|
765
608
|
filename: string;
|
|
766
609
|
};
|
|
767
|
-
} | {
|
|
768
|
-
"fs.pathMatches": {
|
|
769
|
-
pattern: string;
|
|
770
|
-
};
|
|
771
610
|
} | {
|
|
772
611
|
"fs.ancestorHas": {
|
|
773
612
|
filename: string;
|
|
@@ -780,17 +619,13 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
780
619
|
}>>;
|
|
781
620
|
}, "strict", z.ZodTypeAny, {
|
|
782
621
|
type: "file-filter";
|
|
783
|
-
ignore?: string[] | undefined;
|
|
784
622
|
include?: string[] | undefined;
|
|
623
|
+
ignore?: string[] | undefined;
|
|
785
624
|
conditions?: {
|
|
786
625
|
all?: ({
|
|
787
626
|
"fs.siblingExists": {
|
|
788
627
|
filename: string;
|
|
789
628
|
};
|
|
790
|
-
} | {
|
|
791
|
-
"fs.pathMatches": {
|
|
792
|
-
pattern: string;
|
|
793
|
-
};
|
|
794
629
|
} | {
|
|
795
630
|
"fs.ancestorHas": {
|
|
796
631
|
filename: string;
|
|
@@ -804,10 +639,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
804
639
|
"fs.siblingExists": {
|
|
805
640
|
filename: string;
|
|
806
641
|
};
|
|
807
|
-
} | {
|
|
808
|
-
"fs.pathMatches": {
|
|
809
|
-
pattern: string;
|
|
810
|
-
};
|
|
811
642
|
} | {
|
|
812
643
|
"fs.ancestorHas": {
|
|
813
644
|
filename: string;
|
|
@@ -821,10 +652,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
821
652
|
"fs.siblingExists": {
|
|
822
653
|
filename: string;
|
|
823
654
|
};
|
|
824
|
-
} | {
|
|
825
|
-
"fs.pathMatches": {
|
|
826
|
-
pattern: string;
|
|
827
|
-
};
|
|
828
655
|
} | {
|
|
829
656
|
"fs.ancestorHas": {
|
|
830
657
|
filename: string;
|
|
@@ -837,17 +664,13 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
837
664
|
} | undefined;
|
|
838
665
|
}, {
|
|
839
666
|
type: "file-filter";
|
|
840
|
-
ignore?: string[] | undefined;
|
|
841
667
|
include?: string[] | undefined;
|
|
668
|
+
ignore?: string[] | undefined;
|
|
842
669
|
conditions?: {
|
|
843
670
|
all?: ({
|
|
844
671
|
"fs.siblingExists": {
|
|
845
672
|
filename: string;
|
|
846
673
|
};
|
|
847
|
-
} | {
|
|
848
|
-
"fs.pathMatches": {
|
|
849
|
-
pattern: string;
|
|
850
|
-
};
|
|
851
674
|
} | {
|
|
852
675
|
"fs.ancestorHas": {
|
|
853
676
|
filename: string;
|
|
@@ -861,10 +684,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
861
684
|
"fs.siblingExists": {
|
|
862
685
|
filename: string;
|
|
863
686
|
};
|
|
864
|
-
} | {
|
|
865
|
-
"fs.pathMatches": {
|
|
866
|
-
pattern: string;
|
|
867
|
-
};
|
|
868
687
|
} | {
|
|
869
688
|
"fs.ancestorHas": {
|
|
870
689
|
filename: string;
|
|
@@ -878,10 +697,6 @@ export declare const FileFilterStepSchema: z.ZodObject<{
|
|
|
878
697
|
"fs.siblingExists": {
|
|
879
698
|
filename: string;
|
|
880
699
|
};
|
|
881
|
-
} | {
|
|
882
|
-
"fs.pathMatches": {
|
|
883
|
-
pattern: string;
|
|
884
|
-
};
|
|
885
700
|
} | {
|
|
886
701
|
"fs.ancestorHas": {
|
|
887
702
|
filename: string;
|
|
@@ -951,22 +766,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
951
766
|
"fs.siblingExists": {
|
|
952
767
|
filename: string;
|
|
953
768
|
};
|
|
954
|
-
}>, z.ZodObject<{
|
|
955
|
-
"fs.pathMatches": z.ZodObject<{
|
|
956
|
-
pattern: z.ZodString;
|
|
957
|
-
}, "strip", z.ZodTypeAny, {
|
|
958
|
-
pattern: string;
|
|
959
|
-
}, {
|
|
960
|
-
pattern: string;
|
|
961
|
-
}>;
|
|
962
|
-
}, "strip", z.ZodTypeAny, {
|
|
963
|
-
"fs.pathMatches": {
|
|
964
|
-
pattern: string;
|
|
965
|
-
};
|
|
966
|
-
}, {
|
|
967
|
-
"fs.pathMatches": {
|
|
968
|
-
pattern: string;
|
|
969
|
-
};
|
|
970
769
|
}>, z.ZodObject<{
|
|
971
770
|
"fs.ancestorHas": z.ZodObject<{
|
|
972
771
|
filename: z.ZodString;
|
|
@@ -1016,22 +815,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1016
815
|
"fs.siblingExists": {
|
|
1017
816
|
filename: string;
|
|
1018
817
|
};
|
|
1019
|
-
}>, z.ZodObject<{
|
|
1020
|
-
"fs.pathMatches": z.ZodObject<{
|
|
1021
|
-
pattern: z.ZodString;
|
|
1022
|
-
}, "strip", z.ZodTypeAny, {
|
|
1023
|
-
pattern: string;
|
|
1024
|
-
}, {
|
|
1025
|
-
pattern: string;
|
|
1026
|
-
}>;
|
|
1027
|
-
}, "strip", z.ZodTypeAny, {
|
|
1028
|
-
"fs.pathMatches": {
|
|
1029
|
-
pattern: string;
|
|
1030
|
-
};
|
|
1031
|
-
}, {
|
|
1032
|
-
"fs.pathMatches": {
|
|
1033
|
-
pattern: string;
|
|
1034
|
-
};
|
|
1035
818
|
}>, z.ZodObject<{
|
|
1036
819
|
"fs.ancestorHas": z.ZodObject<{
|
|
1037
820
|
filename: z.ZodString;
|
|
@@ -1081,22 +864,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1081
864
|
"fs.siblingExists": {
|
|
1082
865
|
filename: string;
|
|
1083
866
|
};
|
|
1084
|
-
}>, z.ZodObject<{
|
|
1085
|
-
"fs.pathMatches": z.ZodObject<{
|
|
1086
|
-
pattern: z.ZodString;
|
|
1087
|
-
}, "strip", z.ZodTypeAny, {
|
|
1088
|
-
pattern: string;
|
|
1089
|
-
}, {
|
|
1090
|
-
pattern: string;
|
|
1091
|
-
}>;
|
|
1092
|
-
}, "strip", z.ZodTypeAny, {
|
|
1093
|
-
"fs.pathMatches": {
|
|
1094
|
-
pattern: string;
|
|
1095
|
-
};
|
|
1096
|
-
}, {
|
|
1097
|
-
"fs.pathMatches": {
|
|
1098
|
-
pattern: string;
|
|
1099
|
-
};
|
|
1100
867
|
}>, z.ZodObject<{
|
|
1101
868
|
"fs.ancestorHas": z.ZodObject<{
|
|
1102
869
|
filename: z.ZodString;
|
|
@@ -1135,10 +902,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1135
902
|
"fs.siblingExists": {
|
|
1136
903
|
filename: string;
|
|
1137
904
|
};
|
|
1138
|
-
} | {
|
|
1139
|
-
"fs.pathMatches": {
|
|
1140
|
-
pattern: string;
|
|
1141
|
-
};
|
|
1142
905
|
} | {
|
|
1143
906
|
"fs.ancestorHas": {
|
|
1144
907
|
filename: string;
|
|
@@ -1152,10 +915,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1152
915
|
"fs.siblingExists": {
|
|
1153
916
|
filename: string;
|
|
1154
917
|
};
|
|
1155
|
-
} | {
|
|
1156
|
-
"fs.pathMatches": {
|
|
1157
|
-
pattern: string;
|
|
1158
|
-
};
|
|
1159
918
|
} | {
|
|
1160
919
|
"fs.ancestorHas": {
|
|
1161
920
|
filename: string;
|
|
@@ -1169,10 +928,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1169
928
|
"fs.siblingExists": {
|
|
1170
929
|
filename: string;
|
|
1171
930
|
};
|
|
1172
|
-
} | {
|
|
1173
|
-
"fs.pathMatches": {
|
|
1174
|
-
pattern: string;
|
|
1175
|
-
};
|
|
1176
931
|
} | {
|
|
1177
932
|
"fs.ancestorHas": {
|
|
1178
933
|
filename: string;
|
|
@@ -1187,10 +942,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1187
942
|
"fs.siblingExists": {
|
|
1188
943
|
filename: string;
|
|
1189
944
|
};
|
|
1190
|
-
} | {
|
|
1191
|
-
"fs.pathMatches": {
|
|
1192
|
-
pattern: string;
|
|
1193
|
-
};
|
|
1194
945
|
} | {
|
|
1195
946
|
"fs.ancestorHas": {
|
|
1196
947
|
filename: string;
|
|
@@ -1204,10 +955,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1204
955
|
"fs.siblingExists": {
|
|
1205
956
|
filename: string;
|
|
1206
957
|
};
|
|
1207
|
-
} | {
|
|
1208
|
-
"fs.pathMatches": {
|
|
1209
|
-
pattern: string;
|
|
1210
|
-
};
|
|
1211
958
|
} | {
|
|
1212
959
|
"fs.ancestorHas": {
|
|
1213
960
|
filename: string;
|
|
@@ -1221,10 +968,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1221
968
|
"fs.siblingExists": {
|
|
1222
969
|
filename: string;
|
|
1223
970
|
};
|
|
1224
|
-
} | {
|
|
1225
|
-
"fs.pathMatches": {
|
|
1226
|
-
pattern: string;
|
|
1227
|
-
};
|
|
1228
971
|
} | {
|
|
1229
972
|
"fs.ancestorHas": {
|
|
1230
973
|
filename: string;
|
|
@@ -1237,17 +980,13 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1237
980
|
}>>;
|
|
1238
981
|
}, "strict", z.ZodTypeAny, {
|
|
1239
982
|
type: "file-filter";
|
|
1240
|
-
ignore?: string[] | undefined;
|
|
1241
983
|
include?: string[] | undefined;
|
|
984
|
+
ignore?: string[] | undefined;
|
|
1242
985
|
conditions?: {
|
|
1243
986
|
all?: ({
|
|
1244
987
|
"fs.siblingExists": {
|
|
1245
988
|
filename: string;
|
|
1246
989
|
};
|
|
1247
|
-
} | {
|
|
1248
|
-
"fs.pathMatches": {
|
|
1249
|
-
pattern: string;
|
|
1250
|
-
};
|
|
1251
990
|
} | {
|
|
1252
991
|
"fs.ancestorHas": {
|
|
1253
992
|
filename: string;
|
|
@@ -1261,10 +1000,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1261
1000
|
"fs.siblingExists": {
|
|
1262
1001
|
filename: string;
|
|
1263
1002
|
};
|
|
1264
|
-
} | {
|
|
1265
|
-
"fs.pathMatches": {
|
|
1266
|
-
pattern: string;
|
|
1267
|
-
};
|
|
1268
1003
|
} | {
|
|
1269
1004
|
"fs.ancestorHas": {
|
|
1270
1005
|
filename: string;
|
|
@@ -1278,10 +1013,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1278
1013
|
"fs.siblingExists": {
|
|
1279
1014
|
filename: string;
|
|
1280
1015
|
};
|
|
1281
|
-
} | {
|
|
1282
|
-
"fs.pathMatches": {
|
|
1283
|
-
pattern: string;
|
|
1284
|
-
};
|
|
1285
1016
|
} | {
|
|
1286
1017
|
"fs.ancestorHas": {
|
|
1287
1018
|
filename: string;
|
|
@@ -1294,17 +1025,13 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1294
1025
|
} | undefined;
|
|
1295
1026
|
}, {
|
|
1296
1027
|
type: "file-filter";
|
|
1297
|
-
ignore?: string[] | undefined;
|
|
1298
1028
|
include?: string[] | undefined;
|
|
1029
|
+
ignore?: string[] | undefined;
|
|
1299
1030
|
conditions?: {
|
|
1300
1031
|
all?: ({
|
|
1301
1032
|
"fs.siblingExists": {
|
|
1302
1033
|
filename: string;
|
|
1303
1034
|
};
|
|
1304
|
-
} | {
|
|
1305
|
-
"fs.pathMatches": {
|
|
1306
|
-
pattern: string;
|
|
1307
|
-
};
|
|
1308
1035
|
} | {
|
|
1309
1036
|
"fs.ancestorHas": {
|
|
1310
1037
|
filename: string;
|
|
@@ -1318,10 +1045,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1318
1045
|
"fs.siblingExists": {
|
|
1319
1046
|
filename: string;
|
|
1320
1047
|
};
|
|
1321
|
-
} | {
|
|
1322
|
-
"fs.pathMatches": {
|
|
1323
|
-
pattern: string;
|
|
1324
|
-
};
|
|
1325
1048
|
} | {
|
|
1326
1049
|
"fs.ancestorHas": {
|
|
1327
1050
|
filename: string;
|
|
@@ -1335,10 +1058,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1335
1058
|
"fs.siblingExists": {
|
|
1336
1059
|
filename: string;
|
|
1337
1060
|
};
|
|
1338
|
-
} | {
|
|
1339
|
-
"fs.pathMatches": {
|
|
1340
|
-
pattern: string;
|
|
1341
|
-
};
|
|
1342
1061
|
} | {
|
|
1343
1062
|
"fs.ancestorHas": {
|
|
1344
1063
|
filename: string;
|
|
@@ -1377,17 +1096,13 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1377
1096
|
constraints?: Record<string, any> | undefined;
|
|
1378
1097
|
} | {
|
|
1379
1098
|
type: "file-filter";
|
|
1380
|
-
ignore?: string[] | undefined;
|
|
1381
1099
|
include?: string[] | undefined;
|
|
1100
|
+
ignore?: string[] | undefined;
|
|
1382
1101
|
conditions?: {
|
|
1383
1102
|
all?: ({
|
|
1384
1103
|
"fs.siblingExists": {
|
|
1385
1104
|
filename: string;
|
|
1386
1105
|
};
|
|
1387
|
-
} | {
|
|
1388
|
-
"fs.pathMatches": {
|
|
1389
|
-
pattern: string;
|
|
1390
|
-
};
|
|
1391
1106
|
} | {
|
|
1392
1107
|
"fs.ancestorHas": {
|
|
1393
1108
|
filename: string;
|
|
@@ -1401,10 +1116,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1401
1116
|
"fs.siblingExists": {
|
|
1402
1117
|
filename: string;
|
|
1403
1118
|
};
|
|
1404
|
-
} | {
|
|
1405
|
-
"fs.pathMatches": {
|
|
1406
|
-
pattern: string;
|
|
1407
|
-
};
|
|
1408
1119
|
} | {
|
|
1409
1120
|
"fs.ancestorHas": {
|
|
1410
1121
|
filename: string;
|
|
@@ -1418,10 +1129,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1418
1129
|
"fs.siblingExists": {
|
|
1419
1130
|
filename: string;
|
|
1420
1131
|
};
|
|
1421
|
-
} | {
|
|
1422
|
-
"fs.pathMatches": {
|
|
1423
|
-
pattern: string;
|
|
1424
|
-
};
|
|
1425
1132
|
} | {
|
|
1426
1133
|
"fs.ancestorHas": {
|
|
1427
1134
|
filename: string;
|
|
@@ -1448,17 +1155,13 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1448
1155
|
constraints?: Record<string, any> | undefined;
|
|
1449
1156
|
} | {
|
|
1450
1157
|
type: "file-filter";
|
|
1451
|
-
ignore?: string[] | undefined;
|
|
1452
1158
|
include?: string[] | undefined;
|
|
1159
|
+
ignore?: string[] | undefined;
|
|
1453
1160
|
conditions?: {
|
|
1454
1161
|
all?: ({
|
|
1455
1162
|
"fs.siblingExists": {
|
|
1456
1163
|
filename: string;
|
|
1457
1164
|
};
|
|
1458
|
-
} | {
|
|
1459
|
-
"fs.pathMatches": {
|
|
1460
|
-
pattern: string;
|
|
1461
|
-
};
|
|
1462
1165
|
} | {
|
|
1463
1166
|
"fs.ancestorHas": {
|
|
1464
1167
|
filename: string;
|
|
@@ -1472,10 +1175,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1472
1175
|
"fs.siblingExists": {
|
|
1473
1176
|
filename: string;
|
|
1474
1177
|
};
|
|
1475
|
-
} | {
|
|
1476
|
-
"fs.pathMatches": {
|
|
1477
|
-
pattern: string;
|
|
1478
|
-
};
|
|
1479
1178
|
} | {
|
|
1480
1179
|
"fs.ancestorHas": {
|
|
1481
1180
|
filename: string;
|
|
@@ -1489,10 +1188,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1489
1188
|
"fs.siblingExists": {
|
|
1490
1189
|
filename: string;
|
|
1491
1190
|
};
|
|
1492
|
-
} | {
|
|
1493
|
-
"fs.pathMatches": {
|
|
1494
|
-
pattern: string;
|
|
1495
|
-
};
|
|
1496
1191
|
} | {
|
|
1497
1192
|
"fs.ancestorHas": {
|
|
1498
1193
|
filename: string;
|
|
@@ -1512,202 +1207,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1512
1207
|
})[];
|
|
1513
1208
|
}>>;
|
|
1514
1209
|
export declare const RuleStepSchema: z.ZodType<any>;
|
|
1515
|
-
export declare const MatchRangeSchema: z.ZodObject<{
|
|
1516
|
-
start: z.ZodObject<{
|
|
1517
|
-
line: z.ZodNumber;
|
|
1518
|
-
column: z.ZodNumber;
|
|
1519
|
-
}, "strip", z.ZodTypeAny, {
|
|
1520
|
-
line: number;
|
|
1521
|
-
column: number;
|
|
1522
|
-
}, {
|
|
1523
|
-
line: number;
|
|
1524
|
-
column: number;
|
|
1525
|
-
}>;
|
|
1526
|
-
end: z.ZodObject<{
|
|
1527
|
-
line: z.ZodNumber;
|
|
1528
|
-
column: z.ZodNumber;
|
|
1529
|
-
}, "strip", z.ZodTypeAny, {
|
|
1530
|
-
line: number;
|
|
1531
|
-
column: number;
|
|
1532
|
-
}, {
|
|
1533
|
-
line: number;
|
|
1534
|
-
column: number;
|
|
1535
|
-
}>;
|
|
1536
|
-
}, "strip", z.ZodTypeAny, {
|
|
1537
|
-
end: {
|
|
1538
|
-
line: number;
|
|
1539
|
-
column: number;
|
|
1540
|
-
};
|
|
1541
|
-
start: {
|
|
1542
|
-
line: number;
|
|
1543
|
-
column: number;
|
|
1544
|
-
};
|
|
1545
|
-
}, {
|
|
1546
|
-
end: {
|
|
1547
|
-
line: number;
|
|
1548
|
-
column: number;
|
|
1549
|
-
};
|
|
1550
|
-
start: {
|
|
1551
|
-
line: number;
|
|
1552
|
-
column: number;
|
|
1553
|
-
};
|
|
1554
|
-
}>;
|
|
1555
|
-
export declare const MatchSourceSchema: z.ZodType<any>;
|
|
1556
|
-
export declare const MatchMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
1557
|
-
fromCache: z.ZodOptional<z.ZodBoolean>;
|
|
1558
|
-
llmValidation: z.ZodOptional<z.ZodObject<{
|
|
1559
|
-
isViolation: z.ZodBoolean;
|
|
1560
|
-
confidence: z.ZodNumber;
|
|
1561
|
-
reason: z.ZodString;
|
|
1562
|
-
}, "strip", z.ZodTypeAny, {
|
|
1563
|
-
isViolation: boolean;
|
|
1564
|
-
confidence: number;
|
|
1565
|
-
reason: string;
|
|
1566
|
-
}, {
|
|
1567
|
-
isViolation: boolean;
|
|
1568
|
-
confidence: number;
|
|
1569
|
-
reason: string;
|
|
1570
|
-
}>>;
|
|
1571
|
-
}, "strip", z.ZodTypeAny, {
|
|
1572
|
-
fromCache?: boolean | undefined;
|
|
1573
|
-
llmValidation?: {
|
|
1574
|
-
isViolation: boolean;
|
|
1575
|
-
confidence: number;
|
|
1576
|
-
reason: string;
|
|
1577
|
-
} | undefined;
|
|
1578
|
-
}, {
|
|
1579
|
-
fromCache?: boolean | undefined;
|
|
1580
|
-
llmValidation?: {
|
|
1581
|
-
isViolation: boolean;
|
|
1582
|
-
confidence: number;
|
|
1583
|
-
reason: string;
|
|
1584
|
-
} | undefined;
|
|
1585
|
-
}>>;
|
|
1586
|
-
export declare const MatchSchema: z.ZodObject<{
|
|
1587
|
-
filePath: z.ZodString;
|
|
1588
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1589
|
-
range: z.ZodObject<{
|
|
1590
|
-
start: z.ZodObject<{
|
|
1591
|
-
line: z.ZodNumber;
|
|
1592
|
-
column: z.ZodNumber;
|
|
1593
|
-
}, "strip", z.ZodTypeAny, {
|
|
1594
|
-
line: number;
|
|
1595
|
-
column: number;
|
|
1596
|
-
}, {
|
|
1597
|
-
line: number;
|
|
1598
|
-
column: number;
|
|
1599
|
-
}>;
|
|
1600
|
-
end: z.ZodObject<{
|
|
1601
|
-
line: z.ZodNumber;
|
|
1602
|
-
column: z.ZodNumber;
|
|
1603
|
-
}, "strip", z.ZodTypeAny, {
|
|
1604
|
-
line: number;
|
|
1605
|
-
column: number;
|
|
1606
|
-
}, {
|
|
1607
|
-
line: number;
|
|
1608
|
-
column: number;
|
|
1609
|
-
}>;
|
|
1610
|
-
}, "strip", z.ZodTypeAny, {
|
|
1611
|
-
end: {
|
|
1612
|
-
line: number;
|
|
1613
|
-
column: number;
|
|
1614
|
-
};
|
|
1615
|
-
start: {
|
|
1616
|
-
line: number;
|
|
1617
|
-
column: number;
|
|
1618
|
-
};
|
|
1619
|
-
}, {
|
|
1620
|
-
end: {
|
|
1621
|
-
line: number;
|
|
1622
|
-
column: number;
|
|
1623
|
-
};
|
|
1624
|
-
start: {
|
|
1625
|
-
line: number;
|
|
1626
|
-
column: number;
|
|
1627
|
-
};
|
|
1628
|
-
}>;
|
|
1629
|
-
symbol: z.ZodOptional<z.ZodString>;
|
|
1630
|
-
language: z.ZodNativeEnum<typeof Language>;
|
|
1631
|
-
source: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
1632
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
1633
|
-
fromCache: z.ZodOptional<z.ZodBoolean>;
|
|
1634
|
-
llmValidation: z.ZodOptional<z.ZodObject<{
|
|
1635
|
-
isViolation: z.ZodBoolean;
|
|
1636
|
-
confidence: z.ZodNumber;
|
|
1637
|
-
reason: z.ZodString;
|
|
1638
|
-
}, "strip", z.ZodTypeAny, {
|
|
1639
|
-
isViolation: boolean;
|
|
1640
|
-
confidence: number;
|
|
1641
|
-
reason: string;
|
|
1642
|
-
}, {
|
|
1643
|
-
isViolation: boolean;
|
|
1644
|
-
confidence: number;
|
|
1645
|
-
reason: string;
|
|
1646
|
-
}>>;
|
|
1647
|
-
}, "strip", z.ZodTypeAny, {
|
|
1648
|
-
fromCache?: boolean | undefined;
|
|
1649
|
-
llmValidation?: {
|
|
1650
|
-
isViolation: boolean;
|
|
1651
|
-
confidence: number;
|
|
1652
|
-
reason: string;
|
|
1653
|
-
} | undefined;
|
|
1654
|
-
}, {
|
|
1655
|
-
fromCache?: boolean | undefined;
|
|
1656
|
-
llmValidation?: {
|
|
1657
|
-
isViolation: boolean;
|
|
1658
|
-
confidence: number;
|
|
1659
|
-
reason: string;
|
|
1660
|
-
} | undefined;
|
|
1661
|
-
}>>;
|
|
1662
|
-
}, "strip", z.ZodTypeAny, {
|
|
1663
|
-
language: Language;
|
|
1664
|
-
filePath: string;
|
|
1665
|
-
range: {
|
|
1666
|
-
end: {
|
|
1667
|
-
line: number;
|
|
1668
|
-
column: number;
|
|
1669
|
-
};
|
|
1670
|
-
start: {
|
|
1671
|
-
line: number;
|
|
1672
|
-
column: number;
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
symbol?: string | undefined;
|
|
1676
|
-
text?: string | undefined;
|
|
1677
|
-
metadata?: {
|
|
1678
|
-
fromCache?: boolean | undefined;
|
|
1679
|
-
llmValidation?: {
|
|
1680
|
-
isViolation: boolean;
|
|
1681
|
-
confidence: number;
|
|
1682
|
-
reason: string;
|
|
1683
|
-
} | undefined;
|
|
1684
|
-
} | undefined;
|
|
1685
|
-
source?: any[] | undefined;
|
|
1686
|
-
}, {
|
|
1687
|
-
language: Language;
|
|
1688
|
-
filePath: string;
|
|
1689
|
-
range: {
|
|
1690
|
-
end: {
|
|
1691
|
-
line: number;
|
|
1692
|
-
column: number;
|
|
1693
|
-
};
|
|
1694
|
-
start: {
|
|
1695
|
-
line: number;
|
|
1696
|
-
column: number;
|
|
1697
|
-
};
|
|
1698
|
-
};
|
|
1699
|
-
symbol?: string | undefined;
|
|
1700
|
-
text?: string | undefined;
|
|
1701
|
-
metadata?: {
|
|
1702
|
-
fromCache?: boolean | undefined;
|
|
1703
|
-
llmValidation?: {
|
|
1704
|
-
isViolation: boolean;
|
|
1705
|
-
confidence: number;
|
|
1706
|
-
reason: string;
|
|
1707
|
-
} | undefined;
|
|
1708
|
-
} | undefined;
|
|
1709
|
-
source?: any[] | undefined;
|
|
1710
|
-
}>;
|
|
1711
1210
|
export declare const GenerateRuleSchema: z.ZodObject<{
|
|
1712
1211
|
reason: z.ZodString;
|
|
1713
1212
|
steps: z.ZodArray<z.ZodObject<{
|