@miradorlabs/web-grpc 3.40.0 → 3.42.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.
Files changed (34) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +1 -1
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +1 -1
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +1 -1
  10. package/proto/gateway/web/v1/admin_gateway.ts +1 -1
  11. package/proto/gateway/web/v1/ai_gateway.ts +212 -1
  12. package/proto/gateway/web/v1/ai_gateway_pb.js +138 -3
  13. package/proto/gateway/web/v1/attribute_value.ts +1 -1
  14. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  15. package/proto/gateway/web/v1/chain_gateway.ts +1 -1
  16. package/proto/gateway/web/v1/claude_enterprise_gateway.ts +1346 -0
  17. package/proto/gateway/web/v1/claude_enterprise_gateway_grpc_pb.js +157 -0
  18. package/proto/gateway/web/v1/claude_enterprise_gateway_pb.js +2246 -0
  19. package/proto/gateway/web/v1/common.ts +1 -1
  20. package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
  21. package/proto/gateway/web/v1/github_connector.ts +1 -1
  22. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  23. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  24. package/proto/gateway/web/v1/market_gateway.ts +1 -1
  25. package/proto/gateway/web/v1/metric_gateway.ts +1 -1
  26. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  27. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  28. package/proto/gateway/web/v1/policy_gateway.ts +2 -2
  29. package/proto/gateway/web/v1/policy_gateway_grpc_pb.js +1 -1
  30. package/proto/gateway/web/v1/reference_gateway.ts +1 -1
  31. package/proto/gateway/web/v1/rule_gateway.ts +1 -1
  32. package/proto/gateway/web/v1/slo_gateway.ts +1 -1
  33. package/proto/gateway/web/v1/trace_gateway.ts +1 -1
  34. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: google/api/field_behavior.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/descriptor.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/duration.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/timestamp.proto
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "3.40.0",
3
+ "version": "3.42.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",
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/attribute_value.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/status.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/types.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/account_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/admin_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/ai_gateway.proto
6
6
 
@@ -216,6 +216,136 @@ export function aISessionEventTypeToJSON(object: AISessionEventType): string {
216
216
  }
217
217
  }
218
218
 
