@evalops/sdk-ts 0.1.98 → 0.1.100

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.
@@ -693,6 +693,41 @@ export type AgentRunLinkage = Message<"agentruntime.v1.AgentRunLinkage"> & {
693
693
  * Use `create(AgentRunLinkageSchema)` to create a new message.
694
694
  */
695
695
  export declare const AgentRunLinkageSchema: GenMessage<AgentRunLinkage>;
696
+ /**
697
+ * RuntimeTraceContext captures the W3C trace context that causally owns a
698
+ * durable AgentRun lifecycle record. It is persisted with runs, events, and
699
+ * steps so retries, worker claims, and parked waits can resume the same
700
+ * distributed trace instead of starting unrelated service-local traces.
701
+ *
702
+ * @generated from message agentruntime.v1.RuntimeTraceContext
703
+ */
704
+ export type RuntimeTraceContext = Message<"agentruntime.v1.RuntimeTraceContext"> & {
705
+ /**
706
+ * @generated from field: string trace_id = 1;
707
+ */
708
+ traceId: string;
709
+ /**
710
+ * @generated from field: string span_id = 2;
711
+ */
712
+ spanId: string;
713
+ /**
714
+ * @generated from field: string parent_span_id = 3;
715
+ */
716
+ parentSpanId: string;
717
+ /**
718
+ * @generated from field: string traceparent = 4;
719
+ */
720
+ traceparent: string;
721
+ /**
722
+ * @generated from field: string tracestate = 5;
723
+ */
724
+ tracestate: string;
725
+ };
726
+ /**
727
+ * Describes the message agentruntime.v1.RuntimeTraceContext.
728
+ * Use `create(RuntimeTraceContextSchema)` to create a new message.
729
+ */
730
+ export declare const RuntimeTraceContextSchema: GenMessage<RuntimeTraceContext>;
696
731
  /**
697
732
  * AgentRun is the canonical agent runtime execution record. It owns the
698
733
  * durable child records needed to resume from checkpoints and audit each
@@ -825,6 +860,10 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
825
860
  * @generated from field: repeated agentruntime.v1.AgentRunCheckpoint checkpoints = 33;
826
861
  */
827
862
  checkpoints: AgentRunCheckpoint[];
863
+ /**
864
+ * @generated from field: agentruntime.v1.RuntimeTraceContext trace_context = 34;
865
+ */
866
+ traceContext?: RuntimeTraceContext | undefined;
828
867
  };
829
868
  /**
830
869
  * Describes the message agentruntime.v1.AgentRun.
@@ -942,6 +981,10 @@ export type AgentRunStep = Message<"agentruntime.v1.AgentRunStep"> & {
942
981
  * @generated from field: codex.v1.CodexRunProgress codex_progress = 17;
943
982
  */
944
983
  codexProgress?: CodexRunProgress | undefined;
984
+ /**
985
+ * @generated from field: agentruntime.v1.RuntimeTraceContext trace_context = 18;
986
+ */
987
+ traceContext?: RuntimeTraceContext | undefined;
945
988
  };
946
989
  /**
947
990
  * Describes the message agentruntime.v1.AgentRunStep.
@@ -1282,6 +1325,10 @@ export type RuntimeEvent = Message<"agentruntime.v1.RuntimeEvent"> & {
1282
1325
  * @generated from field: codex.v1.CodexOutcomeSignal codex_outcome = 20;
1283
1326
  */
1284
1327
  codexOutcome?: CodexOutcomeSignal | undefined;
1328
+ /**
1329
+ * @generated from field: agentruntime.v1.RuntimeTraceContext trace_context = 21;
1330
+ */
1331
+ traceContext?: RuntimeTraceContext | undefined;
1285
1332
  };
1286
1333
  /**
1287
1334
  * Describes the message agentruntime.v1.RuntimeEvent.
@@ -2199,12 +2246,71 @@ export type TeammateWorkLedgerBlocker = Message<"agentruntime.v1.TeammateWorkLed
2199
2246
  * @generated from field: string visibility_summary = 6;
2200
2247
  */
2201
2248
  visibilitySummary: string;
