@hazeljs/agent 0.8.1 → 0.8.2

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.
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1775921845779" clover="3.2.0">
3
- <project timestamp="1775921845780" name="All files">
2
+ <coverage generated="1776096161933" clover="3.2.0">
3
+ <project timestamp="1776096161933" name="All files">
4
4
  <metrics statements="1861" coveredstatements="1653" conditionals="730" coveredconditionals="544" methods="362" coveredmethods="329" elements="2953" coveredelements="2526" complexity="0" loc="1861" ncloc="1861" packages="15" files="36" classes="36"/>
5
5
  <package name="src">
6
6
  <metrics statements="90" coveredstatements="67" conditionals="39" coveredconditionals="30" methods="30" coveredmethods="22"/>
@@ -1872,32 +1872,32 @@
1872
1872
  <line num="21" count="11" type="stmt"/>
1873
1873
  <line num="22" count="11" type="stmt"/>
1874
1874
  <line num="23" count="11" type="stmt"/>
1875
- <line num="31" count="24" type="stmt"/>
1876
- <line num="33" count="24" type="cond" truecount="1" falsecount="0"/>
1875
+ <line num="31" count="23" type="stmt"/>
1876
+ <line num="33" count="23" type="cond" truecount="1" falsecount="0"/>
1877
1877
  <line num="34" count="14" type="stmt"/>
1878
1878
  <line num="35" count="14" type="stmt"/>
1879
- <line num="38" count="10" type="stmt"/>
1879
+ <line num="38" count="9" type="stmt"/>
1880
1880
  <line num="47" count="4" type="stmt"/>
1881
1881
  <line num="49" count="4" type="stmt"/>
1882
- <line num="50" count="10" type="cond" truecount="1" falsecount="0"/>
1882
+ <line num="50" count="9" type="cond" truecount="1" falsecount="0"/>
1883
1883
  <line num="51" count="2" type="stmt"/>
1884
- <line num="55" count="8" type="stmt"/>
1885
- <line num="56" count="8" type="stmt"/>
1886
- <line num="57" count="8" type="stmt"/>
1887
- <line num="58" count="8" type="stmt"/>
1888
- <line num="60" count="8" type="cond" truecount="1" falsecount="0"/>
1889
- <line num="61" count="8" type="stmt"/>
1884
+ <line num="55" count="7" type="stmt"/>
1885
+ <line num="56" count="7" type="stmt"/>
1886
+ <line num="57" count="7" type="stmt"/>
1887
+ <line num="58" count="7" type="stmt"/>
1888
+ <line num="60" count="7" type="cond" truecount="1" falsecount="0"/>
1889
+ <line num="61" count="7" type="stmt"/>
1890
1890
  <line num="65" count="2" type="stmt"/>
1891
1891
  <line num="72" count="6" type="stmt"/>
1892
1892
  <line num="73" count="6" type="stmt"/>
1893
1893
  <line num="80" count="1" type="stmt"/>
1894
1894
  <line num="81" count="1" type="stmt"/>
1895
- <line num="88" count="30" type="stmt"/>
1896
- <line num="89" count="30" type="stmt"/>
1897
- <line num="90" count="30" type="stmt"/>
1898
- <line num="92" count="30" type="stmt"/>
1899
- <line num="93" count="30" type="stmt"/>
1900
- <line num="100" count="8" type="stmt"/>
1895
+ <line num="88" count="29" type="stmt"/>
1896
+ <line num="89" count="29" type="stmt"/>
1897
+ <line num="90" count="29" type="stmt"/>
1898
+ <line num="92" count="29" type="stmt"/>
1899
+ <line num="93" count="29" type="stmt"/>
1900
+ <line num="100" count="7" type="stmt"/>
1901
1901
  </file>
1902
1902
  <file name="retry.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/retry.ts">
1903
1903
  <metrics statements="37" coveredstatements="36" conditionals="19" coveredconditionals="19" methods="13" coveredmethods="13"/>
@@ -311,7 +311,7 @@
311
311
  <div class='footer quiet pad2 space-top1 center small'>
312
312
  Code coverage generated by
313
313
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
314
- at 2026-04-11T15:37:25.739Z
314
+ at 2026-04-13T16:02:41.895Z
315
315
  </div>
316
316
  <script src="prettify.js"></script>
317
317
  <script>
@@ -3363,45 +3363,45 @@ FN:100,(anonymous_7)
3363
3363
  FNF:8
3364
3364
  FNH:8
3365
3365
  FNDA:11,(anonymous_0)
3366
- FNDA:24,(anonymous_1)
3366
+ FNDA:23,(anonymous_1)
3367
3367
  FNDA:4,(anonymous_2)
3368
3368
  FNDA:6,(anonymous_3)
3369
3369
  FNDA:1,(anonymous_4)