219
+ /**
220
+ * AISessionWorkType is the kind of work a model judged a session to be (MIR-386). ClickHouse stores the number
221
+ * (ai_session_labels.WorkType). A retired value stays here, deprecated and never renumbered, so an old label still reads.
222
+ */
223
+ export enum AISessionWorkType {
224
+ /** AI_SESSION_WORK_TYPE_UNSPECIFIED - no label: too short, nothing to read, or not labelled yet */
225
+ AI_SESSION_WORK_TYPE_UNSPECIFIED = 0,
226
+ AI_SESSION_WORK_TYPE_BUG_FIX = 1,
227
+ AI_SESSION_WORK_TYPE_FEATURE = 2,
228
+ AI_SESSION_WORK_TYPE_REFACTOR = 3,
229
+ AI_SESSION_WORK_TYPE_TESTS = 4,
230
+ AI_SESSION_WORK_TYPE_DOCS = 5,
231
+ AI_SESSION_WORK_TYPE_OPS = 6,
232
+ AI_SESSION_WORK_TYPE_REVIEW = 7,
233
+ AI_SESSION_WORK_TYPE_EXPLORATION = 8,
234
+ UNRECOGNIZED = -1,
235
+ }
236
+
237
+ export function aISessionWorkTypeFromJSON(object: any): AISessionWorkType {
238
+ switch (object) {
239
+ case 0:
240
+ case "AI_SESSION_WORK_TYPE_UNSPECIFIED":
241
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_UNSPECIFIED;
242
+ case 1:
243
+ case "AI_SESSION_WORK_TYPE_BUG_FIX":
244
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_BUG_FIX;
245
+ case 2:
246
+ case "AI_SESSION_WORK_TYPE_FEATURE":
247
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_FEATURE;
248
+ case 3:
249
+ case "AI_SESSION_WORK_TYPE_REFACTOR":
250
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_REFACTOR;
251
+ case 4:
252
+ case "AI_SESSION_WORK_TYPE_TESTS":
253
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_TESTS;
254
+ case 5:
255
+ case "AI_SESSION_WORK_TYPE_DOCS":
256
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_DOCS;
257
+ case 6:
258
+ case "AI_SESSION_WORK_TYPE_OPS":
259
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_OPS;
260
+ case 7:
261
+ case "AI_SESSION_WORK_TYPE_REVIEW":
262
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_REVIEW;
263
+ case 8:
264
+ case "AI_SESSION_WORK_TYPE_EXPLORATION":
265
+ return AISessionWorkType.AI_SESSION_WORK_TYPE_EXPLORATION;
266
+ case -1:
267
+ case "UNRECOGNIZED":
268
+ default:
269
+ return AISessionWorkType.UNRECOGNIZED;
270
+ }
271
+ }
272
+
273
+ export function aISessionWorkTypeToJSON(object: AISessionWorkType): string {
274
+ switch (object) {
275
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_UNSPECIFIED:
276
+ return "AI_SESSION_WORK_TYPE_UNSPECIFIED";
277
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_BUG_FIX:
278
+ return "AI_SESSION_WORK_TYPE_BUG_FIX";
279
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_FEATURE:
280
+ return "AI_SESSION_WORK_TYPE_FEATURE";
281
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_REFACTOR:
282
+ return "AI_SESSION_WORK_TYPE_REFACTOR";
283
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_TESTS:
284
+ return "AI_SESSION_WORK_TYPE_TESTS";
285
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_DOCS:
286
+ return "AI_SESSION_WORK_TYPE_DOCS";
287
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_OPS:
288
+ return "AI_SESSION_WORK_TYPE_OPS";
289
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_REVIEW:
290
+ return "AI_SESSION_WORK_TYPE_REVIEW";
291
+ case AISessionWorkType.AI_SESSION_WORK_TYPE_EXPLORATION:
292
+ return "AI_SESSION_WORK_TYPE_EXPLORATION";
293
+ case AISessionWorkType.UNRECOGNIZED:
294
+ default:
295
+ return "UNRECOGNIZED";
296
+ }
297
+ }
298
+
299
+ /**
300
+ * AISessionComplexity is the size of a session's work from the same label. ClickHouse stores the number
301
+ * (ai_session_labels.Complexity); retired values stay, deprecated.
302
+ */
303
+ export enum AISessionComplexity {
304
+ /** AI_SESSION_COMPLEXITY_UNSPECIFIED - no label */
305
+ AI_SESSION_COMPLEXITY_UNSPECIFIED = 0,
306
+ AI_SESSION_COMPLEXITY_SMALL = 1,
307
+ AI_SESSION_COMPLEXITY_MEDIUM = 2,
308
+ AI_SESSION_COMPLEXITY_LARGE = 3,
309
+ UNRECOGNIZED = -1,
310
+ }
311
+
312
+ export function aISessionComplexityFromJSON(object: any): AISessionComplexity {
313
+ switch (object) {
314
+ case 0:
315
+ case "AI_SESSION_COMPLEXITY_UNSPECIFIED":
316
+ return AISessionComplexity.AI_SESSION_COMPLEXITY_UNSPECIFIED;
317
+ case 1:
318
+ case "AI_SESSION_COMPLEXITY_SMALL":
319
+ return AISessionComplexity.AI_SESSION_COMPLEXITY_SMALL;
320
+ case 2:
321
+ case "AI_SESSION_COMPLEXITY_MEDIUM":
322
+ return AISessionComplexity.AI_SESSION_COMPLEXITY_MEDIUM;
323
+ case 3:
324
+ case "AI_SESSION_COMPLEXITY_LARGE":
325
+ return AISessionComplexity.AI_SESSION_COMPLEXITY_LARGE;
326
+ case -1:
327
+ case "UNRECOGNIZED":
328
+ default:
329
+ return AISessionComplexity.UNRECOGNIZED;
330
+ }
331
+ }
332
+
333
+ export function aISessionComplexityToJSON(object: AISessionComplexity): string {
334
+ switch (object) {
335
+ case AISessionComplexity.AI_SESSION_COMPLEXITY_UNSPECIFIED:
336
+ return "AI_SESSION_COMPLEXITY_UNSPECIFIED";
337
+ case AISessionComplexity.AI_SESSION_COMPLEXITY_SMALL:
338
+ return "AI_SESSION_COMPLEXITY_SMALL";
339
+ case AISessionComplexity.AI_SESSION_COMPLEXITY_MEDIUM:
340
+ return "AI_SESSION_COMPLEXITY_MEDIUM";
341
+ case AISessionComplexity.AI_SESSION_COMPLEXITY_LARGE:
342
+ return "AI_SESSION_COMPLEXITY_LARGE";
343
+ case AISessionComplexity.UNRECOGNIZED:
344
+ default:
345
+ return "UNRECOGNIZED";
346
+ }
347
+ }
348
+
219
349
  export enum AIGitAction {
220
350
  AI_GIT_ACTION_UNSPECIFIED = 0,
221
351
  AI_GIT_ACTION_BRANCH_CREATE = 1,
@@ -1001,6 +1131,11 @@ export interface SessionFilter {
1001
1131
  searchPrincipals: DailyActivityPrincipal[];
1002
1132
  /** Stored model, provider or effort names whose display name the caller matched to the search text. */
1003
1133
  searchStoredNames: string[];
1134
+ /**
1135
+ * Work types of the session's latest label (see AISessionSummary.work_type); a session with no label matches none.
1136
+ * UNSPECIFIED or a number this server does not know is INVALID_ARGUMENT.
1137
+ */
1138
+ workTypes: AISessionWorkType[];
1004
1139
  }
1005
1140
 
1006
1141
  /**
@@ -1096,6 +1231,13 @@ export interface AISessionSummary {
1096
1231
  title: string;
1097
1232
  /** The harness's latest "while you were away" recap (summary · recap); "" when it wrote none. */
1098
1233
  recap: string;
1234
+ /**
1235
+ * The kind of work a model judged the session to be, from its latest label, which can predate its latest activity
1236
+ * until the labeller relabels it; UNSPECIFIED when it has no label.
1237
+ */
1238
+ workType: AISessionWorkType;
1239
+ /** The session's size from the same label; UNSPECIFIED when it has no label. */
1240
+ complexity: AISessionComplexity;
1099
1241
  }
