@evalops/sdk-ts 0.1.104 → 0.1.106

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.
@@ -88,12 +88,186 @@ export type Agent = Message<"agents.v1.Agent"> & {
88
88
  * @generated from field: repeated common.v1.Surface surface_types = 14;
89
89
  */
90
90
  surfaceTypes: Surface[];
91
+ /**
92
+ * a2a is the Platform-owned discovery projection for spec-native A2A peers.
93
+ * Remote agents use it to discover where to fetch the Agent Card, which
94
+ * transport/profile is supported, and which skills can be delegated to this
95
+ * agent or its child/subagent lanes.
96
+ *
97
+ * @generated from field: agents.v1.AgentA2APeerProjection a2a = 15;
98
+ */
99
+ a2a?: AgentA2APeerProjection | undefined;
100
+ /**
101
+ * capacity is the registry-owned load projection used by fleet-scale
102
+ * delegation discovery and operator read models.
103
+ *
104
+ * @generated from field: agents.v1.AgentCapacity capacity = 16;
105
+ */
106
+ capacity?: AgentCapacity | undefined;
91
107
  };
92
108
  /**
93
109
  * Describes the message agents.v1.Agent.
94
110
  * Use `create(AgentSchema)` to create a new message.
95
111
  */
96
112
  export declare const AgentSchema: GenMessage<Agent>;
113
+ /**
114
+ * @generated from message agents.v1.AgentCapacity
115
+ */
116
+ export type AgentCapacity = Message<"agents.v1.AgentCapacity"> & {
117
+ /**
118
+ * @generated from field: int32 current = 1;
119
+ */
120
+ current: number;
121
+ /**
122
+ * @generated from field: int32 max = 2;
123
+ */
124
+ max: number;
125
+ /**
126
+ * @generated from field: int32 remaining = 3;
127
+ */
128
+ remaining: number;
129
+ /**
130
+ * @generated from field: int32 reserved_delegation_count = 4;
131
+ */
132
+ reservedDelegationCount: number;
133
+ };
134
+ /**
135
+ * Describes the message agents.v1.AgentCapacity.
136
+ * Use `create(AgentCapacitySchema)` to create a new message.
137
+ */
138
+ export declare const AgentCapacitySchema: GenMessage<AgentCapacity>;
139
+ /**
140
+ * @generated from message agents.v1.AgentA2APeerProjection
141
+ */
142
+ export type AgentA2APeerProjection = Message<"agents.v1.AgentA2APeerProjection"> & {
143
+ /**
144
+ * @generated from field: string public_endpoint_url = 1;
145
+ */
146
+ publicEndpointUrl: string;
147
+ /**
148
+ * @generated from field: string internal_endpoint_url = 2;
149
+ */
150
+ internalEndpointUrl: string;
151
+ /**
152
+ * @generated from field: string agent_card_url = 3;
153
+ */
154
+ agentCardUrl: string;
155
+ /**
156
+ * @generated from field: string protocol_binding = 4;
157
+ */
158
+ protocolBinding: string;
159
+ /**
160
+ * @generated from field: string protocol_version = 5;
161
+ */
162
+ protocolVersion: string;
163
+ /**
164
+ * @generated from field: repeated string supported_extensions = 6;
165
+ */
166
+ supportedExtensions: string[];
167
+ /**
168
+ * @generated from field: repeated agents.v1.AgentA2ASkill skills = 7;
169
+ */
170
+ skills: AgentA2ASkill[];
171
+ /**
172
+ * @generated from field: repeated string security_schemes = 8;
173
+ */
174
+ securitySchemes: string[];
175
+ /**
176
+ * @generated from field: google.protobuf.Timestamp agent_card_observed_at = 9;
177
+ */
178
+ agentCardObservedAt?: Timestamp | undefined;
179
+ /**
180
+ * @generated from field: string agent_card_etag = 10;
181
+ */
182
+ agentCardEtag: string;
183
+ /**
184
+ * @generated from field: string agent_card_hash = 11;
185
+ */
186
+ agentCardHash: string;
187
+ /**
188
+ * @generated from field: bool push_notifications = 12;
189
+ */
190
+ pushNotifications: boolean;
191
+ /**
192
+ * @generated from field: map<string, string> attributes = 13;
193
+ */
194
+ attributes: {
195
+ [key: string]: string;
196
+ };
197
+ };
198
+ /**
199
+ * Describes the message agents.v1.AgentA2APeerProjection.
200
+ * Use `create(AgentA2APeerProjectionSchema)` to create a new message.
201
+ */
202
+ export declare const AgentA2APeerProjectionSchema: GenMessage<AgentA2APeerProjection>;
203
+ /**
204
+ * @generated from message agents.v1.AgentA2ASkill
205
+ */
206
+ export type AgentA2ASkill = Message<"agents.v1.AgentA2ASkill"> & {
207
+ /**
208
+ * @generated from field: string id = 1;
209
+ */
210
+ id: string;
211
+ /**
212
+ * @generated from field: string name = 2;
213
+ */
214
+ name: string;
215
+ /**
216
+ * @generated from field: string description = 3;
217
+ */
218
+ description: string;
219
+ /**
220
+ * @generated from field: repeated string tags = 4;
221
+ */
222
+ tags: string[];
223
+ /**
224
+ * @generated from field: repeated string input_modes = 5;
225
+ */
226
+ inputModes: string[];
227
+ /**
228
+ * @generated from field: repeated string output_modes = 6;
229
+ */
230
+ outputModes: string[];
231
+ /**
232
+ * @generated from field: repeated string required_context_grants = 7;
233
+ */
234
+ requiredContextGrants: string[];
235
+ /**
236
+ * @generated from field: string approval_policy_ref = 8;
237
+ */
238
+ approvalPolicyRef: string;
239
+ /**
240
+ * @generated from field: string max_autonomy = 9;
241
+ */
242
+ maxAutonomy: string;
243
+ /**
244
+ * @generated from field: repeated string required_artifact_kinds = 10;
245
+ */
246
+ requiredArtifactKinds: string[];
247
+ /**
248
+ * @generated from field: repeated string optional_artifact_kinds = 11;
249
+ */
250
+ optionalArtifactKinds: string[];
251
+ /**
252
+ * @generated from field: repeated string allowed_task_classes = 12;
253
+ */
254
+ allowedTaskClasses: string[];
255
+ /**
256
+ * @generated from field: repeated string denied_task_classes = 13;
257
+ */
258
+ deniedTaskClasses: string[];
259
+ /**
260
+ * @generated from field: map<string, string> attributes = 14;
261
+ */
262
+ attributes: {
263
+ [key: string]: string;
264
+ };
265
+ };
266
+ /**
267
+ * Describes the message agents.v1.AgentA2ASkill.
268
+ * Use `create(AgentA2ASkillSchema)` to create a new message.
269
+ */
270
+ export declare const AgentA2ASkillSchema: GenMessage<AgentA2ASkill>;
97
271
  /**
98
272
  * AgentConfig is an immutable snapshot of everything that shapes an agent's
99
273
  * behavior. Promotion and rollback are both config version reassignments —
@@ -874,6 +1048,73 @@ export type DelegationRecord = Message<"agents.v1.DelegationRecord"> & {
874
1048
  * @generated from field: google.protobuf.Timestamp resolved_at = 15;
875
1049
  */
