@ai-sdk/harness-deepagents 1.0.91 → 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 +23 -0
- package/README.md +9 -10
- 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 +10 -21
- package/dist/index.js +49 -72
- 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-auth.ts +27 -74
- package/src/deepagents-bridge-protocol.ts +1 -0
- package/src/deepagents-harness.ts +44 -40
- package/src/index.ts +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
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
|
+
|
|
18
|
+
## 1.0.92
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- e0d7cfb: feat(harness): allow harness sessions to optionally authenticate from an isolated environment supplied through the `auth` option, and remove support for the formerly deprecated legacy auth options types
|
|
23
|
+
- Updated dependencies [e0d7cfb]
|
|
24
|
+
- @ai-sdk/harness@1.0.92
|
|
25
|
+
|
|
3
26
|
## 1.0.91
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -39,20 +39,19 @@ 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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Pin explicitly with `auth.anthropic`, `auth.openai`, or `auth.gateway`:
|
|
44
|
+
Deep Agents uses the Anthropic client directly or through AI Gateway. With no
|
|
45
|
+
mode configured, the adapter prefers ambient AI Gateway credentials and falls
|
|
46
|
+
back to ambient Anthropic credentials. Pass an authentication environment to
|
|
47
|
+
use programmatically resolved credentials without reading `process.env`:
|
|
51
48
|
|
|
52
49
|
```ts
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
const agent = new HarnessAgent({
|
|
51
|
+
harness: createDeepAgents({
|
|
52
|
+
auth: { ANTHROPIC_API_KEY: token },
|
|
53
|
+
}),
|
|
54
|
+
model: 'anthropic/claude-sonnet-4.5',
|
|
56
55
|
});
|
|
57
56
|
```
|
|
58
57
|
|