@superdurable/dex 1.15.0 → 1.17.0

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.
@@ -4,6 +4,24 @@ import { Duration } from "./google/protobuf/duration.js";
4
4
  import { Empty } from "./google/protobuf/empty.js";
5
5
  import { NullValue } from "./google/protobuf/struct.js";
6
6
  export declare const protobufPackage = "dex";
7
+ /**
8
+ * Identifies the engine behind a Dex Server. Clients use it only to adapt behavior that differs
9
+ * between engines.
10
+ */
11
+ export declare enum ServerEngine {
12
+ /**
13
+ * SERVER_ENGINE_UNSPECIFIED - The Server does not report its engine. Servers released before this field existed are the
14
+ * Go Server on Temporal or Cadence.
15
+ */
16
+ SERVER_ENGINE_UNSPECIFIED = 0,
17
+ /** SERVER_ENGINE_TEMPORAL - The Go Server running on Temporal. */
18
+ SERVER_ENGINE_TEMPORAL = 1,
19
+ /** SERVER_ENGINE_CADENCE - The Go Server running on Cadence. */
20
+ SERVER_ENGINE_CADENCE = 2,
21
+ /** SERVER_ENGINE_ZD - server-zd: the zero-dependency Server that keeps all state in object storage. */
22
+ SERVER_ENGINE_ZD = 3,
23
+ UNRECOGNIZED = -1
24
+ }
7
25
  /** Explains why a Worker declined a task. */
