@tlog/mcp 0.1.6 → 0.1.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/schemas.d.ts CHANGED
@@ -3,14 +3,167 @@ export declare const createSuiteInputSchema: {
3
3
  workspaceRoot: z.ZodString;
4
4
  targetDir: z.ZodString;
5
5
  instruction: z.ZodString;
6
- defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ defaults: z.ZodOptional<z.ZodObject<{
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ scoped: z.ZodOptional<z.ZodBoolean>;
10
+ owners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
11
+ duration: z.ZodOptional<z.ZodObject<{
12
+ scheduled: z.ZodObject<{
13
+ start: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
14
+ end: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ start: string & {
17
+ readonly __tlogDateBrand: "TlogDateString";
18
+ };
19
+ end: string & {
20
+ readonly __tlogDateBrand: "TlogDateString";
21
+ };
22
+ }, {
23
+ start: string;
24
+ end: string;
25
+ }>;
26
+ actual: z.ZodObject<{
27
+ start: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
28
+ end: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ start: string & {
31
+ readonly __tlogDateBrand: "TlogDateString";
32
+ };
33
+ end: string & {
34
+ readonly __tlogDateBrand: "TlogDateString";
35
+ };
36
+ }, {
37
+ start: string;
38
+ end: string;
39
+ }>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ scheduled: {
42
+ start: string & {
43
+ readonly __tlogDateBrand: "TlogDateString";
44
+ };
45
+ end: string & {
46
+ readonly __tlogDateBrand: "TlogDateString";
47
+ };
48
+ };
49
+ actual: {
50
+ start: string & {
51
+ readonly __tlogDateBrand: "TlogDateString";
52
+ };
53
+ end: string & {
54
+ readonly __tlogDateBrand: "TlogDateString";
55
+ };
56
+ };
57
+ }, {
58
+ scheduled: {
59
+ start: string;
60
+ end: string;
61
+ };
62
+ actual: {
63
+ start: string;
64
+ end: string;
65
+ };
66
+ }>>;
67
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ remarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69
+ }, "strict", z.ZodTypeAny, {
70
+ tags?: string[] | undefined;
71
+ description?: string | undefined;
72
+ scoped?: boolean | undefined;
73
+ owners?: string[] | undefined;
74
+ duration?: {
75
+ scheduled: {
76
+ start: string & {
77
+ readonly __tlogDateBrand: "TlogDateString";
78
+ };
79
+ end: string & {
80
+ readonly __tlogDateBrand: "TlogDateString";
81
+ };
82
+ };
83
+ actual: {
84
+ start: string & {
85
+ readonly __tlogDateBrand: "TlogDateString";
86
+ };
87
+ end: string & {
88
+ readonly __tlogDateBrand: "TlogDateString";
89
+ };
90
+ };
91
+ } | undefined;
92
+ related?: string[] | undefined;
93
+ remarks?: string[] | undefined;
94
+ }, {
95
+ tags?: string[] | undefined;
96
+ description?: string | undefined;
97
+ scoped?: boolean | undefined;
98
+ owners?: string[] | undefined;
99
+ duration?: {
100
+ scheduled: {
101
+ start: string;
102
+ end: string;
103
+ };
104
+ actual: {
105
+ start: string;
106
+ end: string;
107
+ };
108
+ } | undefined;
109
+ related?: string[] | undefined;
110
+ remarks?: string[] | undefined;
111
+ }>>;
7
112
  write: z.ZodDefault<z.ZodBoolean>;
8
113
  };