876
1050
  resolvedAt?: Timestamp | undefined;
1051
+ /**
1052
+ * @generated from field: string a2a_task_id = 16;
1053
+ */
1054
+ a2aTaskId: string;
1055
+ /**
1056
+ * @generated from field: string a2a_message_id = 17;
1057
+ */
1058
+ a2aMessageId: string;
1059
+ /**
1060
+ * @generated from field: string a2a_endpoint_url = 18;
1061
+ */
1062
+ a2aEndpointUrl: string;
1063
+ /**
1064
+ * @generated from field: string a2a_dispatch_status = 19;
1065
+ */
1066
+ a2aDispatchStatus: string;
1067
+ /**
1068
+ * @generated from field: string a2a_dispatch_error = 20;
1069
+ */
1070
+ a2aDispatchError: string;
1071
+ /**
1072
+ * @generated from field: string a2a_skill_id = 21;
1073
+ */
1074
+ a2aSkillId: string;
1075
+ /**
1076
+ * a2a_dispatched_at is the server time when the remote A2A task was first
1077
+ * accepted by the target transport.
1078
+ *
1079
+ * @generated from field: google.protobuf.Timestamp a2a_dispatched_at = 22;
1080
+ */
1081
+ a2aDispatchedAt?: Timestamp | undefined;
1082
+ /**
1083
+ * a2a_lease_renewed_at is the last server time Platform observed remote A2A
1084
+ * progress for this delegation.
1085
+ *
1086
+ * @generated from field: google.protobuf.Timestamp a2a_lease_renewed_at = 23;
1087
+ */
1088
+ a2aLeaseRenewedAt?: Timestamp | undefined;
1089
+ /**
1090
+ * a2a_resume_wait_contracts are server-derived contracts that an origin
1091
+ * runtime can use to park the parent run on typed remote A2A callback events
1092
+ * after the target transport accepts the delegation.
1093
+ *
1094
+ * @generated from field: repeated google.protobuf.Struct a2a_resume_wait_contracts = 24;
1095
+ */
1096
+ a2aResumeWaitContracts: JsonObject[];
1097
+ /**
1098
+ * a2a_root_delegation_id identifies the root Platform delegation in an A2A
1099
+ * swarm chain. Root delegations use their own delegation id.
1100
+ *
1101
+ * @generated from field: string a2a_root_delegation_id = 25;
1102
+ */
1103
+ a2aRootDelegationId: string;
1104
+ /**
1105
+ * a2a_parent_delegation_id identifies the immediate parent Platform
1106
+ * delegation when this record was spawned by another remote A2A worker.
1107
+ *
1108
+ * @generated from field: string a2a_parent_delegation_id = 26;
1109
+ */
1110
+ a2aParentDelegationId: string;
1111
+ /**
1112
+ * a2a_delegation_chain is the ordered Platform delegation lineage from root
1113
+ * to this delegation.
1114
+ *
1115
+ * @generated from field: repeated string a2a_delegation_chain = 27;
1116
+ */
1117
+ a2aDelegationChain: string[];
877
1118
  };
