@miradorlabs/web-grpc 3.25.0 → 3.27.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "3.25.0",
3
+ "version": "3.27.0",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -605,45 +605,6 @@ export function aIFileTierToJSON(object: AIFileTier): string {
605
605
  }
606
606
  }
607
607
 
608
- export enum AIFileConfidence {
609
- AI_FILE_CONFIDENCE_UNSPECIFIED = 0,
610
- AI_FILE_CONFIDENCE_OBSERVED = 1,
611
- AI_FILE_CONFIDENCE_INFERRED = 2,
612
- UNRECOGNIZED = -1,
613
- }
614
-
615
- export function aIFileConfidenceFromJSON(object: any): AIFileConfidence {
616
- switch (object) {
617
- case 0:
618
- case "AI_FILE_CONFIDENCE_UNSPECIFIED":
619
- return AIFileConfidence.AI_FILE_CONFIDENCE_UNSPECIFIED;
620
- case 1:
621
- case "AI_FILE_CONFIDENCE_OBSERVED":
622
- return AIFileConfidence.AI_FILE_CONFIDENCE_OBSERVED;
623
- case 2:
624
- case "AI_FILE_CONFIDENCE_INFERRED":
625
- return AIFileConfidence.AI_FILE_CONFIDENCE_INFERRED;
626
- case -1:
627
- case "UNRECOGNIZED":
628
- default:
629
- return AIFileConfidence.UNRECOGNIZED;
630
- }
631
- }
632
-
633
- export function aIFileConfidenceToJSON(object: AIFileConfidence): string {
634
- switch (object) {
635
- case AIFileConfidence.AI_FILE_CONFIDENCE_UNSPECIFIED:
636
- return "AI_FILE_CONFIDENCE_UNSPECIFIED";
637
- case AIFileConfidence.AI_FILE_CONFIDENCE_OBSERVED:
638
- return "AI_FILE_CONFIDENCE_OBSERVED";
639
- case AIFileConfidence.AI_FILE_CONFIDENCE_INFERRED:
640
- return "AI_FILE_CONFIDENCE_INFERRED";
641
- case AIFileConfidence.UNRECOGNIZED:
642
- default:
643
- return "UNRECOGNIZED";
644
- }
645
- }
646
-
647
608
  /** AIFileSort mirrors telemetry.api.v1.AIFileSort; every sort breaks ties on (repository_key, ref, path). */
