@cat-factory/contracts 0.202.0 → 0.203.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.
Files changed (53) hide show
  1. package/dist/agent-presentation.d.ts +16 -0
  2. package/dist/agent-presentation.d.ts.map +1 -1
  3. package/dist/agent-presentation.js +15 -0
  4. package/dist/agent-presentation.js.map +1 -1
  5. package/dist/entities.d.ts +24 -0
  6. package/dist/entities.d.ts.map +1 -1
  7. package/dist/entities.js +12 -0
  8. package/dist/entities.js.map +1 -1
  9. package/dist/errors.d.ts +21 -0
  10. package/dist/errors.d.ts.map +1 -1
  11. package/dist/errors.js +28 -0
  12. package/dist/errors.js.map +1 -1
  13. package/dist/execution.d.ts +46 -0
  14. package/dist/execution.d.ts.map +1 -1
  15. package/dist/execution.js +22 -0
  16. package/dist/execution.js.map +1 -1
  17. package/dist/notification-webhooks.d.ts +67 -0
  18. package/dist/notification-webhooks.d.ts.map +1 -1
  19. package/dist/notification-webhooks.js +65 -0
  20. package/dist/notification-webhooks.js.map +1 -1
  21. package/dist/public-api.d.ts +103 -0
  22. package/dist/public-api.d.ts.map +1 -1
  23. package/dist/public-api.js +70 -0
  24. package/dist/public-api.js.map +1 -1
  25. package/dist/requests.d.ts +2 -0
  26. package/dist/requests.d.ts.map +1 -1
  27. package/dist/routes/agent-runs.d.ts +12 -0
  28. package/dist/routes/agent-runs.d.ts.map +1 -1
  29. package/dist/routes/bug-hunt.d.ts +12 -0
  30. package/dist/routes/bug-hunt.d.ts.map +1 -1
  31. package/dist/routes/execution.d.ts +48 -0
  32. package/dist/routes/execution.d.ts.map +1 -1
  33. package/dist/routes/human-review.d.ts +6 -0
  34. package/dist/routes/human-review.d.ts.map +1 -1
  35. package/dist/routes/human-test.d.ts +30 -0
  36. package/dist/routes/human-test.d.ts.map +1 -1
  37. package/dist/routes/notification-webhooks.d.ts +3 -0
  38. package/dist/routes/notification-webhooks.d.ts.map +1 -1
  39. package/dist/routes/pipelines.d.ts +8 -0
  40. package/dist/routes/pipelines.d.ts.map +1 -1
  41. package/dist/routes/public-api.d.ts +54 -0
  42. package/dist/routes/public-api.d.ts.map +1 -1
  43. package/dist/routes/public-api.js +12 -1
  44. package/dist/routes/public-api.js.map +1 -1
  45. package/dist/routes/visual-confirm.d.ts +18 -0
  46. package/dist/routes/visual-confirm.d.ts.map +1 -1
  47. package/dist/routes/workspaces.d.ts +26 -0
  48. package/dist/routes/workspaces.d.ts.map +1 -1
  49. package/dist/snapshot.d.ts +20 -0
  50. package/dist/snapshot.d.ts.map +1 -1
  51. package/dist/snapshot.js +9 -1
  52. package/dist/snapshot.js.map +1 -1
  53. package/package.json +1 -1
@@ -1,4 +1,15 @@
1
1
  import * as v from 'valibot';
2
+ /**
3
+ * The RUN-LIFECYCLE events the same endpoint can subscribe to: the ordinary lifecycle of work an
4
+ * integration queued, none of which raises a notification. A task whose pipeline carries a
5
+ * `merger` merges its own PR and settles with an empty inbox — the happy path, and the one a CI
6
+ * system most wants to hear about. Deliberately only the EDGES: a per-step feed would be a
7
+ * firehose (the engine emits on every container poll), which is what the SSE endpoints are for.
8
+ *
9
+ * Mirrors kernel's `RUN_LIFECYCLE_EVENTS`; keep the member lists in step.
10
+ */
11
+ export declare const runLifecycleEventSchema: v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>;
12
+ export type RunLifecycleEventName = v.InferOutput<typeof runLifecycleEventSchema>;
2
13
  /** A workspace's registered notification webhook, as exposed to clients (never the secret). */
