@yielded/agent-platform-cloudflare 0.1.0-beta.170 → 0.1.0-beta.172

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.
@@ -66,7 +66,7 @@ declare const Frame: Schema.Union<readonly [Schema.TaggedStruct<"Reset", {
66
66
  }>]>;
67
67
  type Frame = typeof Frame.Type;
68
68
  declare namespace CloudflareThreadClient_d_exports {
69
- export { AbortRecorded, ApprovalRecorded, AwaitProgressRequest, CancelProgressRequest, ClientAbortFailure, ClientApprovalFailure, ClientAwaitFailure, ClientObserveFailure, ClientProgressFailure, ClientSubmitFailure, ClientUnknownFailure, CloudflareThreadClient, HostFailed, HostFailure, HostProtocolError, HostResponse, Frame as LiveTextFrame, ObservePageRequest, ObservedPage, ProgressCancelled, ProgressObserved, SettlementReached, SettlementRecordReached, SubmissionStatusResponse, SubmitRequest, SubmitSucceeded, ThreadClientError, UnknownResolutionRecorded, boundHostDiagnostic, decodeAbortCommand, decodeApprovalDecisionCommand, decodeAwaitProgressRequest, decodeCancelProgressRequest, decodeHostResponse, decodeObservePageRequest, decodeReceipt, decodeSubmitRequest, decodeUnknownResolutionCommand, encodeAbortCommand, encodeApprovalDecisionCommand, encodeAwaitProgressRequest, encodeCancelProgressRequest, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand };
69
+ export { AbortRecorded, ApprovalRecorded, AwaitProgressRequest, AwaitSettlementRequest, CancelProgressRequest, ClientAbortFailure, ClientApprovalFailure, ClientAwaitFailure, ClientObserveFailure, ClientProgressFailure, ClientSubmitFailure, ClientUnknownFailure, CloudflareThreadClient, HostFailed, HostFailure, HostProtocolError, HostResponse, Frame as LiveTextFrame, ObservePageRequest, ObservedPage, ProgressCancelled, ProgressObserved, SettlementReached, SettlementRecordReached, SubmissionStatusResponse, SubmitRequest, SubmitSucceeded, ThreadClientError, UnknownResolutionRecorded, boundHostDiagnostic, decodeAbortCommand, decodeApprovalDecisionCommand, decodeAwaitProgressRequest, decodeAwaitSettlementRequest, decodeCancelProgressRequest, decodeHostResponse, decodeObservePageRequest, decodeReceipt, decodeSubmitRequest, decodeUnknownResolutionCommand, encodeAbortCommand, encodeApprovalDecisionCommand, encodeAwaitProgressRequest, encodeAwaitSettlementRequest, encodeCancelProgressRequest, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand };
70
70
  }
71
71
  /** Truncate a diagnostic string to the host protocol's bounded length. */
72
72
  declare const boundHostDiagnostic: (value: string) => string;
@@ -242,6 +242,15 @@ declare const ObservePageRequest_base: Schema.Class<ObservePageRequest, Schema.S
242
242
  }>, {}>;
243
243
  /** One bounded page of canonical records after an optional sequence. */
244
244
  declare class ObservePageRequest extends ObservePageRequest_base {}