8
26
  export declare enum PollWorkerTaskRejectReason {
9
27
  /** POLL_WORKER_TASK_REJECT_REASON_UNSPECIFIED - No rejection reason was supplied. */
@@ -16,7 +34,10 @@ export declare enum PollWorkerTaskRejectReason {
16
34
  POLL_WORKER_TASK_REJECT_REASON_UNKNOWN_RPC = 3,
17
35
  UNRECOGNIZED = -1
18
36
  }
19
- /** Distinguishes no available Worker, a disconnected Worker, and a missing Step or RPC registration. */
37
+ /**
38
+ * Distinguishes no available Worker, a disconnected Worker, and a missing Step or RPC registration.
39
+ * Go Server internals; server-zd does not serve or persist them.
40
+ */
20
41
  export declare enum DispatchTaskErrorReason {
21
42
  DISPATCH_TASK_ERROR_REASON_UNSPECIFIED = 0,
22
43
  DISPATCH_TASK_ERROR_REASON_NO_WORKER_AVAILABLE = 1,
@@ -41,12 +62,14 @@ export declare enum IndexType {
41
62
  export declare enum WaitForMethodFailurePolicy {
42
63
  WAIT_FOR_METHOD_FAILURE_POLICY_UNSPECIFIED = 0,
43
64
  WAIT_FOR_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_FAILURE = 1,
65
+ /** WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE - Execute runs after the final WaitFor failure. */
44
66
  WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE = 2,
45
67
  UNRECOGNIZED = -1
46
68
  }
47
69
  export declare enum ExecuteMethodFailurePolicy {
48
70
  EXECUTE_METHOD_FAILURE_POLICY_UNSPECIFIED = 0,
49
71
  EXECUTE_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_EXECUTE_METHOD_FAILURE = 1,
72
+ /** EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP - The configured recovery Step starts after the final Execute failure. */
50
73
  EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP = 2,
51
74
  UNRECOGNIZED = -1
52
75
  }
@@ -65,7 +88,10 @@ export declare enum ActiveStepSearchMode {
65
88
  ACTIVE_STEP_SEARCH_MODE_DISABLED = 3,
66
89
  UNRECOGNIZED = -1
67
90
  }
68
- /** Was optimize_activity: false=SYNC, true=ASYNC. Timer is always optimized by the server. */
91
+ /**
92
+ * Was optimize_activity: false=SYNC, true=ASYNC. Timer is always optimized by the server.
93
+ * On server-zd both durabilities record the same events. ASYNC advances without waiting for the commit; there is no local phase.
94
+ */
69
95
  export declare enum StepDurability {
70
96
  STEP_DURABILITY_UNSPECIFIED = 0,
71
97
  STEP_DURABILITY_SYNC = 1,
@@ -91,10 +117,14 @@ export declare enum FlowStatus {
91
117
  FLOW_STATUS_RUNNING = 1,
92
118
  FLOW_STATUS_COMPLETED = 2,
93
119
  FLOW_STATUS_FAILED = 3,
94
- /** FLOW_STATUS_SERVER_SIDE_TIMEOUT_INTERNAL_ONLY - Reserved for reporting a backend hard timeout; applications must not depend on this status. */
120
+ /**
121
+ * FLOW_STATUS_SERVER_SIDE_TIMEOUT_INTERNAL_ONLY - Reserved for reporting a backend hard timeout; applications must not depend on this status.
122
+ * server-zd never returns this status.
123
+ */
95
124
  FLOW_STATUS_SERVER_SIDE_TIMEOUT_INTERNAL_ONLY = 4,
96
125
  FLOW_STATUS_TERMINATED = 5,
97
126
  FLOW_STATUS_CANCELED = 6,
127
+ /** FLOW_STATUS_CONTINUED_AS_NEW - server-zd never returns this status. */
98
128
  FLOW_STATUS_CONTINUED_AS_NEW = 7,
99
129
  UNRECOGNIZED = -1
100
130
  }
@@ -110,7 +140,10 @@ export declare enum FlowErrorType {
110
140
  FLOW_ERROR_TYPE_INTERNAL = 6,
111
141
  UNRECOGNIZED = -1
112
142
  }
113
- /** PendingStepMethodPhase reports the latest persisted backend lifecycle event. */
143
+ /**
144
+ * PendingStepMethodPhase reports the latest persisted backend lifecycle event.
145
+ * On server-zd, SCHEDULED waits for locks or dispatch. STARTED means an attempt is running.
146
+ */
114
147
  export declare enum PendingStepMethodPhase {
115
148
  PENDING_STEP_METHOD_PHASE_UNSPECIFIED = 0,
116
149
  PENDING_STEP_METHOD_PHASE_SCHEDULED = 1,
@@ -225,6 +258,8 @@ export interface ServerInfo {
225
258
  minimumSupportedProtocolVersion: number;
226
259
  /** Newest protocol version implemented by this Server. */
227
260
  currentProtocolVersion: number;
261
+ /** The engine behind this Server. */
262
+ serverEngine: ServerEngine;
228
263
  }
229
264
  /** Carries one Worker frame on a pull stream. Register must be the first frame. */
230
265
  export interface PollWorkerTaskRequest {
@@ -369,7 +404,10 @@ export interface PollWorkerTaskReconnect {
369
404
  /** Checks that an idle pull stream remains responsive. */
370
405
  export interface PollWorkerTaskPing {
371
406
  }
372
- /** Describes one task dispatched to a Dex task queue. */
407
+ /**
408
+ * Describes one task dispatched to a Dex task queue.
409
+ * Go Server internals; server-zd does not serve or persist them.
410
+ */
373
411
  export interface DispatchTaskRequest {
374
412
  /** Selects the initial queue: a sticky Worker ID or a Flow type. */
375
413
  queue: string;
@@ -406,7 +444,10 @@ export interface DispatchTaskRequest {
406
444
  /** Allows matching to return UNKNOWN_NAME after a Worker rejects an unknown Step type or RPC name. */
407
445
  supportsUnknownNameError: boolean;
408
446
  }
409
- /** Reports assignment changes, relays Worker output, then ends with a result, Worker error, or dispatch error. */
447
+ /**
448
+ * Reports assignment changes, relays Worker output, then ends with a result, Worker error, or dispatch error.
449
+ * Go Server internals; server-zd does not serve or persist them.
450
+ */
410
451
  export interface DispatchTaskResponse {
411
452
  output: {
412
453
  $case: "waitFor";
@@ -439,19 +480,28 @@ export interface DispatchTaskResponse {
439
480
  /** Identifies a Worker that rejected the task's Step type or RPC name. */
440
481
  rejectedByAppWorkerId: string;
441
482
  }
442
- /** Reports a failure before Dex receives a Worker result. */
483
+ /**
484
+ * Reports a failure before Dex receives a Worker result.
485
+ * Go Server internals; server-zd does not serve or persist them.
486
+ */
443
487
  export interface DispatchTaskError {
444
488
  reason: DispatchTaskErrorReason;
445
489
  detail: string;
446
490
  }
447
491
  export interface Value {
448
492
  kind: //
449
- /** Hydrate from blob storage, then replace with string_value. */
493
+ /**
494
+ * Hydrate from blob storage, then replace with string_value.
495
+ * The Server chooses this reference text; clients must treat it as opaque.
496
+ */
450
497
  {
451
498
  $case: "internalBlobIdForStringValue";
452
499
  value: string;
453
500
  } | //
454
- /** Hydrate from blob storage, then replace with obj_value. */
501
+ /**
502
+ * Hydrate from blob storage, then replace with obj_value.
503
+ * The Server chooses this reference text; clients must treat it as opaque.
504
+ */
455
505
  {
456
506
  $case: "internalBlobIdForObjValue";
457
507
  value: string;
@@ -532,7 +582,14 @@ export interface Context {
532
582
  /** Previous Step method failure supplied only to its configured recovery method. */
533
583
  recoveryError: RecoveryErrorInfo | undefined;
534
584
  lastHeartbeatValue: Value | undefined;
585
+ /**
586
+ * server-zd only: the run attempt that dispatched this invocation. It starts at 1 and
587
+ * increases on each time travel. On server-zd, run_id stays the same across run attempts,
588
+ * so combine both when an idempotency key must change after time travel.
589
+ */
590
+ runAttempt: number;
535
591
  }
592
+ /** server-zd never sets this. */
536
593
  export interface LocalActivityMetadata {
537
594
  currentStepExecutionId: string;
538
595
  fromStepExecutionId: string;
@@ -544,6 +601,7 @@ export interface RetryPolicy {
544
601
  maximumAttempts: number;
545
602
  totalDurationSeconds: number;
546
603
  }
604
+ /** server-zd does not support Flow retry and rejects a set policy with INVALID_ARGUMENT. */
547
605
  export interface FlowRetryPolicy {
548
606
  initialIntervalSeconds: number;
549
607
  backoffCoefficient: number;
@@ -557,7 +615,9 @@ export interface StepOptions {
557
615
  executeRetryPolicy: RetryPolicy | undefined;
558
616
  waitForFailurePolicy: WaitForMethodFailurePolicy;
559
617
  executeFailurePolicy: ExecuteMethodFailurePolicy;
618
+ /** Step type started after the final Execute failure. */
560
619
  executeFailureProceedStepType: string;
620
+ /** Options of the recovery Step. */
561
621
  executeFailureProceedStepOptions: StepOptions | undefined;
562
622
  skipWaitFor: boolean;
563
623
  waitForDurabilityOverride: StepDurability;
@@ -577,7 +637,9 @@ export interface FlowTimeoutHandlerOptions {
577
637
  heartbeatTimeoutSeconds: number;
578
638
  retryPolicy: RetryPolicy | undefined;
579
639
  failurePolicy: ExecuteMethodFailurePolicy;
640
+ /** Step type started after the final timeout handler failure. */
580
641
  failureProceedStepType: string;
642
+ /** Options of the recovery Step. */
581
643
  failureProceedStepOptions: StepOptions | undefined;
582
644
  durabilityOverride: StepDurability;
583
645
  lockAttributeKeys: string[];
@@ -590,7 +652,9 @@ export interface FlowAlreadyStartedOptions {
590
652
  }
591
653
  export interface FlowStartOptions {
592
654
  idReusePolicy: IdReusePolicy;
655
+ /** server-zd rejects a positive start delay with INVALID_ARGUMENT. */
593
656
  flowStartDelaySeconds: number;
657
+ /** server-zd rejects a set policy with INVALID_ARGUMENT. */
594
658
  retryPolicy: FlowRetryPolicy | undefined;
595
659
  attributes: AttributeWrite[];
596
660
  flowConfigOverride: FlowConfig | undefined;
@@ -599,7 +663,9 @@ export interface FlowStartOptions {
599
663
  }
600
664
  export interface FlowConfig {
601
665
  activeStepSearchMode?: ActiveStepSearchMode | undefined;
666
+ /** server-zd ignores this field. */
602
667
  continueAsNewThreshold?: number | undefined;
668
+ /** server-zd ignores this field. */
603
669
  continueAsNewPageSizeInBytes?: number | undefined;
604
670
  stepDurability?: StepDurability | undefined;
605
671
  workerTarget: WorkerTarget | undefined;
@@ -610,8 +676,12 @@ export interface AttributeStoreNames {
610
676
  names: string[];
611
677
  }
612
678
  export interface WorkerTarget {
613
- /** Plaintext gRPC dial target, not an HTTP URL. */
679
+ /**
680
+ * Plaintext gRPC dial target, not an HTTP URL.
681
+ * server-zd accepts only is_pull_mode and rejects address targets with INVALID_ARGUMENT.
682
+ */
614
683
  address: string;
684
+ /** server-zd accepts only is_pull_mode and rejects address targets with INVALID_ARGUMENT. */
615
685
  isHeadlessAddress: boolean;
616
686
  /** Routes work through a connected pull Worker; mutually exclusive with address. */
617
687
  isPullMode: boolean;
@@ -758,6 +828,7 @@ export interface SearchFlowsRequest {
758
828
  query: string;
759
829
  pageSize: number;
760
830
  nextPageToken: string;
831
+ /** server-zd ignores this field. */
761
832
  includeContinuedAsNew: boolean;
762
833
  }
763
834
  export interface SearchFlowsResponse {
@@ -794,12 +865,15 @@ export interface GetFlowSummaryRequest {
794
865
  }
795
866
  export interface GetFlowSummaryResponse {
796
867
  flowExecutionId: FlowExecutionID | undefined;
868
+ /** On server-zd this always equals run_id. */
797
869
  firstRunId: string;
798
870
  requestId: string;
799
871
  flowType: string;
800
872
  flowStatus: FlowStatus;
801
873
  startTime: Date | undefined;
802
874
  closeTime: Date | undefined;
875
+ /** server-zd only: the current run attempt of this run. */
876
+ runAttempt: number;
803
877
  }
804
878
  export interface InternalAsyncStepInputSnapshot {
805
879
  methodOptions: StepMethodOptions | undefined;
@@ -821,6 +895,11 @@ export interface GetHistoryEventsRequest {
821
895
  startInternalEventId: bigint;
822
896
  estimatePageSize: number;
823
897
  nextPageToken: Uint8Array;
898
+ /**
899
+ * server-zd only: selects the run attempt whose lineage is returned. Zero selects the current
900
+ * run attempt.
901
+ */
902
+ runAttempt: number;
824
903
  }
825
904
  export interface GetHistoryEventsResponse {
826
905
  events: FlowHistoryEvent[];
@@ -830,6 +909,8 @@ export interface GetHistoryEventsResponse {
830
909
  export interface FlowHistoryEvent {
831
910
  eventId: bigint;
832
911
  eventTime: Date | undefined;
912
+ /** server-zd only: the run attempt that recorded this event. */
913
+ runAttempt: number;
833
914
  payload: {
834
915
  $case: "flowStartedOrContinued";
835
916
  value: FlowStartedOrContinuedHistoryEvent;
@@ -872,6 +953,12 @@ export interface FlowHistoryEvent {
872
953
  export interface TimeTravelForkHistoryEvent {
873
954
  /** Previous run containing the original history branch. */
874
955
  previousRunId: string;
956
+ /** server-zd only: the run attempt that was current before this time travel. */
957
+ previousRunAttempt: number;
958
+ /** server-zd only: the run attempt of the point this time travel returned to. */
959
+ targetRunAttempt: number;
960
+ /** server-zd only: the event ID of the point this time travel returned to. */
961
+ targetEventId: bigint;
875
962
  }
876
963
  export interface FlowStartedOrContinuedHistoryEvent {
877
964
  flowExecutionId: FlowExecutionID | undefined;
@@ -883,7 +970,9 @@ export interface FlowStartedOrContinuedHistoryEvent {
883
970
  startOrContinue: {
884
971
  $case: "initialStart";
885
972
  value: FlowInitialStart;
886
- } | {
973
+ } | //
974
+ /** server-zd never sets this. */
975
+ {
887
976
  $case: "continuedStart";
888
977
  value: FlowContinuedStart;
889
978
  } | undefined;
@@ -894,6 +983,7 @@ export interface FlowInitialStart {
894
983
  stepOptions: StepOptions | undefined;
895
984
  initialAttributes: KV[];
896
985
  }
986
+ /** server-zd never sets this. */
897
987
  export interface FlowContinuedStart {
898
988
  previousRunId: string;
899
989
  stepsToStart: StepMovement[];
@@ -914,6 +1004,7 @@ export interface FlowClosedHistoryEvent {
914
1004
  results: StepCompletionOutput[];
915
1005
  errorType: FlowErrorType;
916
1006
  errorMessage: string;
1007
+ /** server-zd never sets this. */
917
1008
  continuedToRunId: string;
918
1009
  stickyAppWorkerId: string;
919
1010
  }
@@ -1073,9 +1164,16 @@ export interface ResetFlowRequest {
1073
1164
  /** Skips reapplying RPCs, Channel publications, and Attribute writes after the reset point. */
1074
1165
  skipWritesReapply: boolean;
1075
1166
  stepMethod: FlowResetStepMethod;
1167
+ /**
1168
+ * server-zd only: selects the run attempt whose history is searched for the reset point.
1169
+ * Zero selects the current run attempt.
1170
+ */
1171
+ runAttempt: number;
1076
1172
  }
1077
1173
  export interface ResetFlowResponse {
1078
1174
  runId: string;
1175
+ /** server-zd only: the run attempt created by this time travel. run_id does not change there. */
1176
+ runAttempt: number;
1079
1177
  }
1080
1178
  export interface InvokeRPCRequest {
1081
1179
  flowId: string;
@@ -1089,7 +1187,10 @@ export interface InvokeRPCRequest {
1089
1187
  * read-modify-write. Empty means no locking and uses the configured RPC path.
1090
1188
  */
1091
1189
  lockAttributeKeys: string[];
1092
- /** Per-call UUID, SDK-generated and future-overridable; identical retries reuse it. Temporal Update paths use it as the run-scoped Update ID; Continue-as-New resets scope. */
1190
+ /**
1191
+ * Per-call UUID, SDK-generated and future-overridable; identical retries reuse it. Temporal Update paths use it as the run-scoped Update ID; Continue-as-New resets scope.
1192
+ * server-zd deduplicates it for the whole run.
1193
+ */
1093
1194
  requestId: string;
1094
1195
  /**
1095
1196
  * Requests transactional reads and writes. Attribute locking enables it
@@ -1139,6 +1240,7 @@ export interface WaitForStepCompletionRequest {
1139
1240
  * Use a positive value only to reclaim accepted waits left in flight after callers exit.
1140
1241
  * Temporal permits 10 in-flight Updates per Workflow Execution. Active callers transparently
1141
1242
  * start a new generation. Zero disables rollover; each rollover adds Update history.
1243
+ * server-zd ignores this field.
1142
1244
  */
1143
1245
  internalHandlerTimeoutSeconds: number;
1144
1246
  /** Optional logical idempotency key. Empty derives wait-for-step-completion:{Step execution ID}. */
@@ -1159,6 +1261,7 @@ export interface WaitForAttributeRequest {
1159
1261
  * Use a positive value only to reclaim accepted waits left in flight after callers exit.
1160
1262
  * Temporal permits 10 in-flight Updates per Workflow Execution. Active callers transparently
1161
1263
  * start a new generation. Zero disables rollover; each rollover adds Update history.
1264
+ * server-zd ignores this field.
1162
1265
  */
1163
1266
  internalHandlerTimeoutSeconds: number;
1164
1267
  /** Optional logical idempotency key. Empty derives wait-for-attribute:{encoded condition}. */
@@ -1245,7 +1348,10 @@ export interface InvokeWaitForMethodRequest_LoadedChannelMessagesEntry {
1245
1348
  value: ChannelValues | undefined;
1246
1349
  }
1247
1350
  export interface InvokeWaitForMethodResponse {
1248
- /** Server-populated lineage input for local activity history. */
1351
+ /**
1352
+ * Server-populated lineage input for local activity history.
1353
+ * server-zd never sets this.
1354
+ */
1249
1355
  localActivityMetadata: LocalActivityMetadata | undefined;
1250
1356
  upsertAttributes: AttributeWrite[];
1251
1357
  waitingCondition: WaitingCondition | undefined;
@@ -1302,7 +1408,10 @@ export interface InvokeExecuteMethodRequest_LoadedChannelMessagesEntry {
1302
1408
  value: ChannelValues | undefined;
1303
1409
  }
1304
1410
  export interface InvokeExecuteMethodResponse {
1305
- /** Server-populated lineage input for local activity history. */
1411
+ /**
1412
+ * Server-populated lineage input for local activity history.
1413
+ * server-zd never sets this.
1414
+ */
1306
1415
  localActivityMetadata: LocalActivityMetadata | undefined;
1307
1416
  stepDecision: StepDecision | undefined;
1308
1417
  upsertAttributes: AttributeWrite[];
@@ -1397,7 +1506,9 @@ export interface WaitingConditionState {
1397
1506
  export interface SubFlowOptions {
1398
1507
  reusePolicy: SubFlowReusePolicy;
1399
1508
  flowTimeoutSeconds: number;
1509
+ /** server-zd rejects a positive start delay with INVALID_ARGUMENT. */
1400
1510
  flowStartDelaySeconds: number;
1511
+ /** server-zd rejects a set policy with INVALID_ARGUMENT. */
1401
1512
  retryPolicy: FlowRetryPolicy | undefined;
1402
1513
  attributes: AttributeWrite[];
1403
1514
  flowConfigOverride: FlowConfig | undefined;
@@ -1595,6 +1706,7 @@ export interface RecoveryErrorInfo {
1595
1706
  errorType: string;
1596
1707
  }
1597
1708
  export interface InternalLocalStepActivityFailure {
1709
+ /** server-zd never sets this. */
1598
1710
  localActivityMetadata: LocalActivityMetadata | undefined;
1599
1711
  firstAttemptTimestamp: bigint;
1600
1712
  methodOptions: StepMethodOptions | undefined;
@@ -2190,6 +2302,7 @@ export declare const FlowServiceService: {
2190
2302
  readonly responseSerialize: (value: WaitForAttributeResponse) => Buffer;
2191
2303
  readonly responseDeserialize: (value: Buffer) => WaitForAttributeResponse;
2192
2304
  };
2305
+ /** server-zd returns UNIMPLEMENTED. */
2193
2306
  readonly triggerContinueAsNew: {
2194
2307
  readonly path: "/dex.FlowService/TriggerContinueAsNew";
2195
2308
  readonly requestStream: false;
@@ -2236,6 +2349,7 @@ export interface FlowServiceServer extends UntypedServiceImplementation {
2236
2349
  updateFlowConfig: handleUnaryCall<UpdateFlowConfigRequest, Empty>;
2237
2350
  waitForStepCompletion: handleUnaryCall<WaitForStepCompletionRequest, WaitForStepCompletionResponse>;
2238
2351
  waitForAttribute: handleUnaryCall<WaitForAttributeRequest, WaitForAttributeResponse>;
2352
+ /** server-zd returns UNIMPLEMENTED. */
2239
2353
  triggerContinueAsNew: handleUnaryCall<TriggerContinueAsNewRequest, Empty>;
2240
2354
  healthCheck: handleUnaryCall<Empty, HealthInfo>;
2241
2355
  }
@@ -2316,6 +2430,7 @@ export interface FlowServiceClient extends Client {
2316
2430
  waitForAttribute(request: WaitForAttributeRequest, callback: (error: ServiceError | null, response: WaitForAttributeResponse) => void): ClientUnaryCall;
2317
2431
  waitForAttribute(request: WaitForAttributeRequest, metadata: Metadata, callback: (error: ServiceError | null, response: WaitForAttributeResponse) => void): ClientUnaryCall;
2318
2432
  waitForAttribute(request: WaitForAttributeRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: WaitForAttributeResponse) => void): ClientUnaryCall;
2433
+ /** server-zd returns UNIMPLEMENTED. */
2319
2434
  triggerContinueAsNew(request: TriggerContinueAsNewRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
2320
2435
  triggerContinueAsNew(request: TriggerContinueAsNewRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
2321
2436
  triggerContinueAsNew(request: TriggerContinueAsNewRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
@@ -2328,7 +2443,10 @@ export declare const FlowServiceClient: {
2328
2443
  service: typeof FlowServiceService;
2329
2444
  serviceName: string;
2330
2445
  };
2331
- /** Hosted by Dex worker; server calls these RPCs. */
2446
+ /**
2447
+ * Hosted by Dex worker; server calls these RPCs.
2448
+ * server-zd supports only pull Workers and never calls WorkerService.
2449
+ */
2332
2450
  export type WorkerServiceService = typeof WorkerServiceService;
2333
2451
  export declare const WorkerServiceService: {
2334
2452
  readonly invokeWaitForMethod: {
@@ -2407,7 +2525,10 @@ export declare const WorkerTaskServiceClient: {
2407
2525
  service: typeof WorkerTaskServiceService;
2408
2526
  serviceName: string;
2409
2527
  };
2410
- /** Hosted on the internal listener; server instances route tasks and Worker streams to queue owners. */
2528
+ /**
2529
+ * Hosted on the internal listener; server instances route tasks and Worker streams to queue owners.
2530
+ * Go Server internals; server-zd does not serve or persist them.
2531
+ */
2411
2532
  export type MatchingServiceService = typeof MatchingServiceService;
2412
2533
  export declare const MatchingServiceService: {
2413
2534
  /** Streams Worker output frames and a final result or dispatch error. */
@@ -2451,7 +2572,10 @@ export declare const MatchingServiceClient: {
2451
2572
  service: typeof MatchingServiceService;
2452
2573
  serviceName: string;
2453
2574
  };
2454
- /** Server-internal only (interpreter CAN activity → API). Not SDK-facing. */
2575
+ /**
2576
+ * Server-internal only (interpreter CAN activity → API). Not SDK-facing.
2577
+ * Go Server internals; server-zd does not serve or persist them.
2578
+ */
2455
2579
  export type InternalServiceService = typeof InternalServiceService;
2456
2580
  export declare const InternalServiceService: {
2457
2581
  readonly dumpFlowForContinueAsNew: {