@foldrun/core 19.0.0 → 19.2.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/src/records.ts CHANGED
@@ -64,6 +64,10 @@ export interface RecordsPort {
64
64
  * whole, newest first, at most `limit`. Optional: without it
65
65
  * conversation.ts filters the run summaries itself. */
66
66
  runsInContext?(tenant: string, workspace: string, key: string, before: string, test: boolean, limit: number): RunRecord[];
67
+ /** FOL-168: how many runs of this end customer are open (queued, running
68
+ * or parked at a gate) across every workspace of the account. Optional:
69
+ * without it customer.ts counts the run summaries itself. */
70
+ openRunsOfCustomer?(tenant: string, customer: string): number;
67
71
  /** When the row last changed, in epoch MICROseconds, or null when there is
68
72
  * none — what a poller compares instead of a file's mtime (two writes in one
69
73
  * millisecond still differ), and what runUpdatedMs divides by 1000 for the