648
609
  export enum AIFileSort {
649
610
  AI_FILE_SORT_UNSPECIFIED = 0,
@@ -991,6 +952,11 @@ export interface AISessionSummary {
991
952
  clients: string[];
992
953
  /** The versions those apps reported, verbatim. */
993
954
  clientVersions: string[];
955
+ /**
956
+ * The terma CLI versions the session's records named, verbatim, client-supplied and display only. Empty when
957
+ * none named one (not carried by terma, by a terma older than the stamp, or written before the column existed).
958
+ */
959
+ termaVersions: string[];
994
960
  /** The harness's latest title for the session (summary · session_title); "" when it named none. */
995
961
  title: string;
996
962
  /** The harness's latest "while you were away" recap (summary · recap); "" when it wrote none. */
@@ -1951,7 +1917,6 @@ export interface AIFileRow {
1951
1917
  oldPath: string;
1952
1918
  state: AIFileLifecycle;
1953
1919
  tier: AIFileTier;
1954
- confidence: AIFileConfidence;
1955
1920
  firstEditedAt: Date | undefined;
1956
1921
  lastEditedAt: Date | undefined;
1957
1922
  lastStagedAt: Date | undefined;
@@ -2041,13 +2006,12 @@ export interface FileTierBucket {
2041
2006
  branches: number;
2042
2007
  sessions: number;
2043
2008
  costUsd: number;
2044
- costUsdUnverified: number;
2045
2009
  outputTokens: number;
2046
- oldestAge: Duration | undefined;
2047
- filesUnverified: number;
2048
- /** subscription-facility slice of the tier's unlanded cost (observed / inferred); Net subtracts these. */
2010
+ oldestAge:
2011
+ | Duration
2012
+ | undefined;
2013
+ /** subscription-facility slice of the tier's unlanded cost; Net subtracts it. */
2049
2014
  subscriptionCostUsd: number;
2050
- subscriptionCostUsdUnverified: number;
2051
2015
  }
2052
2016
 
2053
2017
  export interface FileGroup {
@@ -3110,6 +3074,7 @@ function createBaseAISessionSummary(): AISessionSummary {
3110
3074
  observer: "",
3111
3075
  clients: [],
3112
3076
  clientVersions: [],
3077
+ termaVersions: [],
3113
3078
  title: "",
3114
3079
  recap: "",
3115
3080
  };
@@ -3213,6 +3178,9 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3213
3178
  for (const v of message.clientVersions) {
3214
3179
  writer.uint32(258).string(v!);
3215
3180
  }
3181
+ for (const v of message.termaVersions) {
3182
+ writer.uint32(282).string(v!);
3183
+ }
3216
3184
  if (message.title !== "") {
3217
3185
  writer.uint32(266).string(message.title);
3218
3186
  }
@@ -3491,6 +3459,14 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3491
3459
  message.clientVersions.push(reader.string());
3492
3460
  continue;
3493
3461
  }
3462
+ case 35: {
3463
+ if (tag !== 282) {
3464
+ break;
3465
+ }
3466
+
3467
+ message.termaVersions.push(reader.string());
3468
+ continue;
3469
+ }
3494
3470
  case 33: {
3495
3471
  if (tag !== 266) {
3496
3472
  break;
@@ -3649,6 +3625,11 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3649
3625
  : globalThis.Array.isArray(object?.client_versions)
3650
3626
  ? object.client_versions.map((e: any) => globalThis.String(e))
3651
3627
  : [],
3628
+ termaVersions: globalThis.Array.isArray(object?.termaVersions)
3629
+ ? object.termaVersions.map((e: any) => globalThis.String(e))
3630
+ : globalThis.Array.isArray(object?.terma_versions)
3631
+ ? object.terma_versions.map((e: any) => globalThis.String(e))
3632
+ : [],
3652
3633
  title: isSet(object.title) ? globalThis.String(object.title) : "",
3653
3634
  recap: isSet(object.recap) ? globalThis.String(object.recap) : "",
3654
3635
  };
@@ -3752,6 +3733,9 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3752
3733
  if (message.clientVersions?.length) {
3753
3734
  obj.clientVersions = message.clientVersions;
3754
3735
  }
3736
+ if (message.termaVersions?.length) {
3737
+ obj.termaVersions = message.termaVersions;
3738
+ }
3755
3739
  if (message.title !== "") {
3756
3740
  obj.title = message.title;
3757
3741
  }
@@ -3800,6 +3784,7 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3800
3784
  message.observer = object.observer ?? "";
3801
3785
  message.clients = object.clients?.map((e) => e) || [];
3802
3786
  message.clientVersions = object.clientVersions?.map((e) => e) || [];
3787
+ message.termaVersions = object.termaVersions?.map((e) => e) || [];
3803
3788
  message.title = object.title ?? "";
3804
3789
  message.recap = object.recap ?? "";
3805
3790
  return message;
@@ -16953,7 +16938,6 @@ function createBaseAIFileRow(): AIFileRow {
16953
16938
  oldPath: "",
16954
16939
  state: 0,
16955
16940
  tier: 0,
16956
- confidence: 0,
16957
16941
  firstEditedAt: undefined,
16958
16942
  lastEditedAt: undefined,
16959
16943
  lastStagedAt: undefined,
@@ -16992,53 +16976,50 @@ export const AIFileRow: MessageFns<AIFileRow> = {
16992
16976
  if (message.tier !== 0) {
16993
16977
  writer.uint32(48).int32(message.tier);
16994
16978
  }
16995
- if (message.confidence !== 0) {
16996
- writer.uint32(56).int32(message.confidence);
16997
- }
16998
16979
  if (message.firstEditedAt !== undefined) {
16999
- Timestamp.encode(toTimestamp(message.firstEditedAt), writer.uint32(66).fork()).join();
16980
+ Timestamp.encode(toTimestamp(message.firstEditedAt), writer.uint32(58).fork()).join();
17000
16981
  }
17001
16982
  if (message.lastEditedAt !== undefined) {
17002
- Timestamp.encode(toTimestamp(message.lastEditedAt), writer.uint32(74).fork()).join();
16983
+ Timestamp.encode(toTimestamp(message.lastEditedAt), writer.uint32(66).fork()).join();
17003
16984
  }
17004
16985
  if (message.lastStagedAt !== undefined) {
17005
- Timestamp.encode(toTimestamp(message.lastStagedAt), writer.uint32(82).fork()).join();
16986
+ Timestamp.encode(toTimestamp(message.lastStagedAt), writer.uint32(74).fork()).join();
17006
16987
  }
17007
16988
  if (message.lastCommittedAt !== undefined) {
17008
- Timestamp.encode(toTimestamp(message.lastCommittedAt), writer.uint32(90).fork()).join();
16989
+ Timestamp.encode(toTimestamp(message.lastCommittedAt), writer.uint32(82).fork()).join();
17009
16990
  }
17010
16991
  if (message.lastCommitSha !== "") {
17011
- writer.uint32(98).string(message.lastCommitSha);
16992
+ writer.uint32(90).string(message.lastCommitSha);
17012
16993
  }
17013
16994
  if (message.lastPushedAt !== undefined) {
17014
- Timestamp.encode(toTimestamp(message.lastPushedAt), writer.uint32(106).fork()).join();
16995
+ Timestamp.encode(toTimestamp(message.lastPushedAt), writer.uint32(98).fork()).join();
17015
16996
  }
17016
16997
  if (message.discardedAt !== undefined) {
17017
- Timestamp.encode(toTimestamp(message.discardedAt), writer.uint32(114).fork()).join();
16998
+ Timestamp.encode(toTimestamp(message.discardedAt), writer.uint32(106).fork()).join();
17018
16999
  }
17019
17000
  if (message.discardReason !== "") {
17020
- writer.uint32(122).string(message.discardReason);
17001
+ writer.uint32(114).string(message.discardReason);
17021
17002
  }
17022
17003
  if (message.editCount !== 0) {
17023
- writer.uint32(128).uint32(message.editCount);
17004
+ writer.uint32(120).uint32(message.editCount);
17024
17005
  }
17025
17006
  for (const v of message.sessions) {
17026
- AISessionRef.encode(v!, writer.uint32(138).fork()).join();
17007
+ AISessionRef.encode(v!, writer.uint32(130).fork()).join();
17027
17008
  }
17028
17009
  if (message.unlandedCostUsd !== 0) {
17029
- writer.uint32(145).double(message.unlandedCostUsd);
17010
+ writer.uint32(137).double(message.unlandedCostUsd);
17030
17011
  }
17031
17012
  if (message.unlandedOutputTokens !== 0) {
17032
- writer.uint32(152).uint64(message.unlandedOutputTokens);
17013
+ writer.uint32(144).uint64(message.unlandedOutputTokens);
17033
17014
  }
17034
17015
  if (message.totalCostUsd !== 0) {
17035
- writer.uint32(161).double(message.totalCostUsd);
17016
+ writer.uint32(153).double(message.totalCostUsd);
17036
17017
  }
17037
17018
  if (message.subscriptionTotalCostUsd !== 0) {
17038
- writer.uint32(169).double(message.subscriptionTotalCostUsd);
17019
+ writer.uint32(161).double(message.subscriptionTotalCostUsd);
17039
17020
  }
17040
17021
  if (message.subscriptionUnlandedCostUsd !== 0) {
17041
- writer.uint32(177).double(message.subscriptionUnlandedCostUsd);
17022
+ writer.uint32(169).double(message.subscriptionUnlandedCostUsd);
17042
17023
  }
17043
17024
  return writer;
17044
17025
  },
@@ -17105,11 +17086,11 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17105
17086
  continue;
17106
17087
  }
17107
17088
  case 7: {
17108
- if (tag !== 56) {
17089
+ if (tag !== 58) {
17109
17090
  break;
17110
17091
  }
17111
17092
 
17112
- message.confidence = reader.int32() as any;
17093
+ message.firstEditedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17113
17094
  continue;
17114
17095
  }
17115
17096
  case 8: {
@@ -17117,7 +17098,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17117
17098
  break;
17118
17099
  }
17119
17100
 
17120
- message.firstEditedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17101
+ message.lastEditedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17121
17102
  continue;
17122
17103
  }
17123
17104
  case 9: {
@@ -17125,7 +17106,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17125
17106
  break;
17126
17107
  }
17127
17108
 
17128
- message.lastEditedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17109
+ message.lastStagedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17129
17110
  continue;
17130
17111
  }
17131
17112
  case 10: {
@@ -17133,7 +17114,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17133
17114
  break;
17134
17115
  }
17135
17116
 
17136
- message.lastStagedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17117
+ message.lastCommittedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17137
17118
  continue;
17138
17119
  }
17139
17120
  case 11: {
@@ -17141,7 +17122,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17141
17122
  break;
17142
17123
  }
17143
17124
 
17144
- message.lastCommittedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17125
+ message.lastCommitSha = reader.string();
17145
17126
  continue;
17146
17127
  }
17147
17128
  case 12: {
@@ -17149,7 +17130,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17149
17130
  break;
17150
17131
  }
17151
17132
 
17152
- message.lastCommitSha = reader.string();
17133
+ message.lastPushedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17153
17134
  continue;
17154
17135
  }