1100
1242
 
1101
1243
  export interface StreamSessionsRequest {
@@ -2709,6 +2851,7 @@ function createBaseSessionFilter(): SessionFilter {
2709
2851
  search: "",
2710
2852
  searchPrincipals: [],
2711
2853
  searchStoredNames: [],
2854
+ workTypes: [],
2712
2855
  };
2713
2856
  }
2714
2857
 
@@ -2750,6 +2893,9 @@ export const SessionFilter: MessageFns<SessionFilter> = {
2750
2893
  for (const v of message.searchStoredNames) {
2751
2894
  writer.uint32(98).string(v!);
2752
2895
  }
2896
+ for (const v of message.workTypes) {
2897
+ writer.uint32(104).int32(v!);
2898
+ }
2753
2899
  return writer;
2754
2900
  },
2755
2901
 
@@ -2862,6 +3008,24 @@ export const SessionFilter: MessageFns<SessionFilter> = {
2862
3008
  message.searchStoredNames.push(reader.string());
2863
3009
  continue;
2864
3010
  }
3011
+ case 13: {
3012
+ if (tag === 104) {
3013
+ message.workTypes.push(reader.int32() as any);
3014
+
3015
+ continue;
3016
+ }
3017
+
3018
+ if (tag === 106) {
3019
+ const end2 = reader.uint32() + reader.pos;
3020
+ while (reader.pos < end2) {
3021
+ message.workTypes.push(reader.int32() as any);
3022
+ }
3023
+
3024
+ continue;
3025
+ }
3026
+
3027
+ break;
3028
+ }
2865
3029
  }