878
1119
  /**
879
1120
  * Describes the message agents.v1.DelegationRecord.
@@ -920,6 +1161,10 @@ export type RegisterRequest = Message<"agents.v1.RegisterRequest"> & {
920
1161
  * @generated from field: repeated common.v1.Surface surface_types = 9;
921
1162
  */
922
1163
  surfaceTypes: Surface[];
1164
+ /**
1165
+ * @generated from field: agents.v1.AgentA2APeerProjection a2a = 10;
1166
+ */
1167
+ a2a?: AgentA2APeerProjection | undefined;
923
1168
  };
924
1169
  /**
925
1170
  * Describes the message agents.v1.RegisterRequest.
@@ -1004,6 +1249,30 @@ export type ListRequest = Message<"agents.v1.ListRequest"> & {
1004
1249
  * @generated from field: common.v1.Surface surface_type = 8;
1005
1250
  */
1006
1251
  surfaceType: Surface;
1252
+ /**
1253
+ * A2A skill ID required for fleet-scale delegation discovery.
1254
+ *
1255
+ * @generated from field: string a2a_skill_id = 9;
1256
+ */
1257
+ a2aSkillId: string;
1258
+ /**
1259
+ * Task class that must be allowed by the matched peer or skill policy.
1260
+ *
1261
+ * @generated from field: string task_class = 10;
1262
+ */
1263
+ taskClass: string;
1264
+ /**
1265
+ * Require peers to expose a dispatchable A2A HTTP+JSON endpoint.
1266
+ *
1267
+ * @generated from field: bool require_a2a_dispatch = 11;
1268
+ */
1269
+ requireA2aDispatch: boolean;
1270
+ /**
1271
+ * Use delegation-eligible discovery semantics even when only generic filters are supplied.
1272
+ *
1273
+ * @generated from field: bool eligible_for_delegation = 12;
1274
+ */
1275
+ eligibleForDelegation: boolean;
1007
1276
  };
1008
1277
  /**
1009
1278
  * Describes the message agents.v1.ListRequest.
@@ -1022,12 +1291,131 @@ export type ListResponse = Message<"agents.v1.ListResponse"> & {
1022
1291
  * @generated from field: int32 total = 2;
1023
1292
  */
1024
1293
  total: number;
1294
+ /**
1295
+ * @generated from field: agents.v1.AgentDiscoveryEvidence discovery_evidence = 3;
1296
+ */
1297
+ discoveryEvidence?: AgentDiscoveryEvidence | undefined;
1025
1298
  };
1026
1299
  /**
1027
1300
  * Describes the message agents.v1.ListResponse.
1028
1301
  * Use `create(ListResponseSchema)` to create a new message.
1029
1302
  */
1030
1303
  export declare const ListResponseSchema: GenMessage<ListResponse>;