245
+ declare const AwaitSettlementRequest_base: Schema.Class<AwaitSettlementRequest, Schema.Struct<{
246
+ readonly receiptId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ReceiptId">;
247
+ readonly submissionId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SubmissionId">;
248
+ readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
249
+ readonly queueSequence: Schema.brand<Schema.Natural, "@effect-agent/thread/QueueSequence">;
250
+ waiterId: Schema.optionalKey<Schema.String>;
251
+ }>, Receipt> & Pick<{}, never>;
252
+ /** Receipt-shaped observation request; the optional identity owns only the remote wait. */
253
+ declare class AwaitSettlementRequest extends AwaitSettlementRequest_base {}
245
254
  declare const AwaitProgressRequest_base: Schema.Class<AwaitProgressRequest, Schema.Struct<{
246
255
  readonly afterSequence: Schema.brand<Schema.Natural, "@effect-agent/thread/CanonicalSequence">;
247
256
  readonly waiterId: Schema.String;
@@ -251,7 +260,7 @@ declare class AwaitProgressRequest extends AwaitProgressRequest_base {}
251
260
  declare const CancelProgressRequest_base: Schema.Class<CancelProgressRequest, Schema.Struct<{
252
261
  readonly waiterId: Schema.String;
253
262
  }>, {}>;
254
- /** Best-effort cancellation of one in-flight progress RPC. */
263
+ /** Best-effort cancellation of one in-flight progress or settlement observation. */
255
264
  declare class CancelProgressRequest extends CancelProgressRequest_base {}
256
265
  /**
257
266
  * Every typed failure a host entry point can produce, plus the protocol's own errors. Same
@@ -547,6 +556,14 @@ declare const encodeReceipt: (input: Receipt, options?: import("effect/SchemaAST
547
556
  readonly threadId: string;
548
557
  readonly queueSequence: number;
549
558
  }, Schema.SchemaError, never>;
559
+ declare const decodeAwaitSettlementRequest: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AwaitSettlementRequest, Schema.SchemaError, never>;
560
+ declare const encodeAwaitSettlementRequest: (input: AwaitSettlementRequest, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<{
561
+ readonly receiptId: string;
562
+ readonly submissionId: string;
563
+ readonly threadId: string;
564
+ readonly queueSequence: number;
565
+ readonly waiterId?: string | undefined;
566
+ }, Schema.SchemaError, never>;
550
567
  declare const decodeObservePageRequest: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<ObservePageRequest, Schema.SchemaError, never>;
551
568
  declare const encodeObservePageRequest: (input: ObservePageRequest, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<{
552
569
  readonly afterSequence?: number | undefined;
@@ -838,85 +855,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
838
855
  readonly createdAt: string;
839
856
  readonly deploymentId: string;
840
857
  readonly payload: {
841
- readonly _tag: "SubmissionSettled";
842
- readonly submissionId: string;
843
- readonly settlementId: string;
844
- readonly receiptId: string;
845
- readonly outcome: "aborted" | "completed" | "failed";
846
- readonly runId?: string | undefined;
847
- readonly historyRecordCount?: number | undefined;
848
- readonly result?: Schema.Json | undefined;
849
- readonly runDisposition?: Schema.Json | undefined;
850
- readonly finishReason?: "budget-exhausted" | undefined;
851
- readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
852
- readonly policyLimit?: "cost" | "duration" | "repeated-failures" | "tokens" | "tool-calls" | "turns" | "usage" | undefined;
853
- readonly usageSummary?: {
854
- readonly modelCalls: number;
855
- readonly inputTokens: {
856
- readonly total: number;
857
- readonly uncached: number;
858
- readonly cacheRead: number;
859
- readonly cacheWrite: number;
860
- };
861
- readonly outputTokens: {
862
- readonly total: number;
863
- readonly text: number;
864
- readonly reasoning: number;
865
- };
866
- readonly webSearchCalls?: number | undefined;
867
- readonly costMicrousd: number;
868
- readonly byModel: readonly {
869
- readonly provider: string;
870
- readonly model: string;
871
- readonly responseModel?: string | undefined;
872
- readonly serviceTier?: string | undefined;
873
- readonly pricingVersion?: string | undefined;
874
- readonly modelCalls: number;
875
- readonly inputTokens: {
876
- readonly total: number;
877
- readonly uncached: number;
878
- readonly cacheRead: number;
879
- readonly cacheWrite: number;
880
- };
881
- readonly outputTokens: {
882
- readonly total: number;
883
- readonly text: number;
884
- readonly reasoning: number;
885
- };
886
- readonly webSearchCalls?: number | undefined;
887
- readonly costMicrousd: number;
888
- }[];
889
- readonly usageStatus?: "complete" | "partial" | "unknown" | undefined;
890
- readonly pricingStatus?: "complete" | "partial" | "unknown" | undefined;
891
- readonly unobservedModelCalls?: number | undefined;
892
- } | undefined;
893
- readonly uncommittedModelUsage?: readonly {
894
- readonly provider: string;
895
- readonly model: string;
896
- readonly serviceTier?: string | undefined;
897
- readonly pricingVersion?: string | undefined;
898
- readonly response?: {
899
- readonly id?: string | undefined;
900
- readonly model?: string | undefined;
901
- } | undefined;
902
- readonly purpose?: "summary" | "turn" | undefined;
903
- readonly usageStatus?: "complete" | "partial" | "unknown" | undefined;
904
- readonly pricingStatus?: "estimated" | "unknown" | undefined;
905
- readonly inputTokens: {
906
- readonly total: number;
907
- readonly uncached: number;
908
- readonly cacheRead: number;
909
- readonly cacheWrite: number;
910
- };
911
- readonly outputTokens: {
912
- readonly total: number;
913
- readonly text: number;
914
- readonly reasoning: number;
915
- };
916
- readonly webSearchCalls?: number | undefined;
917
- readonly costMicrousd: number;
918
- }[] | undefined;
919
- } | {
920
858
  readonly _tag: "UserInputRecorded";
921
859
  readonly submissionId?: string | undefined;
922
860
  readonly kind: "follow-up" | "steering" | "user";
@@ -1221,6 +1159,85 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1221
1159
  readonly submissionId: string;
1222
1160
  readonly author: string;
1223
1161
  readonly reason: string;
1162
+ } | {
1163
+ readonly _tag: "SubmissionSettled";
1164
+ readonly submissionId: string;
1165
+ readonly settlementId: string;
1166
+ readonly receiptId: string;
1167
+ readonly outcome: "aborted" | "completed" | "failed";
1168
+ readonly runId?: string | undefined;
1169
+ readonly historyRecordCount?: number | undefined;
1170
+ readonly result?: Schema.Json | undefined;
1171
+ readonly runDisposition?: Schema.Json | undefined;
1172
+ readonly finishReason?: "budget-exhausted" | undefined;
1173
+ readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
1174
+ readonly policyLimit?: "cost" | "duration" | "repeated-failures" | "tokens" | "tool-calls" | "turns" | "usage" | undefined;
1175
+ readonly usageSummary?: {
1176
+ readonly modelCalls: number;
1177
+ readonly inputTokens: {
1178
+ readonly total: number;
1179
+ readonly uncached: number;
1180
+ readonly cacheRead: number;
1181
+ readonly cacheWrite: number;
1182
+ };
1183
+ readonly outputTokens: {
1184
+ readonly total: number;
1185
+ readonly text: number;
1186
+ readonly reasoning: number;
1187
+ };
1188
+ readonly webSearchCalls?: number | undefined;
1189
+ readonly costMicrousd: number;
1190
+ readonly byModel: readonly {
1191
+ readonly provider: string;
1192
+ readonly model: string;
1193
+ readonly responseModel?: string | undefined;
1194
+ readonly serviceTier?: string | undefined;
1195
+ readonly pricingVersion?: string | undefined;
1196
+ readonly modelCalls: number;
1197
+ readonly inputTokens: {
1198
+ readonly total: number;
1199
+ readonly uncached: number;
1200
+ readonly cacheRead: number;
1201
+ readonly cacheWrite: number;
1202
+ };
1203
+ readonly outputTokens: {
1204
+ readonly total: number;
1205
+ readonly text: number;
1206
+ readonly reasoning: number;
1207
+ };
1208
+ readonly webSearchCalls?: number | undefined;
1209
+ readonly costMicrousd: number;
1210
+ }[];
1211
+ readonly usageStatus?: "complete" | "partial" | "unknown" | undefined;
1212
+ readonly pricingStatus?: "complete" | "partial" | "unknown" | undefined;
1213
+ readonly unobservedModelCalls?: number | undefined;
1214
+ } | undefined;
1215
+ readonly uncommittedModelUsage?: readonly {
1216
+ readonly provider: string;
1217
+ readonly model: string;
1218
+ readonly serviceTier?: string | undefined;
1219
+ readonly pricingVersion?: string | undefined;
1220
+ readonly response?: {
1221
+ readonly id?: string | undefined;
1222
+ readonly model?: string | undefined;
1223
+ } | undefined;
1224
+ readonly purpose?: "summary" | "turn" | undefined;
1225
+ readonly usageStatus?: "complete" | "partial" | "unknown" | undefined;
1226
+ readonly pricingStatus?: "estimated" | "unknown" | undefined;
1227
+ readonly inputTokens: {
1228
+ readonly total: number;
1229
+ readonly uncached: number;
1230
+ readonly cacheRead: number;
1231
+ readonly cacheWrite: number;
1232
+ };
1233
+ readonly outputTokens: {
1234
+ readonly total: number;
1235
+ readonly text: number;
1236
+ readonly reasoning: number;
1237
+ };
1238
+ readonly webSearchCalls?: number | undefined;
1239
+ readonly costMicrousd: number;
1240
+ }[] | undefined;
1224
1241
  } | {
1225
1242
  readonly _tag: "SubagentRequested";
1226
1243
  readonly runId: string;
@@ -1870,40 +1887,50 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1870
1887
  readonly message: string;
1871
1888
  readonly cause?: Schema.Json | undefined;
1872
1889
  } | {
1873
- readonly _tag: "HostProtocolError";
1874
- readonly message: string;
1890
+ readonly _tag: "ThreadNotMaterialized";
1891
+ readonly threadId: string;
1875
1892
  } | {
1876
- readonly _tag: "AdmissionLimitExceeded";
1877
- readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
1878
- readonly actual: number;
1879
- readonly maximum: number;
1893
+ readonly _tag: "ThreadStoreError";
1894
+ readonly operation: string;
1895
+ readonly message: string;
1896
+ readonly cause?: Schema.Json | undefined;
1897
+ readonly diagnostic?: {
1898
+ readonly causeTag: string;
1899
+ readonly operation: string;
1900
+ readonly decoder?: string | undefined;
1901
+ readonly issueTag?: string | undefined;
1902
+ readonly sequence?: number | undefined;
1903
+ } | undefined;
1880
1904
  } | {
1881
1905
  readonly _tag: "LedgerError";
1882
1906
  readonly operation: string;
1883
1907
  readonly message: string;
1884
1908
  readonly cause?: import("@yielded/agent/failure-diagnostic").Diagnostic | undefined;
1885
1909
  } | {
1886
- readonly _tag: "AdmissionConflict";
1910
+ readonly _tag: "AppendConflict";
1887
1911
  readonly threadId: string;
1888
- readonly principal: string;
1889
- readonly idempotencyKey: string;
1890
- readonly existingInputDigest: string;
1891
- readonly attemptedInputDigest: string;
1912
+ readonly batchId: string;
1913
+ readonly reason: "batch-content" | "record-identity" | "stale-command" | "tail";
1914
+ readonly actualTailSequence?: number | undefined;
1915
+ } | {
1916
+ readonly _tag: "OwnershipLost";
1917
+ readonly submissionId: string;
1918
+ } | {
1919
+ readonly _tag: "OperationDenied";
1920
+ readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
1921
+ readonly reason: string;
1922
+ readonly threadId?: string | undefined;
1923
+ readonly submissionId?: string | undefined;
1924
+ } | {
1925
+ readonly _tag: "SettlementConflict";
1926
+ readonly submissionId: string;
1927
+ readonly existingOutcome: "aborted" | "completed" | "failed";
1892
1928
  } | {
1893
1929
  readonly _tag: "AdmissionPolicyError";
1894
1930
  readonly reason: "occupied" | "refused" | "unavailable";
1895
1931
  readonly code: string;
1896
1932
  readonly cause?: import("@yielded/agent/failure-diagnostic").Diagnostic | undefined;
1897
1933
  readonly stack?: string | undefined;
1898
- } | {
1899
- readonly _tag: "AgentInputError";
1900
- readonly message: string;
1901
- } | {
1902
- readonly _tag: "AppendConflict";
1903
- readonly threadId: string;
1904
- readonly batchId: string;
1905
- readonly reason: "batch-content" | "record-identity" | "stale-command" | "tail";
1906
- readonly actualTailSequence?: number | undefined;
1907
1934
  } | {
1908
1935
  readonly _tag: "DigestError";
1909
1936
  readonly message: string;
@@ -1912,27 +1939,27 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1912
1939
  readonly _tag: "DurableRuntimeFailpointError";
1913
1940
  readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "claim:after-claim" | "compaction:after-canonical-append" | "compaction:before-canonical-append" | "input:after-canonical-append" | "join:after-canonical-append" | "join:after-claim" | "policy:after-reservation-append" | "policy:before-reservation-append" | "resolve:after-intent" | "run:after-duration-append" | "run:after-start-append" | "run:before-duration-append" | "run:before-start-append" | "step:after-step-append" | "subagent:after-admit" | "subagent:after-child-abort-intent" | "subagent:after-child-ready" | "subagent:after-join-append" | "subagent:after-release" | "subagent:after-release-pending" | "subagent:after-request-append" | "subagent:after-reserve" | "subagent:after-sibling-settle" | "subagent:after-start-append" | "subagent:after-suspend" | "subagent:before-join-append" | "submit:after-admit" | "submit:after-materialize" | "terminalize:after-canonical-append" | "terminalize:before-publication" | "tools:after-dispatch-fence" | "tools:after-unavailable-append" | "tools:before-dispatch-fence" | "tools:before-unavailable-append" | "turn:after-canonical-append" | "turn:after-response-append" | "turn:after-results-append" | "update:after-canonical-append" | "update:after-delivery-insert" | "update:before-canonical-append" | "update:before-delivery-insert" | "worker:after-completion-append" | "worker:after-origin-append" | "worker:after-report-append" | "worker:after-report-delivery" | "worker:after-source-append" | "worker:after-stop-append" | "worker:after-stop-seal" | "worker:after-subtree-append" | "worker:before-completion-append" | "worker:before-origin-append" | "worker:before-report-append" | "worker:before-report-delivery" | "worker:before-source-append" | "worker:before-stop-append" | "worker:before-stop-seal" | "worker:before-subtree-append";
1914
1941
  } | {
1915
- readonly _tag: "OwnershipLost";
1916
- readonly submissionId: string;
1917
- } | {
1918
- readonly _tag: "ThreadNotMaterialized";
1942
+ readonly _tag: "AdmissionConflict";
1919
1943
  readonly threadId: string;
1944
+ readonly principal: string;
1945
+ readonly idempotencyKey: string;
1946
+ readonly existingInputDigest: string;
1947
+ readonly attemptedInputDigest: string;
1920
1948
  } | {
1921
- readonly _tag: "ThreadStoreError";
1922
- readonly operation: string;
1949
+ readonly _tag: "AgentInputError";
1923
1950
  readonly message: string;
1924
- readonly cause?: Schema.Json | undefined;
1925
- readonly diagnostic?: {
1926
- readonly causeTag: string;
1927
- readonly operation: string;
1928
- readonly decoder?: string | undefined;
1929
- readonly issueTag?: string | undefined;
1930
- readonly sequence?: number | undefined;
1931
- } | undefined;
1932
1951
  } | {
1933
- readonly _tag: "SettlementConflict";
1952
+ readonly _tag: "AdmissionLimitExceeded";
1953
+ readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
1954
+ readonly actual: number;
1955
+ readonly maximum: number;
1956
+ } | {
1957
+ readonly _tag: "HostProtocolError";
1958
+ readonly message: string;
1959
+ } | {
1960
+ readonly _tag: "JoinedToHost";
1934
1961
  readonly submissionId: string;
1935
- readonly existingOutcome: "aborted" | "completed" | "failed";
1962
+ readonly hostSubmissionId: string;
1936
1963
  } | {
1937
1964
  readonly _tag: "ApprovalConflict";
1938
1965
  readonly submissionId: string;
@@ -1942,16 +1969,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1942
1969
  readonly _tag: "UnknownResolutionConflict";
1943
1970
  readonly submissionId: string;
1944
1971
  readonly toolCallId: string;
1945
- } | {
1946
- readonly _tag: "JoinedToHost";
1947
- readonly submissionId: string;
1948
- readonly hostSubmissionId: string;
1949
- } | {
1950
- readonly _tag: "OperationDenied";
1951
- readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
1952
- readonly reason: string;
1953
- readonly threadId?: string | undefined;
1954
- readonly submissionId?: string | undefined;
1955
1972
  };
1956
1973
  }, Schema.SchemaError, never>;
1957
1974
  declare const decodeHostResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AbortRecorded | ApprovalRecorded | HostFailed | ObservedPage | ProgressCancelled | ProgressObserved | SettlementReached | SettlementRecordReached | SubmissionStatusResponse | SubmitSucceeded | UnknownResolutionRecorded, Schema.SchemaError, never>;
@@ -1974,11 +1991,16 @@ declare const CloudflareThreadClient_base: Context.ServiceClass<CloudflareThread
1974
1991
  readonly submit: <InputSchema extends Schema.Top>(agent: DurableSubmitAgent<InputSchema>, input: InputSchema["Type"], options: DurableSubmitOptions) => Effect.Effect<Receipt, ClientSubmitFailure, InputSchema["EncodingServices"]>;
1975
1992
  /** Wake-hinted, poll-guaranteed settlement wait executed inside the owning Object. */
1976
1993
  readonly submissionStatus: (receipt: Receipt) => Effect.Effect<SubmissionStatus, ClientAwaitFailure>;
1994
+ /**
1995
+ * Wait for settlement; interruption spends at most one second cancelling the remote
1996
+ * observation best effort. Cancellation never aborts the admitted Run.
1997
+ */
1977
1998
  readonly awaitSettlement: (receipt: Receipt) => Effect.Effect<Settlement, ClientAwaitFailure>;
1978
1999
  /**
1979
2000
  * Wait for finalization and return this Receipt's canonical terminal record in one RPC.
1980
2001
  * Requires both settlement and observation authority. Decode an ordinary completed
1981
2002
  * record's result through the Agent output Schema; joined completion may have no result.
2003
+ * Interruption uses the same bounded observation cancellation as `awaitSettlement`.
1982
2004
  */
1983
2005
  readonly awaitSettlementRecord: (receipt: Receipt) => Effect.Effect<SubmissionSettledRecord, ClientAwaitFailure>;
1984
2006
  /**
@@ -2029,5 +2051,5 @@ declare class CloudflareThreadClient extends CloudflareThreadClient_base {
2029
2051
  static readonly layer: Layer.Layer<CloudflareThreadClient, never, ThreadObjectNamespace | Crypto.Crypto>;
2030
2052
  }
2031
2053
  //#endregion
2032
- export { decodeAbortCommand as A, encodeApprovalDecisionCommand as B, SettlementRecordReached as C, ThreadClientError as D, SubmitSucceeded as E, decodeObservePageRequest as F, encodeReceipt as G, encodeCancelProgressRequest as H, decodeReceipt as I, Frame as J, encodeSubmitRequest as K, decodeSubmitRequest as L, decodeAwaitProgressRequest as M, decodeCancelProgressRequest as N, UnknownResolutionRecorded as O, decodeHostResponse as P, decodeUnknownResolutionCommand as R, SettlementReached as S, SubmitRequest as T, encodeHostResponse as U, encodeAwaitProgressRequest as V, encodeObservePageRequest as W, HostResponse as _, ClientAbortFailure as a, ProgressCancelled as b, ClientObserveFailure as c, ClientUnknownFailure as d, CloudflareThreadClient as f, HostProtocolError as g, HostFailure as h, CancelProgressRequest as i, decodeApprovalDecisionCommand as j, boundHostDiagnostic as k, ClientProgressFailure as l, HostFailed as m, ApprovalRecorded as n, ClientApprovalFailure as o, CloudflareThreadClient_d_exports as p, encodeUnknownResolutionCommand as q, AwaitProgressRequest as r, ClientAwaitFailure as s, AbortRecorded as t, ClientSubmitFailure as u, ObservePageRequest as v, SubmissionStatusResponse as w, ProgressObserved as x, ObservedPage as y, encodeAbortCommand as z };
2033
- //# sourceMappingURL=CloudflareThreadClient-muBb_YIO.d.mts.map
2054
+ export { boundHostDiagnostic as A, decodeUnknownResolutionCommand as B, SettlementReached as C, SubmitSucceeded as D, SubmitRequest as E, decodeCancelProgressRequest as F, encodeCancelProgressRequest as G, encodeApprovalDecisionCommand as H, decodeHostResponse as I, encodeReceipt as J, encodeHostResponse as K, decodeObservePageRequest as L, decodeApprovalDecisionCommand as M, decodeAwaitProgressRequest as N, ThreadClientError as O, decodeAwaitSettlementRequest as P, decodeReceipt as R, ProgressObserved as S, SubmissionStatusResponse as T, encodeAwaitProgressRequest as U, encodeAbortCommand as V, encodeAwaitSettlementRequest as W, encodeUnknownResolutionCommand as X, encodeSubmitRequest as Y, Frame as Z, HostProtocolError as _, CancelProgressRequest as a, ObservedPage as b, ClientAwaitFailure as c, ClientSubmitFailure as d, ClientUnknownFailure as f, HostFailure as g, HostFailed as h, AwaitSettlementRequest as i, decodeAbortCommand as j, UnknownResolutionRecorded as k, ClientObserveFailure as l, CloudflareThreadClient_d_exports as m, ApprovalRecorded as n, ClientAbortFailure as o, CloudflareThreadClient as p, encodeObservePageRequest as q, AwaitProgressRequest as r, ClientApprovalFailure as s, AbortRecorded as t, ClientProgressFailure as u, HostResponse as v, SettlementRecordReached as w, ProgressCancelled as x, ObservePageRequest as y, decodeSubmitRequest as z };
2055
+ //# sourceMappingURL=CloudflareThreadClient-DuRG0MLd.d.mts.map
@@ -1,2 +1,2 @@
1
- import { A as decodeAbortCommand, B as encodeApprovalDecisionCommand, C as SettlementRecordReached, D as ThreadClientError, E as SubmitSucceeded, F as decodeObservePageRequest, G as encodeReceipt, H as encodeCancelProgressRequest, I as decodeReceipt, J as Frame, K as encodeSubmitRequest, L as decodeSubmitRequest, M as decodeAwaitProgressRequest, N as decodeCancelProgressRequest, O as UnknownResolutionRecorded, P as decodeHostResponse, R as decodeUnknownResolutionCommand, S as SettlementReached, T as SubmitRequest, U as encodeHostResponse, V as encodeAwaitProgressRequest, W as encodeObservePageRequest, _ as HostResponse, a as ClientAbortFailure, b as ProgressCancelled, c as ClientObserveFailure, d as ClientUnknownFailure, f as CloudflareThreadClient, g as HostProtocolError, h as HostFailure, i as CancelProgressRequest, j as decodeApprovalDecisionCommand, k as boundHostDiagnostic, l as ClientProgressFailure, m as HostFailed, n as ApprovalRecorded, o as ClientApprovalFailure, q as encodeUnknownResolutionCommand, r as AwaitProgressRequest, s as ClientAwaitFailure, t as AbortRecorded, u as ClientSubmitFailure, v as ObservePageRequest, w as SubmissionStatusResponse, x as ProgressObserved, y as ObservedPage, z as encodeAbortCommand } from "./CloudflareThreadClient-muBb_YIO.mjs";
2
- export { AbortRecorded, ApprovalRecorded, AwaitProgressRequest, CancelProgressRequest, ClientAbortFailure, ClientApprovalFailure, ClientAwaitFailure, ClientObserveFailure, ClientProgressFailure, ClientSubmitFailure, ClientUnknownFailure, CloudflareThreadClient, HostFailed, HostFailure, HostProtocolError, HostResponse, Frame as LiveTextFrame, ObservePageRequest, ObservedPage, ProgressCancelled, ProgressObserved, SettlementReached, SettlementRecordReached, SubmissionStatusResponse, SubmitRequest, SubmitSucceeded, ThreadClientError, UnknownResolutionRecorded, boundHostDiagnostic, decodeAbortCommand, decodeApprovalDecisionCommand, decodeAwaitProgressRequest, decodeCancelProgressRequest, decodeHostResponse, decodeObservePageRequest, decodeReceipt, decodeSubmitRequest, decodeUnknownResolutionCommand, encodeAbortCommand, encodeApprovalDecisionCommand, encodeAwaitProgressRequest, encodeCancelProgressRequest, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand };
1
+ import { A as boundHostDiagnostic, B as decodeUnknownResolutionCommand, C as SettlementReached, D as SubmitSucceeded, E as SubmitRequest, F as decodeCancelProgressRequest, G as encodeCancelProgressRequest, H as encodeApprovalDecisionCommand, I as decodeHostResponse, J as encodeReceipt, K as encodeHostResponse, L as decodeObservePageRequest, M as decodeApprovalDecisionCommand, N as decodeAwaitProgressRequest, O as ThreadClientError, P as decodeAwaitSettlementRequest, R as decodeReceipt, S as ProgressObserved, T as SubmissionStatusResponse, U as encodeAwaitProgressRequest, V as encodeAbortCommand, W as encodeAwaitSettlementRequest, X as encodeUnknownResolutionCommand, Y as encodeSubmitRequest, Z as Frame, _ as HostProtocolError, a as CancelProgressRequest, b as ObservedPage, c as ClientAwaitFailure, d as ClientSubmitFailure, f as ClientUnknownFailure, g as HostFailure, h as HostFailed, i as AwaitSettlementRequest, j as decodeAbortCommand, k as UnknownResolutionRecorded, l as ClientObserveFailure, n as ApprovalRecorded, o as ClientAbortFailure, p as CloudflareThreadClient, q as encodeObservePageRequest, r as AwaitProgressRequest, s as ClientApprovalFailure, t as AbortRecorded, u as ClientProgressFailure, v as HostResponse, w as SettlementRecordReached, x as ProgressCancelled, y as ObservePageRequest, z as decodeSubmitRequest } from "./CloudflareThreadClient-DuRG0MLd.mjs";
2
+ export { AbortRecorded, ApprovalRecorded, AwaitProgressRequest, AwaitSettlementRequest, CancelProgressRequest, ClientAbortFailure, ClientApprovalFailure, ClientAwaitFailure, ClientObserveFailure, ClientProgressFailure, ClientSubmitFailure, ClientUnknownFailure, CloudflareThreadClient, HostFailed, HostFailure, HostProtocolError, HostResponse, Frame as LiveTextFrame, ObservePageRequest, ObservedPage, ProgressCancelled, ProgressObserved, SettlementReached, SettlementRecordReached, SubmissionStatusResponse, SubmitRequest, SubmitSucceeded, ThreadClientError, UnknownResolutionRecorded, boundHostDiagnostic, decodeAbortCommand, decodeApprovalDecisionCommand, decodeAwaitProgressRequest, decodeAwaitSettlementRequest, decodeCancelProgressRequest, decodeHostResponse, decodeObservePageRequest, decodeReceipt, decodeSubmitRequest, decodeUnknownResolutionCommand, encodeAbortCommand, encodeApprovalDecisionCommand, encodeAwaitProgressRequest, encodeAwaitSettlementRequest, encodeCancelProgressRequest, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand };
@@ -1,2 +1,2 @@
1
- import { A as decodeSubmitRequest, B as encodeUnknownResolutionCommand, C as decodeAbortCommand, D as decodeHostResponse, E as decodeCancelProgressRequest, F as encodeCancelProgressRequest, I as encodeHostResponse, L as encodeObservePageRequest, M as encodeAbortCommand, N as encodeApprovalDecisionCommand, O as decodeObservePageRequest, P as encodeAwaitProgressRequest, R as encodeReceipt, S as boundHostDiagnostic, T as decodeAwaitProgressRequest, V as Frame, _ as SubmissionStatusResponse, a as CloudflareThreadClient, b as ThreadClientError, c as HostFailure, d as ObservePageRequest, f as ObservedPage, g as SettlementRecordReached, h as SettlementReached, i as CancelProgressRequest, j as decodeUnknownResolutionCommand, k as decodeReceipt, l as HostProtocolError, m as ProgressObserved, n as ApprovalRecorded, p as ProgressCancelled, r as AwaitProgressRequest, s as HostFailed, t as AbortRecorded, u as HostResponse, v as SubmitRequest, w as decodeApprovalDecisionCommand, x as UnknownResolutionRecorded, y as SubmitSucceeded, z as encodeSubmitRequest } from "./CloudflareThreadClient-CLZpN9zU.mjs";
2
- export { AbortRecorded, ApprovalRecorded, AwaitProgressRequest, CancelProgressRequest, CloudflareThreadClient, HostFailed, HostFailure, HostProtocolError, HostResponse, Frame as LiveTextFrame, ObservePageRequest, ObservedPage, ProgressCancelled, ProgressObserved, SettlementReached, SettlementRecordReached, SubmissionStatusResponse, SubmitRequest, SubmitSucceeded, ThreadClientError, UnknownResolutionRecorded, boundHostDiagnostic, decodeAbortCommand, decodeApprovalDecisionCommand, decodeAwaitProgressRequest, decodeCancelProgressRequest, decodeHostResponse, decodeObservePageRequest, decodeReceipt, decodeSubmitRequest, decodeUnknownResolutionCommand, encodeAbortCommand, encodeApprovalDecisionCommand, encodeAwaitProgressRequest, encodeCancelProgressRequest, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand };
1
+ import { A as decodeObservePageRequest, B as encodeObservePageRequest, C as boundHostDiagnostic, D as decodeAwaitSettlementRequest, E as decodeAwaitProgressRequest, F as encodeApprovalDecisionCommand, H as encodeSubmitRequest, I as encodeAwaitProgressRequest, L as encodeAwaitSettlementRequest, M as decodeSubmitRequest, N as decodeUnknownResolutionCommand, O as decodeCancelProgressRequest, P as encodeAbortCommand, R as encodeCancelProgressRequest, S as UnknownResolutionRecorded, T as decodeApprovalDecisionCommand, U as encodeUnknownResolutionCommand, V as encodeReceipt, W as Frame, _ as SettlementRecordReached, a as CancelProgressRequest, b as SubmitSucceeded, c as HostFailed, d as HostResponse, f as ObservePageRequest, g as SettlementReached, h as ProgressObserved, i as AwaitSettlementRequest, j as decodeReceipt, k as decodeHostResponse, l as HostFailure, m as ProgressCancelled, n as ApprovalRecorded, o as CloudflareThreadClient, p as ObservedPage, r as AwaitProgressRequest, t as AbortRecorded, u as HostProtocolError, v as SubmissionStatusResponse, w as decodeAbortCommand, x as ThreadClientError, y as SubmitRequest, z as encodeHostResponse } from "./CloudflareThreadClient-DgZVrZzF.mjs";
2
+ export { AbortRecorded, ApprovalRecorded, AwaitProgressRequest, AwaitSettlementRequest, CancelProgressRequest, CloudflareThreadClient, HostFailed, HostFailure, HostProtocolError, HostResponse, Frame as LiveTextFrame, ObservePageRequest, ObservedPage, ProgressCancelled, ProgressObserved, SettlementReached, SettlementRecordReached, SubmissionStatusResponse, SubmitRequest, SubmitSucceeded, ThreadClientError, UnknownResolutionRecorded, boundHostDiagnostic, decodeAbortCommand, decodeApprovalDecisionCommand, decodeAwaitProgressRequest, decodeAwaitSettlementRequest, decodeCancelProgressRequest, decodeHostResponse, decodeObservePageRequest, decodeReceipt, decodeSubmitRequest, decodeUnknownResolutionCommand, encodeAbortCommand, encodeApprovalDecisionCommand, encodeAwaitProgressRequest, encodeAwaitSettlementRequest, encodeCancelProgressRequest, encodeHostResponse, encodeObservePageRequest, encodeReceipt, encodeSubmitRequest, encodeUnknownResolutionCommand };
@@ -2,8 +2,8 @@ import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { DurableObjectContext, ThreadObjectIdentity, ThreadObjectNamespace, ThreadObjectPlacement, callThreadObject, threadNamespaceFromEnv } from "./CloudflareBindings.mjs";
3
3
  import { AdmissionLimitExceeded, CLOUDFLARE_RUNTIME_DEFAULTS, CloudflareDurableRuntimeConfig, CloudflareDurableRuntimeConfigValue, CloudflarePlatformConfigError } from "./CloudflareConfig.mjs";
4
4
  import { _ as Lifecycle, b as Projection, c as ThreadMaintenanceFailpoint, d as ThreadNativeMaintenance, f as ThreadPublication, g as HostLaneId, h as publishCommitted, l as ThreadMessageDelivery, n as DurableAlarmError, o as ThreadMaintenance, r as DurableAlarmService, s as ThreadMaintenanceAlarm, u as ThreadMutationGate, v as Messages, x as Publication, y as Native } from "./Alarm-BMEAZo3p.mjs";
5
- import { A as decodeSubmitRequest, C as decodeAbortCommand, E as decodeCancelProgressRequest, G as Request, H as MAX_DELTA_LENGTH, I as encodeHostResponse, K as isBoundedEvent, O as decodeObservePageRequest, S as boundHostDiagnostic, T as decodeAwaitProgressRequest, V as Frame, _ as SubmissionStatusResponse, a as CloudflareThreadClient, f as ObservedPage, g as SettlementRecordReached, h as SettlementReached, j as decodeUnknownResolutionCommand, k as decodeReceipt, l as HostProtocolError, m as ProgressObserved, n as ApprovalRecorded, p as ProgressCancelled, q as cloudflareCryptoLayer, s as HostFailed, t as AbortRecorded, w as decodeApprovalDecisionCommand, x as UnknownResolutionRecorded, y as SubmitSucceeded } from "./CloudflareThreadClient-CLZpN9zU.mjs";
6
- import { t as cloudflarePreparedInputAdmissionLayer } from "./prepared-admission-B61A7y6O.mjs";
5
+ import { A as decodeObservePageRequest, C as boundHostDiagnostic, D as decodeAwaitSettlementRequest, E as decodeAwaitProgressRequest, G as MAX_DELTA_LENGTH, J as Request, M as decodeSubmitRequest, N as decodeUnknownResolutionCommand, O as decodeCancelProgressRequest, S as UnknownResolutionRecorded, T as decodeApprovalDecisionCommand, W as Frame, X as cloudflareCryptoLayer, Y as isBoundedEvent, _ as SettlementRecordReached, b as SubmitSucceeded, c as HostFailed, g as SettlementReached, h as ProgressObserved, j as decodeReceipt, m as ProgressCancelled, n as ApprovalRecorded, o as CloudflareThreadClient, p as ObservedPage, t as AbortRecorded, u as HostProtocolError, v as SubmissionStatusResponse, w as decodeAbortCommand, z as encodeHostResponse } from "./CloudflareThreadClient-DgZVrZzF.mjs";
6
+ import { t as cloudflarePreparedInputAdmissionLayer } from "./prepared-admission-CSdzFM_v.mjs";
7
7
  import { cloudflareWakeSchedulerLayer } from "./WakeScheduler.mjs";
8
8
  import { ThreadPortTransport, executePortRequest, makeLocalSubmissionLookup, portTransportFailure, routedMessageDeliveryStoreLayer, routedSettlementPublisherLayer, routedSubmissionLedgerLayer, routedThreadStoreLayer, routedWorkerAdmissionLayer } from "@yielded/agent-storage-cloudflare/port-routing";
9
9
  import { compileRegistrations } from "@yielded/agent/agent-registration";
@@ -12,7 +12,7 @@ import { SubmissionId, ThreadId } from "@yielded/agent/identifiers";
12
12
  import { AdmissionPolicyError, LedgerError, OwnershipLost, SettlementConflict, SubmissionLedger, SubmissionLookupByKey } from "@yielded/agent/submission-ledger";
13
13
  import { ThreadProjectionMaintenance } from "@yielded/agent/thread-projection-maintenance";
14
14
  import { WakeScheduler } from "@yielded/agent/wake-scheduler";
15
- import { Cause, Clock, Context, Deferred, Duration, Effect, ErrorReporter, Exit, Layer, Match, Option, Queue, Ref, Schema, Scope, Semaphore, Stream } from "effect";
15
+ import { Cause, Clock, Context, Deferred, Duration, Effect, ErrorReporter, Exit, Fiber, Layer, Match, Option, Queue, Ref, Schema, Scope, Semaphore, Stream } from "effect";
16
16
  import { DurableObject, DurableObjectAlarm, DurableObjectState, RpcTracing, WorkerEnvironment } from "effect-cf";
17
17
  import { SqlClient } from "effect/sql/SqlClient";
18
18
  import { PersistedJson, ProducerId } from "@yielded/agent/records";
@@ -171,7 +171,26 @@ var LiveTextHub = class LiveTextHub extends Context.Service()("@effect-agent/pla
171
171
  if (bytes.byteLength > 32768) return yield* HostProtocolError.make({ message: "Provisional text frame exceeds its wire bound" });
172
172
  return bytes;
173
173
  });
174
- const frames = Stream.fromEffectRepeat(Queue.take(queue)).pipe(Stream.flatMap((event) => observer.snapshot || event === void 0 ? Stream.fromIterable(snapshot(), { chunkSize: 1 }).pipe(Stream.takeWhile(() => !observer.snapshot)) : Stream.succeed(frame(event))), Stream.mapEffect(toBytes), Stream.ensuring(close));
174
+ const frames = Stream.fromPull(Effect.withFiber((fiber) => {
175
+ Fiber.runIn(fiber, owner);
176
+ let pending;
177
+ const take = Queue.take(queue);
178
+ return Effect.succeed(Effect.gen(function* () {
179
+ for (;;) {
180
+ if (pending !== void 0) {
181
+ const next = pending.next();
182
+ if (!next.done && !observer.snapshot) return [yield* toBytes(next.value)];
183
+ pending = void 0;
184
+ }
185
+ const event = yield* take;
186
+ if (observer.snapshot || event === void 0) {
187
+ pending = snapshot();
188
+ continue;
189
+ }
190
+ return [yield* toBytes(frame(event))];
191
+ }
192
+ }));
193
+ })).pipe(Stream.ensuring(close));
175
194
  return yield* Stream.toReadableStreamEffect(frames);
176
195
  });
177
196
  return Context.make(LiveTextHub, { open }).pipe(Context.add(Publisher, { offerUnsafe }));
@@ -242,7 +261,7 @@ const threadMessageDeliveryLayer = Layer.effectContext(Effect.gen(function* () {
242
261
  /** Cancellation tombstones are bounded hints, never durable authority. */
243
262
  const MAX_CANCELLATION_TOMBSTONES = 1024;
244
263
  /**
245
- * Per-incarnation cancellation registry for long-lived progress RPCs. The public runtime owns
264
+ * Per-incarnation cancellation registry for long-lived progress and settlement RPCs. The runtime owns
246
265
  * the actual wake registration; this host-only registry lets an interrupted Worker Effect ask
247
266
  * the Object to interrupt its scoped wait before the Worker execution context itself ends.
248
267
  */
@@ -818,7 +837,7 @@ const submissionStatusEndpoint = (encoded) => decodeReceipt(encoded).pipe(Effect
818
837
  const runtime = yield* DurableAgentRuntime;
819
838
  return SubmissionStatusResponse.make({ status: yield* runtime.submissionStatus(receipt) });
820
839
  })), respond, Effect.flatMap(encodeResponse));
