@principal-ai/principal-view-react 0.7.9 → 0.7.10

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.
@@ -0,0 +1,225 @@
1
+ [
2
+ {
3
+ "id": "span-1",
4
+ "name": "should convert simple config to nodes and edges",
5
+ "startTime": 1767808091637,
6
+ "attributes": {
7
+ "span.kind": "test.case",
8
+ "test.name": "should convert simple config to nodes and edges",
9
+ "test.framework": "bun",
10
+ "test.file": "GraphConverter.test.ts",
11
+ "test.suite": "GraphConverter",
12
+ "test.result": "pass"
13
+ },
14
+ "events": [
15
+ {
16
+ "time": 1767808091637,
17
+ "name": "setup.started",
18
+ "attributes": {
19
+ "code.filepath": "GraphConverter.test.ts",
20
+ "code.lineno": 28,
21
+ "description": "Creating test configuration with 2 nodes and 1 edge"
22
+ }
23
+ },
24
+ {
25
+ "time": 1767808091637,
26
+ "name": "setup.complete",
27
+ "attributes": {
28
+ "code.filepath": "GraphConverter.test.ts",
29
+ "code.lineno": 68,
30
+ "config.nodes": 2,
31
+ "config.edges": 1
32
+ }
33
+ },
34
+ {
35
+ "time": 1767808091637,
36
+ "name": "execution.started",
37
+ "attributes": {
38
+ "code.filepath": "GraphConverter.ts",
39
+ "code.lineno": 15,
40
+ "action": "GraphConverter.configToGraph()"
41
+ }
42
+ },
43
+ {
44
+ "time": 1767808091637,
45
+ "name": "execution.complete",
46
+ "attributes": {
47
+ "code.filepath": "GraphConverter.ts",
48
+ "code.lineno": 43,
49
+ "result.nodes.count": 2,
50
+ "result.edges.count": 1
51
+ }
52
+ },
53
+ {
54
+ "time": 1767808091637,
55
+ "name": "assertion.started",
56
+ "attributes": {
57
+ "code.filepath": "GraphConverter.test.ts",
58
+ "code.lineno": 91,
59
+ "assertions": "Verifying nodes and edges structure"
60
+ }
61
+ },
62
+ {
63
+ "time": 1767808091637,
64
+ "name": "assertion.complete",
65
+ "attributes": {
66
+ "code.filepath": "GraphConverter.test.ts",
67
+ "code.lineno": 114,
68
+ "assertions.passed": 11,
69
+ "assertions.failed": 0
70
+ }
71
+ }
72
+ ],
73
+ "status": "OK",
74
+ "endTime": 1767808091637,
75
+ "duration": 0
76
+ },
77
+ {
78
+ "id": "span-2",
79
+ "name": "should extract manual positions from node types",
80
+ "startTime": 1767808091637,
81
+ "attributes": {
82
+ "span.kind": "test.case",
83
+ "test.name": "should extract manual positions from node types",
84
+ "test.framework": "bun",
85
+ "test.file": "GraphConverter.test.ts",
86
+ "test.suite": "GraphConverter",
87
+ "test.result": "pass"
88
+ },
89
+ "events": [
90
+ {
91
+ "time": 1767808091637,
92
+ "name": "setup.started",
93
+ "attributes": {
94
+ "code.filepath": "GraphConverter.test.ts",
95
+ "code.lineno": 138,
96
+ "description": "Creating config with manual node positions"
97
+ }
98
+ },
99
+ {
100
+ "time": 1767808091637,
101
+ "name": "setup.complete",
102
+ "attributes": {
103
+ "code.filepath": "GraphConverter.test.ts",
104
+ "code.lineno": 165,
105
+ "config.nodes": 2,
106
+ "positions.defined": true
107
+ }
108
+ },
109
+ {
110
+ "time": 1767808091637,
111
+ "name": "execution.started",
112
+ "attributes": {
113
+ "code.filepath": "GraphConverter.ts",
114
+ "code.lineno": 15,
115
+ "action": "GraphConverter.configToGraph()"
116
+ }
117
+ },
118
+ {
119
+ "time": 1767808091637,
120
+ "name": "execution.complete",
121
+ "attributes": {
122
+ "code.filepath": "GraphConverter.ts",
123
+ "code.lineno": 43,
124
+ "result.nodes.count": 2
125
+ }
126
+ },
127
+ {
128
+ "time": 1767808091637,
129
+ "name": "assertion.started",
130
+ "attributes": {
131
+ "code.filepath": "GraphConverter.test.ts",
132
+ "code.lineno": 184,
133
+ "assertions": "Verifying positions preserved"
134
+ }
135
+ },
136
+ {
137
+ "time": 1767808091637,
138
+ "name": "assertion.complete",
139
+ "attributes": {
140
+ "code.filepath": "GraphConverter.test.ts",
141
+ "code.lineno": 191,
142
+ "assertions.passed": 2,
143
+ "assertions.failed": 0
144
+ }
145
+ }
146
+ ],
147
+ "status": "OK",
148
+ "endTime": 1767808091637,
149
+ "duration": 0
150
+ },
151
+ {
152
+ "id": "span-3",
153
+ "name": "should handle nodes without positions",
154
+ "startTime": 1767808091637,
155
+ "attributes": {
156
+ "span.kind": "test.case",
157
+ "test.name": "should handle nodes without positions",
158
+ "test.framework": "bun",
159
+ "test.file": "GraphConverter.test.ts",
160
+ "test.suite": "GraphConverter",
161
+ "test.result": "pass"
162
+ },
163
+ "events": [
164
+ {
165
+ "time": 1767808091637,
166
+ "name": "setup.started",
167
+ "attributes": {
168
+ "code.filepath": "GraphConverter.test.ts",
169
+ "code.lineno": 215,
170
+ "description": "Creating config without positions"
171
+ }
172
+ },
173
+ {
174
+ "time": 1767808091637,
175
+ "name": "setup.complete",
176
+ "attributes": {
177
+ "code.filepath": "GraphConverter.test.ts",
178
+ "code.lineno": 235,
179
+ "config.nodes": 1,
180
+ "positions.defined": false
181
+ }
182
+ },
183
+ {
184
+ "time": 1767808091637,
185
+ "name": "execution.started",
186
+ "attributes": {
187
+ "code.filepath": "GraphConverter.ts",
188
+ "code.lineno": 15,
189
+ "action": "GraphConverter.configToGraph()"
190
+ }
191
+ },
192
+ {
193
+ "time": 1767808091637,
194
+ "name": "execution.complete",
195
+ "attributes": {
196
+ "code.filepath": "GraphConverter.ts",
197
+ "code.lineno": 43,
198
+ "result.nodes.count": 1
199
+ }
200
+ },
201
+ {
202
+ "time": 1767808091637,
203
+ "name": "assertion.started",
204
+ "attributes": {
205
+ "code.filepath": "GraphConverter.test.ts",
206
+ "code.lineno": 254,
207
+ "assertions": "Verifying position is undefined"
208
+ }
209
+ },
210
+ {
211
+ "time": 1767808091637,
212
+ "name": "assertion.complete",
213
+ "attributes": {
214
+ "code.filepath": "GraphConverter.test.ts",
215
+ "code.lineno": 260,
216
+ "assertions.passed": 1,
217
+ "assertions.failed": 0
218
+ }
219
+ }
220
+ ],
221
+ "status": "OK",
222
+ "endTime": 1767808091637,
223
+ "duration": 0
224
+ }
225
+ ]
@@ -0,0 +1,58 @@
1
+ [
2
+ {
3
+ "id": "span-1",
4
+ "name": "graph conversion with validation",
5
+ "startTime": 1767809672129,
6
+ "attributes": {
7
+ "span.kind": "test.case",
8
+ "test.name": "graph conversion with validation",
9
+ "test.framework": "bun",
10
+ "test.file": "event-validation.test.ts",
11
+ "test.suite": "Event Schema Validation"
12
+ },
13
+ "events": [
14
+ {
15
+ "time": 1767809672129,
16
+ "name": "conversion.started",
17
+ "attributes": {
18
+ "code.filepath": "GraphConverter.ts",
19
+ "code.lineno": 15,
20
+ "config.nodeTypes": 2,
21
+ "config.edgeTypes": 1
22
+ }
23
+ },
24
+ {
25
+ "time": 1767809672129,
26
+ "name": "conversion.processingNodes",
27
+ "attributes": {
28
+ "code.filepath": "GraphConverter.ts",
29
+ "code.lineno": 28,
30
+ "nodes.count": 2
31
+ }
32
+ },
33
+ {
34
+ "time": 1767809672129,
35
+ "name": "conversion.processingEdges",
36
+ "attributes": {
37
+ "code.filepath": "GraphConverter.ts",
38
+ "code.lineno": 45,
39
+ "edges.count": 1
40
+ }
41
+ },
42
+ {
43
+ "time": 1767809672129,
44
+ "name": "conversion.complete",
45
+ "attributes": {
46
+ "code.filepath": "GraphConverter.ts",
47
+ "code.lineno": 60,
48
+ "result.nodes.count": 2,
49
+ "result.edges.count": 1,
50
+ "duration.ms": 5
51
+ }
52
+ }
53
+ ],
54
+ "status": "OK",
55
+ "endTime": 1767809672129,
56
+ "duration": 0
57
+ }
58
+ ]