@yielded/agent-platform-cloudflare 0.1.0-beta.191 → 0.1.0-beta.192

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.
@@ -527,25 +527,6 @@ export declare const encodeSubmitRequest: (input: {
527
527
  readonly reportKind?: "update" | undefined;
528
528
  } | undefined;
529
529
  readonly messageAdmission?: {
530
- readonly schemaVersion: 1;
531
- readonly message: {
532
- readonly ownerThreadId: string;
533
- readonly messageId: string;
534
- };
535
- readonly peerName: string;
536
- readonly sender: {
537
- readonly threadId: string;
538
- readonly agentId: string;
539
- };
540
- readonly returnAddress: {
541
- readonly threadId: string;
542
- readonly agentId: string;
543
- };
544
- readonly inReplyTo?: {
545
- readonly ownerThreadId: string;
546
- readonly messageId: string;
547
- } | undefined;
548
- } | {
549
530
  readonly _tag: "WorkerCompletion";
550
531
  readonly budgetExhausted: boolean;
551
532
  readonly schemaVersion: 1;
@@ -596,6 +577,25 @@ export declare const encodeSubmitRequest: (input: {
596
577
  readonly message: string;
597
578
  };
598
579
  };
580
+ } | {
581
+ readonly schemaVersion: 1;
582
+ readonly message: {
583
+ readonly ownerThreadId: string;
584
+ readonly messageId: string;
585
+ };
586
+ readonly peerName: string;
587
+ readonly sender: {
588
+ readonly threadId: string;
589
+ readonly agentId: string;
590
+ };
591
+ readonly returnAddress: {
592
+ readonly threadId: string;
593
+ readonly agentId: string;
594
+ };
595
+ readonly inReplyTo?: {
596
+ readonly ownerThreadId: string;
597
+ readonly messageId: string;
598
+ } | undefined;
599
599
  } | {
600
600
  readonly _tag: "WorkerUpdate";
601
601
  readonly schemaVersion: 1;
@@ -941,25 +941,6 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
941
941
  readonly runId?: string | undefined;
942
942
  readonly input: Schema.Json;
943
943
  readonly messageAdmission?: {
944
- readonly schemaVersion: 1;
945
- readonly message: {
946
- readonly ownerThreadId: string;
947
- readonly messageId: string;
948
- };
949
- readonly peerName: string;
950
- readonly sender: {
951
- readonly threadId: string;
952
- readonly agentId: string;
953
- };
954
- readonly returnAddress: {
955
- readonly threadId: string;
956
- readonly agentId: string;
957
- };
958
- readonly inReplyTo?: {
959
- readonly ownerThreadId: string;
960
- readonly messageId: string;
961
- } | undefined;
962
- } | {
963
944
  readonly _tag: "WorkerCompletion";
964
945
  readonly budgetExhausted: boolean;
965
946
  readonly schemaVersion: 1;
@@ -1010,6 +991,25 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
1010
991
  readonly message: string;
1011
992
  };
1012
993
  };
994
+ } | {
995
+ readonly schemaVersion: 1;
996
+ readonly message: {
997
+ readonly ownerThreadId: string;
998
+ readonly messageId: string;
999
+ };
1000
+ readonly peerName: string;
1001
+ readonly sender: {
1002
+ readonly threadId: string;
1003
+ readonly agentId: string;
1004
+ };
1005
+ readonly returnAddress: {
1006
+ readonly threadId: string;
1007
+ readonly agentId: string;
1008
+ };
1009
+ readonly inReplyTo?: {
1010
+ readonly ownerThreadId: string;
1011
+ readonly messageId: string;
1012
+ } | undefined;
1013
1013
  } | {
1014
1014
  readonly _tag: "WorkerUpdate";
1015
1015
  readonly schemaVersion: 1;
@@ -1962,6 +1962,14 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
1962
1962
  } | {
1963
1963
  readonly _tag: "HostFailed";
1964
1964
  readonly failure: {
1965
+ readonly _tag: "DurableAlarmError";
1966
+ readonly operation: string;
1967
+ readonly message: string;
1968
+ readonly cause?: Schema.Json | undefined;
1969
+ } | {
1970
+ readonly _tag: "ThreadNotMaterialized";
1971
+ readonly threadId: string;
1972
+ } | {
1965
1973
  readonly _tag: "ThreadStoreError";
1966
1974
  readonly operation: string;
1967
1975
  readonly message: string;
@@ -1979,9 +1987,6 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
1979
1987
  readonly operation: string;
1980
1988
  readonly message: string;
1981
1989
  readonly cause?: import("@yielded/agent/failure-diagnostic").Diagnostic | undefined;
1982
- } | {
1983
- readonly _tag: "ThreadNotMaterialized";
1984
- readonly threadId: string;
1985
1990
  } | {
1986
1991
  readonly _tag: "AppendConflict";
1987
1992
  readonly threadId: string;
@@ -2029,11 +2034,6 @@ export declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorde
2029
2034
  readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
2030
2035
  readonly actual: number;
2031
2036
  readonly maximum: number;
2032
- } | {
2033
- readonly _tag: "DurableAlarmError";
2034
- readonly operation: string;
2035
- readonly message: string;
2036
- readonly cause?: Schema.Json | undefined;
2037
2037
  } | {
2038
2038
  readonly _tag: "HostProtocolError";
2039
2039
  readonly message: string;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@yielded/agent-platform-cloudflare","version":"0.1.0-beta.191","dependencies":{"@effect/platform-browser":"4.1.0","@effect/sql-sqlite-do":"4.1.0","@yielded/agent":"0.1.0-beta.191","@yielded/agent-storage-cloudflare":"0.1.0-beta.191","@yielded/agent-storage-sql":"0.1.0-beta.191","puppeteer-core":"24.29.0"},"devDependencies":{"@cloudflare/vitest-plugin":"1.4.0","@cloudflare/workers-types":"5.20261026.1","@effect/platform-node":"4.1.0","@effect/sql-d1":"4.1.0","@effect/vitest":"4.1.0","@yielded/agent-testing":"0.1.0-beta.191","effect":"4.1.0","effect-cf":"0.59.0","esbuild":"0.28.1","miniflare":"5.20260811.1-alpha","typescript":"7.0.2","vite":"npm:@voidzero-dev/vite-plus-core@1.1.0","vite-plus":"1.1.0","vitest":"5.0.3"},"peerDependencies":{"effect":"^4.1.0","effect-cf":"^0.59.0"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./alarm":{"types":"./dist/Alarm.d.mts","default":"./dist/Alarm.mjs"},"./browser-rest-capture":{"types":"./dist/BrowserRestCapture.d.mts","default":"./dist/BrowserRestCapture.mjs"},"./cloudflare-bindings":{"types":"./dist/CloudflareBindings.d.mts","default":"./dist/CloudflareBindings.mjs"},"./cloudflare-browser":{"types":"./dist/CloudflareBrowser.d.mts","default":"./dist/CloudflareBrowser.mjs"},"./cloudflare-code-mode":{"types":"./dist/CloudflareCodeMode.d.mts","default":"./dist/CloudflareCodeMode.mjs"},"./cloudflare-config":{"types":"./dist/CloudflareConfig.d.mts","default":"./dist/CloudflareConfig.mjs"},"./cloudflare-memory":{"types":"./dist/CloudflareMemory.d.mts","default":"./dist/CloudflareMemory.mjs"},"./cloudflare-scheduling":{"types":"./dist/CloudflareScheduling.d.mts","default":"./dist/CloudflareScheduling.mjs"},"./cloudflare-subscriptions":{"types":"./dist/CloudflareSubscriptions.d.mts","default":"./dist/CloudflareSubscriptions.mjs"},"./cloudflare-thread-client":{"types":"./dist/CloudflareThreadClient.d.mts","default":"./dist/CloudflareThreadClient.mjs"},"./live-text":{"types":"./dist/LiveText.d.mts","default":"./dist/LiveText.mjs"},"./interactive-browser":{"types":"./dist/InteractiveBrowser.d.mts","default":"./dist/InteractiveBrowser.mjs"},"./browser-session":{"types":"./dist/BrowserSession.d.mts","default":"./dist/BrowserSession.mjs"},"./browser-credentials":{"types":"./dist/BrowserCredentials.d.mts","default":"./dist/BrowserCredentials.mjs"},"./thread-object":{"types":"./dist/ThreadObject.d.mts","default":"./dist/ThreadObject.mjs"},"./wake-scheduler":{"types":"./dist/WakeScheduler.d.mts","default":"./dist/WakeScheduler.mjs"},"./cloudflare-ai-gateway":{"types":"./dist/CloudflareAiGateway.d.mts","default":"./dist/CloudflareAiGateway.mjs"},"./browser-use":{"types":"./dist/BrowserUse.d.mts","default":"./dist/BrowserUse.mjs"},"./r2-tool-result-storage":{"types":"./dist/R2ToolResultStorage.d.mts","default":"./dist/R2ToolResultStorage.mjs"}},"description":"Cloudflare Layer assembly for Effect Agent: Durable Objects and Browser Run adapters.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/yielded-dev/agent.git","directory":"packages/platform-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"effect-tsrs diagnostics --type-check --project tsconfig.json"}}
1
+ {"name":"@yielded/agent-platform-cloudflare","version":"0.1.0-beta.192","dependencies":{"@effect/platform-browser":"4.1.2","@effect/sql-sqlite-do":"4.1.2","@yielded/agent":"0.1.0-beta.192","@yielded/agent-storage-cloudflare":"0.1.0-beta.192","@yielded/agent-storage-sql":"0.1.0-beta.192","puppeteer-core":"24.29.0"},"devDependencies":{"@cloudflare/vitest-plugin":"1.4.0","@cloudflare/workers-types":"5.20261026.1","@effect/platform-node":"4.1.2","@effect/sql-d1":"4.1.2","@effect/vitest":"4.1.2","@yielded/agent-testing":"0.1.0-beta.192","effect":"4.1.2","effect-cf":"0.59.0","esbuild":"0.28.1","miniflare":"5.20260811.1-alpha","typescript":"7.0.2","vite":"npm:@voidzero-dev/vite-plus-core@1.1.0","vite-plus":"1.1.0","vitest":"5.0.3"},"peerDependencies":{"effect":"^4.1.0","effect-cf":"^0.59.0"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./alarm":{"types":"./dist/Alarm.d.mts","default":"./dist/Alarm.mjs"},"./browser-rest-capture":{"types":"./dist/BrowserRestCapture.d.mts","default":"./dist/BrowserRestCapture.mjs"},"./cloudflare-bindings":{"types":"./dist/CloudflareBindings.d.mts","default":"./dist/CloudflareBindings.mjs"},"./cloudflare-browser":{"types":"./dist/CloudflareBrowser.d.mts","default":"./dist/CloudflareBrowser.mjs"},"./cloudflare-code-mode":{"types":"./dist/CloudflareCodeMode.d.mts","default":"./dist/CloudflareCodeMode.mjs"},"./cloudflare-config":{"types":"./dist/CloudflareConfig.d.mts","default":"./dist/CloudflareConfig.mjs"},"./cloudflare-memory":{"types":"./dist/CloudflareMemory.d.mts","default":"./dist/CloudflareMemory.mjs"},"./cloudflare-scheduling":{"types":"./dist/CloudflareScheduling.d.mts","default":"./dist/CloudflareScheduling.mjs"},"./cloudflare-subscriptions":{"types":"./dist/CloudflareSubscriptions.d.mts","default":"./dist/CloudflareSubscriptions.mjs"},"./cloudflare-thread-client":{"types":"./dist/CloudflareThreadClient.d.mts","default":"./dist/CloudflareThreadClient.mjs"},"./live-text":{"types":"./dist/LiveText.d.mts","default":"./dist/LiveText.mjs"},"./interactive-browser":{"types":"./dist/InteractiveBrowser.d.mts","default":"./dist/InteractiveBrowser.mjs"},"./browser-session":{"types":"./dist/BrowserSession.d.mts","default":"./dist/BrowserSession.mjs"},"./browser-credentials":{"types":"./dist/BrowserCredentials.d.mts","default":"./dist/BrowserCredentials.mjs"},"./thread-object":{"types":"./dist/ThreadObject.d.mts","default":"./dist/ThreadObject.mjs"},"./wake-scheduler":{"types":"./dist/WakeScheduler.d.mts","default":"./dist/WakeScheduler.mjs"},"./cloudflare-ai-gateway":{"types":"./dist/CloudflareAiGateway.d.mts","default":"./dist/CloudflareAiGateway.mjs"},"./browser-use":{"types":"./dist/BrowserUse.d.mts","default":"./dist/BrowserUse.mjs"},"./r2-tool-result-storage":{"types":"./dist/R2ToolResultStorage.d.mts","default":"./dist/R2ToolResultStorage.mjs"}},"description":"Cloudflare Layer assembly for Effect Agent: Durable Objects and Browser Run adapters.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/yielded-dev/agent.git","directory":"packages/platform-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"effect-tsrs diagnostics --type-check --project tsconfig.json"}}