9
114
  export declare const createCaseInputSchema: {
10
115
  workspaceRoot: z.ZodString;
11
116
  suiteDir: z.ZodString;
12
117
  instruction: z.ZodString;
13
- context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
118
+ context: z.ZodOptional<z.ZodObject<{
119
+ operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
120
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
121
+ name: z.ZodOptional<z.ZodString>;
122
+ expected: z.ZodString;
123
+ actual: z.ZodOptional<z.ZodString>;
124
+ trails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["pass", "fail", "skip", "block"]>>>;
126
+ }, "strict", z.ZodTypeAny, {
127
+ expected: string;
128
+ actual?: string | undefined;
129
+ status?: "pass" | "fail" | "skip" | "block" | null | undefined;
130
+ name?: string | undefined;
131
+ trails?: string[] | undefined;
132
+ }, {
133
+ expected: string;
134
+ actual?: string | undefined;
135
+ status?: "pass" | "fail" | "skip" | "block" | null | undefined;
136
+ name?: string | undefined;
137
+ trails?: string[] | undefined;
138
+ }>, "many">>;
139
+ expected: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
140
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
141
+ description: z.ZodOptional<z.ZodString>;
142
+ }, "strict", z.ZodTypeAny, {
143
+ tags?: string[] | undefined;
144
+ description?: string | undefined;
145
+ operations?: string[] | undefined;
146
+ tests?: {
147
+ expected: string;
148
+ actual?: string | undefined;
149
+ status?: "pass" | "fail" | "skip" | "block" | null | undefined;
150
+ name?: string | undefined;
151
+ trails?: string[] | undefined;
152
+ }[] | undefined;
153
+ expected?: string | string[] | undefined;
154
+ }, {
155
+ tags?: string[] | undefined;
156
+ description?: string | undefined;
157
+ operations?: string[] | undefined;
158
+ tests?: {
159
+ expected: string;
160
+ actual?: string | undefined;
161
+ status?: "pass" | "fail" | "skip" | "block" | null | undefined;
162
+ name?: string | undefined;
163
+ trails?: string[] | undefined;
164
+ }[] | undefined;
165
+ expected?: string | string[] | undefined;
166
+ }>>;
14
167
  write: z.ZodDefault<z.ZodBoolean>;
15
168
  };