17155
17136
  case 13: {
@@ -17157,7 +17138,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17157
17138
  break;
17158
17139
  }
17159
17140
 
17160
- message.lastPushedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17141
+ message.discardedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17161
17142
  continue;
17162
17143
  }
17163
17144
  case 14: {
@@ -17165,47 +17146,47 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17165
17146
  break;
17166
17147
  }
17167
17148
 
17168
- message.discardedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
17149
+ message.discardReason = reader.string();
17169
17150
  continue;
17170
17151
  }
17171
17152
  case 15: {
17172
- if (tag !== 122) {
17153
+ if (tag !== 120) {
17173
17154
  break;
17174
17155
  }
17175
17156
 
17176
- message.discardReason = reader.string();
17157
+ message.editCount = reader.uint32();
17177
17158
  continue;
17178
17159
  }
17179
17160
  case 16: {
17180
- if (tag !== 128) {
17161
+ if (tag !== 130) {
17181
17162
  break;
17182
17163
  }
17183
17164
 
17184
- message.editCount = reader.uint32();
17165
+ message.sessions.push(AISessionRef.decode(reader, reader.uint32()));
17185
17166
  continue;
17186
17167
  }
17187
17168
  case 17: {
17188
- if (tag !== 138) {
17169
+ if (tag !== 137) {
17189
17170
  break;
17190
17171
  }
17191
17172
 
17192
- message.sessions.push(AISessionRef.decode(reader, reader.uint32()));
17173
+ message.unlandedCostUsd = reader.double();
17193
17174
  continue;
17194
17175
  }
17195
17176
  case 18: {
17196
- if (tag !== 145) {
17177
+ if (tag !== 144) {
17197
17178
  break;
17198
17179
  }
17199
17180
 
17200
- message.unlandedCostUsd = reader.double();
17181
+ message.unlandedOutputTokens = longToNumber(reader.uint64());
17201
17182
  continue;
17202
17183
  }
17203
17184
  case 19: {
17204
- if (tag !== 152) {
17185
+ if (tag !== 153) {
17205
17186
  break;
17206
17187
  }
17207
17188
 
17208
- message.unlandedOutputTokens = longToNumber(reader.uint64());
17189
+ message.totalCostUsd = reader.double();
17209
17190
  continue;
17210
17191
  }
17211
17192
  case 20: {
@@ -17213,7 +17194,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17213
17194
  break;
17214
17195
  }
17215
17196
 
17216
- message.totalCostUsd = reader.double();
17197
+ message.subscriptionTotalCostUsd = reader.double();
17217
17198
  continue;
17218
17199
  }
17219
17200
  case 21: {
@@ -17221,14 +17202,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17221
17202
  break;
17222
17203
  }
17223
17204
 
17224
- message.subscriptionTotalCostUsd = reader.double();
17225
- continue;
17226
- }
17227
- case 22: {
17228
- if (tag !== 177) {
17229
- break;
17230
- }
17231
-
17232
17205
  message.subscriptionUnlandedCostUsd = reader.double();
17233
17206
  continue;
17234
17207
  }
@@ -17260,7 +17233,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17260
17233
  : "",
17261
17234
  state: isSet(object.state) ? aIFileLifecycleFromJSON(object.state) : 0,
17262
17235
  tier: isSet(object.tier) ? aIFileTierFromJSON(object.tier) : 0,
17263
- confidence: isSet(object.confidence) ? aIFileConfidenceFromJSON(object.confidence) : 0,
17264
17236
  firstEditedAt: isSet(object.firstEditedAt)
17265
17237
  ? fromJsonTimestamp(object.firstEditedAt)
17266
17238
  : isSet(object.first_edited_at)
@@ -17357,9 +17329,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17357
17329
  if (message.tier !== 0) {
17358
17330
  obj.tier = aIFileTierToJSON(message.tier);
17359
17331
  }
17360
- if (message.confidence !== 0) {
17361
- obj.confidence = aIFileConfidenceToJSON(message.confidence);
17362
- }
17363
17332
  if (message.firstEditedAt !== undefined) {
17364
17333
  obj.firstEditedAt = message.firstEditedAt.toISOString();
17365
17334
  }
@@ -17419,7 +17388,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
17419
17388
  message.oldPath = object.oldPath ?? "";
17420
17389
  message.state = object.state ?? 0;
17421
17390
  message.tier = object.tier ?? 0;
17422
- message.confidence = object.confidence ?? 0;
17423
17391
  message.firstEditedAt = object.firstEditedAt ?? undefined;
17424
17392
  message.lastEditedAt = object.lastEditedAt ?? undefined;
17425
17393
  message.lastStagedAt = object.lastStagedAt ?? undefined;
@@ -18384,12 +18352,9 @@ function createBaseFileTierBucket(): FileTierBucket {
18384
18352
  branches: 0,
18385
18353
  sessions: 0,
18386
18354
  costUsd: 0,
18387
- costUsdUnverified: 0,
18388
18355
  outputTokens: 0,
18389
18356
  oldestAge: undefined,
18390
- filesUnverified: 0,
18391
18357
  subscriptionCostUsd: 0,
18392
- subscriptionCostUsdUnverified: 0,
18393
18358
  };
18394
18359
  }
18395
18360
 
@@ -18407,23 +18372,14 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
18407
18372
  if (message.costUsd !== 0) {
18408
18373
  writer.uint32(33).double(message.costUsd);
18409
18374
  }
18410
- if (message.costUsdUnverified !== 0) {
18411
- writer.uint32(41).double(message.costUsdUnverified);
18412
- }
18413
18375
  if (message.outputTokens !== 0) {
18414
- writer.uint32(48).uint64(message.outputTokens);
18376
+ writer.uint32(40).uint64(message.outputTokens);
18415
18377
  }
18416
18378
  if (message.oldestAge !== undefined) {
18417
- Duration.encode(message.oldestAge, writer.uint32(58).fork()).join();
18418
- }
18419
- if (message.filesUnverified !== 0) {
18420
- writer.uint32(64).uint64(message.filesUnverified);
18379
+ Duration.encode(message.oldestAge, writer.uint32(50).fork()).join();
18421
18380
  }
18422
18381
  if (message.subscriptionCostUsd !== 0) {
18423
- writer.uint32(73).double(message.subscriptionCostUsd);
18424
- }
18425
- if (message.subscriptionCostUsdUnverified !== 0) {
18426
- writer.uint32(81).double(message.subscriptionCostUsdUnverified);
18382
+ writer.uint32(57).double(message.subscriptionCostUsd);
18427
18383
  }
18428
18384
  return writer;
18429
18385
  },
@@ -18474,53 +18430,29 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
18474
18430
  continue;
18475
18431
  }
