@dotsetlabs/bellwether 2.1.0 → 2.1.2

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +48 -31
  3. package/dist/cli/commands/check.js +49 -6
  4. package/dist/cli/commands/dashboard.d.ts +3 -0
  5. package/dist/cli/commands/dashboard.js +69 -0
  6. package/dist/cli/commands/discover.js +24 -2
  7. package/dist/cli/commands/explore.js +49 -6
  8. package/dist/cli/commands/watch.js +12 -1
  9. package/dist/cli/index.js +27 -34
  10. package/dist/cli/utils/headers.d.ts +12 -0
  11. package/dist/cli/utils/headers.js +63 -0
  12. package/dist/config/defaults.d.ts +2 -0
  13. package/dist/config/defaults.js +2 -0
  14. package/dist/config/template.js +12 -0
  15. package/dist/config/validator.d.ts +38 -18
  16. package/dist/config/validator.js +10 -0
  17. package/dist/constants/core.d.ts +4 -2
  18. package/dist/constants/core.js +13 -2
  19. package/dist/dashboard/index.d.ts +3 -0
  20. package/dist/dashboard/index.js +6 -0
  21. package/dist/dashboard/runtime/artifact-index.d.ts +45 -0
  22. package/dist/dashboard/runtime/artifact-index.js +238 -0
  23. package/dist/dashboard/runtime/command-profiles.d.ts +764 -0
  24. package/dist/dashboard/runtime/command-profiles.js +691 -0
  25. package/dist/dashboard/runtime/config-service.d.ts +21 -0
  26. package/dist/dashboard/runtime/config-service.js +73 -0
  27. package/dist/dashboard/runtime/job-runner.d.ts +26 -0
  28. package/dist/dashboard/runtime/job-runner.js +292 -0
  29. package/dist/dashboard/security/input-validation.d.ts +3 -0
  30. package/dist/dashboard/security/input-validation.js +27 -0
  31. package/dist/dashboard/security/localhost-guard.d.ts +5 -0
  32. package/dist/dashboard/security/localhost-guard.js +52 -0
  33. package/dist/dashboard/server.d.ts +14 -0
  34. package/dist/dashboard/server.js +293 -0
  35. package/dist/dashboard/types.d.ts +55 -0
  36. package/dist/dashboard/types.js +2 -0
  37. package/dist/dashboard/ui.d.ts +2 -0
  38. package/dist/dashboard/ui.js +2264 -0
  39. package/dist/discovery/discovery.js +20 -1
  40. package/dist/discovery/types.d.ts +1 -1
  41. package/dist/docs/contract.js +7 -1
  42. package/dist/errors/retry.js +15 -1
  43. package/dist/errors/types.d.ts +10 -0
  44. package/dist/errors/types.js +28 -0
  45. package/dist/logging/logger.js +5 -2
  46. package/dist/transport/env-filter.d.ts +6 -0
  47. package/dist/transport/env-filter.js +76 -0
  48. package/dist/transport/http-transport.js +10 -0
  49. package/dist/transport/mcp-client.d.ts +16 -9
  50. package/dist/transport/mcp-client.js +119 -88
  51. package/dist/transport/sse-transport.js +19 -0
  52. package/dist/version.js +2 -2
  53. package/package.json +5 -15
  54. package/man/bellwether.1 +0 -204
  55. package/man/bellwether.1.md +0 -148