16
169
  export declare const expandCaseInputSchema: {
@@ -23,7 +176,126 @@ export declare const expandCaseInputSchema: {
23
176
  export declare const organizeInputSchema: {
24
177
  workspaceRoot: z.ZodString;
25
178
  testcasePath: z.ZodOptional<z.ZodString>;
26
- testcase: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
179
+ testcase: z.ZodOptional<z.ZodObject<{
180
+ title: z.ZodOptional<z.ZodString>;
181
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
182
+ description: z.ZodOptional<z.ZodString>;
183
+ scoped: z.ZodOptional<z.ZodBoolean>;
184
+ owners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
185
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
186
+ remarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["todo", "doing", "done"]>>>;
188
+ operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
189
+ completedDay: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>>;
190
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
191
+ name: z.ZodString;
192
+ expected: z.ZodString;
193
+ actual: z.ZodString;
194
+ trails: z.ZodArray<z.ZodString, "many">;
195
+ status: z.ZodNullable<z.ZodEnum<["pass", "fail", "skip", "block"]>>;
196
+ }, "strict", z.ZodTypeAny, {
197
+ expected: string;
198
+ status: "pass" | "fail" | "skip" | "block" | null;
199
+ actual: string;
200
+ name: string;
201
+ trails: string[];
202
+ }, {
203
+ expected: string;
204
+ status: "pass" | "fail" | "skip" | "block" | null;
205
+ actual: string;
206
+ name: string;
207
+ trails: string[];
208
+ }>, "many">>;
209
+ issues: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
210
+ incident: z.ZodString;
211
+ owners: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
212
+ causes: z.ZodArray<z.ZodString, "many">;
213
+ solutions: z.ZodArray<z.ZodString, "many">;
214
+ status: z.ZodEnum<["open", "doing", "resolved", "pending"]>;
215
+ detectedDay: z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>;
216
+ completedDay: z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>;
217
+ related: z.ZodArray<z.ZodString, "many">;
218
+ remarks: z.ZodArray<z.ZodString, "many">;
219
+ }, "strict", z.ZodTypeAny, {
220
+ status: "doing" | "open" | "resolved" | "pending";
221
+ owners: string[];
222
+ related: string[];
223
+ remarks: string[];
224
+ incident: string;
225
+ causes: string[];
226
+ solutions: string[];
227
+ detectedDay: import("@tlog/shared").TlogDateString | null;
228
+ completedDay: import("@tlog/shared").TlogDateString | null;
229
+ }, {
230
+ status: "doing" | "open" | "resolved" | "pending";
231
+ related: string[];
232
+ remarks: string[];
233
+ incident: string;
234
+ causes: string[];
235
+ solutions: string[];
236
+ detectedDay: string | null;
237
+ completedDay: string | null;
238
+ owners?: string[] | undefined;
239
+ }>, {
240
+ status: "doing" | "open" | "resolved" | "pending";
241
+ owners: string[];
242
+ related: string[];
243
+ remarks: string[];
244
+ incident: string;
245
+ causes: string[];
246
+ solutions: string[];
247
+ detectedDay: import("@tlog/shared").TlogDateString | null;
248
+ completedDay: import("@tlog/shared").TlogDateString | null;
249
+ }, unknown>, "many">>;
250
+ }, "strict", z.ZodTypeAny, {
251
+ title?: string | undefined;
252
+ tags?: string[] | undefined;
253
+ description?: string | undefined;
254
+ scoped?: boolean | undefined;
255
+ owners?: string[] | undefined;
256
+ related?: string[] | undefined;
257
+ remarks?: string[] | undefined;
258
+ status?: "todo" | "doing" | "done" | null | undefined;
259
+ operations?: string[] | undefined;
260
+ completedDay?: import("@tlog/shared").TlogDateString | null | undefined;
261
+ tests?: {
262
+ expected: string;
263
+ status: "pass" | "fail" | "skip" | "block" | null;
264
+ actual: string;
265
+ name: string;
266
+ trails: string[];
267
+ }[] | undefined;
268
+ issues?: {
269
+ status: "doing" | "open" | "resolved" | "pending";
270
+ owners: string[];
271
+ related: string[];
272
+ remarks: string[];
273
+ incident: string;
274
+ causes: string[];
275
+ solutions: string[];
276
+ detectedDay: import("@tlog/shared").TlogDateString | null;
277
+ completedDay: import("@tlog/shared").TlogDateString | null;
278
+ }[] | undefined;
279
+ }, {
280
+ title?: string | undefined;
281
+ tags?: string[] | undefined;
282
+ description?: string | undefined;
283
+ scoped?: boolean | undefined;
284
+ owners?: string[] | undefined;
285
+ related?: string[] | undefined;
286
+ remarks?: string[] | undefined;
287
+ status?: "todo" | "doing" | "done" | null | undefined;
288
+ operations?: string[] | undefined;
289
+ completedDay?: string | null | undefined;
290
+ tests?: {
291
+ expected: string;
292
+ status: "pass" | "fail" | "skip" | "block" | null;
293
+ actual: string;
294
+ name: string;
295
+ trails: string[];
296
+ }[] | undefined;
297
+ issues?: unknown[] | undefined;
298
+ }>>;
27
299
  strategy: z.ZodDefault<z.ZodEnum<["risk-based", "flow-based", "component-based"]>>;
28
300
  mode: z.ZodDefault<z.ZodEnum<["replace", "append", "auto"]>>;
29
301
  write: z.ZodDefault<z.ZodBoolean>;
@@ -45,7 +317,112 @@ export declare const createSuiteFileInputSchema: {
45
317
  dir: z.ZodString;
46
318
  id: z.ZodString;
47
319
  title: z.ZodString;
48
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
320
+ fields: z.ZodOptional<z.ZodObject<{
321
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
322
+ description: z.ZodOptional<z.ZodString>;
323
+ scoped: z.ZodOptional<z.ZodBoolean>;
324
+ owners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
325
+ duration: z.ZodOptional<z.ZodObject<{
326
+ scheduled: z.ZodObject<{
327
+ start: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
328
+ end: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ start: string & {
331
+ readonly __tlogDateBrand: "TlogDateString";
332
+ };
333
+ end: string & {
334
+ readonly __tlogDateBrand: "TlogDateString";
335
+ };
336
+ }, {
337
+ start: string;
338
+ end: string;
339
+ }>;
340
+ actual: z.ZodObject<{
341
+ start: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
342
+ end: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ start: string & {
345
+ readonly __tlogDateBrand: "TlogDateString";
346
+ };
347
+ end: string & {
348
+ readonly __tlogDateBrand: "TlogDateString";
349
+ };
350
+ }, {
351
+ start: string;
352
+ end: string;
353
+ }>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ scheduled: {
356
+ start: string & {
357
+ readonly __tlogDateBrand: "TlogDateString";
358
+ };
359
+ end: string & {
360
+ readonly __tlogDateBrand: "TlogDateString";
361
+ };
362
+ };
363
+ actual: {
364
+ start: string & {
365
+ readonly __tlogDateBrand: "TlogDateString";
366
+ };
367
+ end: string & {
368
+ readonly __tlogDateBrand: "TlogDateString";
369
+ };
370
+ };
371
+ }, {
372
+ scheduled: {
373
+ start: string;
374
+ end: string;
375
+ };
376
+ actual: {
377
+ start: string;
378
+ end: string;
379
+ };
380
+ }>>;
381
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
382
+ remarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
383
+ }, "strict", z.ZodTypeAny, {
384
+ tags?: string[] | undefined;
385
+ description?: string | undefined;
386
+ scoped?: boolean | undefined;
387
+ owners?: string[] | undefined;
388
+ duration?: {
389
+ scheduled: {
390
+ start: string & {
391
+ readonly __tlogDateBrand: "TlogDateString";
392
+ };
393
+ end: string & {
394
+ readonly __tlogDateBrand: "TlogDateString";
395
+ };
396
+ };
397
+ actual: {
398
+ start: string & {
399
+ readonly __tlogDateBrand: "TlogDateString";
400
+ };
401
+ end: string & {
402
+ readonly __tlogDateBrand: "TlogDateString";
403
+ };
404
+ };
405
+ } | undefined;
406
+ related?: string[] | undefined;
407
+ remarks?: string[] | undefined;
408
+ }, {
409
+ tags?: string[] | undefined;
410
+ description?: string | undefined;
411
+ scoped?: boolean | undefined;
412
+ owners?: string[] | undefined;
413
+ duration?: {
414
+ scheduled: {
415
+ start: string;
416
+ end: string;
417
+ };
418
+ actual: {
419
+ start: string;
420
+ end: string;
421
+ };
422
+ } | undefined;
423
+ related?: string[] | undefined;
424
+ remarks?: string[] | undefined;
425
+ }>>;
49
426
  write: z.ZodDefault<z.ZodBoolean>;
50
427
  };
51
428
  export declare const createCaseFileInputSchema: {
@@ -53,7 +430,123 @@ export declare const createCaseFileInputSchema: {
53
430
  dir: z.ZodString;
54
431
  id: z.ZodString;
55
432
  title: z.ZodString;
56
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
433
+ fields: z.ZodOptional<z.ZodObject<{
434
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
435
+ description: z.ZodOptional<z.ZodString>;
436
+ scoped: z.ZodOptional<z.ZodBoolean>;
437
+ owners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
438
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
439
+ remarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
440
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["todo", "doing", "done"]>>>;
441
+ operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
442
+ completedDay: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>>;
443
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
+ name: z.ZodString;
445
+ expected: z.ZodString;
446
+ actual: z.ZodString;
447
+ trails: z.ZodArray<z.ZodString, "many">;
448
+ status: z.ZodNullable<z.ZodEnum<["pass", "fail", "skip", "block"]>>;
449
+ }, "strict", z.ZodTypeAny, {
450
+ expected: string;
451
+ status: "pass" | "fail" | "skip" | "block" | null;
452
+ actual: string;
453
+ name: string;
454
+ trails: string[];
455
+ }, {
456
+ expected: string;
457
+ status: "pass" | "fail" | "skip" | "block" | null;
458
+ actual: string;
459
+ name: string;
460
+ trails: string[];
461
+ }>, "many">>;
462
+ issues: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
463
+ incident: z.ZodString;
464
+ owners: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
465
+ causes: z.ZodArray<z.ZodString, "many">;
466
+ solutions: z.ZodArray<z.ZodString, "many">;
467
+ status: z.ZodEnum<["open", "doing", "resolved", "pending"]>;
468
+ detectedDay: z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>;
469
+ completedDay: z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>;
470
+ related: z.ZodArray<z.ZodString, "many">;
471
+ remarks: z.ZodArray<z.ZodString, "many">;
472
+ }, "strict", z.ZodTypeAny, {
473
+ status: "doing" | "open" | "resolved" | "pending";
474
+ owners: string[];
475
+ related: string[];
476
+ remarks: string[];
477
+ incident: string;
478
+ causes: string[];
479
+ solutions: string[];
480
+ detectedDay: import("@tlog/shared").TlogDateString | null;
481
+ completedDay: import("@tlog/shared").TlogDateString | null;
482
+ }, {
483
+ status: "doing" | "open" | "resolved" | "pending";
484
+ related: string[];
485
+ remarks: string[];
486
+ incident: string;
487
+ causes: string[];
488
+ solutions: string[];
489
+ detectedDay: string | null;
490
+ completedDay: string | null;
491
+ owners?: string[] | undefined;
492
+ }>, {
493
+ status: "doing" | "open" | "resolved" | "pending";
494
+ owners: string[];
495
+ related: string[];
496
+ remarks: string[];
497
+ incident: string;
498
+ causes: string[];
499
+ solutions: string[];
500
+ detectedDay: import("@tlog/shared").TlogDateString | null;
501
+ completedDay: import("@tlog/shared").TlogDateString | null;
502
+ }, unknown>, "many">>;
503
+ }, "strict", z.ZodTypeAny, {
504
+ tags?: string[] | undefined;
505
+ description?: string | undefined;
506
+ scoped?: boolean | undefined;
507
+ owners?: string[] | undefined;
508
+ related?: string[] | undefined;
509
+ remarks?: string[] | undefined;
510
+ status?: "todo" | "doing" | "done" | null | undefined;
511
+ operations?: string[] | undefined;
512
+ completedDay?: import("@tlog/shared").TlogDateString | null | undefined;
513
+ tests?: {
514
+ expected: string;
515
+ status: "pass" | "fail" | "skip" | "block" | null;
516
+ actual: string;
517
+ name: string;
518
+ trails: string[];
519
+ }[] | undefined;
520
+ issues?: {
521
+ status: "doing" | "open" | "resolved" | "pending";
522
+ owners: string[];
523
+ related: string[];
524
+ remarks: string[];
525
+ incident: string;
526
+ causes: string[];
527
+ solutions: string[];
528
+ detectedDay: import("@tlog/shared").TlogDateString | null;
529
+ completedDay: import("@tlog/shared").TlogDateString | null;
530
+ }[] | undefined;
531
+ }, {
532
+ tags?: string[] | undefined;
533
+ description?: string | undefined;
534
+ scoped?: boolean | undefined;
535
+ owners?: string[] | undefined;
536
+ related?: string[] | undefined;
537
+ remarks?: string[] | undefined;
538
+ status?: "todo" | "doing" | "done" | null | undefined;
539
+ operations?: string[] | undefined;
540
+ completedDay?: string | null | undefined;
541
+ tests?: {
542
+ expected: string;
543
+ status: "pass" | "fail" | "skip" | "block" | null;
544
+ actual: string;
545
+ name: string;
546
+ trails: string[];
547
+ }[] | undefined;
548
+ issues?: unknown[] | undefined;
549
+ }>>;
57
550
  write: z.ZodDefault<z.ZodBoolean>;
58
551
  };
