@effect-agent/testing 0.0.1-beta.6 → 0.1.0-beta.6

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +74 -72
  2. package/package.json +9 -9
package/dist/index.d.mts CHANGED
@@ -983,6 +983,42 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
983
983
  readonly createdAt: string;
984
984
  readonly deploymentId: string;
985
985
  readonly payload: {
986
+ readonly _tag: "AbortRequested";
987
+ readonly submissionId: string;
988
+ readonly author: string;
989
+ readonly reason: string;
990
+ } | {
991
+ readonly _tag: "ToolCallResolved";
992
+ readonly runId: string;
993
+ readonly toolCallId: string;
994
+ readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
995
+ readonly author: string;
996
+ readonly reason: string;
997
+ } | {
998
+ readonly _tag: "ToolCallPrepared";
999
+ readonly runId: string;
1000
+ readonly turnId: string;
1001
+ readonly turn: number;
1002
+ readonly toolCallId: string;
1003
+ readonly toolName: string;
1004
+ readonly parameters: Schema.Json;
1005
+ readonly parametersDigest: string;
1006
+ } | {
1007
+ readonly _tag: "ToolCallUnknown";
1008
+ readonly runId: string;
1009
+ readonly turn: number;
1010
+ readonly toolCallId: string;
1011
+ readonly toolName: string;
1012
+ readonly reason: string;
1013
+ } | {
1014
+ readonly _tag: "ToolApprovalDecided";
1015
+ readonly runId: string;
1016
+ readonly turn: number;
1017
+ readonly toolCallId: string;
1018
+ readonly decision: "approved" | "denied";
1019
+ readonly resolver: string;
1020
+ readonly reason: string;
1021
+ } | {
986
1022
  readonly _tag: "ConversationCreated";
987
1023
  readonly agentId: string;
988
1024
  readonly definitions: {
@@ -1007,15 +1043,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1007
1043
  readonly turn: number;
1008
1044
  readonly messages: Schema.Json;
1009
1045
  readonly messagesDigest: string;
1010
- } | {
1011
- readonly _tag: "ToolCallPrepared";
1012
- readonly runId: string;
1013
- readonly turnId: string;
1014
- readonly turn: number;
1015
- readonly toolCallId: string;
1016
- readonly toolName: string;
1017
- readonly parameters: Schema.Json;
1018
- readonly parametersDigest: string;
1019
1046
  } | {
1020
1047
  readonly _tag: "ToolCallSettled";
1021
1048
  readonly runId: string;
@@ -1023,20 +1050,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1023
1050
  readonly toolName: string;
1024
1051
  readonly result: Schema.Json;
1025
1052
  readonly isFailure: boolean;
1026
- } | {
1027
- readonly _tag: "ToolCallUnknown";
1028
- readonly runId: string;
1029
- readonly turn: number;
1030
- readonly toolCallId: string;
1031
- readonly toolName: string;
1032
- readonly reason: string;
1033
- } | {
1034
- readonly _tag: "ToolCallResolved";
1035
- readonly runId: string;
1036
- readonly toolCallId: string;
1037
- readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
1038
- readonly author: string;
1039
- readonly reason: string;
1040
1053
  } | {
1041
1054
  readonly _tag: "ToolStepSettled";
1042
1055
  readonly runId: string;
@@ -1052,14 +1065,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1052
1065
  readonly toolCallId: string;
1053
1066
  readonly toolName: string;
1054
1067
  readonly parametersDigest: string;
1055
- } | {
1056
- readonly _tag: "ToolApprovalDecided";
1057
- readonly runId: string;
1058
- readonly turn: number;
1059
- readonly toolCallId: string;
1060
- readonly decision: "approved" | "denied";
1061
- readonly resolver: string;
1062
- readonly reason: string;
1063
1068
  } | {
1064
1069
  readonly _tag: "ModelResponseInterrupted";
1065
1070
  readonly runId: string;
@@ -1079,11 +1084,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1079
1084
  readonly _tag: "RunCompleted";
1080
1085
  readonly runId: string;
1081
1086
  readonly output: Schema.Json;
1082
- } | {
1083
- readonly _tag: "AbortRequested";
1084
- readonly submissionId: string;
1085
- readonly author: string;
1086
- readonly reason: string;
1087
1087
  } | {
1088
1088
  readonly _tag: "SubmissionSettled";
1089
1089
  readonly submissionId: string;
@@ -1092,6 +1092,7 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1092
1092
  readonly outcome: "aborted" | "completed" | "failed";
1093
1093
  readonly runId?: string | undefined;
1094
1094
  readonly result?: Schema.Json | undefined;
1095
+ readonly finishReason?: "budget-exhausted" | undefined;
1095
1096
  } | {
1096
1097
  readonly _tag: "SubagentRequested";
1097
1098
  readonly runId: string;
@@ -1163,6 +1164,42 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1163
1164
  readonly createdAt: string;
1164
1165
  readonly deploymentId: string;
1165
1166
  readonly payload: {
1167
+ readonly _tag: "AbortRequested";
1168
+ readonly submissionId: string;
1169
+ readonly author: string;
1170
+ readonly reason: string;
1171
+ } | {
1172
+ readonly _tag: "ToolCallResolved";
1173
+ readonly runId: string;
1174
+ readonly toolCallId: string;
1175
+ readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
1176
+ readonly author: string;
1177
+ readonly reason: string;
1178
+ } | {
1179
+ readonly _tag: "ToolCallPrepared";
1180
+ readonly runId: string;
1181
+ readonly turnId: string;
1182
+ readonly turn: number;
1183
+ readonly toolCallId: string;
1184
+ readonly toolName: string;
1185
+ readonly parameters: Schema.Json;
1186
+ readonly parametersDigest: string;
1187
+ } | {
1188
+ readonly _tag: "ToolCallUnknown";
1189
+ readonly runId: string;
1190
+ readonly turn: number;
1191
+ readonly toolCallId: string;
1192
+ readonly toolName: string;
1193
+ readonly reason: string;
1194
+ } | {
1195
+ readonly _tag: "ToolApprovalDecided";
1196
+ readonly runId: string;
1197
+ readonly turn: number;
1198
+ readonly toolCallId: string;
1199
+ readonly decision: "approved" | "denied";
1200
+ readonly resolver: string;
1201
+ readonly reason: string;
1202
+ } | {
1166
1203
  readonly _tag: "ConversationCreated";
1167
1204
  readonly agentId: string;
1168
1205
  readonly definitions: {
@@ -1187,15 +1224,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1187
1224
  readonly turn: number;
1188
1225
  readonly messages: Schema.Json;
1189
1226
  readonly messagesDigest: string;
1190
- } | {
1191
- readonly _tag: "ToolCallPrepared";
1192
- readonly runId: string;
1193
- readonly turnId: string;
1194
- readonly turn: number;
1195
- readonly toolCallId: string;
1196
- readonly toolName: string;
1197
- readonly parameters: Schema.Json;
1198
- readonly parametersDigest: string;
1199
1227
  } | {
1200
1228
  readonly _tag: "ToolCallSettled";
1201
1229
  readonly runId: string;
@@ -1203,20 +1231,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1203
1231
  readonly toolName: string;
1204
1232
  readonly result: Schema.Json;
1205
1233
  readonly isFailure: boolean;
1206
- } | {
1207
- readonly _tag: "ToolCallUnknown";
1208
- readonly runId: string;
1209
- readonly turn: number;
1210
- readonly toolCallId: string;
1211
- readonly toolName: string;
1212
- readonly reason: string;
1213
- } | {
1214
- readonly _tag: "ToolCallResolved";
1215
- readonly runId: string;
1216
- readonly toolCallId: string;
1217
- readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
1218
- readonly author: string;
1219
- readonly reason: string;
1220
1234
  } | {
1221
1235
  readonly _tag: "ToolStepSettled";
1222
1236
  readonly runId: string;
@@ -1232,14 +1246,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1232
1246
  readonly toolCallId: string;
1233
1247
  readonly toolName: string;
1234
1248
  readonly parametersDigest: string;
1235
- } | {
1236
- readonly _tag: "ToolApprovalDecided";
1237
- readonly runId: string;
1238
- readonly turn: number;
1239
- readonly toolCallId: string;
1240
- readonly decision: "approved" | "denied";
1241
- readonly resolver: string;
1242
- readonly reason: string;
1243
1249
  } | {
1244
1250
  readonly _tag: "ModelResponseInterrupted";
1245
1251
  readonly runId: string;
@@ -1259,11 +1265,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1259
1265
  readonly _tag: "RunCompleted";
1260
1266
  readonly runId: string;
1261
1267
  readonly output: Schema.Json;
1262
- } | {
1263
- readonly _tag: "AbortRequested";
1264
- readonly submissionId: string;
1265
- readonly author: string;
1266
- readonly reason: string;
1267
1268
  } | {
1268
1269
  readonly _tag: "SubmissionSettled";
1269
1270
  readonly submissionId: string;
@@ -1272,6 +1273,7 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1272
1273
  readonly outcome: "aborted" | "completed" | "failed";
1273
1274
  readonly runId?: string | undefined;
1274
1275
  readonly result?: Schema.Json | undefined;
1276
+ readonly finishReason?: "budget-exhausted" | undefined;
1275
1277
  } | {
1276
1278
  readonly _tag: "SubagentRequested";
1277
1279
  readonly runId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-agent/testing",
3
- "version": "0.0.1-beta.6",
3
+ "version": "0.1.0-beta.6",
4
4
  "description": "Scripted models, deterministic fixtures, and adapter conformance kits for testing Effect Agent applications.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,14 +28,14 @@
28
28
  "test": "vp test --passWithNoTests"
29
29
  },
30
30
  "dependencies": {
31
- "@effect-agent/capabilities": "0.0.1-beta.6",
32
- "@effect-agent/core": "0.0.1-beta.6",
33
- "@effect-agent/engine": "0.0.1-beta.6",
34
- "@effect-agent/platform-node": "0.0.1-beta.6",
35
- "@effect-agent/sandbox": "0.0.1-beta.5",
36
- "@effect-agent/session": "0.0.1-beta.6",
37
- "@effect-agent/storage-memory": "0.0.1-beta.6",
38
- "@effect-agent/storage-sqlite": "0.0.1-beta.6",
31
+ "@effect-agent/capabilities": "0.1.0-beta.6",
32
+ "@effect-agent/core": "0.1.0-beta.6",
33
+ "@effect-agent/engine": "0.1.0-beta.6",
34
+ "@effect-agent/platform-node": "0.1.0-beta.6",
35
+ "@effect-agent/sandbox": "0.1.0-beta.6",
36
+ "@effect-agent/session": "0.1.0-beta.6",
37
+ "@effect-agent/storage-memory": "0.1.0-beta.6",
38
+ "@effect-agent/storage-sqlite": "0.1.0-beta.6",
39
39
  "effect": "4.0.0-beta.107"
40
40
  },
41
41
  "devDependencies": {