3370
- FNDA:30,(anonymous_5)
3371
- FNDA:8,(anonymous_6)
3372
- FNDA:8,(anonymous_7)
3370
+ FNDA:29,(anonymous_5)
3371
+ FNDA:7,(anonymous_6)
3372
+ FNDA:7,(anonymous_7)
3373
3373
  DA:11,5
3374
3374
  DA:19,11
3375
3375
  DA:20,11
3376
3376
  DA:21,11
3377
3377
  DA:22,11
3378
3378
  DA:23,11
3379
- DA:31,24
3380
- DA:33,24
3379
+ DA:31,23
3380
+ DA:33,23
3381
3381
  DA:34,14
3382
3382
  DA:35,14
3383
- DA:38,10
3383
+ DA:38,9
3384
3384
  DA:47,4
3385
3385
  DA:49,4
3386
- DA:50,10
3386
+ DA:50,9
3387
3387
  DA:51,2
3388
- DA:55,8
3389
- DA:56,8
3390
- DA:57,8
3391
- DA:58,8
3392
- DA:60,8
3393
- DA:61,8
3388
+ DA:55,7
3389
+ DA:56,7
3390
+ DA:57,7
3391
+ DA:58,7
3392
+ DA:60,7
3393
+ DA:61,7
3394
3394
  DA:65,2
3395
3395
  DA:72,6
3396
3396
  DA:73,6
3397
3397
  DA:80,1
3398
3398
  DA:81,1
3399
- DA:88,30
3400
- DA:89,30
3401
- DA:90,30
3402
- DA:92,30
3403
- DA:93,30
3404
- DA:100,8
3399
+ DA:88,29
3400
+ DA:89,29
3401
+ DA:90,29
3402
+ DA:92,29
3403
+ DA:93,29
3404
+ DA:100,7
3405
3405
  LF:32
3406
3406
  LH:32
3407
3407
  BRDA:20,0,0,11
@@ -3409,7 +3409,7 @@ BRDA:20,0,1,5
3409
3409
  BRDA:33,1,0,14
3410
3410
  BRDA:46,2,0,0
3411
3411
  BRDA:50,3,0,2
3412
- BRDA:60,4,0,8
3412
+ BRDA:60,4,0,7
3413
3413
  BRF:6
3414
3414
  BRH:5
3415
3415
  end_of_record
package/logs/combined.log CHANGED
@@ -1 +1 @@
1
- 2026-04-11 15:37:18 [INFO] Application started | {"service":"hazeljs","version":"0.1.0","environment":"test"}
1
+ 2026-04-13 16:02:34 [INFO] Application started | {"service":"hazeljs","version":"0.1.0","environment":"test"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hazeljs/agent",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "AI-native Agent Runtime for HazelJS - stateful, long-running agents with tools, memory, and human-in-the-loop",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,16 +33,16 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@hazeljs/core": "^0.8.1",
37
- "@hazeljs/eval": "^0.8.1",
38
- "@hazeljs/prompts": "^0.8.1",
39
- "@hazeljs/rag": "^0.8.1",
40
- "@hazeljs/resilience": "^0.8.1",
41
36
  "reflect-metadata": "^0.2.2",
42
37
  "zod": "^3.25.76",
43
38
  "zod-to-json-schema": "^3.25.2"
44
39
  },
45
40
  "devDependencies": {
41
+ "@hazeljs/core": "^0.8.2",
42
+ "@hazeljs/eval": "^0.8.2",
43
+ "@hazeljs/prompts": "^0.8.2",
44
+ "@hazeljs/rag": "^0.8.2",
45
+ "@hazeljs/resilience": "^0.8.2",
46
46
  "@types/jest": "^29.5.14",
47
47
  "@types/node": "^20.19.39",
48
48
  "jest": "^29.7.0",
@@ -50,10 +50,12 @@
50
50
  "typescript": "^5.9.3"
51
51
  },
52
52
  "peerDependencies": {
53
- "@hazeljs/core": ">=0.2.0-beta.0",
54
- "@hazeljs/eval": ">=0.2.0-beta.0",
55
- "@hazeljs/guardrails": ">=0.2.0-beta.0",
56
- "@hazeljs/rag": ">=0.2.0-beta.0",
53
+ "@hazeljs/core": "^0.8.2",
54
+ "@hazeljs/eval": "^0.8.2",
55
+ "@hazeljs/guardrails": "^0.8.2",
56
+ "@hazeljs/prompts": "^0.8.2",
57
+ "@hazeljs/rag": "^0.8.2",
58
+ "@hazeljs/resilience": "^0.8.2",
57
59
  "redis": ">=4.0.0"
58
60
  },
59
61
  "peerDependenciesMeta": {
@@ -78,5 +80,5 @@
78
80
  "url": "https://github.com/hazeljs/hazel-js/issues"
79
81
  },
80
82
  "homepage": "https://hazeljs.ai",
81
- "gitHead": "8b7685d1250c4622f25d83992f58e13a59bb3dba"
83
+ "gitHead": "e2335a3f30947e87c484b27e91a0669a24f78809"
82
84
  }