@cat-factory/contracts 0.236.0 → 0.238.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/companion.js +1 -1
- package/dist/companion.js.map +1 -1
- package/dist/execution.d.ts +0 -194
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +8 -87
- package/dist/execution.js.map +1 -1
- package/dist/human-verdict-gates.d.ts +4 -0
- package/dist/human-verdict-gates.d.ts.map +1 -1
- package/dist/human-verdict-gates.js +10 -2
- package/dist/human-verdict-gates.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/notification-webhooks.d.ts +12 -5
- package/dist/notification-webhooks.d.ts.map +1 -1
- package/dist/notification-webhooks.js +2 -1
- package/dist/notification-webhooks.js.map +1 -1
- package/dist/notifications.d.ts +91 -4
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +53 -2
- package/dist/notifications.js.map +1 -1
- package/dist/public-api.d.ts +7 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-decisions.d.ts +878 -6
- package/dist/public-decisions.d.ts.map +1 -1
- package/dist/public-decisions.js +431 -13
- package/dist/public-decisions.js.map +1 -1
- package/dist/reports.d.ts +41 -4
- package/dist/reports.d.ts.map +1 -1
- package/dist/reports.js +18 -3
- package/dist/reports.js.map +1 -1
- package/dist/routes/accounts.d.ts +18 -0
- package/dist/routes/accounts.d.ts.map +1 -1
- package/dist/routes/notification-webhooks.d.ts +6 -6
- package/dist/routes/notifications.d.ts +21 -3
- package/dist/routes/notifications.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +21 -3
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-decisions.d.ts +5957 -41
- package/dist/routes/public-decisions.d.ts.map +1 -1
- package/dist/routes/public-decisions.js +239 -1
- package/dist/routes/public-decisions.js.map +1 -1
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/workspaces.d.ts +14 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +7 -1
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/step-decisions.d.ts +130 -0
- package/dist/step-decisions.d.ts.map +1 -0
- package/dist/step-decisions.js +118 -0
- package/dist/step-decisions.js.map +1 -0
- package/package.json +1 -1
package/dist/reports.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,uDAAuD;AACvD,eAAO,MAAM,kBAAkB,0DAA0C,CAAA;AACzE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEnE
|
|
1
|
+
{"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,uDAAuD;AACvD,eAAO,MAAM,kBAAkB,0DAA0C,CAAA;AACzE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEnE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B,2GAQrC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEnF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,mEAAmD,CAAA;AAC7F,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEzF;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB;;IAE/B,mGAAmG;;;;IAInG,sEAAsE;;IAEtE,+DAA+D;;IAE/D,0FAA0F;;a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,sEAAsE;;YAEtE,+DAA+D;;YAE/D,0FAA0F;;;;IAiF1F,yDAAyD;;;;;YApEzD,oDAAoD;;;;YAIpD,wCAAwC;;YAExC,6DAA6D;;YAE7D,qFAAqF;;;;;;YARrF,oDAAoD;;;;YAIpD,wCAAwC;;YAExC,6DAA6D;;YAE7D,qFAAqF;;;;;;YARrF,oDAAoD;;;;YAIpD,wCAAwC;;YAExC,6DAA6D;;YAE7D,qFAAqF;;;;IAkErF,gDAAgD;;;;YA3DhD,oCAAoC;;;;;;;;;aAgEpC,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
|
package/dist/reports.js
CHANGED
|
@@ -15,16 +15,23 @@ import * as v from 'valibot';
|
|
|
15
15
|
export const reportWindowSchema = v.picklist(['24h', '7d', '30d', '90d']);
|
|
16
16
|
/**
|
|
17
17
|
* What a SPEND breakdown groups by. `model` keys on the canonical `provider:model`
|
|
18
|
-
* id; `agentKind` on the metered call's agent kind; the
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* id; `agentKind` on the metered call's agent kind; the rest resolve through the
|
|
19
|
+
* call's run (`workspace` directly, the others via the run's service and block).
|
|
20
|
+
*
|
|
21
|
+
* `repo` and `ticket` are the TCO axes: the two dimensions an organisation actually
|
|
22
|
+
* budgets against. They key on the run's service repo and on the tracker issue linked
|
|
23
|
+
* to the run's block respectively, so "what did this repository cost us this quarter"
|
|
24
|
+
* and "what did this ticket cost" are one grouped query rather than a hand-written join
|
|
25
|
+
* against the database.
|
|
21
26
|
*/
|
|
22
27
|
export const reportSpendDimensionSchema = v.picklist([
|
|
23
28
|
'model',
|
|
24
29
|
'agentKind',
|
|
25
30
|
'workspace',
|
|
26
31
|
'service',
|
|
32
|
+
'repo',
|
|
27
33
|
'taskType',
|
|
34
|
+
'ticket',
|
|
28
35
|
]);
|
|
29
36
|
/**
|
|
30
37
|
* What an ACTIVITY breakdown groups by. A run carries no single agent kind or model
|
|
@@ -115,7 +122,15 @@ export const reportsViewSchema = v.object({
|
|
|
115
122
|
byAgentKind: v.array(reportSpendRowSchema),
|
|
116
123
|
byWorkspace: v.array(reportSpendRowSchema),
|
|
117
124
|
byService: v.array(reportSpendRowSchema),
|
|
125
|
+
/** Spend per linked REPOSITORY, keyed by the provider repo id and labelled `owner/name`. */
|
|
126
|
+
byRepo: v.array(reportSpendRowSchema),
|
|
118
127
|
byTaskType: v.array(reportSpendRowSchema),
|
|
128
|
+
/**
|
|
129
|
+
* Spend per linked tracker TICKET, keyed `source:externalId` (e.g. `jira:PROJ-412`) and
|
|
130
|
+
* carrying NO label: the key is self-describing, and a block linked from two tickets could
|
|
131
|
+
* otherwise be labelled with one ticket's title beside the other's ref.
|
|
132
|
+
*/
|
|
133
|
+
byTicket: v.array(reportSpendRowSchema),
|
|
119
134
|
}),
|
|
120
135
|
/** Run activity sliced every way, each busiest-first. */
|
|
121
136
|
activity: v.object({
|
package/dist/reports.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reports.js","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,8EAA8E;AAC9E,+EAA+E;AAC/E,kFAAkF;AAClF,kFAAkF;AAClF,8EAA8E;AAC9E,EAAE;AACF,+EAA+E;AAC/E,+EAA+E;AAC/E,8EAA8E;AAC9E,yDAAyD;AACzD,8EAA8E;AAE9E,uDAAuD;AACvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;AAGzE
|
|
1
|
+
{"version":3,"file":"reports.js","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,8EAA8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|
|
1184
1184
|
readonly meteredCost: v.NumberSchema<undefined>;
|
|
1185
1185
|
readonly subscriptionCost: v.NumberSchema<undefined>;
|
|
1186
1186
|
}, undefined>, undefined>;
|
|
1187
|
+
readonly byRepo: v.ArraySchema<v.ObjectSchema<{
|
|
1188
|
+
readonly key: v.StringSchema<undefined>;
|
|
1189
|
+
readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1190
|
+
readonly inputTokens: v.NumberSchema<undefined>;
|
|
1191
|
+
readonly outputTokens: v.NumberSchema<undefined>;
|
|
1192
|
+
readonly calls: v.NumberSchema<undefined>;
|
|
1193
|
+
readonly meteredCost: v.NumberSchema<undefined>;
|
|
1194
|
+
readonly subscriptionCost: v.NumberSchema<undefined>;
|
|
1195
|
+
}, undefined>, undefined>;
|
|
1187
1196
|
readonly byTaskType: v.ArraySchema<v.ObjectSchema<{
|
|
1188
1197
|
readonly key: v.StringSchema<undefined>;
|
|
1189
1198
|
readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1193,6 +1202,15 @@ export declare const getReportsContract: {
|
|
|
1193
1202
|
readonly meteredCost: v.NumberSchema<undefined>;
|
|
1194
1203
|
readonly subscriptionCost: v.NumberSchema<undefined>;
|
|
1195
1204
|
}, undefined>, undefined>;
|
|
1205
|
+
readonly byTicket: v.ArraySchema<v.ObjectSchema<{
|
|
1206
|
+
readonly key: v.StringSchema<undefined>;
|
|
1207
|
+
readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1208
|
+
readonly inputTokens: v.NumberSchema<undefined>;
|
|
1209
|
+
readonly outputTokens: v.NumberSchema<undefined>;
|
|
1210
|
+
readonly calls: v.NumberSchema<undefined>;
|
|
1211
|
+
readonly meteredCost: v.NumberSchema<undefined>;
|
|
1212
|
+
readonly subscriptionCost: v.NumberSchema<undefined>;
|
|
1213
|
+
}, undefined>, undefined>;
|
|
1196
1214
|
}, undefined>;
|
|
1197
1215
|
readonly activity: v.ObjectSchema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<v.ObjectSchema<{
|
|
31
31
|
readonly url: v.StringSchema<undefined>;
|
|
32
|
-
readonly types: v.ArraySchema<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", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
32
|
+
readonly types: v.ArraySchema<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>, undefined>;
|
|
33
33
|
readonly runEvents: v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>;
|
|
34
34
|
readonly alertEvents: v.ArraySchema<v.PicklistSchema<["platform_health.firing", "platform_health.resolved"], undefined>, undefined>;
|
|
35
35
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -44,7 +44,7 @@ export declare const putNotificationWebhookContract: {
|
|
|
44
44
|
readonly pathResolver: () => string;
|
|
45
45
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
46
46
|
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", "The webhook endpoint must be an https:// URL">, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
47
|
-
readonly types: v.OptionalSchema<v.ArraySchema<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", "key_drift", "merge_tag_request"], undefined>, undefined>, undefined>;
|
|
47
|
+
readonly types: v.OptionalSchema<v.ArraySchema<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>, undefined>, undefined>;
|
|
48
48
|
readonly runEvents: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>, undefined>;
|
|
49
49
|
readonly alertEvents: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["platform_health.firing", "platform_health.resolved"], undefined>, undefined>, undefined>;
|
|
50
50
|
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -75,7 +75,7 @@ export declare const putNotificationWebhookContract: {
|
|
|
75
75
|
}, undefined>;
|
|
76
76
|
readonly 200: v.ObjectSchema<{
|
|
77
77
|
readonly url: v.StringSchema<undefined>;
|
|
78
|
-
readonly types: v.ArraySchema<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", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
78
|
+
readonly types: v.ArraySchema<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>, undefined>;
|
|
79
79
|
readonly runEvents: v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>;
|
|
80
80
|
readonly alertEvents: v.ArraySchema<v.PicklistSchema<["platform_health.firing", "platform_health.resolved"], undefined>, undefined>;
|
|
81
81
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -148,7 +148,7 @@ export declare const getPublicNotificationWebhookContract: {
|
|
|
148
148
|
readonly 200: v.ObjectSchema<{
|
|
149
149
|
readonly webhook: v.NullableSchema<v.ObjectSchema<{
|
|
150
150
|
readonly url: v.StringSchema<undefined>;
|
|
151
|
-
readonly types: v.ArraySchema<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", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
151
|
+
readonly types: v.ArraySchema<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>, undefined>;
|
|
152
152
|
readonly runEvents: v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>;
|
|
153
153
|
readonly alertEvents: v.ArraySchema<v.PicklistSchema<["platform_health.firing", "platform_health.resolved"], undefined>, undefined>;
|
|
154
154
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -172,7 +172,7 @@ export declare const putPublicNotificationWebhookContract: {
|
|
|
172
172
|
readonly pathResolver: () => string;
|
|
173
173
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
174
174
|
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", "The webhook endpoint must be an https:// URL">, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
175
|
-
readonly types: v.OptionalSchema<v.ArraySchema<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", "key_drift", "merge_tag_request"], undefined>, undefined>, undefined>;
|
|
175
|
+
readonly types: v.OptionalSchema<v.ArraySchema<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>, undefined>, undefined>;
|
|
176
176
|
readonly runEvents: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>, undefined>;
|
|
177
177
|
readonly alertEvents: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["platform_health.firing", "platform_health.resolved"], undefined>, undefined>, undefined>;
|
|
178
178
|
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -203,7 +203,7 @@ export declare const putPublicNotificationWebhookContract: {
|
|
|
203
203
|
}, undefined>;
|
|
204
204
|
readonly 200: v.ObjectSchema<{
|
|
205
205
|
readonly url: v.StringSchema<undefined>;
|
|
206
|
-
readonly types: v.ArraySchema<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", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
206
|
+
readonly types: v.ArraySchema<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>, undefined>;
|
|
207
207
|
readonly runEvents: v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>;
|
|
208
208
|
readonly alertEvents: v.ArraySchema<v.PicklistSchema<["platform_health.firing", "platform_health.resolved"], undefined>, undefined>;
|
|
209
209
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -28,7 +28,7 @@ export declare const listNotificationsContract: {
|
|
|
28
28
|
}, undefined>;
|
|
29
29
|
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
30
30
|
readonly id: v.StringSchema<undefined>;
|
|
31
|
-
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", "key_drift", "merge_tag_request"], undefined>;
|
|
31
|
+
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>;
|
|
32
32
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
33
33
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
34
34
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -84,6 +84,12 @@ export declare const listNotificationsContract: {
|
|
|
84
84
|
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
85
85
|
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
86
86
|
}, undefined>, undefined>, undefined>;
|
|
87
|
+
readonly budgetPeriodStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
88
|
+
readonly budgetAlerts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
89
|
+
readonly tier: v.PicklistSchema<["workspace", "account"], undefined>;
|
|
90
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
91
|
+
readonly projectedOverrun: v.BooleanSchema<undefined>;
|
|
92
|
+
}, undefined>, undefined>, undefined>;
|
|
87
93
|
readonly changeClass: v.OptionalSchema<v.PicklistSchema<["docs", "test", "dependency", "config", "source", "schema", "unknown"], undefined>, undefined>;
|
|
88
94
|
readonly mergeTrackRecordId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
89
95
|
}, undefined>, undefined>, undefined>;
|
|
@@ -128,7 +134,7 @@ export declare const actNotificationContract: {
|
|
|
128
134
|
}, undefined>;
|
|
129
135
|
readonly 200: v.ObjectSchema<{
|
|
130
136
|
readonly id: v.StringSchema<undefined>;
|
|
131
|
-
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", "key_drift", "merge_tag_request"], undefined>;
|
|
137
|
+
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>;
|
|
132
138
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
133
139
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
134
140
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -184,6 +190,12 @@ export declare const actNotificationContract: {
|
|
|
184
190
|
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
185
191
|
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
186
192
|
}, undefined>, undefined>, undefined>;
|
|
193
|
+
readonly budgetPeriodStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
194
|
+
readonly budgetAlerts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
195
|
+
readonly tier: v.PicklistSchema<["workspace", "account"], undefined>;
|
|
196
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
197
|
+
readonly projectedOverrun: v.BooleanSchema<undefined>;
|
|
198
|
+
}, undefined>, undefined>, undefined>;
|
|
187
199
|
readonly changeClass: v.OptionalSchema<v.PicklistSchema<["docs", "test", "dependency", "config", "source", "schema", "unknown"], undefined>, undefined>;
|
|
188
200
|
readonly mergeTrackRecordId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
189
201
|
}, undefined>, undefined>, undefined>;
|
|
@@ -226,7 +238,7 @@ export declare const dismissNotificationContract: {
|
|
|
226
238
|
}, undefined>;
|
|
227
239
|
readonly 200: v.ObjectSchema<{
|
|
228
240
|
readonly id: v.StringSchema<undefined>;
|
|
229
|
-
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", "key_drift", "merge_tag_request"], undefined>;
|
|
241
|
+
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>;
|
|
230
242
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
231
243
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
232
244
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -282,6 +294,12 @@ export declare const dismissNotificationContract: {
|
|
|
282
294
|
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
283
295
|
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
284
296
|
}, undefined>, undefined>, undefined>;
|
|
297
|
+
readonly budgetPeriodStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
298
|
+
readonly budgetAlerts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
299
|
+
readonly tier: v.PicklistSchema<["workspace", "account"], undefined>;
|
|
300
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
301
|
+
readonly projectedOverrun: v.BooleanSchema<undefined>;
|
|
302
|
+
}, undefined>, undefined>, undefined>;
|
|
285
303
|
readonly changeClass: v.OptionalSchema<v.PicklistSchema<["docs", "test", "dependency", "config", "source", "schema", "unknown"], undefined>, undefined>;
|
|
286
304
|
readonly mergeTrackRecordId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
287
305
|
}, undefined>, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
|
|
@@ -888,7 +888,7 @@ export declare const listPublicNotificationsContract: {
|
|
|
888
888
|
readonly 200: import("valibot").ObjectSchema<{
|
|
889
889
|
readonly notifications: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
890
890
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
891
|
-
readonly type: import("valibot").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", "key_drift", "merge_tag_request"], undefined>;
|
|
891
|
+
readonly type: import("valibot").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>;
|
|
892
892
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
893
893
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
894
894
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -944,6 +944,12 @@ export declare const listPublicNotificationsContract: {
|
|
|
944
944
|
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
945
945
|
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
946
946
|
}, undefined>, undefined>, undefined>;
|
|
947
|
+
readonly budgetPeriodStart: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
948
|
+
readonly budgetAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
949
|
+
readonly tier: import("valibot").PicklistSchema<["workspace", "account"], undefined>;
|
|
950
|
+
readonly threshold: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
951
|
+
readonly projectedOverrun: import("valibot").BooleanSchema<undefined>;
|
|
952
|
+
}, undefined>, undefined>, undefined>;
|
|
947
953
|
readonly changeClass: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["docs", "test", "dependency", "config", "source", "schema", "unknown"], undefined>, undefined>;
|
|
948
954
|
readonly mergeTrackRecordId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
949
955
|
}, undefined>, undefined>, undefined>;
|
|
@@ -988,7 +994,7 @@ export declare const actPublicNotificationContract: {
|
|
|
988
994
|
}, undefined>;
|
|
989
995
|
readonly 200: import("valibot").ObjectSchema<{
|
|
990
996
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
991
|
-
readonly type: import("valibot").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", "key_drift", "merge_tag_request"], undefined>;
|
|
997
|
+
readonly type: import("valibot").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>;
|
|
992
998
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
993
999
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
994
1000
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -1044,6 +1050,12 @@ export declare const actPublicNotificationContract: {
|
|
|
1044
1050
|
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
1045
1051
|
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1046
1052
|
}, undefined>, undefined>, undefined>;
|
|
1053
|
+
readonly budgetPeriodStart: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1054
|
+
readonly budgetAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1055
|
+
readonly tier: import("valibot").PicklistSchema<["workspace", "account"], undefined>;
|
|
1056
|
+
readonly threshold: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1057
|
+
readonly projectedOverrun: import("valibot").BooleanSchema<undefined>;
|
|
1058
|
+
}, undefined>, undefined>, undefined>;
|
|
1047
1059
|
readonly changeClass: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["docs", "test", "dependency", "config", "source", "schema", "unknown"], undefined>, undefined>;
|
|
1048
1060
|
readonly mergeTrackRecordId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1049
1061
|
}, undefined>, undefined>, undefined>;
|
|
@@ -1087,7 +1099,7 @@ export declare const dismissPublicNotificationContract: {
|
|
|
1087
1099
|
}, undefined>;
|
|
1088
1100
|
readonly 200: import("valibot").ObjectSchema<{
|
|
1089
1101
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
1090
|
-
readonly type: import("valibot").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", "key_drift", "merge_tag_request"], undefined>;
|
|
1102
|
+
readonly type: import("valibot").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>;
|
|
1091
1103
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1092
1104
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1093
1105
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -1143,6 +1155,12 @@ export declare const dismissPublicNotificationContract: {
|
|
|
1143
1155
|
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
1144
1156
|
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1145
1157
|
}, undefined>, undefined>, undefined>;
|
|
1158
|
+
readonly budgetPeriodStart: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1159
|
+
readonly budgetAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1160
|
+
readonly tier: import("valibot").PicklistSchema<["workspace", "account"], undefined>;
|
|
1161
|
+
readonly threshold: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1162
|
+
readonly projectedOverrun: import("valibot").BooleanSchema<undefined>;
|
|
1163
|
+
}, undefined>, undefined>, undefined>;
|
|
1146
1164
|
readonly changeClass: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["docs", "test", "dependency", "config", "source", "schema", "unknown"], undefined>, undefined>;
|
|
1147
1165
|
readonly mergeTrackRecordId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1148
1166
|
}, undefined>, undefined>, undefined>;
|
|
@@ -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;AA6C3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;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