@task-shepherd/agent 1.0.6 → 1.0.8
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/index.js +1054 -86
- package/dist/index.js +1 -1
- package/dist/meta.json +358 -67
- package/package.json +2 -2
- package/shared/dist/index.d.ts +15 -0
- package/shared/dist/index.js +12 -0
- package/shared/dist/mcp-client/client.d.ts +18 -0
- package/shared/dist/mcp-client/client.js +49 -0
- package/shared/dist/mcp-client/index.d.ts +7 -0
- package/shared/dist/mcp-client/index.js +7 -0
- package/shared/dist/mcp-client/types.d.ts +822 -0
- package/shared/dist/mcp-client/types.js +193 -0
- package/shared/dist/schema/index.d.ts +189 -0
- package/shared/dist/schema/index.js +142 -0
- package/shared/dist/schema/mcp-mappings.d.ts +50 -0
- package/shared/dist/schema/mcp-mappings.js +563 -0
- package/shared/dist/schema/validation.d.ts +91 -0
- package/shared/dist/schema/validation.js +282 -0
- package/shared/dist/work-queue/index.d.ts +7 -0
- package/shared/dist/work-queue/index.js +7 -0
- package/shared/dist/work-queue/types.d.ts +147 -0
- package/shared/dist/work-queue/types.js +4 -0
- package/shared/dist/work-queue/validation.d.ts +24 -0
- package/shared/dist/work-queue/validation.js +160 -0
- package/shared/dist/workspace/constants.d.ts +148 -0
- package/shared/dist/workspace/constants.js +432 -0
- package/shared/dist/workspace/index.d.ts +10 -0
- package/shared/dist/workspace/index.js +10 -0
- package/shared/dist/workspace/types.d.ts +477 -0
- package/shared/dist/workspace/types.js +9 -0
- package/shared/dist/workspace/utils.d.ts +79 -0
- package/shared/dist/workspace/utils.js +334 -0
- package/shared/dist/workspace/validation.d.ts +1312 -0
- package/shared/dist/workspace/validation.js +467 -0
- package/shared/graphql/generated-internal.ts +3629 -0
- package/shared/graphql/generated-public.ts +773 -0
- package/shared/graphql/generated.d.ts +7456 -0
- package/shared/graphql/generated.js +11799 -0
- package/shared/graphql/generated.ts +27569 -0
- package/shared/graphql/generated.ts.backup +16531 -0
- package/shared/graphql/generated.ts.working +4828 -0
- package/shared/graphql/introspection-internal.json +15845 -0
- package/shared/graphql/introspection-public.json +9658 -0
- package/shared/graphql/introspection.json +44263 -0
- package/shared/graphql/operations/ai-service.graphql +131 -0
- package/shared/graphql/operations/ai-work-queue.graphql +31 -0
- package/shared/graphql/operations/analytics.graphql +283 -0
- package/shared/graphql/operations/analytics.ts +3 -0
- package/shared/graphql/operations/api-keys.graphql +126 -0
- package/shared/graphql/operations/attachments.graphql +53 -0
- package/shared/graphql/operations/attachments.ts +39 -0
- package/shared/graphql/operations/audit.graphql +46 -0
- package/shared/graphql/operations/auth.graphql +83 -0
- package/shared/graphql/operations/claude-usage.graphql +178 -0
- package/shared/graphql/operations/comments.graphql +4 -0
- package/shared/graphql/operations/dashboard.graphql +29 -0
- package/shared/graphql/operations/development-plans.graphql +408 -0
- package/shared/graphql/operations/early-access.graphql.disabled +21 -0
- package/shared/graphql/operations/errors.graphql.disabled +83 -0
- package/shared/graphql/operations/internal-api.graphql +931 -0
- package/shared/graphql/operations/notifications.graphql +4 -0
- package/shared/graphql/operations/organization-invites.graphql.disabled +32 -0
- package/shared/graphql/operations/performance.graphql +4 -0
- package/shared/graphql/operations/project-reviews.graphql +610 -0
- package/shared/graphql/operations/projects.graphql +98 -0
- package/shared/graphql/operations/settings.graphql +4 -0
- package/shared/graphql/operations/stories.graphql +113 -0
- package/shared/graphql/operations/subscriptions.graphql +235 -0
- package/shared/graphql/operations/subscriptions.graphql.disabled +96 -0
- package/shared/graphql/operations/tasks.graphql +257 -0
- package/shared/graphql/operations/team.graphql +111 -0
- package/shared/graphql/operations/team.ts +226 -0
- package/shared/graphql/operations/time-tracking.graphql.disabled +96 -0
- package/shared/graphql/operations/work-queue.graphql +210 -0
- package/shared/graphql/operations/work-queue.graphql.disabled +474 -0
- package/shared/graphql/operations/workspace.graphql +146 -0
- package/shared/graphql/schema-internal.graphql +1085 -0
- package/shared/graphql/schema-public.graphql +709 -0
- package/shared/graphql/schema.graphql +3473 -0
- package/shared/package.json +23 -0
|
@@ -0,0 +1,1312 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod Validation Schemas for Workspace Configuration
|
|
3
|
+
*
|
|
4
|
+
* Provides runtime type safety and validation for all workspace configuration types.
|
|
5
|
+
*/
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
/**
|
|
8
|
+
* Base validation schemas
|
|
9
|
+
*/
|
|
10
|
+
export declare const WorkspacePatternSchema: z.ZodEnum<{
|
|
11
|
+
monorepo: "monorepo";
|
|
12
|
+
"multi-repo": "multi-repo";
|
|
13
|
+
hybrid: "hybrid";
|
|
14
|
+
}>;
|
|
15
|
+
export declare const ServiceTechnologySchema: z.ZodEnum<{
|
|
16
|
+
nodejs: "nodejs";
|
|
17
|
+
python: "python";
|
|
18
|
+
go: "go";
|
|
19
|
+
rust: "rust";
|
|
20
|
+
java: "java";
|
|
21
|
+
dotnet: "dotnet";
|
|
22
|
+
php: "php";
|
|
23
|
+
ruby: "ruby";
|
|
24
|
+
react: "react";
|
|
25
|
+
vue: "vue";
|
|
26
|
+
angular: "angular";
|
|
27
|
+
static: "static";
|
|
28
|
+
database: "database";
|
|
29
|
+
cache: "cache";
|
|
30
|
+
queue: "queue";
|
|
31
|
+
other: "other";
|
|
32
|
+
}>;
|
|
33
|
+
export declare const EnvironmentSchema: z.ZodEnum<{
|
|
34
|
+
development: "development";
|
|
35
|
+
staging: "staging";
|
|
36
|
+
production: "production";
|
|
37
|
+
test: "test";
|
|
38
|
+
}>;
|
|
39
|
+
export declare const ProtocolSchema: z.ZodEnum<{
|
|
40
|
+
http: "http";
|
|
41
|
+
https: "https";
|
|
42
|
+
ws: "ws";
|
|
43
|
+
wss: "wss";
|
|
44
|
+
tcp: "tcp";
|
|
45
|
+
udp: "udp";
|
|
46
|
+
grpc: "grpc";
|
|
47
|
+
postgresql: "postgresql";
|
|
48
|
+
redis: "redis";
|
|
49
|
+
mongodb: "mongodb";
|
|
50
|
+
}>;
|
|
51
|
+
export declare const AuthTypeSchema: z.ZodEnum<{
|
|
52
|
+
none: "none";
|
|
53
|
+
basic: "basic";
|
|
54
|
+
bearer: "bearer";
|
|
55
|
+
apikey: "apikey";
|
|
56
|
+
oauth2: "oauth2";
|
|
57
|
+
custom: "custom";
|
|
58
|
+
}>;
|
|
59
|
+
export declare const PackageManagerSchema: z.ZodEnum<{
|
|
60
|
+
npm: "npm";
|
|
61
|
+
yarn: "yarn";
|
|
62
|
+
pnpm: "pnpm";
|
|
63
|
+
pip: "pip";
|
|
64
|
+
"go mod": "go mod";
|
|
65
|
+
cargo: "cargo";
|
|
66
|
+
maven: "maven";
|
|
67
|
+
gradle: "gradle";
|
|
68
|
+
}>;
|
|
69
|
+
export declare const AIProviderSchema: z.ZodEnum<{
|
|
70
|
+
custom: "custom";
|
|
71
|
+
claude: "claude";
|
|
72
|
+
openai: "openai";
|
|
73
|
+
gemini: "gemini";
|
|
74
|
+
azure: "azure";
|
|
75
|
+
}>;
|
|
76
|
+
export declare const IsolationLevelSchema: z.ZodEnum<{
|
|
77
|
+
strict: "strict";
|
|
78
|
+
moderate: "moderate";
|
|
79
|
+
relaxed: "relaxed";
|
|
80
|
+
}>;
|
|
81
|
+
export declare const SeverityLevelSchema: z.ZodEnum<{
|
|
82
|
+
error: "error";
|
|
83
|
+
warning: "warning";
|
|
84
|
+
info: "info";
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* Service dependency validation schema
|
|
88
|
+
*/
|
|
89
|
+
export declare const ServiceDependencySchema: z.ZodObject<{
|
|
90
|
+
service: z.ZodString;
|
|
91
|
+
type: z.ZodEnum<{
|
|
92
|
+
required: "required";
|
|
93
|
+
optional: "optional";
|
|
94
|
+
development: "development";
|
|
95
|
+
}>;
|
|
96
|
+
version: z.ZodOptional<z.ZodString>;
|
|
97
|
+
description: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
/**
|
|
100
|
+
* Service authentication validation schema
|
|
101
|
+
*/
|
|
102
|
+
export declare const ServiceAuthenticationSchema: z.ZodObject<{
|
|
103
|
+
type: z.ZodEnum<{
|
|
104
|
+
none: "none";
|
|
105
|
+
basic: "basic";
|
|
106
|
+
bearer: "bearer";
|
|
107
|
+
apikey: "apikey";
|
|
108
|
+
oauth2: "oauth2";
|
|
109
|
+
custom: "custom";
|
|
110
|
+
}>;
|
|
111
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
112
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
/**
|
|
115
|
+
* Service endpoint validation schema
|
|
116
|
+
*/
|
|
117
|
+
export declare const ServiceEndpointSchema: z.ZodObject<{
|
|
118
|
+
id: z.ZodString;
|
|
119
|
+
name: z.ZodString;
|
|
120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
121
|
+
url: z.ZodString;
|
|
122
|
+
port: z.ZodNumber;
|
|
123
|
+
protocol: z.ZodEnum<{
|
|
124
|
+
http: "http";
|
|
125
|
+
https: "https";
|
|
126
|
+
ws: "ws";
|
|
127
|
+
wss: "wss";
|
|
128
|
+
tcp: "tcp";
|
|
129
|
+
udp: "udp";
|
|
130
|
+
grpc: "grpc";
|
|
131
|
+
postgresql: "postgresql";
|
|
132
|
+
redis: "redis";
|
|
133
|
+
mongodb: "mongodb";
|
|
134
|
+
}>;
|
|
135
|
+
technology: z.ZodEnum<{
|
|
136
|
+
nodejs: "nodejs";
|
|
137
|
+
python: "python";
|
|
138
|
+
go: "go";
|
|
139
|
+
rust: "rust";
|
|
140
|
+
java: "java";
|
|
141
|
+
dotnet: "dotnet";
|
|
142
|
+
php: "php";
|
|
143
|
+
ruby: "ruby";
|
|
144
|
+
react: "react";
|
|
145
|
+
vue: "vue";
|
|
146
|
+
angular: "angular";
|
|
147
|
+
static: "static";
|
|
148
|
+
database: "database";
|
|
149
|
+
cache: "cache";
|
|
150
|
+
queue: "queue";
|
|
151
|
+
other: "other";
|
|
152
|
+
}>;
|
|
153
|
+
environment: z.ZodEnum<{
|
|
154
|
+
development: "development";
|
|
155
|
+
staging: "staging";
|
|
156
|
+
production: "production";
|
|
157
|
+
test: "test";
|
|
158
|
+
}>;
|
|
159
|
+
healthCheck: z.ZodOptional<z.ZodString>;
|
|
160
|
+
version: z.ZodOptional<z.ZodString>;
|
|
161
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
162
|
+
service: z.ZodString;
|
|
163
|
+
type: z.ZodEnum<{
|
|
164
|
+
required: "required";
|
|
165
|
+
optional: "optional";
|
|
166
|
+
development: "development";
|
|
167
|
+
}>;
|
|
168
|
+
version: z.ZodOptional<z.ZodString>;
|
|
169
|
+
description: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strip>>>;
|
|
171
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
type: z.ZodEnum<{
|
|
173
|
+
none: "none";
|
|
174
|
+
basic: "basic";
|
|
175
|
+
bearer: "bearer";
|
|
176
|
+
apikey: "apikey";
|
|
177
|
+
oauth2: "oauth2";
|
|
178
|
+
custom: "custom";
|
|
179
|
+
}>;
|
|
180
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
181
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
182
|
+
}, z.core.$strip>>;
|
|
183
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
/**
|
|
186
|
+
* Repository configuration validation schema
|
|
187
|
+
*/
|
|
188
|
+
export declare const RepositoryConfigSchema: z.ZodObject<{
|
|
189
|
+
id: z.ZodString;
|
|
190
|
+
name: z.ZodString;
|
|
191
|
+
url: z.ZodString;
|
|
192
|
+
path: z.ZodString;
|
|
193
|
+
branch: z.ZodDefault<z.ZodString>;
|
|
194
|
+
type: z.ZodEnum<{
|
|
195
|
+
primary: "primary";
|
|
196
|
+
service: "service";
|
|
197
|
+
library: "library";
|
|
198
|
+
config: "config";
|
|
199
|
+
}>;
|
|
200
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
201
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
202
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
203
|
+
npm: "npm";
|
|
204
|
+
yarn: "yarn";
|
|
205
|
+
pnpm: "pnpm";
|
|
206
|
+
pip: "pip";
|
|
207
|
+
"go mod": "go mod";
|
|
208
|
+
cargo: "cargo";
|
|
209
|
+
maven: "maven";
|
|
210
|
+
gradle: "gradle";
|
|
211
|
+
}>>;
|
|
212
|
+
buildCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
213
|
+
testCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
214
|
+
lintCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
215
|
+
}, z.core.$strip>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
/**
|
|
218
|
+
* AI model configuration validation schema
|
|
219
|
+
*/
|
|
220
|
+
export declare const AIModelConfigSchema: z.ZodObject<{
|
|
221
|
+
provider: z.ZodEnum<{
|
|
222
|
+
custom: "custom";
|
|
223
|
+
claude: "claude";
|
|
224
|
+
openai: "openai";
|
|
225
|
+
gemini: "gemini";
|
|
226
|
+
azure: "azure";
|
|
227
|
+
}>;
|
|
228
|
+
model: z.ZodString;
|
|
229
|
+
apiKey: z.ZodString;
|
|
230
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
231
|
+
rateLimit: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
requestsPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
tokensPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
requestsPerDay: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
/**
|
|
238
|
+
* AI capabilities validation schema
|
|
239
|
+
*/
|
|
240
|
+
export declare const AICapabilitiesSchema: z.ZodObject<{
|
|
241
|
+
maxConcurrentOperations: z.ZodDefault<z.ZodNumber>;
|
|
242
|
+
supportedAnalysisTypes: z.ZodArray<z.ZodString>;
|
|
243
|
+
isolationLevel: z.ZodDefault<z.ZodEnum<{
|
|
244
|
+
strict: "strict";
|
|
245
|
+
moderate: "moderate";
|
|
246
|
+
relaxed: "relaxed";
|
|
247
|
+
}>>;
|
|
248
|
+
serviceCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
249
|
+
customCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
/**
|
|
252
|
+
* Workspace paths validation schema
|
|
253
|
+
*/
|
|
254
|
+
export declare const WorkspacePathsSchema: z.ZodObject<{
|
|
255
|
+
root: z.ZodDefault<z.ZodString>;
|
|
256
|
+
src: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
257
|
+
tests: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
258
|
+
docs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
259
|
+
config: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
260
|
+
build: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
261
|
+
temp: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
262
|
+
logs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
263
|
+
cache: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
264
|
+
assets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
265
|
+
excluded: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
266
|
+
servicePaths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
/**
|
|
269
|
+
* Security configuration validation schema
|
|
270
|
+
*/
|
|
271
|
+
export declare const SecurityConfigSchema: z.ZodObject<{
|
|
272
|
+
filePermissions: z.ZodObject<{
|
|
273
|
+
read: z.ZodDefault<z.ZodBoolean>;
|
|
274
|
+
write: z.ZodDefault<z.ZodBoolean>;
|
|
275
|
+
execute: z.ZodDefault<z.ZodBoolean>;
|
|
276
|
+
restricted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
277
|
+
readOnly: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
networkPermissions: z.ZodObject<{
|
|
280
|
+
http: z.ZodDefault<z.ZodBoolean>;
|
|
281
|
+
https: z.ZodDefault<z.ZodBoolean>;
|
|
282
|
+
allowedDomains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
283
|
+
blockedDomains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
284
|
+
allowedPorts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
apiAccess: z.ZodOptional<z.ZodObject<{
|
|
287
|
+
allowedEndpoints: z.ZodArray<z.ZodString>;
|
|
288
|
+
rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
289
|
+
}, z.core.$strip>>;
|
|
290
|
+
}, z.core.$strip>;
|
|
291
|
+
/**
|
|
292
|
+
* Development configuration validation schema
|
|
293
|
+
*/
|
|
294
|
+
export declare const DevelopmentConfigSchema: z.ZodObject<{
|
|
295
|
+
packageManager: z.ZodDefault<z.ZodEnum<{
|
|
296
|
+
npm: "npm";
|
|
297
|
+
yarn: "yarn";
|
|
298
|
+
pnpm: "pnpm";
|
|
299
|
+
pip: "pip";
|
|
300
|
+
"go mod": "go mod";
|
|
301
|
+
cargo: "cargo";
|
|
302
|
+
maven: "maven";
|
|
303
|
+
gradle: "gradle";
|
|
304
|
+
}>>;
|
|
305
|
+
runtimeVersions: z.ZodOptional<z.ZodObject<{
|
|
306
|
+
node: z.ZodOptional<z.ZodString>;
|
|
307
|
+
python: z.ZodOptional<z.ZodString>;
|
|
308
|
+
go: z.ZodOptional<z.ZodString>;
|
|
309
|
+
rust: z.ZodOptional<z.ZodString>;
|
|
310
|
+
java: z.ZodOptional<z.ZodString>;
|
|
311
|
+
dotnet: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
314
|
+
scripts: z.ZodOptional<z.ZodObject<{
|
|
315
|
+
start: z.ZodOptional<z.ZodString>;
|
|
316
|
+
build: z.ZodOptional<z.ZodString>;
|
|
317
|
+
test: z.ZodOptional<z.ZodString>;
|
|
318
|
+
lint: z.ZodOptional<z.ZodString>;
|
|
319
|
+
typeCheck: z.ZodOptional<z.ZodString>;
|
|
320
|
+
dbSetup: z.ZodOptional<z.ZodString>;
|
|
321
|
+
clean: z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
formatter: z.ZodOptional<z.ZodEnum<{
|
|
325
|
+
custom: "custom";
|
|
326
|
+
prettier: "prettier";
|
|
327
|
+
black: "black";
|
|
328
|
+
gofmt: "gofmt";
|
|
329
|
+
rustfmt: "rustfmt";
|
|
330
|
+
}>>;
|
|
331
|
+
linter: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
custom: "custom";
|
|
333
|
+
eslint: "eslint";
|
|
334
|
+
pylint: "pylint";
|
|
335
|
+
"golangci-lint": "golangci-lint";
|
|
336
|
+
clippy: "clippy";
|
|
337
|
+
}>>;
|
|
338
|
+
testFramework: z.ZodOptional<z.ZodEnum<{
|
|
339
|
+
custom: "custom";
|
|
340
|
+
jest: "jest";
|
|
341
|
+
vitest: "vitest";
|
|
342
|
+
pytest: "pytest";
|
|
343
|
+
"go test": "go test";
|
|
344
|
+
"cargo test": "cargo test";
|
|
345
|
+
}>>;
|
|
346
|
+
}, z.core.$strip>>;
|
|
347
|
+
}, z.core.$strip>;
|
|
348
|
+
/**
|
|
349
|
+
* Integrations configuration validation schema
|
|
350
|
+
*/
|
|
351
|
+
export declare const IntegrationsConfigSchema: z.ZodObject<{
|
|
352
|
+
tasqhub: z.ZodOptional<z.ZodObject<{
|
|
353
|
+
apiUrl: z.ZodString;
|
|
354
|
+
apiKey: z.ZodString;
|
|
355
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
356
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
357
|
+
}, z.core.$strip>>;
|
|
358
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
359
|
+
remotes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
360
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
361
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
preCommit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
363
|
+
postCommit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
364
|
+
prePush: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
365
|
+
postMerge: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
}, z.core.$strip>>;
|
|
368
|
+
cicd: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
provider: z.ZodEnum<{
|
|
370
|
+
custom: "custom";
|
|
371
|
+
"github-actions": "github-actions";
|
|
372
|
+
"gitlab-ci": "gitlab-ci";
|
|
373
|
+
jenkins: "jenkins";
|
|
374
|
+
"azure-devops": "azure-devops";
|
|
375
|
+
}>;
|
|
376
|
+
configPath: z.ZodOptional<z.ZodString>;
|
|
377
|
+
pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
containers: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
runtime: z.ZodEnum<{
|
|
381
|
+
docker: "docker";
|
|
382
|
+
podman: "podman";
|
|
383
|
+
containerd: "containerd";
|
|
384
|
+
}>;
|
|
385
|
+
registry: z.ZodOptional<z.ZodObject<{
|
|
386
|
+
url: z.ZodString;
|
|
387
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
composeFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
390
|
+
}, z.core.$strip>>;
|
|
391
|
+
cloud: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
provider: z.ZodEnum<{
|
|
393
|
+
custom: "custom";
|
|
394
|
+
azure: "azure";
|
|
395
|
+
aws: "aws";
|
|
396
|
+
gcp: "gcp";
|
|
397
|
+
}>;
|
|
398
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
399
|
+
}, z.core.$strip>>;
|
|
400
|
+
}, z.core.$strip>;
|
|
401
|
+
/**
|
|
402
|
+
* Workspace metadata validation schema
|
|
403
|
+
*/
|
|
404
|
+
export declare const WorkspaceMetadataSchema: z.ZodObject<{
|
|
405
|
+
id: z.ZodString;
|
|
406
|
+
name: z.ZodString;
|
|
407
|
+
description: z.ZodOptional<z.ZodString>;
|
|
408
|
+
pattern: z.ZodEnum<{
|
|
409
|
+
monorepo: "monorepo";
|
|
410
|
+
"multi-repo": "multi-repo";
|
|
411
|
+
hybrid: "hybrid";
|
|
412
|
+
}>;
|
|
413
|
+
version: z.ZodString;
|
|
414
|
+
createdAt: z.ZodString;
|
|
415
|
+
updatedAt: z.ZodString;
|
|
416
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
417
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
name: z.ZodString;
|
|
419
|
+
email: z.ZodString;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
|
+
team: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
422
|
+
name: z.ZodString;
|
|
423
|
+
email: z.ZodString;
|
|
424
|
+
role: z.ZodString;
|
|
425
|
+
}, z.core.$strip>>>;
|
|
426
|
+
}, z.core.$strip>;
|
|
427
|
+
/**
|
|
428
|
+
* Complete workspace configuration validation schema
|
|
429
|
+
*/
|
|
430
|
+
export declare const WorkspaceConfigSchema: z.ZodObject<{
|
|
431
|
+
workspace: z.ZodObject<{
|
|
432
|
+
id: z.ZodString;
|
|
433
|
+
name: z.ZodString;
|
|
434
|
+
description: z.ZodOptional<z.ZodString>;
|
|
435
|
+
pattern: z.ZodEnum<{
|
|
436
|
+
monorepo: "monorepo";
|
|
437
|
+
"multi-repo": "multi-repo";
|
|
438
|
+
hybrid: "hybrid";
|
|
439
|
+
}>;
|
|
440
|
+
version: z.ZodString;
|
|
441
|
+
createdAt: z.ZodString;
|
|
442
|
+
updatedAt: z.ZodString;
|
|
443
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
444
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
445
|
+
name: z.ZodString;
|
|
446
|
+
email: z.ZodString;
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
team: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
449
|
+
name: z.ZodString;
|
|
450
|
+
email: z.ZodString;
|
|
451
|
+
role: z.ZodString;
|
|
452
|
+
}, z.core.$strip>>>;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
services: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
455
|
+
id: z.ZodString;
|
|
456
|
+
name: z.ZodString;
|
|
457
|
+
description: z.ZodOptional<z.ZodString>;
|
|
458
|
+
url: z.ZodString;
|
|
459
|
+
port: z.ZodNumber;
|
|
460
|
+
protocol: z.ZodEnum<{
|
|
461
|
+
http: "http";
|
|
462
|
+
https: "https";
|
|
463
|
+
ws: "ws";
|
|
464
|
+
wss: "wss";
|
|
465
|
+
tcp: "tcp";
|
|
466
|
+
udp: "udp";
|
|
467
|
+
grpc: "grpc";
|
|
468
|
+
postgresql: "postgresql";
|
|
469
|
+
redis: "redis";
|
|
470
|
+
mongodb: "mongodb";
|
|
471
|
+
}>;
|
|
472
|
+
technology: z.ZodEnum<{
|
|
473
|
+
nodejs: "nodejs";
|
|
474
|
+
python: "python";
|
|
475
|
+
go: "go";
|
|
476
|
+
rust: "rust";
|
|
477
|
+
java: "java";
|
|
478
|
+
dotnet: "dotnet";
|
|
479
|
+
php: "php";
|
|
480
|
+
ruby: "ruby";
|
|
481
|
+
react: "react";
|
|
482
|
+
vue: "vue";
|
|
483
|
+
angular: "angular";
|
|
484
|
+
static: "static";
|
|
485
|
+
database: "database";
|
|
486
|
+
cache: "cache";
|
|
487
|
+
queue: "queue";
|
|
488
|
+
other: "other";
|
|
489
|
+
}>;
|
|
490
|
+
environment: z.ZodEnum<{
|
|
491
|
+
development: "development";
|
|
492
|
+
staging: "staging";
|
|
493
|
+
production: "production";
|
|
494
|
+
test: "test";
|
|
495
|
+
}>;
|
|
496
|
+
healthCheck: z.ZodOptional<z.ZodString>;
|
|
497
|
+
version: z.ZodOptional<z.ZodString>;
|
|
498
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
499
|
+
service: z.ZodString;
|
|
500
|
+
type: z.ZodEnum<{
|
|
501
|
+
required: "required";
|
|
502
|
+
optional: "optional";
|
|
503
|
+
development: "development";
|
|
504
|
+
}>;
|
|
505
|
+
version: z.ZodOptional<z.ZodString>;
|
|
506
|
+
description: z.ZodOptional<z.ZodString>;
|
|
507
|
+
}, z.core.$strip>>>;
|
|
508
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
509
|
+
type: z.ZodEnum<{
|
|
510
|
+
none: "none";
|
|
511
|
+
basic: "basic";
|
|
512
|
+
bearer: "bearer";
|
|
513
|
+
apikey: "apikey";
|
|
514
|
+
oauth2: "oauth2";
|
|
515
|
+
custom: "custom";
|
|
516
|
+
}>;
|
|
517
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
518
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
521
|
+
}, z.core.$strip>>;
|
|
522
|
+
repositories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
523
|
+
id: z.ZodString;
|
|
524
|
+
name: z.ZodString;
|
|
525
|
+
url: z.ZodString;
|
|
526
|
+
path: z.ZodString;
|
|
527
|
+
branch: z.ZodDefault<z.ZodString>;
|
|
528
|
+
type: z.ZodEnum<{
|
|
529
|
+
primary: "primary";
|
|
530
|
+
service: "service";
|
|
531
|
+
library: "library";
|
|
532
|
+
config: "config";
|
|
533
|
+
}>;
|
|
534
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
535
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
536
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
537
|
+
npm: "npm";
|
|
538
|
+
yarn: "yarn";
|
|
539
|
+
pnpm: "pnpm";
|
|
540
|
+
pip: "pip";
|
|
541
|
+
"go mod": "go mod";
|
|
542
|
+
cargo: "cargo";
|
|
543
|
+
maven: "maven";
|
|
544
|
+
gradle: "gradle";
|
|
545
|
+
}>>;
|
|
546
|
+
buildCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
547
|
+
testCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
548
|
+
lintCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
549
|
+
}, z.core.$strip>>;
|
|
550
|
+
}, z.core.$strip>>>;
|
|
551
|
+
ai: z.ZodObject<{
|
|
552
|
+
models: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
553
|
+
provider: z.ZodEnum<{
|
|
554
|
+
custom: "custom";
|
|
555
|
+
claude: "claude";
|
|
556
|
+
openai: "openai";
|
|
557
|
+
gemini: "gemini";
|
|
558
|
+
azure: "azure";
|
|
559
|
+
}>;
|
|
560
|
+
model: z.ZodString;
|
|
561
|
+
apiKey: z.ZodString;
|
|
562
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
563
|
+
rateLimit: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
requestsPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
565
|
+
tokensPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
566
|
+
requestsPerDay: z.ZodOptional<z.ZodNumber>;
|
|
567
|
+
}, z.core.$strip>>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
defaultModel: z.ZodString;
|
|
570
|
+
capabilities: z.ZodObject<{
|
|
571
|
+
maxConcurrentOperations: z.ZodDefault<z.ZodNumber>;
|
|
572
|
+
supportedAnalysisTypes: z.ZodArray<z.ZodString>;
|
|
573
|
+
isolationLevel: z.ZodDefault<z.ZodEnum<{
|
|
574
|
+
strict: "strict";
|
|
575
|
+
moderate: "moderate";
|
|
576
|
+
relaxed: "relaxed";
|
|
577
|
+
}>>;
|
|
578
|
+
serviceCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
579
|
+
customCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
580
|
+
}, z.core.$strip>;
|
|
581
|
+
}, z.core.$strip>;
|
|
582
|
+
paths: z.ZodObject<{
|
|
583
|
+
root: z.ZodDefault<z.ZodString>;
|
|
584
|
+
src: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
585
|
+
tests: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
586
|
+
docs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
587
|
+
config: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
588
|
+
build: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
589
|
+
temp: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
590
|
+
logs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
591
|
+
cache: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
592
|
+
assets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
593
|
+
excluded: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
594
|
+
servicePaths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
595
|
+
}, z.core.$strip>;
|
|
596
|
+
development: z.ZodObject<{
|
|
597
|
+
packageManager: z.ZodDefault<z.ZodEnum<{
|
|
598
|
+
npm: "npm";
|
|
599
|
+
yarn: "yarn";
|
|
600
|
+
pnpm: "pnpm";
|
|
601
|
+
pip: "pip";
|
|
602
|
+
"go mod": "go mod";
|
|
603
|
+
cargo: "cargo";
|
|
604
|
+
maven: "maven";
|
|
605
|
+
gradle: "gradle";
|
|
606
|
+
}>>;
|
|
607
|
+
runtimeVersions: z.ZodOptional<z.ZodObject<{
|
|
608
|
+
node: z.ZodOptional<z.ZodString>;
|
|
609
|
+
python: z.ZodOptional<z.ZodString>;
|
|
610
|
+
go: z.ZodOptional<z.ZodString>;
|
|
611
|
+
rust: z.ZodOptional<z.ZodString>;
|
|
612
|
+
java: z.ZodOptional<z.ZodString>;
|
|
613
|
+
dotnet: z.ZodOptional<z.ZodString>;
|
|
614
|
+
}, z.core.$strip>>;
|
|
615
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
616
|
+
scripts: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
start: z.ZodOptional<z.ZodString>;
|
|
618
|
+
build: z.ZodOptional<z.ZodString>;
|
|
619
|
+
test: z.ZodOptional<z.ZodString>;
|
|
620
|
+
lint: z.ZodOptional<z.ZodString>;
|
|
621
|
+
typeCheck: z.ZodOptional<z.ZodString>;
|
|
622
|
+
dbSetup: z.ZodOptional<z.ZodString>;
|
|
623
|
+
clean: z.ZodOptional<z.ZodString>;
|
|
624
|
+
}, z.core.$strip>>;
|
|
625
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
626
|
+
formatter: z.ZodOptional<z.ZodEnum<{
|
|
627
|
+
custom: "custom";
|
|
628
|
+
prettier: "prettier";
|
|
629
|
+
black: "black";
|
|
630
|
+
gofmt: "gofmt";
|
|
631
|
+
rustfmt: "rustfmt";
|
|
632
|
+
}>>;
|
|
633
|
+
linter: z.ZodOptional<z.ZodEnum<{
|
|
634
|
+
custom: "custom";
|
|
635
|
+
eslint: "eslint";
|
|
636
|
+
pylint: "pylint";
|
|
637
|
+
"golangci-lint": "golangci-lint";
|
|
638
|
+
clippy: "clippy";
|
|
639
|
+
}>>;
|
|
640
|
+
testFramework: z.ZodOptional<z.ZodEnum<{
|
|
641
|
+
custom: "custom";
|
|
642
|
+
jest: "jest";
|
|
643
|
+
vitest: "vitest";
|
|
644
|
+
pytest: "pytest";
|
|
645
|
+
"go test": "go test";
|
|
646
|
+
"cargo test": "cargo test";
|
|
647
|
+
}>>;
|
|
648
|
+
}, z.core.$strip>>;
|
|
649
|
+
}, z.core.$strip>;
|
|
650
|
+
security: z.ZodObject<{
|
|
651
|
+
filePermissions: z.ZodObject<{
|
|
652
|
+
read: z.ZodDefault<z.ZodBoolean>;
|
|
653
|
+
write: z.ZodDefault<z.ZodBoolean>;
|
|
654
|
+
execute: z.ZodDefault<z.ZodBoolean>;
|
|
655
|
+
restricted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
656
|
+
readOnly: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
657
|
+
}, z.core.$strip>;
|
|
658
|
+
networkPermissions: z.ZodObject<{
|
|
659
|
+
http: z.ZodDefault<z.ZodBoolean>;
|
|
660
|
+
https: z.ZodDefault<z.ZodBoolean>;
|
|
661
|
+
allowedDomains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
662
|
+
blockedDomains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
663
|
+
allowedPorts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
664
|
+
}, z.core.$strip>;
|
|
665
|
+
apiAccess: z.ZodOptional<z.ZodObject<{
|
|
666
|
+
allowedEndpoints: z.ZodArray<z.ZodString>;
|
|
667
|
+
rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
668
|
+
}, z.core.$strip>>;
|
|
669
|
+
}, z.core.$strip>;
|
|
670
|
+
integrations: z.ZodOptional<z.ZodObject<{
|
|
671
|
+
tasqhub: z.ZodOptional<z.ZodObject<{
|
|
672
|
+
apiUrl: z.ZodString;
|
|
673
|
+
apiKey: z.ZodString;
|
|
674
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
675
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
676
|
+
}, z.core.$strip>>;
|
|
677
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
678
|
+
remotes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
679
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
680
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
681
|
+
preCommit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
682
|
+
postCommit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
683
|
+
prePush: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
684
|
+
postMerge: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
685
|
+
}, z.core.$strip>>;
|
|
686
|
+
}, z.core.$strip>>;
|
|
687
|
+
cicd: z.ZodOptional<z.ZodObject<{
|
|
688
|
+
provider: z.ZodEnum<{
|
|
689
|
+
custom: "custom";
|
|
690
|
+
"github-actions": "github-actions";
|
|
691
|
+
"gitlab-ci": "gitlab-ci";
|
|
692
|
+
jenkins: "jenkins";
|
|
693
|
+
"azure-devops": "azure-devops";
|
|
694
|
+
}>;
|
|
695
|
+
configPath: z.ZodOptional<z.ZodString>;
|
|
696
|
+
pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
697
|
+
}, z.core.$strip>>;
|
|
698
|
+
containers: z.ZodOptional<z.ZodObject<{
|
|
699
|
+
runtime: z.ZodEnum<{
|
|
700
|
+
docker: "docker";
|
|
701
|
+
podman: "podman";
|
|
702
|
+
containerd: "containerd";
|
|
703
|
+
}>;
|
|
704
|
+
registry: z.ZodOptional<z.ZodObject<{
|
|
705
|
+
url: z.ZodString;
|
|
706
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
707
|
+
}, z.core.$strip>>;
|
|
708
|
+
composeFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
709
|
+
}, z.core.$strip>>;
|
|
710
|
+
cloud: z.ZodOptional<z.ZodObject<{
|
|
711
|
+
provider: z.ZodEnum<{
|
|
712
|
+
custom: "custom";
|
|
713
|
+
azure: "azure";
|
|
714
|
+
aws: "aws";
|
|
715
|
+
gcp: "gcp";
|
|
716
|
+
}>;
|
|
717
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
718
|
+
}, z.core.$strip>>;
|
|
719
|
+
}, z.core.$strip>>;
|
|
720
|
+
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
721
|
+
}, z.core.$strip>;
|
|
722
|
+
/**
|
|
723
|
+
* Service discovery configuration validation schema
|
|
724
|
+
*/
|
|
725
|
+
export declare const ServiceDiscoveryConfigSchema: z.ZodObject<{
|
|
726
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
727
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
728
|
+
custom: "custom";
|
|
729
|
+
filesystem: "filesystem";
|
|
730
|
+
"docker-compose": "docker-compose";
|
|
731
|
+
kubernetes: "kubernetes";
|
|
732
|
+
consul: "consul";
|
|
733
|
+
}>>;
|
|
734
|
+
patterns: z.ZodObject<{
|
|
735
|
+
files: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
736
|
+
directories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
737
|
+
portRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
738
|
+
start: z.ZodNumber;
|
|
739
|
+
end: z.ZodNumber;
|
|
740
|
+
}, z.core.$strip>>>;
|
|
741
|
+
}, z.core.$strip>;
|
|
742
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
743
|
+
id: z.ZodString;
|
|
744
|
+
name: z.ZodString;
|
|
745
|
+
description: z.ZodOptional<z.ZodString>;
|
|
746
|
+
url: z.ZodString;
|
|
747
|
+
port: z.ZodNumber;
|
|
748
|
+
protocol: z.ZodEnum<{
|
|
749
|
+
http: "http";
|
|
750
|
+
https: "https";
|
|
751
|
+
ws: "ws";
|
|
752
|
+
wss: "wss";
|
|
753
|
+
tcp: "tcp";
|
|
754
|
+
udp: "udp";
|
|
755
|
+
grpc: "grpc";
|
|
756
|
+
postgresql: "postgresql";
|
|
757
|
+
redis: "redis";
|
|
758
|
+
mongodb: "mongodb";
|
|
759
|
+
}>;
|
|
760
|
+
technology: z.ZodEnum<{
|
|
761
|
+
nodejs: "nodejs";
|
|
762
|
+
python: "python";
|
|
763
|
+
go: "go";
|
|
764
|
+
rust: "rust";
|
|
765
|
+
java: "java";
|
|
766
|
+
dotnet: "dotnet";
|
|
767
|
+
php: "php";
|
|
768
|
+
ruby: "ruby";
|
|
769
|
+
react: "react";
|
|
770
|
+
vue: "vue";
|
|
771
|
+
angular: "angular";
|
|
772
|
+
static: "static";
|
|
773
|
+
database: "database";
|
|
774
|
+
cache: "cache";
|
|
775
|
+
queue: "queue";
|
|
776
|
+
other: "other";
|
|
777
|
+
}>;
|
|
778
|
+
environment: z.ZodEnum<{
|
|
779
|
+
development: "development";
|
|
780
|
+
staging: "staging";
|
|
781
|
+
production: "production";
|
|
782
|
+
test: "test";
|
|
783
|
+
}>;
|
|
784
|
+
healthCheck: z.ZodOptional<z.ZodString>;
|
|
785
|
+
version: z.ZodOptional<z.ZodString>;
|
|
786
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
787
|
+
service: z.ZodString;
|
|
788
|
+
type: z.ZodEnum<{
|
|
789
|
+
required: "required";
|
|
790
|
+
optional: "optional";
|
|
791
|
+
development: "development";
|
|
792
|
+
}>;
|
|
793
|
+
version: z.ZodOptional<z.ZodString>;
|
|
794
|
+
description: z.ZodOptional<z.ZodString>;
|
|
795
|
+
}, z.core.$strip>>>;
|
|
796
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
797
|
+
type: z.ZodEnum<{
|
|
798
|
+
none: "none";
|
|
799
|
+
basic: "basic";
|
|
800
|
+
bearer: "bearer";
|
|
801
|
+
apikey: "apikey";
|
|
802
|
+
oauth2: "oauth2";
|
|
803
|
+
custom: "custom";
|
|
804
|
+
}>;
|
|
805
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
806
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
807
|
+
}, z.core.$strip>>;
|
|
808
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
809
|
+
}, z.core.$strip>>>;
|
|
810
|
+
}, z.core.$strip>;
|
|
811
|
+
/**
|
|
812
|
+
* Workspace validation configuration schema
|
|
813
|
+
*/
|
|
814
|
+
export declare const WorkspaceValidationConfigSchema: z.ZodObject<{
|
|
815
|
+
rules: z.ZodObject<{
|
|
816
|
+
requiredServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
817
|
+
validateDependencies: z.ZodDefault<z.ZodBoolean>;
|
|
818
|
+
validatePaths: z.ZodDefault<z.ZodBoolean>;
|
|
819
|
+
detectPortConflicts: z.ZodDefault<z.ZodBoolean>;
|
|
820
|
+
customRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
821
|
+
name: z.ZodString;
|
|
822
|
+
description: z.ZodString;
|
|
823
|
+
validator: z.ZodString;
|
|
824
|
+
}, z.core.$strip>>>;
|
|
825
|
+
}, z.core.$strip>;
|
|
826
|
+
severity: z.ZodObject<{
|
|
827
|
+
missingServices: z.ZodDefault<z.ZodEnum<{
|
|
828
|
+
error: "error";
|
|
829
|
+
warning: "warning";
|
|
830
|
+
info: "info";
|
|
831
|
+
}>>;
|
|
832
|
+
circularDependencies: z.ZodDefault<z.ZodEnum<{
|
|
833
|
+
error: "error";
|
|
834
|
+
warning: "warning";
|
|
835
|
+
info: "info";
|
|
836
|
+
}>>;
|
|
837
|
+
portConflicts: z.ZodDefault<z.ZodEnum<{
|
|
838
|
+
error: "error";
|
|
839
|
+
warning: "warning";
|
|
840
|
+
info: "info";
|
|
841
|
+
}>>;
|
|
842
|
+
invalidPaths: z.ZodDefault<z.ZodEnum<{
|
|
843
|
+
error: "error";
|
|
844
|
+
warning: "warning";
|
|
845
|
+
info: "info";
|
|
846
|
+
}>>;
|
|
847
|
+
}, z.core.$strip>;
|
|
848
|
+
}, z.core.$strip>;
|
|
849
|
+
/**
|
|
850
|
+
* Workspace initialization options validation schema
|
|
851
|
+
*/
|
|
852
|
+
export declare const WorkspaceInitOptionsSchema: z.ZodObject<{
|
|
853
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
854
|
+
name: z.ZodOptional<z.ZodString>;
|
|
855
|
+
description: z.ZodOptional<z.ZodString>;
|
|
856
|
+
pattern: z.ZodOptional<z.ZodEnum<{
|
|
857
|
+
monorepo: "monorepo";
|
|
858
|
+
"multi-repo": "multi-repo";
|
|
859
|
+
hybrid: "hybrid";
|
|
860
|
+
}>>;
|
|
861
|
+
template: z.ZodOptional<z.ZodString>;
|
|
862
|
+
interactive: z.ZodDefault<z.ZodBoolean>;
|
|
863
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
864
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
865
|
+
aiProvider: z.ZodOptional<z.ZodString>;
|
|
866
|
+
repositories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
867
|
+
discovery: z.ZodOptional<z.ZodObject<{
|
|
868
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
869
|
+
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
870
|
+
custom: "custom";
|
|
871
|
+
filesystem: "filesystem";
|
|
872
|
+
"docker-compose": "docker-compose";
|
|
873
|
+
kubernetes: "kubernetes";
|
|
874
|
+
consul: "consul";
|
|
875
|
+
}>>>;
|
|
876
|
+
patterns: z.ZodOptional<z.ZodObject<{
|
|
877
|
+
files: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
878
|
+
directories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
879
|
+
portRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
880
|
+
start: z.ZodNumber;
|
|
881
|
+
end: z.ZodNumber;
|
|
882
|
+
}, z.core.$strip>>>;
|
|
883
|
+
}, z.core.$strip>>;
|
|
884
|
+
overrides: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
885
|
+
id: z.ZodString;
|
|
886
|
+
name: z.ZodString;
|
|
887
|
+
description: z.ZodOptional<z.ZodString>;
|
|
888
|
+
url: z.ZodString;
|
|
889
|
+
port: z.ZodNumber;
|
|
890
|
+
protocol: z.ZodEnum<{
|
|
891
|
+
http: "http";
|
|
892
|
+
https: "https";
|
|
893
|
+
ws: "ws";
|
|
894
|
+
wss: "wss";
|
|
895
|
+
tcp: "tcp";
|
|
896
|
+
udp: "udp";
|
|
897
|
+
grpc: "grpc";
|
|
898
|
+
postgresql: "postgresql";
|
|
899
|
+
redis: "redis";
|
|
900
|
+
mongodb: "mongodb";
|
|
901
|
+
}>;
|
|
902
|
+
technology: z.ZodEnum<{
|
|
903
|
+
nodejs: "nodejs";
|
|
904
|
+
python: "python";
|
|
905
|
+
go: "go";
|
|
906
|
+
rust: "rust";
|
|
907
|
+
java: "java";
|
|
908
|
+
dotnet: "dotnet";
|
|
909
|
+
php: "php";
|
|
910
|
+
ruby: "ruby";
|
|
911
|
+
react: "react";
|
|
912
|
+
vue: "vue";
|
|
913
|
+
angular: "angular";
|
|
914
|
+
static: "static";
|
|
915
|
+
database: "database";
|
|
916
|
+
cache: "cache";
|
|
917
|
+
queue: "queue";
|
|
918
|
+
other: "other";
|
|
919
|
+
}>;
|
|
920
|
+
environment: z.ZodEnum<{
|
|
921
|
+
development: "development";
|
|
922
|
+
staging: "staging";
|
|
923
|
+
production: "production";
|
|
924
|
+
test: "test";
|
|
925
|
+
}>;
|
|
926
|
+
healthCheck: z.ZodOptional<z.ZodString>;
|
|
927
|
+
version: z.ZodOptional<z.ZodString>;
|
|
928
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
929
|
+
service: z.ZodString;
|
|
930
|
+
type: z.ZodEnum<{
|
|
931
|
+
required: "required";
|
|
932
|
+
optional: "optional";
|
|
933
|
+
development: "development";
|
|
934
|
+
}>;
|
|
935
|
+
version: z.ZodOptional<z.ZodString>;
|
|
936
|
+
description: z.ZodOptional<z.ZodString>;
|
|
937
|
+
}, z.core.$strip>>>;
|
|
938
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
939
|
+
type: z.ZodEnum<{
|
|
940
|
+
none: "none";
|
|
941
|
+
basic: "basic";
|
|
942
|
+
bearer: "bearer";
|
|
943
|
+
apikey: "apikey";
|
|
944
|
+
oauth2: "oauth2";
|
|
945
|
+
custom: "custom";
|
|
946
|
+
}>;
|
|
947
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
948
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
949
|
+
}, z.core.$strip>>;
|
|
950
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
951
|
+
}, z.core.$strip>>>>;
|
|
952
|
+
}, z.core.$strip>>;
|
|
953
|
+
}, z.core.$strip>;
|
|
954
|
+
/**
|
|
955
|
+
* Workspace template validation schema
|
|
956
|
+
*/
|
|
957
|
+
export declare const WorkspaceTemplateSchema: z.ZodObject<{
|
|
958
|
+
id: z.ZodString;
|
|
959
|
+
name: z.ZodString;
|
|
960
|
+
description: z.ZodString;
|
|
961
|
+
patterns: z.ZodArray<z.ZodEnum<{
|
|
962
|
+
monorepo: "monorepo";
|
|
963
|
+
"multi-repo": "multi-repo";
|
|
964
|
+
hybrid: "hybrid";
|
|
965
|
+
}>>;
|
|
966
|
+
config: z.ZodObject<{
|
|
967
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
968
|
+
id: z.ZodString;
|
|
969
|
+
name: z.ZodString;
|
|
970
|
+
description: z.ZodOptional<z.ZodString>;
|
|
971
|
+
pattern: z.ZodEnum<{
|
|
972
|
+
monorepo: "monorepo";
|
|
973
|
+
"multi-repo": "multi-repo";
|
|
974
|
+
hybrid: "hybrid";
|
|
975
|
+
}>;
|
|
976
|
+
version: z.ZodString;
|
|
977
|
+
createdAt: z.ZodString;
|
|
978
|
+
updatedAt: z.ZodString;
|
|
979
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
980
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
981
|
+
name: z.ZodString;
|
|
982
|
+
email: z.ZodString;
|
|
983
|
+
}, z.core.$strip>>;
|
|
984
|
+
team: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
985
|
+
name: z.ZodString;
|
|
986
|
+
email: z.ZodString;
|
|
987
|
+
role: z.ZodString;
|
|
988
|
+
}, z.core.$strip>>>;
|
|
989
|
+
}, z.core.$strip>>;
|
|
990
|
+
services: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
991
|
+
id: z.ZodString;
|
|
992
|
+
name: z.ZodString;
|
|
993
|
+
description: z.ZodOptional<z.ZodString>;
|
|
994
|
+
url: z.ZodString;
|
|
995
|
+
port: z.ZodNumber;
|
|
996
|
+
protocol: z.ZodEnum<{
|
|
997
|
+
http: "http";
|
|
998
|
+
https: "https";
|
|
999
|
+
ws: "ws";
|
|
1000
|
+
wss: "wss";
|
|
1001
|
+
tcp: "tcp";
|
|
1002
|
+
udp: "udp";
|
|
1003
|
+
grpc: "grpc";
|
|
1004
|
+
postgresql: "postgresql";
|
|
1005
|
+
redis: "redis";
|
|
1006
|
+
mongodb: "mongodb";
|
|
1007
|
+
}>;
|
|
1008
|
+
technology: z.ZodEnum<{
|
|
1009
|
+
nodejs: "nodejs";
|
|
1010
|
+
python: "python";
|
|
1011
|
+
go: "go";
|
|
1012
|
+
rust: "rust";
|
|
1013
|
+
java: "java";
|
|
1014
|
+
dotnet: "dotnet";
|
|
1015
|
+
php: "php";
|
|
1016
|
+
ruby: "ruby";
|
|
1017
|
+
react: "react";
|
|
1018
|
+
vue: "vue";
|
|
1019
|
+
angular: "angular";
|
|
1020
|
+
static: "static";
|
|
1021
|
+
database: "database";
|
|
1022
|
+
cache: "cache";
|
|
1023
|
+
queue: "queue";
|
|
1024
|
+
other: "other";
|
|
1025
|
+
}>;
|
|
1026
|
+
environment: z.ZodEnum<{
|
|
1027
|
+
development: "development";
|
|
1028
|
+
staging: "staging";
|
|
1029
|
+
production: "production";
|
|
1030
|
+
test: "test";
|
|
1031
|
+
}>;
|
|
1032
|
+
healthCheck: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1035
|
+
service: z.ZodString;
|
|
1036
|
+
type: z.ZodEnum<{
|
|
1037
|
+
required: "required";
|
|
1038
|
+
optional: "optional";
|
|
1039
|
+
development: "development";
|
|
1040
|
+
}>;
|
|
1041
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
}, z.core.$strip>>>;
|
|
1044
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1045
|
+
type: z.ZodEnum<{
|
|
1046
|
+
none: "none";
|
|
1047
|
+
basic: "basic";
|
|
1048
|
+
bearer: "bearer";
|
|
1049
|
+
apikey: "apikey";
|
|
1050
|
+
oauth2: "oauth2";
|
|
1051
|
+
custom: "custom";
|
|
1052
|
+
}>;
|
|
1053
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1054
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1055
|
+
}, z.core.$strip>>;
|
|
1056
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1057
|
+
}, z.core.$strip>>>;
|
|
1058
|
+
repositories: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1059
|
+
id: z.ZodString;
|
|
1060
|
+
name: z.ZodString;
|
|
1061
|
+
url: z.ZodString;
|
|
1062
|
+
path: z.ZodString;
|
|
1063
|
+
branch: z.ZodDefault<z.ZodString>;
|
|
1064
|
+
type: z.ZodEnum<{
|
|
1065
|
+
primary: "primary";
|
|
1066
|
+
service: "service";
|
|
1067
|
+
library: "library";
|
|
1068
|
+
config: "config";
|
|
1069
|
+
}>;
|
|
1070
|
+
services: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1071
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1072
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1073
|
+
npm: "npm";
|
|
1074
|
+
yarn: "yarn";
|
|
1075
|
+
pnpm: "pnpm";
|
|
1076
|
+
pip: "pip";
|
|
1077
|
+
"go mod": "go mod";
|
|
1078
|
+
cargo: "cargo";
|
|
1079
|
+
maven: "maven";
|
|
1080
|
+
gradle: "gradle";
|
|
1081
|
+
}>>;
|
|
1082
|
+
buildCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1083
|
+
testCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1084
|
+
lintCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1085
|
+
}, z.core.$strip>>;
|
|
1086
|
+
}, z.core.$strip>>>>;
|
|
1087
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
1088
|
+
models: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1089
|
+
provider: z.ZodEnum<{
|
|
1090
|
+
custom: "custom";
|
|
1091
|
+
claude: "claude";
|
|
1092
|
+
openai: "openai";
|
|
1093
|
+
gemini: "gemini";
|
|
1094
|
+
azure: "azure";
|
|
1095
|
+
}>;
|
|
1096
|
+
model: z.ZodString;
|
|
1097
|
+
apiKey: z.ZodString;
|
|
1098
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1099
|
+
rateLimit: z.ZodOptional<z.ZodObject<{
|
|
1100
|
+
requestsPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
1101
|
+
tokensPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
1102
|
+
requestsPerDay: z.ZodOptional<z.ZodNumber>;
|
|
1103
|
+
}, z.core.$strip>>;
|
|
1104
|
+
}, z.core.$strip>>;
|
|
1105
|
+
defaultModel: z.ZodString;
|
|
1106
|
+
capabilities: z.ZodObject<{
|
|
1107
|
+
maxConcurrentOperations: z.ZodDefault<z.ZodNumber>;
|
|
1108
|
+
supportedAnalysisTypes: z.ZodArray<z.ZodString>;
|
|
1109
|
+
isolationLevel: z.ZodDefault<z.ZodEnum<{
|
|
1110
|
+
strict: "strict";
|
|
1111
|
+
moderate: "moderate";
|
|
1112
|
+
relaxed: "relaxed";
|
|
1113
|
+
}>>;
|
|
1114
|
+
serviceCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1115
|
+
customCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1116
|
+
}, z.core.$strip>;
|
|
1117
|
+
}, z.core.$strip>>;
|
|
1118
|
+
paths: z.ZodOptional<z.ZodObject<{
|
|
1119
|
+
root: z.ZodDefault<z.ZodString>;
|
|
1120
|
+
src: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1121
|
+
tests: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1122
|
+
docs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1123
|
+
config: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1124
|
+
build: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1125
|
+
temp: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1126
|
+
logs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1127
|
+
cache: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1128
|
+
assets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1129
|
+
excluded: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1130
|
+
servicePaths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1131
|
+
}, z.core.$strip>>;
|
|
1132
|
+
development: z.ZodOptional<z.ZodObject<{
|
|
1133
|
+
packageManager: z.ZodDefault<z.ZodEnum<{
|
|
1134
|
+
npm: "npm";
|
|
1135
|
+
yarn: "yarn";
|
|
1136
|
+
pnpm: "pnpm";
|
|
1137
|
+
pip: "pip";
|
|
1138
|
+
"go mod": "go mod";
|
|
1139
|
+
cargo: "cargo";
|
|
1140
|
+
maven: "maven";
|
|
1141
|
+
gradle: "gradle";
|
|
1142
|
+
}>>;
|
|
1143
|
+
runtimeVersions: z.ZodOptional<z.ZodObject<{
|
|
1144
|
+
node: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
python: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
go: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
rust: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
java: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
dotnet: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
}, z.core.$strip>>;
|
|
1151
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1152
|
+
scripts: z.ZodOptional<z.ZodObject<{
|
|
1153
|
+
start: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
build: z.ZodOptional<z.ZodString>;
|
|
1155
|
+
test: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
lint: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
typeCheck: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
dbSetup: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
clean: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
}, z.core.$strip>>;
|
|
1161
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
1162
|
+
formatter: z.ZodOptional<z.ZodEnum<{
|
|
1163
|
+
custom: "custom";
|
|
1164
|
+
prettier: "prettier";
|
|
1165
|
+
black: "black";
|
|
1166
|
+
gofmt: "gofmt";
|
|
1167
|
+
rustfmt: "rustfmt";
|
|
1168
|
+
}>>;
|
|
1169
|
+
linter: z.ZodOptional<z.ZodEnum<{
|
|
1170
|
+
custom: "custom";
|
|
1171
|
+
eslint: "eslint";
|
|
1172
|
+
pylint: "pylint";
|
|
1173
|
+
"golangci-lint": "golangci-lint";
|
|
1174
|
+
clippy: "clippy";
|
|
1175
|
+
}>>;
|
|
1176
|
+
testFramework: z.ZodOptional<z.ZodEnum<{
|
|
1177
|
+
custom: "custom";
|
|
1178
|
+
jest: "jest";
|
|
1179
|
+
vitest: "vitest";
|
|
1180
|
+
pytest: "pytest";
|
|
1181
|
+
"go test": "go test";
|
|
1182
|
+
"cargo test": "cargo test";
|
|
1183
|
+
}>>;
|
|
1184
|
+
}, z.core.$strip>>;
|
|
1185
|
+
}, z.core.$strip>>;
|
|
1186
|
+
security: z.ZodOptional<z.ZodObject<{
|
|
1187
|
+
filePermissions: z.ZodObject<{
|
|
1188
|
+
read: z.ZodDefault<z.ZodBoolean>;
|
|
1189
|
+
write: z.ZodDefault<z.ZodBoolean>;
|
|
1190
|
+
execute: z.ZodDefault<z.ZodBoolean>;
|
|
1191
|
+
restricted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1192
|
+
readOnly: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1193
|
+
}, z.core.$strip>;
|
|
1194
|
+
networkPermissions: z.ZodObject<{
|
|
1195
|
+
http: z.ZodDefault<z.ZodBoolean>;
|
|
1196
|
+
https: z.ZodDefault<z.ZodBoolean>;
|
|
1197
|
+
allowedDomains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1198
|
+
blockedDomains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1199
|
+
allowedPorts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1200
|
+
}, z.core.$strip>;
|
|
1201
|
+
apiAccess: z.ZodOptional<z.ZodObject<{
|
|
1202
|
+
allowedEndpoints: z.ZodArray<z.ZodString>;
|
|
1203
|
+
rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1204
|
+
}, z.core.$strip>>;
|
|
1205
|
+
}, z.core.$strip>>;
|
|
1206
|
+
integrations: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1207
|
+
tasqhub: z.ZodOptional<z.ZodObject<{
|
|
1208
|
+
apiUrl: z.ZodString;
|
|
1209
|
+
apiKey: z.ZodString;
|
|
1210
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
}, z.core.$strip>>;
|
|
1213
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
1214
|
+
remotes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1215
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
1216
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
1217
|
+
preCommit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1218
|
+
postCommit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1219
|
+
prePush: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1220
|
+
postMerge: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1221
|
+
}, z.core.$strip>>;
|
|
1222
|
+
}, z.core.$strip>>;
|
|
1223
|
+
cicd: z.ZodOptional<z.ZodObject<{
|
|
1224
|
+
provider: z.ZodEnum<{
|
|
1225
|
+
custom: "custom";
|
|
1226
|
+
"github-actions": "github-actions";
|
|
1227
|
+
"gitlab-ci": "gitlab-ci";
|
|
1228
|
+
jenkins: "jenkins";
|
|
1229
|
+
"azure-devops": "azure-devops";
|
|
1230
|
+
}>;
|
|
1231
|
+
configPath: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1233
|
+
}, z.core.$strip>>;
|
|
1234
|
+
containers: z.ZodOptional<z.ZodObject<{
|
|
1235
|
+
runtime: z.ZodEnum<{
|
|
1236
|
+
docker: "docker";
|
|
1237
|
+
podman: "podman";
|
|
1238
|
+
containerd: "containerd";
|
|
1239
|
+
}>;
|
|
1240
|
+
registry: z.ZodOptional<z.ZodObject<{
|
|
1241
|
+
url: z.ZodString;
|
|
1242
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1243
|
+
}, z.core.$strip>>;
|
|
1244
|
+
composeFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1245
|
+
}, z.core.$strip>>;
|
|
1246
|
+
cloud: z.ZodOptional<z.ZodObject<{
|
|
1247
|
+
provider: z.ZodEnum<{
|
|
1248
|
+
custom: "custom";
|
|
1249
|
+
azure: "azure";
|
|
1250
|
+
aws: "aws";
|
|
1251
|
+
gcp: "gcp";
|
|
1252
|
+
}>;
|
|
1253
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1254
|
+
}, z.core.$strip>>;
|
|
1255
|
+
}, z.core.$strip>>>;
|
|
1256
|
+
extensions: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1257
|
+
}, z.core.$strip>;
|
|
1258
|
+
requiredServices: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1259
|
+
optionalServices: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1260
|
+
setupSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1261
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1262
|
+
description: z.ZodString;
|
|
1263
|
+
type: z.ZodEnum<{
|
|
1264
|
+
string: "string";
|
|
1265
|
+
number: "number";
|
|
1266
|
+
boolean: "boolean";
|
|
1267
|
+
array: "array";
|
|
1268
|
+
}>;
|
|
1269
|
+
default: z.ZodOptional<z.ZodAny>;
|
|
1270
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1271
|
+
}, z.core.$strip>>>;
|
|
1272
|
+
}, z.core.$strip>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Validation result types
|
|
1275
|
+
*/
|
|
1276
|
+
export interface ValidationResult<T> {
|
|
1277
|
+
success: boolean;
|
|
1278
|
+
data?: T;
|
|
1279
|
+
errors: Array<{
|
|
1280
|
+
path: string[];
|
|
1281
|
+
message: string;
|
|
1282
|
+
code: string;
|
|
1283
|
+
}>;
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* Validation helper functions
|
|
1287
|
+
*/
|
|
1288
|
+
export declare class WorkspaceValidator {
|
|
1289
|
+
/**
|
|
1290
|
+
* Validate workspace configuration
|
|
1291
|
+
*/
|
|
1292
|
+
static validateWorkspaceConfig(config: unknown): ValidationResult<any>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Validate service endpoint configuration
|
|
1295
|
+
*/
|
|
1296
|
+
static validateServiceEndpoint(endpoint: unknown): ValidationResult<any>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Validate workspace initialization options
|
|
1299
|
+
*/
|
|
1300
|
+
static validateInitOptions(options: unknown): ValidationResult<any>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Check for circular dependencies in services
|
|
1303
|
+
*/
|
|
1304
|
+
static checkCircularDependencies(services: Record<string, any>): string[];
|
|
1305
|
+
/**
|
|
1306
|
+
* Check for port conflicts
|
|
1307
|
+
*/
|
|
1308
|
+
static checkPortConflicts(services: Record<string, any>): Array<{
|
|
1309
|
+
port: number;
|
|
1310
|
+
services: string[];
|
|
1311
|
+
}>;
|
|
1312
|
+
}
|