@effect-agent/storage-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 +24 -8
- package/package.json +14 -14
package/dist/index.d.mts
CHANGED
|
@@ -535,6 +535,8 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
535
535
|
readonly turn: number;
|
|
536
536
|
readonly messages: Schema.Json;
|
|
537
537
|
readonly messagesDigest: string;
|
|
538
|
+
readonly inputTokens?: number | undefined;
|
|
539
|
+
readonly outputTokens?: number | undefined;
|
|
538
540
|
} | {
|
|
539
541
|
readonly _tag: "ToolCallPrepared";
|
|
540
542
|
readonly runId: string;
|
|
@@ -597,8 +599,10 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
597
599
|
} | {
|
|
598
600
|
readonly _tag: "CompactionCreated";
|
|
599
601
|
readonly runId: string;
|
|
600
|
-
readonly
|
|
601
|
-
readonly
|
|
602
|
+
readonly turn: number;
|
|
603
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
604
|
+
readonly coversThrough: number;
|
|
605
|
+
readonly summary?: string | undefined;
|
|
602
606
|
} | {
|
|
603
607
|
readonly _tag: "RunFailed";
|
|
604
608
|
readonly runId: string;
|
|
@@ -716,6 +720,8 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
716
720
|
readonly turn: number;
|
|
717
721
|
readonly messages: Schema.Json;
|
|
718
722
|
readonly messagesDigest: string;
|
|
723
|
+
readonly inputTokens?: number | undefined;
|
|
724
|
+
readonly outputTokens?: number | undefined;
|
|
719
725
|
} | {
|
|
720
726
|
readonly _tag: "ToolCallPrepared";
|
|
721
727
|
readonly runId: string;
|
|
@@ -778,8 +784,10 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
778
784
|
} | {
|
|
779
785
|
readonly _tag: "CompactionCreated";
|
|
780
786
|
readonly runId: string;
|
|
781
|
-
readonly
|
|
782
|
-
readonly
|
|
787
|
+
readonly turn: number;
|
|
788
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
789
|
+
readonly coversThrough: number;
|
|
790
|
+
readonly summary?: string | undefined;
|
|
783
791
|
} | {
|
|
784
792
|
readonly _tag: "RunFailed";
|
|
785
793
|
readonly runId: string;
|
|
@@ -1026,6 +1034,8 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1026
1034
|
readonly turn: number;
|
|
1027
1035
|
readonly messages: Schema.Json;
|
|
1028
1036
|
readonly messagesDigest: string;
|
|
1037
|
+
readonly inputTokens?: number | undefined;
|
|
1038
|
+
readonly outputTokens?: number | undefined;
|
|
1029
1039
|
} | {
|
|
1030
1040
|
readonly _tag: "ToolCallPrepared";
|
|
1031
1041
|
readonly runId: string;
|
|
@@ -1088,8 +1098,10 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1088
1098
|
} | {
|
|
1089
1099
|
readonly _tag: "CompactionCreated";
|
|
1090
1100
|
readonly runId: string;
|
|
1091
|
-
readonly
|
|
1092
|
-
readonly
|
|
1101
|
+
readonly turn: number;
|
|
1102
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
1103
|
+
readonly coversThrough: number;
|
|
1104
|
+
readonly summary?: string | undefined;
|
|
1093
1105
|
} | {
|
|
1094
1106
|
readonly _tag: "RunFailed";
|
|
1095
1107
|
readonly runId: string;
|
|
@@ -1229,6 +1241,8 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1229
1241
|
readonly turn: number;
|
|
1230
1242
|
readonly messages: Schema.Json;
|
|
1231
1243
|
readonly messagesDigest: string;
|
|
1244
|
+
readonly inputTokens?: number | undefined;
|
|
1245
|
+
readonly outputTokens?: number | undefined;
|
|
1232
1246
|
} | {
|
|
1233
1247
|
readonly _tag: "ToolCallPrepared";
|
|
1234
1248
|
readonly runId: string;
|
|
@@ -1291,8 +1305,10 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1291
1305
|
} | {
|
|
1292
1306
|
readonly _tag: "CompactionCreated";
|
|
1293
1307
|
readonly runId: string;
|
|
1294
|
-
readonly
|
|
1295
|
-
readonly
|
|
1308
|
+
readonly turn: number;
|
|
1309
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
1310
|
+
readonly coversThrough: number;
|
|
1311
|
+
readonly summary?: string | undefined;
|
|
1296
1312
|
} | {
|
|
1297
1313
|
readonly _tag: "RunFailed";
|
|
1298
1314
|
readonly runId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-agent/storage-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/session": "0.1.0-beta.8",
|
|
12
|
+
"@effect/platform-browser": "4.0.0-beta.107",
|
|
13
|
+
"@effect/sql-sqlite-do": "4.0.0-beta.107",
|
|
14
|
+
"effect": "4.0.0-beta.107"
|
|
15
|
+
},
|
|
4
16
|
"description": "Durable Object SQLite storage adapters and the routed port protocol for Effect Agent on Cloudflare.",
|
|
5
17
|
"license": "MIT",
|
|
6
18
|
"repository": {
|
|
@@ -13,12 +25,6 @@
|
|
|
13
25
|
"src"
|
|
14
26
|
],
|
|
15
27
|
"type": "module",
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": "./dist/index.d.mts",
|
|
19
|
-
"default": "./dist/index.mjs"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
28
|
"publishConfig": {
|
|
23
29
|
"access": "public"
|
|
24
30
|
},
|
|
@@ -27,16 +33,10 @@
|
|
|
27
33
|
"check": "tsc --noEmit -p tsconfig.json",
|
|
28
34
|
"test": "vitest run"
|
|
29
35
|
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@effect-agent/session": "0.1.0-beta.6",
|
|
32
|
-
"@effect/platform-browser": "4.0.0-beta.107",
|
|
33
|
-
"@effect/sql-sqlite-do": "4.0.0-beta.107",
|
|
34
|
-
"effect": "4.0.0-beta.107"
|
|
35
|
-
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@cloudflare/vitest-pool-workers": "0.21.3",
|
|
38
38
|
"@cloudflare/workers-types": "5.20260813.1",
|
|
39
|
-
"@effect-agent/testing": "0.0
|
|
39
|
+
"@effect-agent/testing": "0.1.0-beta.6",
|
|
40
40
|
"@effect/vitest": "4.0.0-beta.107",
|
|
41
41
|
"typescript": "7.0.2",
|
|
42
42
|
"vite-plus": "0.2.6",
|