@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.
Files changed (116) hide show
  1. package/README.md +15 -0
  2. package/dist/agentregistry/v1/service_pb.d.ts +458 -0
  3. package/dist/agentregistry/v1/service_pb.js +100 -0
  4. package/dist/agentruntime/v1/runtime_pb.d.ts +1809 -0
  5. package/dist/agentruntime/v1/runtime_pb.js +480 -0
  6. package/dist/agents/v1/agents_pb.d.ts +1151 -0
  7. package/dist/agents/v1/agents_pb.js +256 -0
  8. package/dist/approvals/v1/approvals_pb.d.ts +788 -0
  9. package/dist/approvals/v1/approvals_pb.js +212 -0
  10. package/dist/artifacts/v1/artifacts_pb.d.ts +1079 -0
  11. package/dist/artifacts/v1/artifacts_pb.js +292 -0
  12. package/dist/attestation/v1/attestation_pb.d.ts +359 -0
  13. package/dist/attestation/v1/attestation_pb.js +84 -0
  14. package/dist/attribution/v1/attribution_pb.d.ts +1312 -0
  15. package/dist/attribution/v1/attribution_pb.js +285 -0
  16. package/dist/audit/v1/audit_pb.d.ts +1151 -0
  17. package/dist/audit/v1/audit_pb.js +262 -0
  18. package/dist/buf/validate/validate_pb.d.ts +4827 -0
  19. package/dist/buf/validate/validate_pb.js +356 -0
  20. package/dist/catalogs/v1/catalogs_pb.d.ts +150 -0
  21. package/dist/catalogs/v1/catalogs_pb.js +38 -0
  22. package/dist/common/v1/analytics_pb.d.ts +134 -0
  23. package/dist/common/v1/analytics_pb.js +72 -0
  24. package/dist/common/v1/authz_pb.d.ts +23 -0
  25. package/dist/common/v1/authz_pb.js +26 -0
  26. package/dist/common/v1/delivery_pb.d.ts +36 -0
  27. package/dist/common/v1/delivery_pb.js +40 -0
  28. package/dist/common/v1/entity_pb.d.ts +44 -0
  29. package/dist/common/v1/entity_pb.js +48 -0
  30. package/dist/common/v1/risk_pb.d.ts +36 -0
  31. package/dist/common/v1/risk_pb.js +40 -0
  32. package/dist/compliance/v1/compliance_pb.d.ts +866 -0
  33. package/dist/compliance/v1/compliance_pb.js +240 -0
  34. package/dist/config/v1/config_pb.d.ts +589 -0
  35. package/dist/config/v1/config_pb.js +164 -0
  36. package/dist/connectors/v1/connectors_pb.d.ts +653 -0
  37. package/dist/connectors/v1/connectors_pb.js +236 -0
  38. package/dist/entities/v1/entities_pb.d.ts +784 -0
  39. package/dist/entities/v1/entities_pb.js +197 -0
  40. package/dist/evalpipeline/v1/evalpipeline_pb.d.ts +943 -0
  41. package/dist/evalpipeline/v1/evalpipeline_pb.js +227 -0
  42. package/dist/events/v1/change_pb.d.ts +60 -0
  43. package/dist/events/v1/change_pb.js +14 -0
  44. package/dist/events/v1/cloudevent_pb.d.ts +63 -0
  45. package/dist/events/v1/cloudevent_pb.js +14 -0
  46. package/dist/events/v1/evaluation_pb.d.ts +124 -0
  47. package/dist/events/v1/evaluation_pb.js +24 -0
  48. package/dist/fermata/v1/fermata_pb.d.ts +1869 -0
  49. package/dist/fermata/v1/fermata_pb.js +515 -0
  50. package/dist/fermata/v1/worker_pb.d.ts +223 -0
  51. package/dist/fermata/v1/worker_pb.js +55 -0
  52. package/dist/gate/v1/audit_pb.d.ts +243 -0
  53. package/dist/gate/v1/audit_pb.js +60 -0
  54. package/dist/gate/v1/connector_pb.d.ts +360 -0
  55. package/dist/gate/v1/connector_pb.js +91 -0
  56. package/dist/gate/v1/controlplane_pb.d.ts +345 -0
  57. package/dist/gate/v1/controlplane_pb.js +19 -0
  58. package/dist/gate/v1/identity_group_pb.d.ts +255 -0
  59. package/dist/gate/v1/identity_group_pb.js +90 -0
  60. package/dist/gate/v1/recording_pb.d.ts +93 -0
  61. package/dist/gate/v1/recording_pb.js +35 -0
  62. package/dist/gate/v1/resource_policy_pb.d.ts +541 -0
  63. package/dist/gate/v1/resource_policy_pb.js +145 -0
  64. package/dist/gate/v1/tenant_pb.d.ts +273 -0
  65. package/dist/gate/v1/tenant_pb.js +101 -0
  66. package/dist/gate/v1/webhook_access_pb.d.ts +359 -0
  67. package/dist/gate/v1/webhook_access_pb.js +105 -0
  68. package/dist/google/api/annotations_pb.d.ts +13 -0
  69. package/dist/google/api/annotations_pb.js +26 -0
  70. package/dist/google/api/http_pb.d.ts +440 -0
  71. package/dist/google/api/http_pb.js +33 -0
  72. package/dist/governance/v1/governance_pb.d.ts +1219 -0
  73. package/dist/governance/v1/governance_pb.js +376 -0
  74. package/dist/identity/v1/organizations_pb.d.ts +621 -0
  75. package/dist/identity/v1/organizations_pb.js +166 -0
  76. package/dist/identity/v1/sessions_pb.d.ts +78 -0
  77. package/dist/identity/v1/sessions_pb.js +19 -0
  78. package/dist/identity/v1/tokens_pb.d.ts +332 -0
  79. package/dist/identity/v1/tokens_pb.js +56 -0
  80. package/dist/ingest/v1/admin_pb.d.ts +471 -0
  81. package/dist/ingest/v1/admin_pb.js +112 -0
  82. package/dist/ingest/v1/event_pb.d.ts +155 -0
  83. package/dist/ingest/v1/event_pb.js +24 -0
  84. package/dist/keys/v1/keys_pb.d.ts +241 -0
  85. package/dist/keys/v1/keys_pb.js +52 -0
  86. package/dist/llmgateway/v1/gateway_pb.d.ts +393 -0
  87. package/dist/llmgateway/v1/gateway_pb.js +79 -0
  88. package/dist/memory/v1/memory_pb.d.ts +1260 -0
  89. package/dist/memory/v1/memory_pb.js +243 -0
  90. package/dist/meter/v1/meter_pb.d.ts +1691 -0
  91. package/dist/meter/v1/meter_pb.js +263 -0
  92. package/dist/notifications/v1/notifications_pb.d.ts +777 -0
  93. package/dist/notifications/v1/notifications_pb.js +257 -0
  94. package/dist/objectives/v1/objectives_pb.d.ts +1000 -0
  95. package/dist/objectives/v1/objectives_pb.js +340 -0
  96. package/dist/posture/v1/posture_pb.d.ts +357 -0
  97. package/dist/posture/v1/posture_pb.js +88 -0
  98. package/dist/prompts/v1/prompts_pb.d.ts +864 -0
  99. package/dist/prompts/v1/prompts_pb.js +156 -0
  100. package/dist/relationships/v1/relationships_pb.d.ts +367 -0
  101. package/dist/relationships/v1/relationships_pb.js +96 -0
  102. package/dist/secretbroker/v1/broker_pb.d.ts +888 -0
  103. package/dist/secretbroker/v1/broker_pb.js +168 -0
  104. package/dist/skills/v1/skills_pb.d.ts +652 -0
  105. package/dist/skills/v1/skills_pb.js +164 -0
  106. package/dist/tap/v1/admin_pb.d.ts +530 -0
  107. package/dist/tap/v1/admin_pb.js +132 -0
  108. package/dist/tap/v1/event_pb.d.ts +141 -0
  109. package/dist/tap/v1/event_pb.js +27 -0
  110. package/dist/toolexecution/v1/toolexecution_pb.d.ts +994 -0
  111. package/dist/toolexecution/v1/toolexecution_pb.js +315 -0
  112. package/dist/traces/v1/traces_pb.d.ts +633 -0
  113. package/dist/traces/v1/traces_pb.js +163 -0
  114. package/dist/workflows/v1/workflows_pb.d.ts +1784 -0
  115. package/dist/workflows/v1/workflows_pb.js +431 -0
  116. package/package.json +272 -0
