@miradorlabs/web-grpc 3.26.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
|
@@ -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,
|
|
@@ -1956,7 +1917,6 @@ export interface AIFileRow {
|
|
|
1956
1917
|
oldPath: string;
|
|
1957
1918
|
state: AIFileLifecycle;
|
|
1958
1919
|
tier: AIFileTier;
|
|
1959
|
-
confidence: AIFileConfidence;
|
|
1960
1920
|
firstEditedAt: Date | undefined;
|
|
1961
1921
|
lastEditedAt: Date | undefined;
|
|
1962
1922
|
lastStagedAt: Date | undefined;
|
|
@@ -2046,13 +2006,12 @@ export interface FileTierBucket {
|
|
|
2046
2006
|
branches: number;
|
|
2047
2007
|
sessions: number;
|
|
2048
2008
|
costUsd: number;
|
|
2049
|
-
costUsdUnverified: number;
|
|
2050
2009
|
outputTokens: number;
|
|
2051
|
-
oldestAge:
|
|
2052
|
-
|
|
2053
|
-
|
|
2010
|
+
oldestAge:
|
|
2011
|
+
| Duration
|
|
2012
|
+
| undefined;
|
|
2013
|
+
/** subscription-facility slice of the tier's unlanded cost; Net subtracts it. */
|
|
2054
2014
|
subscriptionCostUsd: number;
|
|
2055
|
-
subscriptionCostUsdUnverified: number;
|
|
2056
2015
|
}
|
|
2057
2016
|
|
|
2058
2017
|
export interface FileGroup {
|
|
@@ -16979,7 +16938,6 @@ function createBaseAIFileRow(): AIFileRow {
|
|
|
16979
16938
|
oldPath: "",
|
|
16980
16939
|
state: 0,
|
|
16981
16940
|
tier: 0,
|
|
16982
|
-
confidence: 0,
|
|
16983
16941
|
firstEditedAt: undefined,
|
|
16984
16942
|
lastEditedAt: undefined,
|
|
16985
16943
|
lastStagedAt: undefined,
|
|
@@ -17018,53 +16976,50 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17018
16976
|
if (message.tier !== 0) {
|
|
17019
16977
|
writer.uint32(48).int32(message.tier);
|
|
17020
16978
|
}
|
|
17021
|
-
if (message.confidence !== 0) {
|
|
17022
|
-
writer.uint32(56).int32(message.confidence);
|
|
17023
|
-
}
|
|
17024
16979
|
if (message.firstEditedAt !== undefined) {
|
|
17025
|
-
Timestamp.encode(toTimestamp(message.firstEditedAt), writer.uint32(
|
|
16980
|
+
Timestamp.encode(toTimestamp(message.firstEditedAt), writer.uint32(58).fork()).join();
|
|
17026
16981
|
}
|
|
17027
16982
|
if (message.lastEditedAt !== undefined) {
|
|
17028
|
-
Timestamp.encode(toTimestamp(message.lastEditedAt), writer.uint32(
|
|
16983
|
+
Timestamp.encode(toTimestamp(message.lastEditedAt), writer.uint32(66).fork()).join();
|
|
17029
16984
|
}
|
|
17030
16985
|
if (message.lastStagedAt !== undefined) {
|
|
17031
|
-
Timestamp.encode(toTimestamp(message.lastStagedAt), writer.uint32(
|
|
16986
|
+
Timestamp.encode(toTimestamp(message.lastStagedAt), writer.uint32(74).fork()).join();
|
|
17032
16987
|
}
|
|
17033
16988
|
if (message.lastCommittedAt !== undefined) {
|
|
17034
|
-
Timestamp.encode(toTimestamp(message.lastCommittedAt), writer.uint32(
|
|
16989
|
+
Timestamp.encode(toTimestamp(message.lastCommittedAt), writer.uint32(82).fork()).join();
|
|
17035
16990
|
}
|
|
17036
16991
|
if (message.lastCommitSha !== "") {
|
|
17037
|
-
writer.uint32(
|
|
16992
|
+
writer.uint32(90).string(message.lastCommitSha);
|
|
17038
16993
|
}
|
|
17039
16994
|
if (message.lastPushedAt !== undefined) {
|
|
17040
|
-
Timestamp.encode(toTimestamp(message.lastPushedAt), writer.uint32(
|
|
16995
|
+
Timestamp.encode(toTimestamp(message.lastPushedAt), writer.uint32(98).fork()).join();
|
|
17041
16996
|
}
|
|
17042
16997
|
if (message.discardedAt !== undefined) {
|
|
17043
|
-
Timestamp.encode(toTimestamp(message.discardedAt), writer.uint32(
|
|
16998
|
+
Timestamp.encode(toTimestamp(message.discardedAt), writer.uint32(106).fork()).join();
|
|
17044
16999
|
}
|
|
17045
17000
|
if (message.discardReason !== "") {
|
|
17046
|
-
writer.uint32(
|
|
17001
|
+
writer.uint32(114).string(message.discardReason);
|
|
17047
17002
|
}
|
|
17048
17003
|
if (message.editCount !== 0) {
|
|
17049
|
-
writer.uint32(
|
|
17004
|
+
writer.uint32(120).uint32(message.editCount);
|
|
17050
17005
|
}
|
|
17051
17006
|
for (const v of message.sessions) {
|
|
17052
|
-
AISessionRef.encode(v!, writer.uint32(
|
|
17007
|
+
AISessionRef.encode(v!, writer.uint32(130).fork()).join();
|
|
17053
17008
|
}
|
|
17054
17009
|
if (message.unlandedCostUsd !== 0) {
|
|
17055
|
-
writer.uint32(
|
|
17010
|
+
writer.uint32(137).double(message.unlandedCostUsd);
|
|
17056
17011
|
}
|
|
17057
17012
|
if (message.unlandedOutputTokens !== 0) {
|
|
17058
|
-
writer.uint32(
|
|
17013
|
+
writer.uint32(144).uint64(message.unlandedOutputTokens);
|
|
17059
17014
|
}
|
|
17060
17015
|
if (message.totalCostUsd !== 0) {
|
|
17061
|
-
writer.uint32(
|
|
17016
|
+
writer.uint32(153).double(message.totalCostUsd);
|
|
17062
17017
|
}
|
|
17063
17018
|
if (message.subscriptionTotalCostUsd !== 0) {
|
|
17064
|
-
writer.uint32(
|
|
17019
|
+
writer.uint32(161).double(message.subscriptionTotalCostUsd);
|
|
17065
17020
|
}
|
|
17066
17021
|
if (message.subscriptionUnlandedCostUsd !== 0) {
|
|
17067
|
-
writer.uint32(
|
|
17022
|
+
writer.uint32(169).double(message.subscriptionUnlandedCostUsd);
|
|
17068
17023
|
}
|
|
17069
17024
|
return writer;
|
|
17070
17025
|
},
|
|
@@ -17131,11 +17086,11 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17131
17086
|
continue;
|
|
17132
17087
|
}
|
|
17133
17088
|
case 7: {
|
|
17134
|
-
if (tag !==
|
|
17089
|
+
if (tag !== 58) {
|
|
17135
17090
|
break;
|
|
17136
17091
|
}
|
|
17137
17092
|
|
|
17138
|
-
message.
|
|
17093
|
+
message.firstEditedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
17139
17094
|
continue;
|
|
17140
17095
|
}
|
|
17141
17096
|
case 8: {
|
|
@@ -17143,7 +17098,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17143
17098
|
break;
|
|
17144
17099
|
}
|
|
17145
17100
|
|
|
17146
|
-
message.
|
|
17101
|
+
message.lastEditedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
17147
17102
|
continue;
|
|
17148
17103
|
}
|
|
17149
17104
|
case 9: {
|
|
@@ -17151,7 +17106,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17151
17106
|
break;
|
|
17152
17107
|
}
|
|
17153
17108
|
|
|
17154
|
-
message.
|
|
17109
|
+
message.lastStagedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
17155
17110
|
continue;
|
|
17156
17111
|
}
|
|
17157
17112
|
case 10: {
|
|
@@ -17159,7 +17114,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17159
17114
|
break;
|
|
17160
17115
|
}
|
|
17161
17116
|
|
|
17162
|
-
message.
|
|
17117
|
+
message.lastCommittedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
17163
17118
|
continue;
|
|
17164
17119
|
}
|
|
17165
17120
|
case 11: {
|
|
@@ -17167,7 +17122,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17167
17122
|
break;
|
|
17168
17123
|
}
|
|
17169
17124
|
|
|
17170
|
-
message.
|
|
17125
|
+
message.lastCommitSha = reader.string();
|
|
17171
17126
|
continue;
|
|
17172
17127
|
}
|
|
17173
17128
|
case 12: {
|
|
@@ -17175,7 +17130,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17175
17130
|
break;
|
|
17176
17131
|
}
|
|
17177
17132
|
|
|
17178
|
-
message.
|
|
17133
|
+
message.lastPushedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
17179
17134
|
continue;
|
|
17180
17135
|
}
|
|
17181
17136
|
case 13: {
|
|
@@ -17183,7 +17138,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17183
17138
|
break;
|
|
17184
17139
|
}
|
|
17185
17140
|
|
|
17186
|
-
message.
|
|
17141
|
+
message.discardedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
17187
17142
|
continue;
|
|
17188
17143
|
}
|
|
17189
17144
|
case 14: {
|
|
@@ -17191,47 +17146,47 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17191
17146
|
break;
|
|
17192
17147
|
}
|
|
17193
17148
|
|
|
17194
|
-
message.
|
|
17149
|
+
message.discardReason = reader.string();
|
|
17195
17150
|
continue;
|
|
17196
17151
|
}
|
|
17197
17152
|
case 15: {
|
|
17198
|
-
if (tag !==
|
|
17153
|
+
if (tag !== 120) {
|
|
17199
17154
|
break;
|
|
17200
17155
|
}
|
|
17201
17156
|
|
|
17202
|
-
message.
|
|
17157
|
+
message.editCount = reader.uint32();
|
|
17203
17158
|
continue;
|
|
17204
17159
|
}
|
|
17205
17160
|
case 16: {
|
|
17206
|
-
if (tag !==
|
|
17161
|
+
if (tag !== 130) {
|
|
17207
17162
|
break;
|
|
17208
17163
|
}
|
|
17209
17164
|
|
|
17210
|
-
message.
|
|
17165
|
+
message.sessions.push(AISessionRef.decode(reader, reader.uint32()));
|
|
17211
17166
|
continue;
|
|
17212
17167
|
}
|
|
17213
17168
|
case 17: {
|
|
17214
|
-
if (tag !==
|
|
17169
|
+
if (tag !== 137) {
|
|
17215
17170
|
break;
|
|
17216
17171
|
}
|
|
17217
17172
|
|
|
17218
|
-
message.
|
|
17173
|
+
message.unlandedCostUsd = reader.double();
|
|
17219
17174
|
continue;
|
|
17220
17175
|
}
|
|
17221
17176
|
case 18: {
|
|
17222
|
-
if (tag !==
|
|
17177
|
+
if (tag !== 144) {
|
|
17223
17178
|
break;
|
|
17224
17179
|
}
|
|
17225
17180
|
|
|
17226
|
-
message.
|
|
17181
|
+
message.unlandedOutputTokens = longToNumber(reader.uint64());
|
|
17227
17182
|
continue;
|
|
17228
17183
|
}
|
|
17229
17184
|
case 19: {
|
|
17230
|
-
if (tag !==
|
|
17185
|
+
if (tag !== 153) {
|
|
17231
17186
|
break;
|
|
17232
17187
|
}
|
|
17233
17188
|
|
|
17234
|
-
message.
|
|
17189
|
+
message.totalCostUsd = reader.double();
|
|
17235
17190
|
continue;
|
|
17236
17191
|
}
|
|
17237
17192
|
case 20: {
|
|
@@ -17239,7 +17194,7 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17239
17194
|
break;
|
|
17240
17195
|
}
|
|
17241
17196
|
|
|
17242
|
-
message.
|
|
17197
|
+
message.subscriptionTotalCostUsd = reader.double();
|
|
17243
17198
|
continue;
|
|
17244
17199
|
}
|
|
17245
17200
|
case 21: {
|
|
@@ -17247,14 +17202,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17247
17202
|
break;
|
|
17248
17203
|
}
|
|
17249
17204
|
|
|
17250
|
-
message.subscriptionTotalCostUsd = reader.double();
|
|
17251
|
-
continue;
|
|
17252
|
-
}
|
|
17253
|
-
case 22: {
|
|
17254
|
-
if (tag !== 177) {
|
|
17255
|
-
break;
|
|
17256
|
-
}
|
|
17257
|
-
|
|
17258
17205
|
message.subscriptionUnlandedCostUsd = reader.double();
|
|
17259
17206
|
continue;
|
|
17260
17207
|
}
|
|
@@ -17286,7 +17233,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17286
17233
|
: "",
|
|
17287
17234
|
state: isSet(object.state) ? aIFileLifecycleFromJSON(object.state) : 0,
|
|
17288
17235
|
tier: isSet(object.tier) ? aIFileTierFromJSON(object.tier) : 0,
|
|
17289
|
-
confidence: isSet(object.confidence) ? aIFileConfidenceFromJSON(object.confidence) : 0,
|
|
17290
17236
|
firstEditedAt: isSet(object.firstEditedAt)
|
|
17291
17237
|
? fromJsonTimestamp(object.firstEditedAt)
|
|
17292
17238
|
: isSet(object.first_edited_at)
|
|
@@ -17383,9 +17329,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17383
17329
|
if (message.tier !== 0) {
|
|
17384
17330
|
obj.tier = aIFileTierToJSON(message.tier);
|
|
17385
17331
|
}
|
|
17386
|
-
if (message.confidence !== 0) {
|
|
17387
|
-
obj.confidence = aIFileConfidenceToJSON(message.confidence);
|
|
17388
|
-
}
|
|
17389
17332
|
if (message.firstEditedAt !== undefined) {
|
|
17390
17333
|
obj.firstEditedAt = message.firstEditedAt.toISOString();
|
|
17391
17334
|
}
|
|
@@ -17445,7 +17388,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
17445
17388
|
message.oldPath = object.oldPath ?? "";
|
|
17446
17389
|
message.state = object.state ?? 0;
|
|
17447
17390
|
message.tier = object.tier ?? 0;
|
|
17448
|
-
message.confidence = object.confidence ?? 0;
|
|
17449
17391
|
message.firstEditedAt = object.firstEditedAt ?? undefined;
|
|
17450
17392
|
message.lastEditedAt = object.lastEditedAt ?? undefined;
|
|
17451
17393
|
message.lastStagedAt = object.lastStagedAt ?? undefined;
|
|
@@ -18410,12 +18352,9 @@ function createBaseFileTierBucket(): FileTierBucket {
|
|
|
18410
18352
|
branches: 0,
|
|
18411
18353
|
sessions: 0,
|
|
18412
18354
|
costUsd: 0,
|
|
18413
|
-
costUsdUnverified: 0,
|
|
18414
18355
|
outputTokens: 0,
|
|
18415
18356
|
oldestAge: undefined,
|
|
18416
|
-
filesUnverified: 0,
|
|
18417
18357
|
subscriptionCostUsd: 0,
|
|
18418
|
-
subscriptionCostUsdUnverified: 0,
|
|
18419
18358
|
};
|
|
18420
18359
|
}
|
|
18421
18360
|
|
|
@@ -18433,23 +18372,14 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
18433
18372
|
if (message.costUsd !== 0) {
|
|
18434
18373
|
writer.uint32(33).double(message.costUsd);
|
|
18435
18374
|
}
|
|
18436
|
-
if (message.costUsdUnverified !== 0) {
|
|
18437
|
-
writer.uint32(41).double(message.costUsdUnverified);
|
|
18438
|
-
}
|
|
18439
18375
|
if (message.outputTokens !== 0) {
|
|
18440
|
-
writer.uint32(
|
|
18376
|
+
writer.uint32(40).uint64(message.outputTokens);
|
|
18441
18377
|
}
|
|
18442
18378
|
if (message.oldestAge !== undefined) {
|
|
18443
|
-
Duration.encode(message.oldestAge, writer.uint32(
|
|
18444
|
-
}
|
|
18445
|
-
if (message.filesUnverified !== 0) {
|
|
18446
|
-
writer.uint32(64).uint64(message.filesUnverified);
|
|
18379
|
+
Duration.encode(message.oldestAge, writer.uint32(50).fork()).join();
|
|
18447
18380
|
}
|
|
18448
18381
|
if (message.subscriptionCostUsd !== 0) {
|
|
18449
|
-
writer.uint32(
|
|
18450
|
-
}
|
|
18451
|
-
if (message.subscriptionCostUsdUnverified !== 0) {
|
|
18452
|
-
writer.uint32(81).double(message.subscriptionCostUsdUnverified);
|
|
18382
|
+
writer.uint32(57).double(message.subscriptionCostUsd);
|
|
18453
18383
|
}
|
|
18454
18384
|
return writer;
|
|
18455
18385
|
},
|
|
@@ -18500,53 +18430,29 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
18500
18430
|
continue;
|
|
18501
18431
|
}
|
|
18502
18432
|
case 5: {
|
|
18503
|
-
if (tag !==
|
|
18504
|
-
break;
|
|
18505
|
-
}
|
|
18506
|
-
|
|
18507
|
-
message.costUsdUnverified = reader.double();
|
|
18508
|
-
continue;
|
|
18509
|
-
}
|
|
18510
|
-
case 6: {
|
|
18511
|
-
if (tag !== 48) {
|
|
18433
|
+
if (tag !== 40) {
|
|
18512
18434
|
break;
|
|
18513
18435
|
}
|
|
18514
18436
|
|
|
18515
18437
|
message.outputTokens = longToNumber(reader.uint64());
|
|
18516
18438
|
continue;
|
|
18517
18439
|
}
|
|
18518
|
-
case
|
|
18519
|
-
if (tag !==
|
|
18440
|
+
case 6: {
|
|
18441
|
+
if (tag !== 50) {
|
|
18520
18442
|
break;
|
|
18521
18443
|
}
|
|
18522
18444
|
|
|
18523
18445
|
message.oldestAge = Duration.decode(reader, reader.uint32());
|
|
18524
18446
|
continue;
|
|
18525
18447
|
}
|
|
18526
|
-
case
|
|
18527
|
-
if (tag !==
|
|
18528
|
-
break;
|
|
18529
|
-
}
|
|
18530
|
-
|
|
18531
|
-
message.filesUnverified = longToNumber(reader.uint64());
|
|
18532
|
-
continue;
|
|
18533
|
-
}
|
|
18534
|
-
case 9: {
|
|
18535
|
-
if (tag !== 73) {
|
|
18448
|
+
case 7: {
|
|
18449
|
+
if (tag !== 57) {
|
|
18536
18450
|
break;
|
|
18537
18451
|
}
|
|
18538
18452
|
|
|
18539
18453
|
message.subscriptionCostUsd = reader.double();
|
|
18540
18454
|
continue;
|
|
18541
18455
|
}
|
|
18542
|
-
case 10: {
|
|
18543
|
-
if (tag !== 81) {
|
|
18544
|
-
break;
|
|
18545
|
-
}
|
|
18546
|
-
|
|
18547
|
-
message.subscriptionCostUsdUnverified = reader.double();
|
|
18548
|
-
continue;
|
|
18549
|
-
}
|
|
18550
18456
|
}
|
|
18551
18457
|
if ((tag & 7) === 4 || tag === 0) {
|
|
18552
18458
|
break;
|
|
@@ -18569,11 +18475,6 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
18569
18475
|
: isSet(object.cost_usd)
|
|
18570
18476
|
? globalThis.Number(object.cost_usd)
|
|
18571
18477
|
: 0,
|
|
18572
|
-
costUsdUnverified: isSet(object.costUsdUnverified)
|
|
18573
|
-
? globalThis.Number(object.costUsdUnverified)
|
|
18574
|
-
: isSet(object.cost_usd_unverified)
|
|
18575
|
-
? globalThis.Number(object.cost_usd_unverified)
|
|
18576
|
-
: 0,
|
|
18577
18478
|
outputTokens: isSet(object.outputTokens)
|
|
18578
18479
|
? globalThis.Number(object.outputTokens)
|
|
18579
18480
|
: isSet(object.output_tokens)
|
|
@@ -18584,21 +18485,11 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
18584
18485
|
: isSet(object.oldest_age)
|
|
18585
18486
|
? Duration.fromJSON(object.oldest_age)
|
|
18586
18487
|
: undefined,
|
|
18587
|
-
filesUnverified: isSet(object.filesUnverified)
|
|
18588
|
-
? globalThis.Number(object.filesUnverified)
|
|
18589
|
-
: isSet(object.files_unverified)
|
|
18590
|
-
? globalThis.Number(object.files_unverified)
|
|
18591
|
-
: 0,
|
|
18592
18488
|
subscriptionCostUsd: isSet(object.subscriptionCostUsd)
|
|
18593
18489
|
? globalThis.Number(object.subscriptionCostUsd)
|
|
18594
18490
|
: isSet(object.subscription_cost_usd)
|
|
18595
18491
|
? globalThis.Number(object.subscription_cost_usd)
|
|
18596
18492
|
: 0,
|
|
18597
|
-
subscriptionCostUsdUnverified: isSet(object.subscriptionCostUsdUnverified)
|
|
18598
|
-
? globalThis.Number(object.subscriptionCostUsdUnverified)
|
|
18599
|
-
: isSet(object.subscription_cost_usd_unverified)
|
|
18600
|
-
? globalThis.Number(object.subscription_cost_usd_unverified)
|
|
18601
|
-
: 0,
|
|
18602
18493
|
};
|
|
18603
18494
|
},
|
|
18604
18495
|
|
|
@@ -18616,24 +18507,15 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
18616
18507
|
if (message.costUsd !== 0) {
|
|
18617
18508
|
obj.costUsd = message.costUsd;
|
|
18618
18509
|
}
|
|
18619
|
-
if (message.costUsdUnverified !== 0) {
|
|
18620
|
-
obj.costUsdUnverified = message.costUsdUnverified;
|
|
18621
|
-
}
|
|
18622
18510
|
if (message.outputTokens !== 0) {
|
|
18623
18511
|
obj.outputTokens = Math.round(message.outputTokens);
|
|
18624
18512
|
}
|
|
18625
18513
|
if (message.oldestAge !== undefined) {
|
|
18626
18514
|
obj.oldestAge = Duration.toJSON(message.oldestAge);
|
|
18627
18515
|
}
|
|
18628
|
-
if (message.filesUnverified !== 0) {
|
|
18629
|
-
obj.filesUnverified = Math.round(message.filesUnverified);
|
|
18630
|
-
}
|
|
18631
18516
|
if (message.subscriptionCostUsd !== 0) {
|
|
18632
18517
|
obj.subscriptionCostUsd = message.subscriptionCostUsd;
|
|
18633
18518
|
}
|
|
18634
|
-
if (message.subscriptionCostUsdUnverified !== 0) {
|
|
18635
|
-
obj.subscriptionCostUsdUnverified = message.subscriptionCostUsdUnverified;
|
|
18636
|
-
}
|
|
18637
18519
|
return obj;
|
|
18638
18520
|
},
|
|
18639
18521
|
|
|
@@ -18646,14 +18528,11 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
18646
18528
|
message.branches = object.branches ?? 0;
|
|
18647
18529
|
message.sessions = object.sessions ?? 0;
|
|
18648
18530
|
message.costUsd = object.costUsd ?? 0;
|
|
18649
|
-
message.costUsdUnverified = object.costUsdUnverified ?? 0;
|
|
18650
18531
|
message.outputTokens = object.outputTokens ?? 0;
|
|
18651
18532
|
message.oldestAge = (object.oldestAge !== undefined && object.oldestAge !== null)
|
|
18652
18533
|
? Duration.fromPartial(object.oldestAge)
|
|
18653
18534
|
: undefined;
|
|
18654
|
-
message.filesUnverified = object.filesUnverified ?? 0;
|
|
18655
18535
|
message.subscriptionCostUsd = object.subscriptionCostUsd ?? 0;
|
|
18656
|
-
message.subscriptionCostUsdUnverified = object.subscriptionCostUsdUnverified ?? 0;
|
|
18657
18536
|
return message;
|
|
18658
18537
|
},
|
|
18659
18538
|
};
|
|
@@ -20933,8 +20812,8 @@ export interface AIGatewayService {
|
|
|
20933
20812
|
*/
|
|
20934
20813
|
ListFileDirectories(request: ListFileDirectoriesRequest, metadata?: Metadata): Promise<ListFileDirectoriesResponse>;
|
|
20935
20814
|
/**
|
|
20936
|
-
* Live stream of the unlanded-work funnel: aging tiers + discarded (git-invisible churn),
|
|
20937
|
-
*
|
|
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.
|
|
20938
20817
|
*/
|
|
20939
20818
|
StreamFilesSummary(request: FilesSummaryRequest, metadata?: Metadata): Observable<FilesSummary>;
|
|
20940
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),
|
|
799
|
-
//
|
|
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,
|