1304
+ /**
1305
+ * AgentDiscoveryEvidence is the safe, operator-auditable explanation for an
1306
+ * A2A/delegation discovery query. It intentionally carries identifiers,
1307
+ * counts, and policy labels, not task payloads or customer content.
1308
+ *
1309
+ * @generated from message agents.v1.AgentDiscoveryEvidence
1310
+ */
1311
+ export type AgentDiscoveryEvidence = Message<"agents.v1.AgentDiscoveryEvidence"> & {
1312
+ /**
1313
+ * @generated from field: string schema = 1;
1314
+ */
1315
+ schema: string;
1316
+ /**
1317
+ * @generated from field: string decision = 2;
1318
+ */
1319
+ decision: string;
1320
+ /**
1321
+ * @generated from field: string reason = 3;
1322
+ */
1323
+ reason: string;
1324
+ /**
1325
+ * @generated from field: string workspace_id = 4;
1326
+ */
1327
+ workspaceId: string;
1328
+ /**
1329
+ * @generated from field: string capability = 5;
1330
+ */
1331
+ capability: string;
1332
+ /**
1333
+ * @generated from field: repeated string capabilities = 6;
1334
+ */
1335
+ capabilities: string[];
1336
+ /**
1337
+ * @generated from field: string agent_type = 7;
1338
+ */
1339
+ agentType: string;
1340
+ /**
1341
+ * @generated from field: string a2a_skill_id = 8;
1342
+ */
1343
+ a2aSkillId: string;
1344
+ /**
1345
+ * @generated from field: string task_class = 9;
1346
+ */
1347
+ taskClass: string;
1348
+ /**
1349
+ * @generated from field: bool require_a2a_dispatch = 10;
1350
+ */
1351
+ requireA2aDispatch: boolean;
1352
+ /**
1353
+ * @generated from field: string surface = 11;
1354
+ */
1355
+ surface: string;
1356
+ /**
1357
+ * @generated from field: string status = 12;
1358
+ */
1359
+ status: string;
1360
+ /**
1361
+ * @generated from field: int32 candidate_count = 13;
1362
+ */
1363
+ candidateCount: number;
1364
+ /**
1365
+ * @generated from field: int32 matched_count = 14;
1366
+ */
1367
+ matchedCount: number;
1368
+ /**
1369
+ * @generated from field: repeated agents.v1.AgentDiscoveryExclusion exclusions = 15;
1370
+ */
1371
+ exclusions: AgentDiscoveryExclusion[];
1372
+ };
1373
+ /**
1374
+ * Describes the message agents.v1.AgentDiscoveryEvidence.
1375
+ * Use `create(AgentDiscoveryEvidenceSchema)` to create a new message.
1376
+ */
1377
+ export declare const AgentDiscoveryEvidenceSchema: GenMessage<AgentDiscoveryEvidence>;
1378
+ /**
1379
+ * AgentDiscoveryExclusion summarizes why candidates did not appear in the
1380
+ * discovery result. Samples are agent ids only, capped by the server.
1381
+ *
1382
+ * @generated from message agents.v1.AgentDiscoveryExclusion
1383
+ */
1384
+ export type AgentDiscoveryExclusion = Message<"agents.v1.AgentDiscoveryExclusion"> & {
1385
+ /**
1386
+ * @generated from field: string reason = 1;
1387
+ */
1388
+ reason: string;
1389
+ /**
1390
+ * @generated from field: int32 count = 2;
1391
+ */
1392
+ count: number;
1393
+ /**
1394
+ * @generated from field: repeated string sample_agent_ids = 3;
1395
+ */
1396
+ sampleAgentIds: string[];
1397
+ /**
1398
+ * @generated from field: repeated string policy_reasons = 4;
1399
+ */
1400
+ policyReasons: string[];
1401
+ /**
1402
+ * @generated from field: repeated string policy_scopes = 5;
1403
+ */
1404
+ policyScopes: string[];
1405
+ /**
1406
+ * @generated from field: repeated string allowed_task_classes = 6;
1407
+ */
1408
+ allowedTaskClasses: string[];
1409
+ /**
1410
+ * @generated from field: repeated string denied_task_classes = 7;
1411
+ */
1412
+ deniedTaskClasses: string[];
1413
+ };
1414
+ /**
1415
+ * Describes the message agents.v1.AgentDiscoveryExclusion.
1416
+ * Use `create(AgentDiscoveryExclusionSchema)` to create a new message.
1417
+ */
1418
+ export declare const AgentDiscoveryExclusionSchema: GenMessage<AgentDiscoveryExclusion>;
1031
1419
  /**
1032
1420
  * @generated from message agents.v1.UpdateRequest
1033
1421
  */
@@ -1056,6 +1444,10 @@ export type UpdateRequest = Message<"agents.v1.UpdateRequest"> & {
1056
1444
  * @generated from field: repeated common.v1.Surface surface_types = 6;
1057
1445
  */
1058
1446
  surfaceTypes: Surface[];
1447
+ /**
1448
+ * @generated from field: agents.v1.AgentA2APeerProjection a2a = 7;
1449
+ */
1450
+ a2a?: AgentA2APeerProjection | undefined;
1059
1451
  };
1060
1452
  /**
1061
1453
  * Describes the message agents.v1.UpdateRequest.
@@ -1350,6 +1742,10 @@ export type DelegateRequest = Message<"agents.v1.DelegateRequest"> & {
1350
1742
  * @generated from field: string reason = 8;
1351
1743
  */
1352
1744
  reason: string;
1745
+ /**
1746
+ * @generated from field: string a2a_skill_id = 9;
1747
+ */
1748
+ a2aSkillId: string;
1353
1749
  };
1354
1750
  /**
1355
1751
  * Describes the message agents.v1.DelegateRequest.
@@ -1410,6 +1806,172 @@ export type ResolveDelegationResponse = Message<"agents.v1.ResolveDelegationResp
1410
1806
  * Use `create(ResolveDelegationResponseSchema)` to create a new message.
1411
1807
  */
1412
1808
  export declare const ResolveDelegationResponseSchema: GenMessage<ResolveDelegationResponse>;