@@ -0,0 +1,1000 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Any, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file objectives/v1/objectives.proto.
6
+ */
7
+ export declare const file_objectives_v1_objectives: GenFile;
8
+ /**
9
+ * Objective is the canonical agent objective record.
10
+ *
11
+ * @generated from message objectives.v1.Objective
12
+ */
13
+ export type Objective = Message<"objectives.v1.Objective"> & {
14
+ /**
15
+ * @generated from field: string id = 1;
16
+ */
17
+ id: string;
18
+ /**
19
+ * @generated from field: string workspace_id = 2;
20
+ */
21
+ workspaceId: string;
22
+ /**
23
+ * @generated from field: string agent_id = 3;
24
+ */
25
+ agentId: string;
26
+ /**
27
+ * @generated from field: string surface = 4;
28
+ */
29
+ surface: string;
30
+ /**
31
+ * @generated from field: string title = 5;
32
+ */
33
+ title: string;
34
+ /**
35
+ * @generated from field: string description = 6;
36
+ */
37
+ description: string;
38
+ /**
39
+ * @generated from field: objectives.v1.ObjectiveState state = 7;
40
+ */
41
+ state: ObjectiveState;
42
+ /**
43
+ * @generated from field: repeated objectives.v1.ProvenanceRecord provenance = 8;
44
+ */
45
+ provenance: ProvenanceRecord[];
46
+ /**
47
+ * @generated from field: repeated objectives.v1.MutationRecord mutations = 9;
48
+ */
49
+ mutations: MutationRecord[];
50
+ /**
51
+ * @generated from field: objectives.v1.WakeSchedule wake_schedule = 10;
52
+ */
53
+ wakeSchedule?: WakeSchedule;
54
+ /**
55
+ * @generated from field: google.protobuf.Timestamp created_at = 11;
56
+ */
57
+ createdAt?: Timestamp;
58
+ /**
59
+ * @generated from field: google.protobuf.Timestamp updated_at = 12;
60
+ */
61
+ updatedAt?: Timestamp;
62
+ };
63
+ /**
64
+ * Describes the message objectives.v1.Objective.
65
+ * Use `create(ObjectiveSchema)` to create a new message.
66
+ */
67
+ export declare const ObjectiveSchema: GenMessage<Objective>;
68
+ /**
69
+ * ProvenanceRecord tracks where data came from.
70
+ *
71
+ * @generated from message objectives.v1.ProvenanceRecord
72
+ */
73
+ export type ProvenanceRecord = Message<"objectives.v1.ProvenanceRecord"> & {
74
+ /**
75
+ * @generated from field: string source_integration = 1;
76
+ */
77
+ sourceIntegration: string;
78
+ /**
79
+ * @generated from field: string source_id = 2;
80
+ */
81
+ sourceId: string;
82
+ /**
83
+ * @generated from field: int32 freshness_seconds = 3;
84
+ */
85
+ freshnessSeconds: number;
86
+ /**
87
+ * @generated from field: float confidence = 4;
88
+ */
89
+ confidence: number;
90
+ };
91
+ /**
92
+ * Describes the message objectives.v1.ProvenanceRecord.
93
+ * Use `create(ProvenanceRecordSchema)` to create a new message.
94
+ */
95
+ export declare const ProvenanceRecordSchema: GenMessage<ProvenanceRecord>;
96
+ /**
97
+ * MutationRecord tracks a write operation performed by an objective.
98
+ *
99
+ * @generated from message objectives.v1.MutationRecord
100
+ */
101
+ export type MutationRecord = Message<"objectives.v1.MutationRecord"> & {
102
+ /**
103
+ * @generated from field: string target_integration = 1;
104
+ */
105
+ targetIntegration: string;
106
+ /**
107
+ * @generated from field: string operation = 2;
108
+ */
109
+ operation: string;
110
+ /**
111
+ * @generated from field: objectives.v1.MutationStatus status = 3;
112
+ */
113
+ status: MutationStatus;
114
+ /**
115
+ * @generated from field: string approval_id = 4;
116
+ */
117
+ approvalId: string;
118
+ };
119
+ /**
120
+ * Describes the message objectives.v1.MutationRecord.
121
+ * Use `create(MutationRecordSchema)` to create a new message.
122
+ */
123
+ export declare const MutationRecordSchema: GenMessage<MutationRecord>;
124
+ /**
125
+ * WakeSchedule defines when and how an objective should be reactivated.
126
+ *
127
+ * @generated from message objectives.v1.WakeSchedule
128
+ */
129
+ export type WakeSchedule = Message<"objectives.v1.WakeSchedule"> & {
130
+ /**
131
+ * @generated from field: google.protobuf.Timestamp wake_at = 1;
132
+ */
133
+ wakeAt?: Timestamp;
134
+ /**
135
+ * @generated from field: string reason = 2;
136
+ */
137
+ reason: string;
138
+ /**
139
+ * @generated from field: int32 retry_count = 3;
140
+ */
141
+ retryCount: number;
142
+ /**
143
+ * @generated from field: int32 max_retries = 4;
144
+ */
145
+ maxRetries: number;
146
+ /**
147
+ * @generated from field: int32 backoff_seconds = 5;
148
+ */
149
+ backoffSeconds: number;
150
+ };
151
+ /**
152
+ * Describes the message objectives.v1.WakeSchedule.
153
+ * Use `create(WakeScheduleSchema)` to create a new message.
154
+ */
155
+ export declare const WakeScheduleSchema: GenMessage<WakeSchedule>;
156
+ /**
157
+ * Turn is the per-objective replay journal used by agent sessions.
158
+ *
159
+ * @generated from message objectives.v1.Turn
160
+ */
161
+ export type Turn = Message<"objectives.v1.Turn"> & {
162
+ /**
163
+ * @generated from field: string id = 1;
164
+ */
165
+ id: string;
166
+ /**
167
+ * @generated from field: string objective_id = 2;
168
+ */
169
+ objectiveId: string;
170
+ /**
171
+ * @generated from field: int32 sequence = 3;
172
+ */
173
+ sequence: number;
174
+ /**
175
+ * @generated from field: objectives.v1.TurnKind kind = 4;
176
+ */
177
+ kind: TurnKind;
178
+ /**
179
+ * @generated from field: google.protobuf.Any payload = 5;
180
+ */
181
+ payload?: Any;
182
+ /**
183
+ * @generated from field: google.protobuf.Any result = 6;
184
+ */
185
+ result?: Any;
186
+ /**
187
+ * @generated from field: objectives.v1.TurnStatus status = 7;
188
+ */
189
+ status: TurnStatus;
190
+ /**
191
+ * @generated from field: google.protobuf.Timestamp started_at = 8;
192
+ */
193
+ startedAt?: Timestamp;
194
+ /**
195
+ * @generated from field: google.protobuf.Timestamp completed_at = 9;
196
+ */
197
+ completedAt?: Timestamp;
198
+ /**
199
+ * @generated from field: string idempotency_key = 10;
200
+ */
201
+ idempotencyKey: string;
202
+ };
203
+ /**
204
+ * Describes the message objectives.v1.Turn.
205
+ * Use `create(TurnSchema)` to create a new message.
206
+ */
207
+ export declare const TurnSchema: GenMessage<Turn>;
208
+ /**
209
+ * @generated from message objectives.v1.WaitForEventPayload
210
+ */
211
+ export type WaitForEventPayload = Message<"objectives.v1.WaitForEventPayload"> & {
212
+ /**
213
+ * @generated from field: string event_subject = 1;
214
+ */
215
+ eventSubject: string;
216
+ /**
217
+ * @generated from field: google.protobuf.Any payload = 2;
218
+ */
219
+ payload?: Any;
220
+ };
221
+ /**
222
+ * Describes the message objectives.v1.WaitForEventPayload.
223
+ * Use `create(WaitForEventPayloadSchema)` to create a new message.
224
+ */
225
+ export declare const WaitForEventPayloadSchema: GenMessage<WaitForEventPayload>;
226
+ /**
227
+ * @generated from message objectives.v1.CreateRequest
228
+ */
229
+ export type CreateRequest = Message<"objectives.v1.CreateRequest"> & {
230
+ /**
231
+ * @generated from field: string workspace_id = 1;
232
+ */
233
+ workspaceId: string;
234
+ /**
235
+ * @generated from field: string agent_id = 2;
236
+ */
237
+ agentId: string;
238
+ /**
239
+ * @generated from field: string surface = 3;
240
+ */
241
+ surface: string;
242
+ /**
243
+ * @generated from field: string title = 4;
244
+ */
245
+ title: string;
246
+ /**
247
+ * @generated from field: string description = 5;
248
+ */
249
+ description: string;
250
+ };
251
+ /**
252
+ * Describes the message objectives.v1.CreateRequest.
253
+ * Use `create(CreateRequestSchema)` to create a new message.
254
+ */
255
+ export declare const CreateRequestSchema: GenMessage<CreateRequest>;
256
+ /**
257
+ * @generated from message objectives.v1.CreateResponse
258
+ */
259
+ export type CreateResponse = Message<"objectives.v1.CreateResponse"> & {
260
+ /**
261
+ * @generated from field: objectives.v1.Objective objective = 1;
262
+ */
263
+ objective?: Objective;
264
+ };
265
+ /**
266
+ * Describes the message objectives.v1.CreateResponse.
267
+ * Use `create(CreateResponseSchema)` to create a new message.
268
+ */
269
+ export declare const CreateResponseSchema: GenMessage<CreateResponse>;
270
+ /**
271
+ * @generated from message objectives.v1.GetRequest
272
+ */
273
+ export type GetRequest = Message<"objectives.v1.GetRequest"> & {
274
+ /**
275
+ * @generated from field: string id = 1;
276
+ */
277
+ id: string;
278
+ };
279
+ /**
280
+ * Describes the message objectives.v1.GetRequest.
281
+ * Use `create(GetRequestSchema)` to create a new message.
282
+ */
283
+ export declare const GetRequestSchema: GenMessage<GetRequest>;
284
+ /**
285
+ * @generated from message objectives.v1.GetResponse
286
+ */
287
+ export type GetResponse = Message<"objectives.v1.GetResponse"> & {
288
+ /**
289
+ * @generated from field: objectives.v1.Objective objective = 1;
290
+ */
291
+ objective?: Objective;
292
+ };
293
+ /**
294
+ * Describes the message objectives.v1.GetResponse.
295
+ * Use `create(GetResponseSchema)` to create a new message.
296
+ */
297
+ export declare const GetResponseSchema: GenMessage<GetResponse>;
298
+ /**
299
+ * @generated from message objectives.v1.TransitionRequest
300
+ */
301
+ export type TransitionRequest = Message<"objectives.v1.TransitionRequest"> & {
302
+ /**
303
+ * @generated from field: string id = 1;
304
+ */
305
+ id: string;
306
+ /**
307
+ * @generated from field: objectives.v1.ObjectiveState state = 2;
308
+ */
309
+ state: ObjectiveState;
310
+ /**
311
+ * @generated from field: string reason = 3;
312
+ */
313
+ reason: string;
314
+ };
315
+ /**
316
+ * Describes the message objectives.v1.TransitionRequest.
317
+ * Use `create(TransitionRequestSchema)` to create a new message.
318
+ */
319
+ export declare const TransitionRequestSchema: GenMessage<TransitionRequest>;
320
+ /**
321
+ * @generated from message objectives.v1.TransitionResponse
322
+ */
323
+ export type TransitionResponse = Message<"objectives.v1.TransitionResponse"> & {
324
+ /**
325
+ * @generated from field: objectives.v1.Objective objective = 1;
326
+ */
327
+ objective?: Objective;
328
+ };
329
+ /**
330
+ * Describes the message objectives.v1.TransitionResponse.
331
+ * Use `create(TransitionResponseSchema)` to create a new message.
332
+ */
333
+ export declare const TransitionResponseSchema: GenMessage<TransitionResponse>;
334
+ /**
335
+ * @generated from message objectives.v1.WakeRequest
336
+ */
337
+ export type WakeRequest = Message<"objectives.v1.WakeRequest"> & {
338
+ /**
339
+ * @generated from field: string id = 1;
340
+ */
341
+ id: string;
342
+ };
343
+ /**
344
+ * Describes the message objectives.v1.WakeRequest.
345
+ * Use `create(WakeRequestSchema)` to create a new message.
346
+ */
347
+ export declare const WakeRequestSchema: GenMessage<WakeRequest>;
348
+ /**
349
+ * @generated from message objectives.v1.WakeResponse
350
+ */
351
+ export type WakeResponse = Message<"objectives.v1.WakeResponse"> & {
352
+ /**
353
+ * @generated from field: objectives.v1.Objective objective = 1;
354
+ */
355
+ objective?: Objective;
356
+ };
357
+ /**
358
+ * Describes the message objectives.v1.WakeResponse.
359
+ * Use `create(WakeResponseSchema)` to create a new message.
360
+ */
361
+ export declare const WakeResponseSchema: GenMessage<WakeResponse>;
362
+ /**
363
+ * @generated from message objectives.v1.QueryRequest
364
+ */
365
+ export type QueryRequest = Message<"objectives.v1.QueryRequest"> & {
366
+ /**
367
+ * @generated from field: string workspace_id = 1;
368
+ */
369
+ workspaceId: string;
370
+ /**
371
+ * @generated from field: string agent_id = 2;
372
+ */
373
+ agentId: string;
374
+ /**
375
+ * @generated from field: objectives.v1.ObjectiveState state = 3;
376
+ */
377
+ state: ObjectiveState;
378
+ /**
379
+ * @generated from field: int32 limit = 4;
380
+ */
381
+ limit: number;
382
+ /**
383
+ * @generated from field: int32 offset = 5;
384
+ */
385
+ offset: number;
386
+ };
387
+ /**
388
+ * Describes the message objectives.v1.QueryRequest.
389
+ * Use `create(QueryRequestSchema)` to create a new message.
390
+ */
391
+ export declare const QueryRequestSchema: GenMessage<QueryRequest>;
392
+ /**
393
+ * @generated from message objectives.v1.QueryResponse
394
+ */
395
+ export type QueryResponse = Message<"objectives.v1.QueryResponse"> & {
396
+ /**
397
+ * @generated from field: repeated objectives.v1.Objective objectives = 1;
398
+ */
399
+ objectives: Objective[];
400
+ /**
401
+ * @generated from field: int32 total = 2;
402
+ */
403
+ total: number;
404
+ };
405
+ /**
406
+ * Describes the message objectives.v1.QueryResponse.
407
+ * Use `create(QueryResponseSchema)` to create a new message.
408
+ */
409
+ export declare const QueryResponseSchema: GenMessage<QueryResponse>;
410
+ /**
411
+ * @generated from message objectives.v1.RecordProvenanceRequest
412
+ */
413
+ export type RecordProvenanceRequest = Message<"objectives.v1.RecordProvenanceRequest"> & {
414
+ /**
415
+ * @generated from field: string objective_id = 1;
416
+ */
417
+ objectiveId: string;
418
+ /**
419
+ * @generated from field: objectives.v1.ProvenanceRecord provenance = 2;
420
+ */
421
+ provenance?: ProvenanceRecord;
422
+ };
423
+ /**
424
+ * Describes the message objectives.v1.RecordProvenanceRequest.
425
+ * Use `create(RecordProvenanceRequestSchema)` to create a new message.
426
+ */
427
+ export declare const RecordProvenanceRequestSchema: GenMessage<RecordProvenanceRequest>;
428
+ /**
429
+ * @generated from message objectives.v1.RecordProvenanceResponse
430
+ */
431
+ export type RecordProvenanceResponse = Message<"objectives.v1.RecordProvenanceResponse"> & {
432
+ /**
433
+ * @generated from field: objectives.v1.Objective objective = 1;
434
+ */
435
+ objective?: Objective;
436
+ };
437
+ /**
438
+ * Describes the message objectives.v1.RecordProvenanceResponse.
439
+ * Use `create(RecordProvenanceResponseSchema)` to create a new message.
440
+ */
441
+ export declare const RecordProvenanceResponseSchema: GenMessage<RecordProvenanceResponse>;
442
+ /**
443
+ * @generated from message objectives.v1.RecordMutationRequest
444
+ */
445
+ export type RecordMutationRequest = Message<"objectives.v1.RecordMutationRequest"> & {
446
+ /**
447
+ * @generated from field: string objective_id = 1;
448
+ */
449
+ objectiveId: string;
450
+ /**
451
+ * @generated from field: objectives.v1.MutationRecord mutation = 2;
452
+ */
453
+ mutation?: MutationRecord;
454
+ };
455
+ /**
456
+ * Describes the message objectives.v1.RecordMutationRequest.
457
+ * Use `create(RecordMutationRequestSchema)` to create a new message.
458
+ */
459
+ export declare const RecordMutationRequestSchema: GenMessage<RecordMutationRequest>;
460
+ /**
461
+ * @generated from message objectives.v1.RecordMutationResponse
462
+ */
463
+ export type RecordMutationResponse = Message<"objectives.v1.RecordMutationResponse"> & {
464
+ /**
465
+ * @generated from field: objectives.v1.Objective objective = 1;
466
+ */
467
+ objective?: Objective;
468
+ };
469
+ /**
470
+ * Describes the message objectives.v1.RecordMutationResponse.
471
+ * Use `create(RecordMutationResponseSchema)` to create a new message.
472
+ */
473
+ export declare const RecordMutationResponseSchema: GenMessage<RecordMutationResponse>;
474
+ /**
475
+ * @generated from message objectives.v1.GetGovernanceEvaluationRequest
476
+ */
477
+ export type GetGovernanceEvaluationRequest = Message<"objectives.v1.GetGovernanceEvaluationRequest"> & {
478
+ /**
479
+ * @generated from field: string objective_id = 1;
480
+ */
481
+ objectiveId: string;
482
+ };
483
+ /**
484
+ * Describes the message objectives.v1.GetGovernanceEvaluationRequest.
485
+ * Use `create(GetGovernanceEvaluationRequestSchema)` to create a new message.
486
+ */
487
+ export declare const GetGovernanceEvaluationRequestSchema: GenMessage<GetGovernanceEvaluationRequest>;
488
+ /**
489
+ * @generated from message objectives.v1.GetGovernanceEvaluationResponse
490
+ */
491
+ export type GetGovernanceEvaluationResponse = Message<"objectives.v1.GetGovernanceEvaluationResponse"> & {
492
+ /**
493
+ * @generated from field: string objective_id = 1;
494
+ */
495
+ objectiveId: string;
496
+ /**
497
+ * @generated from field: bool compliant = 2;
498
+ */
499
+ compliant: boolean;
500
+ /**
501
+ * @generated from field: repeated string violations = 3;
502
+ */
503
+ violations: string[];
504
+ };
505
+ /**
506
+ * Describes the message objectives.v1.GetGovernanceEvaluationResponse.
507
+ * Use `create(GetGovernanceEvaluationResponseSchema)` to create a new message.
508
+ */
509
+ export declare const GetGovernanceEvaluationResponseSchema: GenMessage<GetGovernanceEvaluationResponse>;
510
+ /**
511
+ * @generated from message objectives.v1.CancelRequest
512
+ */
513
+ export type CancelRequest = Message<"objectives.v1.CancelRequest"> & {
514
+ /**
515
+ * @generated from field: string id = 1;
516
+ */
517
+ id: string;
518
+ /**
519
+ * @generated from field: string reason = 2;
520
+ */
521
+ reason: string;
522
+ };
523
+ /**
524
+ * Describes the message objectives.v1.CancelRequest.
525
+ * Use `create(CancelRequestSchema)` to create a new message.
526
+ */
527
+ export declare const CancelRequestSchema: GenMessage<CancelRequest>;
528
+ /**
529
+ * @generated from message objectives.v1.CancelResponse
530
+ */
531
+ export type CancelResponse = Message<"objectives.v1.CancelResponse"> & {
532
+ /**
533
+ * @generated from field: objectives.v1.Objective objective = 1;
534
+ */
535
+ objective?: Objective;
536
+ };
537
+ /**
538
+ * Describes the message objectives.v1.CancelResponse.
539
+ * Use `create(CancelResponseSchema)` to create a new message.
540
+ */
541
+ export declare const CancelResponseSchema: GenMessage<CancelResponse>;
542
+ /**
543
+ * @generated from message objectives.v1.AppendTurnRequest
544
+ */
545
+ export type AppendTurnRequest = Message<"objectives.v1.AppendTurnRequest"> & {
546
+ /**
547
+ * @generated from field: string objective_id = 1;
548
+ */
549
+ objectiveId: string;
550
+ /**
551
+ * @generated from field: objectives.v1.TurnKind kind = 2;
552
+ */
553
+ kind: TurnKind;
554
+ /**
555
+ * @generated from field: google.protobuf.Any payload = 3;
556
+ */
557
+ payload?: Any;
558
+ /**
559
+ * @generated from field: string idempotency_key = 4;
560
+ */
561
+ idempotencyKey: string;
562
+ /**
563
+ * @generated from field: int32 sequence = 5;
564
+ */
565
+ sequence: number;
566
+ /**
567
+ * @generated from field: google.protobuf.Any result = 6;
568
+ */
569
+ result?: Any;
570
+ /**
571
+ * @generated from field: objectives.v1.TurnStatus status = 7;
572
+ */
573
+ status: TurnStatus;
574
+ };
575
+ /**
576
+ * Describes the message objectives.v1.AppendTurnRequest.
577
+ * Use `create(AppendTurnRequestSchema)` to create a new message.
578
+ */
579
+ export declare const AppendTurnRequestSchema: GenMessage<AppendTurnRequest>;
580
+ /**
581
+ * @generated from message objectives.v1.AppendTurnResponse
582
+ */
583
+ export type AppendTurnResponse = Message<"objectives.v1.AppendTurnResponse"> & {
584
+ /**
585
+ * @generated from field: objectives.v1.Turn turn = 1;
586
+ */
587
+ turn?: Turn;
588
+ /**
589
+ * @generated from field: bool replayed = 2;
590
+ */
591
+ replayed: boolean;
592
+ };
593
+ /**
594
+ * Describes the message objectives.v1.AppendTurnResponse.
595
+ * Use `create(AppendTurnResponseSchema)` to create a new message.
596
+ */
597
+ export declare const AppendTurnResponseSchema: GenMessage<AppendTurnResponse>;
598
+ /**
599
+ * @generated from message objectives.v1.RunStepRequest
600
+ */
601
+ export type RunStepRequest = Message<"objectives.v1.RunStepRequest"> & {
602
+ /**
603
+ * @generated from field: string objective_id = 1;
604
+ */
605
+ objectiveId: string;
606
+ /**
607
+ * @generated from field: string idempotency_key = 2;
608
+ */
609
+ idempotencyKey: string;
610
+ /**
611
+ * @generated from field: objectives.v1.TurnKind kind = 3;
612
+ */
613
+ kind: TurnKind;
614
+ /**
615
+ * @generated from field: google.protobuf.Any payload = 4;
616
+ */
617
+ payload?: Any;
618
+ /**
619
+ * @generated from field: google.protobuf.Any result = 5;
620
+ */
621
+ result?: Any;
622
+ };
623
+ /**
624
+ * Describes the message objectives.v1.RunStepRequest.
625
+ * Use `create(RunStepRequestSchema)` to create a new message.
626
+ */
627
+ export declare const RunStepRequestSchema: GenMessage<RunStepRequest>;
628
+ /**
629
+ * @generated from message objectives.v1.RunStepResponse
630
+ */
631
+ export type RunStepResponse = Message<"objectives.v1.RunStepResponse"> & {
632
+ /**
633
+ * @generated from field: objectives.v1.Turn turn = 1;
634
+ */
635
+ turn?: Turn;
636
+ /**
637
+ * @generated from field: bool replayed = 2;
638
+ */
639
+ replayed: boolean;
640
+ };
641
+ /**
642
+ * Describes the message objectives.v1.RunStepResponse.
643
+ * Use `create(RunStepResponseSchema)` to create a new message.
644
+ */
645
+ export declare const RunStepResponseSchema: GenMessage<RunStepResponse>;
646
+ /**
647
+ * @generated from message objectives.v1.WaitForEventRequest
648
+ */
649
+ export type WaitForEventRequest = Message<"objectives.v1.WaitForEventRequest"> & {
650
+ /**
651
+ * @generated from field: string objective_id = 1;
652
+ */
653
+ objectiveId: string;
654
+ /**
655
+ * @generated from field: string idempotency_key = 2;
656
+ */
657
+ idempotencyKey: string;
658
+ /**
659
+ * @generated from field: string event_subject = 3;
660
+ */
661
+ eventSubject: string;
662
+ /**
663
+ * @generated from field: google.protobuf.Any payload = 4;
664
+ */
665
+ payload?: Any;
666
+ };
667
+ /**
668
+ * Describes the message objectives.v1.WaitForEventRequest.
669
+ * Use `create(WaitForEventRequestSchema)` to create a new message.
670
+ */
671
+ export declare const WaitForEventRequestSchema: GenMessage<WaitForEventRequest>;
672
+ /**
673
+ * @generated from message objectives.v1.WaitForEventResponse
674
+ */
675
+ export type WaitForEventResponse = Message<"objectives.v1.WaitForEventResponse"> & {
676
+ /**
677
+ * @generated from field: objectives.v1.Turn turn = 1;
678
+ */
679
+ turn?: Turn;
680
+ /**
681
+ * @generated from field: bool replayed = 2;
682
+ */
683
+ replayed: boolean;
684
+ };
685
+ /**
686
+ * Describes the message objectives.v1.WaitForEventResponse.
687
+ * Use `create(WaitForEventResponseSchema)` to create a new message.
688
+ */
689
+ export declare const WaitForEventResponseSchema: GenMessage<WaitForEventResponse>;
690
+ /**
691
+ * @generated from message objectives.v1.ListTurnsRequest
692
+ */
693
+ export type ListTurnsRequest = Message<"objectives.v1.ListTurnsRequest"> & {
694
+ /**
695
+ * @generated from field: string objective_id = 1;
696
+ */
697
+ objectiveId: string;
698
+ /**
699
+ * @generated from field: int32 limit = 2;
700
+ */
701
+ limit: number;
702
+ /**
703
+ * @generated from field: int32 offset = 3;
704
+ */
705
+ offset: number;
706
+ };
707
+ /**
708
+ * Describes the message objectives.v1.ListTurnsRequest.
709
+ * Use `create(ListTurnsRequestSchema)` to create a new message.
710
+ */
711
+ export declare const ListTurnsRequestSchema: GenMessage<ListTurnsRequest>;
712
+ /**
713
+ * @generated from message objectives.v1.ListTurnsResponse
714
+ */
715
+ export type ListTurnsResponse = Message<"objectives.v1.ListTurnsResponse"> & {
716
+ /**
717
+ * @generated from field: repeated objectives.v1.Turn turns = 1;
718
+ */
719
+ turns: Turn[];
720
+ /**
721
+ * @generated from field: int32 total = 2;
722
+ */
723
+ total: number;
724
+ };
725
+ /**
726
+ * Describes the message objectives.v1.ListTurnsResponse.
727
+ * Use `create(ListTurnsResponseSchema)` to create a new message.
728
+ */
729
+ export declare const ListTurnsResponseSchema: GenMessage<ListTurnsResponse>;
730
+ /**
731
+ * ObjectiveState describes the lifecycle state of an objective.
732
+ *
733
+ * @generated from enum objectives.v1.ObjectiveState
734
+ */
735
+ export declare enum ObjectiveState {
736
+ /**
737
+ * @generated from enum value: OBJECTIVE_STATE_UNSPECIFIED = 0;
738
+ */
739
+ UNSPECIFIED = 0,
740
+ /**
741
+ * @generated from enum value: OBJECTIVE_STATE_PENDING = 1;
742
+ */
743
+ PENDING = 1,
744
+ /**
745
+ * @generated from enum value: OBJECTIVE_STATE_RUNNING = 2;
746
+ */
747
+ RUNNING = 2,
748
+ /**
749
+ * @generated from enum value: OBJECTIVE_STATE_BLOCKED = 3;
750
+ */
751
+ BLOCKED = 3,
752
+ /**
753
+ * @generated from enum value: OBJECTIVE_STATE_DEGRADED = 4;
754
+ */
755
+ DEGRADED = 4,
756
+ /**
757
+ * @generated from enum value: OBJECTIVE_STATE_AWAITING_APPROVAL = 5;
758
+ */
759
+ AWAITING_APPROVAL = 5,
760
+ /**
761
+ * @generated from enum value: OBJECTIVE_STATE_QUEUED = 6;
762
+ */
763
+ QUEUED = 6,
764
+ /**
765
+ * @generated from enum value: OBJECTIVE_STATE_COMPLETED = 7;
766
+ */
767
+ COMPLETED = 7,
768
+ /**
769
+ * @generated from enum value: OBJECTIVE_STATE_FAILED = 8;
770
+ */
771
+ FAILED = 8,
772
+ /**
773
+ * @generated from enum value: OBJECTIVE_STATE_CANCELLED = 9;
774
+ */
775
+ CANCELLED = 9
776
+ }
777
+ /**
778
+ * Describes the enum objectives.v1.ObjectiveState.
779
+ */
780
+ export declare const ObjectiveStateSchema: GenEnum<ObjectiveState>;
781
+ /**
782
+ * MutationStatus describes the status of a mutation operation.
783
+ *
784
+ * @generated from enum objectives.v1.MutationStatus
785
+ */
786
+ export declare enum MutationStatus {
787
+ /**
788
+ * @generated from enum value: MUTATION_STATUS_UNSPECIFIED = 0;
789
+ */
790
+ UNSPECIFIED = 0,
791
+ /**
792
+ * @generated from enum value: MUTATION_STATUS_PENDING = 1;
793
+ */
794
+ PENDING = 1,
795
+ /**
796
+ * @generated from enum value: MUTATION_STATUS_APPROVED = 2;
797
+ */
798
+ APPROVED = 2,
799
+ /**
800
+ * @generated from enum value: MUTATION_STATUS_DENIED = 3;
801
+ */
802
+ DENIED = 3,
803
+ /**
804
+ * @generated from enum value: MUTATION_STATUS_EXECUTED = 4;
805
+ */
806
+ EXECUTED = 4,
807
+ /**
808
+ * @generated from enum value: MUTATION_STATUS_ROLLED_BACK = 5;
809
+ */
810
+ ROLLED_BACK = 5
811
+ }
812
+ /**
813
+ * Describes the enum objectives.v1.MutationStatus.
814
+ */
815
+ export declare const MutationStatusSchema: GenEnum<MutationStatus>;
816
+ /**
817
+ * TurnKind identifies the durable work represented by an objective turn.
818
+ *
819
+ * @generated from enum objectives.v1.TurnKind
820
+ */
821
+ export declare enum TurnKind {
822
+ /**
823
+ * @generated from enum value: TURN_KIND_UNSPECIFIED = 0;
824
+ */
825
+ UNSPECIFIED = 0,
826
+ /**
827
+ * @generated from enum value: TURN_KIND_USER_MESSAGE = 1;
828
+ */
829
+ USER_MESSAGE = 1,
830
+ /**
831
+ * @generated from enum value: TURN_KIND_LLM_CALL = 2;
832
+ */
833
+ LLM_CALL = 2,
834
+ /**
835
+ * @generated from enum value: TURN_KIND_TOOL_CALL = 3;
836
+ */
837
+ TOOL_CALL = 3,
838
+ /**
839
+ * @generated from enum value: TURN_KIND_APPROVAL_WAIT = 4;
840
+ */
841
+ APPROVAL_WAIT = 4,
842
+ /**
843
+ * @generated from enum value: TURN_KIND_SLEEP = 5;
844
+ */
845
+ SLEEP = 5,
846
+ /**
847
+ * @generated from enum value: TURN_KIND_EVENT_WAIT = 6;
848
+ */
849
+ EVENT_WAIT = 6
850
+ }
851
+ /**
852
+ * Describes the enum objectives.v1.TurnKind.
853
+ */
854
+ export declare const TurnKindSchema: GenEnum<TurnKind>;
855
+ /**
856
+ * TurnStatus describes replayable execution state for a journaled turn.
857
+ *
858
+ * @generated from enum objectives.v1.TurnStatus
859
+ */
860
+ export declare enum TurnStatus {
861
+ /**
862
+ * @generated from enum value: TURN_STATUS_UNSPECIFIED = 0;
863
+ */
864
+ UNSPECIFIED = 0,
865
+ /**
866
+ * @generated from enum value: TURN_STATUS_PENDING = 1;
867
+ */
868
+ PENDING = 1,
869
+ /**
870
+ * @generated from enum value: TURN_STATUS_RUNNING = 2;
871
+ */
872
+ RUNNING = 2,
873
+ /**
874
+ * @generated from enum value: TURN_STATUS_COMPLETED = 3;
875
+ */
876
+ COMPLETED = 3,
877
+ /**
878
+ * @generated from enum value: TURN_STATUS_FAILED = 4;
879
+ */
880
+ FAILED = 4,
881
+ /**
882
+ * @generated from enum value: TURN_STATUS_REPLAY = 5;
883
+ */
884
+ REPLAY = 5
885
+ }
886
+ /**
887
+ * Describes the enum objectives.v1.TurnStatus.
888
+ */
889
+ export declare const TurnStatusSchema: GenEnum<TurnStatus>;
890
+ /**
891
+ * ObjectiveService manages agent objectives and their lifecycle.
892
+ *
893
+ * @generated from service objectives.v1.ObjectiveService
894
+ */
895
+ export declare const ObjectiveService: GenService<{
896
+ /**
897
+ * @generated from rpc objectives.v1.ObjectiveService.Create
898
+ */
899
+ create: {
900
+ methodKind: "unary";
901
+ input: typeof CreateRequestSchema;
902
+ output: typeof CreateResponseSchema;
903
+ };
904
+ /**
905
+ * @generated from rpc objectives.v1.ObjectiveService.Get
906
+ */
907
+ get: {
908
+ methodKind: "unary";
909
+ input: typeof GetRequestSchema;
910
+ output: typeof GetResponseSchema;
911
+ };
912
+ /**
913
+ * @generated from rpc objectives.v1.ObjectiveService.Transition
914
+ */
915
+ transition: {
916
+ methodKind: "unary";
917
+ input: typeof TransitionRequestSchema;
918
+ output: typeof TransitionResponseSchema;
919
+ };
920
+ /**
921
+ * @generated from rpc objectives.v1.ObjectiveService.Wake
922
+ */
923
+ wake: {
924
+ methodKind: "unary";
925
+ input: typeof WakeRequestSchema;
926
+ output: typeof WakeResponseSchema;
927
+ };
928
+ /**
929
+ * @generated from rpc objectives.v1.ObjectiveService.Query
930
+ */
931
+ query: {
932
+ methodKind: "unary";
933
+ input: typeof QueryRequestSchema;
934
+ output: typeof QueryResponseSchema;
935
+ };
936
+ /**
937
+ * @generated from rpc objectives.v1.ObjectiveService.RecordProvenance
938
+ */
939
+ recordProvenance: {
940
+ methodKind: "unary";
941
+ input: typeof RecordProvenanceRequestSchema;
942
+ output: typeof RecordProvenanceResponseSchema;
943
+ };
944
+ /**
945
+ * @generated from rpc objectives.v1.ObjectiveService.RecordMutation
946
+ */
947
+ recordMutation: {
948
+ methodKind: "unary";
949
+ input: typeof RecordMutationRequestSchema;
950
+ output: typeof RecordMutationResponseSchema;
951
+ };
952
+ /**
953
+ * @generated from rpc objectives.v1.ObjectiveService.GetGovernanceEvaluation
954
+ */
955
+ getGovernanceEvaluation: {
956
+ methodKind: "unary";
957
+ input: typeof GetGovernanceEvaluationRequestSchema;
958
+ output: typeof GetGovernanceEvaluationResponseSchema;
959
+ };
960
+ /**
961
+ * @generated from rpc objectives.v1.ObjectiveService.Cancel
962
+ */
963
+ cancel: {
964
+ methodKind: "unary";
965
+ input: typeof CancelRequestSchema;
966
+ output: typeof CancelResponseSchema;
967
+ };
968
+ /**
969
+ * @generated from rpc objectives.v1.ObjectiveService.AppendTurn
970
+ */
971
+ appendTurn: {
972
+ methodKind: "unary";
973
+ input: typeof AppendTurnRequestSchema;
974
+ output: typeof AppendTurnResponseSchema;
975
+ };
976
+ /**
977
+ * @generated from rpc objectives.v1.ObjectiveService.RunStep
978
+ */
979
+ runStep: {
980
+ methodKind: "unary";
981
+ input: typeof RunStepRequestSchema;
982
+ output: typeof RunStepResponseSchema;
983
+ };
984
+ /**
985
+ * @generated from rpc objectives.v1.ObjectiveService.WaitForEvent
986
+ */
987
+ waitForEvent: {
988
+ methodKind: "unary";
989
+ input: typeof WaitForEventRequestSchema;
990
+ output: typeof WaitForEventResponseSchema;
991
+ };
992
+ /**
993
+ * @generated from rpc objectives.v1.ObjectiveService.ListTurns
994
+ */
995
+ listTurns: {
996
+ methodKind: "unary";
997
+ input: typeof ListTurnsRequestSchema;
998
+ output: typeof ListTurnsResponseSchema;
999
+ };
1000
+ }>;