@hazeljs/agent 0.2.0-beta.60 → 0.2.0-beta.64
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/README.md +364 -256
- package/coverage/clover.xml +722 -406
- package/coverage/lcov-report/index.html +81 -36
- package/coverage/lcov.info +1188 -629
- package/dist/decorators/delegate.decorator.d.ts +66 -0
- package/dist/decorators/delegate.decorator.d.ts.map +1 -0
- package/dist/decorators/delegate.decorator.js +108 -0
- package/dist/decorators/delegate.decorator.js.map +1 -0
- package/dist/executor/agent.executor.d.ts +1 -0
- package/dist/executor/agent.executor.d.ts.map +1 -1
- package/dist/executor/agent.executor.js +14 -5
- package/dist/executor/agent.executor.js.map +1 -1
- package/dist/graph/agent-graph.d.ts +131 -0
- package/dist/graph/agent-graph.d.ts.map +1 -0
- package/dist/graph/agent-graph.js +462 -0
- package/dist/graph/agent-graph.js.map +1 -0
- package/dist/graph/agent-graph.types.d.ts +210 -0
- package/dist/graph/agent-graph.types.d.ts.map +1 -0
- package/dist/graph/agent-graph.types.js +12 -0
- package/dist/graph/agent-graph.types.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/prompts/agent-system.prompt.d.ts +10 -0
- package/dist/prompts/agent-system.prompt.d.ts.map +1 -0
- package/dist/prompts/agent-system.prompt.js +18 -0
- package/dist/prompts/agent-system.prompt.js.map +1 -0
- package/dist/prompts/index.d.ts +4 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +20 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/supervisor-routing.prompt.d.ts +9 -0
- package/dist/prompts/supervisor-routing.prompt.d.ts.map +1 -0
- package/dist/prompts/supervisor-routing.prompt.js +22 -0
- package/dist/prompts/supervisor-routing.prompt.js.map +1 -0
- package/dist/prompts/supervisor-system.prompt.d.ts +9 -0
- package/dist/prompts/supervisor-system.prompt.d.ts.map +1 -0
- package/dist/prompts/supervisor-system.prompt.js +21 -0
- package/dist/prompts/supervisor-system.prompt.js.map +1 -0
- package/dist/runtime/agent.runtime.d.ts +63 -1
- package/dist/runtime/agent.runtime.d.ts.map +1 -1
- package/dist/runtime/agent.runtime.js +102 -1
- package/dist/runtime/agent.runtime.js.map +1 -1
- package/dist/supervisor/supervisor.d.ts +81 -0
- package/dist/supervisor/supervisor.d.ts.map +1 -0
- package/dist/supervisor/supervisor.js +220 -0
- package/dist/supervisor/supervisor.js.map +1 -0
- package/dist/types/event.types.d.ts +76 -1
- package/dist/types/event.types.d.ts.map +1 -1
- package/dist/types/event.types.js +16 -0
- package/dist/types/event.types.js.map +1 -1
- package/logs/combined.log +1 -1
- package/package.json +6 -5
- package/tsconfig.tsbuildinfo +1 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1772753155310" clover="3.2.0">
|
|
3
|
+
<project timestamp="1772753155310" name="All files">
|
|
4
|
+
<metrics statements="1370" coveredstatements="1292" conditionals="497" coveredconditionals="402" methods="288" coveredmethods="273" elements="2155" coveredelements="1967" complexity="0" loc="1370" ncloc="1370" packages="13" files="31" classes="31"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="24" coveredstatements="22" conditionals="8" coveredconditionals="6" methods="12" coveredmethods="12"/>
|
|
7
7
|
<file name="agent.module.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/agent.module.ts">
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
<metrics statements="30" coveredstatements="30" conditionals="12" coveredconditionals="11" methods="7" coveredmethods="7"/>
|
|
37
37
|
<file name="agent.context.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/context/agent.context.ts">
|
|
38
38
|
<metrics statements="30" coveredstatements="30" conditionals="12" coveredconditionals="11" methods="7" coveredmethods="7"/>
|
|
39
|
-
<line num="13" count="
|
|
40
|
-
<line num="14" count="
|
|
39
|
+
<line num="13" count="7" type="stmt"/>
|
|
40
|
+
<line num="14" count="135" type="stmt"/>
|
|
41
41
|
<line num="20" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
42
42
|
<line num="21" count="2" type="stmt"/>
|
|
43
43
|
<line num="24" count="6" type="stmt"/>
|
|
@@ -69,40 +69,64 @@
|
|
|
69
69
|
</file>
|
|
70
70
|
</package>
|
|
71
71
|
<package name="src.decorators">
|
|
72
|
-
<metrics statements="
|
|
72
|
+
<metrics statements="50" coveredstatements="48" conditionals="24" coveredconditionals="23" methods="14" coveredmethods="12"/>
|
|
73
73
|
<file name="agent.decorator.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/decorators/agent.decorator.ts">
|
|
74
74
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
75
|
-
<line num="6" count="
|
|
76
|
-
<line num="11" count="
|
|
77
|
-
<line num="16" count="
|
|
78
|
-
<line num="18" count="
|
|
79
|
-
<line num="19" count="
|
|
80
|
-
<line num="25" count="
|
|
81
|
-
<line num="32" count="
|
|
82
|
-
<line num="33" count="
|
|
83
|
-
<line num="39" count="
|
|
84
|
-
<line num="40" count="
|
|
75
|
+
<line num="6" count="6" type="stmt"/>
|
|
76
|
+
<line num="11" count="6" type="stmt"/>
|
|
77
|
+
<line num="16" count="6" type="stmt"/>
|
|
78
|
+
<line num="18" count="40" type="stmt"/>
|
|
79
|
+
<line num="19" count="40" type="stmt"/>
|
|
80
|
+
<line num="25" count="40" type="stmt"/>
|
|
81
|
+
<line num="32" count="6" type="stmt"/>
|
|
82
|
+
<line num="33" count="29" type="stmt"/>
|
|
83
|
+
<line num="39" count="6" type="stmt"/>
|
|
84
|
+
<line num="40" count="30" type="stmt"/>
|
|
85
|
+
</file>
|
|
86
|
+
<file name="delegate.decorator.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/decorators/delegate.decorator.ts">
|
|
87
|
+
<metrics statements="21" coveredstatements="20" conditionals="7" coveredconditionals="7" methods="5" coveredmethods="4"/>
|
|
88
|
+
<line num="44" count="4" type="stmt"/>
|
|
89
|
+
<line num="45" count="4" type="stmt"/>
|
|
90
|
+
<line num="50" count="4" type="stmt"/>
|
|
91
|
+
<line num="60" count="4" type="stmt"/>
|
|
92
|
+
<line num="61" count="4" type="stmt"/>
|
|
93
|
+
<line num="62" count="4" type="stmt"/>
|
|
94
|
+
<line num="65" count="4" type="stmt"/>
|
|
95
|
+
<line num="68" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
96
|
+
<line num="69" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
97
|
+
<line num="70" count="4" type="stmt"/>
|
|
98
|
+
<line num="71" count="4" type="stmt"/>
|
|
99
|
+
<line num="76" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
100
|
+
<line num="77" count="4" type="stmt"/>
|
|
101
|
+
<line num="90" count="4" type="stmt"/>
|
|
102
|
+
<line num="92" count="4" type="stmt"/>
|
|
103
|
+
<line num="99" count="4" type="stmt"/>
|
|
104
|
+
<line num="103" count="2" type="stmt"/>
|
|
105
|
+
<line num="109" count="4" type="stmt"/>
|
|
106
|
+
<line num="110" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
107
|
+
<line num="116" count="4" type="stmt"/>
|
|
108
|
+
<line num="117" count="0" type="stmt"/>
|
|
85
109
|
</file>
|
|
86
110
|
<file name="tool.decorator.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/decorators/tool.decorator.ts">
|
|
87
|
-
<metrics statements="19" coveredstatements="18" conditionals="17" coveredconditionals="
|
|
88
|
-
<line num="6" count="
|
|
89
|
-
<line num="9" count="
|
|
90
|
-
<line num="10" count="
|
|
91
|
-
<line num="15" count="
|
|
92
|
-
<line num="16" count="
|
|
93
|
-
<line num="17" count="
|
|
94
|
-
<line num="19" count="
|
|
95
|
-
<line num="34" count="
|
|
96
|
-
<line num="36" count="
|
|
97
|
-
<line num="37" count="
|
|
98
|
-
<line num="38" count="
|
|
99
|
-
<line num="39" count="
|
|
100
|
-
<line num="42" count="
|
|
101
|
-
<line num="49" count="
|
|
102
|
-
<line num="50" count="
|
|
103
|
-
<line num="56" count="
|
|
104
|
-
<line num="57" count="
|
|
105
|
-
<line num="63" count="
|
|
111
|
+
<metrics statements="19" coveredstatements="18" conditionals="17" coveredconditionals="16" methods="5" coveredmethods="4"/>
|
|
112
|
+
<line num="6" count="6" type="stmt"/>
|
|
113
|
+
<line num="9" count="6" type="stmt"/>
|
|
114
|
+
<line num="10" count="6" type="stmt"/>
|
|
115
|
+
<line num="15" count="6" type="stmt"/>
|
|
116
|
+
<line num="16" count="16" type="stmt"/>
|
|
117
|
+
<line num="17" count="16" type="stmt"/>
|
|
118
|
+
<line num="19" count="16" type="stmt"/>
|
|
119
|
+
<line num="34" count="16" type="stmt"/>
|
|
120
|
+
<line num="36" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
121
|
+
<line num="37" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
122
|
+
<line num="38" count="16" type="stmt"/>
|
|
123
|
+
<line num="39" count="16" type="stmt"/>
|
|
124
|
+
<line num="42" count="16" type="stmt"/>
|
|
125
|
+
<line num="49" count="6" type="stmt"/>
|
|
126
|
+
<line num="50" count="14" type="stmt"/>
|
|
127
|
+
<line num="56" count="6" type="stmt"/>
|
|
128
|
+
<line num="57" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
129
|
+
<line num="63" count="6" type="stmt"/>
|
|
106
130
|
<line num="64" count="0" type="stmt"/>
|
|
107
131
|
</file>
|
|
108
132
|
</package>
|
|
@@ -110,11 +134,11 @@
|
|
|
110
134
|
<metrics statements="27" coveredstatements="27" conditionals="9" coveredconditionals="7" methods="8" coveredmethods="8"/>
|
|
111
135
|
<file name="event.emitter.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/events/event.emitter.ts">
|
|
112
136
|
<metrics statements="27" coveredstatements="27" conditionals="9" coveredconditionals="7" methods="8" coveredmethods="8"/>
|
|
113
|
-
<line num="7" count="
|
|
114
|
-
<line num="15" count="
|
|
115
|
-
<line num="16" count="
|
|
116
|
-
<line num="17" count="
|
|
117
|
-
<line num="18" count="
|
|
137
|
+
<line num="7" count="5" type="stmt"/>
|
|
138
|
+
<line num="15" count="5" type="stmt"/>
|
|
139
|
+
<line num="16" count="105" type="stmt"/>
|
|
140
|
+
<line num="17" count="105" type="stmt"/>
|
|
141
|
+
<line num="18" count="105" type="stmt"/>
|
|
118
142
|
<line num="24" count="19" type="cond" truecount="1" falsecount="0"/>
|
|
119
143
|
<line num="25" count="16" type="stmt"/>
|
|
120
144
|
<line num="27" count="19" type="stmt"/>
|
|
@@ -140,132 +164,136 @@
|
|
|
140
164
|
</file>
|
|
141
165
|
</package>
|
|
142
166
|
<package name="src.executor">
|
|
143
|
-
<metrics statements="
|
|
167
|
+
<metrics statements="218" coveredstatements="206" conditionals="74" coveredconditionals="62" methods="25" coveredmethods="24"/>
|
|
144
168
|
<file name="agent.executor.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/executor/agent.executor.ts">
|
|
145
|
-
<metrics statements="
|
|
146
|
-
<line num="6" count="
|
|
147
|
-
<line num="7" count="
|
|
148
|
-
<line num="20" count="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="32" count="
|
|
154
|
-
<line num="33" count="
|
|
155
|
-
<line num="34" count="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
169
|
+
<metrics statements="116" coveredstatements="110" conditionals="41" coveredconditionals="34" methods="10" coveredmethods="9"/>
|
|
170
|
+
<line num="6" count="5" type="stmt"/>
|
|
171
|
+
<line num="7" count="5" type="stmt"/>
|
|
172
|
+
<line num="20" count="5" type="stmt"/>
|
|
173
|
+
<line num="22" count="5" type="stmt"/>
|
|
174
|
+
<line num="23" count="5" type="stmt"/>
|
|
175
|
+
<line num="24" count="5" type="stmt"/>
|
|
176
|
+
<line num="30" count="5" type="stmt"/>
|
|
177
|
+
<line num="32" count="113" type="stmt"/>
|
|
178
|
+
<line num="33" count="113" type="stmt"/>
|
|
179
|
+
<line num="34" count="113" type="stmt"/>
|
|
180
|
+
<line num="35" count="113" type="stmt"/>
|
|
181
|
+
<line num="36" count="113" type="stmt"/>
|
|
182
|
+
<line num="37" count="113" type="stmt"/>
|
|
183
|
+
<line num="44" count="86" type="cond" truecount="1" falsecount="1"/>
|
|
159
184
|
<line num="51" count="15" type="stmt"/>
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
185
|
+
<line num="53" count="15" type="stmt"/>
|
|
186
|
+
<line num="54" count="15" type="stmt"/>
|
|
187
|
+
<line num="61" count="15" type="stmt"/>
|
|
162
188
|
<line num="63" count="15" type="stmt"/>
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="74" count="
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="78" count="
|
|
172
|
-
<line num="
|
|
189
|
+
<line num="66" count="15" type="stmt"/>
|
|
190
|
+
<line num="67" count="22" type="stmt"/>
|
|
191
|
+
<line num="69" count="22" type="stmt"/>
|
|
192
|
+
<line num="70" count="21" type="stmt"/>
|
|
193
|
+
<line num="72" count="21" type="cond" truecount="1" falsecount="0"/>
|
|
194
|
+
<line num="73" count="8" type="stmt"/>
|
|
195
|
+
<line num="74" count="8" type="stmt"/>
|
|
196
|
+
<line num="77" count="13" type="cond" truecount="1" falsecount="0"/>
|
|
197
|
+
<line num="78" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
198
|
+
<line num="81" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
173
199
|
<line num="82" count="1" type="stmt"/>
|
|
174
|
-
<line num="85" count="
|
|
175
|
-
<line num="
|
|
200
|
+
<line num="85" count="1" type="stmt"/>
|
|
201
|
+
<line num="88" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
176
202
|
<line num="89" count="1" type="stmt"/>
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="98" count="
|
|
181
|
-
<line num="
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="147" count="9" type="stmt"/>
|
|
203
|
+
<line num="92" count="1" type="stmt"/>
|
|
204
|
+
<line num="96" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
205
|
+
<line num="97" count="2" type="stmt"/>
|
|
206
|
+
<line num="98" count="2" type="stmt"/>
|
|
207
|
+
<line num="101" count="10" type="stmt"/>
|
|
208
|
+
<line num="103" count="10" type="stmt"/>
|
|
209
|
+
<line num="105" count="10" type="stmt"/>
|
|
210
|
+
<line num="111" count="10" type="stmt"/>
|
|
211
|
+
<line num="122" count="5" type="stmt"/>
|
|
212
|
+
<line num="124" count="5" type="stmt"/>
|
|
213
|
+
<line num="126" count="5" type="stmt"/>
|
|
214
|
+
<line num="132" count="5" type="stmt"/>
|
|
190
215
|
<line num="149" count="9" type="stmt"/>
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="
|
|
193
|
-
<line num="
|
|
194
|
-
<line num="
|
|
195
|
-
<line num="167" count="
|
|
196
|
-
<line num="
|
|
197
|
-
<line num="170" count="
|
|
198
|
-
<line num="
|
|
216
|
+
<line num="150" count="9" type="stmt"/>
|
|
217
|
+
<line num="152" count="9" type="stmt"/>
|
|
218
|
+
<line num="161" count="9" type="stmt"/>
|
|
219
|
+
<line num="166" count="9" type="stmt"/>
|
|
220
|
+
<line num="167" count="9" type="stmt"/>
|
|
221
|
+
<line num="168" count="8" type="stmt"/>
|
|
222
|
+
<line num="170" count="8" type="cond" truecount="3" falsecount="3"/>
|
|
223
|
+
<line num="172" count="1" type="stmt"/>
|
|
224
|
+
<line num="173" count="1" type="stmt"/>
|
|
199
225
|
<line num="174" count="1" type="stmt"/>
|
|
200
|
-
<line num="
|
|
226
|
+
<line num="177" count="1" type="stmt"/>
|
|
201
227
|
<line num="178" count="1" type="stmt"/>
|
|
202
|
-
<line num="181" count="
|
|
203
|
-
<line num="
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="189" count="
|
|
206
|
-
<line num="
|
|
228
|
+
<line num="181" count="1" type="stmt"/>
|
|
229
|
+
<line num="184" count="6" type="stmt"/>
|
|
230
|
+
<line num="185" count="6" type="stmt"/>
|
|
231
|
+
<line num="189" count="6" type="stmt"/>
|
|
232
|
+
<line num="192" count="0" type="stmt"/>
|
|
207
233
|
<line num="193" count="0" type="stmt"/>
|
|
208
|
-
<line num="
|
|
209
|
-
<line num="
|
|
234
|
+
<line num="196" count="0" type="stmt"/>
|
|
235
|
+
<line num="197" count="0" type="stmt"/>
|
|
210
236
|
<line num="201" count="0" type="stmt"/>
|
|
211
|
-
<line num="204" count="
|
|
212
|
-
<line num="
|
|
213
|
-
<line num="
|
|
214
|
-
<line num="
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="217" count="1" type="stmt"/>
|
|
237
|
+
<line num="204" count="0" type="stmt"/>
|
|
238
|
+
<line num="207" count="8" type="stmt"/>
|
|
239
|
+
<line num="209" count="8" type="stmt"/>
|
|
240
|
+
<line num="216" count="8" type="stmt"/>
|
|
241
|
+
<line num="218" count="1" type="stmt"/>
|
|
217
242
|
<line num="219" count="1" type="stmt"/>
|
|
218
|
-
<line num="
|
|
219
|
-
<line num="
|
|
220
|
-
<line num="
|
|
221
|
-
<line num="
|
|
222
|
-
<line num="
|
|
243
|
+
<line num="220" count="1" type="stmt"/>
|
|
244
|
+
<line num="222" count="1" type="stmt"/>
|
|
245
|
+
<line num="228" count="1" type="stmt"/>
|
|
246
|
+
<line num="236" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
247
|
+
<line num="237" count="6" type="stmt"/>
|
|
223
248
|
<line num="243" count="4" type="stmt"/>
|
|
224
249
|
<line num="244" count="4" type="stmt"/>
|
|
225
|
-
<line num="
|
|
226
|
-
<line num="
|
|
227
|
-
<line num="
|
|
228
|
-
<line num="
|
|
229
|
-
<line num="
|
|
230
|
-
<line num="
|
|
231
|
-
<line num="
|
|
232
|
-
<line num="
|
|
233
|
-
<line num="
|
|
234
|
-
<line num="289" count="2" type="
|
|
235
|
-
<line num="290" count="
|
|
236
|
-
<line num="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="
|
|
250
|
+
<line num="246" count="4" type="stmt"/>
|
|
251
|
+
<line num="247" count="4" type="stmt"/>
|
|
252
|
+
<line num="256" count="3" type="cond" truecount="3" falsecount="0"/>
|
|
253
|
+
<line num="257" count="1" type="stmt"/>
|
|
254
|
+
<line num="258" count="1" type="stmt"/>
|
|
255
|
+
<line num="266" count="2" type="stmt"/>
|
|
256
|
+
<line num="271" count="1" type="stmt"/>
|
|
257
|
+
<line num="282" count="3" type="cond" truecount="3" falsecount="0"/>
|
|
258
|
+
<line num="283" count="1" type="stmt"/>
|
|
259
|
+
<line num="289" count="2" type="stmt"/>
|
|
260
|
+
<line num="290" count="2" type="stmt"/>
|
|
261
|
+
<line num="292" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
262
|
+
<line num="293" count="1" type="stmt"/>
|
|
263
|
+
<line num="299" count="1" type="stmt"/>
|
|
239
264
|
<line num="310" count="1" type="stmt"/>
|
|
240
|
-
<line num="
|
|
241
|
-
<line num="
|
|
242
|
-
<line num="330" count="
|
|
243
|
-
<line num="
|
|
244
|
-
<line num="
|
|
245
|
-
<line num="337" count="6" type="
|
|
246
|
-
<line num="
|
|
247
|
-
<line num="
|
|
248
|
-
<line num="
|
|
249
|
-
<line num="
|
|
250
|
-
<line num="
|
|
251
|
-
<line num="
|
|
252
|
-
<line num="
|
|
253
|
-
<line num="
|
|
254
|
-
<line num="
|
|
255
|
-
<line num="
|
|
256
|
-
<line num="
|
|
257
|
-
<line num="
|
|
265
|
+
<line num="311" count="1" type="stmt"/>
|
|
266
|
+
<line num="313" count="1" type="stmt"/>
|
|
267
|
+
<line num="330" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
268
|
+
<line num="331" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
269
|
+
<line num="333" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
270
|
+
<line num="337" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
271
|
+
<line num="338" count="2" type="stmt"/>
|
|
272
|
+
<line num="347" count="4" type="stmt"/>
|
|
273
|
+
<line num="350" count="6" type="stmt"/>
|
|
274
|
+
<line num="355" count="6" type="stmt"/>
|
|
275
|
+
<line num="365" count="4" type="stmt"/>
|
|
276
|
+
<line num="366" count="4" type="stmt"/>
|
|
277
|
+
<line num="367" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
278
|
+
<line num="368" count="3" type="stmt"/>
|
|
279
|
+
<line num="371" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
280
|
+
<line num="372" count="1" type="stmt"/>
|
|
281
|
+
<line num="373" count="1" type="stmt"/>
|
|
282
|
+
<line num="378" count="1" type="stmt"/>
|
|
283
|
+
<line num="380" count="1" type="stmt"/>
|
|
284
|
+
<line num="387" count="50" type="cond" truecount="1" falsecount="0"/>
|
|
285
|
+
<line num="388" count="50" type="stmt"/>
|
|
258
286
|
</file>
|
|
259
287
|
<file name="tool.executor.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/executor/tool.executor.ts">
|
|
260
288
|
<metrics statements="102" coveredstatements="96" conditionals="33" coveredconditionals="28" methods="15" coveredmethods="15"/>
|
|
261
|
-
<line num="6" count="
|
|
262
|
-
<line num="7" count="
|
|
263
|
-
<line num="14" count="
|
|
264
|
-
<line num="21" count="
|
|
265
|
-
<line num="22" count="
|
|
266
|
-
<line num="23" count="
|
|
267
|
-
<line num="26" count="
|
|
268
|
-
<line num="27" count="
|
|
289
|
+
<line num="6" count="6" type="stmt"/>
|
|
290
|
+
<line num="7" count="6" type="stmt"/>
|
|
291
|
+
<line num="14" count="6" type="stmt"/>
|
|
292
|
+
<line num="21" count="6" type="stmt"/>
|
|
293
|
+
<line num="22" count="129" type="stmt"/>
|
|
294
|
+
<line num="23" count="129" type="stmt"/>
|
|
295
|
+
<line num="26" count="129" type="stmt"/>
|
|
296
|
+
<line num="27" count="129" type="stmt"/>
|
|
269
297
|
<line num="40" count="14" type="stmt"/>
|
|
270
298
|
<line num="41" count="14" type="stmt"/>
|
|
271
299
|
<line num="43" count="14" type="stmt"/>
|
|
@@ -362,28 +390,217 @@
|
|
|
362
390
|
<line num="327" count="1" type="stmt"/>
|
|
363
391
|
</file>
|
|
364
392
|
</package>
|
|
393
|
+
<package name="src.graph">
|
|
394
|
+
<metrics statements="147" coveredstatements="139" conditionals="71" coveredconditionals="55" methods="18" coveredmethods="17"/>
|
|
395
|
+
<file name="agent-graph.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/graph/agent-graph.ts">
|
|
396
|
+
<metrics statements="144" coveredstatements="136" conditionals="71" coveredconditionals="55" methods="18" coveredmethods="17"/>
|
|
397
|
+
<line num="49" count="4" type="stmt"/>
|
|
398
|
+
<line num="50" count="4" type="stmt"/>
|
|
399
|
+
<line num="85" count="4" type="stmt"/>
|
|
400
|
+
<line num="86" count="20" type="stmt"/>
|
|
401
|
+
<line num="87" count="20" type="stmt"/>
|
|
402
|
+
<line num="91" count="20" type="stmt"/>
|
|
403
|
+
<line num="92" count="20" type="stmt"/>
|
|
404
|
+
<line num="95" count="20" type="stmt"/>
|
|
405
|
+
<line num="111" count="32" type="cond" truecount="1" falsecount="0"/>
|
|
406
|
+
<line num="112" count="1" type="stmt"/>
|
|
407
|
+
<line num="114" count="31" type="cond" truecount="1" falsecount="0"/>
|
|
408
|
+
<line num="115" count="1" type="stmt"/>
|
|
409
|
+
<line num="117" count="30" type="stmt"/>
|
|
410
|
+
<line num="118" count="30" type="stmt"/>
|
|
411
|
+
<line num="130" count="19" type="stmt"/>
|
|
412
|
+
<line num="131" count="19" type="stmt"/>
|
|
413
|
+
<line num="147" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
414
|
+
<line num="149" count="1" type="stmt"/>
|
|
415
|
+
<line num="150" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
416
|
+
<line num="154" count="4" type="stmt"/>
|
|
417
|
+
<line num="155" count="4" type="stmt"/>
|
|
418
|
+
<line num="160" count="16" type="stmt"/>
|
|
419
|
+
<line num="161" count="16" type="stmt"/>
|
|
420
|
+
<line num="173" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
421
|
+
<line num="174" count="1" type="stmt"/>
|
|
422
|
+
<line num="176" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
423
|
+
<line num="177" count="1" type="stmt"/>
|
|
424
|
+
<line num="183" count="15" type="stmt"/>
|
|
425
|
+
<line num="184" count="22" type="cond" truecount="0" falsecount="1"/>
|
|
426
|
+
<line num="185" count="0" type="stmt"/>
|
|
427
|
+
<line num="187" count="22" type="cond" truecount="4" falsecount="0"/>
|
|
428
|
+
<line num="188" count="1" type="stmt"/>
|
|
429
|
+
<line num="193" count="14" type="stmt"/>
|
|
430
|
+
<line num="194" count="41" type="cond" truecount="1" falsecount="0"/>
|
|
431
|
+
<line num="195" count="4" type="stmt"/>
|
|
432
|
+
<line num="196" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
433
|
+
<line num="197" count="1" type="stmt"/>
|
|
434
|
+
<line num="205" count="13" type="stmt"/>
|
|
435
|
+
<line num="222" count="4" type="stmt"/>
|
|
436
|
+
<line num="224" count="13" type="stmt"/>
|
|
437
|
+
<line num="225" count="13" type="stmt"/>
|
|
438
|
+
<line num="226" count="13" type="stmt"/>
|
|
439
|
+
<line num="227" count="13" type="stmt"/>
|
|
440
|
+
<line num="228" count="13" type="stmt"/>
|
|
441
|
+
<line num="239" count="12" type="stmt"/>
|
|
442
|
+
<line num="240" count="12" type="stmt"/>
|
|
443
|
+
<line num="241" count="12" type="stmt"/>
|
|
444
|
+
<line num="242" count="12" type="stmt"/>
|
|
445
|
+
<line num="244" count="12" type="stmt"/>
|
|
446
|
+
<line num="252" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
447
|
+
<line num="253" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
448
|
+
<line num="254" count="12" type="stmt"/>
|
|
449
|
+
<line num="256" count="12" type="stmt"/>
|
|
450
|
+
<line num="257" count="12" type="stmt"/>
|
|
451
|
+
<line num="259" count="12" type="stmt"/>
|
|
452
|
+
<line num="260" count="12" type="stmt"/>
|
|
453
|
+
<line num="261" count="20" type="cond" truecount="0" falsecount="1"/>
|
|
454
|
+
<line num="262" count="0" type="stmt"/>
|
|
455
|
+
<line num="266" count="20" type="cond" truecount="1" falsecount="0"/>
|
|
456
|
+
<line num="267" count="1" type="stmt"/>
|
|
457
|
+
<line num="272" count="19" type="stmt"/>
|
|
458
|
+
<line num="273" count="19" type="stmt"/>
|
|
459
|
+
<line num="274" count="19" type="cond" truecount="0" falsecount="1"/>
|
|
460
|
+
<line num="275" count="0" type="stmt"/>
|
|
461
|
+
<line num="278" count="19" type="stmt"/>
|
|
462
|
+
<line num="279" count="19" type="stmt"/>
|
|
463
|
+
<line num="281" count="19" type="stmt"/>
|
|
464
|
+
<line num="286" count="19" type="stmt"/>
|
|
465
|
+
<line num="288" count="19" type="cond" truecount="1" falsecount="0"/>
|
|
466
|
+
<line num="289" count="11" type="stmt"/>
|
|
467
|
+
<line num="290" count="11" type="stmt"/>
|
|
468
|
+
<line num="293" count="19" type="stmt"/>
|
|
469
|
+
<line num="304" count="19" type="stmt"/>
|
|
470
|
+
<line num="307" count="11" type="stmt"/>
|
|
471
|
+
<line num="319" count="1" type="stmt"/>
|
|
472
|
+
<line num="352" count="1" type="stmt"/>
|
|
473
|
+
<line num="353" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
474
|
+
<line num="354" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
475
|
+
<line num="355" count="1" type="stmt"/>
|
|
476
|
+
<line num="357" count="1" type="stmt"/>
|
|
477
|
+
<line num="365" count="1" type="stmt"/>
|
|
478
|
+
<line num="366" count="1" type="stmt"/>
|
|
479
|
+
<line num="368" count="1" type="stmt"/>
|
|
480
|
+
<line num="369" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
481
|
+
<line num="371" count="2" type="stmt"/>
|
|
482
|
+
<line num="372" count="2" type="stmt"/>
|
|
483
|
+
<line num="373" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
484
|
+
<line num="375" count="2" type="stmt"/>
|
|
485
|
+
<line num="377" count="2" type="stmt"/>
|
|
486
|
+
<line num="382" count="2" type="stmt"/>
|
|
487
|
+
<line num="384" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
488
|
+
<line num="385" count="2" type="stmt"/>
|
|
489
|
+
<line num="391" count="2" type="stmt"/>
|
|
490
|
+
<line num="400" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
491
|
+
<line num="401" count="0" type="stmt"/>
|
|
492
|
+
<line num="402" count="0" type="stmt"/>
|
|
493
|
+
<line num="413" count="2" type="stmt"/>
|
|
494
|
+
<line num="416" count="1" type="stmt"/>
|
|
495
|
+
<line num="439" count="27" type="stmt"/>
|
|
496
|
+
<line num="442" count="27" type="cond" truecount="1" falsecount="0"/>
|
|
497
|
+
<line num="443" count="5" type="stmt"/>
|
|
498
|
+
<line num="444" count="5" type="stmt"/>
|
|
499
|
+
<line num="448" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
500
|
+
<line num="449" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
501
|
+
<line num="451" count="19" type="stmt"/>
|
|
502
|
+
<line num="457" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
503
|
+
<line num="458" count="1" type="stmt"/>
|
|
504
|
+
<line num="460" count="18" type="stmt"/>
|
|
505
|
+
<line num="466" count="18" type="stmt"/>
|
|
506
|
+
<line num="472" count="19" type="stmt"/>
|
|
507
|
+
<line num="479" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
508
|
+
<line num="480" count="3" type="stmt"/>
|
|
509
|
+
<line num="484" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
510
|
+
<line num="485" count="1" type="stmt"/>
|
|
511
|
+
<line num="487" count="2" type="stmt"/>
|
|
512
|
+
<line num="490" count="3" type="stmt"/>
|
|
513
|
+
<line num="496" count="0" type="stmt"/>
|
|
514
|
+
<line num="508" count="3" type="stmt"/>
|
|
515
|
+
<line num="509" count="6" type="stmt"/>
|
|
516
|
+
<line num="510" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
517
|
+
<line num="511" count="0" type="stmt"/>
|
|
518
|
+
<line num="513" count="6" type="stmt"/>
|
|
519
|
+
<line num="514" count="6" type="stmt"/>
|
|
520
|
+
<line num="515" count="6" type="stmt"/>
|
|
521
|
+
<line num="517" count="0" type="stmt"/>
|
|
522
|
+
<line num="521" count="3" type="stmt"/>
|
|
523
|
+
<line num="525" count="2" type="stmt"/>
|
|
524
|
+
<line num="526" count="2" type="stmt"/>
|
|
525
|
+
<line num="527" count="2" type="stmt"/>
|
|
526
|
+
<line num="528" count="2" type="stmt"/>
|
|
527
|
+
<line num="530" count="2" type="stmt"/>
|
|
528
|
+
<line num="531" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
529
|
+
<line num="532" count="4" type="stmt"/>
|
|
530
|
+
<line num="533" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
531
|
+
<line num="534" count="4" type="stmt"/>
|
|
532
|
+
<line num="535" count="4" type="stmt"/>
|
|
533
|
+
<line num="544" count="4" type="stmt"/>
|
|
534
|
+
<line num="547" count="2" type="stmt"/>
|
|
535
|
+
<line num="560" count="28" type="stmt"/>
|
|
536
|
+
<line num="561" count="21" type="cond" truecount="0" falsecount="1"/>
|
|
537
|
+
<line num="563" count="21" type="cond" truecount="1" falsecount="0"/>
|
|
538
|
+
<line num="564" count="7" type="stmt"/>
|
|
539
|
+
<line num="567" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
540
|
+
<line num="575" count="27" type="stmt"/>
|
|
541
|
+
</file>
|
|
542
|
+
<file name="agent-graph.types.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/graph/agent-graph.types.ts">
|
|
543
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
544
|
+
<line num="9" count="4" type="stmt"/>
|
|
545
|
+
<line num="259" count="4" type="stmt"/>
|
|
546
|
+
<line num="260" count="4" type="stmt"/>
|
|
547
|
+
</file>
|
|
548
|
+
</package>
|
|
549
|
+
<package name="src.prompts">
|
|
550
|
+
<metrics statements="18" coveredstatements="15" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
551
|
+
<file name="agent-system.prompt.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/prompts/agent-system.prompt.ts">
|
|
552
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
553
|
+
<line num="1" count="5" type="stmt"/>
|
|
554
|
+
<line num="3" count="5" type="stmt"/>
|
|
555
|
+
<line num="11" count="5" type="stmt"/>
|
|
556
|
+
<line num="25" count="5" type="stmt"/>
|
|
557
|
+
<line num="27" count="5" type="stmt"/>
|
|
558
|
+
</file>
|
|
559
|
+
<file name="index.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/prompts/index.ts">
|
|
560
|
+
<metrics statements="3" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
561
|
+
<line num="1" count="0" type="stmt"/>
|
|
562
|
+
<line num="2" count="0" type="stmt"/>
|
|
563
|
+
<line num="3" count="0" type="stmt"/>
|
|
564
|
+
</file>
|
|
565
|
+
<file name="supervisor-routing.prompt.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/prompts/supervisor-routing.prompt.ts">
|
|
566
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
567
|
+
<line num="1" count="4" type="stmt"/>
|
|
568
|
+
<line num="3" count="4" type="stmt"/>
|
|
569
|
+
<line num="10" count="4" type="stmt"/>
|
|
570
|
+
<line num="28" count="4" type="stmt"/>
|
|
571
|
+
<line num="30" count="4" type="stmt"/>
|
|
572
|
+
</file>
|
|
573
|
+
<file name="supervisor-system.prompt.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/prompts/supervisor-system.prompt.ts">
|
|
574
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
575
|
+
<line num="1" count="4" type="stmt"/>
|
|
576
|
+
<line num="3" count="4" type="stmt"/>
|
|
577
|
+
<line num="10" count="4" type="stmt"/>
|
|
578
|
+
<line num="27" count="4" type="stmt"/>
|
|
579
|
+
<line num="29" count="4" type="stmt"/>
|
|
580
|
+
</file>
|
|
581
|
+
</package>
|
|
365
582
|
<package name="src.registry">
|
|
366
583
|
<metrics statements="77" coveredstatements="74" conditionals="12" coveredconditionals="10" methods="25" coveredmethods="24"/>
|
|
367
584
|
<file name="agent.registry.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/registry/agent.registry.ts">
|
|
368
585
|
<metrics statements="26" coveredstatements="26" conditionals="4" coveredconditionals="4" methods="10" coveredmethods="10"/>
|
|
369
|
-
<line num="7" count="
|
|
370
|
-
<line num="12" count="
|
|
371
|
-
<line num="13" count="
|
|
372
|
-
<line num="14" count="
|
|
373
|
-
<line num="20" count="
|
|
586
|
+
<line num="7" count="5" type="stmt"/>
|
|
587
|
+
<line num="12" count="5" type="stmt"/>
|
|
588
|
+
<line num="13" count="106" type="stmt"/>
|
|
589
|
+
<line num="14" count="106" type="stmt"/>
|
|
590
|
+
<line num="20" count="31" type="cond" truecount="1" falsecount="0"/>
|
|
374
591
|
<line num="21" count="1" type="stmt"/>
|
|
375
|
-
<line num="24" count="
|
|
376
|
-
<line num="25" count="
|
|
592
|
+
<line num="24" count="30" type="stmt"/>
|
|
593
|
+
<line num="25" count="30" type="cond" truecount="1" falsecount="0"/>
|
|
377
594
|
<line num="26" count="1" type="stmt"/>
|
|
378
|
-
<line num="29" count="
|
|
595
|
+
<line num="29" count="29" type="cond" truecount="1" falsecount="0"/>
|
|
379
596
|
<line num="30" count="1" type="stmt"/>
|
|
380
|
-
<line num="33" count="
|
|
381
|
-
<line num="40" count="
|
|
597
|
+
<line num="33" count="28" type="stmt"/>
|
|
598
|
+
<line num="40" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
382
599
|
<line num="41" count="1" type="stmt"/>
|
|
383
|
-
<line num="44" count="
|
|
384
|
-
<line num="46" count="
|
|
385
|
-
<line num="47" count="
|
|
386
|
-
<line num="54" count="
|
|
600
|
+
<line num="44" count="8" type="stmt"/>
|
|
601
|
+
<line num="46" count="8" type="stmt"/>
|
|
602
|
+
<line num="47" count="8" type="stmt"/>
|
|
603
|
+
<line num="54" count="22" type="stmt"/>
|
|
387
604
|
<line num="61" count="4" type="stmt"/>
|
|
388
605
|
<line num="68" count="6" type="stmt"/>
|
|
389
606
|
<line num="75" count="5" type="stmt"/>
|
|
@@ -395,26 +612,26 @@
|
|
|
395
612
|
</file>
|
|
396
613
|
<file name="tool.registry.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/registry/tool.registry.ts">
|
|
397
614
|
<metrics statements="51" coveredstatements="48" conditionals="8" coveredconditionals="6" methods="15" coveredmethods="14"/>
|
|
398
|
-
<line num="8" count="
|
|
399
|
-
<line num="13" count="
|
|
400
|
-
<line num="14" count="
|
|
401
|
-
<line num="15" count="
|
|
402
|
-
<line num="22" count="
|
|
403
|
-
<line num="23" count="
|
|
404
|
-
<line num="25" count="
|
|
615
|
+
<line num="8" count="6" type="stmt"/>
|
|
616
|
+
<line num="13" count="6" type="stmt"/>
|
|
617
|
+
<line num="14" count="121" type="stmt"/>
|
|
618
|
+
<line num="15" count="121" type="stmt"/>
|
|
619
|
+
<line num="22" count="14" type="stmt"/>
|
|
620
|
+
<line num="23" count="14" type="stmt"/>
|
|
621
|
+
<line num="25" count="14" type="cond" truecount="1" falsecount="0"/>
|
|
405
622
|
<line num="26" count="1" type="stmt"/>
|
|
406
|
-
<line num="29" count="
|
|
407
|
-
<line num="31" count="
|
|
408
|
-
<line num="32" count="
|
|
409
|
-
<line num="34" count="
|
|
623
|
+
<line num="29" count="13" type="stmt"/>
|
|
624
|
+
<line num="31" count="13" type="stmt"/>
|
|
625
|
+
<line num="32" count="14" type="stmt"/>
|
|
626
|
+
<line num="34" count="14" type="cond" truecount="0" falsecount="1"/>
|
|
410
627
|
<line num="36" count="0" type="stmt"/>
|
|
411
|
-
<line num="39" count="
|
|
412
|
-
<line num="41" count="
|
|
628
|
+
<line num="39" count="14" type="stmt"/>
|
|
629
|
+
<line num="41" count="14" type="cond" truecount="1" falsecount="0"/>
|
|
413
630
|
<line num="43" count="1" type="stmt"/>
|
|
414
|
-
<line num="47" count="
|
|
415
|
-
<line num="52" count="
|
|
416
|
-
<line num="53" count="
|
|
417
|
-
<line num="56" count="
|
|
631
|
+
<line num="47" count="13" type="stmt"/>
|
|
632
|
+
<line num="52" count="13" type="stmt"/>
|
|
633
|
+
<line num="53" count="13" type="stmt"/>
|
|
634
|
+
<line num="56" count="13" type="stmt"/>
|
|
418
635
|
<line num="63" count="3" type="stmt"/>
|
|
419
636
|
<line num="70" count="11" type="stmt"/>
|
|
420
637
|
<line num="71" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -449,7 +666,7 @@
|
|
|
449
666
|
</file>
|
|
450
667
|
</package>
|
|
451
668
|
<package name="src.runtime">
|
|
452
|
-
<metrics statements="
|
|
669
|
+
<metrics statements="159" coveredstatements="152" conditionals="62" coveredconditionals="47" methods="44" coveredmethods="41"/>
|
|
453
670
|
<file name="agent.runtime.extensions.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/runtime/agent.runtime.extensions.ts">
|
|
454
671
|
<metrics statements="20" coveredstatements="20" conditionals="8" coveredconditionals="7" methods="7" coveredmethods="7"/>
|
|
455
672
|
<line num="13" count="1" type="stmt"/>
|
|
@@ -474,133 +691,156 @@
|
|
|
474
691
|
<line num="106" count="1" type="stmt"/>
|
|
475
692
|
</file>
|
|
476
693
|
<file name="agent.runtime.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/runtime/agent.runtime.ts">
|
|
477
|
-
<metrics statements="
|
|
478
|
-
<line num="6" count="
|
|
479
|
-
<line num="7" count="
|
|
480
|
-
<line num="8" count="
|
|
481
|
-
<line num="10" count="
|
|
482
|
-
<line num="11" count="
|
|
483
|
-
<line num="12" count="
|
|
484
|
-
<line num="13" count="
|
|
485
|
-
<line num="14" count="
|
|
486
|
-
<line num="25" count="
|
|
487
|
-
<line num="26" count="
|
|
488
|
-
<line num="27" count="
|
|
489
|
-
<line num="28" count="
|
|
490
|
-
<line num="29" count="
|
|
491
|
-
<line num="30" count="
|
|
492
|
-
<line num="
|
|
493
|
-
<line num="
|
|
494
|
-
<line num="
|
|
495
|
-
<line num="
|
|
496
|
-
<line num="
|
|
497
|
-
<line num="
|
|
498
|
-
<line num="
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="
|
|
501
|
-
<line num="
|
|
502
|
-
<line num="
|
|
503
|
-
<line num="
|
|
504
|
-
<line num="
|
|
505
|
-
<line num="
|
|
506
|
-
<line num="
|
|
507
|
-
<line num="
|
|
508
|
-
<line num="
|
|
509
|
-
<line num="
|
|
510
|
-
<line num="133" count="
|
|
511
|
-
<line num="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="137" count="
|
|
514
|
-
<line num="138" count="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
-
<line num="
|
|
519
|
-
<line num="
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="
|
|
524
|
-
<line num="
|
|
525
|
-
<line num="
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="
|
|
529
|
-
<line num="
|
|
530
|
-
<line num="
|
|
531
|
-
<line num="
|
|
532
|
-
<line num="
|
|
533
|
-
<line num="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="
|
|
536
|
-
<line num="
|
|
537
|
-
<line num="
|
|
538
|
-
<line num="
|
|
539
|
-
<line num="
|
|
540
|
-
<line num="
|
|
541
|
-
<line num="
|
|
542
|
-
<line num="
|
|
543
|
-
<line num="
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="
|
|
554
|
-
<line num="
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="293" count="
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="297" count="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="
|
|
572
|
-
<line num="
|
|
573
|
-
<line num="
|
|
574
|
-
<line num="
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="
|
|
577
|
-
<line num="
|
|
578
|
-
<line num="
|
|
579
|
-
<line num="
|
|
580
|
-
<line num="
|
|
581
|
-
<line num="
|
|
582
|
-
<line num="
|
|
583
|
-
<line num="
|
|
584
|
-
<line num="
|
|
585
|
-
<line num="
|
|
586
|
-
<line num="
|
|
587
|
-
<line num="
|
|
588
|
-
<line num="
|
|
589
|
-
<line num="
|
|
590
|
-
<line num="
|
|
591
|
-
<line num="
|
|
592
|
-
<line num="
|
|
593
|
-
<line num="
|
|
694
|
+
<metrics statements="139" coveredstatements="132" conditionals="54" coveredconditionals="40" methods="37" coveredmethods="34"/>
|
|
695
|
+
<line num="6" count="4" type="stmt"/>
|
|
696
|
+
<line num="7" count="4" type="stmt"/>
|
|
697
|
+
<line num="8" count="4" type="stmt"/>
|
|
698
|
+
<line num="10" count="4" type="stmt"/>
|
|
699
|
+
<line num="11" count="4" type="stmt"/>
|
|
700
|
+
<line num="12" count="4" type="stmt"/>
|
|
701
|
+
<line num="13" count="4" type="stmt"/>
|
|
702
|
+
<line num="14" count="4" type="stmt"/>
|
|
703
|
+
<line num="25" count="4" type="stmt"/>
|
|
704
|
+
<line num="26" count="4" type="stmt"/>
|
|
705
|
+
<line num="27" count="4" type="stmt"/>
|
|
706
|
+
<line num="28" count="4" type="stmt"/>
|
|
707
|
+
<line num="29" count="4" type="stmt"/>
|
|
708
|
+
<line num="30" count="4" type="stmt"/>
|
|
709
|
+
<line num="31" count="4" type="stmt"/>
|
|
710
|
+
<line num="32" count="4" type="stmt"/>
|
|
711
|
+
<line num="34" count="4" type="stmt"/>
|
|
712
|
+
<line num="59" count="4" type="stmt"/>
|
|
713
|
+
<line num="76" count="87" type="stmt"/>
|
|
714
|
+
<line num="88" count="87" type="stmt"/>
|
|
715
|
+
<line num="91" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
716
|
+
<line num="92" count="4" type="stmt"/>
|
|
717
|
+
<line num="95" count="4" type="stmt"/>
|
|
718
|
+
<line num="101" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
719
|
+
<line num="102" count="83" type="stmt"/>
|
|
720
|
+
<line num="103" count="83" type="stmt"/>
|
|
721
|
+
<line num="107" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
722
|
+
<line num="108" count="86" type="stmt"/>
|
|
723
|
+
<line num="112" count="0" type="stmt"/>
|
|
724
|
+
<line num="121" count="87" type="cond" truecount="1" falsecount="0"/>
|
|
725
|
+
<line num="122" count="82" type="stmt"/>
|
|
726
|
+
<line num="127" count="0" type="stmt"/>
|
|
727
|
+
<line num="133" count="87" type="stmt"/>
|
|
728
|
+
<line num="135" count="87" type="stmt"/>
|
|
729
|
+
<line num="136" count="87" type="stmt"/>
|
|
730
|
+
<line num="137" count="87" type="cond" truecount="2" falsecount="0"/>
|
|
731
|
+
<line num="138" count="87" type="stmt"/>
|
|
732
|
+
<line num="139" count="87" type="stmt"/>
|
|
733
|
+
<line num="141" count="87" type="stmt"/>
|
|
734
|
+
<line num="142" count="0" type="stmt"/>
|
|
735
|
+
<line num="145" count="87" type="stmt"/>
|
|
736
|
+
<line num="152" count="22" type="stmt"/>
|
|
737
|
+
<line num="156" count="87" type="stmt"/>
|
|
738
|
+
<line num="167" count="13" type="stmt"/>
|
|
739
|
+
<line num="176" count="4" type="stmt"/>
|
|
740
|
+
<line num="177" count="4" type="stmt"/>
|
|
741
|
+
<line num="178" count="4" type="stmt"/>
|
|
742
|
+
<line num="186" count="4" type="cond" truecount="2" falsecount="1"/>
|
|
743
|
+
<line num="189" count="4" type="stmt"/>
|
|
744
|
+
<line num="190" count="4" type="stmt"/>
|
|
745
|
+
<line num="192" count="4" type="stmt"/>
|
|
746
|
+
<line num="193" count="1" type="stmt"/>
|
|
747
|
+
<line num="194" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
748
|
+
<line num="196" count="1" type="stmt"/>
|
|
749
|
+
<line num="197" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
750
|
+
<line num="200" count="1" type="stmt"/>
|
|
751
|
+
<line num="204" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
752
|
+
<line num="206" count="1" type="stmt"/>
|
|
753
|
+
<line num="210" count="1" type="stmt"/>
|
|
754
|
+
<line num="211" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
755
|
+
<line num="214" count="1" type="stmt"/>
|
|
756
|
+
<line num="229" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
757
|
+
<line num="230" count="2" type="stmt"/>
|
|
758
|
+
<line num="231" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
759
|
+
<line num="232" count="1" type="stmt"/>
|
|
760
|
+
<line num="233" count="1" type="stmt"/>
|
|
761
|
+
<line num="237" count="16" type="stmt"/>
|
|
762
|
+
<line num="238" count="16" type="stmt"/>
|
|
763
|
+
<line num="240" count="16" type="stmt"/>
|
|
764
|
+
<line num="241" count="16" type="stmt"/>
|
|
765
|
+
<line num="248" count="16" type="stmt"/>
|
|
766
|
+
<line num="250" count="6" type="stmt"/>
|
|
767
|
+
<line num="251" count="6" type="stmt"/>
|
|
768
|
+
<line num="254" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
769
|
+
<line num="255" count="6" type="stmt"/>
|
|
770
|
+
<line num="258" count="6" type="stmt"/>
|
|
771
|
+
<line num="265" count="6" type="stmt"/>
|
|
772
|
+
<line num="267" count="10" type="stmt"/>
|
|
773
|
+
<line num="269" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
774
|
+
<line num="270" count="10" type="stmt"/>
|
|
775
|
+
<line num="273" count="10" type="stmt"/>
|
|
776
|
+
<line num="278" count="10" type="stmt"/>
|
|
777
|
+
<line num="290" count="16" type="stmt"/>
|
|
778
|
+
<line num="291" count="16" type="stmt"/>
|
|
779
|
+
<line num="292" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
780
|
+
<line num="293" count="10" type="stmt"/>
|
|
781
|
+
<line num="296" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
782
|
+
<line num="297" count="6" type="cond" truecount="2" falsecount="1"/>
|
|
783
|
+
<line num="299" count="6" type="stmt"/>
|
|
784
|
+
<line num="310" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
785
|
+
<line num="312" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
786
|
+
<line num="313" count="1" type="stmt"/>
|
|
787
|
+
<line num="316" count="6" type="cond" truecount="2" falsecount="1"/>
|
|
788
|
+
<line num="317" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
789
|
+
<line num="320" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
790
|
+
<line num="321" count="0" type="stmt"/>
|
|
791
|
+
<line num="324" count="6" type="stmt"/>
|
|
792
|
+
<line num="326" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
793
|
+
<line num="327" count="1" type="stmt"/>
|
|
794
|
+
<line num="330" count="6" type="stmt"/>
|
|
795
|
+
<line num="334" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
796
|
+
<line num="335" count="15" type="stmt"/>
|
|
797
|
+
<line num="336" count="15" type="stmt"/>
|
|
798
|
+
<line num="339" count="15" type="cond" truecount="1" falsecount="0"/>
|
|
799
|
+
<line num="340" count="14" type="stmt"/>
|
|
800
|
+
<line num="343" count="1" type="stmt"/>
|
|
801
|
+
<line num="347" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
802
|
+
<line num="348" count="1" type="stmt"/>
|
|
803
|
+
<line num="351" count="0" type="stmt"/>
|
|
804
|
+
<line num="358" count="2" type="stmt"/>
|
|
805
|
+
<line num="365" count="2" type="stmt"/>
|
|
806
|
+
<line num="366" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
807
|
+
<line num="373" count="3" type="stmt"/>
|
|
808
|
+
<line num="380" count="1" type="stmt"/>
|
|
809
|
+
<line num="387" count="1" type="stmt"/>
|
|
810
|
+
<line num="394" count="3" type="stmt"/>
|
|
811
|
+
<line num="401" count="3" type="stmt"/>
|
|
812
|
+
<line num="408" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
813
|
+
<line num="416" count="2" type="stmt"/>
|
|
814
|
+
<line num="423" count="2" type="stmt"/>
|
|
815
|
+
<line num="430" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
816
|
+
<line num="437" count="2" type="stmt"/>
|
|
817
|
+
<line num="444" count="2" type="stmt"/>
|
|
818
|
+
<line num="459" count="2" type="stmt"/>
|
|
819
|
+
<line num="471" count="2" type="stmt"/>
|
|
820
|
+
<line num="478" count="3" type="stmt"/>
|
|
821
|
+
<line num="485" count="2" type="stmt"/>
|
|
822
|
+
<line num="492" count="2" type="stmt"/>
|
|
823
|
+
<line num="499" count="2" type="stmt"/>
|
|
824
|
+
<line num="525" count="1" type="stmt"/>
|
|
825
|
+
<line num="546" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
826
|
+
<line num="547" count="1" type="stmt"/>
|
|
827
|
+
<line num="552" count="1" type="stmt"/>
|
|
828
|
+
<line num="574" count="1" type="stmt"/>
|
|
829
|
+
<line num="581" count="1" type="stmt"/>
|
|
830
|
+
<line num="582" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
831
|
+
<line num="583" count="0" type="stmt"/>
|
|
832
|
+
<line num="585" count="1" type="stmt"/>
|
|
833
|
+
<line num="592" count="6" type="stmt"/>
|
|
594
834
|
</file>
|
|
595
835
|
</package>
|
|
596
836
|
<package name="src.state">
|
|
597
837
|
<metrics statements="266" coveredstatements="232" conditionals="93" coveredconditionals="59" methods="56" coveredmethods="52"/>
|
|
598
838
|
<file name="agent.state.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/state/agent.state.ts">
|
|
599
839
|
<metrics statements="58" coveredstatements="58" conditionals="15" coveredconditionals="15" methods="15" coveredmethods="15"/>
|
|
600
|
-
<line num="6" count="
|
|
601
|
-
<line num="8" count="
|
|
602
|
-
<line num="15" count="
|
|
603
|
-
<line num="16" count="
|
|
840
|
+
<line num="6" count="6" type="stmt"/>
|
|
841
|
+
<line num="8" count="6" type="stmt"/>
|
|
842
|
+
<line num="15" count="6" type="stmt"/>
|
|
843
|
+
<line num="16" count="137" type="stmt"/>
|
|
604
844
|
<line num="28" count="48" type="stmt"/>
|
|
605
845
|
<line num="29" count="48" type="stmt"/>
|
|
606
846
|
<line num="31" count="48" type="stmt"/>
|
|
@@ -871,28 +1111,125 @@
|
|
|
871
1111
|
<line num="349" count="1" type="stmt"/>
|
|
872
1112
|
</file>
|
|
873
1113
|
</package>
|
|
1114
|
+
<package name="src.supervisor">
|
|
1115
|
+
<metrics statements="57" coveredstatements="53" conditionals="30" coveredconditionals="22" methods="10" coveredmethods="10"/>
|
|
1116
|
+
<file name="supervisor.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/supervisor/supervisor.ts">
|
|
1117
|
+
<metrics statements="57" coveredstatements="53" conditionals="30" coveredconditionals="22" methods="10" coveredmethods="10"/>
|
|
1118
|
+
<line num="47" count="4" type="stmt"/>
|
|
1119
|
+
<line num="48" count="4" type="stmt"/>
|
|
1120
|
+
<line num="49" count="4" type="stmt"/>
|
|
1121
|
+
<line num="50" count="4" type="stmt"/>
|
|
1122
|
+
<line num="51" count="4" type="stmt"/>
|
|
1123
|
+
<line num="67" count="4" type="stmt"/>
|
|
1124
|
+
<line num="76" count="7" type="stmt"/>
|
|
1125
|
+
<line num="77" count="7" type="stmt"/>
|
|
1126
|
+
<line num="78" count="7" type="stmt"/>
|
|
1127
|
+
<line num="80" count="7" type="stmt"/>
|
|
1128
|
+
<line num="81" count="7" type="stmt"/>
|
|
1129
|
+
<line num="82" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1130
|
+
<line num="83" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1131
|
+
<line num="84" count="7" type="stmt"/>
|
|
1132
|
+
<line num="87" count="9" type="stmt"/>
|
|
1133
|
+
<line num="92" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
1134
|
+
<line num="111" count="5" type="stmt"/>
|
|
1135
|
+
<line num="112" count="5" type="stmt"/>
|
|
1136
|
+
<line num="115" count="5" type="stmt"/>
|
|
1137
|
+
<line num="117" count="5" type="stmt"/>
|
|
1138
|
+
<line num="118" count="5" type="stmt"/>
|
|
1139
|
+
<line num="119" count="7" type="stmt"/>
|
|
1140
|
+
<line num="122" count="7" type="stmt"/>
|
|
1141
|
+
<line num="124" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
1142
|
+
<line num="125" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1143
|
+
<line num="127" count="3" type="stmt"/>
|
|
1144
|
+
<line num="133" count="3" type="stmt"/>
|
|
1145
|
+
<line num="143" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
1146
|
+
<line num="144" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1147
|
+
<line num="145" count="1" type="stmt"/>
|
|
1148
|
+
<line num="151" count="3" type="stmt"/>
|
|
1149
|
+
<line num="157" count="3" type="stmt"/>
|
|
1150
|
+
<line num="163" count="3" type="stmt"/>
|
|
1151
|
+
<line num="170" count="3" type="stmt"/>
|
|
1152
|
+
<line num="174" count="0" type="stmt"/>
|
|
1153
|
+
<line num="175" count="0" type="stmt"/>
|
|
1154
|
+
<line num="180" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1155
|
+
<line num="185" count="1" type="stmt"/>
|
|
1156
|
+
<line num="193" count="1" type="stmt"/>
|
|
1157
|
+
<line num="213" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1158
|
+
<line num="215" count="7" type="stmt"/>
|
|
1159
|
+
<line num="219" count="7" type="stmt"/>
|
|
1160
|
+
<line num="220" count="7" type="stmt"/>
|
|
1161
|
+
<line num="229" count="7" type="stmt"/>
|
|
1162
|
+
<line num="232" count="0" type="stmt"/>
|
|
1163
|
+
<line num="242" count="7" type="stmt"/>
|
|
1164
|
+
<line num="247" count="7" type="stmt"/>
|
|
1165
|
+
<line num="248" count="7" type="stmt"/>
|
|
1166
|
+
<line num="250" count="6" type="cond" truecount="2" falsecount="1"/>
|
|
1167
|
+
<line num="251" count="0" type="stmt"/>
|
|
1168
|
+
<line num="254" count="6" type="stmt"/>
|
|
1169
|
+
<line num="257" count="1" type="stmt"/>
|
|
1170
|
+
<line num="266" count="7" type="stmt"/>
|
|
1171
|
+
<line num="273" count="9" type="stmt"/>
|
|
1172
|
+
<line num="274" count="7" type="stmt"/>
|
|
1173
|
+
<line num="282" count="2" type="stmt"/>
|
|
1174
|
+
<line num="286" count="1" type="stmt"/>
|
|
1175
|
+
</file>
|
|
1176
|
+
</package>
|
|
874
1177
|
<package name="src.types">
|
|
875
|
-
<metrics statements="
|
|
1178
|
+
<metrics statements="53" coveredstatements="53" conditionals="8" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
876
1179
|
<file name="agent.types.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/types/agent.types.ts">
|
|
877
1180
|
<metrics statements="15" coveredstatements="15" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
878
|
-
<line num="30" count="
|
|
879
|
-
<line num="31" count="
|
|
880
|
-
<line num="32" count="
|
|
881
|
-
<line num="33" count="
|
|
882
|
-
<line num="34" count="
|
|
883
|
-
<line num="35" count="
|
|
884
|
-
<line num="36" count="
|
|
885
|
-
<line num="37" count="
|
|
886
|
-
<line num="59" count="
|
|
887
|
-
<line num="60" count="
|
|
888
|
-
<line num="61" count="
|
|
889
|
-
<line num="62" count="
|
|
890
|
-
<line num="63" count="
|
|
891
|
-
<line num="64" count="
|
|
892
|
-
<line num="65" count="
|
|
1181
|
+
<line num="30" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
1182
|
+
<line num="31" count="9" type="stmt"/>
|
|
1183
|
+
<line num="32" count="9" type="stmt"/>
|
|
1184
|
+
<line num="33" count="9" type="stmt"/>
|
|
1185
|
+
<line num="34" count="9" type="stmt"/>
|
|
1186
|
+
<line num="35" count="9" type="stmt"/>
|
|
1187
|
+
<line num="36" count="9" type="stmt"/>
|
|
1188
|
+
<line num="37" count="9" type="stmt"/>
|
|
1189
|
+
<line num="59" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
1190
|
+
<line num="60" count="9" type="stmt"/>
|
|
1191
|
+
<line num="61" count="9" type="stmt"/>
|
|
1192
|
+
<line num="62" count="9" type="stmt"/>
|
|
1193
|
+
<line num="63" count="9" type="stmt"/>
|
|
1194
|
+
<line num="64" count="9" type="stmt"/>
|
|
1195
|
+
<line num="65" count="9" type="stmt"/>
|
|
893
1196
|
</file>
|
|
894
1197
|
<file name="event.types.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/types/event.types.ts">
|
|
895
|
-
<metrics statements="
|
|
1198
|
+
<metrics statements="31" coveredstatements="31" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
1199
|
+
<line num="8" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1200
|
+
<line num="9" count="7" type="stmt"/>
|
|
1201
|
+
<line num="10" count="7" type="stmt"/>
|
|
1202
|
+
<line num="11" count="7" type="stmt"/>
|
|
1203
|
+
<line num="12" count="7" type="stmt"/>
|
|
1204
|
+
<line num="13" count="7" type="stmt"/>
|
|
1205
|
+
<line num="14" count="7" type="stmt"/>
|
|
1206
|
+
<line num="15" count="7" type="stmt"/>
|
|
1207
|
+
<line num="16" count="7" type="stmt"/>
|
|
1208
|
+
<line num="17" count="7" type="stmt"/>
|
|
1209
|
+
<line num="18" count="7" type="stmt"/>
|
|
1210
|
+
<line num="19" count="7" type="stmt"/>
|
|
1211
|
+
<line num="20" count="7" type="stmt"/>
|
|
1212
|
+
<line num="21" count="7" type="stmt"/>
|
|
1213
|
+
<line num="22" count="7" type="stmt"/>
|
|
1214
|
+
<line num="23" count="7" type="stmt"/>
|
|
1215
|
+
<line num="24" count="7" type="stmt"/>
|
|
1216
|
+
<line num="25" count="7" type="stmt"/>
|
|
1217
|
+
<line num="28" count="7" type="stmt"/>
|
|
1218
|
+
<line num="29" count="7" type="stmt"/>
|
|
1219
|
+
<line num="30" count="7" type="stmt"/>
|
|
1220
|
+
<line num="31" count="7" type="stmt"/>
|
|
1221
|
+
<line num="32" count="7" type="stmt"/>
|
|
1222
|
+
<line num="33" count="7" type="stmt"/>
|
|
1223
|
+
<line num="34" count="7" type="stmt"/>
|
|
1224
|
+
<line num="35" count="7" type="stmt"/>
|
|
1225
|
+
<line num="38" count="7" type="stmt"/>
|
|
1226
|
+
<line num="39" count="7" type="stmt"/>
|
|
1227
|
+
<line num="40" count="7" type="stmt"/>
|
|
1228
|
+
<line num="43" count="7" type="stmt"/>
|
|
1229
|
+
<line num="44" count="7" type="stmt"/>
|
|
1230
|
+
</file>
|
|
1231
|
+
<file name="tool.types.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/types/tool.types.ts">
|
|
1232
|
+
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
896
1233
|
<line num="8" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
897
1234
|
<line num="9" count="6" type="stmt"/>
|
|
898
1235
|
<line num="10" count="6" type="stmt"/>
|
|
@@ -900,48 +1237,27 @@
|
|
|
900
1237
|
<line num="12" count="6" type="stmt"/>
|
|
901
1238
|
<line num="13" count="6" type="stmt"/>
|
|
902
1239
|
<line num="14" count="6" type="stmt"/>
|
|
903
|
-
<line num="15" count="6" type="stmt"/>
|
|
904
|
-
<line num="16" count="6" type="stmt"/>
|
|
905
|
-
<line num="17" count="6" type="stmt"/>
|
|
906
|
-
<line num="18" count="6" type="stmt"/>
|
|
907
|
-
<line num="19" count="6" type="stmt"/>
|
|
908
|
-
<line num="20" count="6" type="stmt"/>
|
|
909
|
-
<line num="21" count="6" type="stmt"/>
|
|
910
|
-
<line num="22" count="6" type="stmt"/>
|
|
911
|
-
<line num="23" count="6" type="stmt"/>
|
|
912
|
-
<line num="24" count="6" type="stmt"/>
|
|
913
|
-
<line num="25" count="6" type="stmt"/>
|
|
914
|
-
</file>
|
|
915
|
-
<file name="tool.types.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/types/tool.types.ts">
|
|
916
|
-
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
917
|
-
<line num="8" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
918
|
-
<line num="9" count="5" type="stmt"/>
|
|
919
|
-
<line num="10" count="5" type="stmt"/>
|
|
920
|
-
<line num="11" count="5" type="stmt"/>
|
|
921
|
-
<line num="12" count="5" type="stmt"/>
|
|
922
|
-
<line num="13" count="5" type="stmt"/>
|
|
923
|
-
<line num="14" count="5" type="stmt"/>
|
|
924
1240
|
</file>
|
|
925
1241
|
</package>
|
|
926
1242
|
<package name="src.utils">
|
|
927
1243
|
<metrics statements="244" coveredstatements="241" conditionals="94" coveredconditionals="92" methods="65" coveredmethods="62"/>
|
|
928
1244
|
<file name="circuit-breaker.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/circuit-breaker.ts">
|
|
929
1245
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
|
|
930
|
-
<line num="9" count="
|
|
931
|
-
<line num="10" count="
|
|
932
|
-
<line num="11" count="
|
|
933
|
-
<line num="12" count="
|
|
934
|
-
<line num="14" count="
|
|
1246
|
+
<line num="9" count="5" type="stmt"/>
|
|
1247
|
+
<line num="10" count="14" type="stmt"/>
|
|
1248
|
+
<line num="11" count="5" type="stmt"/>
|
|
1249
|
+
<line num="12" count="96" type="stmt"/>
|
|
1250
|
+
<line num="14" count="5" type="stmt"/>
|
|
935
1251
|
</file>
|
|
936
1252
|
<file name="health-check.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/health-check.ts">
|
|
937
1253
|
<metrics statements="58" coveredstatements="57" conditionals="21" coveredconditionals="21" methods="15" coveredmethods="15"/>
|
|
938
|
-
<line num="9" count="
|
|
939
|
-
<line num="10" count="
|
|
940
|
-
<line num="11" count="
|
|
941
|
-
<line num="12" count="
|
|
942
|
-
<line num="43" count="
|
|
943
|
-
<line num="49" count="
|
|
944
|
-
<line num="50" count="
|
|
1254
|
+
<line num="9" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1255
|
+
<line num="10" count="5" type="stmt"/>
|
|
1256
|
+
<line num="11" count="5" type="stmt"/>
|
|
1257
|
+
<line num="12" count="5" type="stmt"/>
|
|
1258
|
+
<line num="43" count="5" type="stmt"/>
|
|
1259
|
+
<line num="49" count="106" type="stmt"/>
|
|
1260
|
+
<line num="50" count="106" type="stmt"/>
|
|
945
1261
|
<line num="68" count="21" type="stmt"/>
|
|
946
1262
|
<line num="71" count="21" type="cond" truecount="1" falsecount="0"/>
|
|
947
1263
|
<line num="72" count="10" type="stmt"/>
|
|
@@ -996,76 +1312,76 @@
|
|
|
996
1312
|
</file>
|
|
997
1313
|
<file name="logger.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/logger.ts">
|
|
998
1314
|
<metrics statements="53" coveredstatements="53" conditionals="28" coveredconditionals="28" methods="11" coveredmethods="11"/>
|
|
999
|
-
<line num="6" count="
|
|
1000
|
-
<line num="7" count="
|
|
1001
|
-
<line num="8" count="
|
|
1002
|
-
<line num="9" count="
|
|
1003
|
-
<line num="10" count="
|
|
1004
|
-
<line num="11" count="
|
|
1005
|
-
<line num="41" count="
|
|
1006
|
-
<line num="48" count="
|
|
1007
|
-
<line num="49" count="
|
|
1008
|
-
<line num="50" count="
|
|
1009
|
-
<line num="51" count="
|
|
1010
|
-
<line num="55" count="
|
|
1011
|
-
<line num="59" count="
|
|
1315
|
+
<line num="6" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1316
|
+
<line num="7" count="6" type="stmt"/>
|
|
1317
|
+
<line num="8" count="6" type="stmt"/>
|
|
1318
|
+
<line num="9" count="6" type="stmt"/>
|
|
1319
|
+
<line num="10" count="6" type="stmt"/>
|
|
1320
|
+
<line num="11" count="6" type="stmt"/>
|
|
1321
|
+
<line num="41" count="6" type="stmt"/>
|
|
1322
|
+
<line num="48" count="216" type="cond" truecount="2" falsecount="0"/>
|
|
1323
|
+
<line num="49" count="216" type="cond" truecount="2" falsecount="0"/>
|
|
1324
|
+
<line num="50" count="216" type="cond" truecount="2" falsecount="0"/>
|
|
1325
|
+
<line num="51" count="216" type="stmt"/>
|
|
1326
|
+
<line num="55" count="4" type="stmt"/>
|
|
1327
|
+
<line num="59" count="204" type="stmt"/>
|
|
1012
1328
|
<line num="63" count="1" type="stmt"/>
|
|
1013
1329
|
<line num="67" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1014
1330
|
<line num="77" count="18" type="stmt"/>
|
|
1015
1331
|
<line num="81" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1016
1332
|
<line num="91" count="2" type="stmt"/>
|
|
1017
|
-
<line num="95" count="
|
|
1018
|
-
<line num="96" count="
|
|
1019
|
-
<line num="99" count="
|
|
1020
|
-
<line num="106" count="
|
|
1333
|
+
<line num="95" count="229" type="cond" truecount="1" falsecount="0"/>
|
|
1334
|
+
<line num="96" count="3" type="stmt"/>
|
|
1335
|
+
<line num="99" count="226" type="stmt"/>
|
|
1336
|
+
<line num="106" count="226" type="cond" truecount="1" falsecount="0"/>
|
|
1021
1337
|
<line num="108" count="17" type="stmt"/>
|
|
1022
|
-
<line num="111" count="
|
|
1338
|
+
<line num="111" count="226" type="cond" truecount="1" falsecount="0"/>
|
|
1023
1339
|
<line num="112" count="3" type="stmt"/>
|
|
1024
|
-
<line num="115" count="
|
|
1025
|
-
<line num="116" count="
|
|
1026
|
-
<line num="121" count="
|
|
1340
|
+
<line num="115" count="226" type="cond" truecount="1" falsecount="0"/>
|
|
1341
|
+
<line num="116" count="225" type="stmt"/>
|
|
1342
|
+
<line num="121" count="225" type="cond" truecount="1" falsecount="0"/>
|
|
1027
1343
|
<line num="123" count="1" type="stmt"/>
|
|
1028
1344
|
<line num="124" count="1" type="stmt"/>
|
|
1029
|
-
<line num="127" count="
|
|
1030
|
-
<line num="135" count="
|
|
1031
|
-
<line num="136" count="
|
|
1032
|
-
<line num="137" count="
|
|
1033
|
-
<line num="138" count="
|
|
1034
|
-
<line num="140" count="
|
|
1035
|
-
<line num="142" count="
|
|
1036
|
-
<line num="143" count="
|
|
1037
|
-
<line num="144" count="
|
|
1038
|
-
<line num="147" count="
|
|
1345
|
+
<line num="127" count="224" type="stmt"/>
|
|
1346
|
+
<line num="135" count="224" type="stmt"/>
|
|
1347
|
+
<line num="136" count="224" type="stmt"/>
|
|
1348
|
+
<line num="137" count="224" type="stmt"/>
|
|
1349
|
+
<line num="138" count="224" type="stmt"/>
|
|
1350
|
+
<line num="140" count="224" type="stmt"/>
|
|
1351
|
+
<line num="142" count="224" type="cond" truecount="3" falsecount="0"/>
|
|
1352
|
+
<line num="143" count="132" type="stmt"/>
|
|
1353
|
+
<line num="144" count="132" type="stmt"/>
|
|
1354
|
+
<line num="147" count="224" type="cond" truecount="1" falsecount="0"/>
|
|
1039
1355
|
<line num="148" count="17" type="stmt"/>
|
|
1040
1356
|
<line num="149" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1041
1357
|
<line num="150" count="17" type="stmt"/>
|
|
1042
|
-
<line num="154" count="
|
|
1043
|
-
<line num="158" count="
|
|
1044
|
-
<line num="159" count="
|
|
1358
|
+
<line num="154" count="224" type="cond" truecount="5" falsecount="0"/>
|
|
1359
|
+
<line num="158" count="203" type="stmt"/>
|
|
1360
|
+
<line num="159" count="203" type="stmt"/>
|
|
1045
1361
|
<line num="162" count="1" type="stmt"/>
|
|
1046
1362
|
<line num="163" count="1" type="stmt"/>
|
|
1047
1363
|
<line num="167" count="20" type="stmt"/>
|
|
1048
1364
|
<line num="168" count="20" type="stmt"/>
|
|
1049
1365
|
<line num="173" count="1" type="stmt"/>
|
|
1050
1366
|
<line num="177" count="2" type="stmt"/>
|
|
1051
|
-
<line num="181" count="
|
|
1367
|
+
<line num="181" count="6" type="stmt"/>
|
|
1052
1368
|
</file>
|
|
1053
1369
|
<file name="metrics.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/metrics.ts">
|
|
1054
1370
|
<metrics statements="59" coveredstatements="58" conditionals="20" coveredconditionals="19" methods="14" coveredmethods="13"/>
|
|
1055
|
-
<line num="47" count="
|
|
1056
|
-
<line num="48" count="
|
|
1057
|
-
<line num="49" count="
|
|
1058
|
-
<line num="50" count="
|
|
1059
|
-
<line num="51" count="
|
|
1060
|
-
<line num="52" count="
|
|
1061
|
-
<line num="53" count="
|
|
1062
|
-
<line num="54" count="
|
|
1063
|
-
<line num="55" count="
|
|
1064
|
-
<line num="56" count="
|
|
1065
|
-
<line num="57" count="
|
|
1066
|
-
<line num="58" count="
|
|
1067
|
-
<line num="59" count="
|
|
1068
|
-
<line num="63" count="
|
|
1371
|
+
<line num="47" count="5" type="stmt"/>
|
|
1372
|
+
<line num="48" count="104" type="stmt"/>
|
|
1373
|
+
<line num="49" count="104" type="stmt"/>
|
|
1374
|
+
<line num="50" count="104" type="stmt"/>
|
|
1375
|
+
<line num="51" count="104" type="stmt"/>
|
|
1376
|
+
<line num="52" count="104" type="stmt"/>
|
|
1377
|
+
<line num="53" count="104" type="stmt"/>
|
|
1378
|
+
<line num="54" count="104" type="stmt"/>
|
|
1379
|
+
<line num="55" count="104" type="stmt"/>
|
|
1380
|
+
<line num="56" count="104" type="stmt"/>
|
|
1381
|
+
<line num="57" count="104" type="stmt"/>
|
|
1382
|
+
<line num="58" count="104" type="stmt"/>
|
|
1383
|
+
<line num="59" count="104" type="stmt"/>
|
|
1384
|
+
<line num="63" count="104" type="stmt"/>
|
|
1069
1385
|
<line num="70" count="1536" type="stmt"/>
|
|
1070
1386
|
<line num="71" count="1536" type="cond" truecount="2" falsecount="0"/>
|
|
1071
1387
|
<line num="72" count="1523" type="stmt"/>
|
|
@@ -1114,7 +1430,7 @@
|
|
|
1114
1430
|
</file>
|
|
1115
1431
|
<file name="rate-limiter.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/rate-limiter.ts">
|
|
1116
1432
|
<metrics statements="32" coveredstatements="32" conditionals="6" coveredconditionals="5" methods="8" coveredmethods="8"/>
|
|
1117
|
-
<line num="11" count="
|
|
1433
|
+
<line num="11" count="5" type="stmt"/>
|
|
1118
1434
|
<line num="19" count="11" type="stmt"/>
|
|
1119
1435
|
<line num="20" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
1120
1436
|
<line num="21" count="11" type="stmt"/>
|
|
@@ -1149,13 +1465,13 @@
|
|
|
1149
1465
|
</file>
|
|
1150
1466
|
<file name="retry.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/retry.ts">
|
|
1151
1467
|
<metrics statements="37" coveredstatements="36" conditionals="19" coveredconditionals="19" methods="13" coveredmethods="13"/>
|
|
1152
|
-
<line num="15" count="
|
|
1468
|
+
<line num="15" count="5" type="stmt"/>
|
|
1153
1469
|
<line num="18" count="2" type="stmt"/>
|
|
1154
1470
|
<line num="19" count="2" type="stmt"/>
|
|
1155
1471
|
<line num="21" count="2" type="stmt"/>
|
|
1156
1472
|
<line num="22" count="2" type="stmt"/>
|
|
1157
|
-
<line num="26" count="
|
|
1158
|
-
<line num="30" count="
|
|
1473
|
+
<line num="26" count="5" type="stmt"/>
|
|
1474
|
+
<line num="30" count="97" type="stmt"/>
|
|
1159
1475
|
<line num="53" count="26" type="stmt"/>
|
|
1160
1476
|
<line num="55" count="26" type="stmt"/>
|
|
1161
1477
|
<line num="56" count="39" type="stmt"/>
|
|
@@ -1179,7 +1495,7 @@
|
|
|
1179
1495
|
<line num="112" count="13" type="stmt"/>
|
|
1180
1496
|
<line num="114" count="13" type="stmt"/>
|
|
1181
1497
|
<line num="121" count="13" type="stmt"/>
|
|
1182
|
-
<line num="128" count="
|
|
1498
|
+
<line num="128" count="5" type="stmt"/>
|
|
1183
1499
|
<line num="129" count="1" type="stmt"/>
|
|
1184
1500
|
<line num="131" count="1" type="stmt"/>
|
|
1185
1501
|
<line num="132" count="1" type="stmt"/>
|