@effect-agent/testing 0.1.0-beta.32 → 0.1.0-beta.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-agent/testing",
3
- "version": "0.1.0-beta.32",
3
+ "version": "0.1.0-beta.34",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.mts",
@@ -8,15 +8,15 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@effect-agent/capabilities": "0.1.0-beta.32",
12
- "@effect-agent/core": "0.1.0-beta.32",
13
- "@effect-agent/engine": "0.1.0-beta.32",
14
- "@effect-agent/platform-node": "0.1.0-beta.32",
15
- "@effect-agent/sandbox": "0.1.0-beta.32",
16
- "@effect-agent/session": "0.1.0-beta.32",
17
- "@effect-agent/storage-memory": "0.1.0-beta.32",
18
- "@effect-agent/storage-sqlite": "0.1.0-beta.32",
19
- "effect": "4.0.0-rc.110"
11
+ "@effect-agent/capabilities": "0.1.0-beta.34",
12
+ "@effect-agent/core": "0.1.0-beta.34",
13
+ "@effect-agent/engine": "0.1.0-beta.34",
14
+ "@effect-agent/platform-node": "0.1.0-beta.34",
15
+ "@effect-agent/sandbox": "0.1.0-beta.34",
16
+ "@effect-agent/session": "0.1.0-beta.34",
17
+ "@effect-agent/storage-memory": "0.1.0-beta.34",
18
+ "@effect-agent/storage-sqlite": "0.1.0-beta.34",
19
+ "effect": "4.0.0-rc.111"
20
20
  },
21
21
  "description": "Scripted models, deterministic fixtures, and adapter conformance kits for testing Effect Agent applications.",
22
22
  "license": "MIT",
@@ -39,9 +39,9 @@
39
39
  "test": "vp test --passWithNoTests"
40
40
  },
41
41
  "devDependencies": {
42
- "@effect/platform-node": "4.0.0-rc.110",
43
- "@effect/sql-sqlite-node": "4.0.0-rc.110",
44
- "@effect/vitest": "4.0.0-rc.110",
42
+ "@effect/platform-node": "4.0.0-rc.111",
43
+ "@effect/sql-sqlite-node": "4.0.0-rc.111",
44
+ "@effect/vitest": "4.0.0-rc.111",
45
45
  "typescript": "7.0.2",
46
46
  "vite-plus": "0.2.6"
47
47
  }
@@ -943,6 +943,8 @@ export const certifyDurableAdapters = <LedgerE = never, StoreE = never>(
943
943
  abortPollInterval: Duration.millis(50),
944
944
  }),
945
945
  );
946
+ // RUN-036: certification uses the default-none Tool failure observer. Trusted application
947
+ // reporting adds no durable transition and is verified separately from adapter certification.
946
948
  const environment = DurableAgentRuntime.layer.pipe(Layer.provideMerge(support));
947
949
 
948
950
  const leaseAdvance = Duration.millis(
@@ -704,8 +704,24 @@ export const phase6TravelPlannerGoldenEvidence: Schema.Json = [
704
704
  },
705
705
  },
706
706
  {
707
- batchId: "turn-response:run:{submissionId}:1",
707
+ batchId: "run-start:run:{submissionId}",
708
708
  sequence: 3,
709
+ record: {
710
+ recordId: "run-start:run:{submissionId}",
711
+ family: "conversation",
712
+ schemaVersion: 1,
713
+ createdAt: "{timestamp}",
714
+ deploymentId: "{deploymentId}",
715
+ payload: {
716
+ _tag: "RunStarted",
717
+ runId: "run:{submissionId}",
718
+ maxDurationMillis: 30_000,
719
+ },
720
+ },
721
+ },
722
+ {
723
+ batchId: "turn-response:run:{submissionId}:1",
724
+ sequence: 4,
709
725
  record: {
710
726
  recordId: "model-response:run:{submissionId}:1",
711
727
  family: "conversation",
@@ -805,7 +821,7 @@ export const phase6TravelPlannerGoldenEvidence: Schema.Json = [
805
821
  },
806
822
  {
807
823
  batchId: "turn-results:run:{submissionId}:1",
808
- sequence: 4,
824
+ sequence: 5,
809
825
  record: {
810
826
  recordId: "tool-settled:run:{submissionId}:1:flight-call-1",
811
827
  family: "conversation",
@@ -829,7 +845,7 @@ export const phase6TravelPlannerGoldenEvidence: Schema.Json = [
829
845
  },
830
846
  {
831
847
  batchId: "turn-results:run:{submissionId}:1",
832
- sequence: 5,
848
+ sequence: 6,
833
849
  record: {
834
850
  recordId: "tool-settled:run:{submissionId}:1:lodging-call-1",
835
851
  family: "conversation",
@@ -852,7 +868,7 @@ export const phase6TravelPlannerGoldenEvidence: Schema.Json = [
852
868
  },
853
869
  {
854
870
  batchId: "turn-results:run:{submissionId}:1",
855
- sequence: 6,
871
+ sequence: 7,
856
872
  record: {
857
873
  recordId: "tool-settled:run:{submissionId}:1:activity-call-1",
858
874
  family: "conversation",
@@ -873,7 +889,7 @@ export const phase6TravelPlannerGoldenEvidence: Schema.Json = [
873
889
  },
874
890
  {
875
891
  batchId: "turn:run:{submissionId}:2",
876
- sequence: 7,
892
+ sequence: 8,
877
893
  record: {
878
894
  recordId: "model-response:run:{submissionId}:2",
879
895
  family: "conversation",
@@ -921,7 +937,7 @@ export const phase6TravelPlannerGoldenEvidence: Schema.Json = [
921
937
  },
922
938
  {
923
939
  batchId: "turn:run:{submissionId}:2",
924
- sequence: 8,
940
+ sequence: 9,
925
941
  record: {
926
942
  recordId: "run-completed:run:{submissionId}",
927
943
  family: "conversation",
@@ -959,7 +975,7 @@ export const phase6TravelPlannerGoldenEvidence: Schema.Json = [
959
975
  },
960
976
  {
961
977
  batchId: "submission-settlement:{submissionId}",
962
- sequence: 9,
978
+ sequence: 10,
963
979
  record: {
964
980
  recordId: "settlement:{submissionId}",
965
981
  family: "conversation",