@agent-plan/core 0.2.19 → 0.2.21
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/display-status.d.ts +5 -3
- package/dist/display-status.d.ts.map +1 -1
- package/dist/display-status.js +14 -5
- package/dist/plan-store.d.ts +11 -3
- package/dist/plan-store.d.ts.map +1 -1
- package/dist/plan-store.js +151 -22
- package/dist/recap.d.ts.map +1 -1
- package/dist/recap.js +63 -5
- package/dist/schema.d.ts +1159 -248
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +39 -7
- package/dist/task-selection.d.ts.map +1 -1
- package/dist/task-selection.js +30 -22
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -272,6 +272,39 @@ export declare const AcceptedDecisionSchema: z.ZodObject<{
|
|
|
272
272
|
rationale?: string | undefined;
|
|
273
273
|
implementationNotes?: string | undefined;
|
|
274
274
|
}>;
|
|
275
|
+
export declare const TaskPauseSnapshotSchema: z.ZodObject<{
|
|
276
|
+
id: z.ZodString;
|
|
277
|
+
/** Why work stopped or changed focus. */
|
|
278
|
+
reason: z.ZodString;
|
|
279
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
280
|
+
whatWasBeingDone: z.ZodString;
|
|
281
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
282
|
+
resumeLocation: z.ZodString;
|
|
283
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
284
|
+
howToResume: z.ZodString;
|
|
285
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
286
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
287
|
+
pausedAt: z.ZodString;
|
|
288
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
289
|
+
}, "strip", z.ZodTypeAny, {
|
|
290
|
+
id: string;
|
|
291
|
+
reason: string;
|
|
292
|
+
whatWasBeingDone: string;
|
|
293
|
+
resumeLocation: string;
|
|
294
|
+
howToResume: string;
|
|
295
|
+
relatedTaskId: string;
|
|
296
|
+
pausedAt: string;
|
|
297
|
+
pausedBy: string;
|
|
298
|
+
}, {
|
|
299
|
+
id: string;
|
|
300
|
+
reason: string;
|
|
301
|
+
whatWasBeingDone: string;
|
|
302
|
+
resumeLocation: string;
|
|
303
|
+
howToResume: string;
|
|
304
|
+
pausedAt: string;
|
|
305
|
+
relatedTaskId?: string | undefined;
|
|
306
|
+
pausedBy?: string | undefined;
|
|
307
|
+
}>;
|
|
275
308
|
export declare const WorkDeviationSchema: z.ZodObject<{
|
|
276
309
|
id: z.ZodString;
|
|
277
310
|
/** Task the priority selector recommended when the deviation was approved. */
|
|
@@ -281,24 +314,75 @@ export declare const WorkDeviationSchema: z.ZodObject<{
|
|
|
281
314
|
/** Task to surface explicitly after the temporary work is resolved. */
|
|
282
315
|
resumeTaskId: z.ZodString;
|
|
283
316
|
reason: z.ZodDefault<z.ZodString>;
|
|
317
|
+
/** Durable checkpoint captured when the resume task was paused. */
|
|
318
|
+
snapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
319
|
+
id: z.ZodString;
|
|
320
|
+
/** Why work stopped or changed focus. */
|
|
321
|
+
reason: z.ZodString;
|
|
322
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
323
|
+
whatWasBeingDone: z.ZodString;
|
|
324
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
325
|
+
resumeLocation: z.ZodString;
|
|
326
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
327
|
+
howToResume: z.ZodString;
|
|
328
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
329
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
330
|
+
pausedAt: z.ZodString;
|
|
331
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
332
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
id: string;
|
|
334
|
+
reason: string;
|
|
335
|
+
whatWasBeingDone: string;
|
|
336
|
+
resumeLocation: string;
|
|
337
|
+
howToResume: string;
|
|
338
|
+
relatedTaskId: string;
|
|
339
|
+
pausedAt: string;
|
|
340
|
+
pausedBy: string;
|
|
341
|
+
}, {
|
|
342
|
+
id: string;
|
|
343
|
+
reason: string;
|
|
344
|
+
whatWasBeingDone: string;
|
|
345
|
+
resumeLocation: string;
|
|
346
|
+
howToResume: string;
|
|
347
|
+
pausedAt: string;
|
|
348
|
+
relatedTaskId?: string | undefined;
|
|
349
|
+
pausedBy?: string | undefined;
|
|
350
|
+
}>>>;
|
|
284
351
|
requestedBy: z.ZodDefault<z.ZodEnum<["agent", "user"]>>;
|
|
285
352
|
approvedBy: z.ZodDefault<z.ZodString>;
|
|
286
|
-
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resolved", "canceled"]>>;
|
|
353
|
+
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resume-required", "resolved", "resumed", "canceled"]>>;
|
|
287
354
|
createdAt: z.ZodString;
|
|
288
355
|
activatedAt: z.ZodDefault<z.ZodString>;
|
|
356
|
+
/** When temporary work ended and the resume target became mandatory. */
|
|
357
|
+
resumeRequiredAt: z.ZodDefault<z.ZodString>;
|
|
358
|
+
/** Legacy temporary-work completion timestamp. */
|
|
289
359
|
resolvedAt: z.ZodDefault<z.ZodString>;
|
|
360
|
+
/** When the preserved resume target was actually started again. */
|
|
361
|
+
resumedAt: z.ZodDefault<z.ZodString>;
|
|
290
362
|
}, "strip", z.ZodTypeAny, {
|
|
291
363
|
id: string;
|
|
292
364
|
createdAt: string;
|
|
365
|
+
reason: string;
|
|
293
366
|
recommendedTaskId: string;
|
|
294
367
|
temporaryTaskId: string;
|
|
295
368
|
resumeTaskId: string;
|
|
296
|
-
|
|
369
|
+
snapshot: {
|
|
370
|
+
id: string;
|
|
371
|
+
reason: string;
|
|
372
|
+
whatWasBeingDone: string;
|
|
373
|
+
resumeLocation: string;
|
|
374
|
+
howToResume: string;
|
|
375
|
+
relatedTaskId: string;
|
|
376
|
+
pausedAt: string;
|
|
377
|
+
pausedBy: string;
|
|
378
|
+
} | null;
|
|
297
379
|
requestedBy: "agent" | "user";
|
|
298
380
|
approvedBy: string;
|
|
299
|
-
state: "approved" | "active" | "resolved" | "canceled";
|
|
381
|
+
state: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled";
|
|
300
382
|
activatedAt: string;
|
|
383
|
+
resumeRequiredAt: string;
|
|
301
384
|
resolvedAt: string;
|
|
385
|
+
resumedAt: string;
|
|
302
386
|
}, {
|
|
303
387
|
id: string;
|
|
304
388
|
createdAt: string;
|
|
@@ -306,11 +390,23 @@ export declare const WorkDeviationSchema: z.ZodObject<{
|
|
|
306
390
|
temporaryTaskId: string;
|
|
307
391
|
resumeTaskId: string;
|
|
308
392
|
reason?: string | undefined;
|
|
393
|
+
snapshot?: {
|
|
394
|
+
id: string;
|
|
395
|
+
reason: string;
|
|
396
|
+
whatWasBeingDone: string;
|
|
397
|
+
resumeLocation: string;
|
|
398
|
+
howToResume: string;
|
|
399
|
+
pausedAt: string;
|
|
400
|
+
relatedTaskId?: string | undefined;
|
|
401
|
+
pausedBy?: string | undefined;
|
|
402
|
+
} | null | undefined;
|
|
309
403
|
requestedBy?: "agent" | "user" | undefined;
|
|
310
404
|
approvedBy?: string | undefined;
|
|
311
|
-
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
405
|
+
state?: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled" | undefined;
|
|
312
406
|
activatedAt?: string | undefined;
|
|
407
|
+
resumeRequiredAt?: string | undefined;
|
|
313
408
|
resolvedAt?: string | undefined;
|
|
409
|
+
resumedAt?: string | undefined;
|
|
314
410
|
}>;
|
|
315
411
|
export declare const ProjectSchema: z.ZodObject<{
|
|
316
412
|
name: z.ZodString;
|
|
@@ -374,24 +470,75 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
374
470
|
/** Task to surface explicitly after the temporary work is resolved. */
|
|
375
471
|
resumeTaskId: z.ZodString;
|
|
376
472
|
reason: z.ZodDefault<z.ZodString>;
|
|
473
|
+
/** Durable checkpoint captured when the resume task was paused. */
|
|
474
|
+
snapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
475
|
+
id: z.ZodString;
|
|
476
|
+
/** Why work stopped or changed focus. */
|
|
477
|
+
reason: z.ZodString;
|
|
478
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
479
|
+
whatWasBeingDone: z.ZodString;
|
|
480
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
481
|
+
resumeLocation: z.ZodString;
|
|
482
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
483
|
+
howToResume: z.ZodString;
|
|
484
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
485
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
486
|
+
pausedAt: z.ZodString;
|
|
487
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
488
|
+
}, "strip", z.ZodTypeAny, {
|
|
489
|
+
id: string;
|
|
490
|
+
reason: string;
|
|
491
|
+
whatWasBeingDone: string;
|
|
492
|
+
resumeLocation: string;
|
|
493
|
+
howToResume: string;
|
|
494
|
+
relatedTaskId: string;
|
|
495
|
+
pausedAt: string;
|
|
496
|
+
pausedBy: string;
|
|
497
|
+
}, {
|
|
498
|
+
id: string;
|
|
499
|
+
reason: string;
|
|
500
|
+
whatWasBeingDone: string;
|
|
501
|
+
resumeLocation: string;
|
|
502
|
+
howToResume: string;
|
|
503
|
+
pausedAt: string;
|
|
504
|
+
relatedTaskId?: string | undefined;
|
|
505
|
+
pausedBy?: string | undefined;
|
|
506
|
+
}>>>;
|
|
377
507
|
requestedBy: z.ZodDefault<z.ZodEnum<["agent", "user"]>>;
|
|
378
508
|
approvedBy: z.ZodDefault<z.ZodString>;
|
|
379
|
-
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resolved", "canceled"]>>;
|
|
509
|
+
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resume-required", "resolved", "resumed", "canceled"]>>;
|
|
380
510
|
createdAt: z.ZodString;
|
|
381
511
|
activatedAt: z.ZodDefault<z.ZodString>;
|
|
512
|
+
/** When temporary work ended and the resume target became mandatory. */
|
|
513
|
+
resumeRequiredAt: z.ZodDefault<z.ZodString>;
|
|
514
|
+
/** Legacy temporary-work completion timestamp. */
|
|
382
515
|
resolvedAt: z.ZodDefault<z.ZodString>;
|
|
516
|
+
/** When the preserved resume target was actually started again. */
|
|
517
|
+
resumedAt: z.ZodDefault<z.ZodString>;
|
|
383
518
|
}, "strip", z.ZodTypeAny, {
|
|
384
519
|
id: string;
|
|
385
520
|
createdAt: string;
|
|
521
|
+
reason: string;
|
|
386
522
|
recommendedTaskId: string;
|
|
387
523
|
temporaryTaskId: string;
|
|
388
524
|
resumeTaskId: string;
|
|
389
|
-
|
|
525
|
+
snapshot: {
|
|
526
|
+
id: string;
|
|
527
|
+
reason: string;
|
|
528
|
+
whatWasBeingDone: string;
|
|
529
|
+
resumeLocation: string;
|
|
530
|
+
howToResume: string;
|
|
531
|
+
relatedTaskId: string;
|
|
532
|
+
pausedAt: string;
|
|
533
|
+
pausedBy: string;
|
|
534
|
+
} | null;
|
|
390
535
|
requestedBy: "agent" | "user";
|
|
391
536
|
approvedBy: string;
|
|
392
|
-
state: "approved" | "active" | "resolved" | "canceled";
|
|
537
|
+
state: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled";
|
|
393
538
|
activatedAt: string;
|
|
539
|
+
resumeRequiredAt: string;
|
|
394
540
|
resolvedAt: string;
|
|
541
|
+
resumedAt: string;
|
|
395
542
|
}, {
|
|
396
543
|
id: string;
|
|
397
544
|
createdAt: string;
|
|
@@ -399,11 +546,23 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
399
546
|
temporaryTaskId: string;
|
|
400
547
|
resumeTaskId: string;
|
|
401
548
|
reason?: string | undefined;
|
|
549
|
+
snapshot?: {
|
|
550
|
+
id: string;
|
|
551
|
+
reason: string;
|
|
552
|
+
whatWasBeingDone: string;
|
|
553
|
+
resumeLocation: string;
|
|
554
|
+
howToResume: string;
|
|
555
|
+
pausedAt: string;
|
|
556
|
+
relatedTaskId?: string | undefined;
|
|
557
|
+
pausedBy?: string | undefined;
|
|
558
|
+
} | null | undefined;
|
|
402
559
|
requestedBy?: "agent" | "user" | undefined;
|
|
403
560
|
approvedBy?: string | undefined;
|
|
404
|
-
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
561
|
+
state?: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled" | undefined;
|
|
405
562
|
activatedAt?: string | undefined;
|
|
563
|
+
resumeRequiredAt?: string | undefined;
|
|
406
564
|
resolvedAt?: string | undefined;
|
|
565
|
+
resumedAt?: string | undefined;
|
|
407
566
|
}>, "many">>;
|
|
408
567
|
}, "strip", z.ZodTypeAny, {
|
|
409
568
|
name: string;
|
|
@@ -437,15 +596,27 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
437
596
|
workDeviations: {
|
|
438
597
|
id: string;
|
|
439
598
|
createdAt: string;
|
|
599
|
+
reason: string;
|
|
440
600
|
recommendedTaskId: string;
|
|
441
601
|
temporaryTaskId: string;
|
|
442
602
|
resumeTaskId: string;
|
|
443
|
-
|
|
603
|
+
snapshot: {
|
|
604
|
+
id: string;
|
|
605
|
+
reason: string;
|
|
606
|
+
whatWasBeingDone: string;
|
|
607
|
+
resumeLocation: string;
|
|
608
|
+
howToResume: string;
|
|
609
|
+
relatedTaskId: string;
|
|
610
|
+
pausedAt: string;
|
|
611
|
+
pausedBy: string;
|
|
612
|
+
} | null;
|
|
444
613
|
requestedBy: "agent" | "user";
|
|
445
614
|
approvedBy: string;
|
|
446
|
-
state: "approved" | "active" | "resolved" | "canceled";
|
|
615
|
+
state: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled";
|
|
447
616
|
activatedAt: string;
|
|
617
|
+
resumeRequiredAt: string;
|
|
448
618
|
resolvedAt: string;
|
|
619
|
+
resumedAt: string;
|
|
449
620
|
}[];
|
|
450
621
|
}, {
|
|
451
622
|
name: string;
|
|
@@ -483,34 +654,46 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
483
654
|
temporaryTaskId: string;
|
|
484
655
|
resumeTaskId: string;
|
|
485
656
|
reason?: string | undefined;
|
|
657
|
+
snapshot?: {
|
|
658
|
+
id: string;
|
|
659
|
+
reason: string;
|
|
660
|
+
whatWasBeingDone: string;
|
|
661
|
+
resumeLocation: string;
|
|
662
|
+
howToResume: string;
|
|
663
|
+
pausedAt: string;
|
|
664
|
+
relatedTaskId?: string | undefined;
|
|
665
|
+
pausedBy?: string | undefined;
|
|
666
|
+
} | null | undefined;
|
|
486
667
|
requestedBy?: "agent" | "user" | undefined;
|
|
487
668
|
approvedBy?: string | undefined;
|
|
488
|
-
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
669
|
+
state?: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled" | undefined;
|
|
489
670
|
activatedAt?: string | undefined;
|
|
671
|
+
resumeRequiredAt?: string | undefined;
|
|
490
672
|
resolvedAt?: string | undefined;
|
|
673
|
+
resumedAt?: string | undefined;
|
|
491
674
|
}[] | undefined;
|
|
492
675
|
}>;
|
|
493
|
-
export declare const SubtaskStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
494
|
-
export declare const TaskStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
495
|
-
export declare const PhaseStatusSchema: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
496
|
-
export declare const RequirementStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
497
|
-
export declare const FeatureStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
676
|
+
export declare const SubtaskStatusSchema: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
677
|
+
export declare const TaskStatusSchema: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
678
|
+
export declare const PhaseStatusSchema: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
679
|
+
export declare const RequirementStatusSchema: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
680
|
+
export declare const FeatureStatusSchema: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
498
681
|
export declare const SubtaskSchema: z.ZodObject<{
|
|
499
682
|
id: z.ZodString;
|
|
500
683
|
title: z.ZodString;
|
|
501
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
684
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
502
685
|
description: z.ZodDefault<z.ZodString>;
|
|
503
686
|
createdAt: z.ZodString;
|
|
504
687
|
updatedAt: z.ZodString;
|
|
505
688
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
689
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
507
690
|
updatedAt: string;
|
|
508
691
|
id: string;
|
|
509
692
|
createdAt: string;
|
|
510
693
|
title: string;
|
|
511
694
|
description: string;
|
|
512
695
|
}, {
|
|
513
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
696
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
514
697
|
updatedAt: string;
|
|
515
698
|
id: string;
|
|
516
699
|
createdAt: string;
|
|
@@ -548,8 +731,8 @@ export declare function needsMotivation(fromStatus: string, toStatus: string): b
|
|
|
548
731
|
export declare const StatusLogEntrySchema: z.ZodObject<{
|
|
549
732
|
id: z.ZodString;
|
|
550
733
|
date: z.ZodString;
|
|
551
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
552
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
734
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
735
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
553
736
|
title: z.ZodString;
|
|
554
737
|
description: z.ZodDefault<z.ZodString>;
|
|
555
738
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -557,14 +740,14 @@ export declare const StatusLogEntrySchema: z.ZodObject<{
|
|
|
557
740
|
date: string;
|
|
558
741
|
title: string;
|
|
559
742
|
description: string;
|
|
560
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
561
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
743
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
744
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
562
745
|
}, {
|
|
563
746
|
id: string;
|
|
564
747
|
date: string;
|
|
565
748
|
title: string;
|
|
566
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
567
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
749
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
750
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
568
751
|
description?: string | undefined;
|
|
569
752
|
}>;
|
|
570
753
|
/** Like StatusLogEntrySchema but for the DERIVED PHASE status, which includes
|
|
@@ -572,8 +755,8 @@ export declare const StatusLogEntrySchema: z.ZodObject<{
|
|
|
572
755
|
export declare const PhaseStatusLogEntrySchema: z.ZodObject<{
|
|
573
756
|
id: z.ZodString;
|
|
574
757
|
date: z.ZodString;
|
|
575
|
-
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
576
|
-
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
758
|
+
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
759
|
+
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
577
760
|
title: z.ZodString;
|
|
578
761
|
description: z.ZodDefault<z.ZodString>;
|
|
579
762
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -581,14 +764,14 @@ export declare const PhaseStatusLogEntrySchema: z.ZodObject<{
|
|
|
581
764
|
date: string;
|
|
582
765
|
title: string;
|
|
583
766
|
description: string;
|
|
584
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
585
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
767
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
768
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
586
769
|
}, {
|
|
587
770
|
id: string;
|
|
588
771
|
date: string;
|
|
589
772
|
title: string;
|
|
590
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
591
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
773
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
774
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
592
775
|
description?: string | undefined;
|
|
593
776
|
}>;
|
|
594
777
|
export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -602,14 +785,16 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
602
785
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
603
786
|
shortName: z.ZodString;
|
|
604
787
|
title: z.ZodString;
|
|
605
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
788
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
606
789
|
description: z.ZodDefault<z.ZodString>;
|
|
790
|
+
/** Updated only when this task's description changes; distinct from entity updatedAt. */
|
|
791
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
607
792
|
notes: z.ZodDefault<z.ZodString>;
|
|
608
793
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
609
794
|
id: z.ZodString;
|
|
610
795
|
date: z.ZodString;
|
|
611
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
612
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
796
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
797
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
613
798
|
title: z.ZodString;
|
|
614
799
|
description: z.ZodDefault<z.ZodString>;
|
|
615
800
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -617,14 +802,14 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
617
802
|
date: string;
|
|
618
803
|
title: string;
|
|
619
804
|
description: string;
|
|
620
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
621
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
805
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
806
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
622
807
|
}, {
|
|
623
808
|
id: string;
|
|
624
809
|
date: string;
|
|
625
810
|
title: string;
|
|
626
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
627
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
811
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
812
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
628
813
|
description?: string | undefined;
|
|
629
814
|
}>, "many">>;
|
|
630
815
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -672,19 +857,19 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
672
857
|
subtasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
673
858
|
id: z.ZodString;
|
|
674
859
|
title: z.ZodString;
|
|
675
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
860
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
676
861
|
description: z.ZodDefault<z.ZodString>;
|
|
677
862
|
createdAt: z.ZodString;
|
|
678
863
|
updatedAt: z.ZodString;
|
|
679
864
|
}, "strip", z.ZodTypeAny, {
|
|
680
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
865
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
681
866
|
updatedAt: string;
|
|
682
867
|
id: string;
|
|
683
868
|
createdAt: string;
|
|
684
869
|
title: string;
|
|
685
870
|
description: string;
|
|
686
871
|
}, {
|
|
687
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
872
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
688
873
|
updatedAt: string;
|
|
689
874
|
id: string;
|
|
690
875
|
createdAt: string;
|
|
@@ -692,13 +877,81 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
692
877
|
description?: string | undefined;
|
|
693
878
|
}>, "many">>;
|
|
694
879
|
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
880
|
+
/** Current durable checkpoint while this task is paused. */
|
|
881
|
+
pauseSnapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
882
|
+
id: z.ZodString;
|
|
883
|
+
/** Why work stopped or changed focus. */
|
|
884
|
+
reason: z.ZodString;
|
|
885
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
886
|
+
whatWasBeingDone: z.ZodString;
|
|
887
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
888
|
+
resumeLocation: z.ZodString;
|
|
889
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
890
|
+
howToResume: z.ZodString;
|
|
891
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
892
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
893
|
+
pausedAt: z.ZodString;
|
|
894
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
895
|
+
}, "strip", z.ZodTypeAny, {
|
|
896
|
+
id: string;
|
|
897
|
+
reason: string;
|
|
898
|
+
whatWasBeingDone: string;
|
|
899
|
+
resumeLocation: string;
|
|
900
|
+
howToResume: string;
|
|
901
|
+
relatedTaskId: string;
|
|
902
|
+
pausedAt: string;
|
|
903
|
+
pausedBy: string;
|
|
904
|
+
}, {
|
|
905
|
+
id: string;
|
|
906
|
+
reason: string;
|
|
907
|
+
whatWasBeingDone: string;
|
|
908
|
+
resumeLocation: string;
|
|
909
|
+
howToResume: string;
|
|
910
|
+
pausedAt: string;
|
|
911
|
+
relatedTaskId?: string | undefined;
|
|
912
|
+
pausedBy?: string | undefined;
|
|
913
|
+
}>>>;
|
|
914
|
+
/** Append-only checkpoint history retained after each resume. */
|
|
915
|
+
pauseHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
916
|
+
id: z.ZodString;
|
|
917
|
+
/** Why work stopped or changed focus. */
|
|
918
|
+
reason: z.ZodString;
|
|
919
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
920
|
+
whatWasBeingDone: z.ZodString;
|
|
921
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
922
|
+
resumeLocation: z.ZodString;
|
|
923
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
924
|
+
howToResume: z.ZodString;
|
|
925
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
926
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
927
|
+
pausedAt: z.ZodString;
|
|
928
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
929
|
+
}, "strip", z.ZodTypeAny, {
|
|
930
|
+
id: string;
|
|
931
|
+
reason: string;
|
|
932
|
+
whatWasBeingDone: string;
|
|
933
|
+
resumeLocation: string;
|
|
934
|
+
howToResume: string;
|
|
935
|
+
relatedTaskId: string;
|
|
936
|
+
pausedAt: string;
|
|
937
|
+
pausedBy: string;
|
|
938
|
+
}, {
|
|
939
|
+
id: string;
|
|
940
|
+
reason: string;
|
|
941
|
+
whatWasBeingDone: string;
|
|
942
|
+
resumeLocation: string;
|
|
943
|
+
howToResume: string;
|
|
944
|
+
pausedAt: string;
|
|
945
|
+
relatedTaskId?: string | undefined;
|
|
946
|
+
pausedBy?: string | undefined;
|
|
947
|
+
}>, "many">>;
|
|
695
948
|
startedAt: z.ZodDefault<z.ZodString>;
|
|
696
949
|
completedAt: z.ZodDefault<z.ZodString>;
|
|
697
950
|
createdAt: z.ZodString;
|
|
698
951
|
updatedAt: z.ZodString;
|
|
699
952
|
}, "strip", z.ZodTypeAny, {
|
|
700
953
|
number: number;
|
|
701
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
954
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
702
955
|
updatedAt: string;
|
|
703
956
|
notes: string;
|
|
704
957
|
id: string;
|
|
@@ -718,13 +971,14 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
718
971
|
shortId: string;
|
|
719
972
|
priority: number;
|
|
720
973
|
shortName: string;
|
|
974
|
+
descriptionUpdatedAt: string;
|
|
721
975
|
statusLog: {
|
|
722
976
|
id: string;
|
|
723
977
|
date: string;
|
|
724
978
|
title: string;
|
|
725
979
|
description: string;
|
|
726
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
727
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
980
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
981
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
728
982
|
}[];
|
|
729
983
|
checklist: (string | {
|
|
730
984
|
number: number;
|
|
@@ -733,7 +987,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
733
987
|
checked: boolean;
|
|
734
988
|
})[];
|
|
735
989
|
subtasks: {
|
|
736
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
990
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
737
991
|
updatedAt: string;
|
|
738
992
|
id: string;
|
|
739
993
|
createdAt: string;
|
|
@@ -741,10 +995,30 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
741
995
|
description: string;
|
|
742
996
|
}[];
|
|
743
997
|
dependsOn: string[];
|
|
998
|
+
pauseSnapshot: {
|
|
999
|
+
id: string;
|
|
1000
|
+
reason: string;
|
|
1001
|
+
whatWasBeingDone: string;
|
|
1002
|
+
resumeLocation: string;
|
|
1003
|
+
howToResume: string;
|
|
1004
|
+
relatedTaskId: string;
|
|
1005
|
+
pausedAt: string;
|
|
1006
|
+
pausedBy: string;
|
|
1007
|
+
} | null;
|
|
1008
|
+
pauseHistory: {
|
|
1009
|
+
id: string;
|
|
1010
|
+
reason: string;
|
|
1011
|
+
whatWasBeingDone: string;
|
|
1012
|
+
resumeLocation: string;
|
|
1013
|
+
howToResume: string;
|
|
1014
|
+
relatedTaskId: string;
|
|
1015
|
+
pausedAt: string;
|
|
1016
|
+
pausedBy: string;
|
|
1017
|
+
}[];
|
|
744
1018
|
startedAt: string;
|
|
745
1019
|
completedAt: string;
|
|
746
1020
|
}, {
|
|
747
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1021
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
748
1022
|
updatedAt: string;
|
|
749
1023
|
id: string;
|
|
750
1024
|
createdAt: string;
|
|
@@ -765,12 +1039,13 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
765
1039
|
}[] | undefined;
|
|
766
1040
|
shortId?: string | undefined;
|
|
767
1041
|
priority?: number | undefined;
|
|
1042
|
+
descriptionUpdatedAt?: string | undefined;
|
|
768
1043
|
statusLog?: {
|
|
769
1044
|
id: string;
|
|
770
1045
|
date: string;
|
|
771
1046
|
title: string;
|
|
772
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
773
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1047
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1048
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
774
1049
|
description?: string | undefined;
|
|
775
1050
|
}[] | undefined;
|
|
776
1051
|
checklist?: (string | {
|
|
@@ -780,7 +1055,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
780
1055
|
checked?: boolean | undefined;
|
|
781
1056
|
})[] | undefined;
|
|
782
1057
|
subtasks?: {
|
|
783
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1058
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
784
1059
|
updatedAt: string;
|
|
785
1060
|
id: string;
|
|
786
1061
|
createdAt: string;
|
|
@@ -788,6 +1063,26 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
788
1063
|
description?: string | undefined;
|
|
789
1064
|
}[] | undefined;
|
|
790
1065
|
dependsOn?: string[] | undefined;
|
|
1066
|
+
pauseSnapshot?: {
|
|
1067
|
+
id: string;
|
|
1068
|
+
reason: string;
|
|
1069
|
+
whatWasBeingDone: string;
|
|
1070
|
+
resumeLocation: string;
|
|
1071
|
+
howToResume: string;
|
|
1072
|
+
pausedAt: string;
|
|
1073
|
+
relatedTaskId?: string | undefined;
|
|
1074
|
+
pausedBy?: string | undefined;
|
|
1075
|
+
} | null | undefined;
|
|
1076
|
+
pauseHistory?: {
|
|
1077
|
+
id: string;
|
|
1078
|
+
reason: string;
|
|
1079
|
+
whatWasBeingDone: string;
|
|
1080
|
+
resumeLocation: string;
|
|
1081
|
+
howToResume: string;
|
|
1082
|
+
pausedAt: string;
|
|
1083
|
+
relatedTaskId?: string | undefined;
|
|
1084
|
+
pausedBy?: string | undefined;
|
|
1085
|
+
}[] | undefined;
|
|
791
1086
|
startedAt?: string | undefined;
|
|
792
1087
|
completedAt?: string | undefined;
|
|
793
1088
|
}>, {
|
|
@@ -798,7 +1093,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
798
1093
|
checked: boolean;
|
|
799
1094
|
}[];
|
|
800
1095
|
number: number;
|
|
801
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1096
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
802
1097
|
updatedAt: string;
|
|
803
1098
|
notes: string;
|
|
804
1099
|
id: string;
|
|
@@ -818,16 +1113,17 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
818
1113
|
shortId: string;
|
|
819
1114
|
priority: number;
|
|
820
1115
|
shortName: string;
|
|
1116
|
+
descriptionUpdatedAt: string;
|
|
821
1117
|
statusLog: {
|
|
822
1118
|
id: string;
|
|
823
1119
|
date: string;
|
|
824
1120
|
title: string;
|
|
825
1121
|
description: string;
|
|
826
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
827
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1122
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1123
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
828
1124
|
}[];
|
|
829
1125
|
subtasks: {
|
|
830
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1126
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
831
1127
|
updatedAt: string;
|
|
832
1128
|
id: string;
|
|
833
1129
|
createdAt: string;
|
|
@@ -835,10 +1131,30 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
835
1131
|
description: string;
|
|
836
1132
|
}[];
|
|
837
1133
|
dependsOn: string[];
|
|
1134
|
+
pauseSnapshot: {
|
|
1135
|
+
id: string;
|
|
1136
|
+
reason: string;
|
|
1137
|
+
whatWasBeingDone: string;
|
|
1138
|
+
resumeLocation: string;
|
|
1139
|
+
howToResume: string;
|
|
1140
|
+
relatedTaskId: string;
|
|
1141
|
+
pausedAt: string;
|
|
1142
|
+
pausedBy: string;
|
|
1143
|
+
} | null;
|
|
1144
|
+
pauseHistory: {
|
|
1145
|
+
id: string;
|
|
1146
|
+
reason: string;
|
|
1147
|
+
whatWasBeingDone: string;
|
|
1148
|
+
resumeLocation: string;
|
|
1149
|
+
howToResume: string;
|
|
1150
|
+
relatedTaskId: string;
|
|
1151
|
+
pausedAt: string;
|
|
1152
|
+
pausedBy: string;
|
|
1153
|
+
}[];
|
|
838
1154
|
startedAt: string;
|
|
839
1155
|
completedAt: string;
|
|
840
1156
|
}, {
|
|
841
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1157
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
842
1158
|
updatedAt: string;
|
|
843
1159
|
id: string;
|
|
844
1160
|
createdAt: string;
|
|
@@ -859,12 +1175,13 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
859
1175
|
}[] | undefined;
|
|
860
1176
|
shortId?: string | undefined;
|
|
861
1177
|
priority?: number | undefined;
|
|
1178
|
+
descriptionUpdatedAt?: string | undefined;
|
|
862
1179
|
statusLog?: {
|
|
863
1180
|
id: string;
|
|
864
1181
|
date: string;
|
|
865
1182
|
title: string;
|
|
866
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
867
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1183
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1184
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
868
1185
|
description?: string | undefined;
|
|
869
1186
|
}[] | undefined;
|
|
870
1187
|
checklist?: (string | {
|
|
@@ -874,7 +1191,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
874
1191
|
checked?: boolean | undefined;
|
|
875
1192
|
})[] | undefined;
|
|
876
1193
|
subtasks?: {
|
|
877
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1194
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
878
1195
|
updatedAt: string;
|
|
879
1196
|
id: string;
|
|
880
1197
|
createdAt: string;
|
|
@@ -882,6 +1199,26 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
882
1199
|
description?: string | undefined;
|
|
883
1200
|
}[] | undefined;
|
|
884
1201
|
dependsOn?: string[] | undefined;
|
|
1202
|
+
pauseSnapshot?: {
|
|
1203
|
+
id: string;
|
|
1204
|
+
reason: string;
|
|
1205
|
+
whatWasBeingDone: string;
|
|
1206
|
+
resumeLocation: string;
|
|
1207
|
+
howToResume: string;
|
|
1208
|
+
pausedAt: string;
|
|
1209
|
+
relatedTaskId?: string | undefined;
|
|
1210
|
+
pausedBy?: string | undefined;
|
|
1211
|
+
} | null | undefined;
|
|
1212
|
+
pauseHistory?: {
|
|
1213
|
+
id: string;
|
|
1214
|
+
reason: string;
|
|
1215
|
+
whatWasBeingDone: string;
|
|
1216
|
+
resumeLocation: string;
|
|
1217
|
+
howToResume: string;
|
|
1218
|
+
pausedAt: string;
|
|
1219
|
+
relatedTaskId?: string | undefined;
|
|
1220
|
+
pausedBy?: string | undefined;
|
|
1221
|
+
}[] | undefined;
|
|
885
1222
|
startedAt?: string | undefined;
|
|
886
1223
|
completedAt?: string | undefined;
|
|
887
1224
|
}>;
|
|
@@ -917,6 +1254,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
917
1254
|
contextReadyReason: z.ZodDefault<z.ZodString>;
|
|
918
1255
|
summary: z.ZodDefault<z.ZodString>;
|
|
919
1256
|
description: z.ZodDefault<z.ZodString>;
|
|
1257
|
+
/** Updated only when this phase's description changes; distinct from entity updatedAt. */
|
|
1258
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
920
1259
|
notes: z.ZodDefault<z.ZodString>;
|
|
921
1260
|
goals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
922
1261
|
nonGoals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -960,14 +1299,16 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
960
1299
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
961
1300
|
shortName: z.ZodString;
|
|
962
1301
|
title: z.ZodString;
|
|
963
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1302
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
964
1303
|
description: z.ZodDefault<z.ZodString>;
|
|
1304
|
+
/** Updated only when this task's description changes; distinct from entity updatedAt. */
|
|
1305
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
965
1306
|
notes: z.ZodDefault<z.ZodString>;
|
|
966
1307
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
967
1308
|
id: z.ZodString;
|
|
968
1309
|
date: z.ZodString;
|
|
969
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
970
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1310
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1311
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
971
1312
|
title: z.ZodString;
|
|
972
1313
|
description: z.ZodDefault<z.ZodString>;
|
|
973
1314
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -975,14 +1316,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
975
1316
|
date: string;
|
|
976
1317
|
title: string;
|
|
977
1318
|
description: string;
|
|
978
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
979
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1319
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1320
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
980
1321
|
}, {
|
|
981
1322
|
id: string;
|
|
982
1323
|
date: string;
|
|
983
1324
|
title: string;
|
|
984
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
985
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1325
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1326
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
986
1327
|
description?: string | undefined;
|
|
987
1328
|
}>, "many">>;
|
|
988
1329
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1030,19 +1371,19 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1030
1371
|
subtasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1031
1372
|
id: z.ZodString;
|
|
1032
1373
|
title: z.ZodString;
|
|
1033
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1374
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1034
1375
|
description: z.ZodDefault<z.ZodString>;
|
|
1035
1376
|
createdAt: z.ZodString;
|
|
1036
1377
|
updatedAt: z.ZodString;
|
|
1037
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1379
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1039
1380
|
updatedAt: string;
|
|
1040
1381
|
id: string;
|
|
1041
1382
|
createdAt: string;
|
|
1042
1383
|
title: string;
|
|
1043
1384
|
description: string;
|
|
1044
1385
|
}, {
|
|
1045
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1386
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1046
1387
|
updatedAt: string;
|
|
1047
1388
|
id: string;
|
|
1048
1389
|
createdAt: string;
|
|
@@ -1050,13 +1391,81 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1050
1391
|
description?: string | undefined;
|
|
1051
1392
|
}>, "many">>;
|
|
1052
1393
|
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1394
|
+
/** Current durable checkpoint while this task is paused. */
|
|
1395
|
+
pauseSnapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1396
|
+
id: z.ZodString;
|
|
1397
|
+
/** Why work stopped or changed focus. */
|
|
1398
|
+
reason: z.ZodString;
|
|
1399
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
1400
|
+
whatWasBeingDone: z.ZodString;
|
|
1401
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
1402
|
+
resumeLocation: z.ZodString;
|
|
1403
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
1404
|
+
howToResume: z.ZodString;
|
|
1405
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
1406
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
1407
|
+
pausedAt: z.ZodString;
|
|
1408
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
1409
|
+
}, "strip", z.ZodTypeAny, {
|
|
1410
|
+
id: string;
|
|
1411
|
+
reason: string;
|
|
1412
|
+
whatWasBeingDone: string;
|
|
1413
|
+
resumeLocation: string;
|
|
1414
|
+
howToResume: string;
|
|
1415
|
+
relatedTaskId: string;
|
|
1416
|
+
pausedAt: string;
|
|
1417
|
+
pausedBy: string;
|
|
1418
|
+
}, {
|
|
1419
|
+
id: string;
|
|
1420
|
+
reason: string;
|
|
1421
|
+
whatWasBeingDone: string;
|
|
1422
|
+
resumeLocation: string;
|
|
1423
|
+
howToResume: string;
|
|
1424
|
+
pausedAt: string;
|
|
1425
|
+
relatedTaskId?: string | undefined;
|
|
1426
|
+
pausedBy?: string | undefined;
|
|
1427
|
+
}>>>;
|
|
1428
|
+
/** Append-only checkpoint history retained after each resume. */
|
|
1429
|
+
pauseHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1430
|
+
id: z.ZodString;
|
|
1431
|
+
/** Why work stopped or changed focus. */
|
|
1432
|
+
reason: z.ZodString;
|
|
1433
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
1434
|
+
whatWasBeingDone: z.ZodString;
|
|
1435
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
1436
|
+
resumeLocation: z.ZodString;
|
|
1437
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
1438
|
+
howToResume: z.ZodString;
|
|
1439
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
1440
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
1441
|
+
pausedAt: z.ZodString;
|
|
1442
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
id: string;
|
|
1445
|
+
reason: string;
|
|
1446
|
+
whatWasBeingDone: string;
|
|
1447
|
+
resumeLocation: string;
|
|
1448
|
+
howToResume: string;
|
|
1449
|
+
relatedTaskId: string;
|
|
1450
|
+
pausedAt: string;
|
|
1451
|
+
pausedBy: string;
|
|
1452
|
+
}, {
|
|
1453
|
+
id: string;
|
|
1454
|
+
reason: string;
|
|
1455
|
+
whatWasBeingDone: string;
|
|
1456
|
+
resumeLocation: string;
|
|
1457
|
+
howToResume: string;
|
|
1458
|
+
pausedAt: string;
|
|
1459
|
+
relatedTaskId?: string | undefined;
|
|
1460
|
+
pausedBy?: string | undefined;
|
|
1461
|
+
}>, "many">>;
|
|
1053
1462
|
startedAt: z.ZodDefault<z.ZodString>;
|
|
1054
1463
|
completedAt: z.ZodDefault<z.ZodString>;
|
|
1055
1464
|
createdAt: z.ZodString;
|
|
1056
1465
|
updatedAt: z.ZodString;
|
|
1057
1466
|
}, "strip", z.ZodTypeAny, {
|
|
1058
1467
|
number: number;
|
|
1059
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1468
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1060
1469
|
updatedAt: string;
|
|
1061
1470
|
notes: string;
|
|
1062
1471
|
id: string;
|
|
@@ -1076,13 +1485,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1076
1485
|
shortId: string;
|
|
1077
1486
|
priority: number;
|
|
1078
1487
|
shortName: string;
|
|
1488
|
+
descriptionUpdatedAt: string;
|
|
1079
1489
|
statusLog: {
|
|
1080
1490
|
id: string;
|
|
1081
1491
|
date: string;
|
|
1082
1492
|
title: string;
|
|
1083
1493
|
description: string;
|
|
1084
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1085
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1494
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1495
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1086
1496
|
}[];
|
|
1087
1497
|
checklist: (string | {
|
|
1088
1498
|
number: number;
|
|
@@ -1091,7 +1501,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1091
1501
|
checked: boolean;
|
|
1092
1502
|
})[];
|
|
1093
1503
|
subtasks: {
|
|
1094
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1504
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1095
1505
|
updatedAt: string;
|
|
1096
1506
|
id: string;
|
|
1097
1507
|
createdAt: string;
|
|
@@ -1099,10 +1509,30 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1099
1509
|
description: string;
|
|
1100
1510
|
}[];
|
|
1101
1511
|
dependsOn: string[];
|
|
1512
|
+
pauseSnapshot: {
|
|
1513
|
+
id: string;
|
|
1514
|
+
reason: string;
|
|
1515
|
+
whatWasBeingDone: string;
|
|
1516
|
+
resumeLocation: string;
|
|
1517
|
+
howToResume: string;
|
|
1518
|
+
relatedTaskId: string;
|
|
1519
|
+
pausedAt: string;
|
|
1520
|
+
pausedBy: string;
|
|
1521
|
+
} | null;
|
|
1522
|
+
pauseHistory: {
|
|
1523
|
+
id: string;
|
|
1524
|
+
reason: string;
|
|
1525
|
+
whatWasBeingDone: string;
|
|
1526
|
+
resumeLocation: string;
|
|
1527
|
+
howToResume: string;
|
|
1528
|
+
relatedTaskId: string;
|
|
1529
|
+
pausedAt: string;
|
|
1530
|
+
pausedBy: string;
|
|
1531
|
+
}[];
|
|
1102
1532
|
startedAt: string;
|
|
1103
1533
|
completedAt: string;
|
|
1104
1534
|
}, {
|
|
1105
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1535
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1106
1536
|
updatedAt: string;
|
|
1107
1537
|
id: string;
|
|
1108
1538
|
createdAt: string;
|
|
@@ -1123,12 +1553,13 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1123
1553
|
}[] | undefined;
|
|
1124
1554
|
shortId?: string | undefined;
|
|
1125
1555
|
priority?: number | undefined;
|
|
1556
|
+
descriptionUpdatedAt?: string | undefined;
|
|
1126
1557
|
statusLog?: {
|
|
1127
1558
|
id: string;
|
|
1128
1559
|
date: string;
|
|
1129
1560
|
title: string;
|
|
1130
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1131
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1561
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1562
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1132
1563
|
description?: string | undefined;
|
|
1133
1564
|
}[] | undefined;
|
|
1134
1565
|
checklist?: (string | {
|
|
@@ -1138,7 +1569,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1138
1569
|
checked?: boolean | undefined;
|
|
1139
1570
|
})[] | undefined;
|
|
1140
1571
|
subtasks?: {
|
|
1141
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1572
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1142
1573
|
updatedAt: string;
|
|
1143
1574
|
id: string;
|
|
1144
1575
|
createdAt: string;
|
|
@@ -1146,6 +1577,26 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1146
1577
|
description?: string | undefined;
|
|
1147
1578
|
}[] | undefined;
|
|
1148
1579
|
dependsOn?: string[] | undefined;
|
|
1580
|
+
pauseSnapshot?: {
|
|
1581
|
+
id: string;
|
|
1582
|
+
reason: string;
|
|
1583
|
+
whatWasBeingDone: string;
|
|
1584
|
+
resumeLocation: string;
|
|
1585
|
+
howToResume: string;
|
|
1586
|
+
pausedAt: string;
|
|
1587
|
+
relatedTaskId?: string | undefined;
|
|
1588
|
+
pausedBy?: string | undefined;
|
|
1589
|
+
} | null | undefined;
|
|
1590
|
+
pauseHistory?: {
|
|
1591
|
+
id: string;
|
|
1592
|
+
reason: string;
|
|
1593
|
+
whatWasBeingDone: string;
|
|
1594
|
+
resumeLocation: string;
|
|
1595
|
+
howToResume: string;
|
|
1596
|
+
pausedAt: string;
|
|
1597
|
+
relatedTaskId?: string | undefined;
|
|
1598
|
+
pausedBy?: string | undefined;
|
|
1599
|
+
}[] | undefined;
|
|
1149
1600
|
startedAt?: string | undefined;
|
|
1150
1601
|
completedAt?: string | undefined;
|
|
1151
1602
|
}>, {
|
|
@@ -1156,7 +1607,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1156
1607
|
checked: boolean;
|
|
1157
1608
|
}[];
|
|
1158
1609
|
number: number;
|
|
1159
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1610
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1160
1611
|
updatedAt: string;
|
|
1161
1612
|
notes: string;
|
|
1162
1613
|
id: string;
|
|
@@ -1176,16 +1627,17 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1176
1627
|
shortId: string;
|
|
1177
1628
|
priority: number;
|
|
1178
1629
|
shortName: string;
|
|
1630
|
+
descriptionUpdatedAt: string;
|
|
1179
1631
|
statusLog: {
|
|
1180
1632
|
id: string;
|
|
1181
1633
|
date: string;
|
|
1182
1634
|
title: string;
|
|
1183
1635
|
description: string;
|
|
1184
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1185
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1636
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1637
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1186
1638
|
}[];
|
|
1187
1639
|
subtasks: {
|
|
1188
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1640
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1189
1641
|
updatedAt: string;
|
|
1190
1642
|
id: string;
|
|
1191
1643
|
createdAt: string;
|
|
@@ -1193,10 +1645,30 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1193
1645
|
description: string;
|
|
1194
1646
|
}[];
|
|
1195
1647
|
dependsOn: string[];
|
|
1648
|
+
pauseSnapshot: {
|
|
1649
|
+
id: string;
|
|
1650
|
+
reason: string;
|
|
1651
|
+
whatWasBeingDone: string;
|
|
1652
|
+
resumeLocation: string;
|
|
1653
|
+
howToResume: string;
|
|
1654
|
+
relatedTaskId: string;
|
|
1655
|
+
pausedAt: string;
|
|
1656
|
+
pausedBy: string;
|
|
1657
|
+
} | null;
|
|
1658
|
+
pauseHistory: {
|
|
1659
|
+
id: string;
|
|
1660
|
+
reason: string;
|
|
1661
|
+
whatWasBeingDone: string;
|
|
1662
|
+
resumeLocation: string;
|
|
1663
|
+
howToResume: string;
|
|
1664
|
+
relatedTaskId: string;
|
|
1665
|
+
pausedAt: string;
|
|
1666
|
+
pausedBy: string;
|
|
1667
|
+
}[];
|
|
1196
1668
|
startedAt: string;
|
|
1197
1669
|
completedAt: string;
|
|
1198
1670
|
}, {
|
|
1199
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1671
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1200
1672
|
updatedAt: string;
|
|
1201
1673
|
id: string;
|
|
1202
1674
|
createdAt: string;
|
|
@@ -1217,12 +1689,13 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1217
1689
|
}[] | undefined;
|
|
1218
1690
|
shortId?: string | undefined;
|
|
1219
1691
|
priority?: number | undefined;
|
|
1692
|
+
descriptionUpdatedAt?: string | undefined;
|
|
1220
1693
|
statusLog?: {
|
|
1221
1694
|
id: string;
|
|
1222
1695
|
date: string;
|
|
1223
1696
|
title: string;
|
|
1224
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1225
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1697
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1698
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1226
1699
|
description?: string | undefined;
|
|
1227
1700
|
}[] | undefined;
|
|
1228
1701
|
checklist?: (string | {
|
|
@@ -1232,7 +1705,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1232
1705
|
checked?: boolean | undefined;
|
|
1233
1706
|
})[] | undefined;
|
|
1234
1707
|
subtasks?: {
|
|
1235
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1708
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1236
1709
|
updatedAt: string;
|
|
1237
1710
|
id: string;
|
|
1238
1711
|
createdAt: string;
|
|
@@ -1240,6 +1713,26 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1240
1713
|
description?: string | undefined;
|
|
1241
1714
|
}[] | undefined;
|
|
1242
1715
|
dependsOn?: string[] | undefined;
|
|
1716
|
+
pauseSnapshot?: {
|
|
1717
|
+
id: string;
|
|
1718
|
+
reason: string;
|
|
1719
|
+
whatWasBeingDone: string;
|
|
1720
|
+
resumeLocation: string;
|
|
1721
|
+
howToResume: string;
|
|
1722
|
+
pausedAt: string;
|
|
1723
|
+
relatedTaskId?: string | undefined;
|
|
1724
|
+
pausedBy?: string | undefined;
|
|
1725
|
+
} | null | undefined;
|
|
1726
|
+
pauseHistory?: {
|
|
1727
|
+
id: string;
|
|
1728
|
+
reason: string;
|
|
1729
|
+
whatWasBeingDone: string;
|
|
1730
|
+
resumeLocation: string;
|
|
1731
|
+
howToResume: string;
|
|
1732
|
+
pausedAt: string;
|
|
1733
|
+
relatedTaskId?: string | undefined;
|
|
1734
|
+
pausedBy?: string | undefined;
|
|
1735
|
+
}[] | undefined;
|
|
1243
1736
|
startedAt?: string | undefined;
|
|
1244
1737
|
completedAt?: string | undefined;
|
|
1245
1738
|
}>, "many">>;
|
|
@@ -1275,8 +1768,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1275
1768
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1276
1769
|
id: z.ZodString;
|
|
1277
1770
|
date: z.ZodString;
|
|
1278
|
-
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1279
|
-
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1771
|
+
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1772
|
+
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1280
1773
|
title: z.ZodString;
|
|
1281
1774
|
description: z.ZodDefault<z.ZodString>;
|
|
1282
1775
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1284,14 +1777,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1284
1777
|
date: string;
|
|
1285
1778
|
title: string;
|
|
1286
1779
|
description: string;
|
|
1287
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1288
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1780
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1781
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1289
1782
|
}, {
|
|
1290
1783
|
id: string;
|
|
1291
1784
|
date: string;
|
|
1292
1785
|
title: string;
|
|
1293
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1294
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1786
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1787
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1295
1788
|
description?: string | undefined;
|
|
1296
1789
|
}>, "many">>;
|
|
1297
1790
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1315,13 +1808,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1315
1808
|
}[];
|
|
1316
1809
|
shortId: string;
|
|
1317
1810
|
priority: number;
|
|
1811
|
+
descriptionUpdatedAt: string;
|
|
1318
1812
|
statusLog: {
|
|
1319
1813
|
id: string;
|
|
1320
1814
|
date: string;
|
|
1321
1815
|
title: string;
|
|
1322
1816
|
description: string;
|
|
1323
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1324
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1817
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1818
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1325
1819
|
}[];
|
|
1326
1820
|
dependsOn: string[];
|
|
1327
1821
|
slug: string;
|
|
@@ -1342,7 +1836,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1342
1836
|
checked: boolean;
|
|
1343
1837
|
}[];
|
|
1344
1838
|
number: number;
|
|
1345
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1839
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1346
1840
|
updatedAt: string;
|
|
1347
1841
|
notes: string;
|
|
1348
1842
|
id: string;
|
|
@@ -1362,16 +1856,17 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1362
1856
|
shortId: string;
|
|
1363
1857
|
priority: number;
|
|
1364
1858
|
shortName: string;
|
|
1859
|
+
descriptionUpdatedAt: string;
|
|
1365
1860
|
statusLog: {
|
|
1366
1861
|
id: string;
|
|
1367
1862
|
date: string;
|
|
1368
1863
|
title: string;
|
|
1369
1864
|
description: string;
|
|
1370
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1371
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1865
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1866
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1372
1867
|
}[];
|
|
1373
1868
|
subtasks: {
|
|
1374
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1869
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1375
1870
|
updatedAt: string;
|
|
1376
1871
|
id: string;
|
|
1377
1872
|
createdAt: string;
|
|
@@ -1379,6 +1874,26 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1379
1874
|
description: string;
|
|
1380
1875
|
}[];
|
|
1381
1876
|
dependsOn: string[];
|
|
1877
|
+
pauseSnapshot: {
|
|
1878
|
+
id: string;
|
|
1879
|
+
reason: string;
|
|
1880
|
+
whatWasBeingDone: string;
|
|
1881
|
+
resumeLocation: string;
|
|
1882
|
+
howToResume: string;
|
|
1883
|
+
relatedTaskId: string;
|
|
1884
|
+
pausedAt: string;
|
|
1885
|
+
pausedBy: string;
|
|
1886
|
+
} | null;
|
|
1887
|
+
pauseHistory: {
|
|
1888
|
+
id: string;
|
|
1889
|
+
reason: string;
|
|
1890
|
+
whatWasBeingDone: string;
|
|
1891
|
+
resumeLocation: string;
|
|
1892
|
+
howToResume: string;
|
|
1893
|
+
relatedTaskId: string;
|
|
1894
|
+
pausedAt: string;
|
|
1895
|
+
pausedBy: string;
|
|
1896
|
+
}[];
|
|
1382
1897
|
startedAt: string;
|
|
1383
1898
|
completedAt: string;
|
|
1384
1899
|
}[];
|
|
@@ -1413,12 +1928,13 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1413
1928
|
}[] | undefined;
|
|
1414
1929
|
shortId?: string | undefined;
|
|
1415
1930
|
priority?: number | undefined;
|
|
1931
|
+
descriptionUpdatedAt?: string | undefined;
|
|
1416
1932
|
statusLog?: {
|
|
1417
1933
|
id: string;
|
|
1418
1934
|
date: string;
|
|
1419
1935
|
title: string;
|
|
1420
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1421
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1936
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1937
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1422
1938
|
description?: string | undefined;
|
|
1423
1939
|
}[] | undefined;
|
|
1424
1940
|
dependsOn?: string[] | undefined;
|
|
@@ -1433,7 +1949,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1433
1949
|
completionCriteria?: string[] | undefined;
|
|
1434
1950
|
taskIds?: string[] | undefined;
|
|
1435
1951
|
tasks?: {
|
|
1436
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1952
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1437
1953
|
updatedAt: string;
|
|
1438
1954
|
id: string;
|
|
1439
1955
|
createdAt: string;
|
|
@@ -1454,12 +1970,13 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1454
1970
|
}[] | undefined;
|
|
1455
1971
|
shortId?: string | undefined;
|
|
1456
1972
|
priority?: number | undefined;
|
|
1973
|
+
descriptionUpdatedAt?: string | undefined;
|
|
1457
1974
|
statusLog?: {
|
|
1458
1975
|
id: string;
|
|
1459
1976
|
date: string;
|
|
1460
1977
|
title: string;
|
|
1461
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1462
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1978
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1979
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1463
1980
|
description?: string | undefined;
|
|
1464
1981
|
}[] | undefined;
|
|
1465
1982
|
checklist?: (string | {
|
|
@@ -1469,7 +1986,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1469
1986
|
checked?: boolean | undefined;
|
|
1470
1987
|
})[] | undefined;
|
|
1471
1988
|
subtasks?: {
|
|
1472
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1989
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1473
1990
|
updatedAt: string;
|
|
1474
1991
|
id: string;
|
|
1475
1992
|
createdAt: string;
|
|
@@ -1477,6 +1994,26 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1477
1994
|
description?: string | undefined;
|
|
1478
1995
|
}[] | undefined;
|
|
1479
1996
|
dependsOn?: string[] | undefined;
|
|
1997
|
+
pauseSnapshot?: {
|
|
1998
|
+
id: string;
|
|
1999
|
+
reason: string;
|
|
2000
|
+
whatWasBeingDone: string;
|
|
2001
|
+
resumeLocation: string;
|
|
2002
|
+
howToResume: string;
|
|
2003
|
+
pausedAt: string;
|
|
2004
|
+
relatedTaskId?: string | undefined;
|
|
2005
|
+
pausedBy?: string | undefined;
|
|
2006
|
+
} | null | undefined;
|
|
2007
|
+
pauseHistory?: {
|
|
2008
|
+
id: string;
|
|
2009
|
+
reason: string;
|
|
2010
|
+
whatWasBeingDone: string;
|
|
2011
|
+
resumeLocation: string;
|
|
2012
|
+
howToResume: string;
|
|
2013
|
+
pausedAt: string;
|
|
2014
|
+
relatedTaskId?: string | undefined;
|
|
2015
|
+
pausedBy?: string | undefined;
|
|
2016
|
+
}[] | undefined;
|
|
1480
2017
|
startedAt?: string | undefined;
|
|
1481
2018
|
completedAt?: string | undefined;
|
|
1482
2019
|
}[] | undefined;
|
|
@@ -1497,6 +2034,8 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1497
2034
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1498
2035
|
name: z.ZodString;
|
|
1499
2036
|
description: z.ZodDefault<z.ZodString>;
|
|
2037
|
+
/** Updated only when this feature's description changes; distinct from entity updatedAt. */
|
|
2038
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
1500
2039
|
discussedAt: z.ZodDefault<z.ZodString>;
|
|
1501
2040
|
contextReady: z.ZodDefault<z.ZodBoolean>;
|
|
1502
2041
|
contextReadyReason: z.ZodDefault<z.ZodString>;
|
|
@@ -1532,8 +2071,8 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1532
2071
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1533
2072
|
id: z.ZodString;
|
|
1534
2073
|
date: z.ZodString;
|
|
1535
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1536
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2074
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2075
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1537
2076
|
title: z.ZodString;
|
|
1538
2077
|
description: z.ZodDefault<z.ZodString>;
|
|
1539
2078
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1541,14 +2080,14 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1541
2080
|
date: string;
|
|
1542
2081
|
title: string;
|
|
1543
2082
|
description: string;
|
|
1544
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1545
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2083
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2084
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1546
2085
|
}, {
|
|
1547
2086
|
id: string;
|
|
1548
2087
|
date: string;
|
|
1549
2088
|
title: string;
|
|
1550
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1551
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2089
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2090
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1552
2091
|
description?: string | undefined;
|
|
1553
2092
|
}>, "many">>;
|
|
1554
2093
|
createdAt: z.ZodString;
|
|
@@ -1570,13 +2109,14 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1570
2109
|
}[];
|
|
1571
2110
|
shortId: string;
|
|
1572
2111
|
priority: number;
|
|
2112
|
+
descriptionUpdatedAt: string;
|
|
1573
2113
|
statusLog: {
|
|
1574
2114
|
id: string;
|
|
1575
2115
|
date: string;
|
|
1576
2116
|
title: string;
|
|
1577
2117
|
description: string;
|
|
1578
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1579
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2118
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2119
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1580
2120
|
}[];
|
|
1581
2121
|
dependsOn: string[];
|
|
1582
2122
|
discussedAt: string;
|
|
@@ -1604,12 +2144,13 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1604
2144
|
}[] | undefined;
|
|
1605
2145
|
shortId?: string | undefined;
|
|
1606
2146
|
priority?: number | undefined;
|
|
2147
|
+
descriptionUpdatedAt?: string | undefined;
|
|
1607
2148
|
statusLog?: {
|
|
1608
2149
|
id: string;
|
|
1609
2150
|
date: string;
|
|
1610
2151
|
title: string;
|
|
1611
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1612
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2152
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2153
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1613
2154
|
description?: string | undefined;
|
|
1614
2155
|
}[] | undefined;
|
|
1615
2156
|
dependsOn?: string[] | undefined;
|
|
@@ -1631,6 +2172,8 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1631
2172
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1632
2173
|
name: z.ZodString;
|
|
1633
2174
|
description: z.ZodDefault<z.ZodString>;
|
|
2175
|
+
/** Updated only when this feature's description changes; distinct from entity updatedAt. */
|
|
2176
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
1634
2177
|
discussedAt: z.ZodDefault<z.ZodString>;
|
|
1635
2178
|
contextReady: z.ZodDefault<z.ZodBoolean>;
|
|
1636
2179
|
contextReadyReason: z.ZodDefault<z.ZodString>;
|
|
@@ -1666,8 +2209,8 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1666
2209
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1667
2210
|
id: z.ZodString;
|
|
1668
2211
|
date: z.ZodString;
|
|
1669
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1670
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2212
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2213
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1671
2214
|
title: z.ZodString;
|
|
1672
2215
|
description: z.ZodDefault<z.ZodString>;
|
|
1673
2216
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1675,14 +2218,14 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1675
2218
|
date: string;
|
|
1676
2219
|
title: string;
|
|
1677
2220
|
description: string;
|
|
1678
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1679
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2221
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2222
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1680
2223
|
}, {
|
|
1681
2224
|
id: string;
|
|
1682
2225
|
date: string;
|
|
1683
2226
|
title: string;
|
|
1684
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1685
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2227
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2228
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1686
2229
|
description?: string | undefined;
|
|
1687
2230
|
}>, "many">>;
|
|
1688
2231
|
createdAt: z.ZodString;
|
|
@@ -1704,13 +2247,14 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1704
2247
|
}[];
|
|
1705
2248
|
shortId: string;
|
|
1706
2249
|
priority: number;
|
|
2250
|
+
descriptionUpdatedAt: string;
|
|
1707
2251
|
statusLog: {
|
|
1708
2252
|
id: string;
|
|
1709
2253
|
date: string;
|
|
1710
2254
|
title: string;
|
|
1711
2255
|
description: string;
|
|
1712
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1713
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2256
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2257
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1714
2258
|
}[];
|
|
1715
2259
|
dependsOn: string[];
|
|
1716
2260
|
discussedAt: string;
|
|
@@ -1738,12 +2282,13 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1738
2282
|
}[] | undefined;
|
|
1739
2283
|
shortId?: string | undefined;
|
|
1740
2284
|
priority?: number | undefined;
|
|
2285
|
+
descriptionUpdatedAt?: string | undefined;
|
|
1741
2286
|
statusLog?: {
|
|
1742
2287
|
id: string;
|
|
1743
2288
|
date: string;
|
|
1744
2289
|
title: string;
|
|
1745
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1746
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2290
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2291
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1747
2292
|
description?: string | undefined;
|
|
1748
2293
|
}[] | undefined;
|
|
1749
2294
|
dependsOn?: string[] | undefined;
|
|
@@ -1774,13 +2319,14 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1774
2319
|
}[];
|
|
1775
2320
|
shortId: string;
|
|
1776
2321
|
priority: number;
|
|
2322
|
+
descriptionUpdatedAt: string;
|
|
1777
2323
|
statusLog: {
|
|
1778
2324
|
id: string;
|
|
1779
2325
|
date: string;
|
|
1780
2326
|
title: string;
|
|
1781
2327
|
description: string;
|
|
1782
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1783
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2328
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2329
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1784
2330
|
}[];
|
|
1785
2331
|
dependsOn: string[];
|
|
1786
2332
|
discussedAt: string;
|
|
@@ -1810,12 +2356,13 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1810
2356
|
}[] | undefined;
|
|
1811
2357
|
shortId?: string | undefined;
|
|
1812
2358
|
priority?: number | undefined;
|
|
2359
|
+
descriptionUpdatedAt?: string | undefined;
|
|
1813
2360
|
statusLog?: {
|
|
1814
2361
|
id: string;
|
|
1815
2362
|
date: string;
|
|
1816
2363
|
title: string;
|
|
1817
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1818
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2364
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2365
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1819
2366
|
description?: string | undefined;
|
|
1820
2367
|
}[] | undefined;
|
|
1821
2368
|
dependsOn?: string[] | undefined;
|
|
@@ -1833,18 +2380,18 @@ export declare const MacroTaskSchema: z.ZodObject<{
|
|
|
1833
2380
|
id: z.ZodString;
|
|
1834
2381
|
title: z.ZodString;
|
|
1835
2382
|
description: z.ZodDefault<z.ZodString>;
|
|
1836
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2383
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1837
2384
|
createdAt: z.ZodString;
|
|
1838
2385
|
updatedAt: z.ZodString;
|
|
1839
2386
|
}, "strip", z.ZodTypeAny, {
|
|
1840
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2387
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1841
2388
|
updatedAt: string;
|
|
1842
2389
|
id: string;
|
|
1843
2390
|
createdAt: string;
|
|
1844
2391
|
title: string;
|
|
1845
2392
|
description: string;
|
|
1846
2393
|
}, {
|
|
1847
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2394
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1848
2395
|
updatedAt: string;
|
|
1849
2396
|
id: string;
|
|
1850
2397
|
createdAt: string;
|
|
@@ -1855,23 +2402,23 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
1855
2402
|
id: z.ZodString;
|
|
1856
2403
|
title: z.ZodString;
|
|
1857
2404
|
description: z.ZodDefault<z.ZodString>;
|
|
1858
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2405
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1859
2406
|
macroTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1860
2407
|
id: z.ZodString;
|
|
1861
2408
|
title: z.ZodString;
|
|
1862
2409
|
description: z.ZodDefault<z.ZodString>;
|
|
1863
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2410
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1864
2411
|
createdAt: z.ZodString;
|
|
1865
2412
|
updatedAt: z.ZodString;
|
|
1866
2413
|
}, "strip", z.ZodTypeAny, {
|
|
1867
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2414
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1868
2415
|
updatedAt: string;
|
|
1869
2416
|
id: string;
|
|
1870
2417
|
createdAt: string;
|
|
1871
2418
|
title: string;
|
|
1872
2419
|
description: string;
|
|
1873
2420
|
}, {
|
|
1874
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2421
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1875
2422
|
updatedAt: string;
|
|
1876
2423
|
id: string;
|
|
1877
2424
|
createdAt: string;
|
|
@@ -1882,14 +2429,14 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
1882
2429
|
createdAt: z.ZodString;
|
|
1883
2430
|
updatedAt: z.ZodString;
|
|
1884
2431
|
}, "strip", z.ZodTypeAny, {
|
|
1885
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2432
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1886
2433
|
updatedAt: string;
|
|
1887
2434
|
id: string;
|
|
1888
2435
|
createdAt: string;
|
|
1889
2436
|
title: string;
|
|
1890
2437
|
description: string;
|
|
1891
2438
|
macroTasks: {
|
|
1892
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2439
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1893
2440
|
updatedAt: string;
|
|
1894
2441
|
id: string;
|
|
1895
2442
|
createdAt: string;
|
|
@@ -1898,14 +2445,14 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
1898
2445
|
}[];
|
|
1899
2446
|
linkedPhaseIds: string[];
|
|
1900
2447
|
}, {
|
|
1901
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2448
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1902
2449
|
updatedAt: string;
|
|
1903
2450
|
id: string;
|
|
1904
2451
|
createdAt: string;
|
|
1905
2452
|
title: string;
|
|
1906
2453
|
description?: string | undefined;
|
|
1907
2454
|
macroTasks?: {
|
|
1908
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2455
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1909
2456
|
updatedAt: string;
|
|
1910
2457
|
id: string;
|
|
1911
2458
|
createdAt: string;
|
|
@@ -1919,23 +2466,23 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1919
2466
|
id: z.ZodString;
|
|
1920
2467
|
title: z.ZodString;
|
|
1921
2468
|
description: z.ZodDefault<z.ZodString>;
|
|
1922
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2469
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1923
2470
|
macroTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1924
2471
|
id: z.ZodString;
|
|
1925
2472
|
title: z.ZodString;
|
|
1926
2473
|
description: z.ZodDefault<z.ZodString>;
|
|
1927
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2474
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1928
2475
|
createdAt: z.ZodString;
|
|
1929
2476
|
updatedAt: z.ZodString;
|
|
1930
2477
|
}, "strip", z.ZodTypeAny, {
|
|
1931
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2478
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1932
2479
|
updatedAt: string;
|
|
1933
2480
|
id: string;
|
|
1934
2481
|
createdAt: string;
|
|
1935
2482
|
title: string;
|
|
1936
2483
|
description: string;
|
|
1937
2484
|
}, {
|
|
1938
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2485
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1939
2486
|
updatedAt: string;
|
|
1940
2487
|
id: string;
|
|
1941
2488
|
createdAt: string;
|
|
@@ -1946,14 +2493,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1946
2493
|
createdAt: z.ZodString;
|
|
1947
2494
|
updatedAt: z.ZodString;
|
|
1948
2495
|
}, "strip", z.ZodTypeAny, {
|
|
1949
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2496
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1950
2497
|
updatedAt: string;
|
|
1951
2498
|
id: string;
|
|
1952
2499
|
createdAt: string;
|
|
1953
2500
|
title: string;
|
|
1954
2501
|
description: string;
|
|
1955
2502
|
macroTasks: {
|
|
1956
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2503
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1957
2504
|
updatedAt: string;
|
|
1958
2505
|
id: string;
|
|
1959
2506
|
createdAt: string;
|
|
@@ -1962,14 +2509,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1962
2509
|
}[];
|
|
1963
2510
|
linkedPhaseIds: string[];
|
|
1964
2511
|
}, {
|
|
1965
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2512
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1966
2513
|
updatedAt: string;
|
|
1967
2514
|
id: string;
|
|
1968
2515
|
createdAt: string;
|
|
1969
2516
|
title: string;
|
|
1970
2517
|
description?: string | undefined;
|
|
1971
2518
|
macroTasks?: {
|
|
1972
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2519
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1973
2520
|
updatedAt: string;
|
|
1974
2521
|
id: string;
|
|
1975
2522
|
createdAt: string;
|
|
@@ -1980,14 +2527,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1980
2527
|
}>, "many">;
|
|
1981
2528
|
}, "strip", z.ZodTypeAny, {
|
|
1982
2529
|
requirements: {
|
|
1983
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2530
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1984
2531
|
updatedAt: string;
|
|
1985
2532
|
id: string;
|
|
1986
2533
|
createdAt: string;
|
|
1987
2534
|
title: string;
|
|
1988
2535
|
description: string;
|
|
1989
2536
|
macroTasks: {
|
|
1990
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2537
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1991
2538
|
updatedAt: string;
|
|
1992
2539
|
id: string;
|
|
1993
2540
|
createdAt: string;
|
|
@@ -1998,14 +2545,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1998
2545
|
}[];
|
|
1999
2546
|
}, {
|
|
2000
2547
|
requirements: {
|
|
2001
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2548
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2002
2549
|
updatedAt: string;
|
|
2003
2550
|
id: string;
|
|
2004
2551
|
createdAt: string;
|
|
2005
2552
|
title: string;
|
|
2006
2553
|
description?: string | undefined;
|
|
2007
2554
|
macroTasks?: {
|
|
2008
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2555
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2009
2556
|
updatedAt: string;
|
|
2010
2557
|
id: string;
|
|
2011
2558
|
createdAt: string;
|
|
@@ -2097,24 +2644,75 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2097
2644
|
/** Task to surface explicitly after the temporary work is resolved. */
|
|
2098
2645
|
resumeTaskId: z.ZodString;
|
|
2099
2646
|
reason: z.ZodDefault<z.ZodString>;
|
|
2647
|
+
/** Durable checkpoint captured when the resume task was paused. */
|
|
2648
|
+
snapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2649
|
+
id: z.ZodString;
|
|
2650
|
+
/** Why work stopped or changed focus. */
|
|
2651
|
+
reason: z.ZodString;
|
|
2652
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
2653
|
+
whatWasBeingDone: z.ZodString;
|
|
2654
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
2655
|
+
resumeLocation: z.ZodString;
|
|
2656
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
2657
|
+
howToResume: z.ZodString;
|
|
2658
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
2659
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
2660
|
+
pausedAt: z.ZodString;
|
|
2661
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
2662
|
+
}, "strip", z.ZodTypeAny, {
|
|
2663
|
+
id: string;
|
|
2664
|
+
reason: string;
|
|
2665
|
+
whatWasBeingDone: string;
|
|
2666
|
+
resumeLocation: string;
|
|
2667
|
+
howToResume: string;
|
|
2668
|
+
relatedTaskId: string;
|
|
2669
|
+
pausedAt: string;
|
|
2670
|
+
pausedBy: string;
|
|
2671
|
+
}, {
|
|
2672
|
+
id: string;
|
|
2673
|
+
reason: string;
|
|
2674
|
+
whatWasBeingDone: string;
|
|
2675
|
+
resumeLocation: string;
|
|
2676
|
+
howToResume: string;
|
|
2677
|
+
pausedAt: string;
|
|
2678
|
+
relatedTaskId?: string | undefined;
|
|
2679
|
+
pausedBy?: string | undefined;
|
|
2680
|
+
}>>>;
|
|
2100
2681
|
requestedBy: z.ZodDefault<z.ZodEnum<["agent", "user"]>>;
|
|
2101
2682
|
approvedBy: z.ZodDefault<z.ZodString>;
|
|
2102
|
-
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resolved", "canceled"]>>;
|
|
2683
|
+
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resume-required", "resolved", "resumed", "canceled"]>>;
|
|
2103
2684
|
createdAt: z.ZodString;
|
|
2104
2685
|
activatedAt: z.ZodDefault<z.ZodString>;
|
|
2686
|
+
/** When temporary work ended and the resume target became mandatory. */
|
|
2687
|
+
resumeRequiredAt: z.ZodDefault<z.ZodString>;
|
|
2688
|
+
/** Legacy temporary-work completion timestamp. */
|
|
2105
2689
|
resolvedAt: z.ZodDefault<z.ZodString>;
|
|
2690
|
+
/** When the preserved resume target was actually started again. */
|
|
2691
|
+
resumedAt: z.ZodDefault<z.ZodString>;
|
|
2106
2692
|
}, "strip", z.ZodTypeAny, {
|
|
2107
2693
|
id: string;
|
|
2108
2694
|
createdAt: string;
|
|
2695
|
+
reason: string;
|
|
2109
2696
|
recommendedTaskId: string;
|
|
2110
2697
|
temporaryTaskId: string;
|
|
2111
2698
|
resumeTaskId: string;
|
|
2112
|
-
|
|
2699
|
+
snapshot: {
|
|
2700
|
+
id: string;
|
|
2701
|
+
reason: string;
|
|
2702
|
+
whatWasBeingDone: string;
|
|
2703
|
+
resumeLocation: string;
|
|
2704
|
+
howToResume: string;
|
|
2705
|
+
relatedTaskId: string;
|
|
2706
|
+
pausedAt: string;
|
|
2707
|
+
pausedBy: string;
|
|
2708
|
+
} | null;
|
|
2113
2709
|
requestedBy: "agent" | "user";
|
|
2114
2710
|
approvedBy: string;
|
|
2115
|
-
state: "approved" | "active" | "resolved" | "canceled";
|
|
2711
|
+
state: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled";
|
|
2116
2712
|
activatedAt: string;
|
|
2713
|
+
resumeRequiredAt: string;
|
|
2117
2714
|
resolvedAt: string;
|
|
2715
|
+
resumedAt: string;
|
|
2118
2716
|
}, {
|
|
2119
2717
|
id: string;
|
|
2120
2718
|
createdAt: string;
|
|
@@ -2122,11 +2720,23 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2122
2720
|
temporaryTaskId: string;
|
|
2123
2721
|
resumeTaskId: string;
|
|
2124
2722
|
reason?: string | undefined;
|
|
2723
|
+
snapshot?: {
|
|
2724
|
+
id: string;
|
|
2725
|
+
reason: string;
|
|
2726
|
+
whatWasBeingDone: string;
|
|
2727
|
+
resumeLocation: string;
|
|
2728
|
+
howToResume: string;
|
|
2729
|
+
pausedAt: string;
|
|
2730
|
+
relatedTaskId?: string | undefined;
|
|
2731
|
+
pausedBy?: string | undefined;
|
|
2732
|
+
} | null | undefined;
|
|
2125
2733
|
requestedBy?: "agent" | "user" | undefined;
|
|
2126
2734
|
approvedBy?: string | undefined;
|
|
2127
|
-
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
2735
|
+
state?: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled" | undefined;
|
|
2128
2736
|
activatedAt?: string | undefined;
|
|
2737
|
+
resumeRequiredAt?: string | undefined;
|
|
2129
2738
|
resolvedAt?: string | undefined;
|
|
2739
|
+
resumedAt?: string | undefined;
|
|
2130
2740
|
}>, "many">>;
|
|
2131
2741
|
}, "strip", z.ZodTypeAny, {
|
|
2132
2742
|
name: string;
|
|
@@ -2160,15 +2770,27 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2160
2770
|
workDeviations: {
|
|
2161
2771
|
id: string;
|
|
2162
2772
|
createdAt: string;
|
|
2773
|
+
reason: string;
|
|
2163
2774
|
recommendedTaskId: string;
|
|
2164
2775
|
temporaryTaskId: string;
|
|
2165
2776
|
resumeTaskId: string;
|
|
2166
|
-
|
|
2777
|
+
snapshot: {
|
|
2778
|
+
id: string;
|
|
2779
|
+
reason: string;
|
|
2780
|
+
whatWasBeingDone: string;
|
|
2781
|
+
resumeLocation: string;
|
|
2782
|
+
howToResume: string;
|
|
2783
|
+
relatedTaskId: string;
|
|
2784
|
+
pausedAt: string;
|
|
2785
|
+
pausedBy: string;
|
|
2786
|
+
} | null;
|
|
2167
2787
|
requestedBy: "agent" | "user";
|
|
2168
2788
|
approvedBy: string;
|
|
2169
|
-
state: "approved" | "active" | "resolved" | "canceled";
|
|
2789
|
+
state: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled";
|
|
2170
2790
|
activatedAt: string;
|
|
2791
|
+
resumeRequiredAt: string;
|
|
2171
2792
|
resolvedAt: string;
|
|
2793
|
+
resumedAt: string;
|
|
2172
2794
|
}[];
|
|
2173
2795
|
}, {
|
|
2174
2796
|
name: string;
|
|
@@ -2206,11 +2828,23 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2206
2828
|
temporaryTaskId: string;
|
|
2207
2829
|
resumeTaskId: string;
|
|
2208
2830
|
reason?: string | undefined;
|
|
2831
|
+
snapshot?: {
|
|
2832
|
+
id: string;
|
|
2833
|
+
reason: string;
|
|
2834
|
+
whatWasBeingDone: string;
|
|
2835
|
+
resumeLocation: string;
|
|
2836
|
+
howToResume: string;
|
|
2837
|
+
pausedAt: string;
|
|
2838
|
+
relatedTaskId?: string | undefined;
|
|
2839
|
+
pausedBy?: string | undefined;
|
|
2840
|
+
} | null | undefined;
|
|
2209
2841
|
requestedBy?: "agent" | "user" | undefined;
|
|
2210
2842
|
approvedBy?: string | undefined;
|
|
2211
|
-
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
2843
|
+
state?: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled" | undefined;
|
|
2212
2844
|
activatedAt?: string | undefined;
|
|
2845
|
+
resumeRequiredAt?: string | undefined;
|
|
2213
2846
|
resolvedAt?: string | undefined;
|
|
2847
|
+
resumedAt?: string | undefined;
|
|
2214
2848
|
}[] | undefined;
|
|
2215
2849
|
}>;
|
|
2216
2850
|
features: z.ZodObject<{
|
|
@@ -2222,6 +2856,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2222
2856
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
2223
2857
|
name: z.ZodString;
|
|
2224
2858
|
description: z.ZodDefault<z.ZodString>;
|
|
2859
|
+
/** Updated only when this feature's description changes; distinct from entity updatedAt. */
|
|
2860
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
2225
2861
|
discussedAt: z.ZodDefault<z.ZodString>;
|
|
2226
2862
|
contextReady: z.ZodDefault<z.ZodBoolean>;
|
|
2227
2863
|
contextReadyReason: z.ZodDefault<z.ZodString>;
|
|
@@ -2257,8 +2893,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2257
2893
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2258
2894
|
id: z.ZodString;
|
|
2259
2895
|
date: z.ZodString;
|
|
2260
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2261
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2896
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2897
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2262
2898
|
title: z.ZodString;
|
|
2263
2899
|
description: z.ZodDefault<z.ZodString>;
|
|
2264
2900
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2266,14 +2902,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2266
2902
|
date: string;
|
|
2267
2903
|
title: string;
|
|
2268
2904
|
description: string;
|
|
2269
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2270
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2905
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2906
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2271
2907
|
}, {
|
|
2272
2908
|
id: string;
|
|
2273
2909
|
date: string;
|
|
2274
2910
|
title: string;
|
|
2275
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2276
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2911
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2912
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2277
2913
|
description?: string | undefined;
|
|
2278
2914
|
}>, "many">>;
|
|
2279
2915
|
createdAt: z.ZodString;
|
|
@@ -2295,13 +2931,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2295
2931
|
}[];
|
|
2296
2932
|
shortId: string;
|
|
2297
2933
|
priority: number;
|
|
2934
|
+
descriptionUpdatedAt: string;
|
|
2298
2935
|
statusLog: {
|
|
2299
2936
|
id: string;
|
|
2300
2937
|
date: string;
|
|
2301
2938
|
title: string;
|
|
2302
2939
|
description: string;
|
|
2303
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2304
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2940
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2941
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2305
2942
|
}[];
|
|
2306
2943
|
dependsOn: string[];
|
|
2307
2944
|
discussedAt: string;
|
|
@@ -2329,12 +2966,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2329
2966
|
}[] | undefined;
|
|
2330
2967
|
shortId?: string | undefined;
|
|
2331
2968
|
priority?: number | undefined;
|
|
2969
|
+
descriptionUpdatedAt?: string | undefined;
|
|
2332
2970
|
statusLog?: {
|
|
2333
2971
|
id: string;
|
|
2334
2972
|
date: string;
|
|
2335
2973
|
title: string;
|
|
2336
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2337
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2974
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2975
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2338
2976
|
description?: string | undefined;
|
|
2339
2977
|
}[] | undefined;
|
|
2340
2978
|
dependsOn?: string[] | undefined;
|
|
@@ -2365,13 +3003,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2365
3003
|
}[];
|
|
2366
3004
|
shortId: string;
|
|
2367
3005
|
priority: number;
|
|
3006
|
+
descriptionUpdatedAt: string;
|
|
2368
3007
|
statusLog: {
|
|
2369
3008
|
id: string;
|
|
2370
3009
|
date: string;
|
|
2371
3010
|
title: string;
|
|
2372
3011
|
description: string;
|
|
2373
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2374
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3012
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3013
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2375
3014
|
}[];
|
|
2376
3015
|
dependsOn: string[];
|
|
2377
3016
|
discussedAt: string;
|
|
@@ -2401,12 +3040,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2401
3040
|
}[] | undefined;
|
|
2402
3041
|
shortId?: string | undefined;
|
|
2403
3042
|
priority?: number | undefined;
|
|
3043
|
+
descriptionUpdatedAt?: string | undefined;
|
|
2404
3044
|
statusLog?: {
|
|
2405
3045
|
id: string;
|
|
2406
3046
|
date: string;
|
|
2407
3047
|
title: string;
|
|
2408
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2409
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3048
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3049
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2410
3050
|
description?: string | undefined;
|
|
2411
3051
|
}[] | undefined;
|
|
2412
3052
|
dependsOn?: string[] | undefined;
|
|
@@ -2425,23 +3065,23 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2425
3065
|
id: z.ZodString;
|
|
2426
3066
|
title: z.ZodString;
|
|
2427
3067
|
description: z.ZodDefault<z.ZodString>;
|
|
2428
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3068
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2429
3069
|
macroTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2430
3070
|
id: z.ZodString;
|
|
2431
3071
|
title: z.ZodString;
|
|
2432
3072
|
description: z.ZodDefault<z.ZodString>;
|
|
2433
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3073
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2434
3074
|
createdAt: z.ZodString;
|
|
2435
3075
|
updatedAt: z.ZodString;
|
|
2436
3076
|
}, "strip", z.ZodTypeAny, {
|
|
2437
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3077
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2438
3078
|
updatedAt: string;
|
|
2439
3079
|
id: string;
|
|
2440
3080
|
createdAt: string;
|
|
2441
3081
|
title: string;
|
|
2442
3082
|
description: string;
|
|
2443
3083
|
}, {
|
|
2444
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3084
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2445
3085
|
updatedAt: string;
|
|
2446
3086
|
id: string;
|
|
2447
3087
|
createdAt: string;
|
|
@@ -2452,14 +3092,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2452
3092
|
createdAt: z.ZodString;
|
|
2453
3093
|
updatedAt: z.ZodString;
|
|
2454
3094
|
}, "strip", z.ZodTypeAny, {
|
|
2455
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3095
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2456
3096
|
updatedAt: string;
|
|
2457
3097
|
id: string;
|
|
2458
3098
|
createdAt: string;
|
|
2459
3099
|
title: string;
|
|
2460
3100
|
description: string;
|
|
2461
3101
|
macroTasks: {
|
|
2462
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3102
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2463
3103
|
updatedAt: string;
|
|
2464
3104
|
id: string;
|
|
2465
3105
|
createdAt: string;
|
|
@@ -2468,14 +3108,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2468
3108
|
}[];
|
|
2469
3109
|
linkedPhaseIds: string[];
|
|
2470
3110
|
}, {
|
|
2471
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3111
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2472
3112
|
updatedAt: string;
|
|
2473
3113
|
id: string;
|
|
2474
3114
|
createdAt: string;
|
|
2475
3115
|
title: string;
|
|
2476
3116
|
description?: string | undefined;
|
|
2477
3117
|
macroTasks?: {
|
|
2478
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3118
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2479
3119
|
updatedAt: string;
|
|
2480
3120
|
id: string;
|
|
2481
3121
|
createdAt: string;
|
|
@@ -2486,14 +3126,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2486
3126
|
}>, "many">;
|
|
2487
3127
|
}, "strip", z.ZodTypeAny, {
|
|
2488
3128
|
requirements: {
|
|
2489
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3129
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2490
3130
|
updatedAt: string;
|
|
2491
3131
|
id: string;
|
|
2492
3132
|
createdAt: string;
|
|
2493
3133
|
title: string;
|
|
2494
3134
|
description: string;
|
|
2495
3135
|
macroTasks: {
|
|
2496
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3136
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2497
3137
|
updatedAt: string;
|
|
2498
3138
|
id: string;
|
|
2499
3139
|
createdAt: string;
|
|
@@ -2504,14 +3144,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2504
3144
|
}[];
|
|
2505
3145
|
}, {
|
|
2506
3146
|
requirements: {
|
|
2507
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3147
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2508
3148
|
updatedAt: string;
|
|
2509
3149
|
id: string;
|
|
2510
3150
|
createdAt: string;
|
|
2511
3151
|
title: string;
|
|
2512
3152
|
description?: string | undefined;
|
|
2513
3153
|
macroTasks?: {
|
|
2514
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3154
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2515
3155
|
updatedAt: string;
|
|
2516
3156
|
id: string;
|
|
2517
3157
|
createdAt: string;
|
|
@@ -2538,6 +3178,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2538
3178
|
contextReadyReason: z.ZodDefault<z.ZodString>;
|
|
2539
3179
|
summary: z.ZodDefault<z.ZodString>;
|
|
2540
3180
|
description: z.ZodDefault<z.ZodString>;
|
|
3181
|
+
/** Updated only when this phase's description changes; distinct from entity updatedAt. */
|
|
3182
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
2541
3183
|
notes: z.ZodDefault<z.ZodString>;
|
|
2542
3184
|
goals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2543
3185
|
nonGoals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2581,14 +3223,16 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2581
3223
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
2582
3224
|
shortName: z.ZodString;
|
|
2583
3225
|
title: z.ZodString;
|
|
2584
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3226
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2585
3227
|
description: z.ZodDefault<z.ZodString>;
|
|
3228
|
+
/** Updated only when this task's description changes; distinct from entity updatedAt. */
|
|
3229
|
+
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
2586
3230
|
notes: z.ZodDefault<z.ZodString>;
|
|
2587
3231
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2588
3232
|
id: z.ZodString;
|
|
2589
3233
|
date: z.ZodString;
|
|
2590
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2591
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3234
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3235
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2592
3236
|
title: z.ZodString;
|
|
2593
3237
|
description: z.ZodDefault<z.ZodString>;
|
|
2594
3238
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2596,14 +3240,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2596
3240
|
date: string;
|
|
2597
3241
|
title: string;
|
|
2598
3242
|
description: string;
|
|
2599
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2600
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3243
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3244
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2601
3245
|
}, {
|
|
2602
3246
|
id: string;
|
|
2603
3247
|
date: string;
|
|
2604
3248
|
title: string;
|
|
2605
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2606
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3249
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3250
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2607
3251
|
description?: string | undefined;
|
|
2608
3252
|
}>, "many">>;
|
|
2609
3253
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2651,19 +3295,19 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2651
3295
|
subtasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2652
3296
|
id: z.ZodString;
|
|
2653
3297
|
title: z.ZodString;
|
|
2654
|
-
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3298
|
+
status: z.ZodEnum<["planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2655
3299
|
description: z.ZodDefault<z.ZodString>;
|
|
2656
3300
|
createdAt: z.ZodString;
|
|
2657
3301
|
updatedAt: z.ZodString;
|
|
2658
3302
|
}, "strip", z.ZodTypeAny, {
|
|
2659
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3303
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2660
3304
|
updatedAt: string;
|
|
2661
3305
|
id: string;
|
|
2662
3306
|
createdAt: string;
|
|
2663
3307
|
title: string;
|
|
2664
3308
|
description: string;
|
|
2665
3309
|
}, {
|
|
2666
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3310
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2667
3311
|
updatedAt: string;
|
|
2668
3312
|
id: string;
|
|
2669
3313
|
createdAt: string;
|
|
@@ -2671,13 +3315,81 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2671
3315
|
description?: string | undefined;
|
|
2672
3316
|
}>, "many">>;
|
|
2673
3317
|
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3318
|
+
/** Current durable checkpoint while this task is paused. */
|
|
3319
|
+
pauseSnapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3320
|
+
id: z.ZodString;
|
|
3321
|
+
/** Why work stopped or changed focus. */
|
|
3322
|
+
reason: z.ZodString;
|
|
3323
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
3324
|
+
whatWasBeingDone: z.ZodString;
|
|
3325
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
3326
|
+
resumeLocation: z.ZodString;
|
|
3327
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
3328
|
+
howToResume: z.ZodString;
|
|
3329
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
3330
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
3331
|
+
pausedAt: z.ZodString;
|
|
3332
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
3333
|
+
}, "strip", z.ZodTypeAny, {
|
|
3334
|
+
id: string;
|
|
3335
|
+
reason: string;
|
|
3336
|
+
whatWasBeingDone: string;
|
|
3337
|
+
resumeLocation: string;
|
|
3338
|
+
howToResume: string;
|
|
3339
|
+
relatedTaskId: string;
|
|
3340
|
+
pausedAt: string;
|
|
3341
|
+
pausedBy: string;
|
|
3342
|
+
}, {
|
|
3343
|
+
id: string;
|
|
3344
|
+
reason: string;
|
|
3345
|
+
whatWasBeingDone: string;
|
|
3346
|
+
resumeLocation: string;
|
|
3347
|
+
howToResume: string;
|
|
3348
|
+
pausedAt: string;
|
|
3349
|
+
relatedTaskId?: string | undefined;
|
|
3350
|
+
pausedBy?: string | undefined;
|
|
3351
|
+
}>>>;
|
|
3352
|
+
/** Append-only checkpoint history retained after each resume. */
|
|
3353
|
+
pauseHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3354
|
+
id: z.ZodString;
|
|
3355
|
+
/** Why work stopped or changed focus. */
|
|
3356
|
+
reason: z.ZodString;
|
|
3357
|
+
/** Concrete checkpoint: what was underway when the task was paused. */
|
|
3358
|
+
whatWasBeingDone: z.ZodString;
|
|
3359
|
+
/** File, symbol, command, or other exact location from which to continue. */
|
|
3360
|
+
resumeLocation: z.ZodString;
|
|
3361
|
+
/** Ordered, actionable instructions for resuming the task. */
|
|
3362
|
+
howToResume: z.ZodString;
|
|
3363
|
+
/** Optional temporary/prerequisite task that caused the pause. */
|
|
3364
|
+
relatedTaskId: z.ZodDefault<z.ZodString>;
|
|
3365
|
+
pausedAt: z.ZodString;
|
|
3366
|
+
pausedBy: z.ZodDefault<z.ZodString>;
|
|
3367
|
+
}, "strip", z.ZodTypeAny, {
|
|
3368
|
+
id: string;
|
|
3369
|
+
reason: string;
|
|
3370
|
+
whatWasBeingDone: string;
|
|
3371
|
+
resumeLocation: string;
|
|
3372
|
+
howToResume: string;
|
|
3373
|
+
relatedTaskId: string;
|
|
3374
|
+
pausedAt: string;
|
|
3375
|
+
pausedBy: string;
|
|
3376
|
+
}, {
|
|
3377
|
+
id: string;
|
|
3378
|
+
reason: string;
|
|
3379
|
+
whatWasBeingDone: string;
|
|
3380
|
+
resumeLocation: string;
|
|
3381
|
+
howToResume: string;
|
|
3382
|
+
pausedAt: string;
|
|
3383
|
+
relatedTaskId?: string | undefined;
|
|
3384
|
+
pausedBy?: string | undefined;
|
|
3385
|
+
}>, "many">>;
|
|
2674
3386
|
startedAt: z.ZodDefault<z.ZodString>;
|
|
2675
3387
|
completedAt: z.ZodDefault<z.ZodString>;
|
|
2676
3388
|
createdAt: z.ZodString;
|
|
2677
3389
|
updatedAt: z.ZodString;
|
|
2678
3390
|
}, "strip", z.ZodTypeAny, {
|
|
2679
3391
|
number: number;
|
|
2680
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3392
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2681
3393
|
updatedAt: string;
|
|
2682
3394
|
notes: string;
|
|
2683
3395
|
id: string;
|
|
@@ -2697,13 +3409,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2697
3409
|
shortId: string;
|
|
2698
3410
|
priority: number;
|
|
2699
3411
|
shortName: string;
|
|
3412
|
+
descriptionUpdatedAt: string;
|
|
2700
3413
|
statusLog: {
|
|
2701
3414
|
id: string;
|
|
2702
3415
|
date: string;
|
|
2703
3416
|
title: string;
|
|
2704
3417
|
description: string;
|
|
2705
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2706
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3418
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3419
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2707
3420
|
}[];
|
|
2708
3421
|
checklist: (string | {
|
|
2709
3422
|
number: number;
|
|
@@ -2712,7 +3425,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2712
3425
|
checked: boolean;
|
|
2713
3426
|
})[];
|
|
2714
3427
|
subtasks: {
|
|
2715
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3428
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2716
3429
|
updatedAt: string;
|
|
2717
3430
|
id: string;
|
|
2718
3431
|
createdAt: string;
|
|
@@ -2720,10 +3433,30 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2720
3433
|
description: string;
|
|
2721
3434
|
}[];
|
|
2722
3435
|
dependsOn: string[];
|
|
3436
|
+
pauseSnapshot: {
|
|
3437
|
+
id: string;
|
|
3438
|
+
reason: string;
|
|
3439
|
+
whatWasBeingDone: string;
|
|
3440
|
+
resumeLocation: string;
|
|
3441
|
+
howToResume: string;
|
|
3442
|
+
relatedTaskId: string;
|
|
3443
|
+
pausedAt: string;
|
|
3444
|
+
pausedBy: string;
|
|
3445
|
+
} | null;
|
|
3446
|
+
pauseHistory: {
|
|
3447
|
+
id: string;
|
|
3448
|
+
reason: string;
|
|
3449
|
+
whatWasBeingDone: string;
|
|
3450
|
+
resumeLocation: string;
|
|
3451
|
+
howToResume: string;
|
|
3452
|
+
relatedTaskId: string;
|
|
3453
|
+
pausedAt: string;
|
|
3454
|
+
pausedBy: string;
|
|
3455
|
+
}[];
|
|
2723
3456
|
startedAt: string;
|
|
2724
3457
|
completedAt: string;
|
|
2725
3458
|
}, {
|
|
2726
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3459
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2727
3460
|
updatedAt: string;
|
|
2728
3461
|
id: string;
|
|
2729
3462
|
createdAt: string;
|
|
@@ -2744,12 +3477,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2744
3477
|
}[] | undefined;
|
|
2745
3478
|
shortId?: string | undefined;
|
|
2746
3479
|
priority?: number | undefined;
|
|
3480
|
+
descriptionUpdatedAt?: string | undefined;
|
|
2747
3481
|
statusLog?: {
|
|
2748
3482
|
id: string;
|
|
2749
3483
|
date: string;
|
|
2750
3484
|
title: string;
|
|
2751
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2752
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3485
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3486
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2753
3487
|
description?: string | undefined;
|
|
2754
3488
|
}[] | undefined;
|
|
2755
3489
|
checklist?: (string | {
|
|
@@ -2759,7 +3493,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2759
3493
|
checked?: boolean | undefined;
|
|
2760
3494
|
})[] | undefined;
|
|
2761
3495
|
subtasks?: {
|
|
2762
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3496
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2763
3497
|
updatedAt: string;
|
|
2764
3498
|
id: string;
|
|
2765
3499
|
createdAt: string;
|
|
@@ -2767,6 +3501,26 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2767
3501
|
description?: string | undefined;
|
|
2768
3502
|
}[] | undefined;
|
|
2769
3503
|
dependsOn?: string[] | undefined;
|
|
3504
|
+
pauseSnapshot?: {
|
|
3505
|
+
id: string;
|
|
3506
|
+
reason: string;
|
|
3507
|
+
whatWasBeingDone: string;
|
|
3508
|
+
resumeLocation: string;
|
|
3509
|
+
howToResume: string;
|
|
3510
|
+
pausedAt: string;
|
|
3511
|
+
relatedTaskId?: string | undefined;
|
|
3512
|
+
pausedBy?: string | undefined;
|
|
3513
|
+
} | null | undefined;
|
|
3514
|
+
pauseHistory?: {
|
|
3515
|
+
id: string;
|
|
3516
|
+
reason: string;
|
|
3517
|
+
whatWasBeingDone: string;
|
|
3518
|
+
resumeLocation: string;
|
|
3519
|
+
howToResume: string;
|
|
3520
|
+
pausedAt: string;
|
|
3521
|
+
relatedTaskId?: string | undefined;
|
|
3522
|
+
pausedBy?: string | undefined;
|
|
3523
|
+
}[] | undefined;
|
|
2770
3524
|
startedAt?: string | undefined;
|
|
2771
3525
|
completedAt?: string | undefined;
|
|
2772
3526
|
}>, {
|
|
@@ -2777,7 +3531,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2777
3531
|
checked: boolean;
|
|
2778
3532
|
}[];
|
|
2779
3533
|
number: number;
|
|
2780
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3534
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2781
3535
|
updatedAt: string;
|
|
2782
3536
|
notes: string;
|
|
2783
3537
|
id: string;
|
|
@@ -2797,16 +3551,17 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2797
3551
|
shortId: string;
|
|
2798
3552
|
priority: number;
|
|
2799
3553
|
shortName: string;
|
|
3554
|
+
descriptionUpdatedAt: string;
|
|
2800
3555
|
statusLog: {
|
|
2801
3556
|
id: string;
|
|
2802
3557
|
date: string;
|
|
2803
3558
|
title: string;
|
|
2804
3559
|
description: string;
|
|
2805
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2806
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3560
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3561
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2807
3562
|
}[];
|
|
2808
3563
|
subtasks: {
|
|
2809
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3564
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2810
3565
|
updatedAt: string;
|
|
2811
3566
|
id: string;
|
|
2812
3567
|
createdAt: string;
|
|
@@ -2814,10 +3569,30 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2814
3569
|
description: string;
|
|
2815
3570
|
}[];
|
|
2816
3571
|
dependsOn: string[];
|
|
3572
|
+
pauseSnapshot: {
|
|
3573
|
+
id: string;
|
|
3574
|
+
reason: string;
|
|
3575
|
+
whatWasBeingDone: string;
|
|
3576
|
+
resumeLocation: string;
|
|
3577
|
+
howToResume: string;
|
|
3578
|
+
relatedTaskId: string;
|
|
3579
|
+
pausedAt: string;
|
|
3580
|
+
pausedBy: string;
|
|
3581
|
+
} | null;
|
|
3582
|
+
pauseHistory: {
|
|
3583
|
+
id: string;
|
|
3584
|
+
reason: string;
|
|
3585
|
+
whatWasBeingDone: string;
|
|
3586
|
+
resumeLocation: string;
|
|
3587
|
+
howToResume: string;
|
|
3588
|
+
relatedTaskId: string;
|
|
3589
|
+
pausedAt: string;
|
|
3590
|
+
pausedBy: string;
|
|
3591
|
+
}[];
|
|
2817
3592
|
startedAt: string;
|
|
2818
3593
|
completedAt: string;
|
|
2819
3594
|
}, {
|
|
2820
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3595
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2821
3596
|
updatedAt: string;
|
|
2822
3597
|
id: string;
|
|
2823
3598
|
createdAt: string;
|
|
@@ -2838,12 +3613,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2838
3613
|
}[] | undefined;
|
|
2839
3614
|
shortId?: string | undefined;
|
|
2840
3615
|
priority?: number | undefined;
|
|
3616
|
+
descriptionUpdatedAt?: string | undefined;
|
|
2841
3617
|
statusLog?: {
|
|
2842
3618
|
id: string;
|
|
2843
3619
|
date: string;
|
|
2844
3620
|
title: string;
|
|
2845
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2846
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3621
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3622
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2847
3623
|
description?: string | undefined;
|
|
2848
3624
|
}[] | undefined;
|
|
2849
3625
|
checklist?: (string | {
|
|
@@ -2853,7 +3629,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2853
3629
|
checked?: boolean | undefined;
|
|
2854
3630
|
})[] | undefined;
|
|
2855
3631
|
subtasks?: {
|
|
2856
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3632
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2857
3633
|
updatedAt: string;
|
|
2858
3634
|
id: string;
|
|
2859
3635
|
createdAt: string;
|
|
@@ -2861,6 +3637,26 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2861
3637
|
description?: string | undefined;
|
|
2862
3638
|
}[] | undefined;
|
|
2863
3639
|
dependsOn?: string[] | undefined;
|
|
3640
|
+
pauseSnapshot?: {
|
|
3641
|
+
id: string;
|
|
3642
|
+
reason: string;
|
|
3643
|
+
whatWasBeingDone: string;
|
|
3644
|
+
resumeLocation: string;
|
|
3645
|
+
howToResume: string;
|
|
3646
|
+
pausedAt: string;
|
|
3647
|
+
relatedTaskId?: string | undefined;
|
|
3648
|
+
pausedBy?: string | undefined;
|
|
3649
|
+
} | null | undefined;
|
|
3650
|
+
pauseHistory?: {
|
|
3651
|
+
id: string;
|
|
3652
|
+
reason: string;
|
|
3653
|
+
whatWasBeingDone: string;
|
|
3654
|
+
resumeLocation: string;
|
|
3655
|
+
howToResume: string;
|
|
3656
|
+
pausedAt: string;
|
|
3657
|
+
relatedTaskId?: string | undefined;
|
|
3658
|
+
pausedBy?: string | undefined;
|
|
3659
|
+
}[] | undefined;
|
|
2864
3660
|
startedAt?: string | undefined;
|
|
2865
3661
|
completedAt?: string | undefined;
|
|
2866
3662
|
}>, "many">>;
|
|
@@ -2896,8 +3692,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2896
3692
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2897
3693
|
id: z.ZodString;
|
|
2898
3694
|
date: z.ZodString;
|
|
2899
|
-
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2900
|
-
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3695
|
+
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3696
|
+
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "paused", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2901
3697
|
title: z.ZodString;
|
|
2902
3698
|
description: z.ZodDefault<z.ZodString>;
|
|
2903
3699
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2905,14 +3701,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2905
3701
|
date: string;
|
|
2906
3702
|
title: string;
|
|
2907
3703
|
description: string;
|
|
2908
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2909
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3704
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3705
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2910
3706
|
}, {
|
|
2911
3707
|
id: string;
|
|
2912
3708
|
date: string;
|
|
2913
3709
|
title: string;
|
|
2914
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2915
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3710
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3711
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2916
3712
|
description?: string | undefined;
|
|
2917
3713
|
}>, "many">>;
|
|
2918
3714
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2936,13 +3732,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2936
3732
|
}[];
|
|
2937
3733
|
shortId: string;
|
|
2938
3734
|
priority: number;
|
|
3735
|
+
descriptionUpdatedAt: string;
|
|
2939
3736
|
statusLog: {
|
|
2940
3737
|
id: string;
|
|
2941
3738
|
date: string;
|
|
2942
3739
|
title: string;
|
|
2943
3740
|
description: string;
|
|
2944
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2945
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3741
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3742
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2946
3743
|
}[];
|
|
2947
3744
|
dependsOn: string[];
|
|
2948
3745
|
slug: string;
|
|
@@ -2963,7 +3760,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2963
3760
|
checked: boolean;
|
|
2964
3761
|
}[];
|
|
2965
3762
|
number: number;
|
|
2966
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3763
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2967
3764
|
updatedAt: string;
|
|
2968
3765
|
notes: string;
|
|
2969
3766
|
id: string;
|
|
@@ -2983,16 +3780,17 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2983
3780
|
shortId: string;
|
|
2984
3781
|
priority: number;
|
|
2985
3782
|
shortName: string;
|
|
3783
|
+
descriptionUpdatedAt: string;
|
|
2986
3784
|
statusLog: {
|
|
2987
3785
|
id: string;
|
|
2988
3786
|
date: string;
|
|
2989
3787
|
title: string;
|
|
2990
3788
|
description: string;
|
|
2991
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2992
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3789
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3790
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2993
3791
|
}[];
|
|
2994
3792
|
subtasks: {
|
|
2995
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3793
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2996
3794
|
updatedAt: string;
|
|
2997
3795
|
id: string;
|
|
2998
3796
|
createdAt: string;
|
|
@@ -3000,6 +3798,26 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3000
3798
|
description: string;
|
|
3001
3799
|
}[];
|
|
3002
3800
|
dependsOn: string[];
|
|
3801
|
+
pauseSnapshot: {
|
|
3802
|
+
id: string;
|
|
3803
|
+
reason: string;
|
|
3804
|
+
whatWasBeingDone: string;
|
|
3805
|
+
resumeLocation: string;
|
|
3806
|
+
howToResume: string;
|
|
3807
|
+
relatedTaskId: string;
|
|
3808
|
+
pausedAt: string;
|
|
3809
|
+
pausedBy: string;
|
|
3810
|
+
} | null;
|
|
3811
|
+
pauseHistory: {
|
|
3812
|
+
id: string;
|
|
3813
|
+
reason: string;
|
|
3814
|
+
whatWasBeingDone: string;
|
|
3815
|
+
resumeLocation: string;
|
|
3816
|
+
howToResume: string;
|
|
3817
|
+
relatedTaskId: string;
|
|
3818
|
+
pausedAt: string;
|
|
3819
|
+
pausedBy: string;
|
|
3820
|
+
}[];
|
|
3003
3821
|
startedAt: string;
|
|
3004
3822
|
completedAt: string;
|
|
3005
3823
|
}[];
|
|
@@ -3034,12 +3852,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3034
3852
|
}[] | undefined;
|
|
3035
3853
|
shortId?: string | undefined;
|
|
3036
3854
|
priority?: number | undefined;
|
|
3855
|
+
descriptionUpdatedAt?: string | undefined;
|
|
3037
3856
|
statusLog?: {
|
|
3038
3857
|
id: string;
|
|
3039
3858
|
date: string;
|
|
3040
3859
|
title: string;
|
|
3041
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3042
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3860
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3861
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3043
3862
|
description?: string | undefined;
|
|
3044
3863
|
}[] | undefined;
|
|
3045
3864
|
dependsOn?: string[] | undefined;
|
|
@@ -3054,7 +3873,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3054
3873
|
completionCriteria?: string[] | undefined;
|
|
3055
3874
|
taskIds?: string[] | undefined;
|
|
3056
3875
|
tasks?: {
|
|
3057
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3876
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3058
3877
|
updatedAt: string;
|
|
3059
3878
|
id: string;
|
|
3060
3879
|
createdAt: string;
|
|
@@ -3075,12 +3894,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3075
3894
|
}[] | undefined;
|
|
3076
3895
|
shortId?: string | undefined;
|
|
3077
3896
|
priority?: number | undefined;
|
|
3897
|
+
descriptionUpdatedAt?: string | undefined;
|
|
3078
3898
|
statusLog?: {
|
|
3079
3899
|
id: string;
|
|
3080
3900
|
date: string;
|
|
3081
3901
|
title: string;
|
|
3082
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3083
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3902
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3903
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3084
3904
|
description?: string | undefined;
|
|
3085
3905
|
}[] | undefined;
|
|
3086
3906
|
checklist?: (string | {
|
|
@@ -3090,7 +3910,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3090
3910
|
checked?: boolean | undefined;
|
|
3091
3911
|
})[] | undefined;
|
|
3092
3912
|
subtasks?: {
|
|
3093
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3913
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3094
3914
|
updatedAt: string;
|
|
3095
3915
|
id: string;
|
|
3096
3916
|
createdAt: string;
|
|
@@ -3098,6 +3918,26 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3098
3918
|
description?: string | undefined;
|
|
3099
3919
|
}[] | undefined;
|
|
3100
3920
|
dependsOn?: string[] | undefined;
|
|
3921
|
+
pauseSnapshot?: {
|
|
3922
|
+
id: string;
|
|
3923
|
+
reason: string;
|
|
3924
|
+
whatWasBeingDone: string;
|
|
3925
|
+
resumeLocation: string;
|
|
3926
|
+
howToResume: string;
|
|
3927
|
+
pausedAt: string;
|
|
3928
|
+
relatedTaskId?: string | undefined;
|
|
3929
|
+
pausedBy?: string | undefined;
|
|
3930
|
+
} | null | undefined;
|
|
3931
|
+
pauseHistory?: {
|
|
3932
|
+
id: string;
|
|
3933
|
+
reason: string;
|
|
3934
|
+
whatWasBeingDone: string;
|
|
3935
|
+
resumeLocation: string;
|
|
3936
|
+
howToResume: string;
|
|
3937
|
+
pausedAt: string;
|
|
3938
|
+
relatedTaskId?: string | undefined;
|
|
3939
|
+
pausedBy?: string | undefined;
|
|
3940
|
+
}[] | undefined;
|
|
3101
3941
|
startedAt?: string | undefined;
|
|
3102
3942
|
completedAt?: string | undefined;
|
|
3103
3943
|
}[] | undefined;
|
|
@@ -3129,13 +3969,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3129
3969
|
}[];
|
|
3130
3970
|
shortId: string;
|
|
3131
3971
|
priority: number;
|
|
3972
|
+
descriptionUpdatedAt: string;
|
|
3132
3973
|
statusLog: {
|
|
3133
3974
|
id: string;
|
|
3134
3975
|
date: string;
|
|
3135
3976
|
title: string;
|
|
3136
3977
|
description: string;
|
|
3137
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3138
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3978
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3979
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3139
3980
|
}[];
|
|
3140
3981
|
dependsOn: string[];
|
|
3141
3982
|
discussedAt: string;
|
|
@@ -3150,14 +3991,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3150
3991
|
};
|
|
3151
3992
|
requirements: {
|
|
3152
3993
|
requirements: {
|
|
3153
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3994
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3154
3995
|
updatedAt: string;
|
|
3155
3996
|
id: string;
|
|
3156
3997
|
createdAt: string;
|
|
3157
3998
|
title: string;
|
|
3158
3999
|
description: string;
|
|
3159
4000
|
macroTasks: {
|
|
3160
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4001
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3161
4002
|
updatedAt: string;
|
|
3162
4003
|
id: string;
|
|
3163
4004
|
createdAt: string;
|
|
@@ -3206,15 +4047,27 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3206
4047
|
workDeviations: {
|
|
3207
4048
|
id: string;
|
|
3208
4049
|
createdAt: string;
|
|
4050
|
+
reason: string;
|
|
3209
4051
|
recommendedTaskId: string;
|
|
3210
4052
|
temporaryTaskId: string;
|
|
3211
4053
|
resumeTaskId: string;
|
|
3212
|
-
|
|
4054
|
+
snapshot: {
|
|
4055
|
+
id: string;
|
|
4056
|
+
reason: string;
|
|
4057
|
+
whatWasBeingDone: string;
|
|
4058
|
+
resumeLocation: string;
|
|
4059
|
+
howToResume: string;
|
|
4060
|
+
relatedTaskId: string;
|
|
4061
|
+
pausedAt: string;
|
|
4062
|
+
pausedBy: string;
|
|
4063
|
+
} | null;
|
|
3213
4064
|
requestedBy: "agent" | "user";
|
|
3214
4065
|
approvedBy: string;
|
|
3215
|
-
state: "approved" | "active" | "resolved" | "canceled";
|
|
4066
|
+
state: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled";
|
|
3216
4067
|
activatedAt: string;
|
|
4068
|
+
resumeRequiredAt: string;
|
|
3217
4069
|
resolvedAt: string;
|
|
4070
|
+
resumedAt: string;
|
|
3218
4071
|
}[];
|
|
3219
4072
|
};
|
|
3220
4073
|
phases: {
|
|
@@ -3238,13 +4091,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3238
4091
|
}[];
|
|
3239
4092
|
shortId: string;
|
|
3240
4093
|
priority: number;
|
|
4094
|
+
descriptionUpdatedAt: string;
|
|
3241
4095
|
statusLog: {
|
|
3242
4096
|
id: string;
|
|
3243
4097
|
date: string;
|
|
3244
4098
|
title: string;
|
|
3245
4099
|
description: string;
|
|
3246
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3247
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4100
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4101
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3248
4102
|
}[];
|
|
3249
4103
|
dependsOn: string[];
|
|
3250
4104
|
slug: string;
|
|
@@ -3265,7 +4119,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3265
4119
|
checked: boolean;
|
|
3266
4120
|
}[];
|
|
3267
4121
|
number: number;
|
|
3268
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4122
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3269
4123
|
updatedAt: string;
|
|
3270
4124
|
notes: string;
|
|
3271
4125
|
id: string;
|
|
@@ -3285,16 +4139,17 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3285
4139
|
shortId: string;
|
|
3286
4140
|
priority: number;
|
|
3287
4141
|
shortName: string;
|
|
4142
|
+
descriptionUpdatedAt: string;
|
|
3288
4143
|
statusLog: {
|
|
3289
4144
|
id: string;
|
|
3290
4145
|
date: string;
|
|
3291
4146
|
title: string;
|
|
3292
4147
|
description: string;
|
|
3293
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3294
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4148
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4149
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3295
4150
|
}[];
|
|
3296
4151
|
subtasks: {
|
|
3297
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4152
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3298
4153
|
updatedAt: string;
|
|
3299
4154
|
id: string;
|
|
3300
4155
|
createdAt: string;
|
|
@@ -3302,6 +4157,26 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3302
4157
|
description: string;
|
|
3303
4158
|
}[];
|
|
3304
4159
|
dependsOn: string[];
|
|
4160
|
+
pauseSnapshot: {
|
|
4161
|
+
id: string;
|
|
4162
|
+
reason: string;
|
|
4163
|
+
whatWasBeingDone: string;
|
|
4164
|
+
resumeLocation: string;
|
|
4165
|
+
howToResume: string;
|
|
4166
|
+
relatedTaskId: string;
|
|
4167
|
+
pausedAt: string;
|
|
4168
|
+
pausedBy: string;
|
|
4169
|
+
} | null;
|
|
4170
|
+
pauseHistory: {
|
|
4171
|
+
id: string;
|
|
4172
|
+
reason: string;
|
|
4173
|
+
whatWasBeingDone: string;
|
|
4174
|
+
resumeLocation: string;
|
|
4175
|
+
howToResume: string;
|
|
4176
|
+
relatedTaskId: string;
|
|
4177
|
+
pausedAt: string;
|
|
4178
|
+
pausedBy: string;
|
|
4179
|
+
}[];
|
|
3305
4180
|
startedAt: string;
|
|
3306
4181
|
completedAt: string;
|
|
3307
4182
|
}[];
|
|
@@ -3334,12 +4209,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3334
4209
|
}[] | undefined;
|
|
3335
4210
|
shortId?: string | undefined;
|
|
3336
4211
|
priority?: number | undefined;
|
|
4212
|
+
descriptionUpdatedAt?: string | undefined;
|
|
3337
4213
|
statusLog?: {
|
|
3338
4214
|
id: string;
|
|
3339
4215
|
date: string;
|
|
3340
4216
|
title: string;
|
|
3341
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3342
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4217
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4218
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3343
4219
|
description?: string | undefined;
|
|
3344
4220
|
}[] | undefined;
|
|
3345
4221
|
dependsOn?: string[] | undefined;
|
|
@@ -3355,14 +4231,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3355
4231
|
};
|
|
3356
4232
|
requirements: {
|
|
3357
4233
|
requirements: {
|
|
3358
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4234
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3359
4235
|
updatedAt: string;
|
|
3360
4236
|
id: string;
|
|
3361
4237
|
createdAt: string;
|
|
3362
4238
|
title: string;
|
|
3363
4239
|
description?: string | undefined;
|
|
3364
4240
|
macroTasks?: {
|
|
3365
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4241
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3366
4242
|
updatedAt: string;
|
|
3367
4243
|
id: string;
|
|
3368
4244
|
createdAt: string;
|
|
@@ -3415,11 +4291,23 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3415
4291
|
temporaryTaskId: string;
|
|
3416
4292
|
resumeTaskId: string;
|
|
3417
4293
|
reason?: string | undefined;
|
|
4294
|
+
snapshot?: {
|
|
4295
|
+
id: string;
|
|
4296
|
+
reason: string;
|
|
4297
|
+
whatWasBeingDone: string;
|
|
4298
|
+
resumeLocation: string;
|
|
4299
|
+
howToResume: string;
|
|
4300
|
+
pausedAt: string;
|
|
4301
|
+
relatedTaskId?: string | undefined;
|
|
4302
|
+
pausedBy?: string | undefined;
|
|
4303
|
+
} | null | undefined;
|
|
3418
4304
|
requestedBy?: "agent" | "user" | undefined;
|
|
3419
4305
|
approvedBy?: string | undefined;
|
|
3420
|
-
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
4306
|
+
state?: "approved" | "active" | "resume-required" | "resolved" | "resumed" | "canceled" | undefined;
|
|
3421
4307
|
activatedAt?: string | undefined;
|
|
4308
|
+
resumeRequiredAt?: string | undefined;
|
|
3422
4309
|
resolvedAt?: string | undefined;
|
|
4310
|
+
resumedAt?: string | undefined;
|
|
3423
4311
|
}[] | undefined;
|
|
3424
4312
|
};
|
|
3425
4313
|
phases: {
|
|
@@ -3444,12 +4332,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3444
4332
|
}[] | undefined;
|
|
3445
4333
|
shortId?: string | undefined;
|
|
3446
4334
|
priority?: number | undefined;
|
|
4335
|
+
descriptionUpdatedAt?: string | undefined;
|
|
3447
4336
|
statusLog?: {
|
|
3448
4337
|
id: string;
|
|
3449
4338
|
date: string;
|
|
3450
4339
|
title: string;
|
|
3451
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3452
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4340
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4341
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3453
4342
|
description?: string | undefined;
|
|
3454
4343
|
}[] | undefined;
|
|
3455
4344
|
dependsOn?: string[] | undefined;
|
|
@@ -3464,7 +4353,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3464
4353
|
completionCriteria?: string[] | undefined;
|
|
3465
4354
|
taskIds?: string[] | undefined;
|
|
3466
4355
|
tasks?: {
|
|
3467
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4356
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3468
4357
|
updatedAt: string;
|
|
3469
4358
|
id: string;
|
|
3470
4359
|
createdAt: string;
|
|
@@ -3485,12 +4374,13 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3485
4374
|
}[] | undefined;
|
|
3486
4375
|
shortId?: string | undefined;
|
|
3487
4376
|
priority?: number | undefined;
|
|
4377
|
+
descriptionUpdatedAt?: string | undefined;
|
|
3488
4378
|
statusLog?: {
|
|
3489
4379
|
id: string;
|
|
3490
4380
|
date: string;
|
|
3491
4381
|
title: string;
|
|
3492
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3493
|
-
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4382
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4383
|
+
toStatus: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3494
4384
|
description?: string | undefined;
|
|
3495
4385
|
}[] | undefined;
|
|
3496
4386
|
checklist?: (string | {
|
|
@@ -3500,7 +4390,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3500
4390
|
checked?: boolean | undefined;
|
|
3501
4391
|
})[] | undefined;
|
|
3502
4392
|
subtasks?: {
|
|
3503
|
-
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4393
|
+
status: "canceled" | "planned" | "in-progress" | "paused" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3504
4394
|
updatedAt: string;
|
|
3505
4395
|
id: string;
|
|
3506
4396
|
createdAt: string;
|
|
@@ -3508,6 +4398,26 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3508
4398
|
description?: string | undefined;
|
|
3509
4399
|
}[] | undefined;
|
|
3510
4400
|
dependsOn?: string[] | undefined;
|
|
4401
|
+
pauseSnapshot?: {
|
|
4402
|
+
id: string;
|
|
4403
|
+
reason: string;
|
|
4404
|
+
whatWasBeingDone: string;
|
|
4405
|
+
resumeLocation: string;
|
|
4406
|
+
howToResume: string;
|
|
4407
|
+
pausedAt: string;
|
|
4408
|
+
relatedTaskId?: string | undefined;
|
|
4409
|
+
pausedBy?: string | undefined;
|
|
4410
|
+
} | null | undefined;
|
|
4411
|
+
pauseHistory?: {
|
|
4412
|
+
id: string;
|
|
4413
|
+
reason: string;
|
|
4414
|
+
whatWasBeingDone: string;
|
|
4415
|
+
resumeLocation: string;
|
|
4416
|
+
howToResume: string;
|
|
4417
|
+
pausedAt: string;
|
|
4418
|
+
relatedTaskId?: string | undefined;
|
|
4419
|
+
pausedBy?: string | undefined;
|
|
4420
|
+
}[] | undefined;
|
|
3511
4421
|
startedAt?: string | undefined;
|
|
3512
4422
|
completedAt?: string | undefined;
|
|
3513
4423
|
}[] | undefined;
|
|
@@ -3544,6 +4454,7 @@ export type WorkflowRules = z.infer<typeof WorkflowRulesSchema>;
|
|
|
3544
4454
|
export type AcceptedDecision = z.infer<typeof AcceptedDecisionSchema>;
|
|
3545
4455
|
export type Project = z.infer<typeof ProjectSchema>;
|
|
3546
4456
|
export type WorkDeviation = z.infer<typeof WorkDeviationSchema>;
|
|
4457
|
+
export type TaskPauseSnapshot = z.infer<typeof TaskPauseSnapshotSchema>;
|
|
3547
4458
|
export type Subtask = z.infer<typeof SubtaskSchema>;
|
|
3548
4459
|
export type ChecklistItem = z.infer<typeof ChecklistItemSchema>;
|
|
3549
4460
|
export type StatusLogEntry = z.infer<typeof StatusLogEntrySchema>;
|