59
552
  export declare const validateTestsDirectoryInputSchema: {
@@ -70,7 +563,7 @@ export declare const listSuitesInputSchema: {
70
563
  filters: z.ZodOptional<z.ZodObject<{
71
564
  id: z.ZodOptional<z.ZodString>;
72
565
  tag: z.ZodOptional<z.ZodString>;
73
- }, "strip", z.ZodTypeAny, {
566
+ }, "strict", z.ZodTypeAny, {
74
567
  id?: string | undefined;
75
568
  tag?: string | undefined;
76
569
  }, {
@@ -83,27 +576,27 @@ export declare const listCasesInputSchema: {
83
576
  dir: z.ZodString;
84
577
  filters: z.ZodOptional<z.ZodObject<{
85
578
  id: z.ZodOptional<z.ZodString>;
86
- status: z.ZodOptional<z.ZodString>;
579
+ status: z.ZodOptional<z.ZodEnum<["todo", "doing", "done"]>>;
87
580
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88
581
  owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
89
582
  scopedOnly: z.ZodOptional<z.ZodBoolean>;
90
583
  issueHas: z.ZodOptional<z.ZodString>;
91
- issueStatus: z.ZodOptional<z.ZodString>;
92
- }, "strip", z.ZodTypeAny, {
584
+ issueStatus: z.ZodOptional<z.ZodEnum<["open", "doing", "resolved", "pending"]>>;
585
+ }, "strict", z.ZodTypeAny, {
93
586
  id?: string | undefined;
94
587
  tags?: string[] | undefined;
95
588
  owners?: string[] | undefined;
96
- status?: string | undefined;
589
+ status?: "todo" | "doing" | "done" | undefined;
97
590
  scopedOnly?: boolean | undefined;
98
- issueStatus?: string | undefined;
591
+ issueStatus?: "doing" | "open" | "resolved" | "pending" | undefined;
99
592
  issueHas?: string | undefined;
100
593
  }, {
101
594
  id?: string | undefined;
102
595
  tags?: string[] | undefined;
103
596
  owners?: string[] | undefined;
104
- status?: string | undefined;
597
+ status?: "todo" | "doing" | "done" | undefined;
105
598
  scopedOnly?: boolean | undefined;
106
- issueStatus?: string | undefined;
599
+ issueStatus?: "doing" | "open" | "resolved" | "pending" | undefined;
107
600
  issueHas?: string | undefined;
108
601
  }>>;
109
602
  };
@@ -116,14 +609,241 @@ export declare const updateSuiteInputSchema: {
116
609
  workspaceRoot: z.ZodString;
117
610
  dir: z.ZodString;
118
611
  id: z.ZodString;
119
- patch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
612
+ patch: z.ZodObject<{
613
+ title: z.ZodOptional<z.ZodString>;
614
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
615
+ description: z.ZodOptional<z.ZodString>;
616
+ scoped: z.ZodOptional<z.ZodBoolean>;
617
+ owners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
618
+ duration: z.ZodOptional<z.ZodObject<{
619
+ scheduled: z.ZodObject<{
620
+ start: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
621
+ end: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ start: string & {
624
+ readonly __tlogDateBrand: "TlogDateString";
625
+ };
626
+ end: string & {
627
+ readonly __tlogDateBrand: "TlogDateString";
628
+ };
629
+ }, {
630
+ start: string;
631
+ end: string;
632
+ }>;
633
+ actual: z.ZodObject<{
634
+ start: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
635
+ end: z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>;
636
+ }, "strip", z.ZodTypeAny, {
637
+ start: string & {
638
+ readonly __tlogDateBrand: "TlogDateString";
639
+ };
640
+ end: string & {
641
+ readonly __tlogDateBrand: "TlogDateString";
642
+ };
643
+ }, {
644
+ start: string;
645
+ end: string;
646
+ }>;
647
+ }, "strip", z.ZodTypeAny, {
648
+ scheduled: {
649
+ start: string & {
650
+ readonly __tlogDateBrand: "TlogDateString";
651
+ };
652
+ end: string & {
653
+ readonly __tlogDateBrand: "TlogDateString";
654
+ };
655
+ };
656
+ actual: {
657
+ start: string & {
658
+ readonly __tlogDateBrand: "TlogDateString";
659
+ };
660
+ end: string & {
661
+ readonly __tlogDateBrand: "TlogDateString";
662
+ };
663
+ };
664
+ }, {
665
+ scheduled: {
666
+ start: string;
667
+ end: string;
668
+ };
669
+ actual: {
670
+ start: string;
671
+ end: string;
672
+ };
673
+ }>>;
674
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
675
+ remarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
676
+ }, "strict", z.ZodTypeAny, {
677
+ title?: string | undefined;
678
+ tags?: string[] | undefined;
679
+ description?: string | undefined;
680
+ scoped?: boolean | undefined;
681
+ owners?: string[] | undefined;
682
+ duration?: {
683
+ scheduled: {
684
+ start: string & {
685
+ readonly __tlogDateBrand: "TlogDateString";
686
+ };
687
+ end: string & {
688
+ readonly __tlogDateBrand: "TlogDateString";
689
+ };
690
+ };
691
+ actual: {
692
+ start: string & {
693
+ readonly __tlogDateBrand: "TlogDateString";
694
+ };
695
+ end: string & {
696
+ readonly __tlogDateBrand: "TlogDateString";
697
+ };
698
+ };
699
+ } | undefined;
700
+ related?: string[] | undefined;
701
+ remarks?: string[] | undefined;
702
+ }, {
703
+ title?: string | undefined;
704
+ tags?: string[] | undefined;
705
+ description?: string | undefined;
706
+ scoped?: boolean | undefined;
707
+ owners?: string[] | undefined;
708
+ duration?: {
709
+ scheduled: {
710
+ start: string;
711
+ end: string;
712
+ };
713
+ actual: {
714
+ start: string;
715
+ end: string;
716
+ };
717
+ } | undefined;
718
+ related?: string[] | undefined;
719
+ remarks?: string[] | undefined;
720
+ }>;
120
721
  write: z.ZodDefault<z.ZodBoolean>;
121
722
  };
122
723
  export declare const updateCaseInputSchema: {
123
724
  workspaceRoot: z.ZodString;
124
725
  dir: z.ZodString;
125
726
  id: z.ZodString;
126
- patch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
727
+ patch: z.ZodObject<{
728
+ title: z.ZodOptional<z.ZodString>;
729
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
730
+ description: z.ZodOptional<z.ZodString>;
731
+ scoped: z.ZodOptional<z.ZodBoolean>;
732
+ owners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
733
+ related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
734
+ remarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
735
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["todo", "doing", "done"]>>>;
736
+ operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
737
+ completedDay: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>>;
738
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
739
+ name: z.ZodString;
740
+ expected: z.ZodString;
741
+ actual: z.ZodString;
742
+ trails: z.ZodArray<z.ZodString, "many">;
743
+ status: z.ZodNullable<z.ZodEnum<["pass", "fail", "skip", "block"]>>;
744
+ }, "strict", z.ZodTypeAny, {
745
+ expected: string;
746
+ status: "pass" | "fail" | "skip" | "block" | null;
747
+ actual: string;
748
+ name: string;
749
+ trails: string[];
750
+ }, {
751
+ expected: string;
752
+ status: "pass" | "fail" | "skip" | "block" | null;
753
+ actual: string;
754
+ name: string;
755
+ trails: string[];
756
+ }>, "many">>;
757
+ issues: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
758
+ incident: z.ZodString;
759
+ owners: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
760
+ causes: z.ZodArray<z.ZodString, "many">;
761
+ solutions: z.ZodArray<z.ZodString, "many">;
762
+ status: z.ZodEnum<["open", "doing", "resolved", "pending"]>;
763
+ detectedDay: z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>;
764
+ completedDay: z.ZodNullable<z.ZodEffects<z.ZodString, import("@tlog/shared").TlogDateString, string>>;
765
+ related: z.ZodArray<z.ZodString, "many">;
766
+ remarks: z.ZodArray<z.ZodString, "many">;
767
+ }, "strict", z.ZodTypeAny, {
768
+ status: "doing" | "open" | "resolved" | "pending";
769
+ owners: string[];
770
+ related: string[];
771
+ remarks: string[];
772
+ incident: string;
773
+ causes: string[];
774
+ solutions: string[];
775
+ detectedDay: import("@tlog/shared").TlogDateString | null;
776
+ completedDay: import("@tlog/shared").TlogDateString | null;
777
+ }, {
778
+ status: "doing" | "open" | "resolved" | "pending";
779
+ related: string[];
780
+ remarks: string[];
781
+ incident: string;
782
+ causes: string[];
783
+ solutions: string[];
784
+ detectedDay: string | null;
785
+ completedDay: string | null;
786
+ owners?: string[] | undefined;
787
+ }>, {
788
+ status: "doing" | "open" | "resolved" | "pending";
789
+ owners: string[];
790
+ related: string[];
791
+ remarks: string[];
792
+ incident: string;
793
+ causes: string[];
794
+ solutions: string[];
795
+ detectedDay: import("@tlog/shared").TlogDateString | null;
796
+ completedDay: import("@tlog/shared").TlogDateString | null;
797
+ }, unknown>, "many">>;
798
+ }, "strict", z.ZodTypeAny, {
799
+ title?: string | undefined;
800
+ tags?: string[] | undefined;
801
+ description?: string | undefined;
802
+ scoped?: boolean | undefined;
803
+ owners?: string[] | undefined;
804
+ related?: string[] | undefined;
805
+ remarks?: string[] | undefined;
806
+ status?: "todo" | "doing" | "done" | null | undefined;
807
+ operations?: string[] | undefined;
808
+ completedDay?: import("@tlog/shared").TlogDateString | null | undefined;
809
+ tests?: {
810
+ expected: string;
811
+ status: "pass" | "fail" | "skip" | "block" | null;
812
+ actual: string;
813
+ name: string;
814
+ trails: string[];
815
+ }[] | undefined;
816
+ issues?: {
817
+ status: "doing" | "open" | "resolved" | "pending";
818
+ owners: string[];
819
+ related: string[];
820
+ remarks: string[];
821
+ incident: string;
822
+ causes: string[];
823
+ solutions: string[];
824
+ detectedDay: import("@tlog/shared").TlogDateString | null;
825
+ completedDay: import("@tlog/shared").TlogDateString | null;
826
+ }[] | undefined;
827
+ }, {
828
+ title?: string | undefined;
829
+ tags?: string[] | undefined;
830
+ description?: string | undefined;
831
+ scoped?: boolean | undefined;
832
+ owners?: string[] | undefined;
833
+ related?: string[] | undefined;
834
+ remarks?: string[] | undefined;
835
+ status?: "todo" | "doing" | "done" | null | undefined;
836
+ operations?: string[] | undefined;
837
+ completedDay?: string | null | undefined;
838
+ tests?: {
839
+ expected: string;
840
+ status: "pass" | "fail" | "skip" | "block" | null;
841
+ actual: string;
842
+ name: string;
843
+ trails: string[];
844
+ }[] | undefined;
845
+ issues?: unknown[] | undefined;
846
+ }>;
127
847
  write: z.ZodDefault<z.ZodBoolean>;
128
848
  };
129
849
  export declare const getTlogSchemaInputSchema: {
@@ -169,4 +889,18 @@ export declare const deleteEntityInputSchema: {
169
889
  dryRun: z.ZodBoolean;
170
890
  confirm: z.ZodOptional<z.ZodBoolean>;
171
891
  };
892
+ export declare const mutationOperationSchema: z.ZodEnum<["create_suite_from_prompt", "create_testcase_from_prompt", "create_suite_file", "create_case_file", "update_suite", "update_case"]>;
893
+ export declare const preflightToolInputSchema: {
894
+ operation: z.ZodEnum<["create_suite_from_prompt", "create_testcase_from_prompt", "create_suite_file", "create_case_file", "update_suite", "update_case"]>;
895
+ draft: z.ZodRecord<z.ZodString, z.ZodUnknown>;
896
+ };
897
+ export type MutationOperation = z.infer<typeof mutationOperationSchema>;
898
+ export declare function validateMutationDraft(operation: MutationOperation, draft: Record<string, unknown>): {
899
+ valid: boolean;
900
+ errors: Array<{
901
+ path: string;
902
+ message: string;
903
+ }>;
904
+ normalizedDraft?: Record<string, unknown>;
905
+ };
172
906
  //# sourceMappingURL=schemas.d.ts.map