@effect-agent/testing 0.1.0-beta.11 → 0.1.0-beta.12
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 +72 -72
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -993,42 +993,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
993
993
|
readonly createdAt: string;
|
|
994
994
|
readonly deploymentId: string;
|
|
995
995
|
readonly payload: {
|
|
996
|
-
readonly _tag: "AbortRequested";
|
|
997
|
-
readonly submissionId: string;
|
|
998
|
-
readonly author: string;
|
|
999
|
-
readonly reason: string;
|
|
1000
|
-
} | {
|
|
1001
|
-
readonly _tag: "ToolCallResolved";
|
|
1002
|
-
readonly runId: string;
|
|
1003
|
-
readonly toolCallId: string;
|
|
1004
|
-
readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
|
|
1005
|
-
readonly author: string;
|
|
1006
|
-
readonly reason: string;
|
|
1007
|
-
} | {
|
|
1008
|
-
readonly _tag: "ToolCallPrepared";
|
|
1009
|
-
readonly runId: string;
|
|
1010
|
-
readonly turnId: string;
|
|
1011
|
-
readonly turn: number;
|
|
1012
|
-
readonly toolCallId: string;
|
|
1013
|
-
readonly toolName: string;
|
|
1014
|
-
readonly parameters: Schema.Json;
|
|
1015
|
-
readonly parametersDigest: string;
|
|
1016
|
-
} | {
|
|
1017
|
-
readonly _tag: "ToolCallUnknown";
|
|
1018
|
-
readonly runId: string;
|
|
1019
|
-
readonly turn: number;
|
|
1020
|
-
readonly toolCallId: string;
|
|
1021
|
-
readonly toolName: string;
|
|
1022
|
-
readonly reason: string;
|
|
1023
|
-
} | {
|
|
1024
|
-
readonly _tag: "ToolApprovalDecided";
|
|
1025
|
-
readonly runId: string;
|
|
1026
|
-
readonly turn: number;
|
|
1027
|
-
readonly toolCallId: string;
|
|
1028
|
-
readonly decision: "approved" | "denied";
|
|
1029
|
-
readonly resolver: string;
|
|
1030
|
-
readonly reason: string;
|
|
1031
|
-
} | {
|
|
1032
996
|
readonly _tag: "ConversationCreated";
|
|
1033
997
|
readonly agentId: string;
|
|
1034
998
|
readonly definitions: {
|
|
@@ -1056,6 +1020,15 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1056
1020
|
readonly inputTokens?: number | undefined;
|
|
1057
1021
|
readonly outputTokens?: number | undefined;
|
|
1058
1022
|
readonly costMicrousd?: number | undefined;
|
|
1023
|
+
} | {
|
|
1024
|
+
readonly _tag: "ToolCallPrepared";
|
|
1025
|
+
readonly runId: string;
|
|
1026
|
+
readonly turnId: string;
|
|
1027
|
+
readonly turn: number;
|
|
1028
|
+
readonly toolCallId: string;
|
|
1029
|
+
readonly toolName: string;
|
|
1030
|
+
readonly parameters: Schema.Json;
|
|
1031
|
+
readonly parametersDigest: string;
|
|
1059
1032
|
} | {
|
|
1060
1033
|
readonly _tag: "ToolCallSettled";
|
|
1061
1034
|
readonly runId: string;
|
|
@@ -1063,6 +1036,20 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1063
1036
|
readonly toolName: string;
|
|
1064
1037
|
readonly result: Schema.Json;
|
|
1065
1038
|
readonly isFailure: boolean;
|
|
1039
|
+
} | {
|
|
1040
|
+
readonly _tag: "ToolCallUnknown";
|
|
1041
|
+
readonly runId: string;
|
|
1042
|
+
readonly turn: number;
|
|
1043
|
+
readonly toolCallId: string;
|
|
1044
|
+
readonly toolName: string;
|
|
1045
|
+
readonly reason: string;
|
|
1046
|
+
} | {
|
|
1047
|
+
readonly _tag: "ToolCallResolved";
|
|
1048
|
+
readonly runId: string;
|
|
1049
|
+
readonly toolCallId: string;
|
|
1050
|
+
readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
|
|
1051
|
+
readonly author: string;
|
|
1052
|
+
readonly reason: string;
|
|
1066
1053
|
} | {
|
|
1067
1054
|
readonly _tag: "ToolStepSettled";
|
|
1068
1055
|
readonly runId: string;
|
|
@@ -1078,6 +1065,14 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1078
1065
|
readonly toolCallId: string;
|
|
1079
1066
|
readonly toolName: string;
|
|
1080
1067
|
readonly parametersDigest: string;
|
|
1068
|
+
} | {
|
|
1069
|
+
readonly _tag: "ToolApprovalDecided";
|
|
1070
|
+
readonly runId: string;
|
|
1071
|
+
readonly turn: number;
|
|
1072
|
+
readonly toolCallId: string;
|
|
1073
|
+
readonly decision: "approved" | "denied";
|
|
1074
|
+
readonly resolver: string;
|
|
1075
|
+
readonly reason: string;
|
|
1081
1076
|
} | {
|
|
1082
1077
|
readonly _tag: "ModelResponseInterrupted";
|
|
1083
1078
|
readonly runId: string;
|
|
@@ -1099,6 +1094,11 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1099
1094
|
readonly _tag: "RunCompleted";
|
|
1100
1095
|
readonly runId: string;
|
|
1101
1096
|
readonly output: Schema.Json;
|
|
1097
|
+
} | {
|
|
1098
|
+
readonly _tag: "AbortRequested";
|
|
1099
|
+
readonly submissionId: string;
|
|
1100
|
+
readonly author: string;
|
|
1101
|
+
readonly reason: string;
|
|
1102
1102
|
} | {
|
|
1103
1103
|
readonly _tag: "SubmissionSettled";
|
|
1104
1104
|
readonly submissionId: string;
|
|
@@ -1179,42 +1179,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1179
1179
|
readonly createdAt: string;
|
|
1180
1180
|
readonly deploymentId: string;
|
|
1181
1181
|
readonly payload: {
|
|
1182
|
-
readonly _tag: "AbortRequested";
|
|
1183
|
-
readonly submissionId: string;
|
|
1184
|
-
readonly author: string;
|
|
1185
|
-
readonly reason: string;
|
|
1186
|
-
} | {
|
|
1187
|
-
readonly _tag: "ToolCallResolved";
|
|
1188
|
-
readonly runId: string;
|
|
1189
|
-
readonly toolCallId: string;
|
|
1190
|
-
readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
|
|
1191
|
-
readonly author: string;
|
|
1192
|
-
readonly reason: string;
|
|
1193
|
-
} | {
|
|
1194
|
-
readonly _tag: "ToolCallPrepared";
|
|
1195
|
-
readonly runId: string;
|
|
1196
|
-
readonly turnId: string;
|
|
1197
|
-
readonly turn: number;
|
|
1198
|
-
readonly toolCallId: string;
|
|
1199
|
-
readonly toolName: string;
|
|
1200
|
-
readonly parameters: Schema.Json;
|
|
1201
|
-
readonly parametersDigest: string;
|
|
1202
|
-
} | {
|
|
1203
|
-
readonly _tag: "ToolCallUnknown";
|
|
1204
|
-
readonly runId: string;
|
|
1205
|
-
readonly turn: number;
|
|
1206
|
-
readonly toolCallId: string;
|
|
1207
|
-
readonly toolName: string;
|
|
1208
|
-
readonly reason: string;
|
|
1209
|
-
} | {
|
|
1210
|
-
readonly _tag: "ToolApprovalDecided";
|
|
1211
|
-
readonly runId: string;
|
|
1212
|
-
readonly turn: number;
|
|
1213
|
-
readonly toolCallId: string;
|
|
1214
|
-
readonly decision: "approved" | "denied";
|
|
1215
|
-
readonly resolver: string;
|
|
1216
|
-
readonly reason: string;
|
|
1217
|
-
} | {
|
|
1218
1182
|
readonly _tag: "ConversationCreated";
|
|
1219
1183
|
readonly agentId: string;
|
|
1220
1184
|
readonly definitions: {
|
|
@@ -1242,6 +1206,15 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1242
1206
|
readonly inputTokens?: number | undefined;
|
|
1243
1207
|
readonly outputTokens?: number | undefined;
|
|
1244
1208
|
readonly costMicrousd?: number | undefined;
|
|
1209
|
+
} | {
|
|
1210
|
+
readonly _tag: "ToolCallPrepared";
|
|
1211
|
+
readonly runId: string;
|
|
1212
|
+
readonly turnId: string;
|
|
1213
|
+
readonly turn: number;
|
|
1214
|
+
readonly toolCallId: string;
|
|
1215
|
+
readonly toolName: string;
|
|
1216
|
+
readonly parameters: Schema.Json;
|
|
1217
|
+
readonly parametersDigest: string;
|
|
1245
1218
|
} | {
|
|
1246
1219
|
readonly _tag: "ToolCallSettled";
|
|
1247
1220
|
readonly runId: string;
|
|
@@ -1249,6 +1222,20 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1249
1222
|
readonly toolName: string;
|
|
1250
1223
|
readonly result: Schema.Json;
|
|
1251
1224
|
readonly isFailure: boolean;
|
|
1225
|
+
} | {
|
|
1226
|
+
readonly _tag: "ToolCallUnknown";
|
|
1227
|
+
readonly runId: string;
|
|
1228
|
+
readonly turn: number;
|
|
1229
|
+
readonly toolCallId: string;
|
|
1230
|
+
readonly toolName: string;
|
|
1231
|
+
readonly reason: string;
|
|
1232
|
+
} | {
|
|
1233
|
+
readonly _tag: "ToolCallResolved";
|
|
1234
|
+
readonly runId: string;
|
|
1235
|
+
readonly toolCallId: string;
|
|
1236
|
+
readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
|
|
1237
|
+
readonly author: string;
|
|
1238
|
+
readonly reason: string;
|
|
1252
1239
|
} | {
|
|
1253
1240
|
readonly _tag: "ToolStepSettled";
|
|
1254
1241
|
readonly runId: string;
|
|
@@ -1264,6 +1251,14 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1264
1251
|
readonly toolCallId: string;
|
|
1265
1252
|
readonly toolName: string;
|
|
1266
1253
|
readonly parametersDigest: string;
|
|
1254
|
+
} | {
|
|
1255
|
+
readonly _tag: "ToolApprovalDecided";
|
|
1256
|
+
readonly runId: string;
|
|
1257
|
+
readonly turn: number;
|
|
1258
|
+
readonly toolCallId: string;
|
|
1259
|
+
readonly decision: "approved" | "denied";
|
|
1260
|
+
readonly resolver: string;
|
|
1261
|
+
readonly reason: string;
|
|
1267
1262
|
} | {
|
|
1268
1263
|
readonly _tag: "ModelResponseInterrupted";
|
|
1269
1264
|
readonly runId: string;
|
|
@@ -1285,6 +1280,11 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
|
|
|
1285
1280
|
readonly _tag: "RunCompleted";
|
|
1286
1281
|
readonly runId: string;
|
|
1287
1282
|
readonly output: Schema.Json;
|
|
1283
|
+
} | {
|
|
1284
|
+
readonly _tag: "AbortRequested";
|
|
1285
|
+
readonly submissionId: string;
|
|
1286
|
+
readonly author: string;
|
|
1287
|
+
readonly reason: string;
|
|
1288
1288
|
} | {
|
|
1289
1289
|
readonly _tag: "SubmissionSettled";
|
|
1290
1290
|
readonly submissionId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-agent/testing",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.12",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@effect-agent/capabilities": "0.1.0-beta.
|
|
12
|
-
"@effect-agent/core": "0.1.0-beta.
|
|
13
|
-
"@effect-agent/engine": "0.1.0-beta.
|
|
14
|
-
"@effect-agent/platform-node": "0.1.0-beta.
|
|
15
|
-
"@effect-agent/sandbox": "0.1.0-beta.
|
|
16
|
-
"@effect-agent/session": "0.1.0-beta.
|
|
17
|
-
"@effect-agent/storage-memory": "0.1.0-beta.
|
|
18
|
-
"@effect-agent/storage-sqlite": "0.1.0-beta.
|
|
11
|
+
"@effect-agent/capabilities": "0.1.0-beta.12",
|
|
12
|
+
"@effect-agent/core": "0.1.0-beta.12",
|
|
13
|
+
"@effect-agent/engine": "0.1.0-beta.12",
|
|
14
|
+
"@effect-agent/platform-node": "0.1.0-beta.12",
|
|
15
|
+
"@effect-agent/sandbox": "0.1.0-beta.12",
|
|
16
|
+
"@effect-agent/session": "0.1.0-beta.12",
|
|
17
|
+
"@effect-agent/storage-memory": "0.1.0-beta.12",
|
|
18
|
+
"@effect-agent/storage-sqlite": "0.1.0-beta.12",
|
|
19
19
|
"effect": "4.0.0-beta.107"
|
|
20
20
|
},
|
|
21
21
|
"description": "Scripted models, deterministic fixtures, and adapter conformance kits for testing Effect Agent applications.",
|