@ai-sdk/harness-deepagents 1.0.117 → 1.0.119
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/CHANGELOG.md +18 -0
- package/dist/bridge/index.mjs +47 -47
- package/dist/bridge/index.mjs.map +1 -1
- package/dist/bridge/package.json +5 -5
- package/dist/bridge/pnpm-lock.yaml +92 -85
- package/dist/index.d.ts +8 -0
- package/dist/index.js +43 -9
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/bridge/package.json +5 -5
- package/src/bridge/pnpm-lock.yaml +92 -85
- package/src/deepagents-harness.ts +54 -6
|
@@ -9,23 +9,23 @@ importers:
|
|
|
9
9
|
.:
|
|
10
10
|
dependencies:
|
|
11
11
|
'@langchain/anthropic':
|
|
12
|
-
specifier: ^1.5.
|
|
13
|
-
version: 1.5.
|
|
12
|
+
specifier: ^1.5.10
|
|
13
|
+
version: 1.5.10(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
14
14
|
'@langchain/core':
|
|
15
|
-
specifier: ^1.2.
|
|
16
|
-
version: 1.2.
|
|
15
|
+
specifier: ^1.2.11
|
|
16
|
+
version: 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
17
17
|
'@langchain/langgraph':
|
|
18
|
-
specifier: ^1.4.
|
|
19
|
-
version: 1.4.
|
|
18
|
+
specifier: ^1.4.15
|
|
19
|
+
version: 1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)
|
|
20
20
|
'@langchain/mcp-adapters':
|
|
21
21
|
specifier: 1.1.3
|
|
22
|
-
version: 1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.
|
|
22
|
+
version: 1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(@langchain/langgraph@1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3))
|
|
23
23
|
deepagents:
|
|
24
|
-
specifier: 1.13.
|
|
25
|
-
version: 1.13.
|
|
24
|
+
specifier: 1.13.5
|
|
25
|
+
version: 1.13.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(@langchain/langgraph-checkpoint@1.1.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph-sdk@1.11.0(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph@1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3))(langchain@1.5.11(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(langsmith@0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
26
26
|
langchain:
|
|
27
|
-
specifier: ^1.5.
|
|
28
|
-
version: 1.5.
|
|
27
|
+
specifier: ^1.5.11
|
|
28
|
+
version: 1.5.11(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
29
29
|
langsmith:
|
|
30
30
|
specifier: ^0.9.0
|
|
31
31
|
version: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
@@ -38,8 +38,8 @@ importers:
|
|
|
38
38
|
|
|
39
39
|
packages:
|
|
40
40
|
|
|
41
|
-
'@anthropic-ai/sdk@0.
|
|
42
|
-
resolution: {integrity: sha512-
|
|
41
|
+
'@anthropic-ai/sdk@0.122.0':
|
|
42
|
+
resolution: {integrity: sha512-GGPNftt0caaz9MDlmNQGHX8855Ojaduyy5pm9Sm1h7HalCn0cWNb5/bweadJF+4yzbal+QL6ztBa09WAAOzLmQ==}
|
|
43
43
|
hasBin: true
|
|
44
44
|
peerDependencies:
|
|
45
45
|
zod: ^3.25.0 || ^4.0.0
|
|
@@ -60,14 +60,14 @@ packages:
|
|
|
60
60
|
peerDependencies:
|
|
61
61
|
hono: ^4
|
|
62
62
|
|
|
63
|
-
'@langchain/anthropic@1.5.
|
|
64
|
-
resolution: {integrity: sha512-
|
|
63
|
+
'@langchain/anthropic@1.5.10':
|
|
64
|
+
resolution: {integrity: sha512-Dr1rAX2TQrRvRhUk38dprfNHCJ3ehuvKxBSd989fLm+BetjvBlNRs/Md+SJmGyj78AXr/K7yL56amXcl/IwOfw==}
|
|
65
65
|
engines: {node: '>=20'}
|
|
66
66
|
peerDependencies:
|
|
67
|
-
'@langchain/core': ^1.2.
|
|
67
|
+
'@langchain/core': ^1.2.10
|
|
68
68
|
|
|
69
|
-
'@langchain/core@1.2.
|
|
70
|
-
resolution: {integrity: sha512-
|
|
69
|
+
'@langchain/core@1.2.11':
|
|
70
|
+
resolution: {integrity: sha512-8yuWLLloTSYA453akm2JSadOVa8kGDY8v+kTzQ6kTY6aIETTEIxgysjZWyKrWQLo3UazctsSoGJ8JrdCGFL4/w==}
|
|
71
71
|
engines: {node: '>=20'}
|
|
72
72
|
|
|
73
73
|
'@langchain/langgraph-checkpoint@1.1.5':
|
|
@@ -76,26 +76,20 @@ packages:
|
|
|
76
76
|
peerDependencies:
|
|
77
77
|
'@langchain/core': ^1.1.48
|
|
78
78
|
|
|
79
|
-
'@langchain/langgraph-sdk@1.
|
|
80
|
-
resolution: {integrity: sha512-
|
|
79
|
+
'@langchain/langgraph-sdk@1.11.0':
|
|
80
|
+
resolution: {integrity: sha512-Gk6mrCs2fbqKr3luQxVM5ZEcpjK35QO5w/Tr9h/RQPzeKqrsHyPrP4NR9udfgy1ycu7KvvoZ3V0t3beN/edx0g==}
|
|
81
81
|
peerDependencies:
|
|
82
82
|
'@langchain/core': ^1.1.48
|
|
83
83
|
react: ^18 || ^19
|
|
84
84
|
react-dom: ^18 || ^19
|
|
85
|
-
svelte: ^4.0.0 || ^5.0.0
|
|
86
|
-
vue: ^3.0.0
|
|
87
85
|
peerDependenciesMeta:
|
|
88
86
|
react:
|
|
89
87
|
optional: true
|
|
90
88
|
react-dom:
|
|
91
89
|
optional: true
|
|
92
|
-
svelte:
|
|
93
|
-
optional: true
|
|
94
|
-
vue:
|
|
95
|
-
optional: true
|
|
96
90
|
|
|
97
|
-
'@langchain/langgraph@1.4.
|
|
98
|
-
resolution: {integrity: sha512-
|
|
91
|
+
'@langchain/langgraph@1.4.15':
|
|
92
|
+
resolution: {integrity: sha512-QG8led1xbFfgikAIF9E5G1Kp1KLtq/xv7YASWy+wnPftQw0Hxu0kpPXl0Q1U2Dfpwb8w/Vfz0QarUR8eI/xtRw==}
|
|
99
93
|
engines: {node: '>=18'}
|
|
100
94
|
peerDependencies:
|
|
101
95
|
'@langchain/core': ^1.1.48
|
|
@@ -108,8 +102,8 @@ packages:
|
|
|
108
102
|
'@langchain/core': ^1.0.0
|
|
109
103
|
'@langchain/langgraph': ^1.0.0
|
|
110
104
|
|
|
111
|
-
'@langchain/protocol@0.0.
|
|
112
|
-
resolution: {integrity: sha512-
|
|
105
|
+
'@langchain/protocol@0.0.19':
|
|
106
|
+
resolution: {integrity: sha512-9hKcRrH7cBX6gfutdfXPoft1OCchHe4FEpALoDJMl5Qu+n/YG5ynZmyu8+8cxORlPwHBoKTxggvXz+76M1yX1Q==}
|
|
113
107
|
|
|
114
108
|
'@modelcontextprotocol/sdk@1.30.0':
|
|
115
109
|
resolution: {integrity: sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==}
|
|
@@ -217,8 +211,8 @@ packages:
|
|
|
217
211
|
supports-color:
|
|
218
212
|
optional: true
|
|
219
213
|
|
|
220
|
-
deepagents@1.13.
|
|
221
|
-
resolution: {integrity: sha512-
|
|
214
|
+
deepagents@1.13.5:
|
|
215
|
+
resolution: {integrity: sha512-JfvBAwiUR5TrkSOMAXiJXKp3ZhuLMr3PW1DumZ6bXuuu74nokcADmtYfzHvsf+NMe3tOkvA+oU2S/p03yxBc4Q==}
|
|
222
216
|
peerDependencies:
|
|
223
217
|
'@langchain/core': ^1.2.9
|
|
224
218
|
'@langchain/langgraph': ^1.4.10
|
|
@@ -301,8 +295,8 @@ packages:
|
|
|
301
295
|
fast-uri@3.1.5:
|
|
302
296
|
resolution: {integrity: sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==}
|
|
303
297
|
|
|
304
|
-
fastq@1.20.
|
|
305
|
-
resolution: {integrity: sha512-
|
|
298
|
+
fastq@1.20.3:
|
|
299
|
+
resolution: {integrity: sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==}
|
|
306
300
|
|
|
307
301
|
fill-range@7.1.1:
|
|
308
302
|
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
|
|
@@ -408,11 +402,11 @@ packages:
|
|
|
408
402
|
json-schema-typed@8.0.2:
|
|
409
403
|
resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==}
|
|
410
404
|
|
|
411
|
-
langchain@1.5.
|
|
412
|
-
resolution: {integrity: sha512-
|
|
405
|
+
langchain@1.5.11:
|
|
406
|
+
resolution: {integrity: sha512-6Sx9N5ylAJ11WrP1QnJLSIo75UABZbshzTJgG28H4mXuGcDk+w+7ZaNLkmGIh9sy/3PZcYS8UrI2rvH6A8NYIg==}
|
|
413
407
|
engines: {node: '>=20'}
|
|
414
408
|
peerDependencies:
|
|
415
|
-
'@langchain/core': ^1.2.
|
|
409
|
+
'@langchain/core': ^1.2.10
|
|
416
410
|
|
|
417
411
|
langsmith@0.9.0:
|
|
418
412
|
resolution: {integrity: sha512-tlg/aG7qezAKY6G3fgADSX7PkRj+JKoF3z7QNkCMsAOvwvuzhiwP9Amn1Z+zAIxuKoWuXQdIjtFN0LVmUC1oUQ==}
|
|
@@ -614,8 +608,8 @@ packages:
|
|
|
614
608
|
resolution: {integrity: sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==}
|
|
615
609
|
engines: {node: '>= 0.4'}
|
|
616
610
|
|
|
617
|
-
standardwebhooks@1.
|
|
618
|
-
resolution: {integrity: sha512-
|
|
611
|
+
standardwebhooks@1.1.1:
|
|
612
|
+
resolution: {integrity: sha512-bCbX9ZEyFkWPsRz7Bl3NuQUJohmwGSev/yhr7vhaGPlc4AfIrspIRa6cPTBuI1ItmrTDJ4d/S2hCsfe4+vQGnQ==}
|
|
619
613
|
|
|
620
614
|
statuses@2.0.2:
|
|
621
615
|
resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}
|
|
@@ -664,8 +658,8 @@ packages:
|
|
|
664
658
|
utf-8-validate:
|
|
665
659
|
optional: true
|
|
666
660
|
|
|
667
|
-
yaml@2.9.
|
|
668
|
-
resolution: {integrity: sha512-
|
|
661
|
+
yaml@2.9.1:
|
|
662
|
+
resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==}
|
|
669
663
|
engines: {node: '>= 14.6'}
|
|
670
664
|
hasBin: true
|
|
671
665
|
|
|
@@ -677,14 +671,17 @@ packages:
|
|
|
677
671
|
zod@4.4.3:
|
|
678
672
|
resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}
|
|
679
673
|
|
|
674
|
+
zod@4.6.5:
|
|
675
|
+
resolution: {integrity: sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==}
|
|
676
|
+
|
|
680
677
|
snapshots:
|
|
681
678
|
|
|
682
|
-
'@anthropic-ai/sdk@0.
|
|
679
|
+
'@anthropic-ai/sdk@0.122.0(zod@4.6.5)':
|
|
683
680
|
dependencies:
|
|
684
681
|
json-schema-to-ts: 3.1.1
|
|
685
|
-
standardwebhooks: 1.
|
|
682
|
+
standardwebhooks: 1.1.1
|
|
686
683
|
optionalDependencies:
|
|
687
|
-
zod: 4.
|
|
684
|
+
zod: 4.6.5
|
|
688
685
|
|
|
689
686
|
'@babel/runtime@7.29.7': {}
|
|
690
687
|
|
|
@@ -694,13 +691,13 @@ snapshots:
|
|
|
694
691
|
dependencies:
|
|
695
692
|
hono: 4.13.1
|
|
696
693
|
|
|
697
|
-
'@langchain/anthropic@1.5.
|
|
694
|
+
'@langchain/anthropic@1.5.10(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))':
|
|
698
695
|
dependencies:
|
|
699
|
-
'@anthropic-ai/sdk': 0.
|
|
700
|
-
'@langchain/core': 1.2.
|
|
701
|
-
zod: 4.
|
|
696
|
+
'@anthropic-ai/sdk': 0.122.0(zod@4.6.5)
|
|
697
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
698
|
+
zod: 4.6.5
|
|
702
699
|
|
|
703
|
-
'@langchain/core@1.2.
|
|
700
|
+
'@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)':
|
|
704
701
|
dependencies:
|
|
705
702
|
'@cfworker/json-schema': 4.1.1
|
|
706
703
|
'@standard-schema/spec': 1.1.0
|
|
@@ -708,7 +705,7 @@ snapshots:
|
|
|
708
705
|
langsmith: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
709
706
|
mustache: 4.2.0
|
|
710
707
|
p-queue: 6.6.2
|
|
711
|
-
zod: 4.
|
|
708
|
+
zod: 4.6.5
|
|
712
709
|
transitivePeerDependencies:
|
|
713
710
|
- '@opentelemetry/api'
|
|
714
711
|
- '@opentelemetry/exporter-trace-otlp-proto'
|
|
@@ -716,36 +713,46 @@ snapshots:
|
|
|
716
713
|
- openai
|
|
717
714
|
- ws
|
|
718
715
|
|
|
719
|
-
'@langchain/langgraph-checkpoint@1.1.5(@langchain/core@1.2.
|
|
716
|
+
'@langchain/langgraph-checkpoint@1.1.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))':
|
|
720
717
|
dependencies:
|
|
721
|
-
'@langchain/core': 1.2.
|
|
718
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
722
719
|
|
|
723
|
-
'@langchain/langgraph-sdk@1.
|
|
720
|
+
'@langchain/langgraph-sdk@1.11.0(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))':
|
|
724
721
|
dependencies:
|
|
725
|
-
'@langchain/core': 1.2.
|
|
726
|
-
'@langchain/protocol': 0.0.
|
|
722
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
723
|
+
'@langchain/protocol': 0.0.19
|
|
727
724
|
'@types/json-schema': 7.0.15
|
|
728
725
|
p-queue: 9.3.1
|
|
729
726
|
p-retry: 7.1.1
|
|
730
727
|
|
|
731
|
-
'@langchain/langgraph@1.4.
|
|
728
|
+
'@langchain/langgraph@1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)':
|
|
732
729
|
dependencies:
|
|
733
|
-
'@langchain/core': 1.2.
|
|
734
|
-
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.
|
|
735
|
-
'@langchain/langgraph-sdk': 1.
|
|
736
|
-
'@langchain/protocol': 0.0.
|
|
730
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
731
|
+
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
732
|
+
'@langchain/langgraph-sdk': 1.11.0(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
733
|
+
'@langchain/protocol': 0.0.19
|
|
737
734
|
'@standard-schema/spec': 1.1.0
|
|
738
735
|
zod: 4.4.3
|
|
739
736
|
transitivePeerDependencies:
|
|
740
737
|
- react
|
|
741
738
|
- react-dom
|
|
742
|
-
- svelte
|
|
743
|
-
- vue
|
|
744
739
|
|
|
745
|
-
'@langchain/
|
|
740
|
+
'@langchain/langgraph@1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.6.5)':
|
|
746
741
|
dependencies:
|
|
747
|
-
'@langchain/core': 1.2.
|
|
748
|
-
'@langchain/langgraph': 1.
|
|
742
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
743
|
+
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
744
|
+
'@langchain/langgraph-sdk': 1.11.0(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
745
|
+
'@langchain/protocol': 0.0.19
|
|
746
|
+
'@standard-schema/spec': 1.1.0
|
|
747
|
+
zod: 4.6.5
|
|
748
|
+
transitivePeerDependencies:
|
|
749
|
+
- react
|
|
750
|
+
- react-dom
|
|
751
|
+
|
|
752
|
+
'@langchain/mcp-adapters@1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(@langchain/langgraph@1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3))':
|
|
753
|
+
dependencies:
|
|
754
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
755
|
+
'@langchain/langgraph': 1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)
|
|
749
756
|
'@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
|
|
750
757
|
debug: 4.4.3
|
|
751
758
|
zod: 4.4.3
|
|
@@ -755,7 +762,7 @@ snapshots:
|
|
|
755
762
|
- '@cfworker/json-schema'
|
|
756
763
|
- supports-color
|
|
757
764
|
|
|
758
|
-
'@langchain/protocol@0.0.
|
|
765
|
+
'@langchain/protocol@0.0.19': {}
|
|
759
766
|
|
|
760
767
|
'@modelcontextprotocol/sdk@1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)':
|
|
761
768
|
dependencies:
|
|
@@ -791,7 +798,7 @@ snapshots:
|
|
|
791
798
|
'@nodelib/fs.walk@1.2.8':
|
|
792
799
|
dependencies:
|
|
793
800
|
'@nodelib/fs.scandir': 2.1.5
|
|
794
|
-
fastq: 1.20.
|
|
801
|
+
fastq: 1.20.3
|
|
795
802
|
|
|
796
803
|
'@stablelib/base64@1.0.1': {}
|
|
797
804
|
|
|
@@ -872,18 +879,18 @@ snapshots:
|
|
|
872
879
|
dependencies:
|
|
873
880
|
ms: 2.1.3
|
|
874
881
|
|
|
875
|
-
deepagents@1.13.
|
|
882
|
+
deepagents@1.13.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(@langchain/langgraph-checkpoint@1.1.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph-sdk@1.11.0(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph@1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3))(langchain@1.5.11(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(langsmith@0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)):
|
|
876
883
|
dependencies:
|
|
877
|
-
'@langchain/core': 1.2.
|
|
878
|
-
'@langchain/langgraph': 1.4.
|
|
879
|
-
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.
|
|
880
|
-
'@langchain/langgraph-sdk': 1.
|
|
884
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
885
|
+
'@langchain/langgraph': 1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)
|
|
886
|
+
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
887
|
+
'@langchain/langgraph-sdk': 1.11.0(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
881
888
|
fast-glob: 3.3.3
|
|
882
|
-
langchain: 1.5.
|
|
889
|
+
langchain: 1.5.11(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
883
890
|
langsmith: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
884
891
|
micromatch: 4.0.8
|
|
885
|
-
yaml: 2.9.
|
|
886
|
-
zod: 4.
|
|
892
|
+
yaml: 2.9.1
|
|
893
|
+
zod: 4.6.5
|
|
887
894
|
|
|
888
895
|
depd@2.0.0: {}
|
|
889
896
|
|
|
@@ -977,7 +984,7 @@ snapshots:
|
|
|
977
984
|
|
|
978
985
|
fast-uri@3.1.5: {}
|
|
979
986
|
|
|
980
|
-
fastq@1.20.
|
|
987
|
+
fastq@1.20.3:
|
|
981
988
|
dependencies:
|
|
982
989
|
reusify: 1.1.0
|
|
983
990
|
|
|
@@ -1081,13 +1088,13 @@ snapshots:
|
|
|
1081
1088
|
|
|
1082
1089
|
json-schema-typed@8.0.2: {}
|
|
1083
1090
|
|
|
1084
|
-
langchain@1.5.
|
|
1091
|
+
langchain@1.5.11(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0):
|
|
1085
1092
|
dependencies:
|
|
1086
|
-
'@langchain/core': 1.2.
|
|
1087
|
-
'@langchain/langgraph': 1.4.
|
|
1088
|
-
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.
|
|
1093
|
+
'@langchain/core': 1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
1094
|
+
'@langchain/langgraph': 1.4.15(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.6.5)
|
|
1095
|
+
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.11(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
1089
1096
|
langsmith: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
1090
|
-
zod: 4.
|
|
1097
|
+
zod: 4.6.5
|
|
1091
1098
|
transitivePeerDependencies:
|
|
1092
1099
|
- '@opentelemetry/api'
|
|
1093
1100
|
- '@opentelemetry/exporter-trace-otlp-proto'
|
|
@@ -1095,8 +1102,6 @@ snapshots:
|
|
|
1095
1102
|
- openai
|
|
1096
1103
|
- react
|
|
1097
1104
|
- react-dom
|
|
1098
|
-
- svelte
|
|
1099
|
-
- vue
|
|
1100
1105
|
- ws
|
|
1101
1106
|
|
|
1102
1107
|
langsmith@0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0):
|
|
@@ -1283,7 +1288,7 @@ snapshots:
|
|
|
1283
1288
|
side-channel-map: 1.0.1
|
|
1284
1289
|
side-channel-weakmap: 1.0.2
|
|
1285
1290
|
|
|
1286
|
-
standardwebhooks@1.
|
|
1291
|
+
standardwebhooks@1.1.1:
|
|
1287
1292
|
dependencies:
|
|
1288
1293
|
'@stablelib/base64': 1.0.1
|
|
1289
1294
|
fast-sha256: 1.3.0
|
|
@@ -1316,10 +1321,12 @@ snapshots:
|
|
|
1316
1321
|
|
|
1317
1322
|
ws@8.21.0: {}
|
|
1318
1323
|
|
|
1319
|
-
yaml@2.9.
|
|
1324
|
+
yaml@2.9.1: {}
|
|
1320
1325
|
|
|
1321
1326
|
zod-to-json-schema@3.25.2(zod@4.4.3):
|
|
1322
1327
|
dependencies:
|
|
1323
1328
|
zod: 4.4.3
|
|
1324
1329
|
|
|
1325
1330
|
zod@4.4.3: {}
|
|
1331
|
+
|
|
1332
|
+
zod@4.6.5: {}
|
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
waitForBridgeReady,
|
|
37
37
|
withBridgeToken,
|
|
38
38
|
writeSkills,
|
|
39
|
+
type SandboxChannelReconnectOptions,
|
|
39
40
|
} from '@ai-sdk/harness/utils';
|
|
40
41
|
import {
|
|
41
42
|
tool,
|
|
@@ -113,6 +114,13 @@ export type DeepAgentsHarnessSettings = {
|
|
|
113
114
|
readonly portEndpoint?: HarnessV1PortEndpoint;
|
|
114
115
|
/** Maximum milliseconds to wait for the bridge to advertise its port. Defaults to 120000. */
|
|
115
116
|
readonly startupTimeoutMs?: number;
|
|
117
|
+
/**
|
|
118
|
+
* Configures reconnection attempts after an established bridge connection
|
|
119
|
+
* drops. The reconnect window includes connection establishment and
|
|
120
|
+
* backoff delays. Defaults to 30 seconds with exponential backoff from 50
|
|
121
|
+
* milliseconds up to 2 seconds.
|
|
122
|
+
*/
|
|
123
|
+
readonly reconnect?: SandboxChannelReconnectOptions;
|
|
116
124
|
/**
|
|
117
125
|
* Creates the authentication token used by the sandbox bridge. Defaults to
|
|
118
126
|
* a random 32-byte hexadecimal token.
|
|
@@ -334,11 +342,13 @@ export function createDeepAgents(
|
|
|
334
342
|
token: coords.token,
|
|
335
343
|
});
|
|
336
344
|
const attachChannel: DeepAgentsChannel = new SandboxChannel({
|
|
337
|
-
connect: () =>
|
|
345
|
+
connect: ({ abortSignal }) =>
|
|
346
|
+
openWebSocket({ ...attachEndpoint, abortSignal }),
|
|
338
347
|
outboundSchema: outboundMessageSchema,
|
|
339
348
|
initialLastSeenEventId: coords.lastSeenEventId,
|
|
340
349
|
onDiagnostic,
|
|
341
350
|
onBridgeError,
|
|
351
|
+
reconnect: settings.reconnect,
|
|
342
352
|
});
|
|
343
353
|
await attachChannel.open(isContinue ? { resume: true } : undefined);
|
|
344
354
|
return createSession({
|
|
@@ -457,10 +467,12 @@ export function createDeepAgents(
|
|
|
457
467
|
const bridgeEndpoint = withBridgeToken({ endpoint, token });
|
|
458
468
|
|
|
459
469
|
const channel: DeepAgentsChannel = new SandboxChannel({
|
|
460
|
-
connect: () =>
|
|
470
|
+
connect: ({ abortSignal }) =>
|
|
471
|
+
openWebSocket({ ...bridgeEndpoint, abortSignal }),
|
|
461
472
|
outboundSchema: outboundMessageSchema,
|
|
462
473
|
onDiagnostic,
|
|
463
474
|
onBridgeError,
|
|
475
|
+
reconnect: settings.reconnect,
|
|
464
476
|
});
|
|
465
477
|
await channel.open();
|
|
466
478
|
|
|
@@ -556,21 +568,57 @@ async function resolveBridgeEndpoint({
|
|
|
556
568
|
function openWebSocket({
|
|
557
569
|
url,
|
|
558
570
|
headers,
|
|
559
|
-
|
|
571
|
+
abortSignal,
|
|
572
|
+
}: HarnessV1PortEndpoint & { abortSignal: AbortSignal }): Promise<WebSocket> {
|
|
560
573
|
return new Promise((resolve, reject) => {
|
|
574
|
+
if (abortSignal.aborted) {
|
|
575
|
+
reject(abortSignal.reason ?? new Error('WebSocket connection aborted'));
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
|
|
561
579
|
const ws = new WebSocket(url, {
|
|
562
580
|
headers: headers == null ? undefined : { ...headers },
|
|
563
581
|
});
|
|
564
|
-
|
|
582
|
+
|
|
583
|
+
let settled = false;
|
|
584
|
+
const cleanup = () => {
|
|
585
|
+
abortSignal.removeEventListener('abort', onAbort);
|
|
586
|
+
ws.off('open', onOpen);
|
|
565
587
|
ws.off('error', onError);
|
|
588
|
+
};
|
|
589
|
+
const rejectWithCleanup = (error: unknown) => {
|
|
590
|
+
if (settled) return;
|
|
591
|
+
settled = true;
|
|
592
|
+
cleanup();
|
|
593
|
+
ws.once('error', () => {});
|
|
594
|
+
try {
|
|
595
|
+
ws.terminate();
|
|
596
|
+
} catch {
|
|
597
|
+
try {
|
|
598
|
+
ws.close();
|
|
599
|
+
} catch {
|
|
600
|
+
// best-effort
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
reject(error);
|
|
604
|
+
};
|
|
605
|
+
const onOpen = () => {
|
|
606
|
+
if (settled) return;
|
|
607
|
+
settled = true;
|
|
608
|
+
cleanup();
|
|
566
609
|
resolve(ws);
|
|
567
610
|
};
|
|
568
611
|
const onError = (err: Error) => {
|
|
569
|
-
|
|
570
|
-
reject(err);
|
|
612
|
+
rejectWithCleanup(err);
|
|
571
613
|
};
|
|
614
|
+
const onAbort = () =>
|
|
615
|
+
rejectWithCleanup(
|
|
616
|
+
abortSignal.reason ?? new Error('WebSocket connection aborted'),
|
|
617
|
+
);
|
|
618
|
+
|
|
572
619
|
ws.once('open', onOpen);
|
|
573
620
|
ws.once('error', onError);
|
|
621
|
+
abortSignal.addEventListener('abort', onAbort, { once: true });
|
|
574
622
|
});
|
|
575
623
|
}
|
|
576
624
|
|