@mastra/dynamodb 0.0.0-share-agent-metadata-with-cloud-20250718123411 → 0.0.0-span-scorring-test-20251124132129

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 (51) hide show
  1. package/CHANGELOG.md +1484 -0
  2. package/README.md +0 -4
  3. package/dist/entities/eval.d.ts +102 -0
  4. package/dist/entities/eval.d.ts.map +1 -0
  5. package/dist/entities/index.d.ts +761 -0
  6. package/dist/entities/index.d.ts.map +1 -0
  7. package/dist/entities/message.d.ts +100 -0
  8. package/dist/entities/message.d.ts.map +1 -0
  9. package/dist/entities/resource.d.ts +54 -0
  10. package/dist/entities/resource.d.ts.map +1 -0
  11. package/dist/entities/score.d.ts +244 -0
  12. package/dist/entities/score.d.ts.map +1 -0
  13. package/dist/entities/thread.d.ts +69 -0
  14. package/dist/entities/thread.d.ts.map +1 -0
  15. package/dist/entities/trace.d.ts +127 -0
  16. package/dist/entities/trace.d.ts.map +1 -0
  17. package/dist/entities/utils.d.ts +21 -0
  18. package/dist/entities/utils.d.ts.map +1 -0
  19. package/dist/entities/workflow-snapshot.d.ts +74 -0
  20. package/dist/entities/workflow-snapshot.d.ts.map +1 -0
  21. package/dist/index.cjs +1754 -566
  22. package/dist/index.cjs.map +1 -0
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +1755 -567
  26. package/dist/index.js.map +1 -0
  27. package/dist/storage/domains/memory/index.d.ts +61 -0
  28. package/dist/storage/domains/memory/index.d.ts.map +1 -0
  29. package/dist/storage/domains/operations/index.d.ts +69 -0
  30. package/dist/storage/domains/operations/index.d.ts.map +1 -0
  31. package/dist/storage/domains/score/index.d.ts +51 -0
  32. package/dist/storage/domains/score/index.d.ts.map +1 -0
  33. package/dist/storage/domains/workflows/index.d.ts +44 -0
  34. package/dist/storage/domains/workflows/index.d.ts.map +1 -0
  35. package/dist/storage/index.d.ts +204 -0
  36. package/dist/storage/index.d.ts.map +1 -0
  37. package/package.json +31 -18
  38. package/dist/_tsup-dts-rollup.d.cts +0 -1160
  39. package/dist/_tsup-dts-rollup.d.ts +0 -1160
  40. package/dist/index.d.cts +0 -2
  41. package/src/entities/eval.ts +0 -102
  42. package/src/entities/index.ts +0 -23
  43. package/src/entities/message.ts +0 -143
  44. package/src/entities/thread.ts +0 -66
  45. package/src/entities/trace.ts +0 -129
  46. package/src/entities/utils.ts +0 -51
  47. package/src/entities/workflow-snapshot.ts +0 -56
  48. package/src/index.ts +0 -1
  49. package/src/storage/docker-compose.yml +0 -16
  50. package/src/storage/index.test.ts +0 -1483
  51. package/src/storage/index.ts +0 -1383
package/README.md CHANGED
@@ -138,7 +138,3 @@ This implementation uses a single-table design pattern with ElectroDB, which off
138
138
  3. **Simplified administration**: Only one table to monitor and back up
139
139
  4. **Reduced complexity**: Consistent access patterns across entities
140
140
  5. **Transaction support**: Atomic operations across different entity types
141
-
142
- ## License
143
-
144
- MIT
@@ -0,0 +1,102 @@
1
+ import { Entity } from 'electrodb';
2
+ export declare const evalEntity: Entity<string, string, string, {
3
+ model: {
4
+ entity: string;
5
+ version: string;
6
+ service: string;
7
+ };
8
+ attributes: {
9
+ input: {
10
+ type: "string";
11
+ required: true;
12
+ };
13
+ output: {
14
+ type: "string";
15
+ required: true;
16
+ };
17
+ result: {
18
+ type: "string";
19
+ required: true;
20
+ set: (value?: any) => any;
21
+ get: (value?: string) => any;
22
+ };
23
+ agent_name: {
24
+ type: "string";
25
+ required: true;
26
+ };
27
+ metric_name: {
28
+ type: "string";
29
+ required: true;
30
+ };
31
+ instructions: {
32
+ type: "string";
33
+ required: true;
34
+ };
35
+ test_info: {
36
+ type: "string";
37
+ required: false;
38
+ set: (value?: any) => any;
39
+ get: (value?: string) => string | undefined;
40
+ };
41
+ global_run_id: {
42
+ type: "string";
43
+ required: true;
44
+ };
45
+ run_id: {
46
+ type: "string";
47
+ required: true;
48
+ };
49
+ created_at: {
50
+ type: "string";
51
+ required: true;
52
+ default: () => string;
53
+ set: (value?: Date | string) => string;
54
+ };
55
+ createdAt: {
56
+ readonly type: "string";
57
+ readonly required: true;
58
+ readonly readOnly: true;
59
+ readonly set: (value?: Date | string) => string;
60
+ readonly default: () => string;
61
+ };
62
+ updatedAt: {
63
+ readonly type: "string";
64
+ readonly required: true;
65
+ readonly set: (value?: Date | string) => string;
66
+ readonly default: () => string;
67
+ };
68
+ metadata: {
69
+ readonly type: "string";
70
+ readonly set: (value?: Record<string, unknown> | string) => string | undefined;
71
+ readonly get: (value?: string) => any;
72
+ };
73
+ entity: {
74
+ type: "string";
75
+ required: true;
76
+ };
77
+ };
78
+ indexes: {
79
+ primary: {
80
+ pk: {
81
+ field: string;
82
+ composite: ("entity" | "run_id")[];
83
+ };
84
+ sk: {
85
+ field: string;
86
+ composite: never[];
87
+ };
88
+ };
89
+ byAgent: {
90
+ index: string;
91
+ pk: {
92
+ field: string;
93
+ composite: ("entity" | "agent_name")[];
94
+ };
95
+ sk: {
96
+ field: string;
97
+ composite: "created_at"[];
98
+ };
99
+ };
100
+ };
101
+ }>;
102
+ //# sourceMappingURL=eval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/entities/eval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;0BAwBH,GAAG;0BAOH,MAAM;;;;;;;;;;;;;;;;;0BAuBN,GAAG;0BAOH,MAAM;;;;;;;;;;;;;;0BAkBN,IAAI,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB/B,CAAC"}