@effect-agent/platform-cloudflare 0.1.0-beta.6 → 0.1.0-beta.8
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 -4
- package/package.json +20 -20
package/dist/index.d.mts
CHANGED
|
@@ -618,6 +618,8 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
618
618
|
readonly turn: number;
|
|
619
619
|
readonly messages: Schema.Json;
|
|
620
620
|
readonly messagesDigest: string;
|
|
621
|
+
readonly inputTokens?: number | undefined;
|
|
622
|
+
readonly outputTokens?: number | undefined;
|
|
621
623
|
} | {
|
|
622
624
|
readonly _tag: "ToolCallPrepared";
|
|
623
625
|
readonly runId: string;
|
|
@@ -680,8 +682,10 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
680
682
|
} | {
|
|
681
683
|
readonly _tag: "CompactionCreated";
|
|
682
684
|
readonly runId: string;
|
|
683
|
-
readonly
|
|
684
|
-
readonly
|
|
685
|
+
readonly turn: number;
|
|
686
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
687
|
+
readonly coversThrough: number;
|
|
688
|
+
readonly summary?: string | undefined;
|
|
685
689
|
} | {
|
|
686
690
|
readonly _tag: "RunFailed";
|
|
687
691
|
readonly runId: string;
|
|
@@ -874,7 +878,7 @@ declare const encodeHostResponse: (input: AbortRecorded | ApprovalRecorded | Hos
|
|
|
874
878
|
readonly attemptedEpoch: number;
|
|
875
879
|
} | {
|
|
876
880
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
877
|
-
readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "claim:after-claim" | "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";
|
|
881
|
+
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";
|
|
878
882
|
} | {
|
|
879
883
|
readonly _tag: "AdmissionLimitExceeded";
|
|
880
884
|
readonly limit: "database-bytes" | "input-bytes" | "queue-depth";
|
|
@@ -1455,7 +1459,7 @@ declare const encodeAdminResponse: (input: AdminFailed | ExplainedRecovery | Obl
|
|
|
1455
1459
|
readonly attemptedEpoch: number;
|
|
1456
1460
|
} | {
|
|
1457
1461
|
readonly _tag: "DurableRuntimeFailpointError";
|
|
1458
|
-
readonly location: "abort:after-intent" | "approval:after-request-append" | "approval:after-suspend" | "claim:after-claim" | "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";
|
|
1462
|
+
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";
|
|
1459
1463
|
} | {
|
|
1460
1464
|
readonly _tag: "DurableAlarmError";
|
|
1461
1465
|
readonly operation: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-agent/platform-cloudflare",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.8",
|
|
4
|
+
"exports": {
|
|
5
|
+
".": {
|
|
6
|
+
"types": "./dist/index.d.mts",
|
|
7
|
+
"default": "./dist/index.mjs"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@effect-agent/core": "0.1.0-beta.8",
|
|
12
|
+
"@effect-agent/sandbox": "0.1.0-beta.8",
|
|
13
|
+
"@effect-agent/session": "0.1.0-beta.8",
|
|
14
|
+
"@effect-agent/storage-cloudflare": "0.1.0-beta.8",
|
|
15
|
+
"@effect/platform-browser": "4.0.0-beta.107",
|
|
16
|
+
"@effect/sql-sqlite-do": "4.0.0-beta.107",
|
|
17
|
+
"effect": "4.0.0-beta.107",
|
|
18
|
+
"effect-cf": "0.25.3"
|
|
19
|
+
},
|
|
4
20
|
"description": "Class DC layer assembly for Effect Agent: SQLite-backed Conversation Durable Objects with alarm-driven recovery.",
|
|
5
21
|
"license": "MIT",
|
|
6
22
|
"repository": {
|
|
@@ -13,12 +29,6 @@
|
|
|
13
29
|
"src"
|
|
14
30
|
],
|
|
15
31
|
"type": "module",
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": "./dist/index.d.mts",
|
|
19
|
-
"default": "./dist/index.mjs"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
32
|
"publishConfig": {
|
|
23
33
|
"access": "public"
|
|
24
34
|
},
|
|
@@ -27,22 +37,12 @@
|
|
|
27
37
|
"check": "tsc --noEmit -p tsconfig.json",
|
|
28
38
|
"test": "vitest run"
|
|
29
39
|
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@effect-agent/core": "0.1.0-beta.6",
|
|
32
|
-
"@effect-agent/sandbox": "0.1.0-beta.6",
|
|
33
|
-
"@effect-agent/session": "0.1.0-beta.6",
|
|
34
|
-
"@effect-agent/storage-cloudflare": "0.1.0-beta.6",
|
|
35
|
-
"@effect/platform-browser": "4.0.0-beta.107",
|
|
36
|
-
"@effect/sql-sqlite-do": "4.0.0-beta.107",
|
|
37
|
-
"effect": "4.0.0-beta.107",
|
|
38
|
-
"effect-cf": "0.25.3"
|
|
39
|
-
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@cloudflare/vitest-pool-workers": "0.21.3",
|
|
42
42
|
"@cloudflare/workers-types": "5.20260813.1",
|
|
43
|
-
"@effect-agent/capabilities": "0.0
|
|
44
|
-
"@effect-agent/engine": "0.0
|
|
45
|
-
"@effect-agent/testing": "0.0
|
|
43
|
+
"@effect-agent/capabilities": "0.1.0-beta.6",
|
|
44
|
+
"@effect-agent/engine": "0.1.0-beta.6",
|
|
45
|
+
"@effect-agent/testing": "0.1.0-beta.6",
|
|
46
46
|
"@effect/vitest": "4.0.0-beta.107",
|
|
47
47
|
"esbuild": "0.28.1",
|
|
48
48
|
"miniflare": "4.20260730.0",
|