@effect-agent/platform-cloudflare 0.1.0-beta.16 → 0.1.0-beta.18
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 +8 -6
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -632,6 +632,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
632
632
|
readonly settlementId: string;
|
|
633
633
|
readonly receiptId: string;
|
|
634
634
|
readonly outcome: "aborted" | "completed" | "failed";
|
|
635
|
+
readonly runDisposition?: Schema.Json | undefined;
|
|
635
636
|
readonly settledAt: string;
|
|
636
637
|
};
|
|
637
638
|
} | {
|
|
@@ -762,6 +763,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
762
763
|
readonly outcome: "aborted" | "completed" | "failed";
|
|
763
764
|
readonly runId?: string | undefined;
|
|
764
765
|
readonly result?: Schema.Json | undefined;
|
|
766
|
+
readonly runDisposition?: Schema.Json | undefined;
|
|
765
767
|
readonly finishReason?: "budget-exhausted" | undefined;
|
|
766
768
|
readonly exhausted?: "tokens" | "tool-calls" | "turns" | undefined;
|
|
767
769
|
readonly policyLimit?: "cost" | "duration" | "repeated-failures" | "tokens" | "tool-calls" | "turns" | "usage" | undefined;
|
|
@@ -881,12 +883,6 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
881
883
|
readonly failure: {
|
|
882
884
|
readonly _tag: "HostProtocolError";
|
|
883
885
|
readonly message: string;
|
|
884
|
-
} | {
|
|
885
|
-
readonly _tag: "OperationDenied";
|
|
886
|
-
readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
887
|
-
readonly reason: string;
|
|
888
|
-
readonly conversationId?: string | undefined;
|
|
889
|
-
readonly submissionId?: string | undefined;
|
|
890
886
|
} | {
|
|
891
887
|
readonly _tag: "AgentInputError";
|
|
892
888
|
readonly message: string;
|
|
@@ -956,6 +952,12 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
956
952
|
readonly operation: string;
|
|
957
953
|
readonly message: string;
|
|
958
954
|
readonly cause?: Schema.Json | undefined;
|
|
955
|
+
} | {
|
|
956
|
+
readonly _tag: "OperationDenied";
|
|
957
|
+
readonly operation: "explain" | "observe" | "resolveApproval" | "resolveUnknown" | "retry" | "scanObligations" | "verify" | "wake";
|
|
958
|
+
readonly reason: string;
|
|
959
|
+
readonly conversationId?: string | undefined;
|
|
960
|
+
readonly submissionId?: string | undefined;
|
|
959
961
|
};
|
|
960
962
|
}, Schema.SchemaError, never>;
|
|
961
963
|
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.18",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@effect-agent/core": "0.1.0-beta.
|
|
12
|
-
"@effect-agent/sandbox": "0.1.0-beta.
|
|
13
|
-
"@effect-agent/session": "0.1.0-beta.
|
|
14
|
-
"@effect-agent/storage-cloudflare": "0.1.0-beta.
|
|
11
|
+
"@effect-agent/core": "0.1.0-beta.18",
|
|
12
|
+
"@effect-agent/sandbox": "0.1.0-beta.18",
|
|
13
|
+
"@effect-agent/session": "0.1.0-beta.18",
|
|
14
|
+
"@effect-agent/storage-cloudflare": "0.1.0-beta.18",
|
|
15
15
|
"@effect/platform-browser": "4.0.0-beta.107",
|
|
16
16
|
"@effect/sql-sqlite-do": "4.0.0-beta.107",
|
|
17
17
|
"effect": "4.0.0-beta.107"
|