@@ -0,0 +1,764 @@
1
+ import { z } from 'zod';
2
+ import type { DashboardProfileDefinition, DashboardStartRunRequest } from '../types.js';
3
+ declare const runRequestSchema: z.ZodDiscriminatedUnion<"profile", [z.ZodObject<{
4
+ profile: z.ZodLiteral<"check">;
5
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
6
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7
+ serverCommand: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
8
+ serverArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ serverCommand?: string | undefined;
11
+ serverArgs?: string[] | undefined;
12
+ configPath?: string | undefined;
13
+ }, {
14
+ serverCommand?: string | undefined;
15
+ serverArgs?: string[] | undefined;
16
+ configPath?: string | undefined;
17
+ }>>>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ args: {
20
+ serverCommand?: string | undefined;
21
+ serverArgs?: string[] | undefined;
22
+ configPath?: string | undefined;
23
+ };
24
+ profile: "check";
25
+ }, {
26
+ profile: "check";
27
+ args?: {
28
+ serverCommand?: string | undefined;
29
+ serverArgs?: string[] | undefined;
30
+ configPath?: string | undefined;
31
+ } | undefined;
32
+ }>, z.ZodObject<{
33
+ profile: z.ZodLiteral<"explore">;
34
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
35
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
36
+ serverCommand: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
37
+ serverArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
38
+ }, "strict", z.ZodTypeAny, {
39
+ serverCommand?: string | undefined;
40
+ serverArgs?: string[] | undefined;
41
+ configPath?: string | undefined;
42
+ }, {
43
+ serverCommand?: string | undefined;
44
+ serverArgs?: string[] | undefined;
45
+ configPath?: string | undefined;
46
+ }>>>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ args: {
49
+ serverCommand?: string | undefined;
50
+ serverArgs?: string[] | undefined;
51
+ configPath?: string | undefined;
52
+ };
53
+ profile: "explore";
54
+ }, {
55
+ profile: "explore";
56
+ args?: {
57
+ serverCommand?: string | undefined;
58
+ serverArgs?: string[] | undefined;
59
+ configPath?: string | undefined;
60
+ } | undefined;
61
+ }>, z.ZodObject<{
62
+ profile: z.ZodLiteral<"validate-config">;
63
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
64
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
65
+ }, "strict", z.ZodTypeAny, {
66
+ configPath?: string | undefined;
67
+ }, {
68
+ configPath?: string | undefined;
69
+ }>>>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ args: {
72
+ configPath?: string | undefined;
73
+ };
74
+ profile: "validate-config";
75
+ }, {
76
+ profile: "validate-config";
77
+ args?: {
78
+ configPath?: string | undefined;
79
+ } | undefined;
80
+ }>, z.ZodObject<{
81
+ profile: z.ZodLiteral<"discover">;
82
+ args: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodObject<{
83
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
84
+ serverCommand: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
85
+ serverArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
86
+ json: z.ZodOptional<z.ZodBoolean>;
87
+ timeout: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
88
+ transport: z.ZodOptional<z.ZodEnum<["stdio", "sse", "streamable-http"]>>;
89
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
90
+ sessionId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
91
+ }, "strict", z.ZodTypeAny, {
92
+ transport?: "stdio" | "sse" | "streamable-http" | undefined;
93
+ timeout?: number | undefined;
94
+ sessionId?: string | undefined;
95
+ url?: string | undefined;
96
+ serverCommand?: string | undefined;
97
+ serverArgs?: string[] | undefined;
98
+ json?: boolean | undefined;
99
+ configPath?: string | undefined;
100
+ }, {
101
+ transport?: "stdio" | "sse" | "streamable-http" | undefined;
102
+ timeout?: unknown;
103
+ sessionId?: string | undefined;
104
+ url?: string | undefined;
105
+ serverCommand?: string | undefined;
106
+ serverArgs?: string[] | undefined;
107
+ json?: boolean | undefined;
108
+ configPath?: string | undefined;
109
+ }>, {
110
+ transport?: "stdio" | "sse" | "streamable-http" | undefined;
111
+ timeout?: number | undefined;
112
+ sessionId?: string | undefined;
113
+ url?: string | undefined;
114
+ serverCommand?: string | undefined;
115
+ serverArgs?: string[] | undefined;
116
+ json?: boolean | undefined;
117
+ configPath?: string | undefined;
118
+ }, {
119
+ transport?: "stdio" | "sse" | "streamable-http" | undefined;
120
+ timeout?: unknown;
121
+ sessionId?: string | undefined;
122
+ url?: string | undefined;
123
+ serverCommand?: string | undefined;
124
+ serverArgs?: string[] | undefined;
125
+ json?: boolean | undefined;
126
+ configPath?: string | undefined;
127
+ }>>>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ args: {
130
+ transport?: "stdio" | "sse" | "streamable-http" | undefined;
131
+ timeout?: number | undefined;
132
+ sessionId?: string | undefined;
133
+ url?: string | undefined;
134
+ serverCommand?: string | undefined;
135
+ serverArgs?: string[] | undefined;
136
+ json?: boolean | undefined;
137
+ configPath?: string | undefined;
138
+ };
139
+ profile: "discover";
140
+ }, {
141
+ profile: "discover";
142
+ args?: {
143
+ transport?: "stdio" | "sse" | "streamable-http" | undefined;
144
+ timeout?: unknown;
145
+ sessionId?: string | undefined;
146
+ url?: string | undefined;
147
+ serverCommand?: string | undefined;
148
+ serverArgs?: string[] | undefined;
149
+ json?: boolean | undefined;
150
+ configPath?: string | undefined;
151
+ } | undefined;
152
+ }>, z.ZodObject<{
153
+ profile: z.ZodLiteral<"watch">;
154
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
155
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
156
+ serverCommand: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
157
+ serverArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
158
+ }, "strict", z.ZodTypeAny, {
159
+ serverCommand?: string | undefined;
160
+ serverArgs?: string[] | undefined;
161
+ configPath?: string | undefined;
162
+ }, {
163
+ serverCommand?: string | undefined;
164
+ serverArgs?: string[] | undefined;
165
+ configPath?: string | undefined;
166
+ }>>>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ args: {
169
+ serverCommand?: string | undefined;
170
+ serverArgs?: string[] | undefined;
171
+ configPath?: string | undefined;
172
+ };
173
+ profile: "watch";
174
+ }, {
175
+ profile: "watch";
176
+ args?: {
177
+ serverCommand?: string | undefined;
178
+ serverArgs?: string[] | undefined;
179
+ configPath?: string | undefined;
180
+ } | undefined;
181
+ }>, z.ZodObject<{
182
+ profile: z.ZodLiteral<"baseline.save">;
183
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
184
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
185
+ baselinePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
186
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
187
+ force: z.ZodOptional<z.ZodBoolean>;
188
+ }, "strict", z.ZodTypeAny, {
189
+ configPath?: string | undefined;
190
+ baselinePath?: string | undefined;
191
+ reportPath?: string | undefined;
192
+ force?: boolean | undefined;
193
+ }, {
194
+ configPath?: string | undefined;
195
+ baselinePath?: string | undefined;
196
+ reportPath?: string | undefined;
197
+ force?: boolean | undefined;
198
+ }>>>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ args: {
201
+ configPath?: string | undefined;
202
+ baselinePath?: string | undefined;
203
+ reportPath?: string | undefined;
204
+ force?: boolean | undefined;
205
+ };
206
+ profile: "baseline.save";
207
+ }, {
208
+ profile: "baseline.save";
209
+ args?: {
210
+ configPath?: string | undefined;
211
+ baselinePath?: string | undefined;
212
+ reportPath?: string | undefined;
213
+ force?: boolean | undefined;
214
+ } | undefined;
215
+ }>, z.ZodObject<{
216
+ profile: z.ZodLiteral<"baseline.compare">;
217
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
218
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
219
+ baselinePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
220
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
221
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown", "compact"]>>;
222
+ failOnDrift: z.ZodOptional<z.ZodBoolean>;
223
+ ignoreVersionMismatch: z.ZodOptional<z.ZodBoolean>;
224
+ }, "strict", z.ZodTypeAny, {
225
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
226
+ failOnDrift?: boolean | undefined;
227
+ configPath?: string | undefined;
228
+ ignoreVersionMismatch?: boolean | undefined;
229
+ baselinePath?: string | undefined;
230
+ reportPath?: string | undefined;
231
+ }, {
232
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
233
+ failOnDrift?: boolean | undefined;
234
+ configPath?: string | undefined;
235
+ ignoreVersionMismatch?: boolean | undefined;
236
+ baselinePath?: string | undefined;
237
+ reportPath?: string | undefined;
238
+ }>>>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ args: {
241
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
242
+ failOnDrift?: boolean | undefined;
243
+ configPath?: string | undefined;
244
+ ignoreVersionMismatch?: boolean | undefined;
245
+ baselinePath?: string | undefined;
246
+ reportPath?: string | undefined;
247
+ };
248
+ profile: "baseline.compare";
249
+ }, {
250
+ profile: "baseline.compare";
251
+ args?: {
252
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
253
+ failOnDrift?: boolean | undefined;
254
+ configPath?: string | undefined;
255
+ ignoreVersionMismatch?: boolean | undefined;
256
+ baselinePath?: string | undefined;
257
+ reportPath?: string | undefined;
258
+ } | undefined;
259
+ }>, z.ZodObject<{
260
+ profile: z.ZodLiteral<"baseline.show">;
261
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
262
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
263
+ baselinePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
264
+ json: z.ZodOptional<z.ZodBoolean>;
265
+ tools: z.ZodOptional<z.ZodBoolean>;
266
+ assertions: z.ZodOptional<z.ZodBoolean>;
267
+ }, "strict", z.ZodTypeAny, {
268
+ tools?: boolean | undefined;
269
+ json?: boolean | undefined;
270
+ assertions?: boolean | undefined;
271
+ configPath?: string | undefined;
272
+ baselinePath?: string | undefined;
273
+ }, {
274
+ tools?: boolean | undefined;
275
+ json?: boolean | undefined;
276
+ assertions?: boolean | undefined;
277
+ configPath?: string | undefined;
278
+ baselinePath?: string | undefined;
279
+ }>>>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ args: {
282
+ tools?: boolean | undefined;
283
+ json?: boolean | undefined;
284
+ assertions?: boolean | undefined;
285
+ configPath?: string | undefined;
286
+ baselinePath?: string | undefined;
287
+ };
288
+ profile: "baseline.show";
289
+ }, {
290
+ profile: "baseline.show";
291
+ args?: {
292
+ tools?: boolean | undefined;
293
+ json?: boolean | undefined;
294
+ assertions?: boolean | undefined;
295
+ configPath?: string | undefined;
296
+ baselinePath?: string | undefined;
297
+ } | undefined;
298
+ }>, z.ZodObject<{
299
+ profile: z.ZodLiteral<"baseline.diff">;
300
+ args: z.ZodEffects<z.ZodObject<{
301
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
302
+ path1: z.ZodEffects<z.ZodString, string, string>;
303
+ path2: z.ZodEffects<z.ZodString, string, string>;
304
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown", "compact"]>>;
305
+ ignoreVersionMismatch: z.ZodOptional<z.ZodBoolean>;
306
+ }, "strict", z.ZodTypeAny, {
307
+ path1: string;
308
+ path2: string;
309
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
310
+ configPath?: string | undefined;
311
+ ignoreVersionMismatch?: boolean | undefined;
312
+ }, {
313
+ path1: string;
314
+ path2: string;
315
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
316
+ configPath?: string | undefined;
317
+ ignoreVersionMismatch?: boolean | undefined;
318
+ }>, {
319
+ path1: string;
320
+ path2: string;
321
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
322
+ configPath?: string | undefined;
323
+ ignoreVersionMismatch?: boolean | undefined;
324
+ }, {
325
+ path1: string;
326
+ path2: string;
327
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
328
+ configPath?: string | undefined;
329
+ ignoreVersionMismatch?: boolean | undefined;
330
+ }>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ args: {
333
+ path1: string;
334
+ path2: string;
335
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
336
+ configPath?: string | undefined;
337
+ ignoreVersionMismatch?: boolean | undefined;
338
+ };
339
+ profile: "baseline.diff";
340
+ }, {
341
+ args: {
342
+ path1: string;
343
+ path2: string;
344
+ format?: "text" | "json" | "markdown" | "compact" | undefined;
345
+ configPath?: string | undefined;
346
+ ignoreVersionMismatch?: boolean | undefined;
347
+ };
348
+ profile: "baseline.diff";
349
+ }>, z.ZodObject<{
350
+ profile: z.ZodLiteral<"baseline.accept">;
351
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
352
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
353
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
354
+ baselinePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
355
+ reason: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
356
+ acceptedBy: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
357
+ dryRun: z.ZodOptional<z.ZodBoolean>;
358
+ force: z.ZodOptional<z.ZodBoolean>;
359
+ }, "strict", z.ZodTypeAny, {
360
+ reason?: string | undefined;
361
+ configPath?: string | undefined;
362
+ acceptedBy?: string | undefined;
363
+ baselinePath?: string | undefined;
364
+ reportPath?: string | undefined;
365
+ force?: boolean | undefined;
366
+ dryRun?: boolean | undefined;
367
+ }, {
368
+ reason?: string | undefined;
369
+ configPath?: string | undefined;
370
+ acceptedBy?: string | undefined;
371
+ baselinePath?: string | undefined;
372
+ reportPath?: string | undefined;
373
+ force?: boolean | undefined;
374
+ dryRun?: boolean | undefined;
375
+ }>>>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ args: {
378
+ reason?: string | undefined;
379
+ configPath?: string | undefined;
380
+ acceptedBy?: string | undefined;
381
+ baselinePath?: string | undefined;
382
+ reportPath?: string | undefined;
383
+ force?: boolean | undefined;
384
+ dryRun?: boolean | undefined;
385
+ };
386
+ profile: "baseline.accept";
387
+ }, {
388
+ profile: "baseline.accept";
389
+ args?: {
390
+ reason?: string | undefined;
391
+ configPath?: string | undefined;
392
+ acceptedBy?: string | undefined;
393
+ baselinePath?: string | undefined;
394
+ reportPath?: string | undefined;
395
+ force?: boolean | undefined;
396
+ dryRun?: boolean | undefined;
397
+ } | undefined;
398
+ }>, z.ZodObject<{
399
+ profile: z.ZodLiteral<"registry.search">;
400
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
401
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
402
+ query: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
403
+ limit: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
404
+ json: z.ZodOptional<z.ZodBoolean>;
405
+ }, "strict", z.ZodTypeAny, {
406
+ json?: boolean | undefined;
407
+ query?: string | undefined;
408
+ limit?: number | undefined;
409
+ configPath?: string | undefined;
410
+ }, {
411
+ json?: boolean | undefined;
412
+ query?: string | undefined;
413
+ limit?: unknown;
414
+ configPath?: string | undefined;
415
+ }>>>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ args: {
418
+ json?: boolean | undefined;
419
+ query?: string | undefined;
420
+ limit?: number | undefined;
421
+ configPath?: string | undefined;
422
+ };
423
+ profile: "registry.search";
424
+ }, {
425
+ profile: "registry.search";
426
+ args?: {
427
+ json?: boolean | undefined;
428
+ query?: string | undefined;
429
+ limit?: unknown;
430
+ configPath?: string | undefined;
431
+ } | undefined;
432
+ }>, z.ZodObject<{
433
+ profile: z.ZodLiteral<"contract.validate">;
434
+ args: z.ZodEffects<z.ZodObject<{
435
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
436
+ serverCommand: z.ZodEffects<z.ZodString, string, string>;
437
+ serverArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
438
+ contractPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
439
+ mode: z.ZodOptional<z.ZodEnum<["strict", "lenient", "report"]>>;
440
+ failOnViolation: z.ZodOptional<z.ZodBoolean>;
441
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
442
+ timeout: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
443
+ }, "strict", z.ZodTypeAny, {
444
+ serverCommand: string;
445
+ mode?: "strict" | "lenient" | "report" | undefined;
446
+ format?: "text" | "json" | "markdown" | undefined;
447
+ timeout?: number | undefined;
448
+ serverArgs?: string[] | undefined;
449
+ failOnViolation?: boolean | undefined;
450
+ configPath?: string | undefined;
451
+ contractPath?: string | undefined;
452
+ }, {
453
+ serverCommand: string;
454
+ mode?: "strict" | "lenient" | "report" | undefined;
455
+ format?: "text" | "json" | "markdown" | undefined;
456
+ timeout?: unknown;
457
+ serverArgs?: string[] | undefined;
458
+ failOnViolation?: boolean | undefined;
459
+ configPath?: string | undefined;
460
+ contractPath?: string | undefined;
461
+ }>, {
462
+ serverCommand: string;
463
+ mode?: "strict" | "lenient" | "report" | undefined;
464
+ format?: "text" | "json" | "markdown" | undefined;
465
+ timeout?: number | undefined;
466
+ serverArgs?: string[] | undefined;
467
+ failOnViolation?: boolean | undefined;
468
+ configPath?: string | undefined;
469
+ contractPath?: string | undefined;
470
+ }, {
471
+ serverCommand: string;
472
+ mode?: "strict" | "lenient" | "report" | undefined;
473
+ format?: "text" | "json" | "markdown" | undefined;
474
+ timeout?: unknown;
475
+ serverArgs?: string[] | undefined;
476
+ failOnViolation?: boolean | undefined;
477
+ configPath?: string | undefined;
478
+ contractPath?: string | undefined;
479
+ }>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ args: {
482
+ serverCommand: string;
483
+ mode?: "strict" | "lenient" | "report" | undefined;
484
+ format?: "text" | "json" | "markdown" | undefined;
485
+ timeout?: number | undefined;
486
+ serverArgs?: string[] | undefined;
487
+ failOnViolation?: boolean | undefined;
488
+ configPath?: string | undefined;
489
+ contractPath?: string | undefined;
490
+ };
491
+ profile: "contract.validate";
492
+ }, {
493
+ args: {
494
+ serverCommand: string;
495
+ mode?: "strict" | "lenient" | "report" | undefined;
496
+ format?: "text" | "json" | "markdown" | undefined;
497
+ timeout?: unknown;
498
+ serverArgs?: string[] | undefined;
499
+ failOnViolation?: boolean | undefined;
500
+ configPath?: string | undefined;
501
+ contractPath?: string | undefined;
502
+ };
503
+ profile: "contract.validate";
504
+ }>, z.ZodObject<{
505
+ profile: z.ZodLiteral<"contract.generate">;
506
+ args: z.ZodEffects<z.ZodObject<{
507
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
508
+ serverCommand: z.ZodEffects<z.ZodString, string, string>;
509
+ serverArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
510
+ outputPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
511
+ timeout: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
512
+ force: z.ZodOptional<z.ZodBoolean>;
513
+ }, "strict", z.ZodTypeAny, {
514
+ serverCommand: string;
515
+ timeout?: number | undefined;
516
+ serverArgs?: string[] | undefined;
517
+ configPath?: string | undefined;
518
+ force?: boolean | undefined;
519
+ outputPath?: string | undefined;
520
+ }, {
521
+ serverCommand: string;
522
+ timeout?: unknown;
523
+ serverArgs?: string[] | undefined;
524
+ configPath?: string | undefined;
525
+ force?: boolean | undefined;
526
+ outputPath?: string | undefined;
527
+ }>, {
528
+ serverCommand: string;
529
+ timeout?: number | undefined;
530
+ serverArgs?: string[] | undefined;
531
+ configPath?: string | undefined;
532
+ force?: boolean | undefined;
533
+ outputPath?: string | undefined;
534
+ }, {
535
+ serverCommand: string;
536
+ timeout?: unknown;
537
+ serverArgs?: string[] | undefined;
538
+ configPath?: string | undefined;
539
+ force?: boolean | undefined;
540
+ outputPath?: string | undefined;
541
+ }>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ args: {
544
+ serverCommand: string;
545
+ timeout?: number | undefined;
546
+ serverArgs?: string[] | undefined;
547
+ configPath?: string | undefined;
548
+ force?: boolean | undefined;
549
+ outputPath?: string | undefined;
550
+ };
551
+ profile: "contract.generate";
552
+ }, {
553
+ args: {
554
+ serverCommand: string;
555
+ timeout?: unknown;
556
+ serverArgs?: string[] | undefined;
557
+ configPath?: string | undefined;
558
+ force?: boolean | undefined;
559
+ outputPath?: string | undefined;
560
+ };
561
+ profile: "contract.generate";
562
+ }>, z.ZodObject<{
563
+ profile: z.ZodLiteral<"contract.show">;
564
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
565
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
566
+ path: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
567
+ json: z.ZodOptional<z.ZodBoolean>;
568
+ }, "strict", z.ZodTypeAny, {
569
+ json?: boolean | undefined;
570
+ path?: string | undefined;
571
+ configPath?: string | undefined;
572
+ }, {
573
+ json?: boolean | undefined;
574
+ path?: string | undefined;
575
+ configPath?: string | undefined;
576
+ }>>>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ args: {
579
+ json?: boolean | undefined;
580
+ path?: string | undefined;
581
+ configPath?: string | undefined;
582
+ };
583
+ profile: "contract.show";
584
+ }, {
585
+ profile: "contract.show";
586
+ args?: {
587
+ json?: boolean | undefined;
588
+ path?: string | undefined;
589
+ configPath?: string | undefined;
590
+ } | undefined;
591
+ }>, z.ZodObject<{
592
+ profile: z.ZodLiteral<"golden.save">;
593
+ args: z.ZodEffects<z.ZodObject<{
594
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
595
+ toolName: z.ZodEffects<z.ZodString, string, string>;
596
+ argsJson: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
597
+ mode: z.ZodOptional<z.ZodEnum<["exact", "structural", "semantic"]>>;
598
+ allowedDrift: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
599
+ normalizeTimestamps: z.ZodOptional<z.ZodBoolean>;
600
+ normalizeUuids: z.ZodOptional<z.ZodBoolean>;
601
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
602
+ }, "strict", z.ZodTypeAny, {
603
+ toolName: string;
604
+ mode?: "structural" | "exact" | "semantic" | undefined;
605
+ description?: string | undefined;
606
+ normalizeTimestamps?: boolean | undefined;
607
+ normalizeUuids?: boolean | undefined;
608
+ configPath?: string | undefined;
609
+ allowedDrift?: string | undefined;
610
+ argsJson?: string | undefined;
611
+ }, {
612
+ toolName: string;
613
+ mode?: "structural" | "exact" | "semantic" | undefined;
614
+ description?: string | undefined;
615
+ normalizeTimestamps?: boolean | undefined;
616
+ normalizeUuids?: boolean | undefined;
617
+ configPath?: string | undefined;
618
+ allowedDrift?: string | undefined;
619
+ argsJson?: string | undefined;
620
+ }>, {
621
+ toolName: string;
622
+ mode?: "structural" | "exact" | "semantic" | undefined;
623
+ description?: string | undefined;
624
+ normalizeTimestamps?: boolean | undefined;
625
+ normalizeUuids?: boolean | undefined;
626
+ configPath?: string | undefined;
627
+ allowedDrift?: string | undefined;
628
+ argsJson?: string | undefined;
629
+ }, {
630
+ toolName: string;
631
+ mode?: "structural" | "exact" | "semantic" | undefined;
632
+ description?: string | undefined;
633
+ normalizeTimestamps?: boolean | undefined;
634
+ normalizeUuids?: boolean | undefined;
635
+ configPath?: string | undefined;
636
+ allowedDrift?: string | undefined;
637
+ argsJson?: string | undefined;
638
+ }>;
639
+ }, "strip", z.ZodTypeAny, {
640
+ args: {
641
+ toolName: string;
642
+ mode?: "structural" | "exact" | "semantic" | undefined;
643
+ description?: string | undefined;
644
+ normalizeTimestamps?: boolean | undefined;
645
+ normalizeUuids?: boolean | undefined;
646
+ configPath?: string | undefined;
647
+ allowedDrift?: string | undefined;
648
+ argsJson?: string | undefined;
649
+ };
650
+ profile: "golden.save";
651
+ }, {
652
+ args: {
653
+ toolName: string;
654
+ mode?: "structural" | "exact" | "semantic" | undefined;
655
+ description?: string | undefined;
656
+ normalizeTimestamps?: boolean | undefined;
657
+ normalizeUuids?: boolean | undefined;
658
+ configPath?: string | undefined;
659
+ allowedDrift?: string | undefined;
660
+ argsJson?: string | undefined;
661
+ };
662
+ profile: "golden.save";
663
+ }>, z.ZodObject<{
664
+ profile: z.ZodLiteral<"golden.compare">;
665
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
666
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
667
+ toolName: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
668
+ failOnDrift: z.ZodOptional<z.ZodBoolean>;
669
+ format: z.ZodOptional<z.ZodEnum<["text", "json", "markdown"]>>;
670
+ }, "strict", z.ZodTypeAny, {
671
+ format?: "text" | "json" | "markdown" | undefined;
672
+ toolName?: string | undefined;
673
+ failOnDrift?: boolean | undefined;
674
+ configPath?: string | undefined;
675
+ }, {
676
+ format?: "text" | "json" | "markdown" | undefined;
677
+ toolName?: string | undefined;
678
+ failOnDrift?: boolean | undefined;
679
+ configPath?: string | undefined;
680
+ }>>>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ args: {
683
+ format?: "text" | "json" | "markdown" | undefined;
684
+ toolName?: string | undefined;
685
+ failOnDrift?: boolean | undefined;
686
+ configPath?: string | undefined;
687
+ };
688
+ profile: "golden.compare";
689
+ }, {
690
+ profile: "golden.compare";
691
+ args?: {
692
+ format?: "text" | "json" | "markdown" | undefined;
693
+ toolName?: string | undefined;
694
+ failOnDrift?: boolean | undefined;
695
+ configPath?: string | undefined;
696
+ } | undefined;
697
+ }>, z.ZodObject<{
698
+ profile: z.ZodLiteral<"golden.list">;
699
+ args: z.ZodDefault<z.ZodOptional<z.ZodObject<{
700
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
701
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
702
+ }, "strict", z.ZodTypeAny, {
703
+ format?: "text" | "json" | undefined;
704
+ configPath?: string | undefined;
705
+ }, {
706
+ format?: "text" | "json" | undefined;
707
+ configPath?: string | undefined;
708
+ }>>>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ args: {
711
+ format?: "text" | "json" | undefined;
712
+ configPath?: string | undefined;
713
+ };
714
+ profile: "golden.list";
715
+ }, {
716
+ profile: "golden.list";
717
+ args?: {
718
+ format?: "text" | "json" | undefined;
719
+ configPath?: string | undefined;
720
+ } | undefined;
721
+ }>, z.ZodObject<{
722
+ profile: z.ZodLiteral<"golden.delete">;
723
+ args: z.ZodEffects<z.ZodObject<{
724
+ configPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
725
+ toolName: z.ZodEffects<z.ZodString, string, string>;
726
+ all: z.ZodOptional<z.ZodBoolean>;
727
+ }, "strict", z.ZodTypeAny, {
728
+ toolName: string;
729
+ all?: boolean | undefined;
730
+ configPath?: string | undefined;
731
+ }, {
732
+ toolName: string;
733
+ all?: boolean | undefined;
734
+ configPath?: string | undefined;
735
+ }>, {
736
+ toolName: string;
737
+ all?: boolean | undefined;
738
+ configPath?: string | undefined;
739
+ }, {
740
+ toolName: string;
741
+ all?: boolean | undefined;
742
+ configPath?: string | undefined;
743
+ }>;
744
+ }, "strip", z.ZodTypeAny, {
745
+ args: {
746
+ toolName: string;
747
+ all?: boolean | undefined;
748
+ configPath?: string | undefined;
749
+ };
750
+ profile: "golden.delete";
751
+ }, {
752
+ args: {
753
+ toolName: string;
754
+ all?: boolean | undefined;
755
+ configPath?: string | undefined;
756
+ };
757
+ profile: "golden.delete";
758
+ }>]>;
759
+ export type ParsedDashboardRunRequest = z.infer<typeof runRequestSchema>;
760
+ export declare function listDashboardProfiles(): DashboardProfileDefinition[];
761
+ export declare function parseDashboardRunRequest(request: DashboardStartRunRequest): ParsedDashboardRunRequest;
762
+ export declare function buildBellwetherArgs(request: ParsedDashboardRunRequest): string[];
763
+ export {};
764
+ //# sourceMappingURL=command-profiles.d.ts.map