@ai-sdk/harness-deepagents 1.0.92 → 1.0.93
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 +15 -0
- package/README.md +4 -4
- package/dist/bridge/index.mjs +199 -138
- package/dist/bridge/index.mjs.map +1 -1
- package/dist/bridge/package.json +6 -6
- package/dist/bridge/pnpm-lock.yaml +68 -68
- package/dist/index.d.ts +6 -1
- package/dist/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/bridge/index.ts +35 -14
- package/src/bridge/package.json +6 -6
- package/src/bridge/pnpm-lock.yaml +68 -68
- package/src/deepagents-bridge-protocol.ts +1 -0
- package/src/deepagents-harness.ts +42 -38
package/dist/bridge/package.json
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@langchain/anthropic": "^1.
|
|
8
|
-
"@langchain/core": "^1.2.
|
|
9
|
-
"@langchain/langgraph": "^1.4.
|
|
7
|
+
"@langchain/anthropic": "^1.5.8",
|
|
8
|
+
"@langchain/core": "^1.2.9",
|
|
9
|
+
"@langchain/langgraph": "^1.4.12",
|
|
10
10
|
"@langchain/mcp-adapters": "1.1.3",
|
|
11
|
-
"deepagents": "1.
|
|
12
|
-
"langchain": "^1.5.
|
|
13
|
-
"langsmith": "^0.
|
|
11
|
+
"deepagents": "1.13.1",
|
|
12
|
+
"langchain": "^1.5.10",
|
|
13
|
+
"langsmith": "^0.9.0",
|
|
14
14
|
"ws": "8.21.0",
|
|
15
15
|
"zod": "^4.3.6"
|
|
16
16
|
}
|
|
@@ -9,26 +9,26 @@ importers:
|
|
|
9
9
|
.:
|
|
10
10
|
dependencies:
|
|
11
11
|
'@langchain/anthropic':
|
|
12
|
-
specifier: ^1.
|
|
13
|
-
version: 1.5.
|
|
12
|
+
specifier: ^1.5.8
|
|
13
|
+
version: 1.5.8(@langchain/core@1.2.9(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.9
|
|
16
|
+
version: 1.2.9(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.12
|
|
19
|
+
version: 1.4.12(@langchain/core@1.2.9(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.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(@langchain/langgraph@1.4.12(@langchain/core@1.2.9(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.
|
|
25
|
-
version: 1.
|
|
24
|
+
specifier: 1.13.1
|
|
25
|
+
version: 1.13.1(@langchain/core@1.2.9(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.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph-sdk@1.9.31(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph@1.4.12(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3))(langchain@1.5.10(@langchain/core@1.2.9(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.10
|
|
28
|
+
version: 1.5.10(@langchain/core@1.2.9(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
|
-
specifier: ^0.
|
|
31
|
-
version: 0.
|
|
30
|
+
specifier: ^0.9.0
|
|
31
|
+
version: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
32
32
|
ws:
|
|
33
33
|
specifier: 8.21.0
|
|
34
34
|
version: 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.115.0':
|
|
42
|
+
resolution: {integrity: sha512-BJrFIVyjNuU8lfDyIJTvlRYzgQg+zEl78BxE7fq8esULsGz9IRQvGtW5spq3tydmtjQb/GFdooKGdGsetpx+lQ==}
|
|
43
43
|
hasBin: true
|
|
44
44
|
peerDependencies:
|
|
45
45
|
zod: ^3.25.0 || ^4.0.0
|
|
@@ -60,24 +60,24 @@ packages:
|
|
|
60
60
|
peerDependencies:
|
|
61
61
|
hono: ^4
|
|
62
62
|
|
|
63
|
-
'@langchain/anthropic@1.5.
|
|
64
|
-
resolution: {integrity: sha512-
|
|
63
|
+
'@langchain/anthropic@1.5.8':
|
|
64
|
+
resolution: {integrity: sha512-KZWgIf+04M9XZHhgH1rVJkqw/C26DM4a4jKk4Qc4HaSbRawN2Dw5nDffna+IoaU/50ohTdyB3HOz9g8XFQYF2A==}
|
|
65
65
|
engines: {node: '>=20'}
|
|
66
66
|
peerDependencies:
|
|
67
|
-
'@langchain/core': ^1.2.
|
|
67
|
+
'@langchain/core': ^1.2.9
|
|
68
68
|
|
|
69
|
-
'@langchain/core@1.2.
|
|
70
|
-
resolution: {integrity: sha512-
|
|
69
|
+
'@langchain/core@1.2.9':
|
|
70
|
+
resolution: {integrity: sha512-conzSEj9Zu1AyXJLXsSbgrtxtxinmI1yGqQ5CIJZSoV5rvv+yvQE/vgBnoySpBQ/bl3YPgj2FL/gbDjWykLSfg==}
|
|
71
71
|
engines: {node: '>=20'}
|
|
72
72
|
|
|
73
|
-
'@langchain/langgraph-checkpoint@1.1.
|
|
74
|
-
resolution: {integrity: sha512-
|
|
73
|
+
'@langchain/langgraph-checkpoint@1.1.5':
|
|
74
|
+
resolution: {integrity: sha512-BwDwl5VeTOh6CVuiIPgsUgfK51vTJDMSbFcSCUfjJWsl8/DPdK/mbv+ejxJstkSk/BlSPMP4JfXWcN6jD2ea2Q==}
|
|
75
75
|
engines: {node: '>=18'}
|
|
76
76
|
peerDependencies:
|
|
77
77
|
'@langchain/core': ^1.1.48
|
|
78
78
|
|
|
79
|
-
'@langchain/langgraph-sdk@1.9.
|
|
80
|
-
resolution: {integrity: sha512-
|
|
79
|
+
'@langchain/langgraph-sdk@1.9.31':
|
|
80
|
+
resolution: {integrity: sha512-y1sSdq39IPb6mOX43+JiSezVbUdA8EBEJ1gvn91GP0jrLG0EcSApeRDCjRouyDpPXZ51bQXEQhA8CiHM0mzcAw==}
|
|
81
81
|
peerDependencies:
|
|
82
82
|
'@langchain/core': ^1.1.48
|
|
83
83
|
react: ^18 || ^19
|
|
@@ -94,8 +94,8 @@ packages:
|
|
|
94
94
|
vue:
|
|
95
95
|
optional: true
|
|
96
96
|
|
|
97
|
-
'@langchain/langgraph@1.4.
|
|
98
|
-
resolution: {integrity: sha512-
|
|
97
|
+
'@langchain/langgraph@1.4.12':
|
|
98
|
+
resolution: {integrity: sha512-63iH/igH5Fh5fHqmWp09YYWaDKKB9v4RCmYNJBrnQ224rFRbjebgyYW6o5RCczN5FZxIhQj+xT51rrNmG0zi5A==}
|
|
99
99
|
engines: {node: '>=18'}
|
|
100
100
|
peerDependencies:
|
|
101
101
|
'@langchain/core': ^1.1.48
|
|
@@ -217,15 +217,15 @@ packages:
|
|
|
217
217
|
supports-color:
|
|
218
218
|
optional: true
|
|
219
219
|
|
|
220
|
-
deepagents@1.
|
|
221
|
-
resolution: {integrity: sha512-
|
|
220
|
+
deepagents@1.13.1:
|
|
221
|
+
resolution: {integrity: sha512-DB8dkbrd4cqejroU90qAGTtY7ZvIchsMSaOMjE7TWnsi/6IrpBPxg3xN0Vxjuq/x8jkufkIqk3I57RbZmdSJFw==}
|
|
222
222
|
peerDependencies:
|
|
223
|
-
'@langchain/core': ^1.2.
|
|
224
|
-
'@langchain/langgraph': ^1.4.
|
|
225
|
-
'@langchain/langgraph-checkpoint': ^1.1.
|
|
223
|
+
'@langchain/core': ^1.2.9
|
|
224
|
+
'@langchain/langgraph': ^1.4.10
|
|
225
|
+
'@langchain/langgraph-checkpoint': ^1.1.5
|
|
226
226
|
'@langchain/langgraph-sdk': ^1.9.23
|
|
227
|
-
langchain: ^1.5.
|
|
228
|
-
langsmith:
|
|
227
|
+
langchain: ^1.5.10
|
|
228
|
+
langsmith: '>=0.7.1 <0.10.0'
|
|
229
229
|
|
|
230
230
|
depd@2.0.0:
|
|
231
231
|
resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
|
|
@@ -408,14 +408,14 @@ packages:
|
|
|
408
408
|
json-schema-typed@8.0.2:
|
|
409
409
|
resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==}
|
|
410
410
|
|
|
411
|
-
langchain@1.5.
|
|
412
|
-
resolution: {integrity: sha512-
|
|
411
|
+
langchain@1.5.10:
|
|
412
|
+
resolution: {integrity: sha512-JaC12C1qyGn985vvjttr4hr8lfFzWhrXp2M1byZJGmNJ2RiIgqnhiYDuLlG/xHDxhKD3onJ5pCuUif/cbdqPhA==}
|
|
413
413
|
engines: {node: '>=20'}
|
|
414
414
|
peerDependencies:
|
|
415
|
-
'@langchain/core': ^1.2.
|
|
415
|
+
'@langchain/core': ^1.2.9
|
|
416
416
|
|
|
417
|
-
langsmith@0.
|
|
418
|
-
resolution: {integrity: sha512-
|
|
417
|
+
langsmith@0.9.0:
|
|
418
|
+
resolution: {integrity: sha512-tlg/aG7qezAKY6G3fgADSX7PkRj+JKoF3z7QNkCMsAOvwvuzhiwP9Amn1Z+zAIxuKoWuXQdIjtFN0LVmUC1oUQ==}
|
|
419
419
|
peerDependencies:
|
|
420
420
|
'@opentelemetry/api': '*'
|
|
421
421
|
'@opentelemetry/exporter-trace-otlp-proto': '*'
|
|
@@ -679,7 +679,7 @@ packages:
|
|
|
679
679
|
|
|
680
680
|
snapshots:
|
|
681
681
|
|
|
682
|
-
'@anthropic-ai/sdk@0.
|
|
682
|
+
'@anthropic-ai/sdk@0.115.0(zod@4.4.3)':
|
|
683
683
|
dependencies:
|
|
684
684
|
json-schema-to-ts: 3.1.1
|
|
685
685
|
standardwebhooks: 1.0.0
|
|
@@ -694,18 +694,18 @@ snapshots:
|
|
|
694
694
|
dependencies:
|
|
695
695
|
hono: 4.13.1
|
|
696
696
|
|
|
697
|
-
'@langchain/anthropic@1.5.
|
|
697
|
+
'@langchain/anthropic@1.5.8(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))':
|
|
698
698
|
dependencies:
|
|
699
|
-
'@anthropic-ai/sdk': 0.
|
|
700
|
-
'@langchain/core': 1.2.
|
|
699
|
+
'@anthropic-ai/sdk': 0.115.0(zod@4.4.3)
|
|
700
|
+
'@langchain/core': 1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
701
701
|
zod: 4.4.3
|
|
702
702
|
|
|
703
|
-
'@langchain/core@1.2.
|
|
703
|
+
'@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)':
|
|
704
704
|
dependencies:
|
|
705
705
|
'@cfworker/json-schema': 4.1.1
|
|
706
706
|
'@standard-schema/spec': 1.1.0
|
|
707
707
|
js-tiktoken: 1.0.21
|
|
708
|
-
langsmith: 0.
|
|
708
|
+
langsmith: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
709
709
|
mustache: 4.2.0
|
|
710
710
|
p-queue: 6.6.2
|
|
711
711
|
zod: 4.4.3
|
|
@@ -716,23 +716,23 @@ snapshots:
|
|
|
716
716
|
- openai
|
|
717
717
|
- ws
|
|
718
718
|
|
|
719
|
-
'@langchain/langgraph-checkpoint@1.1.
|
|
719
|
+
'@langchain/langgraph-checkpoint@1.1.5(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))':
|
|
720
720
|
dependencies:
|
|
721
|
-
'@langchain/core': 1.2.
|
|
721
|
+
'@langchain/core': 1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
722
722
|
|
|
723
|
-
'@langchain/langgraph-sdk@1.9.
|
|
723
|
+
'@langchain/langgraph-sdk@1.9.31(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))':
|
|
724
724
|
dependencies:
|
|
725
|
-
'@langchain/core': 1.2.
|
|
725
|
+
'@langchain/core': 1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
726
726
|
'@langchain/protocol': 0.0.18
|
|
727
727
|
'@types/json-schema': 7.0.15
|
|
728
728
|
p-queue: 9.3.1
|
|
729
729
|
p-retry: 7.1.1
|
|
730
730
|
|
|
731
|
-
'@langchain/langgraph@1.4.
|
|
731
|
+
'@langchain/langgraph@1.4.12(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)':
|
|
732
732
|
dependencies:
|
|
733
|
-
'@langchain/core': 1.2.
|
|
734
|
-
'@langchain/langgraph-checkpoint': 1.1.
|
|
735
|
-
'@langchain/langgraph-sdk': 1.9.
|
|
733
|
+
'@langchain/core': 1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
734
|
+
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
735
|
+
'@langchain/langgraph-sdk': 1.9.31(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
736
736
|
'@langchain/protocol': 0.0.18
|
|
737
737
|
'@standard-schema/spec': 1.1.0
|
|
738
738
|
zod: 4.4.3
|
|
@@ -742,10 +742,10 @@ snapshots:
|
|
|
742
742
|
- svelte
|
|
743
743
|
- vue
|
|
744
744
|
|
|
745
|
-
'@langchain/mcp-adapters@1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.
|
|
745
|
+
'@langchain/mcp-adapters@1.1.3(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(@langchain/langgraph@1.4.12(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3))':
|
|
746
746
|
dependencies:
|
|
747
|
-
'@langchain/core': 1.2.
|
|
748
|
-
'@langchain/langgraph': 1.4.
|
|
747
|
+
'@langchain/core': 1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
748
|
+
'@langchain/langgraph': 1.4.12(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)
|
|
749
749
|
'@modelcontextprotocol/sdk': 1.30.0(@cfworker/json-schema@4.1.1)(zod@4.4.3)
|
|
750
750
|
debug: 4.4.3
|
|
751
751
|
zod: 4.4.3
|
|
@@ -872,15 +872,15 @@ snapshots:
|
|
|
872
872
|
dependencies:
|
|
873
873
|
ms: 2.1.3
|
|
874
874
|
|
|
875
|
-
deepagents@1.
|
|
875
|
+
deepagents@1.13.1(@langchain/core@1.2.9(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.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph-sdk@1.9.31(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)))(@langchain/langgraph@1.4.12(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3))(langchain@1.5.10(@langchain/core@1.2.9(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
876
|
dependencies:
|
|
877
|
-
'@langchain/core': 1.2.
|
|
878
|
-
'@langchain/langgraph': 1.4.
|
|
879
|
-
'@langchain/langgraph-checkpoint': 1.1.
|
|
880
|
-
'@langchain/langgraph-sdk': 1.9.
|
|
877
|
+
'@langchain/core': 1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
878
|
+
'@langchain/langgraph': 1.4.12(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)
|
|
879
|
+
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
880
|
+
'@langchain/langgraph-sdk': 1.9.31(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
881
881
|
fast-glob: 3.3.3
|
|
882
|
-
langchain: 1.5.
|
|
883
|
-
langsmith: 0.
|
|
882
|
+
langchain: 1.5.10(@langchain/core@1.2.9(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
|
+
langsmith: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
884
884
|
micromatch: 4.0.8
|
|
885
885
|
yaml: 2.9.0
|
|
886
886
|
zod: 4.4.3
|
|
@@ -1081,12 +1081,12 @@ snapshots:
|
|
|
1081
1081
|
|
|
1082
1082
|
json-schema-typed@8.0.2: {}
|
|
1083
1083
|
|
|
1084
|
-
langchain@1.5.
|
|
1084
|
+
langchain@1.5.10(@langchain/core@1.2.9(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
1085
|
dependencies:
|
|
1086
|
-
'@langchain/core': 1.2.
|
|
1087
|
-
'@langchain/langgraph': 1.4.
|
|
1088
|
-
'@langchain/langgraph-checkpoint': 1.1.
|
|
1089
|
-
langsmith: 0.
|
|
1086
|
+
'@langchain/core': 1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
1087
|
+
'@langchain/langgraph': 1.4.12(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)
|
|
1088
|
+
'@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.9(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))
|
|
1089
|
+
langsmith: 0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)
|
|
1090
1090
|
zod: 4.4.3
|
|
1091
1091
|
transitivePeerDependencies:
|
|
1092
1092
|
- '@opentelemetry/api'
|
|
@@ -1099,7 +1099,7 @@ snapshots:
|
|
|
1099
1099
|
- vue
|
|
1100
1100
|
- ws
|
|
1101
1101
|
|
|
1102
|
-
langsmith@0.
|
|
1102
|
+
langsmith@0.9.0(openai@6.43.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0):
|
|
1103
1103
|
dependencies:
|
|
1104
1104
|
p-queue: 6.6.2
|
|
1105
1105
|
optionalDependencies:
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,12 @@ type DeepAgentsHarnessSettings = {
|
|
|
22
22
|
* discover, read, or otherwise access in the host process.
|
|
23
23
|
*/
|
|
24
24
|
readonly credentialForwarding?: HarnessV1CredentialForwarding;
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Model id for the DeepAgents runtime, e.g. `claude-sonnet-4` (converted to
|
|
27
|
+
* `provider:model`).
|
|
28
|
+
*
|
|
29
|
+
* @deprecated Use `model` on `HarnessAgent` instead.
|
|
30
|
+
*/
|
|
26
31
|
readonly model?: string;
|
|
27
32
|
/**
|
|
28
33
|
* Controls Anthropic extended thinking for the Deep Agents model. Unset
|
package/dist/index.js
CHANGED
|
@@ -231,6 +231,7 @@ var startMessageSchema = harnessV1BridgeStartBaseSchema.extend({
|
|
|
231
231
|
effort: z.enum(["low", "medium", "high", "xhigh", "max"]).optional(),
|
|
232
232
|
// In-backend skills source dirs ($HOME and <workDir>), passed to createDeepAgent({ skills }).
|
|
233
233
|
skillsPaths: z.array(z.string()).optional(),
|
|
234
|
+
skillsChanged: z.boolean().optional(),
|
|
234
235
|
// Max LangGraph super-steps per turn (streamEvents recursionLimit).
|
|
235
236
|
recursionLimit: z.number().optional()
|
|
236
237
|
});
|
|
@@ -240,7 +241,7 @@ var inboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
240
241
|
]);
|
|
241
242
|
|
|
242
243
|
// src/version.ts
|
|
243
|
-
var VERSION = true ? "1.0.
|
|
244
|
+
var VERSION = true ? "1.0.93" : "0.0.0-test";
|
|
244
245
|
|
|
245
246
|
// src/deepagents-harness.ts
|
|
246
247
|
var DEEPAGENTS_CLIENT_APP = `ai-sdk/harness-deepagents/${VERSION}`;
|
|
@@ -323,6 +324,7 @@ function createDeepAgents(settings = {}) {
|
|
|
323
324
|
lifecycleStateSchema: deepAgentsResumeStateSchema,
|
|
324
325
|
getBootstrap: getDeepAgentsBootstrap,
|
|
325
326
|
doStart: async (startOpts) => {
|
|
327
|
+
const model = startOpts.model ?? settings.model;
|
|
326
328
|
const permissionMode = startOpts.permissionMode;
|
|
327
329
|
const sandboxSession = startOpts.sandboxSession;
|
|
328
330
|
const toolSafeSandboxSession = getRestrictedSandboxSession(sandboxSession);
|
|
@@ -385,6 +387,12 @@ function createDeepAgents(settings = {}) {
|
|
|
385
387
|
DEEPAGENTS_BOOTSTRAP_DIR
|
|
386
388
|
);
|
|
387
389
|
const workDir = startOpts.sessionWorkDir;
|
|
390
|
+
const homeDir = await resolveSandboxHomeDir({
|
|
391
|
+
sandbox: toolSafeSandboxSession,
|
|
392
|
+
abortSignal: startOpts.abortSignal
|
|
393
|
+
});
|
|
394
|
+
const homeSkillsRoot = `${homeDir}${SKILLS_SOURCE_PATH}`;
|
|
395
|
+
const skillsPaths = [`${workDir}${SKILLS_SOURCE_PATH}`, homeSkillsRoot];
|
|
388
396
|
const sessionDataDir = `${defaultWorkingDirectory}/.agent-runs/${startOpts.sessionId}`;
|
|
389
397
|
const bridgeStateDir = `${sessionDataDir}/bridge`;
|
|
390
398
|
const timeoutMs = settings.startupTimeoutMs ?? 12e4;
|
|
@@ -422,7 +430,7 @@ function createDeepAgents(settings = {}) {
|
|
|
422
430
|
sessionId: startOpts.sessionId,
|
|
423
431
|
channel: attachChannel,
|
|
424
432
|
proc: void 0,
|
|
425
|
-
model
|
|
433
|
+
model,
|
|
426
434
|
thinking: settings.thinking,
|
|
427
435
|
effort: settings.effort,
|
|
428
436
|
bridgePort: coords.port,
|
|
@@ -430,7 +438,9 @@ function createDeepAgents(settings = {}) {
|
|
|
430
438
|
sandboxId,
|
|
431
439
|
sandboxCredentialEnvironment,
|
|
432
440
|
isResume: true,
|
|
433
|
-
|
|
441
|
+
sandbox: toolSafeSandboxSession,
|
|
442
|
+
homeSkillsRoot,
|
|
443
|
+
skillsPaths,
|
|
434
444
|
permissionMode,
|
|
435
445
|
builtinToolFiltering: startOpts.builtinToolFiltering,
|
|
436
446
|
recursionLimit: settings.recursionLimit,
|
|
@@ -444,21 +454,6 @@ function createDeepAgents(settings = {}) {
|
|
|
444
454
|
override: settings.port
|
|
445
455
|
});
|
|
446
456
|
const token = settings.mintBridgeToken == null ? randomBytes(32).toString("hex") : settings.mintBridgeToken(sandboxId);
|
|
447
|
-
const skillsPaths = [`${workDir}${SKILLS_SOURCE_PATH}`];
|
|
448
|
-
if ((startOpts.skills?.length ?? 0) > 0) {
|
|
449
|
-
const homeDir = await resolveSandboxHomeDir({
|
|
450
|
-
sandbox: toolSafeSandboxSession,
|
|
451
|
-
abortSignal: startOpts.abortSignal
|
|
452
|
-
});
|
|
453
|
-
const homeSkillsRoot = `${homeDir}${SKILLS_SOURCE_PATH}`;
|
|
454
|
-
await writeSkills({
|
|
455
|
-
sandbox: toolSafeSandboxSession,
|
|
456
|
-
root: homeSkillsRoot,
|
|
457
|
-
skills: startOpts.skills ?? [],
|
|
458
|
-
abortSignal: startOpts.abortSignal
|
|
459
|
-
});
|
|
460
|
-
skillsPaths.push(homeSkillsRoot);
|
|
461
|
-
}
|
|
462
457
|
const forwardedAuthEnvironment = credentialsBrokered ? sandboxAuthEnvironment : await applyCredentialForwarding({
|
|
463
458
|
environment: sandboxAuthEnvironment,
|
|
464
459
|
credentialEnvironmentVariables: DEEPAGENTS_CREDENTIAL_ENVIRONMENT_VARIABLES,
|
|
@@ -532,7 +527,7 @@ function createDeepAgents(settings = {}) {
|
|
|
532
527
|
sessionId: startOpts.sessionId,
|
|
533
528
|
channel,
|
|
534
529
|
proc,
|
|
535
|
-
model
|
|
530
|
+
model,
|
|
536
531
|
thinking: settings.thinking,
|
|
537
532
|
effort: settings.effort,
|
|
538
533
|
bridgePort: boundPort,
|
|
@@ -540,8 +535,8 @@ function createDeepAgents(settings = {}) {
|
|
|
540
535
|
sandboxId,
|
|
541
536
|
sandboxCredentialEnvironment,
|
|
542
537
|
isResume,
|
|
543
|
-
|
|
544
|
-
|
|
538
|
+
sandbox: toolSafeSandboxSession,
|
|
539
|
+
homeSkillsRoot,
|
|
545
540
|
skillsPaths,
|
|
546
541
|
permissionMode,
|
|
547
542
|
builtinToolFiltering: startOpts.builtinToolFiltering,
|
|
@@ -603,7 +598,7 @@ async function writeSkills({
|
|
|
603
598
|
skills,
|
|
604
599
|
abortSignal
|
|
605
600
|
}) {
|
|
606
|
-
|
|
601
|
+
return writeHarnessSkills({
|
|
607
602
|
sandbox,
|
|
608
603
|
rootDir: root,
|
|
609
604
|
skills,
|
|
@@ -654,7 +649,8 @@ function createSession({
|
|
|
654
649
|
sandboxId,
|
|
655
650
|
sandboxCredentialEnvironment,
|
|
656
651
|
isResume,
|
|
657
|
-
|
|
652
|
+
sandbox,
|
|
653
|
+
homeSkillsRoot,
|
|
658
654
|
skillsPaths,
|
|
659
655
|
permissionMode,
|
|
660
656
|
builtinToolFiltering,
|
|
@@ -662,7 +658,6 @@ function createSession({
|
|
|
662
658
|
mcpServers
|
|
663
659
|
}) {
|
|
664
660
|
let stopped = false;
|
|
665
|
-
let instructionsApplied = attached;
|
|
666
661
|
const wireTurn = (turnOpts) => {
|
|
667
662
|
let pendingResolve;
|
|
668
663
|
let pendingReject;
|
|
@@ -785,16 +780,20 @@ function createSession({
|
|
|
785
780
|
harnessId: "deepagents"
|
|
786
781
|
});
|
|
787
782
|
}
|
|
783
|
+
const skillWriteResult = await writeSkills({
|
|
784
|
+
sandbox,
|
|
785
|
+
root: homeSkillsRoot,
|
|
786
|
+
skills: promptOpts.skills,
|
|
787
|
+
abortSignal: promptOpts.abortSignal
|
|
788
|
+
});
|
|
788
789
|
const control = wireTurn({
|
|
789
790
|
emit: promptOpts.emit,
|
|
790
791
|
abortSignal: promptOpts.abortSignal
|
|
791
792
|
});
|
|
792
|
-
const applyInstructions = !instructionsApplied && !!promptOpts.instructions;
|
|
793
|
-
instructionsApplied = true;
|
|
794
793
|
channel.send({
|
|
795
794
|
type: "start",
|
|
796
795
|
prompt: extractUserText(promptOpts.prompt),
|
|
797
|
-
...
|
|
796
|
+
...promptOpts.instructions ? { instructions: promptOpts.instructions } : {},
|
|
798
797
|
tools: (promptOpts.tools ?? []).map((t) => ({
|
|
799
798
|
name: t.name,
|
|
800
799
|
description: t.description,
|
|
@@ -805,6 +804,7 @@ function createSession({
|
|
|
805
804
|
...thinking ? { thinking } : {},
|
|
806
805
|
...effort ? { effort } : {},
|
|
807
806
|
...skillsPaths?.length ? { skillsPaths } : {},
|
|
807
|
+
skillsChanged: skillWriteResult.changed,
|
|
808
808
|
...permissionMode ? { permissionMode } : {},
|
|
809
809
|
...builtinToolFiltering ? { builtinToolFiltering } : {},
|
|
810
810
|
...recursionLimit != null ? { recursionLimit } : {},
|