1809
+ /**
1810
+ * @generated from message agents.v1.RenewDelegationLeaseRequest
1811
+ */
1812
+ export type RenewDelegationLeaseRequest = Message<"agents.v1.RenewDelegationLeaseRequest"> & {
1813
+ /**
1814
+ * @generated from field: string delegation_id = 1;
1815
+ */
1816
+ delegationId: string;
1817
+ };
1818
+ /**
1819
+ * Describes the message agents.v1.RenewDelegationLeaseRequest.
1820
+ * Use `create(RenewDelegationLeaseRequestSchema)` to create a new message.
1821
+ */
1822
+ export declare const RenewDelegationLeaseRequestSchema: GenMessage<RenewDelegationLeaseRequest>;
1823
+ /**
1824
+ * @generated from message agents.v1.RenewDelegationLeaseResponse
1825
+ */
1826
+ export type RenewDelegationLeaseResponse = Message<"agents.v1.RenewDelegationLeaseResponse"> & {
1827
+ /**
1828
+ * @generated from field: agents.v1.DelegationRecord delegation = 1;
1829
+ */
1830
+ delegation?: DelegationRecord | undefined;
1831
+ };
1832
+ /**
1833
+ * Describes the message agents.v1.RenewDelegationLeaseResponse.
1834
+ * Use `create(RenewDelegationLeaseResponseSchema)` to create a new message.
1835
+ */
1836
+ export declare const RenewDelegationLeaseResponseSchema: GenMessage<RenewDelegationLeaseResponse>;
1837
+ /**
1838
+ * @generated from message agents.v1.ControlA2ADelegationTaskRequest
1839
+ */
1840
+ export type ControlA2ADelegationTaskRequest = Message<"agents.v1.ControlA2ADelegationTaskRequest"> & {
1841
+ /**
1842
+ * @generated from field: string delegation_id = 1;
1843
+ */
1844
+ delegationId: string;
1845
+ /**
1846
+ * @generated from field: agents.v1.A2ADelegationTaskControlMode mode = 2;
1847
+ */
1848
+ mode: A2ADelegationTaskControlMode;
1849
+ /**
1850
+ * @generated from field: string message = 3;
1851
+ */
1852
+ message: string;
1853
+ /**
1854
+ * @generated from field: string idempotency_key = 4;
1855
+ */
1856
+ idempotencyKey: string;
1857
+ /**
1858
+ * Optional target selectors allow Platform callers to control a remote
1859
+ * subagent lane or child run while still fencing the command by the root
1860
+ * remote task id stored on the delegation.
1861
+ *
1862
+ * @generated from field: string target_run_id = 5;
1863
+ */
1864
+ targetRunId: string;
1865
+ /**
1866
+ * @generated from field: string child_run_id = 6;
1867
+ */
1868
+ childRunId: string;
1869
+ /**
1870
+ * @generated from field: string subagent_lane_id = 7;
1871
+ */
1872
+ subagentLaneId: string;
1873
+ /**
1874
+ * @generated from field: string work_item_id = 8;
1875
+ */
1876
+ workItemId: string;
1877
+ /**
1878
+ * @generated from field: google.protobuf.Struct payload = 9;
1879
+ */
1880
+ payload?: JsonObject | undefined;
1881
+ /**
1882
+ * @generated from field: google.protobuf.Struct metadata = 10;
1883
+ */
1884
+ metadata?: JsonObject | undefined;
1885
+ };
1886
+ /**
1887
+ * Describes the message agents.v1.ControlA2ADelegationTaskRequest.
1888
+ * Use `create(ControlA2ADelegationTaskRequestSchema)` to create a new message.
1889
+ */
1890
+ export declare const ControlA2ADelegationTaskRequestSchema: GenMessage<ControlA2ADelegationTaskRequest>;
1891
+ /**
1892
+ * @generated from message agents.v1.A2ADelegationTaskControlResult
1893
+ */
1894
+ export type A2ADelegationTaskControlResult = Message<"agents.v1.A2ADelegationTaskControlResult"> & {
1895
+ /**
1896
+ * @generated from field: string task_id = 1;
1897
+ */
1898
+ taskId: string;
1899
+ /**
1900
+ * @generated from field: string state = 2;
1901
+ */
1902
+ state: string;
1903
+ /**
1904
+ * @generated from field: string control_id = 3;
1905
+ */
1906
+ controlId: string;
1907
+ /**
1908
+ * @generated from field: string control_mode = 4;
1909
+ */
1910
+ controlMode: string;
1911
+ /**
1912
+ * @generated from field: bool cancelled = 5;
1913
+ */
1914
+ cancelled: boolean;
1915
+ /**
1916
+ * @generated from field: bool queued_for_worker = 6;
1917
+ */
1918
+ queuedForWorker: boolean;
1919
+ /**
1920
+ * @generated from field: string parent_task_id = 7;
1921
+ */
1922
+ parentTaskId: string;
1923
+ /**
1924
+ * @generated from field: string target_run_id = 8;
1925
+ */
1926
+ targetRunId: string;
1927
+ /**
1928
+ * @generated from field: string applied_run_id = 9;
1929
+ */
1930
+ appliedRunId: string;
1931
+ /**
1932
+ * @generated from field: bool target_external = 10;
1933
+ */
1934
+ targetExternal: boolean;
1935
+ /**
1936
+ * @generated from field: string subagent_lane_id = 11;
1937
+ */
1938
+ subagentLaneId: string;
1939
+ /**
1940
+ * @generated from field: string work_item_id = 12;
1941
+ */
1942
+ workItemId: string;
1943
+ /**
1944
+ * @generated from field: google.protobuf.Timestamp observed_at = 13;
1945
+ */
1946
+ observedAt?: Timestamp | undefined;
1947
+ /**
1948
+ * @generated from field: bool raw_payload_withheld = 14;
1949
+ */
1950
+ rawPayloadWithheld: boolean;
1951
+ };
1952
+ /**
1953
+ * Describes the message agents.v1.A2ADelegationTaskControlResult.
1954
+ * Use `create(A2ADelegationTaskControlResultSchema)` to create a new message.
1955
+ */
1956
+ export declare const A2ADelegationTaskControlResultSchema: GenMessage<A2ADelegationTaskControlResult>;
1957
+ /**
1958
+ * @generated from message agents.v1.ControlA2ADelegationTaskResponse
1959
+ */
1960
+ export type ControlA2ADelegationTaskResponse = Message<"agents.v1.ControlA2ADelegationTaskResponse"> & {
1961
+ /**
1962
+ * @generated from field: agents.v1.DelegationRecord delegation = 1;
1963
+ */
1964
+ delegation?: DelegationRecord | undefined;
1965
+ /**
1966
+ * @generated from field: agents.v1.A2ADelegationTaskControlResult remote_task = 2;
1967
+ */
1968
+ remoteTask?: A2ADelegationTaskControlResult | undefined;
1969
+ };
1970
+ /**
1971
+ * Describes the message agents.v1.ControlA2ADelegationTaskResponse.
1972
+ * Use `create(ControlA2ADelegationTaskResponseSchema)` to create a new message.
1973
+ */
1974
+ export declare const ControlA2ADelegationTaskResponseSchema: GenMessage<ControlA2ADelegationTaskResponse>;
1413
1975
  /**
1414
1976
  * @generated from message agents.v1.GetDelegationRequest
1415
1977
  */
