@usefragments/core 1.9.1 → 1.10.0
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/{chunk-DGHZQTLH.js → chunk-XN3LSDPY.js} +3 -2
- package/dist/chunk-XN3LSDPY.js.map +1 -0
- package/dist/codes/index.d.ts +1 -1
- package/dist/codes/index.js +1 -1
- package/dist/compiled-types/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/{governance-eEzCyfes.d.ts → governance-B5WWcmFY.d.ts} +19 -3
- package/dist/index.d.ts +143 -135
- package/dist/index.js +110 -53
- package/dist/index.js.map +1 -1
- package/dist/react-types.d.ts +1 -1
- package/dist/registry.d.ts +18 -18
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +1 -1
- package/dist/test-utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/governance-integrity.test.ts +93 -2
- package/src/governance-integrity.ts +46 -2
- package/src/governance.ts +15 -3
- package/src/rules/a11y-required-accessible-name.ts +45 -2
- package/src/rules/index.ts +4 -0
- package/src/rules/rules.test.ts +72 -0
- package/dist/chunk-DGHZQTLH.js.map +0 -1
- package/dist/{index-_sxhUNqx.d.ts → index-DtHxs0Pf.d.ts} +12 -12
|
@@ -2575,6 +2575,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2575
2575
|
maxIterations: number;
|
|
2576
2576
|
scoreDelta: number;
|
|
2577
2577
|
};
|
|
2578
|
+
status?: undefined;
|
|
2578
2579
|
suppressions?: {
|
|
2579
2580
|
reason: string;
|
|
2580
2581
|
scope: "file" | "line" | "block";
|
|
@@ -2588,7 +2589,6 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2588
2589
|
exitCode: 0 | 1;
|
|
2589
2590
|
gatingFindingCount: number;
|
|
2590
2591
|
} | undefined;
|
|
2591
|
-
status?: undefined;
|
|
2592
2592
|
findings?: {
|
|
2593
2593
|
message: string;
|
|
2594
2594
|
ruleId: string;
|
|
@@ -2719,6 +2719,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2719
2719
|
maxIterations: number;
|
|
2720
2720
|
scoreDelta: number;
|
|
2721
2721
|
};
|
|
2722
|
+
status?: undefined;
|
|
2722
2723
|
suppressions?: {
|
|
2723
2724
|
reason: string;
|
|
2724
2725
|
code?: string | undefined;
|
|
@@ -2732,7 +2733,6 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2732
2733
|
exitCode: 0 | 1;
|
|
2733
2734
|
gatingFindingCount: number;
|
|
2734
2735
|
} | undefined;
|
|
2735
|
-
status?: undefined;
|
|
2736
2736
|
findings?: {
|
|
2737
2737
|
message: string;
|
|
2738
2738
|
ruleId: string;
|
|
@@ -3327,9 +3327,9 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3327
3327
|
reasons: string[];
|
|
3328
3328
|
}>;
|
|
3329
3329
|
}, "strip", z.ZodTypeAny, {
|
|
3330
|
+
status: "indeterminate";
|
|
3330
3331
|
schemaVersion: "typestyle.agent.v2";
|
|
3331
3332
|
summary: string;
|
|
3332
|
-
status: "indeterminate";
|
|
3333
3333
|
passed: false;
|
|
3334
3334
|
reasons: ["zero_rules_loaded"];
|
|
3335
3335
|
integrity: {
|
|
@@ -3471,9 +3471,9 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3471
3471
|
inputsHash?: string | undefined;
|
|
3472
3472
|
} | undefined;
|
|
3473
3473
|
}, {
|
|
3474
|
+
status: "indeterminate";
|
|
3474
3475
|
schemaVersion: "typestyle.agent.v2";
|
|
3475
3476
|
summary: string;
|
|
3476
|
-
status: "indeterminate";
|
|
3477
3477
|
passed: false;
|
|
3478
3478
|
reasons: ["zero_rules_loaded"];
|
|
3479
3479
|
integrity: {
|
|
@@ -4135,6 +4135,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4135
4135
|
gatingFindingCount: number;
|
|
4136
4136
|
}>;
|
|
4137
4137
|
}, "strip", z.ZodTypeAny, {
|
|
4138
|
+
status: "indeterminate";
|
|
4138
4139
|
schemaVersion: "typestyle.agent.v2";
|
|
4139
4140
|
summary: string;
|
|
4140
4141
|
verdict: {
|
|
@@ -4142,7 +4143,6 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4142
4143
|
exitCode: 0;
|
|
4143
4144
|
gatingFindingCount: number;
|
|
4144
4145
|
};
|
|
4145
|
-
status: "indeterminate";
|
|
4146
4146
|
passed: true;
|
|
4147
4147
|
reasons: ["zero_rules_loaded"];
|
|
4148
4148
|
integrity: {
|
|
@@ -4279,6 +4279,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4279
4279
|
}[] | undefined;
|
|
4280
4280
|
score?: undefined;
|
|
4281
4281
|
}, {
|
|
4282
|
+
status: "indeterminate";
|
|
4282
4283
|
schemaVersion: "typestyle.agent.v2";
|
|
4283
4284
|
summary: string;
|
|
4284
4285
|
verdict: {
|
|
@@ -4286,7 +4287,6 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4286
4287
|
exitCode: 0;
|
|
4287
4288
|
gatingFindingCount: number;
|
|
4288
4289
|
};
|
|
4289
|
-
status: "indeterminate";
|
|
4290
4290
|
passed: true;
|
|
4291
4291
|
reasons: ["zero_rules_loaded"];
|
|
4292
4292
|
integrity: {
|
|
@@ -5126,6 +5126,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5126
5126
|
maxIterations: number;
|
|
5127
5127
|
scoreDelta: number;
|
|
5128
5128
|
};
|
|
5129
|
+
status?: undefined;
|
|
5129
5130
|
suppressions?: {
|
|
5130
5131
|
reason: string;
|
|
5131
5132
|
scope: "file" | "line" | "block";
|
|
@@ -5139,7 +5140,6 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5139
5140
|
exitCode: 0 | 1;
|
|
5140
5141
|
gatingFindingCount: number;
|
|
5141
5142
|
} | undefined;
|
|
5142
|
-
status?: undefined;
|
|
5143
5143
|
findings?: {
|
|
5144
5144
|
message: string;
|
|
5145
5145
|
ruleId: string;
|
|
@@ -5270,6 +5270,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5270
5270
|
maxIterations: number;
|
|
5271
5271
|
scoreDelta: number;
|
|
5272
5272
|
};
|
|
5273
|
+
status?: undefined;
|
|
5273
5274
|
suppressions?: {
|
|
5274
5275
|
reason: string;
|
|
5275
5276
|
code?: string | undefined;
|
|
@@ -5283,7 +5284,6 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5283
5284
|
exitCode: 0 | 1;
|
|
5284
5285
|
gatingFindingCount: number;
|
|
5285
5286
|
} | undefined;
|
|
5286
|
-
status?: undefined;
|
|
5287
5287
|
findings?: {
|
|
5288
5288
|
message: string;
|
|
5289
5289
|
ruleId: string;
|
|
@@ -5878,9 +5878,9 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5878
5878
|
reasons: string[];
|
|
5879
5879
|
}>;
|
|
5880
5880
|
}, "strip", z.ZodTypeAny, {
|
|
5881
|
+
status: "indeterminate";
|
|
5881
5882
|
schemaVersion: "typestyle.agent.v2";
|
|
5882
5883
|
summary: string;
|
|
5883
|
-
status: "indeterminate";
|
|
5884
5884
|
passed: false;
|
|
5885
5885
|
reasons: ["zero_rules_loaded"];
|
|
5886
5886
|
integrity: {
|
|
@@ -6022,9 +6022,9 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6022
6022
|
inputsHash?: string | undefined;
|
|
6023
6023
|
} | undefined;
|
|
6024
6024
|
}, {
|
|
6025
|
+
status: "indeterminate";
|
|
6025
6026
|
schemaVersion: "typestyle.agent.v2";
|
|
6026
6027
|
summary: string;
|
|
6027
|
-
status: "indeterminate";
|
|
6028
6028
|
passed: false;
|
|
6029
6029
|
reasons: ["zero_rules_loaded"];
|
|
6030
6030
|
integrity: {
|
|
@@ -6686,6 +6686,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6686
6686
|
gatingFindingCount: number;
|
|
6687
6687
|
}>;
|
|
6688
6688
|
}, "strip", z.ZodTypeAny, {
|
|
6689
|
+
status: "indeterminate";
|
|
6689
6690
|
schemaVersion: "typestyle.agent.v2";
|
|
6690
6691
|
summary: string;
|
|
6691
6692
|
verdict: {
|
|
@@ -6693,7 +6694,6 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6693
6694
|
exitCode: 0;
|
|
6694
6695
|
gatingFindingCount: number;
|
|
6695
6696
|
};
|
|
6696
|
-
status: "indeterminate";
|
|
6697
6697
|
passed: true;
|
|
6698
6698
|
reasons: ["zero_rules_loaded"];
|
|
6699
6699
|
integrity: {
|
|
@@ -6830,6 +6830,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6830
6830
|
}[] | undefined;
|
|
6831
6831
|
score?: undefined;
|
|
6832
6832
|
}, {
|
|
6833
|
+
status: "indeterminate";
|
|
6833
6834
|
schemaVersion: "typestyle.agent.v2";
|
|
6834
6835
|
summary: string;
|
|
6835
6836
|
verdict: {
|
|
@@ -6837,7 +6838,6 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6837
6838
|
exitCode: 0;
|
|
6838
6839
|
gatingFindingCount: number;
|
|
6839
6840
|
};
|
|
6840
|
-
status: "indeterminate";
|
|
6841
6841
|
passed: true;
|
|
6842
6842
|
reasons: ["zero_rules_loaded"];
|
|
6843
6843
|
integrity: {
|