2249
+ /**
2250
+ * @generated from field: agentruntime.v1.TeammateWorkLedgerWaitResumeContract resume_contract = 7;
2251
+ */
2252
+ resumeContract?: TeammateWorkLedgerWaitResumeContract | undefined;
2202
2253
  };
2203
2254
  /**
2204
2255
  * Describes the message agentruntime.v1.TeammateWorkLedgerBlocker.
2205
2256
  * Use `create(TeammateWorkLedgerBlockerSchema)` to create a new message.
2206
2257
  */
2207
2258
  export declare const TeammateWorkLedgerBlockerSchema: GenMessage<TeammateWorkLedgerBlocker>;
2259
+ /**
2260
+ * TeammateWorkLedgerWaitResumeContract makes parked-run resumption
2261
+ * machine-readable for channel adapters and workers. Slack actions can carry
2262
+ * only the compact value fields, then resolve the durable wait through
2263
+ * ListRunWaits before calling ResumeRun.
2264
+ *
2265
+ * @generated from message agentruntime.v1.TeammateWorkLedgerWaitResumeContract
2266
+ */
2267
+ export type TeammateWorkLedgerWaitResumeContract = Message<"agentruntime.v1.TeammateWorkLedgerWaitResumeContract"> & {
2268
+ /**
2269
+ * @generated from field: string schema_version = 1;
2270
+ */
2271
+ schemaVersion: string;
2272
+ /**
2273
+ * @generated from field: string resume_rpc = 2;
2274
+ */
2275
+ resumeRpc: string;
2276
+ /**
2277
+ * @generated from field: string lookup_rpc = 3;
2278
+ */
2279
+ lookupRpc: string;
2280
+ /**
2281
+ * @generated from field: string lookup_external_ref_field = 4;
2282
+ */
2283
+ lookupExternalRefField: string;
2284
+ /**
2285
+ * @generated from field: repeated string required_resume_fields = 5;
2286
+ */
2287
+ requiredResumeFields: string[];
2288
+ /**
2289
+ * @generated from field: repeated string allowed_decisions = 6;
2290
+ */
2291
+ allowedDecisions: string[];
2292
+ /**
2293
+ * @generated from field: repeated string channel_action_value_fields = 7;
2294
+ */
2295
+ channelActionValueFields: string[];
2296
+ /**
2297
+ * @generated from field: string idempotency_join_key = 8;
2298
+ */
2299
+ idempotencyJoinKey: string;
2300
+ /**
2301
+ * @generated from field: string approval_request_id = 9;
2302
+ */
2303
+ approvalRequestId: string;
2304
+ /**
2305
+ * @generated from field: bool requires_safe_summary = 10;
2306
+ */
2307
+ requiresSafeSummary: boolean;
2308
+ };
2309
+ /**
2310
+ * Describes the message agentruntime.v1.TeammateWorkLedgerWaitResumeContract.
2311
+ * Use `create(TeammateWorkLedgerWaitResumeContractSchema)` to create a new message.
2312
+ */
2313
+ export declare const TeammateWorkLedgerWaitResumeContractSchema: GenMessage<TeammateWorkLedgerWaitResumeContract>;
2208
2314
  /**
2209
2315
  * @generated from message agentruntime.v1.TeammateWorkLedgerConnectorAccess
2210
2316
  */
@@ -4089,7 +4195,15 @@ export declare enum RuntimeTriggerKind {
4089
4195
  /**
4090
4196
  * @generated from enum value: RUNTIME_TRIGGER_KIND_PROACTIVE_PATTERN = 18;
4091
4197
  */
4092
- PROACTIVE_PATTERN = 18
4198
+ PROACTIVE_PATTERN = 18,
4199
+ /**
4200
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_ASSISTANT_THREAD_STARTED = 19;
4201
+ */
4202
+ SLACK_ASSISTANT_THREAD_STARTED = 19,
4203
+ /**
4204
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_ASSISTANT_THREAD_CONTEXT_CHANGED = 20;
4205
+ */
4206
+ SLACK_ASSISTANT_THREAD_CONTEXT_CHANGED = 20
4093
4207
  }
4094
4208
  /**
4095
4209
  * Describes the enum agentruntime.v1.RuntimeTriggerKind.