@@ -1470,6 +2032,48 @@ export type ListDelegationsRequest = Message<"agents.v1.ListDelegationsRequest">
1470
2032
  * @generated from field: int32 offset = 7;
1471
2033
  */
1472
2034
  offset: number;
2035
+ /**
2036
+ * A2A remote task id returned by the target peer.
2037
+ *
2038
+ * @generated from field: string a2a_task_id = 8;
2039
+ */
2040
+ a2aTaskId: string;
2041
+ /**
2042
+ * A2A message id used for dispatch/callback correlation.
2043
+ *
2044
+ * @generated from field: string a2a_message_id = 9;
2045
+ */
2046
+ a2aMessageId: string;
2047
+ /**
2048
+ * A2A skill id requested for the delegation.
2049
+ *
2050
+ * @generated from field: string a2a_skill_id = 10;
2051
+ */
2052
+ a2aSkillId: string;
2053
+ /**
2054
+ * A2A transport dispatch status recorded by Platform.
2055
+ *
2056
+ * @generated from field: string a2a_dispatch_status = 11;
2057
+ */
2058
+ a2aDispatchStatus: string;
2059
+ /**
2060
+ * Root Platform delegation id for a remote A2A swarm chain.
2061
+ *
2062
+ * @generated from field: string a2a_root_delegation_id = 12;
2063
+ */
2064
+ a2aRootDelegationId: string;
2065
+ /**
2066
+ * Immediate parent Platform delegation id for a remote A2A swarm chain.
2067
+ *
2068
+ * @generated from field: string a2a_parent_delegation_id = 13;
2069
+ */
2070
+ a2aParentDelegationId: string;
2071
+ /**
2072
+ * Limit results to delegations that have A2A transport or swarm lineage.
2073
+ *
2074
+ * @generated from field: bool a2a_only = 14;
2075
+ */
2076
+ a2aOnly: boolean;
1473
2077
  };
1474
2078
  /**
1475
2079
  * Describes the message agents.v1.ListDelegationsRequest.
@@ -1494,6 +2098,123 @@ export type ListDelegationsResponse = Message<"agents.v1.ListDelegationsResponse
1494
2098
  * Use `create(ListDelegationsResponseSchema)` to create a new message.
1495
2099
  */
1496
2100
  export declare const ListDelegationsResponseSchema: GenMessage<ListDelegationsResponse>;
