@cat-factory/contracts 0.312.0 → 0.314.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/accountSettings.d.ts +3 -3
- package/dist/api-keys.d.ts +5 -5
- package/dist/api-keys.d.ts.map +1 -1
- package/dist/api-keys.js +1 -0
- package/dist/api-keys.js.map +1 -1
- package/dist/deploy-fix.d.ts +98 -0
- package/dist/deploy-fix.d.ts.map +1 -0
- package/dist/deploy-fix.js +96 -0
- package/dist/deploy-fix.js.map +1 -0
- package/dist/entities.d.ts +18 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +7 -0
- package/dist/entities.js.map +1 -1
- package/dist/environments.d.ts +26 -1
- package/dist/environments.d.ts.map +1 -1
- package/dist/environments.js +71 -1
- package/dist/environments.js.map +1 -1
- package/dist/execution.d.ts +50 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +7 -0
- package/dist/execution.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/modelPolicy.d.ts +2 -2
- package/dist/modelPolicy.d.ts.map +1 -1
- package/dist/modelPolicy.js +1 -0
- package/dist/modelPolicy.js.map +1 -1
- package/dist/notification-routing.d.ts +4 -4
- package/dist/notification-routing.d.ts.map +1 -1
- package/dist/notification-routing.js +3 -1
- package/dist/notification-routing.js.map +1 -1
- package/dist/notification-webhooks.d.ts +6 -6
- package/dist/notification-webhooks.d.ts.map +1 -1
- package/dist/notification-webhooks.js +1 -0
- package/dist/notification-webhooks.js.map +1 -1
- package/dist/notifications.d.ts +4 -4
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +7 -2
- package/dist/notifications.js.map +1 -1
- package/dist/public-api.d.ts +1 -1
- package/dist/requests.d.ts +8 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/reserved-env-keys.d.ts.map +1 -1
- package/dist/reserved-env-keys.js +4 -0
- package/dist/reserved-env-keys.js.map +1 -1
- package/dist/routes/accounts.d.ts +7 -7
- package/dist/routes/agent-runs.d.ts +40 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/api-keys.d.ts +8 -8
- package/dist/routes/bug-hunt.d.ts +40 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +180 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +20 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +100 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/notification-webhooks.d.ts +14 -14
- package/dist/routes/notifications.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +32 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +3 -3
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/visual-confirm.d.ts +60 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +50 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/run-evidence.d.ts +12 -0
- package/dist/run-evidence.d.ts.map +1 -1
- package/dist/run-evidence.js +12 -0
- package/dist/run-evidence.js.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +25 -1
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/snapshot.d.ts
CHANGED
|
@@ -470,6 +470,10 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
470
470
|
}, undefined>, undefined>;
|
|
471
471
|
}, undefined>, undefined>;
|
|
472
472
|
readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
473
|
+
readonly deployFix: v.OptionalSchema<v.ObjectSchema<{
|
|
474
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
475
|
+
readonly maxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
476
|
+
}, undefined>, undefined>;
|
|
473
477
|
readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
|
|
474
478
|
readonly approvers: v.OptionalSchema<v.ObjectSchema<{
|
|
475
479
|
readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
|
|
@@ -1163,6 +1167,10 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1163
1167
|
}, undefined>, undefined>;
|
|
1164
1168
|
}, undefined>, undefined>;
|
|
1165
1169
|
readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1170
|
+
readonly deployFix: v.OptionalSchema<v.ObjectSchema<{
|
|
1171
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1172
|
+
readonly maxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
1173
|
+
}, undefined>, undefined>;
|
|
1166
1174
|
readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
|
|
1167
1175
|
readonly approvers: v.OptionalSchema<v.ObjectSchema<{
|
|
1168
1176
|
readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
|
|
@@ -1555,6 +1563,22 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1555
1563
|
}, undefined>, undefined>, undefined>;
|
|
1556
1564
|
readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1557
1565
|
readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1566
|
+
readonly deployFix: v.OptionalSchema<v.ObjectSchema<{
|
|
1567
|
+
readonly phase: v.PicklistSchema<["fixing", "retrying"], undefined>;
|
|
1568
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
1569
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1570
|
+
readonly frameId: v.StringSchema<undefined>;
|
|
1571
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1572
|
+
readonly lastError: v.StringSchema<undefined>;
|
|
1573
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1574
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
1575
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1576
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
1577
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1578
|
+
readonly error: v.StringSchema<undefined>;
|
|
1579
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1580
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1581
|
+
}, undefined>, undefined>;
|
|
1558
1582
|
readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1559
1583
|
readonly status: v.PicklistSchema<["reclaimed", "failed", "none"], undefined>;
|
|
1560
1584
|
readonly environmentId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -1853,7 +1877,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1853
1877
|
*/
|
|
1854
1878
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1855
1879
|
readonly id: v.StringSchema<undefined>;
|
|
1856
|
-
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", "judge_review", "pr_review_ready", "initiative", "platform_health", "infra_unreachable", "budget_paused", "budget_threshold", "key_drift", "merge_tag_request"], undefined>;
|
|
1880
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "deploy_blocked", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "infra_unreachable", "budget_paused", "budget_threshold", "key_drift", "merge_tag_request"], undefined>;
|
|
1857
1881
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1858
1882
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1859
1883
|
readonly blockId: v.NullableSchema<v.StringSchema<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;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,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;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAA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