ai 5.0.0-canary.5 → 5.0.0-canary.6
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 +8 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs.map +1 -1
- package/dist/mcp-stdio/index.js.map +1 -0
- package/dist/mcp-stdio/index.mjs.map +1 -0
- package/dist/test/index.js.map +1 -0
- package/dist/test/index.mjs.map +1 -0
- package/package.json +15 -18
- package/mcp-stdio/create-child-process.test.ts +0 -92
- package/mcp-stdio/create-child-process.ts +0 -21
- package/mcp-stdio/dist/index.js.map +0 -1
- package/mcp-stdio/dist/index.mjs.map +0 -1
- package/mcp-stdio/get-environment.test.ts +0 -13
- package/mcp-stdio/get-environment.ts +0 -43
- package/mcp-stdio/index.ts +0 -4
- package/mcp-stdio/mcp-stdio-transport.test.ts +0 -262
- package/mcp-stdio/mcp-stdio-transport.ts +0 -157
- package/test/dist/index.js.map +0 -1
- package/test/dist/index.mjs.map +0 -1
- /package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.mts +0 -0
- /package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.ts +0 -0
- /package/{mcp-stdio/dist → dist/mcp-stdio}/index.js +0 -0
- /package/{mcp-stdio/dist → dist/mcp-stdio}/index.mjs +0 -0
- /package/{test/dist → dist/test}/index.d.mts +0 -0
- /package/{test/dist → dist/test}/index.d.ts +0 -0
- /package/{test/dist → dist/test}/index.js +0 -0
- /package/{test/dist → dist/test}/index.mjs +0 -0
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
@@ -92,9 +92,9 @@ type CoreToolChoice<TOOLS extends Record<string, unknown>> = ToolChoice<TOOLS>;
|
|
92
92
|
|
93
93
|
type LanguageModelRequestMetadata = {
|
94
94
|
/**
|
95
|
-
|
95
|
+
Request HTTP body that was sent to the provider API.
|
96
96
|
*/
|
97
|
-
body?:
|
97
|
+
body?: unknown;
|
98
98
|
};
|
99
99
|
|
100
100
|
type LanguageModelResponseMetadata = {
|
package/dist/index.d.ts
CHANGED
@@ -92,9 +92,9 @@ type CoreToolChoice<TOOLS extends Record<string, unknown>> = ToolChoice<TOOLS>;
|
|
92
92
|
|
93
93
|
type LanguageModelRequestMetadata = {
|
94
94
|
/**
|
95
|
-
|
95
|
+
Request HTTP body that was sent to the provider API.
|
96
96
|
*/
|
97
|
-
body?:
|
97
|
+
body?: unknown;
|
98
98
|
};
|
99
99
|
|
100
100
|
type LanguageModelResponseMetadata = {
|
package/dist/index.js
CHANGED
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
31
|
-
var
|
32
|
-
__export(
|
30
|
+
// index.ts
|
31
|
+
var ai_exports = {};
|
32
|
+
__export(ai_exports, {
|
33
33
|
AISDKError: () => import_provider20.AISDKError,
|
34
34
|
APICallError: () => import_provider20.APICallError,
|
35
35
|
DownloadError: () => DownloadError,
|
@@ -116,7 +116,7 @@ __export(streams_exports, {
|
|
116
116
|
wrapLanguageModel: () => wrapLanguageModel,
|
117
117
|
zodSchema: () => zodSchema
|
118
118
|
});
|
119
|
-
module.exports = __toCommonJS(
|
119
|
+
module.exports = __toCommonJS(ai_exports);
|
120
120
|
|
121
121
|
// core/index.ts
|
122
122
|
var import_provider_utils21 = require("@ai-sdk/provider-utils");
|
@@ -8136,8 +8136,8 @@ function simulateStreamingMiddleware() {
|
|
8136
8136
|
});
|
8137
8137
|
return {
|
8138
8138
|
stream: simulatedStream,
|
8139
|
-
|
8140
|
-
|
8139
|
+
request: result.request,
|
8140
|
+
response: result.response,
|
8141
8141
|
warnings: result.warnings
|
8142
8142
|
};
|
8143
8143
|
}
|