@runlot/api 0.1.0-rc.201 → 0.1.0-rc.203

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/schema.d.ts CHANGED
@@ -12997,12 +12997,23 @@ export interface components {
12997
12997
  calls: number;
12998
12998
  /** Format: int64 */
12999
12999
  errors: number;
13000
- /** Format: int64 */
13000
+ /**
13001
+ * Format: int64
13002
+ * @description The whole prompt; tokensCached and tokensCacheWrite are disjoint parts of it.
13003
+ */
13001
13004
  tokensIn: number;
13002
13005
  /** Format: int64 */
13003
13006
  tokensOut: number;
13004
- /** Format: int64 */
13007
+ /**
13008
+ * Format: int64
13009
+ * @description The part of tokensIn read from the provider's prompt cache.
13010
+ */
13005
13011
  tokensCached: number;
13012
+ /**
13013
+ * Format: int64
13014
+ * @description The part of tokensIn written to the provider's prompt cache. Hours rolled up before rc.203 count 0.
13015
+ */
13016
+ tokensCacheWrite: number;
13006
13017
  /** Format: int64 */
13007
13018
  costMicroCents: number;
13008
13019
  /** Format: int64 */
@@ -13047,6 +13058,10 @@ export interface components {
13047
13058
  /** Format: int64 */
13048
13059
  tokensOut: number;
13049
13060
  /** Format: int64 */
13061
+ tokensCached: number;
13062
+ /** Format: int64 */
13063
+ tokensCacheWrite: number;
13064
+ /** Format: int64 */
13050
13065
  costMicroCents: number;
13051
13066
  /** Format: int64 */
13052
13067
  chargedMicroCents: number;
@@ -13110,6 +13125,8 @@ export interface components {
13110
13125
  version?: string;
13111
13126
  }[];
13112
13127
  inflight: number;
13128
+ /** @description How many lent calls at once this desktop's owner allows (1–8; 2 when the desktop does not say) */
13129
+ concurrency: number;
13113
13130
  }[];
13114
13131
  };
13115
13132
  AICapture: {
@@ -13122,16 +13139,30 @@ export interface components {
13122
13139
  kind: "call" | "topup" | "adjust";
13123
13140
  /**
13124
13141
  * @description Which caller spent it. It is present on every row including a top-up, where it
13125
- * is `app` and means nothing.
13142
+ * is `app` and means nothing. `byos` rows are calls a member's Studio
13143
+ * subscription answered, at 0.
13126
13144
  * @enum {string}
13127
13145
  */
13128
- lane: "app" | "dev" | "studio";
13146
+ lane: "app" | "dev" | "studio" | "byos";
13129
13147
  model?: string;
13130
13148
  project?: string;
13131
- /** Format: int64 */
13149
+ /**
13150
+ * Format: int64
13151
+ * @description The whole prompt; tokensCached and tokensCacheWrite are disjoint parts of it.
13152
+ */
13132
13153
  tokensIn?: number;
13133
13154
  /** Format: int64 */
13134
13155
  tokensOut?: number;
13156
+ /**
13157
+ * Format: int64
13158
+ * @description The part of tokensIn read from the provider's prompt cache. Absent when 0.
13159
+ */
13160
+ tokensCached?: number;
13161
+ /**
13162
+ * Format: int64
13163
+ * @description The part of tokensIn written to the provider's prompt cache. Absent when 0.
13164
+ */
13165
+ tokensCacheWrite?: number;
13135
13166
  /**
13136
13167
  * Format: int64
13137
13168
  * @description `call` rows are negative
@@ -20576,11 +20607,12 @@ export interface operations {
20576
20607
  before?: number;
20577
20608
  /**
20578
20609
  * @description Only rows spent by this lane. `app` is the deployed worker's `env.ai`, `dev` is
20579
- * the same app running on a developer's machine or tab, and `studio` is Studio's
20580
- * own agent turns. Absent means every lane; an unknown value is a 400 rather than
20581
- * an empty page.
20610
+ * the same app running on a developer's machine or tab, `studio` is Studio's
20611
+ * own agent turns, and `byos` is a deployed app's call answered by a member's
20612
+ * Studio subscription (recorded at 0). Absent means every lane; an unknown value
20613
+ * is a 400 rather than an empty page.
20582
20614
  */
20583
- lane?: "app" | "dev" | "studio";
20615
+ lane?: "app" | "dev" | "studio" | "byos";
20584
20616
  /**
20585
20617
  * @description Only rows of this kind. `kind=topup&limit=1` is the last top-up, which is
20586
20618
  * otherwise an unbounded walk backwards through a busy day's calls. An unknown