3
14
  export declare const notificationWebhookSchema: v.ObjectSchema<{
4
15
  /** The HTTPS endpoint deliveries are POSTed to. */
@@ -9,6 +20,12 @@ export declare const notificationWebhookSchema: v.ObjectSchema<{
9
20
  * accidentally fire-hose every card at an integration that only wanted to hear about parks.
10
21
  */
11
22
  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>;
23
+ /**
24
+ * Which run-lifecycle events are delivered. EMPTY means NONE — the opposite of `types` above,
25
+ * deliberately: an endpoint registered before this existed must not start receiving a new event
26
+ * family it never asked for, so subscribing is explicit.
27
+ */
28
+ readonly runEvents: v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>;
12
29
  /** Whether deliveries are currently attempted. Registering an endpoint enables it. */
13
30
  readonly enabled: v.BooleanSchema<undefined>;
14
31
  /** Whether a signing secret is set (the secret itself is never returned). */
@@ -25,6 +42,8 @@ export declare const putNotificationWebhookSchema: v.ObjectSchema<{
25
42
  readonly url: 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>]>;
26
43
  /** Omit ⇒ deliver the default parking types. */
27
44
  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>;
45
+ /** Omit ⇒ keep the current run-event subscription (none, for an endpoint that never set one). */
46
+ readonly runEvents: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>, undefined>, undefined>;
28
47
  readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
29
48
  /** New signing secret; omit to keep the current one. */
30
49
  readonly secret: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 16, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
@@ -107,6 +126,54 @@ export declare const notificationWebhookDeliverySchema: v.ObjectSchema<{
107
126
  }, undefined>;
108
127
  }, undefined>;
109
128
  export type NotificationWebhookDelivery = v.InferOutput<typeof notificationWebhookDeliverySchema>;
129
+ /**
130
+ * The JSON body of one RUN-LIFECYCLE delivery, POSTed to the same endpoint with the same
131
+ * signature headers. `event` is what a receiver switches on — a notification delivery carries
132
+ * `notification`, this one carries `run`, so the two are told apart by shape as well as by name.
133
+ *
134
+ * `deliveryId` is `<runId>:<event>`: stable across retries AND across a re-delivery, which is the
135
+ * dedupe key a receiver MUST use. Delivery is AT-LEAST-ONCE by design. The terminal events are
136
+ * pushed from the engine's terminal-emit funnel — the same place the run's other terminal hooks
137
+ * live — because a run reaches `done` from four independent sites and a hook at each would
138
+ * silently drift the day a fifth is added. A durable replay can therefore re-emit a settled run.
139
+ *
140
+ * **Dedupe on `deliveryId`, never on the body.** A re-delivery describes the same settled run, but
141
+ * `sentAt` and `run.occurredAt` are re-stamped from the clock when it is produced, so two
142
+ * deliveries of one transition are NOT byte-identical and a content hash will not collapse them.
143
+ * Everything a receiver routes or acts on — the ids, the event, the outcome — is stable; only the
144
+ * observation timestamps move. That is what makes the receiver's cheap dedupe the right contract
145
+ * rather than a claim table this platform would then have to sweep.
146
+ */
147
+ export declare const runWebhookDeliverySchema: v.ObjectSchema<{
148
+ readonly deliveryId: v.StringSchema<undefined>;
149
+ /** Epoch-ms the delivery was produced (also the signed timestamp — see the signature headers). */
150
+ readonly sentAt: v.NumberSchema<undefined>;
151
+ readonly workspaceId: v.StringSchema<undefined>;
152
+ readonly event: v.PicklistSchema<["run.started", "run.completed", "run.failed"], undefined>;
153
+ readonly run: v.ObjectSchema<{
154
+ readonly runId: v.StringSchema<undefined>;
155
+ /** The board task the run belongs to — the id every `/api/v1/tasks/:taskId/*` route takes. */
156
+ readonly taskId: v.StringSchema<undefined>;
157
+ readonly taskTitle: v.StringSchema<undefined>;
158
+ readonly pipelineId: v.StringSchema<undefined>;
159
+ readonly pipelineName: v.StringSchema<undefined>;
160
+ /** Epoch-ms the run started; NULL when the run row carries none (never stamped 0). */
161
+ readonly startedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
162
+ readonly occurredAt: v.NumberSchema<undefined>;
163
+ /**
164
+ * The PR the run opened, when it opened one. On a terminal event `null` is a REAL answer —
165
+ * a findings/spike pipeline opens nothing — not "not known yet".
166
+ */
167
+ readonly pullRequestUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
168
+ /** Present only on `run.failed`. */
169
+ readonly failure: v.NullableSchema<v.ObjectSchema<{
170
+ readonly kind: v.StringSchema<undefined>;
171
+ readonly message: v.StringSchema<undefined>;
172
+ readonly reason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
173
+ }, undefined>, undefined>;
174
+ }, undefined>;
175
+ }, undefined>;
176
+ export type RunWebhookDelivery = v.InferOutput<typeof runWebhookDeliverySchema>;
110
177
  /**
111
178
  * The notification types delivered when a webhook declares no explicit `types` filter: the
112
179
  * human-parking cards a headless overseer must react to, plus the failure tails it can act on
@@ -1 +1 @@
1
- {"version":3,"file":"notification-webhooks.d.ts","sourceRoot":"","sources":["../src/notification-webhooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,+FAA+F;AAC/F,eAAO,MAAM,yBAAyB;IACpC,mDAAmD;;IAEnD;;;;OAIG;;IAEH,sFAAsF;;IAEtF,6EAA6E;;;aAG7E,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;;IAQvC,gDAAgD;;;IAGhD,wDAAwD;;aAExD,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAE5F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,i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G;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,wBAAwB;;IAEnC,kGAAkG;;;;;;QAMhG,8FAA8F;;;;;QAK9F,sFAAsF;;;QAGtF;;;WAGG;;QAEH,oCAAoC;;;;;;;aAStC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;;GAQG;AACH,eAAO,MAAM,kCAAkC,kKAS6B,CAAA"}
@@ -15,6 +15,16 @@ import { notificationSchema, notificationTypeSchema } from './notifications.js';
15
15
  // exactly like the other outbound credentials. Deliveries are signed with it so a receiver can
16
16
  // verify the payload really came from this deployment.
17
17
  // ---------------------------------------------------------------------------
18
+ /**
19
+ * The RUN-LIFECYCLE events the same endpoint can subscribe to: the ordinary lifecycle of work an
20
+ * integration queued, none of which raises a notification. A task whose pipeline carries a
21
+ * `merger` merges its own PR and settles with an empty inbox — the happy path, and the one a CI
22
+ * system most wants to hear about. Deliberately only the EDGES: a per-step feed would be a
23
+ * firehose (the engine emits on every container poll), which is what the SSE endpoints are for.
24
+ *
25
+ * Mirrors kernel's `RUN_LIFECYCLE_EVENTS`; keep the member lists in step.
26
+ */
27
+ export const runLifecycleEventSchema = v.picklist(['run.started', 'run.completed', 'run.failed']);
18
28
  /** A workspace's registered notification webhook, as exposed to clients (never the secret). */
19
29
  export const notificationWebhookSchema = v.object({
20
30
  /** The HTTPS endpoint deliveries are POSTed to. */
@@ -25,6 +35,12 @@ export const notificationWebhookSchema = v.object({
25
35
  * accidentally fire-hose every card at an integration that only wanted to hear about parks.
26
36
  */
27
37
  types: v.array(notificationTypeSchema),
38
+ /**
39
+ * Which run-lifecycle events are delivered. EMPTY means NONE — the opposite of `types` above,
40
+ * deliberately: an endpoint registered before this existed must not start receiving a new event
41
+ * family it never asked for, so subscribing is explicit.
42
+ */
43
+ runEvents: v.array(runLifecycleEventSchema),
28
44
  /** Whether deliveries are currently attempted. Registering an endpoint enables it. */
29
45
  enabled: v.boolean(),
30
46
  /** Whether a signing secret is set (the secret itself is never returned). */
@@ -40,6 +56,8 @@ export const putNotificationWebhookSchema = v.object({
40
56
  url: v.pipe(v.string(), v.trim(), v.url(), v.startsWith('https://', 'The webhook endpoint must be an https:// URL'), v.maxLength(2000)),
41
57
  /** Omit ⇒ deliver the default parking types. */
42
58
  types: v.optional(v.array(notificationTypeSchema)),
59
+ /** Omit ⇒ keep the current run-event subscription (none, for an endpoint that never set one). */
60
+ runEvents: v.optional(v.array(runLifecycleEventSchema)),
43
61
  enabled: v.optional(v.boolean()),
44
62
  /** New signing secret; omit to keep the current one. */
45
63
  secret: v.optional(v.pipe(v.string(), v.trim(), v.minLength(16), v.maxLength(200))),
@@ -66,6 +84,53 @@ export const notificationWebhookDeliverySchema = v.object({
66
84
  taskId: v.nullable(v.string()),
67
85
  notification: notificationSchema,
68
86
  });
87
+ /**
88
+ * The JSON body of one RUN-LIFECYCLE delivery, POSTed to the same endpoint with the same
89
+ * signature headers. `event` is what a receiver switches on — a notification delivery carries
90
+ * `notification`, this one carries `run`, so the two are told apart by shape as well as by name.
91
+ *
92
+ * `deliveryId` is `<runId>:<event>`: stable across retries AND across a re-delivery, which is the
93
+ * dedupe key a receiver MUST use. Delivery is AT-LEAST-ONCE by design. The terminal events are
94
+ * pushed from the engine's terminal-emit funnel — the same place the run's other terminal hooks
95
+ * live — because a run reaches `done` from four independent sites and a hook at each would
96
+ * silently drift the day a fifth is added. A durable replay can therefore re-emit a settled run.
97
+ *
98
+ * **Dedupe on `deliveryId`, never on the body.** A re-delivery describes the same settled run, but
99
+ * `sentAt` and `run.occurredAt` are re-stamped from the clock when it is produced, so two
100
+ * deliveries of one transition are NOT byte-identical and a content hash will not collapse them.
101
+ * Everything a receiver routes or acts on — the ids, the event, the outcome — is stable; only the
102
+ * observation timestamps move. That is what makes the receiver's cheap dedupe the right contract
103
+ * rather than a claim table this platform would then have to sweep.
104
+ */
105
+ export const runWebhookDeliverySchema = v.object({
106
+ deliveryId: v.string(),
107
+ /** Epoch-ms the delivery was produced (also the signed timestamp — see the signature headers). */
108
+ sentAt: v.number(),
109
+ workspaceId: v.string(),
110
+ event: runLifecycleEventSchema,
111
+ run: v.object({
112
+ runId: v.string(),
113
+ /** The board task the run belongs to — the id every `/api/v1/tasks/:taskId/*` route takes. */
114
+ taskId: v.string(),
115
+ taskTitle: v.string(),
116
+ pipelineId: v.string(),
117
+ pipelineName: v.string(),
118
+ /** Epoch-ms the run started; NULL when the run row carries none (never stamped 0). */
119
+ startedAt: v.nullable(v.number()),
120
+ occurredAt: v.number(),
121
+ /**
122
+ * The PR the run opened, when it opened one. On a terminal event `null` is a REAL answer —
123
+ * a findings/spike pipeline opens nothing — not "not known yet".
124
+ */
125
+ pullRequestUrl: v.nullable(v.string()),
126
+ /** Present only on `run.failed`. */
127
+ failure: v.nullable(v.object({
128
+ kind: v.string(),
129
+ message: v.string(),
130
+ reason: v.nullable(v.string()),
131
+ })),
132
+ }),
133
+ });
69
134
  /**
70
135
  * The notification types delivered when a webhook declares no explicit `types` filter: the
71
136
  * human-parking cards a headless overseer must react to, plus the failure tails it can act on
@@ -1 +1 @@
1
- {"version":3,"file":"notification-webhooks.js","sourceRoot":"","sources":["../src/notification-webhooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AAE/E,8EAA8E;AAC9E,iGAAiG;AACjG,8FAA8F;AAC9F,wFAAwF;AACxF,EAAE;AACF,6FAA6F;AAC7F,6FAA6F;AAC7F,6FAA6F;AAC7F,qEAAqE;AACrE,0DAA0D;AAC1D,EAAE;AACF,iGAAiG;AACjG,+FAA+F;AAC/F,uDAAuD;AACvD,8EAA8E;AAE9E,+FAA+F;AAC/F,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,mDAAmD;IACnD,GA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,CAAC,CAAA;AAGF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,oBAAoB;IACpB,gBAAgB;IAChB,mBAAmB;IACnB,uBAAuB;IACvB,cAAc;IACd,mBAAmB;IACnB,WAAW;IACX,aAAa;CAC6D,CAAA"}
@@ -398,4 +398,107 @@ export declare const publicNotificationListSchema: v.ObjectSchema<{
398
398
  }, undefined>, undefined>;
399
399
  }, undefined>;
400
400
  export type PublicNotificationList = v.InferOutput<typeof publicNotificationListSchema>;
401
+ /**
402
+ * One row of the current period's usage, aggregated in SQL over
403
+ * `(billing, vendor, provider, model)`. A projection of the internal `UsageBreakdownRow`
404
+ * with the same fields — it already carries no per-user, per-account or credential
405
+ * dimension, and a usage dashboard is meaningless without the provider/model it spent on.
406
+ */
407
+ export declare const publicUsageRowSchema: v.ObjectSchema<{
408
+ /**
409
+ * How this usage is paid for. `metered` is real per-token cost and is what the spend
410
+ * budget counts; `subscription` is flat-rate harness usage against a vendor plan. The two
411
+ * are deliberately NOT summed into one number: adding an illustrative subscription figure
412
+ * to real metered spend would report money nobody is billed for.
413
+ */
414
+ readonly billing: v.PicklistSchema<["metered", "subscription"], undefined>;
415
+ /** The subscription vendor (e.g. `claude`, `codex`) for a subscription row; null for metered. */
416
+ readonly vendor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
417
+ readonly provider: v.StringSchema<undefined>;
418
+ readonly model: v.StringSchema<undefined>;
419
+ /** Input tokens: fresh prompt + cache reads + cache writes, as the platform records them. */
420
+ readonly inputTokens: v.NumberSchema<undefined>;
421
+ readonly outputTokens: v.NumberSchema<undefined>;
422
+ /**
423
+ * Estimated cost in the report's `currency`. ILLUSTRATIVE on a `subscription` row (a
424
+ * flat-rate plan bills nothing per token) — read it as "what this would have cost metered",
425
+ * never as spend. Branch on `billing` before adding it to anything.
426
+ */
427
+ readonly costEstimate: v.NumberSchema<undefined>;
428
+ /** Recorded LLM calls in this group. */
429
+ readonly calls: v.NumberSchema<undefined>;
430
+ }, undefined>;
431
+ export type PublicUsageRow = v.InferOutput<typeof publicUsageRowSchema>;
432
+ /**
433
+ * The METERED spend of the current period against the workspace's budget — the numbers the
434
+ * spend safeguard itself acts on, so an external dashboard can show the same "runs are paused"
435
+ * state the SPA does rather than inferring it from a token count.
436
+ *
437
+ * Deliberately the WORKSPACE tier only. The account- and user-tier budgets
438
+ * (`SpendService.accountStatus` / `userStatus`) are cross-workspace and per-user, so they are
439
+ * not the key's to read: a workspace-scoped key must never learn a sibling workspace's spend.
440
+ */
441
+ export declare const publicUsageBudgetSchema: v.ObjectSchema<{
442
+ /** Metered input tokens this period (the budgeted ones; subscription rows are excluded). */
443
+ readonly inputTokens: v.NumberSchema<undefined>;
444
+ readonly outputTokens: v.NumberSchema<undefined>;
445
+ /** Estimated metered cost so far this period, in the report's `currency`. */
446
+ readonly costSpent: v.NumberSchema<undefined>;
447
+ /** The workspace's configured budget for one period, in the report's `currency`. */
448
+ readonly costLimit: v.NumberSchema<undefined>;
449
+ /** True once `costSpent >= costLimit`: runs are PAUSED until the period rolls over. */
450
+ readonly exceeded: v.BooleanSchema<undefined>;
451
+ }, undefined>;
452
+ export type PublicUsageBudget = v.InferOutput<typeof publicUsageBudgetSchema>;
453
+ /**
454
+ * The workspace's usage for the current billing period: the metered budget position plus the
455
+ * per-model breakdown behind it. One resource rather than two endpoints because a dashboard
456
+ * needs both together, and splitting them would let a caller render a breakdown against a
457
+ * budget read a period-roll apart.
458
+ *
459
+ * `rows` is naturally bounded (distinct `(billing, vendor, provider, model)` groups within one
460
+ * month), so it is unpaginated like the pipeline and notification lists.
461
+ */
462
+ export declare const publicUsageSchema: v.ObjectSchema<{
463
+ /** Start of the current billing period (epoch ms; calendar month, UTC). */
464
+ readonly periodStart: v.NumberSchema<undefined>;
465
+ /** ISO 4217 currency every cost on this resource is expressed in. */
466
+ readonly currency: v.StringSchema<undefined>;
467
+ readonly budget: v.ObjectSchema<{
468
+ /** Metered input tokens this period (the budgeted ones; subscription rows are excluded). */
469
+ readonly inputTokens: v.NumberSchema<undefined>;
470
+ readonly outputTokens: v.NumberSchema<undefined>;
471
+ /** Estimated metered cost so far this period, in the report's `currency`. */
472
+ readonly costSpent: v.NumberSchema<undefined>;
473
+ /** The workspace's configured budget for one period, in the report's `currency`. */
474
+ readonly costLimit: v.NumberSchema<undefined>;
475
+ /** True once `costSpent >= costLimit`: runs are PAUSED until the period rolls over. */
476
+ readonly exceeded: v.BooleanSchema<undefined>;
477
+ }, undefined>;
478
+ readonly rows: v.ArraySchema<v.ObjectSchema<{
479
+ /**
480
+ * How this usage is paid for. `metered` is real per-token cost and is what the spend
481
+ * budget counts; `subscription` is flat-rate harness usage against a vendor plan. The two
482
+ * are deliberately NOT summed into one number: adding an illustrative subscription figure
483
+ * to real metered spend would report money nobody is billed for.
484
+ */
485
+ readonly billing: v.PicklistSchema<["metered", "subscription"], undefined>;
486
+ /** The subscription vendor (e.g. `claude`, `codex`) for a subscription row; null for metered. */
487
+ readonly vendor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
488
+ readonly provider: v.StringSchema<undefined>;
489
+ readonly model: v.StringSchema<undefined>;
490
+ /** Input tokens: fresh prompt + cache reads + cache writes, as the platform records them. */
491
+ readonly inputTokens: v.NumberSchema<undefined>;
492
+ readonly outputTokens: v.NumberSchema<undefined>;
493
+ /**
494
+ * Estimated cost in the report's `currency`. ILLUSTRATIVE on a `subscription` row (a
495
+ * flat-rate plan bills nothing per token) — read it as "what this would have cost metered",
496
+ * never as spend. Branch on `billing` before adding it to anything.
497
+ */
498
+ readonly costEstimate: v.NumberSchema<undefined>;
499
+ /** Recorded LLM calls in this group. */
500
+ readonly calls: v.NumberSchema<undefined>;
501
+ }, undefined>, undefined>;
502
+ }, undefined>;
503
+ export type PublicUsage = v.InferOutput<typeof publicUsageSchema>;
401
504
  //# sourceMappingURL=public-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"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6E;;QAE7E,oFAAoF;;QAEpF,uFAAuF;;;;QA1CvF;;;;;WAKG;;QAEH,iGAAiG;;;;QAIjG,6FAA6F;;;QAG7F;;;;WAIG;;QAEH,wCAAwC;;;aA2CxC,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -284,4 +284,74 @@ export const publicPipelineListSchema = v.object({ pipelines: v.array(publicPipe
284
284
  export const publicNotificationListSchema = v.object({
285
285
  notifications: v.array(notificationSchema),
286
286
  });
287
+ // ---------------------------------------------------------------------------
288
+ // Usage & spend (the external dashboard read).
289
+ // ---------------------------------------------------------------------------
290
+ /**
291
+ * One row of the current period's usage, aggregated in SQL over
292
+ * `(billing, vendor, provider, model)`. A projection of the internal `UsageBreakdownRow`
293
+ * with the same fields — it already carries no per-user, per-account or credential
294
+ * dimension, and a usage dashboard is meaningless without the provider/model it spent on.
295
+ */
296
+ export const publicUsageRowSchema = v.object({
297
+ /**
298
+ * How this usage is paid for. `metered` is real per-token cost and is what the spend
299
+ * budget counts; `subscription` is flat-rate harness usage against a vendor plan. The two
300
+ * are deliberately NOT summed into one number: adding an illustrative subscription figure
301
+ * to real metered spend would report money nobody is billed for.
302
+ */
303
+ billing: v.picklist(['metered', 'subscription']),
304
+ /** The subscription vendor (e.g. `claude`, `codex`) for a subscription row; null for metered. */
305
+ vendor: v.nullable(v.string()),
306
+ provider: v.string(),
307
+ model: v.string(),
308
+ /** Input tokens: fresh prompt + cache reads + cache writes, as the platform records them. */
309
+ inputTokens: v.number(),
310
+ outputTokens: v.number(),
311
+ /**
312
+ * Estimated cost in the report's `currency`. ILLUSTRATIVE on a `subscription` row (a
313
+ * flat-rate plan bills nothing per token) — read it as "what this would have cost metered",
314
+ * never as spend. Branch on `billing` before adding it to anything.
315
+ */
316
+ costEstimate: v.number(),
317
+ /** Recorded LLM calls in this group. */
318
+ calls: v.number(),
319
+ });
320
+ /**
321
+ * The METERED spend of the current period against the workspace's budget — the numbers the
322
+ * spend safeguard itself acts on, so an external dashboard can show the same "runs are paused"
323
+ * state the SPA does rather than inferring it from a token count.
324
+ *
325
+ * Deliberately the WORKSPACE tier only. The account- and user-tier budgets
326
+ * (`SpendService.accountStatus` / `userStatus`) are cross-workspace and per-user, so they are
327
+ * not the key's to read: a workspace-scoped key must never learn a sibling workspace's spend.
328
+ */
329
+ export const publicUsageBudgetSchema = v.object({
330
+ /** Metered input tokens this period (the budgeted ones; subscription rows are excluded). */
331
+ inputTokens: v.number(),
332
+ outputTokens: v.number(),
333
+ /** Estimated metered cost so far this period, in the report's `currency`. */
334
+ costSpent: v.number(),
335
+ /** The workspace's configured budget for one period, in the report's `currency`. */
336
+ costLimit: v.number(),
337
+ /** True once `costSpent >= costLimit`: runs are PAUSED until the period rolls over. */
338
+ exceeded: v.boolean(),
339
+ });
340
+ /**
341
+ * The workspace's usage for the current billing period: the metered budget position plus the
342
+ * per-model breakdown behind it. One resource rather than two endpoints because a dashboard
343
+ * needs both together, and splitting them would let a caller render a breakdown against a
344
+ * budget read a period-roll apart.
345
+ *
346
+ * `rows` is naturally bounded (distinct `(billing, vendor, provider, model)` groups within one
347
+ * month), so it is unpaginated like the pipeline and notification lists.
348
+ */
349
+ export const publicUsageSchema = v.object({
350
+ /** Start of the current billing period (epoch ms; calendar month, UTC). */
351
+ periodStart: v.number(),
352
+ /** ISO 4217 currency every cost on this resource is expressed in. */
353
+ currency: v.string(),
354
+ budget: publicUsageBudgetSchema,
355
+ rows: v.array(publicUsageRowSchema),
356
+ });
287
357
  //# sourceMappingURL=public-api.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,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AAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,6FAA6F;IAC7F,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB;;;;OAIG;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,wCAAwC;IACxC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAA;AAGF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,4FAA4F;IAC5F,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,6EAA6E;IAC7E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,oFAAoF;IACpF,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,uFAAuF;IACvF,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAA;AAGF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,2EAA2E;IAC3E,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,qEAAqE;IACrE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,uBAAuB;IAC/B,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CACpC,CAAC,CAAA"}
@@ -2345,6 +2345,7 @@ export declare const createPipelineSchema: v.ObjectSchema<{
2345
2345
  readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2346
2346
  readonly skillId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2347
2347
  readonly maxOutputTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 256, undefined>, v.MaxValueAction<number, 200000, undefined>]>, undefined>;
2348
+ readonly agentVariantId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2348
2349
  }, undefined>, undefined>, undefined>, undefined>;
2349
2350
  /** Free-form organizational labels for the library. Optional. */
2350
2351
  readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
@@ -2422,6 +2423,7 @@ export declare const updatePipelineSchema: v.ObjectSchema<{
2422
2423
  readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2423
2424
  readonly skillId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2424
2425
  readonly maxOutputTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 256, undefined>, v.MaxValueAction<number, 200000, undefined>]>, undefined>;
2426
+ readonly agentVariantId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2425
2427
  }, undefined>, undefined>, undefined>, undefined>;
2426
2428
  readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
2427
2429
  /** Change how the pipeline may be launched (see {@link createPipelineSchema}). Optional. */
@@ -1 +1 @@
1
- {"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../src/requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,eAAO,MAAM,qBAAqB;;IAEhC,oFAAoF;;IAEpF;;;;OAIG;;IAEH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE9E,oDAAoD;AACpD,eAAO,M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AAO,mBAAmB,CAAC,CAAA;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;aAGjC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEhF,eAAO,MAAM,oBAAoB;;aAE/B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAS5E,eAAO,MAAM,qBAAqB;;aAEhC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE9E;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;aAE5B,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAUtE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;yDASpC,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEpF,4EAA4E;AAC5E,eAAO,MAAM,gBAAgB;;aAE3B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;aAEhC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -684,6 +684,7 @@ export declare const retryAgentRunContract: {
684
684
  readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
685
685
  readonly skillId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
686
686
  readonly maxOutputTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 256, undefined>, v.MaxValueAction<number, 200000, undefined>]>, undefined>;
687
+ readonly agentVariantId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
687
688
  }, undefined>, undefined>, undefined>;
688
689
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
689
690
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -714,6 +715,11 @@ export declare const retryAgentRunContract: {
714
715
  readonly sha: v.StringSchema<undefined>;
715
716
  }, undefined>, undefined>, undefined>;
716
717
  readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
718
+ readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
719
+ readonly id: v.StringSchema<undefined>;
720
+ readonly applied: v.PicklistSchema<["full", "addition-only", "superseded", "withdrawn"], undefined>;
721
+ readonly fingerprint: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
722
+ }, undefined>, undefined>;
717
723
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
718
724
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
719
725
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1764,6 +1770,7 @@ export declare const stopAgentRunContract: {
1764
1770
  readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1765
1771
  readonly skillId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1766
1772
  readonly maxOutputTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 256, undefined>, v.MaxValueAction<number, 200000, undefined>]>, undefined>;
1773
+ readonly agentVariantId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1767
1774
  }, undefined>, undefined>, undefined>;
1768
1775
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1769
1776
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1794,6 +1801,11 @@ export declare const stopAgentRunContract: {
1794
1801
  readonly sha: v.StringSchema<undefined>;
1795
1802
  }, undefined>, undefined>, undefined>;
1796
1803
  readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1804
+ readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
1805
+ readonly id: v.StringSchema<undefined>;
1806
+ readonly applied: v.PicklistSchema<["full", "addition-only", "superseded", "withdrawn"], undefined>;
1807
+ readonly fingerprint: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1808
+ }, undefined>, undefined>;
1797
1809
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1798
1810
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1799
1811
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/B,CAAA"}
@@ -999,6 +999,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
999
999
  readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1000
1000
  readonly skillId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1001
1001
  readonly maxOutputTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 256, undefined>, v.MaxValueAction<number, 200000, undefined>]>, undefined>;