2866
3030
  if ((tag & 7) === 4 || tag === 0) {
2867
3031
  break;
@@ -2918,6 +3082,11 @@ export const SessionFilter: MessageFns<SessionFilter> = {
2918
3082
  : globalThis.Array.isArray(object?.search_stored_names)
2919
3083
  ? object.search_stored_names.map((e: any) => globalThis.String(e))
2920
3084
  : [],
3085
+ workTypes: globalThis.Array.isArray(object?.workTypes)
3086
+ ? object.workTypes.map((e: any) => aISessionWorkTypeFromJSON(e))
3087
+ : globalThis.Array.isArray(object?.work_types)
3088
+ ? object.work_types.map((e: any) => aISessionWorkTypeFromJSON(e))
3089
+ : [],
2921
3090
  };
2922
3091
  },
2923
3092
 
@@ -2959,6 +3128,9 @@ export const SessionFilter: MessageFns<SessionFilter> = {
2959
3128
  if (message.searchStoredNames?.length) {
2960
3129
  obj.searchStoredNames = message.searchStoredNames;
2961
3130
  }
3131
+ if (message.workTypes?.length) {
3132
+ obj.workTypes = message.workTypes.map((e) => aISessionWorkTypeToJSON(e));
3133
+ }
2962
3134
  return obj;
2963
3135
  },
2964
3136
 
@@ -2979,6 +3151,7 @@ export const SessionFilter: MessageFns<SessionFilter> = {
2979
3151
  message.search = object.search ?? "";
2980
3152
  message.searchPrincipals = object.searchPrincipals?.map((e) => DailyActivityPrincipal.fromPartial(e)) || [];
2981
3153
  message.searchStoredNames = object.searchStoredNames?.map((e) => e) || [];
3154
+ message.workTypes = object.workTypes?.map((e) => e) || [];
2982
3155
  return message;
2983
3156
  },
2984
3157
  };
@@ -3419,6 +3592,8 @@ function createBaseAISessionSummary(): AISessionSummary {
3419
3592
  termaVersions: [],
3420
3593
  title: "",
3421
3594
  recap: "",
3595
+ workType: 0,
3596
+ complexity: 0,
3422
3597
  };
3423
3598
  }
3424
3599
 
@@ -3529,6 +3704,12 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3529
3704
  if (message.recap !== "") {
3530
3705
  writer.uint32(274).string(message.recap);
3531
3706
  }
3707
+ if (message.workType !== 0) {
3708
+ writer.uint32(288).int32(message.workType);
3709
+ }
3710
+ if (message.complexity !== 0) {
3711
+ writer.uint32(296).int32(message.complexity);
3712
+ }
3532
3713
  return writer;
3533
3714
  },
3534
3715
 
@@ -3825,6 +4006,22 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3825
4006
  message.recap = reader.string();
3826
4007
  continue;
3827
4008
  }
4009
+ case 36: {
4010
+ if (tag !== 288) {
4011
+ break;
4012
+ }
4013
+
4014
+ message.workType = reader.int32() as any;
4015
+ continue;
4016
+ }
4017
+ case 37: {
4018
+ if (tag !== 296) {
4019
+ break;
4020
+ }
4021
+
4022
+ message.complexity = reader.int32() as any;
4023
+ continue;
4024
+ }
3828
4025
  }
3829
4026
  if ((tag & 7) === 4 || tag === 0) {
3830
4027
  break;
@@ -3974,6 +4171,12 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
3974
4171
  : [],
3975
4172
  title: isSet(object.title) ? globalThis.String(object.title) : "",
3976
4173
  recap: isSet(object.recap) ? globalThis.String(object.recap) : "",
4174
+ workType: isSet(object.workType)
4175
+ ? aISessionWorkTypeFromJSON(object.workType)
4176
+ : isSet(object.work_type)
4177
+ ? aISessionWorkTypeFromJSON(object.work_type)
4178
+ : 0,
4179
+ complexity: isSet(object.complexity) ? aISessionComplexityFromJSON(object.complexity) : 0,
3977
4180
  };
