@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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @ai-sdk/harness-deepagents
2
2
 
3
+ ## 1.0.93
4
+
5
+ ### Patch Changes
6
+
7
+ - 7608210: feat(harness): add `model` parameter to `HarnessAgent` instead of having each harness adapter support it on their own constructor functions
8
+ - f7bd978: chore(harness): update underlying adapter SDKs to their latest versions
9
+ - 14d4fc0: feat(harness): allow changing harness settings between turns via `prepareCall()` support on `HarnessAgent`
10
+ - Updated dependencies [cc9f6ce]
11
+ - Updated dependencies [7608210]
12
+ - Updated dependencies [6f8a2d7]
13
+ - Updated dependencies [14d4fc0]
14
+ - Updated dependencies [90192f1]
15
+ - @ai-sdk/harness@1.0.93
16
+ - @ai-sdk/provider-utils@5.0.33
17
+
3
18
  ## 1.0.92
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -39,8 +39,6 @@ const agent = new HarnessAgent({
39
39
  });
40
40
  ```
41
41
 
42
- Configure the model and auth via `createDeepAgents({ model, auth })`.
43
-
44
42
  ## Auth
45
43
 
46
44
  Deep Agents uses the Anthropic client directly or through AI Gateway. With no
@@ -49,9 +47,11 @@ back to ambient Anthropic credentials. Pass an authentication environment to
49
47
  use programmatically resolved credentials without reading `process.env`:
50
48
 
51
49
  ```ts
52
- createDeepAgents({
50
+ const agent = new HarnessAgent({
51
+ harness: createDeepAgents({
52
+ auth: { ANTHROPIC_API_KEY: token },
53
+ }),
53
54
  model: 'anthropic/claude-sonnet-4.5',
54
- auth: { ANTHROPIC_API_KEY: token },
55
55
  });
56
56
  ```
57
57