2101
+ /**
2102
+ * @generated from message agents.v1.GetA2ADelegationGraphRequest
2103
+ */
2104
+ export type GetA2ADelegationGraphRequest = Message<"agents.v1.GetA2ADelegationGraphRequest"> & {
2105
+ /**
2106
+ * @generated from field: string workspace_id = 1;
2107
+ */
2108
+ workspaceId: string;
2109
+ /**
2110
+ * Root Platform delegation id for the swarm graph.
2111
+ *
2112
+ * @generated from field: string root_delegation_id = 2;
2113
+ */
2114
+ rootDelegationId: string;
2115
+ /**
2116
+ * Any Platform delegation id in the swarm graph. If provided without
2117
+ * root_delegation_id, the server derives the root from recorded lineage.
2118
+ *
2119
+ * @generated from field: string delegation_id = 3;
2120
+ */
2121
+ delegationId: string;
2122
+ /**
2123
+ * Maximum child depth to return from the root. Zero means no depth limit.
2124
+ *
2125
+ * @generated from field: int32 max_depth = 4;
2126
+ */
2127
+ maxDepth: number;
2128
+ /**
2129
+ * Maximum graph nodes to return. Zero uses the server default.
2130
+ *
2131
+ * @generated from field: int32 limit = 5;
2132
+ */
2133
+ limit: number;
2134
+ };
2135
+ /**
2136
+ * Describes the message agents.v1.GetA2ADelegationGraphRequest.
2137
+ * Use `create(GetA2ADelegationGraphRequestSchema)` to create a new message.
2138
+ */
2139
+ export declare const GetA2ADelegationGraphRequestSchema: GenMessage<GetA2ADelegationGraphRequest>;
2140
+ /**
2141
+ * @generated from message agents.v1.A2ADelegationGraphNode
2142
+ */
2143
+ export type A2ADelegationGraphNode = Message<"agents.v1.A2ADelegationGraphNode"> & {
2144
+ /**
2145
+ * @generated from field: agents.v1.DelegationRecord delegation = 1;
2146
+ */
2147
+ delegation?: DelegationRecord | undefined;
2148
+ /**
2149
+ * @generated from field: int32 depth = 2;
2150
+ */
2151
+ depth: number;
2152
+ /**
2153
+ * @generated from field: int32 child_count = 3;
2154
+ */
2155
+ childCount: number;
2156
+ /**
2157
+ * @generated from field: bool terminal = 4;
2158
+ */
2159
+ terminal: boolean;
2160
+ };
2161
+ /**
2162
+ * Describes the message agents.v1.A2ADelegationGraphNode.
2163
+ * Use `create(A2ADelegationGraphNodeSchema)` to create a new message.
2164
+ */
2165
+ export declare const A2ADelegationGraphNodeSchema: GenMessage<A2ADelegationGraphNode>;
2166
+ /**
2167
+ * @generated from message agents.v1.A2ADelegationGraphEdge
2168
+ */
2169
+ export type A2ADelegationGraphEdge = Message<"agents.v1.A2ADelegationGraphEdge"> & {
2170
+ /**
2171
+ * @generated from field: string parent_delegation_id = 1;
2172
+ */
2173
+ parentDelegationId: string;
2174
+ /**
2175
+ * @generated from field: string child_delegation_id = 2;
2176
+ */
2177
+ childDelegationId: string;
2178
+ };
2179
+ /**
2180
+ * Describes the message agents.v1.A2ADelegationGraphEdge.
2181
+ * Use `create(A2ADelegationGraphEdgeSchema)` to create a new message.
2182
+ */
2183
+ export declare const A2ADelegationGraphEdgeSchema: GenMessage<A2ADelegationGraphEdge>;
2184
+ /**
2185
+ * @generated from message agents.v1.GetA2ADelegationGraphResponse
2186
+ */
2187
+ export type GetA2ADelegationGraphResponse = Message<"agents.v1.GetA2ADelegationGraphResponse"> & {
2188
+ /**
2189
+ * @generated from field: string root_delegation_id = 1;
2190
+ */
2191
+ rootDelegationId: string;
2192
+ /**
2193
+ * @generated from field: repeated agents.v1.A2ADelegationGraphNode nodes = 2;
2194
+ */
2195
+ nodes: A2ADelegationGraphNode[];
2196
+ /**
2197
+ * @generated from field: repeated agents.v1.A2ADelegationGraphEdge edges = 3;
2198
+ */
2199
+ edges: A2ADelegationGraphEdge[];
2200
+ /**
2201
+ * @generated from field: int32 total = 4;
2202
+ */
2203
+ total: number;
2204
+ /**
2205
+ * @generated from field: bool truncated = 5;
2206
+ */
2207
+ truncated: boolean;
2208
+ /**
2209
+ * @generated from field: repeated string missing_parent_delegation_ids = 6;
2210
+ */
2211
+ missingParentDelegationIds: string[];
2212
+ };
2213
+ /**
2214
+ * Describes the message agents.v1.GetA2ADelegationGraphResponse.
2215
+ * Use `create(GetA2ADelegationGraphResponseSchema)` to create a new message.
2216
+ */
2217
+ export declare const GetA2ADelegationGraphResponseSchema: GenMessage<GetA2ADelegationGraphResponse>;
1497
2218
  /**
1498
2219
  * @generated from message agents.v1.HeartbeatRequest
1499
2220
  */
@@ -1521,6 +2242,10 @@ export type HeartbeatRequest = Message<"agents.v1.HeartbeatRequest"> & {
1521
2242
  * @generated from field: common.v1.Surface surface_type = 5;
1522
2243
  */
1523
2244
  surfaceType: Surface;
2245
+ /**
2246
+ * @generated from field: agents.v1.AgentA2APeerProjection a2a = 6;
2247
+ */
2248
+ a2a?: AgentA2APeerProjection | undefined;
1524
2249
  };
1525
2250
  /**
1526
2251
  * Describes the message agents.v1.HeartbeatRequest.
@@ -1619,6 +2344,42 @@ export declare enum DelegationStatus {
1619
2344
  * Describes the enum agents.v1.DelegationStatus.
1620
2345
  */