3978
4181
  },
3979
4182
 
@@ -4084,6 +4287,12 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
4084
4287
  if (message.recap !== "") {
4085
4288
  obj.recap = message.recap;
4086
4289
  }
4290
+ if (message.workType !== 0) {
4291
+ obj.workType = aISessionWorkTypeToJSON(message.workType);
4292
+ }
4293
+ if (message.complexity !== 0) {
4294
+ obj.complexity = aISessionComplexityToJSON(message.complexity);
4295
+ }
4087
4296
  return obj;
4088
4297
  },
4089
4298
 
@@ -4129,6 +4338,8 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
4129
4338
  message.termaVersions = object.termaVersions?.map((e) => e) || [];
4130
4339
  message.title = object.title ?? "";
4131
4340
  message.recap = object.recap ?? "";
4341
+ message.workType = object.workType ?? 0;
4342
+ message.complexity = object.complexity ?? 0;
4132
4343
  return message;
4133
4344
  },
4134
4345
  };
@@ -50,6 +50,7 @@ goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
50
50
  goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
51
51
  goog.exportSymbol('proto.gateway.web.v1.AIResourceDimension', null, global);
52
52
  goog.exportSymbol('proto.gateway.web.v1.AIResourceRankingGroupBy', null, global);
53
+ goog.exportSymbol('proto.gateway.web.v1.AISessionComplexity', null, global);
53
54
  goog.exportSymbol('proto.gateway.web.v1.AISessionEvent', null, global);
54
55
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope', null, global);
55
56
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope.FrameCase', null, global);
@@ -57,6 +58,7 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionEventType', null, global);
57
58
  goog.exportSymbol('proto.gateway.web.v1.AISessionFilter', null, global);
58
59
  goog.exportSymbol('proto.gateway.web.v1.AISessionRef', null, global);
59
60
  goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
61
+ goog.exportSymbol('proto.gateway.web.v1.AISessionWorkType', null, global);
60
62
  goog.exportSymbol('proto.gateway.web.v1.AISpendForecastDimension', null, global);
61
63
  goog.exportSymbol('proto.gateway.web.v1.AITokenActivityDimension', null, global);
62
64
  goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
@@ -2970,7 +2972,7 @@ proto.gateway.web.v1.ListSessionsRequest.prototype.setPerPage = function(value)
2970
2972
  * @private {!Array<number>}
2971
2973
  * @const
2972
2974
  */
2973
- proto.gateway.web.v1.SessionFilter.repeatedFields_ = [1,2,3,4,5,7,8,9,11,12];
2975
+ proto.gateway.web.v1.SessionFilter.repeatedFields_ = [1,2,3,4,5,7,8,9,11,12,13];
2974
2976
 
2975
2977
 
2976
2978
 
@@ -3016,7 +3018,8 @@ principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
3016
3018
  search: jspb.Message.getFieldWithDefault(msg, 10, ""),
3017
3019
  searchPrincipalsList: jspb.Message.toObjectList(msg.getSearchPrincipalsList(),
3018
3020
  proto.gateway.web.v1.DailyActivityPrincipal.toObject, includeInstance),
3019
- searchStoredNamesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f
3021
+ searchStoredNamesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
3022
+ workTypesList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f
3020
3023
  };
3021
3024
 
3022
3025
  if (includeInstance) {
@@ -3104,6 +3107,9 @@ proto.gateway.web.v1.SessionFilter.deserializeBinaryFromReader = function(msg, r
3104
3107
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3105
3108
  msg.addSearchStoredNames(value);
3106
3109
  break;
3110
+ case 13:
3111
+ reader.readPackableEnumInto(msg.getWorkTypesList());
3112
+ break;
3107
3113
  default:
3108
3114
  reader.skipField();
3109
3115
  break;
@@ -3220,6 +3226,13 @@ proto.gateway.web.v1.SessionFilter.serializeBinaryToWriter = function(message, w
3220
3226
  f
3221
3227
  );
3222
3228
  }
3229
+ f = message.getWorkTypesList();
3230
+ if (f.length > 0) {
3231
+ writer.writePackedEnum(
3232
+ 13,
3233
+ f
3234
+ );
3235
+ }
3223
3236
  };