821
- const awaitSettlementEndpoint = (encoded, includeRecord = false) => decodeReceipt(encoded).pipe(Effect.mapError(protocolFailure("The receipt could not be decoded")), Effect.flatMap((receipt) => Effect.gen(function* () {
840
+ const awaitSettlementEndpoint = (encoded, includeRecord = false) => decodeAwaitSettlementRequest(encoded).pipe(Effect.mapError(protocolFailure("The receipt could not be decoded")), Effect.flatMap((receipt) => Effect.gen(function* () {
822
841
  const authorizer = yield* OperationAuthorizer;
823
842
  yield* authorizer.authorize(OperationAuthorizationRequest.make({
824
843
  operation: "awaitSettlement",
@@ -832,8 +851,16 @@ const awaitSettlementEndpoint = (encoded, includeRecord = false) => decodeReceip
832
851
  yield* requireReceiptThread(receipt.threadId);
833
852
  yield* requireSubmissionThread(receipt.submissionId);
834
853
  const runtime = yield* DurableAgentRuntime;
835
- if (includeRecord) return SettlementRecordReached.make({ record: yield* runtime.awaitSettlementRecord(receipt) });
836
- return SettlementReached.make({ settlement: yield* runtime.awaitSettlement(receipt) });
854
+ const wait = Effect.gen(function* () {
855
+ if (includeRecord) return SettlementRecordReached.make({ record: yield* runtime.awaitSettlementRecord(receipt) });
856
+ return SettlementReached.make({ settlement: yield* runtime.awaitSettlement(receipt) });
857
+ });
858
+ if (receipt.waiterId === void 0) return yield* wait;
859
+ const registry = yield* ProgressWaitRegistry;
860
+ return yield* Effect.scoped(Effect.gen(function* () {
861
+ const cancelled = yield* registry.subscribe(JSON.stringify([receipt.threadId, receipt.waiterId]));
862
+ return yield* Effect.raceFirst(wait, cancelled.pipe(Effect.as(ProgressCancelled.make())));
863
+ }));
837
864
  })), respond, Effect.flatMap(encodeResponse));
838
865
  const awaitProgressEndpoint = (encoded) => decodeAwaitProgressRequest(encoded).pipe(Effect.mapError(protocolFailure("The progress request could not be decoded")), Effect.flatMap((request) => Effect.gen(function* () {
839
866
  const identity = yield* ThreadObjectIdentity;
@@ -1110,7 +1137,12 @@ const make = (applicationLayer, options) => {
1110
1137
  const state = yield* DurableObjectState.DurableObjectState;
1111
1138
  const scope = yield* Effect.scope;
1112
1139
  return yield* state.blockConcurrencyWhile(Effect.gen(function* () {
1113
- const services = yield* Layer.buildWithScope(application, scope);
1140
+ const applicationServices = yield* Layer.buildWithScope(application, scope);
1141
+ const scheduling = Context.get(applicationServices, DurableObjectAlarm.ScheduleConfiguration);
1142
+ const services = Context.add(applicationServices, DurableObjectAlarm.ScheduleConfiguration, {
1143
+ ...scheduling,
1144
+ dispatchAfterEvent: scheduling.dispatchAfterEvent ?? true
1145
+ });
1114
1146
  yield* gateEndpoint.pipe(Effect.provide(services));
1115
1147
  return services;
1116
1148
  }));
@@ -1133,4 +1165,4 @@ const make = (applicationLayer, options) => {
1133
1165
  //#endregion
1134
1166
  export { ThreadObjectPorts as C, layerInHost as D, layerHostConfig as E, submit as S, layerConfig as T, decodeRetryCommand as _, AdminVerifyRequest as a, make as b, RetryExecuted as c, VerifiedIntegrity as d, alarms as f, decodeObligationThresholds as g, decodeAdminVerifyRequest as h, AdminResponse as i, ThreadObject_exports as l, decodeAdminResponse as m, AdminFailed as n, ExplainedRecovery as o, decodeAdminExplainRequest as p, AdminFailure as r, ObligationsScanned as s, AdminExplainRequest as t, ThreadRpcOperation as u, encodeAdminResponse as v, layer$1 as w, portCall as x, handleRpc as y };
1135
1167
 
1136
- //# sourceMappingURL=ThreadObject-CgXZMlr4.mjs.map
1168
+ //# sourceMappingURL=ThreadObject-CGIaz6Jv.mjs.map