1621
2346
  export declare const DelegationStatusSchema: GenEnum<DelegationStatus>;
2347
+ /**
2348
+ * A2ADelegationTaskControlMode describes the remote task-control action that
2349
+ * Platform asks the target A2A peer to apply.
2350
+ *
2351
+ * @generated from enum agents.v1.A2ADelegationTaskControlMode
2352
+ */
2353
+ export declare enum A2ADelegationTaskControlMode {
2354
+ /**
2355
+ * @generated from enum value: A2A_DELEGATION_TASK_CONTROL_MODE_UNSPECIFIED = 0;
2356
+ */
2357
+ A2A_DELEGATION_TASK_CONTROL_MODE_UNSPECIFIED = 0,
2358
+ /**
2359
+ * @generated from enum value: A2A_DELEGATION_TASK_CONTROL_MODE_STEER = 1;
2360
+ */
2361
+ A2A_DELEGATION_TASK_CONTROL_MODE_STEER = 1,
2362
+ /**
2363
+ * @generated from enum value: A2A_DELEGATION_TASK_CONTROL_MODE_FOLLOWUP = 2;
2364
+ */
2365
+ A2A_DELEGATION_TASK_CONTROL_MODE_FOLLOWUP = 2,
2366
+ /**
2367
+ * @generated from enum value: A2A_DELEGATION_TASK_CONTROL_MODE_COLLECT = 3;
2368
+ */
2369
+ A2A_DELEGATION_TASK_CONTROL_MODE_COLLECT = 3,
2370
+ /**
2371
+ * @generated from enum value: A2A_DELEGATION_TASK_CONTROL_MODE_INTERRUPT = 4;
2372
+ */
2373
+ A2A_DELEGATION_TASK_CONTROL_MODE_INTERRUPT = 4,
2374
+ /**
2375
+ * @generated from enum value: A2A_DELEGATION_TASK_CONTROL_MODE_CANCEL = 5;
2376
+ */
2377
+ A2A_DELEGATION_TASK_CONTROL_MODE_CANCEL = 5
2378
+ }
2379
+ /**
2380
+ * Describes the enum agents.v1.A2ADelegationTaskControlMode.
2381
+ */
2382
+ export declare const A2ADelegationTaskControlModeSchema: GenEnum<A2ADelegationTaskControlMode>;
1622
2383
  /**
1623
2384
  * TeammateLifecycle describes whether a teammate profile can be used to
1624
2385
  * initiate durable work.
@@ -2153,6 +2914,30 @@ export declare const AgentService: GenService<{
2153
2914
  input: typeof ResolveDelegationRequestSchema;
2154
2915
  output: typeof ResolveDelegationResponseSchema;
2155
2916
  };
2917
+ /**
2918
+ * RenewDelegationLease records observed remote progress for an active
2919
+ * delegation so reserved target capacity is not reaped while work is healthy.
2920
+ *
2921
+ * @generated from rpc agents.v1.AgentService.RenewDelegationLease
2922
+ */
2923
+ renewDelegationLease: {
2924
+ methodKind: "unary";
2925
+ input: typeof RenewDelegationLeaseRequestSchema;
2926
+ output: typeof RenewDelegationLeaseResponseSchema;
2927
+ };
2928
+ /**
2929
+ * ControlA2ADelegationTask sends a fenced operating-plane control request to
2930
+ * the remote A2A task backing a Platform delegation. This is the Platform
2931
+ * control surface for steering, collecting from, interrupting, or canceling
2932
+ * a remote Maestro task or one of its subagent lanes.
2933
+ *
2934
+ * @generated from rpc agents.v1.AgentService.ControlA2ADelegationTask
2935
+ */
2936
+ controlA2ADelegationTask: {
2937
+ methodKind: "unary";
2938
+ input: typeof ControlA2ADelegationTaskRequestSchema;
2939
+ output: typeof ControlA2ADelegationTaskResponseSchema;
2940
+ };
2156
2941
  /**
2157
2942
  * GetDelegation retrieves a delegation record by ID.
2158
2943
  *
@@ -2173,6 +2958,18 @@ export declare const AgentService: GenService<{
2173
2958
  input: typeof ListDelegationsRequestSchema;
2174
2959
  output: typeof ListDelegationsResponseSchema;
2175
2960
  };
2961
+ /**
2962
+ * GetA2ADelegationGraph returns the server-owned swarm graph for a remote
2963
+ * A2A delegation family. Callers may anchor the graph by root delegation id
2964
+ * or by any child delegation id in the lineage.
2965
+ *
2966
+ * @generated from rpc agents.v1.AgentService.GetA2ADelegationGraph
2967
+ */
2968
+ getA2ADelegationGraph: {
2969
+ methodKind: "unary";
2970
+ input: typeof GetA2ADelegationGraphRequestSchema;
2971
+ output: typeof GetA2ADelegationGraphResponseSchema;
2972
+ };
2176
2973
  /**
2177
2974
  * Heartbeat records agent liveness. The registry uses this to maintain
2178
2975
  * presence state and route capability-based delegation requests.