@ai-sdk/harness-acp 1.0.60 → 1.0.62
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 +21 -0
- package/dist/bridge/host-tool-mcp.mjs +1 -1
- package/dist/bridge/index.mjs +1 -4
- package/dist/bridge/index.mjs.map +1 -1
- package/dist/index.js +22 -35
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/v1/acp-v1-harness.ts +11 -15
- package/src/v1/acp-v1-skills.ts +7 -14
- package/src/v1/bridge/acp-diagnostics.ts +0 -2
- package/src/v1/bridge/host-tool-correlation.ts +0 -1
- package/src/v1/implementation.ts +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @ai-sdk/harness-acp
|
|
2
2
|
|
|
3
|
+
## 1.0.62
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [40231b6]
|
|
8
|
+
- @ai-sdk/harness@1.0.124
|
|
9
|
+
|
|
10
|
+
## 1.0.61
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 9c8c0c1: feat (harness): keep harness-generated state out of the sandbox workspace. The framework and every bridge adapter now resolve their generated state — bootstrap recipes and their dependencies (`.harness-bootstrap/…`) and per-session run state (`.agent-runs/…`) — through the new `harnessV1StateDirectory()` helper, which always resolves to a fixed directory (`~/.ai-sdk-harness`) under the sandbox's own HOME, never the sandbox's working directory. This is not configurable: every sandbox provider gets the same layout, so harness infrastructure never lands in a user-owned workspace. This changes the on-disk layout for every provider (a breaking change, acceptable given the experimental nature of this API) — sandboxes bootstrapped under the previous layout re-bootstrap once under the new path.
|
|
15
|
+
- 771e74b: chore: enable dead code lint rules
|
|
16
|
+
- Updated dependencies [fe07867]
|
|
17
|
+
- Updated dependencies [a4b0940]
|
|
18
|
+
- Updated dependencies [9c8c0c1]
|
|
19
|
+
- Updated dependencies [771e74b]
|
|
20
|
+
- Updated dependencies [7115a3f]
|
|
21
|
+
- @ai-sdk/provider-utils@5.0.47
|
|
22
|
+
- @ai-sdk/harness@1.0.123
|
|
23
|
+
|
|
3
24
|
## 1.0.60
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ListToolsRequestSchema,
|
|
13
13
|
McpError
|
|
14
14
|
} from "@modelcontextprotocol/sdk/types.js";
|
|
15
|
-
var VERSION = true ? "1.0.
|
|
15
|
+
var VERSION = true ? "1.0.62" : "0.0.0-test";
|
|
16
16
|
function createHostToolMCPServer({
|
|
17
17
|
tools: tools2,
|
|
18
18
|
revision = 1,
|
package/dist/bridge/index.mjs
CHANGED
|
@@ -545,7 +545,6 @@ async function runBridge(options) {
|
|
|
545
545
|
const data = await onStop?.() ?? {};
|
|
546
546
|
sendControl(ws, { type: "bridge-stop", data });
|
|
547
547
|
drainThenExit(ws, 1e3, "stop");
|
|
548
|
-
return;
|
|
549
548
|
}
|
|
550
549
|
}
|
|
551
550
|
};
|
|
@@ -1031,7 +1030,6 @@ function getErrorMessage({ error }) {
|
|
|
1031
1030
|
if (typeof error === "string") {
|
|
1032
1031
|
return error;
|
|
1033
1032
|
}
|
|
1034
|
-
return void 0;
|
|
1035
1033
|
}
|
|
1036
1034
|
function stripMetadata({ value }) {
|
|
1037
1035
|
if (Array.isArray(value)) {
|
|
@@ -2148,7 +2146,6 @@ function findTokenInvocation({
|
|
|
2148
2146
|
return invocation;
|
|
2149
2147
|
}
|
|
2150
2148
|
}
|
|
2151
|
-
return void 0;
|
|
2152
2149
|
}
|
|
2153
2150
|
function removeInvocationForToolCall({
|
|
2154
2151
|
invocations,
|
|
@@ -2416,7 +2413,7 @@ import {
|
|
|
2416
2413
|
ListToolsRequestSchema,
|
|
2417
2414
|
McpError
|
|
2418
2415
|
} from "@modelcontextprotocol/sdk/types.js";
|
|
2419
|
-
var VERSION = true ? "1.0.
|
|
2416
|
+
var VERSION = true ? "1.0.62" : "0.0.0-test";
|
|
2420
2417
|
function createHostToolMCPServer({
|
|
2421
2418
|
tools,
|
|
2422
2419
|
revision = 1,
|