@yielded/agent-platform-cloudflare 0.1.0-beta.168 → 0.1.0-beta.170
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.
- package/dist/{Alarm-DxODgAZZ.mjs → Alarm-BMEAZo3p.mjs} +3 -1
- package/dist/Alarm-BMEAZo3p.mjs.map +1 -0
- package/dist/Alarm.d.mts +2 -0
- package/dist/Alarm.mjs +1 -1
- package/dist/{BrowserUse-AstK0jKX.mjs → BrowserUse-Bc2JdLW2.mjs} +84 -23
- package/dist/BrowserUse-Bc2JdLW2.mjs.map +1 -0
- package/dist/BrowserUse.mjs +1 -1
- package/dist/CloudflareScheduling.mjs +2 -2
- package/dist/CloudflareSubscriptions.mjs +2 -2
- package/dist/{CloudflareThreadClient-CZm0TvUe.mjs → CloudflareThreadClient-CLZpN9zU.mjs} +2 -2
- package/dist/{CloudflareThreadClient-CZm0TvUe.mjs.map → CloudflareThreadClient-CLZpN9zU.mjs.map} +1 -1
- package/dist/{CloudflareThreadClient-QsVzLGGZ.d.mts → CloudflareThreadClient-muBb_YIO.d.mts} +130 -130
- package/dist/CloudflareThreadClient.d.mts +1 -1
- package/dist/CloudflareThreadClient.mjs +1 -1
- package/dist/{ThreadObject-C0vrcDrw.mjs → ThreadObject-CgXZMlr4.mjs} +4 -4
- package/dist/{ThreadObject-C0vrcDrw.mjs.map → ThreadObject-CgXZMlr4.mjs.map} +1 -1
- package/dist/{ThreadObject-7s5XnlH-.d.mts → ThreadObject-o2IUA-N4.d.mts} +37 -37
- package/dist/ThreadObject.d.mts +1 -1
- package/dist/ThreadObject.mjs +1 -1
- package/dist/WakeScheduler.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +4 -4
- package/dist/{prepared-admission-3UUq0zth.mjs → prepared-admission-B61A7y6O.mjs} +2 -2
- package/dist/{prepared-admission-3UUq0zth.mjs.map → prepared-admission-B61A7y6O.mjs.map} +1 -1
- package/package.json +1 -1
- package/src/Alarm.ts +2 -0
- package/src/BrowserUse.ts +58 -8
- package/src/internal/browser-dom.ts +50 -9
- package/src/internal/browser-jev-dom.ts +24 -6
- package/dist/Alarm-DxODgAZZ.mjs.map +0 -1
- package/dist/BrowserUse-AstK0jKX.mjs.map +0 -1
package/dist/{CloudflareThreadClient-QsVzLGGZ.d.mts → CloudflareThreadClient-muBb_YIO.d.mts}
RENAMED
|
@@ -838,6 +838,85 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
838
838
|
readonly createdAt: string;
|
|
839
839
|
readonly deploymentId: string;
|
|
840
840
|
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
|
+
} | {
|
|
841
920
|
readonly _tag: "UserInputRecorded";
|
|
842
921
|
readonly submissionId?: string | undefined;
|
|
843
922
|
readonly kind: "follow-up" | "steering" | "user";
|
|
@@ -1142,85 +1221,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1142
1221
|
readonly submissionId: string;
|
|
1143
1222
|
readonly author: string;
|
|
1144
1223
|
readonly reason: string;
|
|
1145
|
-
} | {
|
|
1146
|
-
readonly _tag: "SubmissionSettled";
|
|
1147
|
-
readonly submissionId: string;
|
|
1148
|
-
readonly settlementId: string;
|
|
1149
|
-
readonly receiptId: string;
|
|
1150
|
-
readonly outcome: "aborted" | "completed" | "failed";
|
|
1151
|
-
readonly runId?: string | undefined;
|
|
1152
|
-
readonly historyRecordCount?: number | undefined;
|
|
1153
|
-
readonly result?: Schema.Json | undefined;
|
|
1154
|
-
readonly runDisposition?: Schema.Json | undefined;
|
|
1155
|
-
readonly finishReason?: "budget-exhausted" | undefined;
|
|
1156
|
-
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
1157
|
-
readonly policyLimit?: "cost" | "duration" | "repeated-failures" | "tokens" | "tool-calls" | "turns" | "usage" | undefined;
|
|
1158
|
-
readonly usageSummary?: {
|
|
1159
|
-
readonly modelCalls: number;
|
|
1160
|
-
readonly inputTokens: {
|
|
1161
|
-
readonly total: number;
|
|
1162
|
-
readonly uncached: number;
|
|
1163
|
-
readonly cacheRead: number;
|
|
1164
|
-
readonly cacheWrite: number;
|
|
1165
|
-
};
|
|
1166
|
-
readonly outputTokens: {
|
|
1167
|
-
readonly total: number;
|
|
1168
|
-
readonly text: number;
|
|
1169
|
-
readonly reasoning: number;
|
|
1170
|
-
};
|
|
1171
|
-
readonly webSearchCalls?: number | undefined;
|
|
1172
|
-
readonly costMicrousd: number;
|
|
1173
|
-
readonly byModel: readonly {
|
|
1174
|
-
readonly provider: string;
|
|
1175
|
-
readonly model: string;
|
|
1176
|
-
readonly responseModel?: string | undefined;
|
|
1177
|
-
readonly serviceTier?: string | undefined;
|
|
1178
|
-
readonly pricingVersion?: string | undefined;
|
|
1179
|
-
readonly modelCalls: number;
|
|
1180
|
-
readonly inputTokens: {
|
|
1181
|
-
readonly total: number;
|
|
1182
|
-
readonly uncached: number;
|
|
1183
|
-
readonly cacheRead: number;
|
|
1184
|
-
readonly cacheWrite: number;
|
|
1185
|
-
};
|
|
1186
|
-
readonly outputTokens: {
|
|
1187
|
-
readonly total: number;
|
|
1188
|
-
readonly text: number;
|
|
1189
|
-
readonly reasoning: number;
|
|
1190
|
-
};
|
|
1191
|
-
readonly webSearchCalls?: number | undefined;
|
|
1192
|
-
readonly costMicrousd: number;
|
|
1193
|
-
}[];
|
|
1194
|
-
readonly usageStatus?: "complete" | "partial" | "unknown" | undefined;
|
|
1195
|
-
readonly pricingStatus?: "complete" | "partial" | "unknown" | undefined;
|
|
1196
|
-
readonly unobservedModelCalls?: number | undefined;
|
|
1197
|
-
} | undefined;
|
|
1198
|
-
readonly uncommittedModelUsage?: readonly {
|
|
1199
|
-
readonly provider: string;
|
|
1200
|
-
readonly model: string;
|
|
1201
|
-
readonly serviceTier?: string | undefined;
|
|
1202
|
-
readonly pricingVersion?: string | undefined;
|
|
1203
|
-
readonly response?: {
|
|
1204
|
-
readonly id?: string | undefined;
|
|
1205
|
-
readonly model?: string | undefined;
|
|
1206
|
-
} | undefined;
|
|
1207
|
-
readonly purpose?: "summary" | "turn" | undefined;
|
|
1208
|
-
readonly usageStatus?: "complete" | "partial" | "unknown" | undefined;
|
|
1209
|
-
readonly pricingStatus?: "estimated" | "unknown" | undefined;
|
|
1210
|
-
readonly inputTokens: {
|
|
1211
|
-
readonly total: number;
|
|
1212
|
-
readonly uncached: number;
|
|
1213
|
-
readonly cacheRead: number;
|
|
1214
|
-
readonly cacheWrite: number;
|
|
1215
|
-
};
|
|
1216
|
-
readonly outputTokens: {
|
|
1217
|
-
readonly total: number;
|
|
1218
|
-
readonly text: number;
|
|
1219
|
-
readonly reasoning: number;
|
|
1220
|
-
};
|
|
1221
|
-
readonly webSearchCalls?: number | undefined;
|
|
1222
|
-
readonly costMicrousd: number;
|
|
1223
|
-
}[] | undefined;
|
|
1224
1224
|
} | {
|
|
1225
1225
|
readonly _tag: "SubagentRequested";
|
|
1226
1226
|
readonly runId: string;
|
|
@@ -1865,50 +1865,45 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1865
1865
|
} | {
|
|
1866
1866
|
readonly _tag: "HostFailed";
|
|
1867
1867
|
readonly failure: {
|
|
1868
|
-
readonly _tag: "
|
|
1869
|
-
readonly operation: string;
|
|
1870
|
-
readonly message: string;
|
|
1871
|
-
readonly cause?: import("@yielded/agent/failure-diagnostic").Diagnostic | undefined;
|
|
1872
|
-
} | {
|
|
1873
|
-
readonly _tag: "ThreadStoreError";
|
|
1868
|
+
readonly _tag: "DurableAlarmError";
|
|
1874
1869
|
readonly operation: string;
|
|
1875
1870
|
readonly message: string;
|
|
1876
1871
|
readonly cause?: Schema.Json | undefined;
|
|
1877
|
-
readonly diagnostic?: {
|
|
1878
|
-
readonly causeTag: string;
|
|
1879
|
-
readonly operation: string;
|
|
1880
|
-
readonly decoder?: string | undefined;
|
|
1881
|
-
readonly issueTag?: string | undefined;
|
|
1882
|
-
readonly sequence?: number | undefined;
|
|
1883
|
-
} | undefined;
|
|
1884
|
-
} | {
|
|
1885
|
-
readonly _tag: "ThreadNotMaterialized";
|
|
1886
|
-
readonly threadId: string;
|
|
1887
1872
|
} | {
|
|
1888
|
-
readonly _tag: "
|
|
1889
|
-
readonly
|
|
1890
|
-
readonly batchId: string;
|
|
1891
|
-
readonly reason: "batch-content" | "record-identity" | "stale-command" | "tail";
|
|
1892
|
-
readonly actualTailSequence?: number | undefined;
|
|
1873
|
+
readonly _tag: "HostProtocolError";
|
|
1874
|
+
readonly message: string;
|
|
1893
1875
|
} | {
|
|
1894
|
-
readonly _tag: "
|
|
1895
|
-
readonly
|
|
1876
|
+
readonly _tag: "AdmissionLimitExceeded";
|
|
1877
|
+
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
1878
|
+
readonly actual: number;
|
|
1879
|
+
readonly maximum: number;
|
|
1896
1880
|
} | {
|
|
1897
|
-
readonly _tag: "
|
|
1898
|
-
readonly operation:
|
|
1899
|
-
readonly
|
|
1900
|
-
readonly
|
|
1901
|
-
readonly submissionId?: string | undefined;
|
|
1881
|
+
readonly _tag: "LedgerError";
|
|
1882
|
+
readonly operation: string;
|
|
1883
|
+
readonly message: string;
|
|
1884
|
+
readonly cause?: import("@yielded/agent/failure-diagnostic").Diagnostic | undefined;
|
|
1902
1885
|
} | {
|
|
1903
|
-
readonly _tag: "
|
|
1904
|
-
readonly
|
|
1905
|
-
readonly
|
|
1886
|
+
readonly _tag: "AdmissionConflict";
|
|
1887
|
+
readonly threadId: string;
|
|
1888
|
+
readonly principal: string;
|
|
1889
|
+
readonly idempotencyKey: string;
|
|
1890
|
+
readonly existingInputDigest: string;
|
|
1891
|
+
readonly attemptedInputDigest: string;
|
|
1906
1892
|
} | {
|
|
1907
1893
|
readonly _tag: "AdmissionPolicyError";
|
|
1908
1894
|
readonly reason: "occupied" | "refused" | "unavailable";
|
|
1909
1895
|
readonly code: string;
|
|
1910
1896
|
readonly cause?: import("@yielded/agent/failure-diagnostic").Diagnostic | undefined;
|
|
1911
1897
|
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;
|
|
1912
1907
|
} | {
|
|
1913
1908
|
readonly _tag: "DigestError";
|
|
1914
1909
|
readonly message: string;
|
|
@@ -1917,32 +1912,27 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1917
1912
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
1918
1913
|
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";
|
|
1919
1914
|
} | {
|
|
1920
|
-
readonly _tag: "
|
|
1921
|
-
readonly
|
|
1922
|
-
readonly principal: string;
|
|
1923
|
-
readonly idempotencyKey: string;
|
|
1924
|
-
readonly existingInputDigest: string;
|
|
1925
|
-
readonly attemptedInputDigest: string;
|
|
1926
|
-
} | {
|
|
1927
|
-
readonly _tag: "AgentInputError";
|
|
1928
|
-
readonly message: string;
|
|
1915
|
+
readonly _tag: "OwnershipLost";
|
|
1916
|
+
readonly submissionId: string;
|
|
1929
1917
|
} | {
|
|
1930
|
-
readonly _tag: "
|
|
1931
|
-
readonly
|
|
1932
|
-
readonly actual: number;
|
|
1933
|
-
readonly maximum: number;
|
|
1918
|
+
readonly _tag: "ThreadNotMaterialized";
|
|
1919
|
+
readonly threadId: string;
|
|
1934
1920
|
} | {
|
|
1935
|
-
readonly _tag: "
|
|
1921
|
+
readonly _tag: "ThreadStoreError";
|
|
1936
1922
|
readonly operation: string;
|
|
1937
1923
|
readonly message: string;
|
|
1938
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;
|
|
1939
1932
|
} | {
|
|
1940
|
-
readonly _tag: "
|
|
1941
|
-
readonly message: string;
|
|
1942
|
-
} | {
|
|
1943
|
-
readonly _tag: "JoinedToHost";
|
|
1933
|
+
readonly _tag: "SettlementConflict";
|
|
1944
1934
|
readonly submissionId: string;
|
|
1945
|
-
readonly
|
|
1935
|
+
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
1946
1936
|
} | {
|
|
1947
1937
|
readonly _tag: "ApprovalConflict";
|
|
1948
1938
|
readonly submissionId: string;
|
|
@@ -1952,6 +1942,16 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1952
1942
|
readonly _tag: "UnknownResolutionConflict";
|
|
1953
1943
|
readonly submissionId: string;
|
|
1954
1944
|
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
1955
|
};
|
|
1956
1956
|
}, Schema.SchemaError, never>;
|
|
1957
1957
|
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>;
|
|
@@ -2030,4 +2030,4 @@ declare class CloudflareThreadClient extends CloudflareThreadClient_base {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
//#endregion
|
|
2032
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-
|
|
2033
|
+
//# sourceMappingURL=CloudflareThreadClient-muBb_YIO.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-
|
|
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
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,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-
|
|
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
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,9 +1,9 @@
|
|
|
1
1
|
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
|
-
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-
|
|
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-
|
|
6
|
-
import { t as cloudflarePreparedInputAdmissionLayer } from "./prepared-admission-
|
|
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";
|
|
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";
|
|
@@ -1133,4 +1133,4 @@ const make = (applicationLayer, options) => {
|
|
|
1133
1133
|
//#endregion
|
|
1134
1134
|
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
1135
|
|
|
1136
|
-
//# sourceMappingURL=ThreadObject-
|
|
1136
|
+
//# sourceMappingURL=ThreadObject-CgXZMlr4.mjs.map
|