@evalops/sdk-ts 0.1.102 → 0.1.104

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.
@@ -112,6 +112,221 @@ export type RuntimeWorkEnvelope = Message<"agentruntime.v1.RuntimeWorkEnvelope">
112
112
  * Use `create(RuntimeWorkEnvelopeSchema)` to create a new message.
113
113
  */
114
114
  export declare const RuntimeWorkEnvelopeSchema: GenMessage<RuntimeWorkEnvelope>;
115
+ /**
116
+ * RuntimeProactiveSourceEvent identifies the upstream event that caused a
117
+ * proactive trigger candidate without copying the full source payload into the
118
+ * runtime record.
119
+ *
120
+ * @generated from message agentruntime.v1.RuntimeProactiveSourceEvent
121
+ */
122
+ export type RuntimeProactiveSourceEvent = Message<"agentruntime.v1.RuntimeProactiveSourceEvent"> & {
123
+ /**
124
+ * @generated from field: string stream = 1;
125
+ */
126
+ stream: string;
127
+ /**
128
+ * @generated from field: string subject = 2;
129
+ */
130
+ subject: string;
131
+ /**
132
+ * @generated from field: uint64 sequence = 3;
133
+ */
134
+ sequence: bigint;
135
+ /**
136
+ * @generated from field: string event_id = 4;
137
+ */
138
+ eventId: string;
139
+ /**
140
+ * @generated from field: string event_family = 5;
141
+ */
142
+ eventFamily: string;
143
+ /**
144
+ * @generated from field: string event_type = 6;
145
+ */
146
+ eventType: string;
147
+ /**
148
+ * @generated from field: string provider_object_id = 7;
149
+ */
150
+ providerObjectId: string;
151
+ };
152
+ /**
153
+ * Describes the message agentruntime.v1.RuntimeProactiveSourceEvent.
154
+ * Use `create(RuntimeProactiveSourceEventSchema)` to create a new message.
155
+ */
156
+ export declare const RuntimeProactiveSourceEventSchema: GenMessage<RuntimeProactiveSourceEvent>;
157
+ /**
158
+ * RuntimeProactivePolicy carries teammate/channel wake controls in the same
159
+ * trigger contract that AgentRuntime admission evaluates.
160
+ *
161
+ * @generated from message agentruntime.v1.RuntimeProactivePolicy
162
+ */
163
+ export type RuntimeProactivePolicy = Message<"agentruntime.v1.RuntimeProactivePolicy"> & {
164
+ /**
165
+ * @generated from field: optional bool wake_enabled = 1;
166
+ */
167
+ wakeEnabled?: boolean | undefined;
168
+ /**
169
+ * @generated from field: repeated string trigger_kinds = 2;
170
+ */
171
+ triggerKinds: string[];
172
+ /**
173
+ * @generated from field: bool allow_customer_facing = 3;
174
+ */
175
+ allowCustomerFacing: boolean;
176
+ /**
177
+ * @generated from field: bool post_run_started = 4;
178
+ */
179
+ postRunStarted: boolean;
180
+ };
181
+ /**
182
+ * Describes the message agentruntime.v1.RuntimeProactivePolicy.
183
+ * Use `create(RuntimeProactivePolicySchema)` to create a new message.
184
+ */
185
+ export declare const RuntimeProactivePolicySchema: GenMessage<RuntimeProactivePolicy>;
186
+ /**
187
+ * RuntimeSourceHealthSummary is the compact source-health projection used by
188
+ * proactive runtime context. Cerebro remains the source of truth for detailed
189
+ * health records.
190
+ *
191
+ * @generated from message agentruntime.v1.RuntimeSourceHealthSummary
192
+ */
193
+ export type RuntimeSourceHealthSummary = Message<"agentruntime.v1.RuntimeSourceHealthSummary"> & {
194
+ /**
195
+ * @generated from field: string status = 1;
196
+ */
197
+ status: string;
198
+ /**
199
+ * @generated from field: repeated string checked_sources = 2;
200
+ */
201
+ checkedSources: string[];
202
+ /**
203
+ * @generated from field: repeated string stale_sources = 3;
204
+ */
205
+ staleSources: string[];
206
+ /**
207
+ * @generated from field: string summary = 4;
208
+ */
209
+ summary: string;
210
+ };
211
+ /**
212
+ * Describes the message agentruntime.v1.RuntimeSourceHealthSummary.
213
+ * Use `create(RuntimeSourceHealthSummarySchema)` to create a new message.
214
+ */
215
+ export declare const RuntimeSourceHealthSummarySchema: GenMessage<RuntimeSourceHealthSummary>;
216
+ /**
217
+ * RuntimeCerebroFactsContext carries the identifiers and retrieval counts that
218
+ * let AgentRuntime, Ensemble, and operators trace a proactive run back to
219
+ * Cerebro without parsing payload maps.
220
+ *
221
+ * @generated from message agentruntime.v1.RuntimeCerebroFactsContext
222
+ */
223
+ export type RuntimeCerebroFactsContext = Message<"agentruntime.v1.RuntimeCerebroFactsContext"> & {
224
+ /**
225
+ * @generated from field: string provider = 1;
226
+ */
227
+ provider: string;
228
+ /**
229
+ * @generated from field: string workspace_id = 2;
230
+ */
231
+ workspaceId: string;
232
+ /**
233
+ * @generated from field: string query = 3;
234
+ */
235
+ query: string;
236
+ /**
237
+ * @generated from field: repeated string thing_ids = 4;
238
+ */
239
+ thingIds: string[];
240
+ /**
241
+ * @generated from field: repeated string fact_ids = 5;
242
+ */
243
+ factIds: string[];
244
+ /**
245
+ * @generated from field: repeated string event_ids = 6;
246
+ */
247
+ eventIds: string[];
248
+ /**
249
+ * @generated from field: agentruntime.v1.RuntimeSourceHealthSummary source_health_summary = 7;
250
+ */
251
+ sourceHealthSummary?: RuntimeSourceHealthSummary | undefined;
252
+ /**
253
+ * @generated from field: string belief_debug_summary = 8;
254
+ */
255
+ beliefDebugSummary: string;
256
+ /**
257
+ * @generated from field: string rollout_id = 9;
258
+ */
259
+ rolloutId: string;
260
+ /**
261
+ * @generated from field: string rollout_summary = 10;
262
+ */
263
+ rolloutSummary: string;
264
+ /**
265
+ * @generated from field: string rollout_result = 11;
266
+ */
267
+ rolloutResult: string;
268
+ /**
269
+ * @generated from field: map<string, int64> retrieval_counts = 12;
270
+ */
271
+ retrievalCounts: {
272
+ [key: string]: bigint;
273
+ };
274
+ };
275
+ /**
276
+ * Describes the message agentruntime.v1.RuntimeCerebroFactsContext.
277
+ * Use `create(RuntimeCerebroFactsContextSchema)` to create a new message.
278
+ */
279
+ export declare const RuntimeCerebroFactsContextSchema: GenMessage<RuntimeCerebroFactsContext>;
280
+ /**
281
+ * RuntimeProactiveContext is the first-class proactive trigger envelope. It
282
+ * keeps event identity, policy hints, risk hints, and Cerebro context out of
283
+ * ad hoc trigger payload conventions.
284
+ *
285
+ * @generated from message agentruntime.v1.RuntimeProactiveContext
286
+ */
287
+ export type RuntimeProactiveContext = Message<"agentruntime.v1.RuntimeProactiveContext"> & {
288
+ /**
289
+ * @generated from field: bool proactive_runtime = 1;
290
+ */
291
+ proactiveRuntime: boolean;
292
+ /**
293
+ * @generated from field: string proactive_ingest = 2;
294
+ */
295
+ proactiveIngest: string;
296
+ /**
297
+ * @generated from field: agentruntime.v1.RuntimeProactiveSourceEvent source_event = 3;
298
+ */
299
+ sourceEvent?: RuntimeProactiveSourceEvent | undefined;
300
+ /**
301
+ * @generated from field: repeated string thing_ids = 4;
302
+ */
303
+ thingIds: string[];
304
+ /**
305
+ * @generated from field: string action_class = 5;
306
+ */
307
+ actionClass: string;
308
+ /**
309
+ * @generated from field: string risk_level = 6;
310
+ */
311
+ riskLevel: string;
312
+ /**
313
+ * @generated from field: bool external_side_effect = 7;
314
+ */
315
+ externalSideEffect: boolean;
316
+ /**
317
+ * @generated from field: agentruntime.v1.RuntimeCerebroFactsContext facts_context = 8;
318
+ */
319
+ factsContext?: RuntimeCerebroFactsContext | undefined;
320
+ /**
321
+ * @generated from field: agentruntime.v1.RuntimeProactivePolicy policy = 9;
322
+ */
323
+ policy?: RuntimeProactivePolicy | undefined;
324
+ };
325
+ /**
326
+ * Describes the message agentruntime.v1.RuntimeProactiveContext.
327
+ * Use `create(RuntimeProactiveContextSchema)` to create a new message.
328
+ */
329
+ export declare const RuntimeProactiveContextSchema: GenMessage<RuntimeProactiveContext>;
115
330
  /**
116
331
  * RuntimeRedaction records one projected field or payload category that has
117
332
  * been redacted for channel/user display.
@@ -420,6 +635,10 @@ export type NormalizedTrigger = Message<"agentruntime.v1.NormalizedTrigger"> & {
420
635
  * @generated from field: codex.v1.CodexWorkRequest codex_work = 16;
421
636
  */
422
637
  codexWork?: CodexWorkRequest | undefined;
638
+ /**
639
+ * @generated from field: agentruntime.v1.RuntimeProactiveContext proactive_context = 17;
640
+ */
641
+ proactiveContext?: RuntimeProactiveContext | undefined;
423
642
  };
424
643
  /**
425
644
  * Describes the message agentruntime.v1.NormalizedTrigger.