@miradorlabs/web-grpc 4.14.0 → 4.16.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
|
@@ -2387,6 +2387,12 @@ export enum AIProjectInsightKind {
|
|
|
2387
2387
|
AI_PROJECT_INSIGHT_KIND_TOOLING_MCP = 4,
|
|
2388
2388
|
/** AI_PROJECT_INSIGHT_KIND_COORDINATION - Members duplicating work, or needing to coordinate it. */
|
|
2389
2389
|
AI_PROJECT_INSIGHT_KIND_COORDINATION = 5,
|
|
2390
|
+
/** AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS - Members working on the same product, feature or area, who would gain from knowing it. */
|
|
2391
|
+
AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS = 6,
|
|
2392
|
+
/** AI_PROJECT_INSIGHT_KIND_SKILL_SHARING - A practice, skill or know-how one member shows that others working nearby would benefit from. */
|
|
2393
|
+
AI_PROJECT_INSIGHT_KIND_SKILL_SHARING = 7,
|
|
2394
|
+
/** AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE - How members get on with their agents: models or tools they favour, and where work flowed or stalled. */
|
|
2395
|
+
AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE = 8,
|
|
2390
2396
|
UNRECOGNIZED = -1,
|
|
2391
2397
|
}
|
|
2392
2398
|
|
|
@@ -2410,6 +2416,15 @@ export function aIProjectInsightKindFromJSON(object: any): AIProjectInsightKind
|
|
|
2410
2416
|
case 5:
|
|
2411
2417
|
case "AI_PROJECT_INSIGHT_KIND_COORDINATION":
|
|
2412
2418
|
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_COORDINATION;
|
|
2419
|
+
case 6:
|
|
2420
|
+
case "AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS":
|
|
2421
|
+
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS;
|
|
2422
|
+
case 7:
|
|
2423
|
+
case "AI_PROJECT_INSIGHT_KIND_SKILL_SHARING":
|
|
2424
|
+
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SKILL_SHARING;
|
|
2425
|
+
case 8:
|
|
2426
|
+
case "AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE":
|
|
2427
|
+
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE;
|
|
2413
2428
|
case -1:
|
|
2414
2429
|
case "UNRECOGNIZED":
|
|
2415
2430
|
default:
|
|
@@ -2431,6 +2446,12 @@ export function aIProjectInsightKindToJSON(object: AIProjectInsightKind): string
|
|
|
2431
2446
|
return "AI_PROJECT_INSIGHT_KIND_TOOLING_MCP";
|
|
2432
2447
|
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_COORDINATION:
|
|
2433
2448
|
return "AI_PROJECT_INSIGHT_KIND_COORDINATION";
|
|
2449
|
+
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS:
|
|
2450
|
+
return "AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS";
|
|
2451
|
+
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SKILL_SHARING:
|
|
2452
|
+
return "AI_PROJECT_INSIGHT_KIND_SKILL_SHARING";
|
|
2453
|
+
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE:
|
|
2454
|
+
return "AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE";
|
|
2434
2455
|
case AIProjectInsightKind.UNRECOGNIZED:
|
|
2435
2456
|
default:
|
|
2436
2457
|
return "UNRECOGNIZED";
|
|
@@ -4378,6 +4399,11 @@ export interface AIModelPrice {
|
|
|
4378
4399
|
listingId: string;
|
|
4379
4400
|
/** Normalized geography the price applies to (global, us, eu, ...), "" unscoped. */
|
|
4380
4401
|
region: string;
|
|
4402
|
+
/**
|
|
4403
|
+
* The 1-hour prompt-cache write rate the catalog publishes; cache_write_usd_per_mtok is the 5-minute
|
|
4404
|
+
* rate. 0 when the catalog publishes none, and a 1-hour write is then priced at cache_write_usd_per_mtok.
|
|
4405
|
+
*/
|
|
4406
|
+
cacheWrite1hUsdPerMtok: number;
|
|
4381
4407
|
}
|
|
4382
4408
|
|
|
4383
4409
|
export interface AITokenUsage {
|
|
@@ -28137,6 +28163,7 @@ function createBaseAIModelPrice(): AIModelPrice {
|
|
|
28137
28163
|
effortRaw: "",
|
|
28138
28164
|
listingId: "",
|
|
28139
28165
|
region: "",
|
|
28166
|
+
cacheWrite1hUsdPerMtok: 0,
|
|
28140
28167
|
};
|
|
28141
28168
|
}
|
|
28142
28169
|
|
|
@@ -28178,6 +28205,9 @@ export const AIModelPrice: MessageFns<AIModelPrice> = {
|
|
|
28178
28205
|
if (message.region !== "") {
|
|
28179
28206
|
writer.uint32(98).string(message.region);
|
|
28180
28207
|
}
|
|
28208
|
+
if (message.cacheWrite1hUsdPerMtok !== 0) {
|
|
28209
|
+
writer.uint32(105).double(message.cacheWrite1hUsdPerMtok);
|
|
28210
|
+
}
|
|
28181
28211
|
return writer;
|
|
28182
28212
|
},
|
|
28183
28213
|
|
|
@@ -28290,6 +28320,14 @@ export const AIModelPrice: MessageFns<AIModelPrice> = {
|
|
|
28290
28320
|
message.region = reader.string();
|
|
28291
28321
|
continue;
|
|
28292
28322
|
}
|
|
28323
|
+
case 13: {
|
|
28324
|
+
if (tag !== 105) {
|
|
28325
|
+
break;
|
|
28326
|
+
}
|
|
28327
|
+
|
|
28328
|
+
message.cacheWrite1hUsdPerMtok = reader.double();
|
|
28329
|
+
continue;
|
|
28330
|
+
}
|
|
28293
28331
|
}
|
|
28294
28332
|
if ((tag & 7) === 4 || tag === 0) {
|
|
28295
28333
|
break;
|
|
@@ -28352,6 +28390,11 @@ export const AIModelPrice: MessageFns<AIModelPrice> = {
|
|
|
28352
28390
|
? globalThis.String(object.listing_id)
|
|
28353
28391
|
: "",
|
|
28354
28392
|
region: isSet(object.region) ? globalThis.String(object.region) : "",
|
|
28393
|
+
cacheWrite1hUsdPerMtok: isSet(object.cacheWrite1hUsdPerMtok)
|
|
28394
|
+
? globalThis.Number(object.cacheWrite1hUsdPerMtok)
|
|
28395
|
+
: isSet(object.cache_write_1h_usd_per_mtok)
|
|
28396
|
+
? globalThis.Number(object.cache_write_1h_usd_per_mtok)
|
|
28397
|
+
: 0,
|
|
28355
28398
|
};
|
|
28356
28399
|
},
|
|
28357
28400
|
|
|
@@ -28393,6 +28436,9 @@ export const AIModelPrice: MessageFns<AIModelPrice> = {
|
|
|
28393
28436
|
if (message.region !== "") {
|
|
28394
28437
|
obj.region = message.region;
|
|
28395
28438
|
}
|
|
28439
|
+
if (message.cacheWrite1hUsdPerMtok !== 0) {
|
|
28440
|
+
obj.cacheWrite1hUsdPerMtok = floatToJson(message.cacheWrite1hUsdPerMtok);
|
|
28441
|
+
}
|
|
28396
28442
|
return obj;
|
|
28397
28443
|
},
|
|
28398
28444
|
|
|
@@ -28413,6 +28459,7 @@ export const AIModelPrice: MessageFns<AIModelPrice> = {
|
|
|
28413
28459
|
message.effortRaw = object.effortRaw ?? "";
|
|
28414
28460
|
message.listingId = object.listingId ?? "";
|
|
28415
28461
|
message.region = object.region ?? "";
|
|
28462
|
+
message.cacheWrite1hUsdPerMtok = object.cacheWrite1hUsdPerMtok ?? 0;
|
|
28416
28463
|
return message;
|
|
28417
28464
|
},
|
|
28418
28465
|
};
|
|
@@ -48633,7 +48633,8 @@ cacheWriteUsdPerMtok: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
|
|
|
48633
48633
|
providerRaw: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
48634
48634
|
effortRaw: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
48635
48635
|
listingId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
48636
|
-
region: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
48636
|
+
region: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
48637
|
+
cacheWrite1hUsdPerMtok: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0)
|
|
48637
48638
|
};
|
|
48638
48639
|
|
|
48639
48640
|
if (includeInstance) {
|
|
@@ -48719,6 +48720,10 @@ proto.gateway.web.v1.AIModelPrice.deserializeBinaryFromReader = function(msg, re
|
|
|
48719
48720
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
48720
48721
|
msg.setRegion(value);
|
|
48721
48722
|
break;
|
|
48723
|
+
case 13:
|
|
48724
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
48725
|
+
msg.setCacheWrite1hUsdPerMtok(value);
|
|
48726
|
+
break;
|
|
48722
48727
|
default:
|
|
48723
48728
|
reader.skipField();
|
|
48724
48729
|
break;
|
|
@@ -48833,6 +48838,13 @@ proto.gateway.web.v1.AIModelPrice.serializeBinaryToWriter = function(message, wr
|
|
|
48833
48838
|
f
|
|
48834
48839
|
);
|
|
48835
48840
|
}
|
|
48841
|
+
f = message.getCacheWrite1hUsdPerMtok();
|
|
48842
|
+
if (f !== 0.0) {
|
|
48843
|
+
writer.writeDouble(
|
|
48844
|
+
13,
|
|
48845
|
+
f
|
|
48846
|
+
);
|
|
48847
|
+
}
|
|
48836
48848
|
};
|
|
48837
48849
|
|
|
48838
48850
|
|
|
@@ -49071,6 +49083,24 @@ proto.gateway.web.v1.AIModelPrice.prototype.setRegion = function(value) {
|
|
|
49071
49083
|
};
|
|
49072
49084
|
|
|
49073
49085
|
|
|
49086
|
+
/**
|
|
49087
|
+
* optional double cache_write_1h_usd_per_mtok = 13;
|
|
49088
|
+
* @return {number}
|
|
49089
|
+
*/
|
|
49090
|
+
proto.gateway.web.v1.AIModelPrice.prototype.getCacheWrite1hUsdPerMtok = function() {
|
|
49091
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
|
49092
|
+
};
|
|
49093
|
+
|
|
49094
|
+
|
|
49095
|
+
/**
|
|
49096
|
+
* @param {number} value
|
|
49097
|
+
* @return {!proto.gateway.web.v1.AIModelPrice} returns this
|
|
49098
|
+
*/
|
|
49099
|
+
proto.gateway.web.v1.AIModelPrice.prototype.setCacheWrite1hUsdPerMtok = function(value) {
|
|
49100
|
+
return jspb.Message.setProto3FloatField(this, 13, value);
|
|
49101
|
+
};
|
|
49102
|
+
|
|
49103
|
+
|
|
49074
49104
|
|
|
49075
49105
|
|
|
49076
49106
|
|
|
@@ -60443,7 +60473,10 @@ proto.gateway.web.v1.AIProjectInsightKind = {
|
|
|
60443
60473
|
AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE: 2,
|
|
60444
60474
|
AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW: 3,
|
|
60445
60475
|
AI_PROJECT_INSIGHT_KIND_TOOLING_MCP: 4,
|
|
60446
|
-
AI_PROJECT_INSIGHT_KIND_COORDINATION: 5
|
|
60476
|
+
AI_PROJECT_INSIGHT_KIND_COORDINATION: 5,
|
|
60477
|
+
AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS: 6,
|
|
60478
|
+
AI_PROJECT_INSIGHT_KIND_SKILL_SHARING: 7,
|
|
60479
|
+
AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE: 8
|
|
60447
60480
|
};
|
|
60448
60481
|
|
|
60449
60482
|
/**
|