@ai-sdk/harness-acp 1.0.38 → 1.0.40

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,29 @@
1
1
  # @ai-sdk/harness-acp
2
2
 
3
+ ## 1.0.40
4
+
5
+ ### Patch Changes
6
+
7
+ - ceb601c: fix(harness-acp): fix stream translator to match most appropriate tool based on input shape when no name is present and multiple candidates would match the required arguments
8
+ - 255cccf: feat(harness): add `writeInstructions` helper and support filesystem based `instructionsMapping` in ACP backed harness adapters
9
+ - 668b51d: fix(harness-acp): remove problematic condition that leads to errors when using `stopWhen`
10
+ - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings`
11
+ - 1291df7: feat(harness-acp): support control over how host tools are exposed via `hostToolMcpTransport` config
12
+ - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory
13
+ - Updated dependencies [fe86f8f]
14
+ - Updated dependencies [255cccf]
15
+ - Updated dependencies [eeed977]
16
+ - Updated dependencies [a39c8bf]
17
+ - @ai-sdk/harness@1.0.102
18
+
19
+ ## 1.0.39
20
+
21
+ ### Patch Changes
22
+
23
+ - 951c54d: feat(harness): support `askUserQuestions` tool including support for normalization across harness adapters
24
+ - Updated dependencies [951c54d]
25
+ - @ai-sdk/harness@1.0.101
26
+
3
27
  ## 1.0.38
4
28
 
5
29
  ### Patch Changes
package/README.md CHANGED
@@ -111,9 +111,10 @@ Use `instructionMapping` when the ACP implementation exposes a native system
111
111
  or developer prompt. A `session-meta` mapping writes `HarnessAgent`
112
112
  instructions below the ACP session request's `_meta` field. A
113
113
  `launch-env-json` mapping merges them into a JSON environment variable before
114
- the implementation starts. Without a mapping, the adapter preserves its
115
- backward-compatible behavior and prepends instructions to the first user
116
- prompt.
114
+ the implementation starts. A `filesystem` mapping writes instructions to a
115
+ markdown file at a relative path under the implementation's effective `$HOME`.
116
+ Without a mapping, the adapter preserves its backward-compatible behavior and
117
+ prepends instructions to the first user prompt.
117
118
 
118
119
  Skills are written to `.agents/skills` below the ACP implementation's effective
119
120
  `$HOME` and discovered natively by the implementation. Set `skillsDirectory`
@@ -12,7 +12,7 @@ import {
12
12
  ListToolsRequestSchema,
13
13
  McpError
14
14
  } from "@modelcontextprotocol/sdk/types.js";
15
- var VERSION = true ? "1.0.38" : "0.0.0-test";
15
+ var VERSION = true ? "1.0.40" : "0.0.0-test";
16
16
  function createHostToolMCPServer({
17
17
  tools: tools2,
18
18
  revision = 1,