18476
18432
  case 5: {
18477
- if (tag !== 41) {
18478
- break;
18479
- }
18480
-
18481
- message.costUsdUnverified = reader.double();
18482
- continue;
18483
- }
18484
- case 6: {
18485
- if (tag !== 48) {
18433
+ if (tag !== 40) {
18486
18434
  break;
18487
18435
  }
18488
18436
 
18489
18437
  message.outputTokens = longToNumber(reader.uint64());
18490
18438
  continue;
18491
18439
  }
18492
- case 7: {
18493
- if (tag !== 58) {
18440
+ case 6: {
18441
+ if (tag !== 50) {
18494
18442
  break;
18495
18443
  }
18496
18444
 
18497
18445
  message.oldestAge = Duration.decode(reader, reader.uint32());
18498
18446
  continue;
18499
18447
  }
18500
- case 8: {
18501
- if (tag !== 64) {
18502
- break;
18503
- }
18504
-
18505
- message.filesUnverified = longToNumber(reader.uint64());
18506
- continue;
18507
- }
18508
- case 9: {
18509
- if (tag !== 73) {
18448
+ case 7: {
18449
+ if (tag !== 57) {
18510
18450
  break;
18511
18451
  }
18512
18452
 
18513
18453
  message.subscriptionCostUsd = reader.double();
18514
18454
  continue;
18515
18455
  }
18516
- case 10: {
18517
- if (tag !== 81) {
18518
- break;
18519
- }
18520
-
18521
- message.subscriptionCostUsdUnverified = reader.double();
18522
- continue;
18523
- }
18524
18456
  }
18525
18457
  if ((tag & 7) === 4 || tag === 0) {
18526
18458
  break;
@@ -18543,11 +18475,6 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
18543
18475
  : isSet(object.cost_usd)
18544
18476
  ? globalThis.Number(object.cost_usd)
18545
18477
  : 0,
18546
- costUsdUnverified: isSet(object.costUsdUnverified)
18547
- ? globalThis.Number(object.costUsdUnverified)
18548
- : isSet(object.cost_usd_unverified)
18549
- ? globalThis.Number(object.cost_usd_unverified)
18550
- : 0,
18551
18478
  outputTokens: isSet(object.outputTokens)
18552
18479
  ? globalThis.Number(object.outputTokens)
18553
18480
  : isSet(object.output_tokens)
@@ -18558,21 +18485,11 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
18558
18485
  : isSet(object.oldest_age)
18559
18486
  ? Duration.fromJSON(object.oldest_age)
18560
18487
  : undefined,
18561
- filesUnverified: isSet(object.filesUnverified)
18562
- ? globalThis.Number(object.filesUnverified)
18563
- : isSet(object.files_unverified)
18564
- ? globalThis.Number(object.files_unverified)
18565
- : 0,
18566
18488
  subscriptionCostUsd: isSet(object.subscriptionCostUsd)
18567
18489
  ? globalThis.Number(object.subscriptionCostUsd)
18568
18490
  : isSet(object.subscription_cost_usd)
18569
18491
  ? globalThis.Number(object.subscription_cost_usd)
18570
18492
  : 0,
18571
- subscriptionCostUsdUnverified: isSet(object.subscriptionCostUsdUnverified)
18572
- ? globalThis.Number(object.subscriptionCostUsdUnverified)
18573
- : isSet(object.subscription_cost_usd_unverified)
18574
- ? globalThis.Number(object.subscription_cost_usd_unverified)
18575
- : 0,
18576
18493
  };
18577
18494
  },
18578
18495
 
@@ -18590,24 +18507,15 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
18590
18507
  if (message.costUsd !== 0) {
18591
18508
  obj.costUsd = message.costUsd;
18592
18509
  }
18593
- if (message.costUsdUnverified !== 0) {
18594
- obj.costUsdUnverified = message.costUsdUnverified;
18595
- }
18596
18510
  if (message.outputTokens !== 0) {
18597
18511
  obj.outputTokens = Math.round(message.outputTokens);
18598
18512
  }
18599
18513
  if (message.oldestAge !== undefined) {
18600
18514
  obj.oldestAge = Duration.toJSON(message.oldestAge);
18601
18515
  }
18602
- if (message.filesUnverified !== 0) {
18603
- obj.filesUnverified = Math.round(message.filesUnverified);
18604
- }
18605
18516
  if (message.subscriptionCostUsd !== 0) {
18606
18517
  obj.subscriptionCostUsd = message.subscriptionCostUsd;
18607
18518
  }
18608
- if (message.subscriptionCostUsdUnverified !== 0) {
18609
- obj.subscriptionCostUsdUnverified = message.subscriptionCostUsdUnverified;
18610
- }
18611
18519
  return obj;
18612
18520
  },
18613
18521
 
@@ -18620,14 +18528,11 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
18620
18528
  message.branches = object.branches ?? 0;
18621
18529
  message.sessions = object.sessions ?? 0;
18622
18530
  message.costUsd = object.costUsd ?? 0;
18623
- message.costUsdUnverified = object.costUsdUnverified ?? 0;
18624
18531
  message.outputTokens = object.outputTokens ?? 0;
18625
18532
  message.oldestAge = (object.oldestAge !== undefined && object.oldestAge !== null)
18626
18533
  ? Duration.fromPartial(object.oldestAge)
18627
18534
  : undefined;
18628
- message.filesUnverified = object.filesUnverified ?? 0;
18629
18535
  message.subscriptionCostUsd = object.subscriptionCostUsd ?? 0;
18630
- message.subscriptionCostUsdUnverified = object.subscriptionCostUsdUnverified ?? 0;
18631
18536
  return message;
18632
18537
  },
18633
18538
  };
