@cat-factory/contracts 0.133.0 → 0.135.0
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/entities.d.ts +1 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/github.d.ts +11 -0
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js.map +1 -1
- package/dist/initiative.d.ts +5 -0
- package/dist/initiative.d.ts.map +1 -1
- package/dist/primitives.d.ts +4 -2
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +4 -2
- package/dist/primitives.js.map +1 -1
- package/dist/public-api.d.ts +120 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +79 -0
- package/dist/public-api.js.map +1 -1
- package/dist/requests.d.ts +1 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/routes/board.d.ts +13 -0
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +2 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/initiative.d.ts +17 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +238 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-api.js +39 -1
- package/dist/routes/public-api.js.map +1 -1
- package/dist/routes/tasks.d.ts +3 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +6 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +3 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -431,4 +431,242 @@ export declare const startPublicTaskContract: {
|
|
|
431
431
|
}, undefined>;
|
|
432
432
|
};
|
|
433
433
|
};
|
|
434
|
+
/** Edit a task's title/description (pre-start edits). */
|
|
435
|
+
export declare const updatePublicTaskContract: {
|
|
436
|
+
readonly method: "patch";
|
|
437
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
438
|
+
taskId: import("valibot").StringSchema<undefined>;
|
|
439
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
440
|
+
readonly pathResolver: ({ taskId }: {
|
|
441
|
+
taskId: string;
|
|
442
|
+
}) => string;
|
|
443
|
+
readonly requestBodySchema: import("valibot").ObjectSchema<{
|
|
444
|
+
readonly title: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
445
|
+
readonly description: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
446
|
+
}, undefined>;
|
|
447
|
+
readonly responsesByStatusCode: {
|
|
448
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
449
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
450
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
451
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
452
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
453
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
454
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
455
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
456
|
+
}, undefined>, undefined>, undefined>;
|
|
457
|
+
}, undefined>;
|
|
458
|
+
}, undefined>;
|
|
459
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
460
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
461
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
462
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
463
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
464
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
465
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
466
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
467
|
+
}, undefined>, undefined>, undefined>;
|
|
468
|
+
}, undefined>;
|
|
469
|
+
}, undefined>;
|
|
470
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
471
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
472
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
473
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
474
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
475
|
+
readonly taskType: import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>;
|
|
476
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
477
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
478
|
+
readonly executionId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
479
|
+
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
480
|
+
}, undefined>;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
/** Stop a task's in-flight run (records a `cancelled` terminal state, leaving it retryable). */
|
|
484
|
+
export declare const stopPublicTaskContract: {
|
|
485
|
+
readonly method: "post";
|
|
486
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
487
|
+
taskId: import("valibot").StringSchema<undefined>;
|
|
488
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
489
|
+
readonly pathResolver: ({ taskId }: {
|
|
490
|
+
taskId: string;
|
|
491
|
+
}) => string;
|
|
492
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
493
|
+
readonly responsesByStatusCode: {
|
|
494
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
495
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
496
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
497
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
498
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
499
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
500
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
501
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
502
|
+
}, undefined>, undefined>, undefined>;
|
|
503
|
+
}, undefined>;
|
|
504
|
+
}, undefined>;
|
|
505
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
506
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
507
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
508
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
509
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
510
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
511
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
512
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
513
|
+
}, undefined>, undefined>, undefined>;
|
|
514
|
+
}, undefined>;
|
|
515
|
+
}, undefined>;
|
|
516
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
517
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
518
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
519
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
520
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
521
|
+
readonly taskType: import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>;
|
|
522
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
523
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
524
|
+
readonly executionId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
525
|
+
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
526
|
+
}, undefined>;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
/** Retry a task's failed run. */
|
|
530
|
+
export declare const retryPublicTaskContract: {
|
|
531
|
+
readonly method: "post";
|
|
532
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
533
|
+
taskId: import("valibot").StringSchema<undefined>;
|
|
534
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
535
|
+
readonly pathResolver: ({ taskId }: {
|
|
536
|
+
taskId: string;
|
|
537
|
+
}) => string;
|
|
538
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
539
|
+
readonly responsesByStatusCode: {
|
|
540
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
541
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
542
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
543
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
544
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
545
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
546
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
547
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
548
|
+
}, undefined>, undefined>, undefined>;
|
|
549
|
+
}, undefined>;
|
|
550
|
+
}, undefined>;
|
|
551
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
552
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
553
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
554
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
555
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
556
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
557
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
558
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
559
|
+
}, undefined>, undefined>, undefined>;
|
|
560
|
+
}, undefined>;
|
|
561
|
+
}, undefined>;
|
|
562
|
+
readonly 202: import("valibot").ObjectSchema<{
|
|
563
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
564
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
565
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
566
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
567
|
+
readonly taskType: import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>;
|
|
568
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
569
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
570
|
+
readonly executionId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
571
|
+
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
572
|
+
}, undefined>;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
/** Read a task's rich run projection (per-step status, subtasks, failure, PR branch). */
|
|
576
|
+
export declare const getPublicRunContract: {
|
|
577
|
+
readonly method: "get";
|
|
578
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
579
|
+
taskId: import("valibot").StringSchema<undefined>;
|
|
580
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
581
|
+
readonly pathResolver: ({ taskId }: {
|
|
582
|
+
taskId: string;
|
|
583
|
+
}) => string;
|
|
584
|
+
readonly responsesByStatusCode: {
|
|
585
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
586
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
587
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
588
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
589
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
590
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
591
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
592
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
593
|
+
}, undefined>, undefined>, undefined>;
|
|
594
|
+
}, undefined>;
|
|
595
|
+
}, undefined>;
|
|
596
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
597
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
598
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
599
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
600
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
601
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
602
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
603
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
604
|
+
}, undefined>, undefined>, undefined>;
|
|
605
|
+
}, undefined>;
|
|
606
|
+
}, undefined>;
|
|
607
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
608
|
+
readonly runId: import("valibot").StringSchema<undefined>;
|
|
609
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
610
|
+
readonly status: import("valibot").PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
611
|
+
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
612
|
+
readonly currentStep: import("valibot").NumberSchema<undefined>;
|
|
613
|
+
readonly steps: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
614
|
+
readonly agentKind: import("valibot").StringSchema<undefined>;
|
|
615
|
+
readonly state: import("valibot").PicklistSchema<["pending", "working", "waiting_decision", "done"], undefined>;
|
|
616
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
617
|
+
readonly subtasks: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
618
|
+
readonly completed: import("valibot").NumberSchema<undefined>;
|
|
619
|
+
readonly inProgress: import("valibot").NumberSchema<undefined>;
|
|
620
|
+
readonly total: import("valibot").NumberSchema<undefined>;
|
|
621
|
+
}, undefined>, undefined>;
|
|
622
|
+
}, undefined>, undefined>;
|
|
623
|
+
readonly pullRequest: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
624
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
625
|
+
readonly branch: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
626
|
+
}, undefined>, undefined>;
|
|
627
|
+
readonly error: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
628
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
629
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
630
|
+
}, undefined>, undefined>;
|
|
631
|
+
}, undefined>;
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
/** List the workspace's pipelines (id/name/steps + a headless-startable flag). */
|
|
635
|
+
export declare const listPublicPipelinesContract: {
|
|
636
|
+
readonly method: "get";
|
|
637
|
+
readonly pathResolver: () => string;
|
|
638
|
+
readonly responsesByStatusCode: {
|
|
639
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
640
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
641
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
642
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
643
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
644
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
645
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
646
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
647
|
+
}, undefined>, undefined>, undefined>;
|
|
648
|
+
}, undefined>;
|
|
649
|
+
}, undefined>;
|
|
650
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
651
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
652
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
653
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
654
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
655
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
656
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
657
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
658
|
+
}, undefined>, undefined>, undefined>;
|
|
659
|
+
}, undefined>;
|
|
660
|
+
}, undefined>;
|
|
661
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
662
|
+
readonly pipelines: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
663
|
+
readonly pipelineId: import("valibot").StringSchema<undefined>;
|
|
664
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
665
|
+
readonly steps: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
666
|
+
readonly public: import("valibot").BooleanSchema<undefined>;
|
|
667
|
+
readonly headlessStartable: import("valibot").BooleanSchema<undefined>;
|
|
668
|
+
}, undefined>, undefined>;
|
|
669
|
+
}, undefined>;
|
|
670
|
+
};
|
|
671
|
+
};
|
|
434
672
|
//# sourceMappingURL=public-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAuC3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAIF,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrC,CAAA;AAEF,qCAAqC;AACrC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzC,CAAA;AAEF,2BAA2B;AAC3B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhC,CAAA;AAEF,0BAA0B;AAC1B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,yDAAyD;AACzD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,gGAAgG;AAChG,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,iCAAiC;AACjC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,yFAAyF;AACzF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAIF,kFAAkF;AAClF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import { createPublicApiKeySchema, createdPublicApiKeySchema, publicApiKeyListResultSchema, } from '../public-api-keys.js';
|
|
3
|
-
import { createInitiativeJobSchema, createPublicTaskSchema, initiativeAcceptedSchema, publicJobSchema, publicServiceListSchema, publicTaskListSchema, publicTaskSchema, startPublicTaskSchema, } from '../public-api.js';
|
|
3
|
+
import { createInitiativeJobSchema, createPublicTaskSchema, initiativeAcceptedSchema, publicJobSchema, publicPipelineListSchema, publicRunSchema, publicServiceListSchema, publicTaskListSchema, publicTaskSchema, startPublicTaskSchema, updatePublicTaskSchema, } from '../public-api.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
6
|
// Public-API route contracts. Two surfaces:
|
|
@@ -84,4 +84,42 @@ export const startPublicTaskContract = defineApiContract({
|
|
|
84
84
|
requestBodySchema: startPublicTaskSchema,
|
|
85
85
|
responsesByStatusCode: { 202: publicTaskSchema, ...errorResponses },
|
|
86
86
|
});
|
|
87
|
+
/** Edit a task's title/description (pre-start edits). */
|
|
88
|
+
export const updatePublicTaskContract = defineApiContract({
|
|
89
|
+
method: 'patch',
|
|
90
|
+
requestPathParamsSchema: taskIdParams,
|
|
91
|
+
pathResolver: ({ taskId }) => `/api/v1/tasks/${taskId}`,
|
|
92
|
+
requestBodySchema: updatePublicTaskSchema,
|
|
93
|
+
responsesByStatusCode: { 200: publicTaskSchema, ...errorResponses },
|
|
94
|
+
});
|
|
95
|
+
/** Stop a task's in-flight run (records a `cancelled` terminal state, leaving it retryable). */
|
|
96
|
+
export const stopPublicTaskContract = defineApiContract({
|
|
97
|
+
method: 'post',
|
|
98
|
+
requestPathParamsSchema: taskIdParams,
|
|
99
|
+
pathResolver: ({ taskId }) => `/api/v1/tasks/${taskId}/stop`,
|
|
100
|
+
requestBodySchema: ContractNoBody,
|
|
101
|
+
responsesByStatusCode: { 200: publicTaskSchema, ...errorResponses },
|
|
102
|
+
});
|
|
103
|
+
/** Retry a task's failed run. */
|
|
104
|
+
export const retryPublicTaskContract = defineApiContract({
|
|
105
|
+
method: 'post',
|
|
106
|
+
requestPathParamsSchema: taskIdParams,
|
|
107
|
+
pathResolver: ({ taskId }) => `/api/v1/tasks/${taskId}/retry`,
|
|
108
|
+
requestBodySchema: ContractNoBody,
|
|
109
|
+
responsesByStatusCode: { 202: publicTaskSchema, ...errorResponses },
|
|
110
|
+
});
|
|
111
|
+
/** Read a task's rich run projection (per-step status, subtasks, failure, PR branch). */
|
|
112
|
+
export const getPublicRunContract = defineApiContract({
|
|
113
|
+
method: 'get',
|
|
114
|
+
requestPathParamsSchema: taskIdParams,
|
|
115
|
+
pathResolver: ({ taskId }) => `/api/v1/tasks/${taskId}/run`,
|
|
116
|
+
responsesByStatusCode: { 200: publicRunSchema, ...errorResponses },
|
|
117
|
+
});
|
|
118
|
+
// ---- pipeline discovery (key-authenticated) --------------------------------
|
|
119
|
+
/** List the workspace's pipelines (id/name/steps + a headless-startable flag). */
|
|
120
|
+
export const listPublicPipelinesContract = defineApiContract({
|
|
121
|
+
method: 'get',
|
|
122
|
+
pathResolver: () => '/api/v1/pipelines',
|
|
123
|
+
responsesByStatusCode: { 200: publicPipelineListSchema, ...errorResponses },
|
|
124
|
+
});
|
|
87
125
|
//# sourceMappingURL=public-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,wBAAwB,EACxB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,4CAA4C;AAC5C,EAAE;AACF,gFAAgF;AAChF,iFAAiF;AACjF,mFAAmF;AACnF,8DAA8D;AAC9D,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,8EAA8E;AAE9E,MAAM,QAAQ,GAAG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QAAQ;IAC7D,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE;CACpE,CAAC,CAAA;AAEF,yFAAyF;AACzF,MAAM,CAAC,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACpD,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,YAAY;IACrC,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,iBAAiB,MAAM,MAAM;IAC3D,qBAAqB,EAAE,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,cAAc,EAAE;CACnE,CAAC,CAAA;AAEF,+EAA+E;AAE/E,kFAAkF;AAClF,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC3D,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,mBAAmB;IACvC,qBAAqB,EAAE,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,cAAc,EAAE;CAC5E,CAAC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -578,6 +578,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
578
578
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
579
579
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
580
580
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
581
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
581
582
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
582
583
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
583
584
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -982,6 +983,7 @@ export declare const spawnEpicContract: {
|
|
|
982
983
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
983
984
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
984
985
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
986
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
985
987
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
986
988
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
987
989
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1323,6 +1325,7 @@ export declare const spawnEpicContract: {
|
|
|
1323
1325
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1324
1326
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1325
1327
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1328
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1326
1329
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1327
1330
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1328
1331
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuD5B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
|
|
@@ -112,6 +112,7 @@ export declare const createWorkspaceContract: {
|
|
|
112
112
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
113
113
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
114
114
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
115
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
115
116
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
116
117
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
117
118
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1629,6 +1630,7 @@ export declare const createWorkspaceContract: {
|
|
|
1629
1630
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1630
1631
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1631
1632
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1633
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1632
1634
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1633
1635
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1634
1636
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -2027,6 +2029,7 @@ export declare const createWorkspaceContract: {
|
|
|
2027
2029
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2028
2030
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2029
2031
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
2032
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
2030
2033
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
2031
2034
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
2032
2035
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -2315,6 +2318,7 @@ export declare const getWorkspaceContract: {
|
|
|
2315
2318
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2316
2319
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2317
2320
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
2321
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
2318
2322
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
2319
2323
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
2320
2324
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -3832,6 +3836,7 @@ export declare const getWorkspaceContract: {
|
|
|
3832
3836
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
3833
3837
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
3834
3838
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
3839
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3835
3840
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
3836
3841
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3837
3842
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -4230,6 +4235,7 @@ export declare const getWorkspaceContract: {
|
|
|
4230
4235
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
4231
4236
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
4232
4237
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
4238
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
4233
4239
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
4234
4240
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
4235
4241
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GED
|
@@ -57,6 +57,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
57
57
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
58
58
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
59
59
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
60
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
60
61
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
61
62
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
62
63
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1679,6 +1680,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1679
1680
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1680
1681
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1681
1682
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1683
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1682
1684
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1683
1685
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1684
1686
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -2141,6 +2143,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2141
2143
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2142
2144
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2143
2145
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
2146
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
2144
2147
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
2145
2148
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
2146
2149
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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