@effect-agent/storage-cloudflare 0.1.0-beta.6 → 0.1.0-beta.9
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 +28 -8
- package/package.json +14 -14
package/dist/index.d.mts
CHANGED
|
@@ -535,6 +535,9 @@ 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;
|
|
540
|
+
readonly costMicrousd?: number | undefined;
|
|
538
541
|
} | {
|
|
539
542
|
readonly _tag: "ToolCallPrepared";
|
|
540
543
|
readonly runId: string;
|
|
@@ -597,8 +600,10 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
597
600
|
} | {
|
|
598
601
|
readonly _tag: "CompactionCreated";
|
|
599
602
|
readonly runId: string;
|
|
600
|
-
readonly
|
|
601
|
-
readonly
|
|
603
|
+
readonly turn: number;
|
|
604
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
605
|
+
readonly coversThrough: number;
|
|
606
|
+
readonly summary?: string | undefined;
|
|
602
607
|
} | {
|
|
603
608
|
readonly _tag: "RunFailed";
|
|
604
609
|
readonly runId: string;
|
|
@@ -716,6 +721,9 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
716
721
|
readonly turn: number;
|
|
717
722
|
readonly messages: Schema.Json;
|
|
718
723
|
readonly messagesDigest: string;
|
|
724
|
+
readonly inputTokens?: number | undefined;
|
|
725
|
+
readonly outputTokens?: number | undefined;
|
|
726
|
+
readonly costMicrousd?: number | undefined;
|
|
719
727
|
} | {
|
|
720
728
|
readonly _tag: "ToolCallPrepared";
|
|
721
729
|
readonly runId: string;
|
|
@@ -778,8 +786,10 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
|
|
|
778
786
|
} | {
|
|
779
787
|
readonly _tag: "CompactionCreated";
|
|
780
788
|
readonly runId: string;
|
|
781
|
-
readonly
|
|
782
|
-
readonly
|
|
789
|
+
readonly turn: number;
|
|
790
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
791
|
+
readonly coversThrough: number;
|
|
792
|
+
readonly summary?: string | undefined;
|
|
783
793
|
} | {
|
|
784
794
|
readonly _tag: "RunFailed";
|
|
785
795
|
readonly runId: string;
|
|
@@ -1026,6 +1036,9 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1026
1036
|
readonly turn: number;
|
|
1027
1037
|
readonly messages: Schema.Json;
|
|
1028
1038
|
readonly messagesDigest: string;
|
|
1039
|
+
readonly inputTokens?: number | undefined;
|
|
1040
|
+
readonly outputTokens?: number | undefined;
|
|
1041
|
+
readonly costMicrousd?: number | undefined;
|
|
1029
1042
|
} | {
|
|
1030
1043
|
readonly _tag: "ToolCallPrepared";
|
|
1031
1044
|
readonly runId: string;
|
|
@@ -1088,8 +1101,10 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1088
1101
|
} | {
|
|
1089
1102
|
readonly _tag: "CompactionCreated";
|
|
1090
1103
|
readonly runId: string;
|
|
1091
|
-
readonly
|
|
1092
|
-
readonly
|
|
1104
|
+
readonly turn: number;
|
|
1105
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
1106
|
+
readonly coversThrough: number;
|
|
1107
|
+
readonly summary?: string | undefined;
|
|
1093
1108
|
} | {
|
|
1094
1109
|
readonly _tag: "RunFailed";
|
|
1095
1110
|
readonly runId: string;
|
|
@@ -1229,6 +1244,9 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1229
1244
|
readonly turn: number;
|
|
1230
1245
|
readonly messages: Schema.Json;
|
|
1231
1246
|
readonly messagesDigest: string;
|
|
1247
|
+
readonly inputTokens?: number | undefined;
|
|
1248
|
+
readonly outputTokens?: number | undefined;
|
|
1249
|
+
readonly costMicrousd?: number | undefined;
|
|
1232
1250
|
} | {
|
|
1233
1251
|
readonly _tag: "ToolCallPrepared";
|
|
1234
1252
|
readonly runId: string;
|
|
@@ -1291,8 +1309,10 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
|
|
|
1291
1309
|
} | {
|
|
1292
1310
|
readonly _tag: "CompactionCreated";
|
|
1293
1311
|
readonly runId: string;
|
|
1294
|
-
readonly
|
|
1295
|
-
readonly
|
|
1312
|
+
readonly turn: number;
|
|
1313
|
+
readonly kind: "clear-tool-results" | "summarize";
|
|
1314
|
+
readonly coversThrough: number;
|
|
1315
|
+
readonly summary?: string | undefined;
|
|
1296
1316
|
} | {
|
|
1297
1317
|
readonly _tag: "RunFailed";
|
|
1298
1318
|
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.9",
|
|
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.9",
|
|
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",
|