@miradorlabs/web-grpc 2.74.0 → 2.75.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
|
@@ -90,6 +90,8 @@ export enum AISessionEventKind {
|
|
|
90
90
|
AI_SESSION_EVENT_KIND_TOOL_DECISION = 8,
|
|
91
91
|
AI_SESSION_EVENT_KIND_COMPACTION = 9,
|
|
92
92
|
AI_SESSION_EVENT_KIND_ERROR = 10,
|
|
93
|
+
/** AI_SESSION_EVENT_KIND_SUBAGENT_RUN - One subagent run: what launched it, its parent and type, how it ended. Carries no usage. */
|
|
94
|
+
AI_SESSION_EVENT_KIND_SUBAGENT_RUN = 11,
|
|
93
95
|
UNRECOGNIZED = -1,
|
|
94
96
|
}
|
|
95
97
|
|
|
@@ -128,6 +130,9 @@ export function aISessionEventKindFromJSON(object: any): AISessionEventKind {
|
|
|
128
130
|
case 10:
|
|
129
131
|
case "AI_SESSION_EVENT_KIND_ERROR":
|
|
130
132
|
return AISessionEventKind.AI_SESSION_EVENT_KIND_ERROR;
|
|
133
|
+
case 11:
|
|
134
|
+
case "AI_SESSION_EVENT_KIND_SUBAGENT_RUN":
|
|
135
|
+
return AISessionEventKind.AI_SESSION_EVENT_KIND_SUBAGENT_RUN;
|
|
131
136
|
case -1:
|
|
132
137
|
case "UNRECOGNIZED":
|
|
133
138
|
default:
|
|
@@ -159,6 +164,8 @@ export function aISessionEventKindToJSON(object: AISessionEventKind): string {
|
|
|
159
164
|
return "AI_SESSION_EVENT_KIND_COMPACTION";
|
|
160
165
|
case AISessionEventKind.AI_SESSION_EVENT_KIND_ERROR:
|
|
161
166
|
return "AI_SESSION_EVENT_KIND_ERROR";
|
|
167
|
+
case AISessionEventKind.AI_SESSION_EVENT_KIND_SUBAGENT_RUN:
|
|
168
|
+
return "AI_SESSION_EVENT_KIND_SUBAGENT_RUN";
|
|
162
169
|
case AISessionEventKind.UNRECOGNIZED:
|
|
163
170
|
default:
|
|
164
171
|
return "UNRECOGNIZED";
|
|
@@ -855,6 +862,8 @@ export interface AISessionSummary {
|
|
|
855
862
|
filesTouched: number;
|
|
856
863
|
/** Sum of folded event versions — best-effort dedup key, not a global revision. */
|
|
857
864
|
sessionVersion: number;
|
|
865
|
+
/** Distinct subagent runs observed in the session. */
|
|
866
|
+
subagents: number;
|
|
858
867
|
}
|
|
859
868
|
|
|
860
869
|
export interface StreamSessionsRequest {
|
|
@@ -963,6 +972,17 @@ export interface AISessionEvent {
|
|
|
963
972
|
* figure). '' / unrecognized map to UNSPECIFIED.
|
|
964
973
|
*/
|
|
965
974
|
fundingMode: AIFundingMode;
|
|
975
|
+
/**
|
|
976
|
+
* The subagent run that produced this, unique within the session. '' for the main thread or an
|
|
977
|
+
* unknown run.
|
|
978
|
+
*/
|
|
979
|
+
agentId: string;
|
|
980
|
+
/** The run that spawned agent_id; '' when the main thread did (or it is unknown). */
|
|
981
|
+
parentAgentId: string;
|
|
982
|
+
/** Positive evidence that a subagent produced this, even when agent_id is unknown. */
|
|
983
|
+
isSubagent: boolean;
|
|
984
|
+
/** The subagent's type, as the source names it. Display and grouping only; never identity. */
|
|
985
|
+
agentName: string;
|
|
966
986
|
}
|
|
967
987
|
|
|
968
988
|
export interface AIContentPart {
|
|
@@ -2379,6 +2399,7 @@ function createBaseAISessionSummary(): AISessionSummary {
|
|
|
2379
2399
|
repositories: [],
|
|
2380
2400
|
filesTouched: 0,
|
|
2381
2401
|
sessionVersion: 0,
|
|
2402
|
+
subagents: 0,
|
|
2382
2403
|
};
|
|
2383
2404
|
}
|
|
2384
2405
|
|
|
@@ -2456,6 +2477,9 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
|
|
|
2456
2477
|
if (message.sessionVersion !== 0) {
|
|
2457
2478
|
writer.uint32(184).uint64(message.sessionVersion);
|
|
2458
2479
|
}
|
|
2480
|
+
if (message.subagents !== 0) {
|
|
2481
|
+
writer.uint32(200).uint64(message.subagents);
|
|
2482
|
+
}
|
|
2459
2483
|
return writer;
|
|
2460
2484
|
},
|
|
2461
2485
|
|
|
@@ -2664,6 +2688,14 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
|
|
|
2664
2688
|
message.sessionVersion = longToNumber(reader.uint64());
|
|
2665
2689
|
continue;
|
|
2666
2690
|
}
|
|
2691
|
+
case 25: {
|
|
2692
|
+
if (tag !== 200) {
|
|
2693
|
+
break;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
message.subagents = longToNumber(reader.uint64());
|
|
2697
|
+
continue;
|
|
2698
|
+
}
|
|
2667
2699
|
}
|
|
2668
2700
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2669
2701
|
break;
|
|
@@ -2780,6 +2812,7 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
|
|
|
2780
2812
|
: isSet(object.session_version)
|
|
2781
2813
|
? globalThis.Number(object.session_version)
|
|
2782
2814
|
: 0,
|
|
2815
|
+
subagents: isSet(object.subagents) ? globalThis.Number(object.subagents) : 0,
|
|
2783
2816
|
};
|
|
2784
2817
|
},
|
|
2785
2818
|
|
|
@@ -2857,6 +2890,9 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
|
|
|
2857
2890
|
if (message.sessionVersion !== 0) {
|
|
2858
2891
|
obj.sessionVersion = Math.round(message.sessionVersion);
|
|
2859
2892
|
}
|
|
2893
|
+
if (message.subagents !== 0) {
|
|
2894
|
+
obj.subagents = Math.round(message.subagents);
|
|
2895
|
+
}
|
|
2860
2896
|
return obj;
|
|
2861
2897
|
},
|
|
2862
2898
|
|
|
@@ -2891,6 +2927,7 @@ export const AISessionSummary: MessageFns<AISessionSummary> = {
|
|
|
2891
2927
|
message.repositories = object.repositories?.map((e) => e) || [];
|
|
2892
2928
|
message.filesTouched = object.filesTouched ?? 0;
|
|
2893
2929
|
message.sessionVersion = object.sessionVersion ?? 0;
|
|
2930
|
+
message.subagents = object.subagents ?? 0;
|
|
2894
2931
|
return message;
|
|
2895
2932
|
},
|
|
2896
2933
|
};
|
|
@@ -3921,6 +3958,10 @@ function createBaseAISessionEvent(): AISessionEvent {
|
|
|
3921
3958
|
version: 0,
|
|
3922
3959
|
cursor: "",
|
|
3923
3960
|
fundingMode: 0,
|
|
3961
|
+
agentId: "",
|
|
3962
|
+
parentAgentId: "",
|
|
3963
|
+
isSubagent: false,
|
|
3964
|
+
agentName: "",
|
|
3924
3965
|
};
|
|
3925
3966
|
}
|
|
3926
3967
|
|
|
@@ -3983,6 +4024,18 @@ export const AISessionEvent: MessageFns<AISessionEvent> = {
|
|
|
3983
4024
|
if (message.fundingMode !== 0) {
|
|
3984
4025
|
writer.uint32(152).int32(message.fundingMode);
|
|
3985
4026
|
}
|
|
4027
|
+
if (message.agentId !== "") {
|
|
4028
|
+
writer.uint32(162).string(message.agentId);
|
|
4029
|
+
}
|
|
4030
|
+
if (message.parentAgentId !== "") {
|
|
4031
|
+
writer.uint32(170).string(message.parentAgentId);
|
|
4032
|
+
}
|
|
4033
|
+
if (message.isSubagent !== false) {
|
|
4034
|
+
writer.uint32(176).bool(message.isSubagent);
|
|
4035
|
+
}
|
|
4036
|
+
if (message.agentName !== "") {
|
|
4037
|
+
writer.uint32(186).string(message.agentName);
|
|
4038
|
+
}
|
|
3986
4039
|
return writer;
|
|
3987
4040
|
},
|
|
3988
4041
|
|
|
@@ -4151,6 +4204,38 @@ export const AISessionEvent: MessageFns<AISessionEvent> = {
|
|
|
4151
4204
|
message.fundingMode = reader.int32() as any;
|
|
4152
4205
|
continue;
|
|
4153
4206
|
}
|
|
4207
|
+
case 20: {
|
|
4208
|
+
if (tag !== 162) {
|
|
4209
|
+
break;
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
message.agentId = reader.string();
|
|
4213
|
+
continue;
|
|
4214
|
+
}
|
|
4215
|
+
case 21: {
|
|
4216
|
+
if (tag !== 170) {
|
|
4217
|
+
break;
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
message.parentAgentId = reader.string();
|
|
4221
|
+
continue;
|
|
4222
|
+
}
|
|
4223
|
+
case 22: {
|
|
4224
|
+
if (tag !== 176) {
|
|
4225
|
+
break;
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
message.isSubagent = reader.bool();
|
|
4229
|
+
continue;
|
|
4230
|
+
}
|
|
4231
|
+
case 23: {
|
|
4232
|
+
if (tag !== 186) {
|
|
4233
|
+
break;
|
|
4234
|
+
}
|
|
4235
|
+
|
|
4236
|
+
message.agentName = reader.string();
|
|
4237
|
+
continue;
|
|
4238
|
+
}
|
|
4154
4239
|
}
|
|
4155
4240
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4156
4241
|
break;
|
|
@@ -4226,6 +4311,26 @@ export const AISessionEvent: MessageFns<AISessionEvent> = {
|
|
|
4226
4311
|
: isSet(object.funding_mode)
|
|
4227
4312
|
? aIFundingModeFromJSON(object.funding_mode)
|
|
4228
4313
|
: 0,
|
|
4314
|
+
agentId: isSet(object.agentId)
|
|
4315
|
+
? globalThis.String(object.agentId)
|
|
4316
|
+
: isSet(object.agent_id)
|
|
4317
|
+
? globalThis.String(object.agent_id)
|
|
4318
|
+
: "",
|
|
4319
|
+
parentAgentId: isSet(object.parentAgentId)
|
|
4320
|
+
? globalThis.String(object.parentAgentId)
|
|
4321
|
+
: isSet(object.parent_agent_id)
|
|
4322
|
+
? globalThis.String(object.parent_agent_id)
|
|
4323
|
+
: "",
|
|
4324
|
+
isSubagent: isSet(object.isSubagent)
|
|
4325
|
+
? globalThis.Boolean(object.isSubagent)
|
|
4326
|
+
: isSet(object.is_subagent)
|
|
4327
|
+
? globalThis.Boolean(object.is_subagent)
|
|
4328
|
+
: false,
|
|
4329
|
+
agentName: isSet(object.agentName)
|
|
4330
|
+
? globalThis.String(object.agentName)
|
|
4331
|
+
: isSet(object.agent_name)
|
|
4332
|
+
? globalThis.String(object.agent_name)
|
|
4333
|
+
: "",
|
|
4229
4334
|
};
|
|
4230
4335
|
},
|
|
4231
4336
|
|
|
@@ -4288,6 +4393,18 @@ export const AISessionEvent: MessageFns<AISessionEvent> = {
|
|
|
4288
4393
|
if (message.fundingMode !== 0) {
|
|
4289
4394
|
obj.fundingMode = aIFundingModeToJSON(message.fundingMode);
|
|
4290
4395
|
}
|
|
4396
|
+
if (message.agentId !== "") {
|
|
4397
|
+
obj.agentId = message.agentId;
|
|
4398
|
+
}
|
|
4399
|
+
if (message.parentAgentId !== "") {
|
|
4400
|
+
obj.parentAgentId = message.parentAgentId;
|
|
4401
|
+
}
|
|
4402
|
+
if (message.isSubagent !== false) {
|
|
4403
|
+
obj.isSubagent = message.isSubagent;
|
|
4404
|
+
}
|
|
4405
|
+
if (message.agentName !== "") {
|
|
4406
|
+
obj.agentName = message.agentName;
|
|
4407
|
+
}
|
|
4291
4408
|
return obj;
|
|
4292
4409
|
},
|
|
4293
4410
|
|
|
@@ -4317,6 +4434,10 @@ export const AISessionEvent: MessageFns<AISessionEvent> = {
|
|
|
4317
4434
|
message.version = object.version ?? 0;
|
|
4318
4435
|
message.cursor = object.cursor ?? "";
|
|
4319
4436
|
message.fundingMode = object.fundingMode ?? 0;
|
|
4437
|
+
message.agentId = object.agentId ?? "";
|
|
4438
|
+
message.parentAgentId = object.parentAgentId ?? "";
|
|
4439
|
+
message.isSubagent = object.isSubagent ?? false;
|
|
4440
|
+
message.agentName = object.agentName ?? "";
|
|
4320
4441
|
return message;
|
|
4321
4442
|
},
|
|
4322
4443
|
};
|
|
@@ -3201,7 +3201,8 @@ pullRequestsMerged: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
|
3201
3201
|
gitOrgsList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f,
|
|
3202
3202
|
repositoriesList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
|
|
3203
3203
|
filesTouched: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
3204
|
-
sessionVersion: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
3204
|
+
sessionVersion: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
3205
|
+
subagents: jspb.Message.getFieldWithDefault(msg, 25, 0)
|
|
3205
3206
|
};
|
|
3206
3207
|
|
|
3207
3208
|
if (includeInstance) {
|
|
@@ -3337,6 +3338,10 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
|
|
|
3337
3338
|
var value = /** @type {number} */ (reader.readUint64());
|
|
3338
3339
|
msg.setSessionVersion(value);
|
|
3339
3340
|
break;
|
|
3341
|
+
case 25:
|
|
3342
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
3343
|
+
msg.setSubagents(value);
|
|
3344
|
+
break;
|
|
3340
3345
|
default:
|
|
3341
3346
|
reader.skipField();
|
|
3342
3347
|
break;
|
|
@@ -3537,6 +3542,13 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
|
|
|
3537
3542
|
f
|
|
3538
3543
|
);
|
|
3539
3544
|
}
|
|
3545
|
+
f = message.getSubagents();
|
|
3546
|
+
if (f !== 0) {
|
|
3547
|
+
writer.writeUint64(
|
|
3548
|
+
25,
|
|
3549
|
+
f
|
|
3550
|
+
);
|
|
3551
|
+
}
|
|
3540
3552
|
};
|
|
3541
3553
|
|
|
3542
3554
|
|
|
@@ -4105,6 +4117,24 @@ proto.gateway.web.v1.AISessionSummary.prototype.setSessionVersion = function(val
|
|
|
4105
4117
|
};
|
|
4106
4118
|
|
|
4107
4119
|
|
|
4120
|
+
/**
|
|
4121
|
+
* optional uint64 subagents = 25;
|
|
4122
|
+
* @return {number}
|
|
4123
|
+
*/
|
|
4124
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getSubagents = function() {
|
|
4125
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
|
|
4126
|
+
};
|
|
4127
|
+
|
|
4128
|
+
|
|
4129
|
+
/**
|
|
4130
|
+
* @param {number} value
|
|
4131
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
4132
|
+
*/
|
|
4133
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setSubagents = function(value) {
|
|
4134
|
+
return jspb.Message.setProto3IntField(this, 25, value);
|
|
4135
|
+
};
|
|
4136
|
+
|
|
4137
|
+
|
|
4108
4138
|
|
|
4109
4139
|
|
|
4110
4140
|
|
|
@@ -6097,7 +6127,11 @@ toolCallId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
6097
6127
|
logicalEventId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
6098
6128
|
version: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
6099
6129
|
cursor: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
6100
|
-
fundingMode: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
|
6130
|
+
fundingMode: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
6131
|
+
agentId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
6132
|
+
parentAgentId: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
6133
|
+
isSubagent: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
6134
|
+
agentName: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
6101
6135
|
};
|
|
6102
6136
|
|
|
6103
6137
|
if (includeInstance) {
|
|
@@ -6213,6 +6247,22 @@ proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg,
|
|
|
6213
6247
|
var value = /** @type {!proto.gateway.web.v1.AIFundingMode} */ (reader.readEnum());
|
|
6214
6248
|
msg.setFundingMode(value);
|
|
6215
6249
|
break;
|
|
6250
|
+
case 20:
|
|
6251
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6252
|
+
msg.setAgentId(value);
|
|
6253
|
+
break;
|
|
6254
|
+
case 21:
|
|
6255
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6256
|
+
msg.setParentAgentId(value);
|
|
6257
|
+
break;
|
|
6258
|
+
case 22:
|
|
6259
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6260
|
+
msg.setIsSubagent(value);
|
|
6261
|
+
break;
|
|
6262
|
+
case 23:
|
|
6263
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6264
|
+
msg.setAgentName(value);
|
|
6265
|
+
break;
|
|
6216
6266
|
default:
|
|
6217
6267
|
reader.skipField();
|
|
6218
6268
|
break;
|
|
@@ -6378,6 +6428,34 @@ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter = function(message,
|
|
|
6378
6428
|
f
|
|
6379
6429
|
);
|
|
6380
6430
|
}
|
|
6431
|
+
f = message.getAgentId();
|
|
6432
|
+
if (f.length > 0) {
|
|
6433
|
+
writer.writeString(
|
|
6434
|
+
20,
|
|
6435
|
+
f
|
|
6436
|
+
);
|
|
6437
|
+
}
|
|
6438
|
+
f = message.getParentAgentId();
|
|
6439
|
+
if (f.length > 0) {
|
|
6440
|
+
writer.writeString(
|
|
6441
|
+
21,
|
|
6442
|
+
f
|
|
6443
|
+
);
|
|
6444
|
+
}
|
|
6445
|
+
f = message.getIsSubagent();
|
|
6446
|
+
if (f) {
|
|
6447
|
+
writer.writeBool(
|
|
6448
|
+
22,
|
|
6449
|
+
f
|
|
6450
|
+
);
|
|
6451
|
+
}
|
|
6452
|
+
f = message.getAgentName();
|
|
6453
|
+
if (f.length > 0) {
|
|
6454
|
+
writer.writeString(
|
|
6455
|
+
23,
|
|
6456
|
+
f
|
|
6457
|
+
);
|
|
6458
|
+
}
|
|
6381
6459
|
};
|
|
6382
6460
|
|
|
6383
6461
|
|
|
@@ -6835,6 +6913,78 @@ proto.gateway.web.v1.AISessionEvent.prototype.setFundingMode = function(value) {
|
|
|
6835
6913
|
};
|
|
6836
6914
|
|
|
6837
6915
|
|
|
6916
|
+
/**
|
|
6917
|
+
* optional string agent_id = 20;
|
|
6918
|
+
* @return {string}
|
|
6919
|
+
*/
|
|
6920
|
+
proto.gateway.web.v1.AISessionEvent.prototype.getAgentId = function() {
|
|
6921
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
6922
|
+
};
|
|
6923
|
+
|
|
6924
|
+
|
|
6925
|
+
/**
|
|
6926
|
+
* @param {string} value
|
|
6927
|
+
* @return {!proto.gateway.web.v1.AISessionEvent} returns this
|
|
6928
|
+
*/
|
|
6929
|
+
proto.gateway.web.v1.AISessionEvent.prototype.setAgentId = function(value) {
|
|
6930
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
6931
|
+
};
|
|
6932
|
+
|
|
6933
|
+
|
|
6934
|
+
/**
|
|
6935
|
+
* optional string parent_agent_id = 21;
|
|
6936
|
+
* @return {string}
|
|
6937
|
+
*/
|
|
6938
|
+
proto.gateway.web.v1.AISessionEvent.prototype.getParentAgentId = function() {
|
|
6939
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
6940
|
+
};
|
|
6941
|
+
|
|
6942
|
+
|
|
6943
|
+
/**
|
|
6944
|
+
* @param {string} value
|
|
6945
|
+
* @return {!proto.gateway.web.v1.AISessionEvent} returns this
|
|
6946
|
+
*/
|
|
6947
|
+
proto.gateway.web.v1.AISessionEvent.prototype.setParentAgentId = function(value) {
|
|
6948
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
6949
|
+
};
|
|
6950
|
+
|
|
6951
|
+
|
|
6952
|
+
/**
|
|
6953
|
+
* optional bool is_subagent = 22;
|
|
6954
|
+
* @return {boolean}
|
|
6955
|
+
*/
|
|
6956
|
+
proto.gateway.web.v1.AISessionEvent.prototype.getIsSubagent = function() {
|
|
6957
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
6958
|
+
};
|
|
6959
|
+
|
|
6960
|
+
|
|
6961
|
+
/**
|
|
6962
|
+
* @param {boolean} value
|
|
6963
|
+
* @return {!proto.gateway.web.v1.AISessionEvent} returns this
|
|
6964
|
+
*/
|
|
6965
|
+
proto.gateway.web.v1.AISessionEvent.prototype.setIsSubagent = function(value) {
|
|
6966
|
+
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
6967
|
+
};
|
|
6968
|
+
|
|
6969
|
+
|
|
6970
|
+
/**
|
|
6971
|
+
* optional string agent_name = 23;
|
|
6972
|
+
* @return {string}
|
|
6973
|
+
*/
|
|
6974
|
+
proto.gateway.web.v1.AISessionEvent.prototype.getAgentName = function() {
|
|
6975
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
6976
|
+
};
|
|
6977
|
+
|
|
6978
|
+
|
|
6979
|
+
/**
|
|
6980
|
+
* @param {string} value
|
|
6981
|
+
* @return {!proto.gateway.web.v1.AISessionEvent} returns this
|
|
6982
|
+
*/
|
|
6983
|
+
proto.gateway.web.v1.AISessionEvent.prototype.setAgentName = function(value) {
|
|
6984
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
6985
|
+
};
|
|
6986
|
+
|
|
6987
|
+
|
|
6838
6988
|
|
|
6839
6989
|
|
|
6840
6990
|
|
|
@@ -29927,7 +30077,8 @@ proto.gateway.web.v1.AISessionEventKind = {
|
|
|
29927
30077
|
AI_SESSION_EVENT_KIND_TOOL_RESULT: 7,
|
|
29928
30078
|
AI_SESSION_EVENT_KIND_TOOL_DECISION: 8,
|
|
29929
30079
|
AI_SESSION_EVENT_KIND_COMPACTION: 9,
|
|
29930
|
-
AI_SESSION_EVENT_KIND_ERROR: 10
|
|
30080
|
+
AI_SESSION_EVENT_KIND_ERROR: 10,
|
|
30081
|
+
AI_SESSION_EVENT_KIND_SUBAGENT_RUN: 11
|
|
29931
30082
|
};
|
|
29932
30083
|
|
|
29933
30084
|
/**
|