@wispbit/local 1.0.26 → 1.0.28
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 +537 -396
- package/dist/cli.js.map +4 -4
- package/dist/package.json +2 -1
- 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 +4 -200
- 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 +0 -4
- package/dist/src/steps/FileExecutionContext.d.ts.map +1 -1
- package/dist/src/steps/FileFilterStep.d.ts +0 -4
- package/dist/src/steps/FileFilterStep.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.map +1 -1
- package/dist/src/test/TestExecutor.d.ts +2 -2
- package/dist/src/test/TestExecutor.d.ts.map +1 -1
- package/dist/src/utils/formatters.d.ts +2 -2
- package/dist/src/utils/formatters.d.ts.map +1 -1
- 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 +3 -2
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wispbit/local",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"bin": {
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"openai": "4.91.0",
|
|
63
63
|
"ora": "^9.0.0",
|
|
64
64
|
"p-limit": "^6.1.0",
|
|
65
|
+
"p-retry": "^6.2.1",
|
|
65
66
|
"pretty-format": "^30.2.0",
|
|
66
67
|
"semver": "^7.7.3",
|
|
67
68
|
"tree-sitter-graphql": "github:joowani/tree-sitter-graphql#c3898a14e872a72726a3e981e647e5456812bd78",
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { ValidateViolationResponseSchema } from "powerlint/validationSchemas";
|
|
3
|
+
/**
|
|
4
|
+
* Request/Response schemas for Wispbit API endpoints
|
|
5
|
+
*/
|
|
6
|
+
export declare const InitializeRequestSchema: z.ZodObject<{
|
|
7
|
+
repository_url: z.ZodString;
|
|
8
|
+
powerlint_version: z.ZodString;
|
|
9
|
+
schema_version: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
repository_url: string;
|
|
12
|
+
powerlint_version: string;
|
|
13
|
+
schema_version: string;
|
|
14
|
+
}, {
|
|
15
|
+
repository_url: string;
|
|
16
|
+
powerlint_version: string;
|
|
17
|
+
schema_version: string;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const InitializeResponseSchema: z.ZodObject<{
|
|
20
|
+
configured: z.ZodBoolean;
|
|
21
|
+
invalid_api_key: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
is_valid_repository: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
ignored_globs: z.ZodArray<z.ZodString, "many">;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
ignored_globs: string[];
|
|
27
|
+
}, {
|
|
28
|
+
ignored_globs: string[];
|
|
29
|
+
}>>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
configured: boolean;
|
|
32
|
+
invalid_api_key?: boolean | undefined;
|
|
33
|
+
is_valid_repository?: boolean | undefined;
|
|
34
|
+
config?: {
|
|
35
|
+
ignored_globs: string[];
|
|
36
|
+
} | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
configured: boolean;
|
|
39
|
+
invalid_api_key?: boolean | undefined;
|
|
40
|
+
is_valid_repository?: boolean | undefined;
|
|
41
|
+
config?: {
|
|
42
|
+
ignored_globs: string[];
|
|
43
|
+
} | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
export type InitializeRequest = z.infer<typeof InitializeRequestSchema>;
|
|
46
|
+
export type InitializeResponse = z.infer<typeof InitializeResponseSchema>;
|
|
47
|
+
export declare const GetRulesRequestSchema: z.ZodObject<{
|
|
48
|
+
repository_url: z.ZodString;
|
|
49
|
+
rule_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
50
|
+
schema_version: z.ZodString;
|
|
51
|
+
powerlint_version: z.ZodString;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
repository_url: string;
|
|
54
|
+
powerlint_version: string;
|
|
55
|
+
schema_version: string;
|
|
56
|
+
rule_ids?: string[] | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
repository_url: string;
|
|
59
|
+
powerlint_version: string;
|
|
60
|
+
schema_version: string;
|
|
61
|
+
rule_ids?: string[] | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
export declare const GetRulesResponseSchema: z.ZodObject<{
|
|
64
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
internalId: z.ZodString;
|
|
67
|
+
internalVersionId: z.ZodString;
|
|
68
|
+
message: z.ZodString;
|
|
69
|
+
prompt: z.ZodString;
|
|
70
|
+
severity: z.ZodEnum<["suggestion", "violation"]>;
|
|
71
|
+
schema: z.ZodAny;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
message: string;
|
|
74
|
+
id: string;
|
|
75
|
+
internalId: string;
|
|
76
|
+
internalVersionId: string;
|
|
77
|
+
prompt: string;
|
|
78
|
+
severity: "suggestion" | "violation";
|
|
79
|
+
schema?: any;
|
|
80
|
+
}, {
|
|
81
|
+
message: string;
|
|
82
|
+
id: string;
|
|
83
|
+
internalId: string;
|
|
84
|
+
internalVersionId: string;
|
|
85
|
+
prompt: string;
|
|
86
|
+
severity: "suggestion" | "violation";
|
|
87
|
+
schema?: any;
|
|
88
|
+
}>, "many">;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
rules: {
|
|
91
|
+
message: string;
|
|
92
|
+
id: string;
|
|
93
|
+
internalId: string;
|
|
94
|
+
internalVersionId: string;
|
|
95
|
+
prompt: string;
|
|
96
|
+
severity: "suggestion" | "violation";
|
|
97
|
+
schema?: any;
|
|
98
|
+
}[];
|
|
99
|
+
}, {
|
|
100
|
+
rules: {
|
|
101
|
+
message: string;
|
|
102
|
+
id: string;
|
|
103
|
+
internalId: string;
|
|
104
|
+
internalVersionId: string;
|
|
105
|
+
prompt: string;
|
|
106
|
+
severity: "suggestion" | "violation";
|
|
107
|
+
schema?: any;
|
|
108
|
+
}[];
|
|
109
|
+
}>;
|
|
110
|
+
export type GetRulesRequest = z.infer<typeof GetRulesRequestSchema>;
|
|
111
|
+
export type GetRulesResponse = z.infer<typeof GetRulesResponseSchema>;
|
|
112
|
+
export declare const ValidateViolationRequestSchema: z.ZodObject<{
|
|
113
|
+
rule: z.ZodObject<{
|
|
114
|
+
internalId: z.ZodString;
|
|
115
|
+
internalVersionId: z.ZodString;
|
|
116
|
+
contents: z.ZodString;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
internalId: string;
|
|
119
|
+
internalVersionId: string;
|
|
120
|
+
contents: string;
|
|
121
|
+
}, {
|
|
122
|
+
internalId: string;
|
|
123
|
+
internalVersionId: string;
|
|
124
|
+
contents: string;
|
|
125
|
+
}>;
|
|
126
|
+
matches: z.ZodArray<z.ZodAny, "many">;
|
|
127
|
+
powerlint_version: z.ZodString;
|
|
128
|
+
schema_version: z.ZodString;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
powerlint_version: string;
|
|
131
|
+
schema_version: string;
|
|
132
|
+
rule: {
|
|
133
|
+
internalId: string;
|
|
134
|
+
internalVersionId: string;
|
|
135
|
+
contents: string;
|
|
136
|
+
};
|
|
137
|
+
matches: any[];
|
|
138
|
+
}, {
|
|
139
|
+
powerlint_version: string;
|
|
140
|
+
schema_version: string;
|
|
141
|
+
rule: {
|
|
142
|
+
internalId: string;
|
|
143
|
+
internalVersionId: string;
|
|
144
|
+
contents: string;
|
|
145
|
+
};
|
|
146
|
+
matches: any[];
|
|
147
|
+
}>;
|
|
148
|
+
export type ValidateViolationRequest = z.infer<typeof ValidateViolationRequestSchema>;
|
|
149
|
+
export type ValidateViolationResponse = z.infer<typeof ValidateViolationResponseSchema>;
|
|
150
|
+
/**
|
|
151
|
+
* Configuration for the Wispbit API client
|
|
152
|
+
*/
|
|
153
|
+
export interface WispbitApiClientConfig {
|
|
154
|
+
baseUrl: string;
|
|
155
|
+
apiKey: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Unified API client for all Wispbit API calls with automatic retry logic
|
|
159
|
+
*/
|
|
160
|
+
export declare class WispbitApiClient {
|
|
161
|
+
private baseUrl;
|
|
162
|
+
private apiKey;
|
|
163
|
+
constructor(config: WispbitApiClientConfig);
|
|
164
|
+
/**
|
|
165
|
+
* Make a request to the Wispbit API with retry logic
|
|
166
|
+
*/
|
|
167
|
+
private request;
|
|
168
|
+
/**
|
|
169
|
+
* Initialize PowerLint configuration with Wispbit
|
|
170
|
+
*/
|
|
171
|
+
initialize(request: InitializeRequest): Promise<InitializeResponse>;
|
|
172
|
+
/**
|
|
173
|
+
* Get rules from Wispbit Cloud
|
|
174
|
+
*/
|
|
175
|
+
getRules(request: GetRulesRequest): Promise<GetRulesResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* Validate violations with Wispbit
|
|
178
|
+
*/
|
|
179
|
+
validateViolation(request: ValidateViolationRequest): Promise<ValidateViolationResponse>;
|
|
180
|
+
/**
|
|
181
|
+
* Validate violations with Wispbit (internal endpoint for testing)
|
|
182
|
+
*/
|
|
183
|
+
validateViolationInternal(request: ValidateViolationRequest): Promise<ValidateViolationResponse>;
|
|
184
|
+
}
|
|
185
|
+
//# sourceMappingURL=WispbitApiClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WispbitApiClient.d.ts","sourceRoot":"","sources":["../../../src/api/WispbitApiClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAA;AAE7E;;GAEG;AAGH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAIlC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;EASnC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AACvE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAGzE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYjC,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AACnE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAGrE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASzC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACrF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAEvF;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,MAAM,CAAQ;gBAEV,MAAM,EAAE,sBAAsB;IAK1C;;OAEG;YACW,OAAO;IAiDrB;;OAEG;IACG,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAKzE;;OAEG;IACG,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAKnE;;OAEG;IACG,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAS9F;;OAEG;IACG,yBAAyB,CAC7B,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,yBAAyB,CAAC;CAQtC"}
|
package/dist/src/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";AAkBA,OAAO,EAAE,KAAK,EAAgC,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";AAkBA,OAAO,EAAE,KAAK,EAAgC,MAAM,iBAAiB,CAAA;AAgIrE;;GAEG;AACH,wBAAsB,eAAe,kBAcpC;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,WAAW,GAAG,YAAY,CAAA;IACpC,OAAO,EAAE,KAAK,EAAE,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { WispbitApiClient } from "powerlint/api/WispbitApiClient";
|
|
1
2
|
import { PowerLintConfig } from "powerlint/config";
|
|
2
3
|
import { Environment } from "powerlint/environment/Environment";
|
|
3
4
|
export interface InitializeResult {
|
|
@@ -12,7 +13,11 @@ export declare class Config {
|
|
|
12
13
|
private config;
|
|
13
14
|
private apiKey;
|
|
14
15
|
private baseUrl;
|
|
15
|
-
|
|
16
|
+
private apiClient;
|
|
17
|
+
private useInternalEndpoint;
|
|
18
|
+
constructor(config: Partial<PowerLintConfig>, options?: {
|
|
19
|
+
useInternalEndpoint?: boolean;
|
|
20
|
+
});
|
|
16
21
|
getIgnoredGlobs(): string[];
|
|
17
22
|
/**
|
|
18
23
|
* Get the Wispbit API key
|
|
@@ -24,6 +29,11 @@ export declare class Config {
|
|
|
24
29
|
* @returns The base URL
|
|
25
30
|
*/
|
|
26
31
|
getBaseUrl(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Get the Wispbit API client
|
|
34
|
+
* @returns The API client instance
|
|
35
|
+
*/
|
|
36
|
+
getApiClient(): WispbitApiClient;
|
|
27
37
|
/**
|
|
28
38
|
* Get the local PowerLint version
|
|
29
39
|
* @returns The current PowerLint version
|
|
@@ -34,10 +44,6 @@ export declare class Config {
|
|
|
34
44
|
* @returns The schema version
|
|
35
45
|
*/
|
|
36
46
|
getSchemaVersion(): string;
|
|
37
|
-
/**
|
|
38
|
-
* Validate API key with Wispbit API
|
|
39
|
-
*/
|
|
40
|
-
private static validateApiKey;
|
|
41
47
|
/**
|
|
42
48
|
* Initialize configuration without network validation (for testing)
|
|
43
49
|
* @param options Optional configuration options
|
|
@@ -65,5 +71,9 @@ export declare class Config {
|
|
|
65
71
|
* Check if PowerLint is configured (has valid API key)
|
|
66
72
|
*/
|
|
67
73
|
isConfigured(): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Check if the internal validation endpoint should be used
|
|
76
|
+
*/
|
|
77
|
+
shouldUseInternalEndpoint(): boolean;
|
|
68
78
|
}
|
|
69
79
|
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/environment/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAG/D,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,MAAM,CAAC,EAAE;QACP,aAAa,EAAE,MAAM,EAAE,CAAA;KACxB,CAAA;CACF;AAED,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,MAAM,CAAsB;IACpC,OAAO,CAAC,OAAO,CAAsB;
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/environment/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAG/D,MAAM,W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IACH,yBAAyB,IAAI,OAAO;CAGrC"}
|
|
@@ -8,7 +8,7 @@ export interface ViolationValidationProvider {
|
|
|
8
8
|
* @param params Validation parameters
|
|
9
9
|
* @returns Promise that resolves to validation results
|
|
10
10
|
*/
|
|
11
|
-
validateViolations(params: ViolationValidationParams): Promise<
|
|
11
|
+
validateViolations(params: ViolationValidationParams): Promise<ViolationValidationResponse>;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Parameters for violation validation
|
|
@@ -20,17 +20,13 @@ export interface ViolationValidationParams {
|
|
|
20
20
|
matches: Match[];
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Response from violation validation
|
|
24
24
|
*/
|
|
25
|
-
export interface
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
/** Explanation of the validation decision */
|
|
31
|
-
reason: string;
|
|
32
|
-
/** Confidence score (0-1) */
|
|
33
|
-
confidence: number;
|
|
25
|
+
export interface ViolationValidationResponse {
|
|
26
|
+
/** Matches that are valid violations */
|
|
27
|
+
validMatches: Match[];
|
|
28
|
+
/** Matches that are not violations */
|
|
29
|
+
skippedMatches: Match[];
|
|
34
30
|
}
|
|
35
31
|
/**
|
|
36
32
|
* Configuration interface for violation validation providers
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViolationValidationProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/ViolationValidationProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAElD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,kBAAkB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"ViolationValidationProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/ViolationValidationProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAElD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,kBAAkB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;CAC5F;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,uCAAuC;IACvC,IAAI,EAAE,IAAI,CAAA;IACV,8BAA8B;IAC9B,OAAO,EAAE,KAAK,EAAE,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,wCAAwC;IACxC,YAAY,EAAE,KAAK,EAAE,CAAA;IACrB,sCAAsC;IACtC,cAAc,EAAE,KAAK,EAAE,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB"}
|
|
@@ -9,10 +9,6 @@ export declare class WispbitRuleProvider implements RuleProvider {
|
|
|
9
9
|
private config;
|
|
10
10
|
private environment;
|
|
11
11
|
constructor(config: Config, environment: Environment);
|
|
12
|
-
/**
|
|
13
|
-
* Make a request to the Wispbit API
|
|
14
|
-
*/
|
|
15
|
-
private makeApiRequest;
|
|
16
12
|
/**
|
|
17
13
|
* Get the repository URL for API requests
|
|
18
14
|
*/
|
|
@@ -29,17 +25,5 @@ export declare class WispbitRuleProvider implements RuleProvider {
|
|
|
29
25
|
* Fetch rules from Wispbit Cloud API
|
|
30
26
|
*/
|
|
31
27
|
private fetchRules;
|
|
32
|
-
/**
|
|
33
|
-
* Create a new rule in Wispbit Cloud
|
|
34
|
-
*/
|
|
35
|
-
createRule(_rule: Rule): Promise<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Update an existing rule in Wispbit Cloud
|
|
38
|
-
*/
|
|
39
|
-
updateRule(_ruleId: string, _rule: Rule): Promise<void>;
|
|
40
|
-
/**
|
|
41
|
-
* Delete a rule from Wispbit Cloud
|
|
42
|
-
*/
|
|
43
|
-
deleteRule(_ruleId: string): Promise<void>;
|
|
44
28
|
}
|
|
45
29
|
//# sourceMappingURL=WispbitRuleProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WispbitRuleProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/WispbitRuleProvider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WispbitRuleProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/WispbitRuleProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE3C;;GAEG;AACH,qBAAa,mBAAoB,YAAW,YAAY;IACtD,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,WAAW,CAAa;gBAEpB,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW;IAKpD;;OAEG;YACW,gBAAgB;IAU9B;;OAEG;IACG,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQjD;;OAEG;IACG,YAAY,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAIrC;;OAEG;YACW,UAAU;CAuBzB"}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import type { Config } from "powerlint/environment/Config";
|
|
2
|
-
import type { ViolationValidationProvider, ViolationValidationParams,
|
|
2
|
+
import type { ViolationValidationProvider, ViolationValidationParams, ViolationValidationResponse } from "powerlint/providers/ViolationValidationProvider";
|
|
3
3
|
/**
|
|
4
4
|
* Violation validation provider that uses Wispbit's specialized validation endpoint
|
|
5
5
|
*/
|
|
6
6
|
export declare class WispbitViolationValidationProvider implements ViolationValidationProvider {
|
|
7
7
|
private config;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
* Generate a unique ID for a single match
|
|
12
|
-
*/
|
|
13
|
-
private generateMatchId;
|
|
8
|
+
private useInternalEndpoint;
|
|
9
|
+
constructor(config: Config, useInternalEndpoint?: boolean);
|
|
10
|
+
validateViolations(params: ViolationValidationParams): Promise<ViolationValidationResponse>;
|
|
14
11
|
}
|
|
15
12
|
//# sourceMappingURL=WispbitViolationValidationProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WispbitViolationValidationProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/WispbitViolationValidationProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,KAAK,EACV,2BAA2B,EAC3B,yBAAyB,EACzB,
|
|
1
|
+
{"version":3,"file":"WispbitViolationValidationProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/WispbitViolationValidationProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,KAAK,EACV,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,iDAAiD,CAAA;AAExD;;GAEG;AACH,qBAAa,kCAAmC,YAAW,2BAA2B;IACpF,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,mBAAmB,CAAS;gBAExB,MAAM,EAAE,MAAM,EAAE,mBAAmB,GAAE,OAAe;IAK1D,kBAAkB,CACtB,MAAM,EAAE,yBAAyB,GAChC,OAAO,CAAC,2BAA2B,CAAC;CAyBxC"}
|
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
|
};
|
|
@@ -1207,202 +1207,6 @@ export declare const StepGroupStepSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1207
1207
|
})[];
|
|
1208
1208
|
}>>;
|
|
1209
1209
|
export declare const RuleStepSchema: z.ZodType<any>;
|
|
1210
|
-
export declare const MatchRangeSchema: z.ZodObject<{
|
|
1211
|
-
start: z.ZodObject<{
|
|
1212
|
-
line: z.ZodNumber;
|
|
1213
|
-
column: z.ZodNumber;
|
|
1214
|
-
}, "strip", z.ZodTypeAny, {
|
|
1215
|
-
line: number;
|
|
1216
|
-
column: number;
|
|
1217
|
-
}, {
|
|
1218
|
-
line: number;
|
|
1219
|
-
column: number;
|
|
1220
|
-
}>;
|
|
1221
|
-
end: z.ZodObject<{
|
|
1222
|
-
line: z.ZodNumber;
|
|
1223
|
-
column: z.ZodNumber;
|
|
1224
|
-
}, "strip", z.ZodTypeAny, {
|
|
1225
|
-
line: number;
|
|
1226
|
-
column: number;
|
|
1227
|
-
}, {
|
|
1228
|
-
line: number;
|
|
1229
|
-
column: number;
|
|
1230
|
-
}>;
|
|
1231
|
-
}, "strip", z.ZodTypeAny, {
|
|
1232
|
-
end: {
|
|
1233
|
-
line: number;
|
|
1234
|
-
column: number;
|
|
1235
|
-
};
|
|
1236
|
-
start: {
|
|
1237
|
-
line: number;
|
|
1238
|
-
column: number;
|
|
1239
|
-
};
|
|
1240
|
-
}, {
|
|
1241
|
-
end: {
|
|
1242
|
-
line: number;
|
|
1243
|
-
column: number;
|
|
1244
|
-
};
|
|
1245
|
-
start: {
|
|
1246
|
-
line: number;
|
|
1247
|
-
column: number;
|
|
1248
|
-
};
|
|
1249
|
-
}>;
|
|
1250
|
-
export declare const MatchSourceSchema: z.ZodType<any>;
|
|
1251
|
-
export declare const MatchMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
1252
|
-
fromCache: z.ZodOptional<z.ZodBoolean>;
|
|
1253
|
-
llmValidation: z.ZodOptional<z.ZodObject<{
|
|
1254
|
-
isViolation: z.ZodBoolean;
|
|
1255
|
-
confidence: z.ZodNumber;
|
|
1256
|
-
reason: z.ZodString;
|
|
1257
|
-
}, "strip", z.ZodTypeAny, {
|
|
1258
|
-
isViolation: boolean;
|
|
1259
|
-
confidence: number;
|
|
1260
|
-
reason: string;
|
|
1261
|
-
}, {
|
|
1262
|
-
isViolation: boolean;
|
|
1263
|
-
confidence: number;
|
|
1264
|
-
reason: string;
|
|
1265
|
-
}>>;
|
|
1266
|
-
}, "strip", z.ZodTypeAny, {
|
|
1267
|
-
fromCache?: boolean | undefined;
|
|
1268
|
-
llmValidation?: {
|
|
1269
|
-
isViolation: boolean;
|
|
1270
|
-
confidence: number;
|
|
1271
|
-
reason: string;
|
|
1272
|
-
} | undefined;
|
|
1273
|
-
}, {
|
|
1274
|
-
fromCache?: boolean | undefined;
|
|
1275
|
-
llmValidation?: {
|
|
1276
|
-
isViolation: boolean;
|
|
1277
|
-
confidence: number;
|
|
1278
|
-
reason: string;
|
|
1279
|
-
} | undefined;
|
|
1280
|
-
}>>;
|
|
1281
|
-
export declare const MatchSchema: z.ZodObject<{
|
|
1282
|
-
filePath: z.ZodString;
|
|
1283
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1284
|
-
range: z.ZodObject<{
|
|
1285
|
-
start: z.ZodObject<{
|
|
1286
|
-
line: z.ZodNumber;
|
|
1287
|
-
column: z.ZodNumber;
|
|
1288
|
-
}, "strip", z.ZodTypeAny, {
|
|
1289
|
-
line: number;
|
|
1290
|
-
column: number;
|
|
1291
|
-
}, {
|
|
1292
|
-
line: number;
|
|
1293
|
-
column: number;
|
|
1294
|
-
}>;
|
|
1295
|
-
end: z.ZodObject<{
|
|
1296
|
-
line: z.ZodNumber;
|
|
1297
|
-
column: z.ZodNumber;
|
|
1298
|
-
}, "strip", z.ZodTypeAny, {
|
|
1299
|
-
line: number;
|
|
1300
|
-
column: number;
|
|
1301
|
-
}, {
|
|
1302
|
-
line: number;
|
|
1303
|
-
column: number;
|
|
1304
|
-
}>;
|
|
1305
|
-
}, "strip", z.ZodTypeAny, {
|
|
1306
|
-
end: {
|
|
1307
|
-
line: number;
|
|
1308
|
-
column: number;
|
|
1309
|
-
};
|
|
1310
|
-
start: {
|
|
1311
|
-
line: number;
|
|
1312
|
-
column: number;
|
|
1313
|
-
};
|
|
1314
|
-
}, {
|
|
1315
|
-
end: {
|
|
1316
|
-
line: number;
|
|
1317
|
-
column: number;
|
|
1318
|
-
};
|
|
1319
|
-
start: {
|
|
1320
|
-
line: number;
|
|
1321
|
-
column: number;
|
|
1322
|
-
};
|
|
1323
|
-
}>;
|
|
1324
|
-
symbol: z.ZodOptional<z.ZodString>;
|
|
1325
|
-
language: z.ZodNativeEnum<typeof Language>;
|
|
1326
|
-
source: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
1327
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
1328
|
-
fromCache: z.ZodOptional<z.ZodBoolean>;
|
|
1329
|
-
llmValidation: z.ZodOptional<z.ZodObject<{
|
|
1330
|
-
isViolation: z.ZodBoolean;
|
|
1331
|
-
confidence: z.ZodNumber;
|
|
1332
|
-
reason: z.ZodString;
|
|
1333
|
-
}, "strip", z.ZodTypeAny, {
|
|
1334
|
-
isViolation: boolean;
|
|
1335
|
-
confidence: number;
|
|
1336
|
-
reason: string;
|
|
1337
|
-
}, {
|
|
1338
|
-
isViolation: boolean;
|
|
1339
|
-
confidence: number;
|
|
1340
|
-
reason: string;
|
|
1341
|
-
}>>;
|
|
1342
|
-
}, "strip", z.ZodTypeAny, {
|
|
1343
|
-
fromCache?: boolean | undefined;
|
|
1344
|
-
llmValidation?: {
|
|
1345
|
-
isViolation: boolean;
|
|
1346
|
-
confidence: number;
|
|
1347
|
-
reason: string;
|
|
1348
|
-
} | undefined;
|
|
1349
|
-
}, {
|
|
1350
|
-
fromCache?: boolean | undefined;
|
|
1351
|
-
llmValidation?: {
|
|
1352
|
-
isViolation: boolean;
|
|
1353
|
-
confidence: number;
|
|
1354
|
-
reason: string;
|
|
1355
|
-
} | undefined;
|
|
1356
|
-
}>>;
|
|
1357
|
-
}, "strip", z.ZodTypeAny, {
|
|
1358
|
-
language: Language;
|
|
1359
|
-
filePath: string;
|
|
1360
|
-
range: {
|
|
1361
|
-
end: {
|
|
1362
|
-
line: number;
|
|
1363
|
-
column: number;
|
|
1364
|
-
};
|
|
1365
|
-
start: {
|
|
1366
|
-
line: number;
|
|
1367
|
-
column: number;
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
symbol?: string | undefined;
|
|
1371
|
-
text?: string | undefined;
|
|
1372
|
-
metadata?: {
|
|
1373
|
-
fromCache?: boolean | undefined;
|
|
1374
|
-
llmValidation?: {
|
|
1375
|
-
isViolation: boolean;
|
|
1376
|
-
confidence: number;
|
|
1377
|
-
reason: string;
|
|
1378
|
-
} | undefined;
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
source?: any[] | undefined;
|
|
1381
|
-
}, {
|
|
1382
|
-
language: Language;
|
|
1383
|
-
filePath: string;
|
|
1384
|
-
range: {
|
|
1385
|
-
end: {
|
|
1386
|
-
line: number;
|
|
1387
|
-
column: number;
|
|
1388
|
-
};
|
|
1389
|
-
start: {
|
|
1390
|
-
line: number;
|
|
1391
|
-
column: number;
|
|
1392
|
-
};
|
|
1393
|
-
};
|
|
1394
|
-
symbol?: string | undefined;
|
|
1395
|
-
text?: string | undefined;
|
|
1396
|
-
metadata?: {
|
|
1397
|
-
fromCache?: boolean | undefined;
|
|
1398
|
-
llmValidation?: {
|
|
1399
|
-
isViolation: boolean;
|
|
1400
|
-
confidence: number;
|
|
1401
|
-
reason: string;
|
|
1402
|
-
} | undefined;
|
|
1403
|
-
} | undefined;
|
|
1404
|
-
source?: any[] | undefined;
|
|
1405
|
-
}>;
|
|
1406
1210
|
export declare const GenerateRuleSchema: z.ZodObject<{
|
|
1407
1211
|
reason: z.ZodString;
|
|
1408
1212
|
steps: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/schemas.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAG9C,eAAO,MAAM,mBAAmB;;;;;;;;;EAM9B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAA;AAGF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAU9B,CAAA;AAGF,eAAO,MAAM,cAAc;;;;;;;;;;;;IAWzB,CAAA;AAGF,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAgF5C,CAAA;AAGD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAoB9B,CAAA;AAGF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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