@effect-agent/platform-cloudflare 0.1.0-beta.68 → 0.1.0-beta.69
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.
|
@@ -482,6 +482,11 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
482
482
|
readonly createdAt: string;
|
|
483
483
|
readonly deploymentId: string;
|
|
484
484
|
readonly payload: {
|
|
485
|
+
readonly _tag: "AbortRequested";
|
|
486
|
+
readonly submissionId: string;
|
|
487
|
+
readonly author: string;
|
|
488
|
+
readonly reason: string;
|
|
489
|
+
} | {
|
|
485
490
|
readonly _tag: "ThreadCreated";
|
|
486
491
|
readonly agentId: string;
|
|
487
492
|
readonly definitions: {
|
|
@@ -647,11 +652,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
647
652
|
readonly runDisposition?: Schema.Json | undefined;
|
|
648
653
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
649
654
|
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
650
|
-
} | {
|
|
651
|
-
readonly _tag: "AbortRequested";
|
|
652
|
-
readonly submissionId: string;
|
|
653
|
-
readonly author: string;
|
|
654
|
-
readonly reason: string;
|
|
655
655
|
} | {
|
|
656
656
|
readonly _tag: "SubmissionSettled";
|
|
657
657
|
readonly submissionId: string;
|
|
@@ -1111,21 +1111,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1111
1111
|
} | {
|
|
1112
1112
|
readonly _tag: "HostFailed";
|
|
1113
1113
|
readonly failure: {
|
|
1114
|
-
readonly _tag: "DurableAlarmError";
|
|
1115
|
-
readonly operation: string;
|
|
1116
|
-
readonly message: string;
|
|
1117
|
-
readonly cause?: Schema.Json | undefined;
|
|
1118
|
-
} | {
|
|
1119
|
-
readonly _tag: "HostProtocolError";
|
|
1120
|
-
readonly message: string;
|
|
1121
|
-
} | {
|
|
1122
|
-
readonly _tag: "AgentInputError";
|
|
1123
|
-
readonly message: string;
|
|
1124
|
-
} | {
|
|
1125
|
-
readonly _tag: "DigestError";
|
|
1126
|
-
readonly message: string;
|
|
1127
|
-
readonly cause?: Schema.Json | undefined;
|
|
1128
|
-
} | {
|
|
1129
1114
|
readonly _tag: "AdmissionConflict";
|
|
1130
1115
|
readonly threadId: string;
|
|
1131
1116
|
readonly principal: string;
|
|
@@ -1140,15 +1125,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1140
1125
|
readonly _tag: "SettlementConflict";
|
|
1141
1126
|
readonly submissionId: string;
|
|
1142
1127
|
readonly existingOutcome: "aborted" | "completed" | "failed";
|
|
1143
|
-
} | {
|
|
1144
|
-
readonly _tag: "ApprovalConflict";
|
|
1145
|
-
readonly submissionId: string;
|
|
1146
|
-
readonly toolCallId: string;
|
|
1147
|
-
readonly existingDecision: "approved" | "denied";
|
|
1148
|
-
} | {
|
|
1149
|
-
readonly _tag: "UnknownResolutionConflict";
|
|
1150
|
-
readonly submissionId: string;
|
|
1151
|
-
readonly toolCallId: string;
|
|
1152
1128
|
} | {
|
|
1153
1129
|
readonly _tag: "JoinedToHost";
|
|
1154
1130
|
readonly submissionId: string;
|
|
@@ -1178,6 +1154,25 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1178
1154
|
readonly threadId: string;
|
|
1179
1155
|
readonly actualEpoch: number;
|
|
1180
1156
|
readonly attemptedEpoch: number;
|
|
1157
|
+
} | {
|
|
1158
|
+
readonly _tag: "HostProtocolError";
|
|
1159
|
+
readonly message: string;
|
|
1160
|
+
} | {
|
|
1161
|
+
readonly _tag: "AgentInputError";
|
|
1162
|
+
readonly message: string;
|
|
1163
|
+
} | {
|
|
1164
|
+
readonly _tag: "DigestError";
|
|
1165
|
+
readonly message: string;
|
|
1166
|
+
readonly cause?: Schema.Json | undefined;
|
|
1167
|
+
} | {
|
|
1168
|
+
readonly _tag: "ApprovalConflict";
|
|
1169
|
+
readonly submissionId: string;
|
|
1170
|
+
readonly toolCallId: string;
|
|
1171
|
+
readonly existingDecision: "approved" | "denied";
|
|
1172
|
+
} | {
|
|
1173
|
+
readonly _tag: "UnknownResolutionConflict";
|
|
1174
|
+
readonly submissionId: string;
|
|
1175
|
+
readonly toolCallId: string;
|
|
1181
1176
|
} | {
|
|
1182
1177
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
1183
1178
|
readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "checkpoint:after-save" | "checkpoint:before-save" | "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-start-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" | "submit:after-admit" | "submit:after-materialize" | "terminalize:after-canonical-append" | "terminalize:after-reserve" | "tools:after-prepared-append" | "tools:before-prepared-append" | "turn:after-canonical-append" | "turn:after-response-append" | "turn:after-results-append" | "worker:after-completion-append" | "worker:after-origin-append" | "worker:after-report-append" | "worker:after-report-delivery" | "worker:after-source-append" | "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-subtree-append";
|
|
@@ -1186,6 +1181,11 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1186
1181
|
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
1187
1182
|
readonly actual: number;
|
|
1188
1183
|
readonly maximum: number;
|
|
1184
|
+
} | {
|
|
1185
|
+
readonly _tag: "DurableAlarmError";
|
|
1186
|
+
readonly operation: string;
|
|
1187
|
+
readonly message: string;
|
|
1188
|
+
readonly cause?: Schema.Json | undefined;
|
|
1189
1189
|
} | {
|
|
1190
1190
|
readonly _tag: "OperationDenied";
|
|
1191
1191
|
readonly operation: "abort" | "awaitSettlement" | "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@effect-agent/platform-cloudflare","version":"0.1.0-beta.
|
|
1
|
+
{"name":"@effect-agent/platform-cloudflare","version":"0.1.0-beta.69","dependencies":{"@effect-agent/core":"0.1.0-beta.69","@effect-agent/engine":"0.1.0-beta.69","@effect-agent/sandbox":"0.1.0-beta.69","@effect-agent/storage-cloudflare":"0.1.0-beta.69","@effect-agent/thread":"0.1.0-beta.69","@effect/platform-browser":"4.0.0-rc.112","@effect/sql-sqlite-do":"4.0.0-rc.112"},"devDependencies":{"@cloudflare/puppeteer":"1.1.0","@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/capabilities":"0.1.0-beta.69","@effect-agent/testing":"0.1.0-beta.69","@effect/platform-node":"4.0.0-rc.112","@effect/sql-d1":"4.0.0-rc.112","@effect/vitest":"4.0.0-rc.112","effect":"4.0.0-rc.112","effect-cf":"0.40.0","esbuild":"0.28.1","miniflare":"5.20260811.1-alpha","typescript":"7.0.2","vite-plus":"0.3.0","vitest":"4.1.11"},"peerDependencies":{"@cloudflare/puppeteer":"^1.1.0","effect":"^4.0.0-rc.112","effect-cf":"^0.40.0"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./Alarm":{"types":"./dist/Alarm.d.mts","default":"./dist/Alarm.mjs"},"./BrowserRestCapture":{"types":"./dist/BrowserRestCapture.d.mts","default":"./dist/BrowserRestCapture.mjs"},"./BrowserRestCrawl":{"types":"./dist/BrowserRestCrawl.d.mts","default":"./dist/BrowserRestCrawl.mjs"},"./CloudflareBindings":{"types":"./dist/CloudflareBindings.d.mts","default":"./dist/CloudflareBindings.mjs"},"./CloudflareBrowser":{"types":"./dist/CloudflareBrowser.d.mts","default":"./dist/CloudflareBrowser.mjs"},"./CloudflareCodeMode":{"types":"./dist/CloudflareCodeMode.d.mts","default":"./dist/CloudflareCodeMode.mjs"},"./CloudflareConfig":{"types":"./dist/CloudflareConfig.d.mts","default":"./dist/CloudflareConfig.mjs"},"./CloudflareMemory":{"types":"./dist/CloudflareMemory.d.mts","default":"./dist/CloudflareMemory.mjs"},"./CloudflareScheduling":{"types":"./dist/CloudflareScheduling.d.mts","default":"./dist/CloudflareScheduling.mjs"},"./CloudflareSubscriptions":{"types":"./dist/CloudflareSubscriptions.d.mts","default":"./dist/CloudflareSubscriptions.mjs"},"./CloudflareThreadClient":{"types":"./dist/CloudflareThreadClient.d.mts","default":"./dist/CloudflareThreadClient.mjs"},"./InteractiveBrowser":{"types":"./dist/InteractiveBrowser.d.mts","default":"./dist/InteractiveBrowser.mjs"},"./ProtectedBrowser":{"types":"./dist/ProtectedBrowser.d.mts","default":"./dist/ProtectedBrowser.mjs"},"./ThreadObject":{"types":"./dist/ThreadObject.d.mts","default":"./dist/ThreadObject.mjs"},"./WakeScheduler":{"types":"./dist/WakeScheduler.d.mts","default":"./dist/WakeScheduler.mjs"}},"description":"Cloudflare Layer assembly for Effect Agent: Durable Objects and Browser Run adapters.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danieljvdm/effect-agent.git","directory":"packages/platform-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json"},"peerDependenciesMeta":{"@cloudflare/puppeteer":{"optional":true}}}
|