@effect-agent/platform-cloudflare 0.1.0-beta.27 → 0.1.0-beta.29

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +32 -32
  2. package/package.json +8 -8
package/dist/index.d.mts CHANGED
@@ -701,6 +701,14 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
701
701
  readonly createdAt: string;
702
702
  readonly deploymentId: string;
703
703
  readonly payload: {
704
+ readonly _tag: "SubagentStarted";
705
+ readonly runId: string;
706
+ readonly toolCallId: string;
707
+ readonly childConversationId: string;
708
+ readonly childSubmissionId: string;
709
+ readonly childReceiptId: string;
710
+ readonly childRunId: string;
711
+ } | {
704
712
  readonly _tag: "ConversationCreated";
705
713
  readonly agentId: string;
706
714
  readonly definitions: {
@@ -896,14 +904,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
896
904
  readonly childConversationId: string;
897
905
  readonly childPrincipal: string;
898
906
  readonly childIdempotencyKey: string;
899
- } | {
900
- readonly _tag: "SubagentStarted";
901
- readonly runId: string;
902
- readonly toolCallId: string;
903
- readonly childConversationId: string;
904
- readonly childSubmissionId: string;
905
- readonly childReceiptId: string;
906
- readonly childRunId: string;
907
907
  } | {
908
908
  readonly _tag: "SubagentJoined";
909
909
  readonly runId: string;
@@ -989,13 +989,19 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
989
989
  } | {
990
990
  readonly _tag: "HostFailed";
991
991
  readonly failure: {
992
+ readonly _tag: "HostProtocolError";
993
+ readonly message: string;
994
+ } | {
992
995
  readonly _tag: "AdmissionLimitExceeded";
993
996
  readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
994
997
  readonly actual: number;
995
998
  readonly maximum: number;
996
999
  } | {
997
- readonly _tag: "HostProtocolError";
998
- readonly message: string;
1000
+ readonly _tag: "OperationDenied";
1001
+ readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
1002
+ readonly reason: string;
1003
+ readonly conversationId?: string | undefined;
1004
+ readonly submissionId?: string | undefined;
999
1005
  } | {
1000
1006
  readonly _tag: "AgentInputError";
1001
1007
  readonly message: string;
@@ -1010,23 +1016,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1010
1016
  readonly idempotencyKey: string;
1011
1017
  readonly existingInputDigest: string;
1012
1018
  readonly attemptedInputDigest: string;
1013
- } | {
1014
- readonly _tag: "SettlementConflict";
1015
- readonly submissionId: string;
1016
- readonly existingOutcome: "aborted" | "completed" | "failed";
1017
- } | {
1018
- readonly _tag: "ApprovalConflict";
1019
- readonly submissionId: string;
1020
- readonly toolCallId: string;
1021
- readonly existingDecision: "approved" | "denied";
1022
- } | {
1023
- readonly _tag: "UnknownResolutionConflict";
1024
- readonly submissionId: string;
1025
- readonly toolCallId: string;
1026
- } | {
1027
- readonly _tag: "JoinedToHost";
1028
- readonly submissionId: string;
1029
- readonly hostSubmissionId: string;
1030
1019
  } | {
1031
1020
  readonly _tag: "LedgerError";
1032
1021
  readonly operation: string;
@@ -1061,11 +1050,22 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
1061
1050
  readonly message: string;
1062
1051
  readonly cause?: Schema.Json | undefined;
1063
1052
  } | {
1064
- readonly _tag: "OperationDenied";
1065
- readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
1066
- readonly reason: string;
1067
- readonly conversationId?: string | undefined;
1068
- readonly submissionId?: string | undefined;
1053
+ readonly _tag: "SettlementConflict";
1054
+ readonly submissionId: string;
1055
+ readonly existingOutcome: "aborted" | "completed" | "failed";
1056
+ } | {
1057
+ readonly _tag: "JoinedToHost";
1058
+ readonly submissionId: string;
1059
+ readonly hostSubmissionId: string;
1060
+ } | {
1061
+ readonly _tag: "ApprovalConflict";
1062
+ readonly submissionId: string;
1063
+ readonly toolCallId: string;
1064
+ readonly existingDecision: "approved" | "denied";
1065
+ } | {
1066
+ readonly _tag: "UnknownResolutionConflict";
1067
+ readonly submissionId: string;
1068
+ readonly toolCallId: string;
1069
1069
  };
1070
1070
  }, Schema.SchemaError, never>;
1071
1071
  declare const decodeHostResponse: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<AbortRecorded | ApprovalRecorded | HostFailed | ObservedPage | ProgressCancelled | ProgressObserved | SettlementReached | SubmitSucceeded | UnknownResolutionRecorded, Schema.SchemaError, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-agent/platform-cloudflare",
3
- "version": "0.1.0-beta.27",
3
+ "version": "0.1.0-beta.29",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.mts",
@@ -12,11 +12,11 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@effect-agent/core": "0.1.0-beta.27",
16
- "@effect-agent/engine": "0.1.0-beta.27",
17
- "@effect-agent/sandbox": "0.1.0-beta.27",
18
- "@effect-agent/session": "0.1.0-beta.27",
19
- "@effect-agent/storage-cloudflare": "0.1.0-beta.27",
15
+ "@effect-agent/core": "0.1.0-beta.29",
16
+ "@effect-agent/engine": "0.1.0-beta.29",
17
+ "@effect-agent/sandbox": "0.1.0-beta.29",
18
+ "@effect-agent/session": "0.1.0-beta.29",
19
+ "@effect-agent/storage-cloudflare": "0.1.0-beta.29",
20
20
  "@effect/platform-browser": "4.0.0-rc.110",
21
21
  "@effect/sql-sqlite-do": "4.0.0-rc.110",
22
22
  "effect": "4.0.0-rc.110"
@@ -47,8 +47,8 @@
47
47
  "devDependencies": {
48
48
  "@cloudflare/vitest-pool-workers": "0.21.3",
49
49
  "@cloudflare/workers-types": "5.20260813.1",
50
- "@effect-agent/capabilities": "0.1.0-beta.24",
51
- "@effect-agent/testing": "0.1.0-beta.24",
50
+ "@effect-agent/capabilities": "0.1.0-beta.28",
51
+ "@effect-agent/testing": "0.1.0-beta.28",
52
52
  "@effect/vitest": "4.0.0-rc.110",
53
53
  "effect-cf": "0.27.0",
54
54
  "esbuild": "0.28.1",