@@ -20907,8 +20812,8 @@ export interface AIGatewayService {
20907
20812
  */
20908
20813
  ListFileDirectories(request: ListFileDirectoriesRequest, metadata?: Metadata): Promise<ListFileDirectoriesResponse>;
20909
20814
  /**
20910
- * Live stream of the unlanded-work funnel: aging tiers + discarded (git-invisible churn), observed vs
20911
- * unverified, a complete snapshot re-derived each tick. Counts every checkout copy, edited or not.
20815
+ * Live stream of the unlanded-work funnel: aging tiers + discarded (git-invisible churn), a complete
20816
+ * snapshot re-derived each tick. Counts every checkout copy, edited or not.
20912
20817
  */
20913
20818
  StreamFilesSummary(request: FilesSummaryRequest, metadata?: Metadata): Observable<FilesSummary>;
20914
20819
  /** Latest observed list price per catalog listing from the global catalog, under stored names. */
@@ -795,8 +795,8 @@ listFileDirectories: {
795
795
  responseSerialize: serialize_gateway_web_v1_ListFileDirectoriesResponse,
796
796
  responseDeserialize: deserialize_gateway_web_v1_ListFileDirectoriesResponse,
797
797
  },
798
- // Live stream of the unlanded-work funnel: aging tiers + discarded (git-invisible churn), observed vs
799
- // unverified, a complete snapshot re-derived each tick. Counts every checkout copy, edited or not.
798
+ // Live stream of the unlanded-work funnel: aging tiers + discarded (git-invisible churn), a complete
799
+ // snapshot re-derived each tick. Counts every checkout copy, edited or not.
800
800
  streamFilesSummary: {
801
801
  path: '/gateway.web.v1.AIGatewayService/StreamFilesSummary',
802
802
  requestStream: false,