3224
3237
 
3225
3238
 
@@ -3650,6 +3663,43 @@ proto.gateway.web.v1.SessionFilter.prototype.clearSearchStoredNamesList = functi
3650
3663
  };
3651
3664
 
3652
3665
 
3666
+ /**
3667
+ * repeated AISessionWorkType work_types = 13;
3668
+ * @return {!Array<!proto.gateway.web.v1.AISessionWorkType>}
3669
+ */
3670
+ proto.gateway.web.v1.SessionFilter.prototype.getWorkTypesList = function() {
3671
+ return /** @type {!Array<!proto.gateway.web.v1.AISessionWorkType>} */ (jspb.Message.getRepeatedField(this, 13));
3672
+ };
3673
+
3674
+
3675
+ /**
3676
+ * @param {!Array<!proto.gateway.web.v1.AISessionWorkType>} value
3677
+ * @return {!proto.gateway.web.v1.SessionFilter} returns this
3678
+ */
3679
+ proto.gateway.web.v1.SessionFilter.prototype.setWorkTypesList = function(value) {
3680
+ return jspb.Message.setField(this, 13, value || []);
3681
+ };
3682
+
3683
+
3684
+ /**
3685
+ * @param {!proto.gateway.web.v1.AISessionWorkType} value
3686
+ * @param {number=} opt_index
3687
+ * @return {!proto.gateway.web.v1.SessionFilter} returns this
3688
+ */
3689
+ proto.gateway.web.v1.SessionFilter.prototype.addWorkTypes = function(value, opt_index) {
3690
+ return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
3691
+ };
3692
+
3693
+
3694
+ /**
3695
+ * Clears the list making it empty but non-null.
3696
+ * @return {!proto.gateway.web.v1.SessionFilter} returns this
3697
+ */
3698
+ proto.gateway.web.v1.SessionFilter.prototype.clearWorkTypesList = function() {
3699
+ return this.setWorkTypesList([]);
3700
+ };
3701
+
3702
+
3653
3703
 
3654
3704
  /**
3655
3705
  * List of repeated fields within this message type.
@@ -4606,7 +4656,9 @@ clientsList: (f = jspb.Message.getRepeatedField(msg, 31)) == null ? undefined :
4606
4656
  clientVersionsList: (f = jspb.Message.getRepeatedField(msg, 32)) == null ? undefined : f,
4607
4657
  termaVersionsList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f,
4608
4658
  title: jspb.Message.getFieldWithDefault(msg, 33, ""),
4609
- recap: jspb.Message.getFieldWithDefault(msg, 34, "")
4659
+ recap: jspb.Message.getFieldWithDefault(msg, 34, ""),
4660
+ workType: jspb.Message.getFieldWithDefault(msg, 36, 0),
4661
+ complexity: jspb.Message.getFieldWithDefault(msg, 37, 0)
4610
4662
  };
4611
4663
 
4612
4664
  if (includeInstance) {
@@ -4786,6 +4838,14 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
4786
4838
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
4787
4839
  msg.setRecap(value);
4788
4840
  break;
4841
+ case 36:
4842
+ var value = /** @type {!proto.gateway.web.v1.AISessionWorkType} */ (reader.readEnum());
4843
+ msg.setWorkType(value);
4844
+ break;
4845
+ case 37:
4846
+ var value = /** @type {!proto.gateway.web.v1.AISessionComplexity} */ (reader.readEnum());
4847
+ msg.setComplexity(value);
4848
+ break;
4789
4849
  default:
4790
4850
  reader.skipField();
4791
4851
  break;
@@ -5063,6 +5123,20 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
5063
5123
  f
5064
5124
  );
5065
5125
  }
