@evalops/sdk-ts 0.1.13
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/README.md +15 -0
- package/dist/agentregistry/v1/service_pb.d.ts +458 -0
- package/dist/agentregistry/v1/service_pb.js +100 -0
- package/dist/agentruntime/v1/runtime_pb.d.ts +1809 -0
- package/dist/agentruntime/v1/runtime_pb.js +480 -0
- package/dist/agents/v1/agents_pb.d.ts +1151 -0
- package/dist/agents/v1/agents_pb.js +256 -0
- package/dist/approvals/v1/approvals_pb.d.ts +788 -0
- package/dist/approvals/v1/approvals_pb.js +212 -0
- package/dist/artifacts/v1/artifacts_pb.d.ts +1079 -0
- package/dist/artifacts/v1/artifacts_pb.js +292 -0
- package/dist/attestation/v1/attestation_pb.d.ts +359 -0
- package/dist/attestation/v1/attestation_pb.js +84 -0
- package/dist/attribution/v1/attribution_pb.d.ts +1312 -0
- package/dist/attribution/v1/attribution_pb.js +285 -0
- package/dist/audit/v1/audit_pb.d.ts +1151 -0
- package/dist/audit/v1/audit_pb.js +262 -0
- package/dist/buf/validate/validate_pb.d.ts +4827 -0
- package/dist/buf/validate/validate_pb.js +356 -0
- package/dist/catalogs/v1/catalogs_pb.d.ts +150 -0
- package/dist/catalogs/v1/catalogs_pb.js +38 -0
- package/dist/common/v1/analytics_pb.d.ts +134 -0
- package/dist/common/v1/analytics_pb.js +72 -0
- package/dist/common/v1/authz_pb.d.ts +23 -0
- package/dist/common/v1/authz_pb.js +26 -0
- package/dist/common/v1/delivery_pb.d.ts +36 -0
- package/dist/common/v1/delivery_pb.js +40 -0
- package/dist/common/v1/entity_pb.d.ts +44 -0
- package/dist/common/v1/entity_pb.js +48 -0
- package/dist/common/v1/risk_pb.d.ts +36 -0
- package/dist/common/v1/risk_pb.js +40 -0
- package/dist/compliance/v1/compliance_pb.d.ts +866 -0
- package/dist/compliance/v1/compliance_pb.js +240 -0
- package/dist/config/v1/config_pb.d.ts +589 -0
- package/dist/config/v1/config_pb.js +164 -0
- package/dist/connectors/v1/connectors_pb.d.ts +653 -0
- package/dist/connectors/v1/connectors_pb.js +236 -0
- package/dist/entities/v1/entities_pb.d.ts +784 -0
- package/dist/entities/v1/entities_pb.js +197 -0
- package/dist/evalpipeline/v1/evalpipeline_pb.d.ts +943 -0
- package/dist/evalpipeline/v1/evalpipeline_pb.js +227 -0
- package/dist/events/v1/change_pb.d.ts +60 -0
- package/dist/events/v1/change_pb.js +14 -0
- package/dist/events/v1/cloudevent_pb.d.ts +63 -0
- package/dist/events/v1/cloudevent_pb.js +14 -0
- package/dist/events/v1/evaluation_pb.d.ts +124 -0
- package/dist/events/v1/evaluation_pb.js +24 -0
- package/dist/fermata/v1/fermata_pb.d.ts +1869 -0
- package/dist/fermata/v1/fermata_pb.js +515 -0
- package/dist/fermata/v1/worker_pb.d.ts +223 -0
- package/dist/fermata/v1/worker_pb.js +55 -0
- package/dist/gate/v1/audit_pb.d.ts +243 -0
- package/dist/gate/v1/audit_pb.js +60 -0
- package/dist/gate/v1/connector_pb.d.ts +360 -0
- package/dist/gate/v1/connector_pb.js +91 -0
- package/dist/gate/v1/controlplane_pb.d.ts +345 -0
- package/dist/gate/v1/controlplane_pb.js +19 -0
- package/dist/gate/v1/identity_group_pb.d.ts +255 -0
- package/dist/gate/v1/identity_group_pb.js +90 -0
- package/dist/gate/v1/recording_pb.d.ts +93 -0
- package/dist/gate/v1/recording_pb.js +35 -0
- package/dist/gate/v1/resource_policy_pb.d.ts +541 -0
- package/dist/gate/v1/resource_policy_pb.js +145 -0
- package/dist/gate/v1/tenant_pb.d.ts +273 -0
- package/dist/gate/v1/tenant_pb.js +101 -0
- package/dist/gate/v1/webhook_access_pb.d.ts +359 -0
- package/dist/gate/v1/webhook_access_pb.js +105 -0
- package/dist/google/api/annotations_pb.d.ts +13 -0
- package/dist/google/api/annotations_pb.js +26 -0
- package/dist/google/api/http_pb.d.ts +440 -0
- package/dist/google/api/http_pb.js +33 -0
- package/dist/governance/v1/governance_pb.d.ts +1219 -0
- package/dist/governance/v1/governance_pb.js +376 -0
- package/dist/identity/v1/organizations_pb.d.ts +621 -0
- package/dist/identity/v1/organizations_pb.js +166 -0
- package/dist/identity/v1/sessions_pb.d.ts +78 -0
- package/dist/identity/v1/sessions_pb.js +19 -0
- package/dist/identity/v1/tokens_pb.d.ts +332 -0
- package/dist/identity/v1/tokens_pb.js +56 -0
- package/dist/ingest/v1/admin_pb.d.ts +471 -0
- package/dist/ingest/v1/admin_pb.js +112 -0
- package/dist/ingest/v1/event_pb.d.ts +155 -0
- package/dist/ingest/v1/event_pb.js +24 -0
- package/dist/keys/v1/keys_pb.d.ts +241 -0
- package/dist/keys/v1/keys_pb.js +52 -0
- package/dist/llmgateway/v1/gateway_pb.d.ts +393 -0
- package/dist/llmgateway/v1/gateway_pb.js +79 -0
- package/dist/memory/v1/memory_pb.d.ts +1260 -0
- package/dist/memory/v1/memory_pb.js +243 -0
- package/dist/meter/v1/meter_pb.d.ts +1691 -0
- package/dist/meter/v1/meter_pb.js +263 -0
- package/dist/notifications/v1/notifications_pb.d.ts +777 -0
- package/dist/notifications/v1/notifications_pb.js +257 -0
- package/dist/objectives/v1/objectives_pb.d.ts +1000 -0
- package/dist/objectives/v1/objectives_pb.js +340 -0
- package/dist/posture/v1/posture_pb.d.ts +357 -0
- package/dist/posture/v1/posture_pb.js +88 -0
- package/dist/prompts/v1/prompts_pb.d.ts +864 -0
- package/dist/prompts/v1/prompts_pb.js +156 -0
- package/dist/relationships/v1/relationships_pb.d.ts +367 -0
- package/dist/relationships/v1/relationships_pb.js +96 -0
- package/dist/secretbroker/v1/broker_pb.d.ts +888 -0
- package/dist/secretbroker/v1/broker_pb.js +168 -0
- package/dist/skills/v1/skills_pb.d.ts +652 -0
- package/dist/skills/v1/skills_pb.js +164 -0
- package/dist/tap/v1/admin_pb.d.ts +530 -0
- package/dist/tap/v1/admin_pb.js +132 -0
- package/dist/tap/v1/event_pb.d.ts +141 -0
- package/dist/tap/v1/event_pb.js +27 -0
- package/dist/toolexecution/v1/toolexecution_pb.d.ts +994 -0
- package/dist/toolexecution/v1/toolexecution_pb.js +315 -0
- package/dist/traces/v1/traces_pb.d.ts +633 -0
- package/dist/traces/v1/traces_pb.js +163 -0
- package/dist/workflows/v1/workflows_pb.d.ts +1784 -0
- package/dist/workflows/v1/workflows_pb.js +431 -0
- package/package.json +272 -0
|
@@ -0,0 +1,994 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { RiskLevel } from "../../common/v1/risk_pb.js";
|
|
3
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file toolexecution/v1/toolexecution.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_toolexecution_v1_toolexecution: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* ToolExecutionLinkage carries the shared identifiers used to authorize,
|
|
11
|
+
* partition, audit, and join a tool call back to agent runtime records.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message toolexecution.v1.ToolExecutionLinkage
|
|
14
|
+
*/
|
|
15
|
+
export type ToolExecutionLinkage = Message<"toolexecution.v1.ToolExecutionLinkage"> & {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string workspace_id = 1;
|
|
18
|
+
*/
|
|
19
|
+
workspaceId: string;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string organization_id = 2;
|
|
22
|
+
*/
|
|
23
|
+
organizationId: string;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string agent_id = 3;
|
|
26
|
+
*/
|
|
27
|
+
agentId: string;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string run_id = 4;
|
|
30
|
+
*/
|
|
31
|
+
runId: string;
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string objective_id = 5;
|
|
34
|
+
*/
|
|
35
|
+
objectiveId: string;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: string step_id = 6;
|
|
38
|
+
*/
|
|
39
|
+
stepId: string;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: string actor_id = 7;
|
|
42
|
+
*/
|
|
43
|
+
actorId: string;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string surface = 8;
|
|
46
|
+
*/
|
|
47
|
+
surface: string;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string channel_id = 9;
|
|
50
|
+
*/
|
|
51
|
+
channelId: string;
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: string correlation_id = 10;
|
|
54
|
+
*/
|
|
55
|
+
correlationId: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message toolexecution.v1.ToolExecutionLinkage.
|
|
59
|
+
* Use `create(ToolExecutionLinkageSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export declare const ToolExecutionLinkageSchema: GenMessage<ToolExecutionLinkage>;
|
|
62
|
+
/**
|
|
63
|
+
* ToolRef identifies the tool/capability the agent wants to invoke.
|
|
64
|
+
*
|
|
65
|
+
* @generated from message toolexecution.v1.ToolRef
|
|
66
|
+
*/
|
|
67
|
+
export type ToolRef = Message<"toolexecution.v1.ToolRef"> & {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string namespace = 1;
|
|
70
|
+
*/
|
|
71
|
+
namespace: string;
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: string name = 2;
|
|
74
|
+
*/
|
|
75
|
+
name: string;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: string version = 3;
|
|
78
|
+
*/
|
|
79
|
+
version: string;
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string capability = 4;
|
|
82
|
+
*/
|
|
83
|
+
capability: string;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: string operation = 5;
|
|
86
|
+
*/
|
|
87
|
+
operation: string;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: bool idempotent = 6;
|
|
90
|
+
*/
|
|
91
|
+
idempotent: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: bool mutates_resource = 7;
|
|
94
|
+
*/
|
|
95
|
+
mutatesResource: boolean;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message toolexecution.v1.ToolRef.
|
|
99
|
+
* Use `create(ToolRefSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export declare const ToolRefSchema: GenMessage<ToolRef>;
|
|
102
|
+
/**
|
|
103
|
+
* ConnectorRef identifies the connector, resource, and credential namespace
|
|
104
|
+
* needed to execute an external tool call. MCP/internal tools may leave
|
|
105
|
+
* connection_id empty while still setting provider_id/resource metadata.
|
|
106
|
+
*
|
|
107
|
+
* @generated from message toolexecution.v1.ConnectorRef
|
|
108
|
+
*/
|
|
109
|
+
export type ConnectorRef = Message<"toolexecution.v1.ConnectorRef"> & {
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: string connection_id = 1;
|
|
112
|
+
*/
|
|
113
|
+
connectionId: string;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string provider_id = 2;
|
|
116
|
+
*/
|
|
117
|
+
providerId: string;
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string resource_id = 3;
|
|
120
|
+
*/
|
|
121
|
+
resourceId: string;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string resource_kind = 4;
|
|
124
|
+
*/
|
|
125
|
+
resourceKind: string;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: string credential_ref = 5;
|
|
128
|
+
*/
|
|
129
|
+
credentialRef: string;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string credential_environment = 6;
|
|
132
|
+
*/
|
|
133
|
+
credentialEnvironment: string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message toolexecution.v1.ConnectorRef.
|
|
137
|
+
* Use `create(ConnectorRefSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export declare const ConnectorRefSchema: GenMessage<ConnectorRef>;
|
|
140
|
+
/**
|
|
141
|
+
* ToolRetryPolicy prevents blind retries for side-effecting tools. If a tool is
|
|
142
|
+
* not idempotent, callers must set allow_non_idempotent_retry and provide an
|
|
143
|
+
* idempotency_key before retries beyond the first attempt are honored.
|
|
144
|
+
*
|
|
145
|
+
* @generated from message toolexecution.v1.ToolRetryPolicy
|
|
146
|
+
*/
|
|
147
|
+
export type ToolRetryPolicy = Message<"toolexecution.v1.ToolRetryPolicy"> & {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: int32 max_attempts = 1;
|
|
150
|
+
*/
|
|
151
|
+
maxAttempts: number;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: int32 initial_delay_ms = 2;
|
|
154
|
+
*/
|
|
155
|
+
initialDelayMs: number;
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: int32 max_delay_ms = 3;
|
|
158
|
+
*/
|
|
159
|
+
maxDelayMs: number;
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: bool allow_non_idempotent_retry = 4;
|
|
162
|
+
*/
|
|
163
|
+
allowNonIdempotentRetry: boolean;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message toolexecution.v1.ToolRetryPolicy.
|
|
167
|
+
* Use `create(ToolRetryPolicySchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
export declare const ToolRetryPolicySchema: GenMessage<ToolRetryPolicy>;
|
|
170
|
+
/**
|
|
171
|
+
* ToolExecutionStep records one boundary decision in the execution path.
|
|
172
|
+
*
|
|
173
|
+
* @generated from message toolexecution.v1.ToolExecutionStep
|
|
174
|
+
*/
|
|
175
|
+
export type ToolExecutionStep = Message<"toolexecution.v1.ToolExecutionStep"> & {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: string id = 1;
|
|
178
|
+
*/
|
|
179
|
+
id: string;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: toolexecution.v1.ToolExecutionStage stage = 2;
|
|
182
|
+
*/
|
|
183
|
+
stage: ToolExecutionStage;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: toolexecution.v1.ToolExecutionStepState state = 3;
|
|
186
|
+
*/
|
|
187
|
+
state: ToolExecutionStepState;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: toolexecution.v1.ToolExecutionPolicyDecision decision = 4;
|
|
190
|
+
*/
|
|
191
|
+
decision: ToolExecutionPolicyDecision;
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: string external_ref = 5;
|
|
194
|
+
*/
|
|
195
|
+
externalRef: string;
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: repeated string reasons = 6;
|
|
198
|
+
*/
|
|
199
|
+
reasons: string[];
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: map<string, string> attributes = 7;
|
|
202
|
+
*/
|
|
203
|
+
attributes: {
|
|
204
|
+
[key: string]: string;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: google.protobuf.Timestamp started_at = 8;
|
|
208
|
+
*/
|
|
209
|
+
startedAt?: Timestamp;
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: google.protobuf.Timestamp ended_at = 9;
|
|
212
|
+
*/
|
|
213
|
+
endedAt?: Timestamp;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message toolexecution.v1.ToolExecutionStep.
|
|
217
|
+
* Use `create(ToolExecutionStepSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export declare const ToolExecutionStepSchema: GenMessage<ToolExecutionStep>;
|
|
220
|
+
/**
|
|
221
|
+
* ToolApprovalWait is stored when policy requires human approval. The
|
|
222
|
+
* resume_token and original request allow AgentRun to release compute and later
|
|
223
|
+
* resume without reconstructing or mutating the tool call.
|
|
224
|
+
*
|
|
225
|
+
* @generated from message toolexecution.v1.ToolApprovalWait
|
|
226
|
+
*/
|
|
227
|
+
export type ToolApprovalWait = Message<"toolexecution.v1.ToolApprovalWait"> & {
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string id = 1;
|
|
230
|
+
*/
|
|
231
|
+
id: string;
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: string approval_request_id = 2;
|
|
234
|
+
*/
|
|
235
|
+
approvalRequestId: string;
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: string resume_token = 3;
|
|
238
|
+
*/
|
|
239
|
+
resumeToken: string;
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: string reason = 4;
|
|
242
|
+
*/
|
|
243
|
+
reason: string;
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: toolexecution.v1.ToolExecutionPolicyDecision requested_decision = 5;
|
|
246
|
+
*/
|
|
247
|
+
requestedDecision: ToolExecutionPolicyDecision;
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
250
|
+
*/
|
|
251
|
+
createdAt?: Timestamp;
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: google.protobuf.Timestamp resolved_at = 7;
|
|
254
|
+
*/
|
|
255
|
+
resolvedAt?: Timestamp;
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: string resolved_by = 8;
|
|
258
|
+
*/
|
|
259
|
+
resolvedBy: string;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Describes the message toolexecution.v1.ToolApprovalWait.
|
|
263
|
+
* Use `create(ToolApprovalWaitSchema)` to create a new message.
|
|
264
|
+
*/
|
|
265
|
+
export declare const ToolApprovalWaitSchema: GenMessage<ToolApprovalWait>;
|
|
266
|
+
/**
|
|
267
|
+
* ToolExecutionOutput is deliberately structured: safe_output can be fed to a
|
|
268
|
+
* run checkpoint, artifact proposal, or memory proposal without raw connector
|
|
269
|
+
* secrets or unredacted byproducts.
|
|
270
|
+
*
|
|
271
|
+
* @generated from message toolexecution.v1.ToolExecutionOutput
|
|
272
|
+
*/
|
|
273
|
+
export type ToolExecutionOutput = Message<"toolexecution.v1.ToolExecutionOutput"> & {
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: google.protobuf.Struct raw_output = 1;
|
|
276
|
+
*/
|
|
277
|
+
rawOutput?: JsonObject;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: google.protobuf.Struct safe_output = 2;
|
|
280
|
+
*/
|
|
281
|
+
safeOutput?: JsonObject;
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: repeated toolexecution.v1.ToolOutputProposal proposals = 3;
|
|
284
|
+
*/
|
|
285
|
+
proposals: ToolOutputProposal[];
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: repeated string redactions = 4;
|
|
288
|
+
*/
|
|
289
|
+
redactions: string[];
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: string content_type = 5;
|
|
292
|
+
*/
|
|
293
|
+
contentType: string;
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: string output_digest = 6;
|
|
296
|
+
*/
|
|
297
|
+
outputDigest: string;
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: int64 duration_ms = 7;
|
|
300
|
+
*/
|
|
301
|
+
durationMs: bigint;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* Describes the message toolexecution.v1.ToolExecutionOutput.
|
|
305
|
+
* Use `create(ToolExecutionOutputSchema)` to create a new message.
|
|
306
|
+
*/
|
|
307
|
+
export declare const ToolExecutionOutputSchema: GenMessage<ToolExecutionOutput>;
|
|
308
|
+
/**
|
|
309
|
+
* ToolOutputProposal is a normalized downstream write suggestion from a tool.
|
|
310
|
+
*
|
|
311
|
+
* @generated from message toolexecution.v1.ToolOutputProposal
|
|
312
|
+
*/
|
|
313
|
+
export type ToolOutputProposal = Message<"toolexecution.v1.ToolOutputProposal"> & {
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: toolexecution.v1.ToolExecutionProposalKind kind = 1;
|
|
316
|
+
*/
|
|
317
|
+
kind: ToolExecutionProposalKind;
|
|
318
|
+
/**
|
|
319
|
+
* @generated from field: string target_ref = 2;
|
|
320
|
+
*/
|
|
321
|
+
targetRef: string;
|
|
322
|
+
/**
|
|
323
|
+
* @generated from field: google.protobuf.Struct payload = 3;
|
|
324
|
+
*/
|
|
325
|
+
payload?: JsonObject;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from field: map<string, string> metadata = 4;
|
|
328
|
+
*/
|
|
329
|
+
metadata: {
|
|
330
|
+
[key: string]: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Describes the message toolexecution.v1.ToolOutputProposal.
|
|
335
|
+
* Use `create(ToolOutputProposalSchema)` to create a new message.
|
|
336
|
+
*/
|
|
337
|
+
export declare const ToolOutputProposalSchema: GenMessage<ToolOutputProposal>;
|
|
338
|
+
/**
|
|
339
|
+
* ToolExecutionProvenance records non-secret references emitted by each
|
|
340
|
+
* boundary so audit, meter, AgentRun, Artifact, and Memory records can join on
|
|
341
|
+
* one tool_execution_id.
|
|
342
|
+
*
|
|
343
|
+
* @generated from message toolexecution.v1.ToolExecutionProvenance
|
|
344
|
+
*/
|
|
345
|
+
export type ToolExecutionProvenance = Message<"toolexecution.v1.ToolExecutionProvenance"> & {
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: string capability_ref = 1;
|
|
348
|
+
*/
|
|
349
|
+
capabilityRef: string;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: string credential_ref = 2;
|
|
352
|
+
*/
|
|
353
|
+
credentialRef: string;
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: string gate_policy_ref = 3;
|
|
356
|
+
*/
|
|
357
|
+
gatePolicyRef: string;
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: string governance_decision_ref = 4;
|
|
360
|
+
*/
|
|
361
|
+
governanceDecisionRef: string;
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: string approval_request_id = 5;
|
|
364
|
+
*/
|
|
365
|
+
approvalRequestId: string;
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: string executor_ref = 6;
|
|
368
|
+
*/
|
|
369
|
+
executorRef: string;
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string audit_event_id = 7;
|
|
372
|
+
*/
|
|
373
|
+
auditEventId: string;
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: string meter_record_id = 8;
|
|
376
|
+
*/
|
|
377
|
+
meterRecordId: string;
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: string provenance_record_id = 9;
|
|
380
|
+
*/
|
|
381
|
+
provenanceRecordId: string;
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: string input_digest = 10;
|
|
384
|
+
*/
|
|
385
|
+
inputDigest: string;
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: string output_digest = 11;
|
|
388
|
+
*/
|
|
389
|
+
outputDigest: string;
|
|
390
|
+
/**
|
|
391
|
+
* @generated from field: map<string, string> metadata = 12;
|
|
392
|
+
*/
|
|
393
|
+
metadata: {
|
|
394
|
+
[key: string]: string;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* Describes the message toolexecution.v1.ToolExecutionProvenance.
|
|
399
|
+
* Use `create(ToolExecutionProvenanceSchema)` to create a new message.
|
|
400
|
+
*/
|
|
401
|
+
export declare const ToolExecutionProvenanceSchema: GenMessage<ToolExecutionProvenance>;
|
|
402
|
+
/**
|
|
403
|
+
* ToolExecution is the canonical durable record for one governed tool call.
|
|
404
|
+
*
|
|
405
|
+
* @generated from message toolexecution.v1.ToolExecution
|
|
406
|
+
*/
|
|
407
|
+
export type ToolExecution = Message<"toolexecution.v1.ToolExecution"> & {
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: string id = 1;
|
|
410
|
+
*/
|
|
411
|
+
id: string;
|
|
412
|
+
/**
|
|
413
|
+
* @generated from field: toolexecution.v1.ToolExecutionLinkage linkage = 2;
|
|
414
|
+
*/
|
|
415
|
+
linkage?: ToolExecutionLinkage;
|
|
416
|
+
/**
|
|
417
|
+
* @generated from field: toolexecution.v1.ToolRef tool = 3;
|
|
418
|
+
*/
|
|
419
|
+
tool?: ToolRef;
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: toolexecution.v1.ConnectorRef connector = 4;
|
|
422
|
+
*/
|
|
423
|
+
connector?: ConnectorRef;
|
|
424
|
+
/**
|
|
425
|
+
* @generated from field: google.protobuf.Struct arguments = 5;
|
|
426
|
+
*/
|
|
427
|
+
arguments?: JsonObject;
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: common.v1.RiskLevel risk_level = 6;
|
|
430
|
+
*/
|
|
431
|
+
riskLevel: RiskLevel;
|
|
432
|
+
/**
|
|
433
|
+
* @generated from field: toolexecution.v1.ToolRetryPolicy retry_policy = 7;
|
|
434
|
+
*/
|
|
435
|
+
retryPolicy?: ToolRetryPolicy;
|
|
436
|
+
/**
|
|
437
|
+
* @generated from field: string idempotency_key = 8;
|
|
438
|
+
*/
|
|
439
|
+
idempotencyKey: string;
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: toolexecution.v1.ToolExecutionState state = 9;
|
|
442
|
+
*/
|
|
443
|
+
state: ToolExecutionState;
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: int32 attempt = 10;
|
|
446
|
+
*/
|
|
447
|
+
attempt: number;
|
|
448
|
+
/**
|
|
449
|
+
* @generated from field: int32 max_attempts = 11;
|
|
450
|
+
*/
|
|
451
|
+
maxAttempts: number;
|
|
452
|
+
/**
|
|
453
|
+
* @generated from field: repeated toolexecution.v1.ToolExecutionStep steps = 12;
|
|
454
|
+
*/
|
|
455
|
+
steps: ToolExecutionStep[];
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: toolexecution.v1.ToolApprovalWait approval_wait = 13;
|
|
458
|
+
*/
|
|
459
|
+
approvalWait?: ToolApprovalWait;
|
|
460
|
+
/**
|
|
461
|
+
* @generated from field: toolexecution.v1.ToolExecutionOutput output = 14;
|
|
462
|
+
*/
|
|
463
|
+
output?: ToolExecutionOutput;
|
|
464
|
+
/**
|
|
465
|
+
* @generated from field: toolexecution.v1.ToolExecutionProvenance provenance = 15;
|
|
466
|
+
*/
|
|
467
|
+
provenance?: ToolExecutionProvenance;
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: string error_message = 16;
|
|
470
|
+
*/
|
|
471
|
+
errorMessage: string;
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: google.protobuf.Timestamp created_at = 17;
|
|
474
|
+
*/
|
|
475
|
+
createdAt?: Timestamp;
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 18;
|
|
478
|
+
*/
|
|
479
|
+
updatedAt?: Timestamp;
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 19;
|
|
482
|
+
*/
|
|
483
|
+
completedAt?: Timestamp;
|
|
484
|
+
};
|
|
485
|
+
/**
|
|
486
|
+
* Describes the message toolexecution.v1.ToolExecution.
|
|
487
|
+
* Use `create(ToolExecutionSchema)` to create a new message.
|
|
488
|
+
*/
|
|
489
|
+
export declare const ToolExecutionSchema: GenMessage<ToolExecution>;
|
|
490
|
+
/**
|
|
491
|
+
* @generated from message toolexecution.v1.ExecuteToolRequest
|
|
492
|
+
*/
|
|
493
|
+
export type ExecuteToolRequest = Message<"toolexecution.v1.ExecuteToolRequest"> & {
|
|
494
|
+
/**
|
|
495
|
+
* @generated from field: toolexecution.v1.ToolExecutionLinkage linkage = 1;
|
|
496
|
+
*/
|
|
497
|
+
linkage?: ToolExecutionLinkage;
|
|
498
|
+
/**
|
|
499
|
+
* @generated from field: toolexecution.v1.ToolRef tool = 2;
|
|
500
|
+
*/
|
|
501
|
+
tool?: ToolRef;
|
|
502
|
+
/**
|
|
503
|
+
* @generated from field: toolexecution.v1.ConnectorRef connector = 3;
|
|
504
|
+
*/
|
|
505
|
+
connector?: ConnectorRef;
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: google.protobuf.Struct arguments = 4;
|
|
508
|
+
*/
|
|
509
|
+
arguments?: JsonObject;
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: common.v1.RiskLevel risk_level = 5;
|
|
512
|
+
*/
|
|
513
|
+
riskLevel: RiskLevel;
|
|
514
|
+
/**
|
|
515
|
+
* @generated from field: toolexecution.v1.ToolRetryPolicy retry_policy = 6;
|
|
516
|
+
*/
|
|
517
|
+
retryPolicy?: ToolRetryPolicy;
|
|
518
|
+
/**
|
|
519
|
+
* @generated from field: string idempotency_key = 7;
|
|
520
|
+
*/
|
|
521
|
+
idempotencyKey: string;
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: map<string, string> metadata = 8;
|
|
524
|
+
*/
|
|
525
|
+
metadata: {
|
|
526
|
+
[key: string]: string;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* Describes the message toolexecution.v1.ExecuteToolRequest.
|
|
531
|
+
* Use `create(ExecuteToolRequestSchema)` to create a new message.
|
|
532
|
+
*/
|
|
533
|
+
export declare const ExecuteToolRequestSchema: GenMessage<ExecuteToolRequest>;
|
|
534
|
+
/**
|
|
535
|
+
* @generated from message toolexecution.v1.ExecuteToolResponse
|
|
536
|
+
*/
|
|
537
|
+
export type ExecuteToolResponse = Message<"toolexecution.v1.ExecuteToolResponse"> & {
|
|
538
|
+
/**
|
|
539
|
+
* @generated from field: toolexecution.v1.ToolExecution execution = 1;
|
|
540
|
+
*/
|
|
541
|
+
execution?: ToolExecution;
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: bool idempotent_replay = 2;
|
|
544
|
+
*/
|
|
545
|
+
idempotentReplay: boolean;
|
|
546
|
+
};
|
|
547
|
+
/**
|
|
548
|
+
* Describes the message toolexecution.v1.ExecuteToolResponse.
|
|
549
|
+
* Use `create(ExecuteToolResponseSchema)` to create a new message.
|
|
550
|
+
*/
|
|
551
|
+
export declare const ExecuteToolResponseSchema: GenMessage<ExecuteToolResponse>;
|
|
552
|
+
/**
|
|
553
|
+
* @generated from message toolexecution.v1.ResumeToolExecutionRequest
|
|
554
|
+
*/
|
|
555
|
+
export type ResumeToolExecutionRequest = Message<"toolexecution.v1.ResumeToolExecutionRequest"> & {
|
|
556
|
+
/**
|
|
557
|
+
* @generated from field: string execution_id = 1;
|
|
558
|
+
*/
|
|
559
|
+
executionId: string;
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: string approval_request_id = 2;
|
|
562
|
+
*/
|
|
563
|
+
approvalRequestId: string;
|
|
564
|
+
/**
|
|
565
|
+
* @generated from field: string resume_token = 3;
|
|
566
|
+
*/
|
|
567
|
+
resumeToken: string;
|
|
568
|
+
/**
|
|
569
|
+
* @generated from field: bool approved = 4;
|
|
570
|
+
*/
|
|
571
|
+
approved: boolean;
|
|
572
|
+
/**
|
|
573
|
+
* @generated from field: string decided_by = 5;
|
|
574
|
+
*/
|
|
575
|
+
decidedBy: string;
|
|
576
|
+
/**
|
|
577
|
+
* @generated from field: string reason = 6;
|
|
578
|
+
*/
|
|
579
|
+
reason: string;
|
|
580
|
+
};
|
|
581
|
+
/**
|
|
582
|
+
* Describes the message toolexecution.v1.ResumeToolExecutionRequest.
|
|
583
|
+
* Use `create(ResumeToolExecutionRequestSchema)` to create a new message.
|
|
584
|
+
*/
|
|
585
|
+
export declare const ResumeToolExecutionRequestSchema: GenMessage<ResumeToolExecutionRequest>;
|
|
586
|
+
/**
|
|
587
|
+
* @generated from message toolexecution.v1.ResumeToolExecutionResponse
|
|
588
|
+
*/
|
|
589
|
+
export type ResumeToolExecutionResponse = Message<"toolexecution.v1.ResumeToolExecutionResponse"> & {
|
|
590
|
+
/**
|
|
591
|
+
* @generated from field: toolexecution.v1.ToolExecution execution = 1;
|
|
592
|
+
*/
|
|
593
|
+
execution?: ToolExecution;
|
|
594
|
+
};
|
|
595
|
+
/**
|
|
596
|
+
* Describes the message toolexecution.v1.ResumeToolExecutionResponse.
|
|
597
|
+
* Use `create(ResumeToolExecutionResponseSchema)` to create a new message.
|
|
598
|
+
*/
|
|
599
|
+
export declare const ResumeToolExecutionResponseSchema: GenMessage<ResumeToolExecutionResponse>;
|
|
600
|
+
/**
|
|
601
|
+
* @generated from message toolexecution.v1.RecordToolExecutionOutputRequest
|
|
602
|
+
*/
|
|
603
|
+
export type RecordToolExecutionOutputRequest = Message<"toolexecution.v1.RecordToolExecutionOutputRequest"> & {
|
|
604
|
+
/**
|
|
605
|
+
* @generated from field: string execution_id = 1;
|
|
606
|
+
*/
|
|
607
|
+
executionId: string;
|
|
608
|
+
/**
|
|
609
|
+
* @generated from field: toolexecution.v1.ToolExecutionOutput output = 2;
|
|
610
|
+
*/
|
|
611
|
+
output?: ToolExecutionOutput;
|
|
612
|
+
/**
|
|
613
|
+
* @generated from field: map<string, string> metadata = 3;
|
|
614
|
+
*/
|
|
615
|
+
metadata: {
|
|
616
|
+
[key: string]: string;
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Describes the message toolexecution.v1.RecordToolExecutionOutputRequest.
|
|
621
|
+
* Use `create(RecordToolExecutionOutputRequestSchema)` to create a new message.
|
|
622
|
+
*/
|
|
623
|
+
export declare const RecordToolExecutionOutputRequestSchema: GenMessage<RecordToolExecutionOutputRequest>;
|
|
624
|
+
/**
|
|
625
|
+
* @generated from message toolexecution.v1.RecordToolExecutionOutputResponse
|
|
626
|
+
*/
|
|
627
|
+
export type RecordToolExecutionOutputResponse = Message<"toolexecution.v1.RecordToolExecutionOutputResponse"> & {
|
|
628
|
+
/**
|
|
629
|
+
* @generated from field: toolexecution.v1.ToolExecution execution = 1;
|
|
630
|
+
*/
|
|
631
|
+
execution?: ToolExecution;
|
|
632
|
+
};
|
|
633
|
+
/**
|
|
634
|
+
* Describes the message toolexecution.v1.RecordToolExecutionOutputResponse.
|
|
635
|
+
* Use `create(RecordToolExecutionOutputResponseSchema)` to create a new message.
|
|
636
|
+
*/
|
|
637
|
+
export declare const RecordToolExecutionOutputResponseSchema: GenMessage<RecordToolExecutionOutputResponse>;
|
|
638
|
+
/**
|
|
639
|
+
* @generated from message toolexecution.v1.GetToolExecutionRequest
|
|
640
|
+
*/
|
|
641
|
+
export type GetToolExecutionRequest = Message<"toolexecution.v1.GetToolExecutionRequest"> & {
|
|
642
|
+
/**
|
|
643
|
+
* @generated from field: string id = 1;
|
|
644
|
+
*/
|
|
645
|
+
id: string;
|
|
646
|
+
};
|
|
647
|
+
/**
|
|
648
|
+
* Describes the message toolexecution.v1.GetToolExecutionRequest.
|
|
649
|
+
* Use `create(GetToolExecutionRequestSchema)` to create a new message.
|
|
650
|
+
*/
|
|
651
|
+
export declare const GetToolExecutionRequestSchema: GenMessage<GetToolExecutionRequest>;
|
|
652
|
+
/**
|
|
653
|
+
* @generated from message toolexecution.v1.GetToolExecutionResponse
|
|
654
|
+
*/
|
|
655
|
+
export type GetToolExecutionResponse = Message<"toolexecution.v1.GetToolExecutionResponse"> & {
|
|
656
|
+
/**
|
|
657
|
+
* @generated from field: toolexecution.v1.ToolExecution execution = 1;
|
|
658
|
+
*/
|
|
659
|
+
execution?: ToolExecution;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Describes the message toolexecution.v1.GetToolExecutionResponse.
|
|
663
|
+
* Use `create(GetToolExecutionResponseSchema)` to create a new message.
|
|
664
|
+
*/
|
|
665
|
+
export declare const GetToolExecutionResponseSchema: GenMessage<GetToolExecutionResponse>;
|
|
666
|
+
/**
|
|
667
|
+
* @generated from message toolexecution.v1.ListToolExecutionsRequest
|
|
668
|
+
*/
|
|
669
|
+
export type ListToolExecutionsRequest = Message<"toolexecution.v1.ListToolExecutionsRequest"> & {
|
|
670
|
+
/**
|
|
671
|
+
* @generated from field: string workspace_id = 1;
|
|
672
|
+
*/
|
|
673
|
+
workspaceId: string;
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: string run_id = 2;
|
|
676
|
+
*/
|
|
677
|
+
runId: string;
|
|
678
|
+
/**
|
|
679
|
+
* @generated from field: string objective_id = 3;
|
|
680
|
+
*/
|
|
681
|
+
objectiveId: string;
|
|
682
|
+
/**
|
|
683
|
+
* @generated from field: string agent_id = 4;
|
|
684
|
+
*/
|
|
685
|
+
agentId: string;
|
|
686
|
+
/**
|
|
687
|
+
* @generated from field: string tool_namespace = 5;
|
|
688
|
+
*/
|
|
689
|
+
toolNamespace: string;
|
|
690
|
+
/**
|
|
691
|
+
* @generated from field: string tool_name = 6;
|
|
692
|
+
*/
|
|
693
|
+
toolName: string;
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: string connection_id = 7;
|
|
696
|
+
*/
|
|
697
|
+
connectionId: string;
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: string approval_request_id = 8;
|
|
700
|
+
*/
|
|
701
|
+
approvalRequestId: string;
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: toolexecution.v1.ToolExecutionState state = 9;
|
|
704
|
+
*/
|
|
705
|
+
state: ToolExecutionState;
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: int32 limit = 10;
|
|
708
|
+
*/
|
|
709
|
+
limit: number;
|
|
710
|
+
/**
|
|
711
|
+
* @generated from field: int32 offset = 11;
|
|
712
|
+
*/
|
|
713
|
+
offset: number;
|
|
714
|
+
};
|
|
715
|
+
/**
|
|
716
|
+
* Describes the message toolexecution.v1.ListToolExecutionsRequest.
|
|
717
|
+
* Use `create(ListToolExecutionsRequestSchema)` to create a new message.
|
|
718
|
+
*/
|
|
719
|
+
export declare const ListToolExecutionsRequestSchema: GenMessage<ListToolExecutionsRequest>;
|
|
720
|
+
/**
|
|
721
|
+
* @generated from message toolexecution.v1.ListToolExecutionsResponse
|
|
722
|
+
*/
|
|
723
|
+
export type ListToolExecutionsResponse = Message<"toolexecution.v1.ListToolExecutionsResponse"> & {
|
|
724
|
+
/**
|
|
725
|
+
* @generated from field: repeated toolexecution.v1.ToolExecution executions = 1;
|
|
726
|
+
*/
|
|
727
|
+
executions: ToolExecution[];
|
|
728
|
+
/**
|
|
729
|
+
* @generated from field: int32 total = 2;
|
|
730
|
+
*/
|
|
731
|
+
total: number;
|
|
732
|
+
/**
|
|
733
|
+
* @generated from field: bool has_more = 3;
|
|
734
|
+
*/
|
|
735
|
+
hasMore: boolean;
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* Describes the message toolexecution.v1.ListToolExecutionsResponse.
|
|
739
|
+
* Use `create(ListToolExecutionsResponseSchema)` to create a new message.
|
|
740
|
+
*/
|
|
741
|
+
export declare const ListToolExecutionsResponseSchema: GenMessage<ListToolExecutionsResponse>;
|
|
742
|
+
/**
|
|
743
|
+
* ToolExecutionState is the durable lifecycle for one tool call.
|
|
744
|
+
*
|
|
745
|
+
* @generated from enum toolexecution.v1.ToolExecutionState
|
|
746
|
+
*/
|
|
747
|
+
export declare enum ToolExecutionState {
|
|
748
|
+
/**
|
|
749
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_UNSPECIFIED = 0;
|
|
750
|
+
*/
|
|
751
|
+
UNSPECIFIED = 0,
|
|
752
|
+
/**
|
|
753
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_ACCEPTED = 1;
|
|
754
|
+
*/
|
|
755
|
+
ACCEPTED = 1,
|
|
756
|
+
/**
|
|
757
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_POLICY_EVALUATING = 2;
|
|
758
|
+
*/
|
|
759
|
+
POLICY_EVALUATING = 2,
|
|
760
|
+
/**
|
|
761
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_WAITING_APPROVAL = 3;
|
|
762
|
+
*/
|
|
763
|
+
WAITING_APPROVAL = 3,
|
|
764
|
+
/**
|
|
765
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_RUNNING = 4;
|
|
766
|
+
*/
|
|
767
|
+
RUNNING = 4,
|
|
768
|
+
/**
|
|
769
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_SUCCEEDED = 5;
|
|
770
|
+
*/
|
|
771
|
+
SUCCEEDED = 5,
|
|
772
|
+
/**
|
|
773
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_FAILED = 6;
|
|
774
|
+
*/
|
|
775
|
+
FAILED = 6,
|
|
776
|
+
/**
|
|
777
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_DENIED = 7;
|
|
778
|
+
*/
|
|
779
|
+
DENIED = 7,
|
|
780
|
+
/**
|
|
781
|
+
* @generated from enum value: TOOL_EXECUTION_STATE_CANCELLED = 8;
|
|
782
|
+
*/
|
|
783
|
+
CANCELLED = 8
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Describes the enum toolexecution.v1.ToolExecutionState.
|
|
787
|
+
*/
|
|
788
|
+
export declare const ToolExecutionStateSchema: GenEnum<ToolExecutionState>;
|
|
789
|
+
/**
|
|
790
|
+
* ToolExecutionStage names each platform boundary crossed by ExecuteTool.
|
|
791
|
+
*
|
|
792
|
+
* @generated from enum toolexecution.v1.ToolExecutionStage
|
|
793
|
+
*/
|
|
794
|
+
export declare enum ToolExecutionStage {
|
|
795
|
+
/**
|
|
796
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_UNSPECIFIED = 0;
|
|
797
|
+
*/
|
|
798
|
+
UNSPECIFIED = 0,
|
|
799
|
+
/**
|
|
800
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_CAPABILITY_LOOKUP = 1;
|
|
801
|
+
*/
|
|
802
|
+
CAPABILITY_LOOKUP = 1,
|
|
803
|
+
/**
|
|
804
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_CREDENTIAL_RESOLUTION = 2;
|
|
805
|
+
*/
|
|
806
|
+
CREDENTIAL_RESOLUTION = 2,
|
|
807
|
+
/**
|
|
808
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_GATE_POLICY = 3;
|
|
809
|
+
*/
|
|
810
|
+
GATE_POLICY = 3,
|
|
811
|
+
/**
|
|
812
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_GOVERNANCE_POLICY = 4;
|
|
813
|
+
*/
|
|
814
|
+
GOVERNANCE_POLICY = 4,
|
|
815
|
+
/**
|
|
816
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_APPROVAL = 5;
|
|
817
|
+
*/
|
|
818
|
+
APPROVAL = 5,
|
|
819
|
+
/**
|
|
820
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_EXECUTION = 6;
|
|
821
|
+
*/
|
|
822
|
+
EXECUTION = 6,
|
|
823
|
+
/**
|
|
824
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_AUDIT = 7;
|
|
825
|
+
*/
|
|
826
|
+
AUDIT = 7,
|
|
827
|
+
/**
|
|
828
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_METER = 8;
|
|
829
|
+
*/
|
|
830
|
+
METER = 8,
|
|
831
|
+
/**
|
|
832
|
+
* @generated from enum value: TOOL_EXECUTION_STAGE_PROVENANCE = 9;
|
|
833
|
+
*/
|
|
834
|
+
PROVENANCE = 9
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Describes the enum toolexecution.v1.ToolExecutionStage.
|
|
838
|
+
*/
|
|
839
|
+
export declare const ToolExecutionStageSchema: GenEnum<ToolExecutionStage>;
|
|
840
|
+
/**
|
|
841
|
+
* ToolExecutionStepState describes the state of a platform boundary decision.
|
|
842
|
+
*
|
|
843
|
+
* @generated from enum toolexecution.v1.ToolExecutionStepState
|
|
844
|
+
*/
|
|
845
|
+
export declare enum ToolExecutionStepState {
|
|
846
|
+
/**
|
|
847
|
+
* @generated from enum value: TOOL_EXECUTION_STEP_STATE_UNSPECIFIED = 0;
|
|
848
|
+
*/
|
|
849
|
+
UNSPECIFIED = 0,
|
|
850
|
+
/**
|
|
851
|
+
* @generated from enum value: TOOL_EXECUTION_STEP_STATE_SUCCEEDED = 1;
|
|
852
|
+
*/
|
|
853
|
+
SUCCEEDED = 1,
|
|
854
|
+
/**
|
|
855
|
+
* @generated from enum value: TOOL_EXECUTION_STEP_STATE_WAITING = 2;
|
|
856
|
+
*/
|
|
857
|
+
WAITING = 2,
|
|
858
|
+
/**
|
|
859
|
+
* @generated from enum value: TOOL_EXECUTION_STEP_STATE_DENIED = 3;
|
|
860
|
+
*/
|
|
861
|
+
DENIED = 3,
|
|
862
|
+
/**
|
|
863
|
+
* @generated from enum value: TOOL_EXECUTION_STEP_STATE_FAILED = 4;
|
|
864
|
+
*/
|
|
865
|
+
FAILED = 4,
|
|
866
|
+
/**
|
|
867
|
+
* @generated from enum value: TOOL_EXECUTION_STEP_STATE_SKIPPED = 5;
|
|
868
|
+
*/
|
|
869
|
+
SKIPPED = 5
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* Describes the enum toolexecution.v1.ToolExecutionStepState.
|
|
873
|
+
*/
|
|
874
|
+
export declare const ToolExecutionStepStateSchema: GenEnum<ToolExecutionStepState>;
|
|
875
|
+
/**
|
|
876
|
+
* ToolExecutionPolicyDecision is a normalized policy result from Gate,
|
|
877
|
+
* Governance, approval policy, or a connector capability check.
|
|
878
|
+
*
|
|
879
|
+
* @generated from enum toolexecution.v1.ToolExecutionPolicyDecision
|
|
880
|
+
*/
|
|
881
|
+
export declare enum ToolExecutionPolicyDecision {
|
|
882
|
+
/**
|
|
883
|
+
* @generated from enum value: TOOL_EXECUTION_POLICY_DECISION_UNSPECIFIED = 0;
|
|
884
|
+
*/
|
|
885
|
+
UNSPECIFIED = 0,
|
|
886
|
+
/**
|
|
887
|
+
* @generated from enum value: TOOL_EXECUTION_POLICY_DECISION_ALLOW = 1;
|
|
888
|
+
*/
|
|
889
|
+
ALLOW = 1,
|
|
890
|
+
/**
|
|
891
|
+
* @generated from enum value: TOOL_EXECUTION_POLICY_DECISION_DENY = 2;
|
|
892
|
+
*/
|
|
893
|
+
DENY = 2,
|
|
894
|
+
/**
|
|
895
|
+
* @generated from enum value: TOOL_EXECUTION_POLICY_DECISION_REQUIRE_APPROVAL = 3;
|
|
896
|
+
*/
|
|
897
|
+
REQUIRE_APPROVAL = 3
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* Describes the enum toolexecution.v1.ToolExecutionPolicyDecision.
|
|
901
|
+
*/
|
|
902
|
+
export declare const ToolExecutionPolicyDecisionSchema: GenEnum<ToolExecutionPolicyDecision>;
|
|
903
|
+
/**
|
|
904
|
+
* ToolExecutionProposalKind marks structured outputs that downstream runtime
|
|
905
|
+
* checkpoints, artifact proposals, and memory proposals may safely consume.
|
|
906
|
+
*
|
|
907
|
+
* @generated from enum toolexecution.v1.ToolExecutionProposalKind
|
|
908
|
+
*/
|
|
909
|
+
export declare enum ToolExecutionProposalKind {
|
|
910
|
+
/**
|
|
911
|
+
* @generated from enum value: TOOL_EXECUTION_PROPOSAL_KIND_UNSPECIFIED = 0;
|
|
912
|
+
*/
|
|
913
|
+
UNSPECIFIED = 0,
|
|
914
|
+
/**
|
|
915
|
+
* @generated from enum value: TOOL_EXECUTION_PROPOSAL_KIND_CHECKPOINT = 1;
|
|
916
|
+
*/
|
|
917
|
+
CHECKPOINT = 1,
|
|
918
|
+
/**
|
|
919
|
+
* @generated from enum value: TOOL_EXECUTION_PROPOSAL_KIND_ARTIFACT = 2;
|
|
920
|
+
*/
|
|
921
|
+
ARTIFACT = 2,
|
|
922
|
+
/**
|
|
923
|
+
* @generated from enum value: TOOL_EXECUTION_PROPOSAL_KIND_MEMORY = 3;
|
|
924
|
+
*/
|
|
925
|
+
MEMORY = 3
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* Describes the enum toolexecution.v1.ToolExecutionProposalKind.
|
|
929
|
+
*/
|
|
930
|
+
export declare const ToolExecutionProposalKindSchema: GenEnum<ToolExecutionProposalKind>;
|
|
931
|
+
/**
|
|
932
|
+
* ToolExecutionService governs one normalized tool call across capability
|
|
933
|
+
* lookup, credential resolution, Gate and Governance policy, approval waits,
|
|
934
|
+
* execution, audit, meter, and provenance recording. AgentRun workers call this
|
|
935
|
+
* service instead of invoking external connectors, MCP tools, or internal tools
|
|
936
|
+
* directly.
|
|
937
|
+
*
|
|
938
|
+
* @generated from service toolexecution.v1.ToolExecutionService
|
|
939
|
+
*/
|
|
940
|
+
export declare const ToolExecutionService: GenService<{
|
|
941
|
+
/**
|
|
942
|
+
* ExecuteTool starts or idempotently replays a governed tool execution.
|
|
943
|
+
*
|
|
944
|
+
* @generated from rpc toolexecution.v1.ToolExecutionService.ExecuteTool
|
|
945
|
+
*/
|
|
946
|
+
executeTool: {
|
|
947
|
+
methodKind: "unary";
|
|
948
|
+
input: typeof ExecuteToolRequestSchema;
|
|
949
|
+
output: typeof ExecuteToolResponseSchema;
|
|
950
|
+
};
|
|
951
|
+
/**
|
|
952
|
+
* ResumeToolExecution resumes an execution that was parked on an approval
|
|
953
|
+
* wait, preserving the original tool call context.
|
|
954
|
+
*
|
|
955
|
+
* @generated from rpc toolexecution.v1.ToolExecutionService.ResumeToolExecution
|
|
956
|
+
*/
|
|
957
|
+
resumeToolExecution: {
|
|
958
|
+
methodKind: "unary";
|
|
959
|
+
input: typeof ResumeToolExecutionRequestSchema;
|
|
960
|
+
output: typeof ResumeToolExecutionResponseSchema;
|
|
961
|
+
};
|
|
962
|
+
/**
|
|
963
|
+
* RecordToolExecutionOutput records an asynchronous executor result and
|
|
964
|
+
* finalizes audit, meter, and provenance metadata.
|
|
965
|
+
*
|
|
966
|
+
* @generated from rpc toolexecution.v1.ToolExecutionService.RecordToolExecutionOutput
|
|
967
|
+
*/
|
|
968
|
+
recordToolExecutionOutput: {
|
|
969
|
+
methodKind: "unary";
|
|
970
|
+
input: typeof RecordToolExecutionOutputRequestSchema;
|
|
971
|
+
output: typeof RecordToolExecutionOutputResponseSchema;
|
|
972
|
+
};
|
|
973
|
+
/**
|
|
974
|
+
* GetToolExecution retrieves one tool execution by ID.
|
|
975
|
+
*
|
|
976
|
+
* @generated from rpc toolexecution.v1.ToolExecutionService.GetToolExecution
|
|
977
|
+
*/
|
|
978
|
+
getToolExecution: {
|
|
979
|
+
methodKind: "unary";
|
|
980
|
+
input: typeof GetToolExecutionRequestSchema;
|
|
981
|
+
output: typeof GetToolExecutionResponseSchema;
|
|
982
|
+
};
|
|
983
|
+
/**
|
|
984
|
+
* ListToolExecutions lists executions by workspace, AgentRun, Objective,
|
|
985
|
+
* tool, connector, state, or approval request.
|
|
986
|
+
*
|
|
987
|
+
* @generated from rpc toolexecution.v1.ToolExecutionService.ListToolExecutions
|
|
988
|
+
*/
|
|
989
|
+
listToolExecutions: {
|
|
990
|
+
methodKind: "unary";
|
|
991
|
+
input: typeof ListToolExecutionsRequestSchema;
|
|
992
|
+
output: typeof ListToolExecutionsResponseSchema;
|
|
993
|
+
};
|
|
994
|
+
}>;
|