@cat-factory/contracts 0.153.0 → 0.154.1
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/execution.d.ts +34 -2
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +8 -0
- package/dist/execution.js.map +1 -1
- package/dist/notifications.d.ts +69 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +35 -0
- package/dist/notifications.js.map +1 -1
- package/dist/prReview.d.ts +124 -2
- package/dist/prReview.d.ts.map +1 -1
- package/dist/prReview.js +84 -0
- package/dist/prReview.js.map +1 -1
- package/dist/public-api.d.ts +8 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +20 -2
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +80 -8
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +10 -1
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +50 -5
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/notifications.d.ts +24 -3
- package/dist/routes/notifications.d.ts.map +1 -1
- package/dist/routes/prReview.d.ts +183 -2
- package/dist/routes/prReview.d.ts.map +1 -1
- package/dist/routes/prReview.js +23 -4
- package/dist/routes/prReview.js.map +1 -1
- package/dist/routes/public-api.d.ts +24 -3
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/visual-confirm.d.ts +30 -3
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +36 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +18 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -872,7 +872,7 @@ export declare const createWorkspaceContract: {
|
|
|
872
872
|
readonly messageId: v.StringSchema<undefined>;
|
|
873
873
|
}, undefined>, undefined>, undefined>;
|
|
874
874
|
readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
875
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
875
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
876
876
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
877
877
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
878
878
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -891,6 +891,11 @@ export declare const createWorkspaceContract: {
|
|
|
891
891
|
readonly title: v.StringSchema<undefined>;
|
|
892
892
|
readonly detail: v.StringSchema<undefined>;
|
|
893
893
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
894
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
895
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
896
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
897
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
898
|
+
}, undefined>, undefined>, undefined>;
|
|
894
899
|
}, undefined>, undefined>, readonly []>;
|
|
895
900
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
896
901
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -914,6 +919,10 @@ export declare const createWorkspaceContract: {
|
|
|
914
919
|
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
915
920
|
}, undefined>, undefined>, undefined>;
|
|
916
921
|
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
922
|
+
readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
923
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
924
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
925
|
+
}, undefined>, undefined>, undefined>;
|
|
917
926
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
918
927
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
919
928
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1404,7 +1413,7 @@ export declare const createWorkspaceContract: {
|
|
|
1404
1413
|
}, undefined>, undefined>;
|
|
1405
1414
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1406
1415
|
readonly id: v.StringSchema<undefined>;
|
|
1407
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
1416
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
1408
1417
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1409
1418
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1410
1419
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1443,6 +1452,13 @@ export declare const createWorkspaceContract: {
|
|
|
1443
1452
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1444
1453
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
1445
1454
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
1455
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1456
|
+
readonly source: v.StringSchema<undefined>;
|
|
1457
|
+
readonly id: v.StringSchema<undefined>;
|
|
1458
|
+
readonly label: v.StringSchema<undefined>;
|
|
1459
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
1460
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1461
|
+
}, undefined>, undefined>, undefined>;
|
|
1446
1462
|
}, undefined>, undefined>, undefined>;
|
|
1447
1463
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1448
1464
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -3133,7 +3149,7 @@ export declare const getWorkspaceContract: {
|
|
|
3133
3149
|
readonly messageId: v.StringSchema<undefined>;
|
|
3134
3150
|
}, undefined>, undefined>, undefined>;
|
|
3135
3151
|
readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3136
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
3152
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
3137
3153
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3138
3154
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3139
3155
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -3152,6 +3168,11 @@ export declare const getWorkspaceContract: {
|
|
|
3152
3168
|
readonly title: v.StringSchema<undefined>;
|
|
3153
3169
|
readonly detail: v.StringSchema<undefined>;
|
|
3154
3170
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3171
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3172
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
3173
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3174
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3175
|
+
}, undefined>, undefined>, undefined>;
|
|
3155
3176
|
}, undefined>, undefined>, readonly []>;
|
|
3156
3177
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
3157
3178
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -3175,6 +3196,10 @@ export declare const getWorkspaceContract: {
|
|
|
3175
3196
|
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
3176
3197
|
}, undefined>, undefined>, undefined>;
|
|
3177
3198
|
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
3199
|
+
readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3200
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
3201
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3202
|
+
}, undefined>, undefined>, undefined>;
|
|
3178
3203
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3179
3204
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
3180
3205
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -3665,7 +3690,7 @@ export declare const getWorkspaceContract: {
|
|
|
3665
3690
|
}, undefined>, undefined>;
|
|
3666
3691
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3667
3692
|
readonly id: v.StringSchema<undefined>;
|
|
3668
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
3693
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
3669
3694
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
3670
3695
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
3671
3696
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -3704,6 +3729,13 @@ export declare const getWorkspaceContract: {
|
|
|
3704
3729
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3705
3730
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
3706
3731
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
3732
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3733
|
+
readonly source: v.StringSchema<undefined>;
|
|
3734
|
+
readonly id: v.StringSchema<undefined>;
|
|
3735
|
+
readonly label: v.StringSchema<undefined>;
|
|
3736
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
3737
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
3738
|
+
}, undefined>, undefined>, undefined>;
|
|
3707
3739
|
}, undefined>, undefined>, undefined>;
|
|
3708
3740
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
3709
3741
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, 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;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,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;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/slack.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export type SlackRoute = v.InferOutput<typeof slackRouteSchema>;
|
|
|
30
30
|
* type absent from `routes`, disabled, or with an empty channel does not post.
|
|
31
31
|
*/
|
|
32
32
|
export declare const slackNotificationSettingsSchema: v.ObjectSchema<{
|
|
33
|
-
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>, v.ObjectSchema<{
|
|
33
|
+
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>, v.ObjectSchema<{
|
|
34
34
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
35
35
|
/** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
|
|
36
36
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
@@ -83,7 +83,7 @@ export declare const connectSlackByTokenSchema: v.ObjectSchema<{
|
|
|
83
83
|
export type ConnectSlackByTokenInput = v.InferOutput<typeof connectSlackByTokenSchema>;
|
|
84
84
|
/** Replace a workspace's Slack notification routing. */
|
|
85
85
|
export declare const updateSlackSettingsSchema: v.ObjectSchema<{
|
|
86
|
-
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>, v.ObjectSchema<{
|
|
86
|
+
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>, v.ObjectSchema<{
|
|
87
87
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
88
88
|
/** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
|
|
89
89
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -799,7 +799,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
799
799
|
readonly messageId: v.StringSchema<undefined>;
|
|
800
800
|
}, undefined>, undefined>, undefined>;
|
|
801
801
|
readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
802
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
802
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
803
803
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
804
804
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
805
805
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -818,6 +818,11 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
818
818
|
readonly title: v.StringSchema<undefined>;
|
|
819
819
|
readonly detail: v.StringSchema<undefined>;
|
|
820
820
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
821
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
822
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
823
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
824
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
825
|
+
}, undefined>, undefined>, undefined>;
|
|
821
826
|
}, undefined>, undefined>, readonly []>;
|
|
822
827
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
823
828
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -841,6 +846,10 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
841
846
|
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
842
847
|
}, undefined>, undefined>, undefined>;
|
|
843
848
|
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
849
|
+
readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
850
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
851
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
852
|
+
}, undefined>, undefined>, undefined>;
|
|
844
853
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
845
854
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
846
855
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1379,7 +1388,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1379
1388
|
*/
|
|
1380
1389
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1381
1390
|
readonly id: v.StringSchema<undefined>;
|
|
1382
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
1391
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
1383
1392
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1384
1393
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1385
1394
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1418,6 +1427,13 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1418
1427
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1419
1428
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
1420
1429
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
1430
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1431
|
+
readonly source: v.StringSchema<undefined>;
|
|
1432
|
+
readonly id: v.StringSchema<undefined>;
|
|
1433
|
+
readonly label: v.StringSchema<undefined>;
|
|
1434
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
1435
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1436
|
+
}, undefined>, undefined>, undefined>;
|
|
1421
1437
|
}, undefined>, undefined>, undefined>;
|
|
1422
1438
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1423
1439
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, 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;AAoC5B,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","s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