1002
+ readonly agentVariantId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1002
1003
  }, undefined>, undefined>, undefined>;
1003
1004
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1004
1005
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1029,6 +1030,11 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1029
1030
  readonly sha: v.StringSchema<undefined>;
1030
1031
  }, undefined>, undefined>, undefined>;
1031
1032
  readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1033
+ readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
1034
+ readonly id: v.StringSchema<undefined>;
1035
+ readonly applied: v.PicklistSchema<["full", "addition-only", "superseded", "withdrawn"], undefined>;
1036
+ readonly fingerprint: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1037
+ }, undefined>, undefined>;
1032
1038
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1033
1039
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1034
1040
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -2496,6 +2502,7 @@ export declare const adoptBugHuntCandidateContract: {
2496
2502
  readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2497
2503
  readonly skillId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2498
2504
  readonly maxOutputTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 256, undefined>, v.MaxValueAction<number, 200000, undefined>]>, undefined>;
2505
+ readonly agentVariantId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2499
2506
  }, undefined>, undefined>, undefined>;
2500
2507
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2501
2508
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -2526,6 +2533,11 @@ export declare const adoptBugHuntCandidateContract: {
2526
2533
  readonly sha: v.StringSchema<undefined>;
2527
2534
  }, undefined>, undefined>, undefined>;
2528
2535
  readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2536
+ readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
2537
+ readonly id: v.StringSchema<undefined>;
2538
+ readonly applied: v.PicklistSchema<["full", "addition-only", "superseded", "withdrawn"], undefined>;
2539
+ readonly fingerprint: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2540
+ }, undefined>, undefined>;
2529
2541
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2530
2542
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2531
2543
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"bug-hunt.d.ts","sourceRoot":"","sources":["../../src/routes/bug-hunt.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,QAAA,M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