5126
+ f = message.getWorkType();
5127
+ if (f !== 0.0) {
5128
+ writer.writeEnum(
5129
+ 36,
5130
+ f
5131
+ );
5132
+ }
5133
+ f = message.getComplexity();
5134
+ if (f !== 0.0) {
5135
+ writer.writeEnum(
5136
+ 37,
5137
+ f
5138
+ );
5139
+ }
5066
5140
  };
5067
5141
 
5068
5142
 
@@ -5962,6 +6036,42 @@ proto.gateway.web.v1.AISessionSummary.prototype.setRecap = function(value) {
5962
6036
  };
5963
6037
 
5964
6038
 
6039
+ /**
6040
+ * optional AISessionWorkType work_type = 36;
6041
+ * @return {!proto.gateway.web.v1.AISessionWorkType}
6042
+ */
6043
+ proto.gateway.web.v1.AISessionSummary.prototype.getWorkType = function() {
6044
+ return /** @type {!proto.gateway.web.v1.AISessionWorkType} */ (jspb.Message.getFieldWithDefault(this, 36, 0));
6045
+ };
6046
+
6047
+
6048
+ /**
6049
+ * @param {!proto.gateway.web.v1.AISessionWorkType} value
6050
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
6051
+ */
6052
+ proto.gateway.web.v1.AISessionSummary.prototype.setWorkType = function(value) {
6053
+ return jspb.Message.setProto3EnumField(this, 36, value);
6054
+ };
6055
+
6056
+
6057
+ /**
6058
+ * optional AISessionComplexity complexity = 37;
6059
+ * @return {!proto.gateway.web.v1.AISessionComplexity}
6060
+ */
6061
+ proto.gateway.web.v1.AISessionSummary.prototype.getComplexity = function() {
6062
+ return /** @type {!proto.gateway.web.v1.AISessionComplexity} */ (jspb.Message.getFieldWithDefault(this, 37, 0));
6063
+ };
6064
+
6065
+
6066
+ /**
6067
+ * @param {!proto.gateway.web.v1.AISessionComplexity} value
6068
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
6069
+ */
6070
+ proto.gateway.web.v1.AISessionSummary.prototype.setComplexity = function(value) {
6071
+ return jspb.Message.setProto3EnumField(this, 37, value);
6072
+ };
6073
+
6074
+
5965
6075
 
5966
6076
 
5967
6077
 
@@ -41428,6 +41538,31 @@ proto.gateway.web.v1.AISessionEventType = {
41428
41538
  AI_SESSION_EVENT_TYPE_SUMMARY: 15
41429
41539
  };
41430
41540
 
41541
+ /**
41542
+ * @enum {number}
41543
+ */
41544
+ proto.gateway.web.v1.AISessionWorkType = {
41545
+ AI_SESSION_WORK_TYPE_UNSPECIFIED: 0,
41546
+ AI_SESSION_WORK_TYPE_BUG_FIX: 1,
41547
+ AI_SESSION_WORK_TYPE_FEATURE: 2,
41548
+ AI_SESSION_WORK_TYPE_REFACTOR: 3,
41549
+ AI_SESSION_WORK_TYPE_TESTS: 4,
41550
+ AI_SESSION_WORK_TYPE_DOCS: 5,
41551
+ AI_SESSION_WORK_TYPE_OPS: 6,
41552
+ AI_SESSION_WORK_TYPE_REVIEW: 7,
41553
+ AI_SESSION_WORK_TYPE_EXPLORATION: 8
41554
+ };
41555
+
41556
+ /**
41557
+ * @enum {number}
41558
+ */
41559
+ proto.gateway.web.v1.AISessionComplexity = {
41560
+ AI_SESSION_COMPLEXITY_UNSPECIFIED: 0,
41561
+ AI_SESSION_COMPLEXITY_SMALL: 1,
41562
+ AI_SESSION_COMPLEXITY_MEDIUM: 2,
41563
+ AI_SESSION_COMPLEXITY_LARGE: 3
41564
+ };
41565
+
41431
41566
  /**
41432
41567
  * @enum {number}
41433
41568
  */
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/attribute_value.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/beta_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.1
3
+ // protoc-gen-ts_proto v2.18.3
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/chain_gateway.proto
6
6