@effect-agent/platform-cloudflare 0.1.0-beta.27 → 0.1.0-beta.28
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/index.d.mts +37 -37
- package/package.json +6 -6
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,11 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
989
989
|
} | {
|
|
990
990
|
readonly _tag: "HostFailed";
|
|
991
991
|
readonly failure: {
|
|
992
|
-
readonly _tag: "
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
readonly
|
|
996
|
-
|
|
997
|
-
readonly _tag: "HostProtocolError";
|
|
998
|
-
readonly message: string;
|
|
992
|
+
readonly _tag: "OperationDenied";
|
|
993
|
+
readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
994
|
+
readonly reason: string;
|
|
995
|
+
readonly conversationId?: string | undefined;
|
|
996
|
+
readonly submissionId?: string | undefined;
|
|
999
997
|
} | {
|
|
1000
998
|
readonly _tag: "AgentInputError";
|
|
1001
999
|
readonly message: string;
|
|
@@ -1010,23 +1008,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1010
1008
|
readonly idempotencyKey: string;
|
|
1011
1009
|
readonly existingInputDigest: string;
|
|
1012
1010
|
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
1011
|
} | {
|
|
1031
1012
|
readonly _tag: "LedgerError";
|
|
1032
1013
|
readonly operation: string;
|
|
@@ -1055,17 +1036,36 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
1055
1036
|
} | {
|
|
1056
1037
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
1057
1038
|
readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "claim:after-claim" | "compaction:after-canonical-append" | "input:after-canonical-append" | "join:after-canonical-append" | "join:after-claim" | "resolve:after-intent" | "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" | "turn:after-canonical-append" | "turn:after-response-append" | "turn:after-results-append";
|
|
1039
|
+
} | {
|
|
1040
|
+
readonly _tag: "AdmissionLimitExceeded";
|
|
1041
|
+
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
1042
|
+
readonly actual: number;
|
|
1043
|
+
readonly maximum: number;
|
|
1058
1044
|
} | {
|
|
1059
1045
|
readonly _tag: "DurableAlarmError";
|
|
1060
1046
|
readonly operation: string;
|
|
1061
1047
|
readonly message: string;
|
|
1062
1048
|
readonly cause?: Schema.Json | undefined;
|
|
1063
1049
|
} | {
|
|
1064
|
-
readonly _tag: "
|
|
1065
|
-
readonly
|
|
1066
|
-
|
|
1067
|
-
readonly
|
|
1068
|
-
readonly submissionId
|
|
1050
|
+
readonly _tag: "HostProtocolError";
|
|
1051
|
+
readonly message: string;
|
|
1052
|
+
} | {
|
|
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.
|
|
3
|
+
"version": "0.1.0-beta.28",
|
|
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.
|
|
16
|
-
"@effect-agent/engine": "0.1.0-beta.
|
|
17
|
-
"@effect-agent/sandbox": "0.1.0-beta.
|
|
18
|
-
"@effect-agent/session": "0.1.0-beta.
|
|
19
|
-
"@effect-agent/storage-cloudflare": "0.1.0-beta.
|
|
15
|
+
"@effect-agent/core": "0.1.0-beta.28",
|
|
16
|
+
"@effect-agent/engine": "0.1.0-beta.28",
|
|
17
|
+
"@effect-agent/sandbox": "0.1.0-beta.28",
|
|
18
|
+
"@effect-agent/session": "0.1.0-beta.28",
|
|
19
|
+
"@effect-agent/storage-cloudflare": "0.1.0-beta.28",
|
|
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"
|