@orpc/ai-sdk 1.13.1 → 1.13.4
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/README.md +6 -6
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
<h1></h1>
|
|
6
6
|
|
|
7
7
|
<div align="center">
|
|
8
|
-
<a href="https://codecov.io/gh/
|
|
9
|
-
<img alt="codecov" src="https://codecov.io/gh/
|
|
8
|
+
<a href="https://codecov.io/gh/middleapi/orpc">
|
|
9
|
+
<img alt="codecov" src="https://codecov.io/gh/middleapi/orpc/branch/main/graph/badge.svg">
|
|
10
10
|
</a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/@orpc/ai-sdk">
|
|
12
12
|
<img alt="weekly downloads" src="https://img.shields.io/npm/dw/%40orpc%2Fai-sdk?logo=npm" />
|
|
13
13
|
</a>
|
|
14
|
-
<a href="https://github.com/
|
|
15
|
-
<img alt="MIT License" src="https://img.shields.io/github/license/
|
|
14
|
+
<a href="https://github.com/middleapi/orpc/blob/main/LICENSE">
|
|
15
|
+
<img alt="MIT License" src="https://img.shields.io/github/license/middleapi/orpc?logo=open-source-initiative" />
|
|
16
16
|
</a>
|
|
17
17
|
<a href="https://discord.gg/TXEbwRBvQn">
|
|
18
18
|
<img alt="Discord" src="https://img.shields.io/discord/1308966753044398161?color=7389D8&label&logo=discord&logoColor=ffffff" />
|
|
19
19
|
</a>
|
|
20
|
-
<a href="https://deepwiki.com/
|
|
20
|
+
<a href="https://deepwiki.com/middleapi/orpc">
|
|
21
21
|
<img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
|
|
22
22
|
</a>
|
|
23
23
|
</div>
|
|
@@ -78,4 +78,4 @@ The [AI SDK](https://ai-sdk.dev/) integration for oRPC.
|
|
|
78
78
|
|
|
79
79
|
## License
|
|
80
80
|
|
|
81
|
-
Distributed under the MIT License. See [LICENSE](https://github.com/
|
|
81
|
+
Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information.
|
package/dist/index.d.mts
CHANGED
|
@@ -34,7 +34,7 @@ declare class CreateToolError extends Error {
|
|
|
34
34
|
* const getWeatherContract = base
|
|
35
35
|
* .meta({
|
|
36
36
|
* [AI_SDK_TOOL_META_SYMBOL]: {
|
|
37
|
-
*
|
|
37
|
+
* title: 'Get Weather', // AI SDK tool title
|
|
38
38
|
* },
|
|
39
39
|
* })
|
|
40
40
|
* .route({
|
|
@@ -83,7 +83,7 @@ declare function implementTool<TOutInput, TInOutput>(contract: ContractProcedure
|
|
|
83
83
|
* const getWeatherProcedure = base
|
|
84
84
|
* .meta({
|
|
85
85
|
* [AI_SDK_TOOL_META_SYMBOL]: {
|
|
86
|
-
*
|
|
86
|
+
* title: 'Get Weather', // AI SDK tool title
|
|
87
87
|
* },
|
|
88
88
|
* })
|
|
89
89
|
* .route({
|
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ declare class CreateToolError extends Error {
|
|
|
34
34
|
* const getWeatherContract = base
|
|
35
35
|
* .meta({
|
|
36
36
|
* [AI_SDK_TOOL_META_SYMBOL]: {
|
|
37
|
-
*
|
|
37
|
+
* title: 'Get Weather', // AI SDK tool title
|
|
38
38
|
* },
|
|
39
39
|
* })
|
|
40
40
|
* .route({
|
|
@@ -83,7 +83,7 @@ declare function implementTool<TOutInput, TInOutput>(contract: ContractProcedure
|
|
|
83
83
|
* const getWeatherProcedure = base
|
|
84
84
|
* .meta({
|
|
85
85
|
* [AI_SDK_TOOL_META_SYMBOL]: {
|
|
86
|
-
*
|
|
86
|
+
* title: 'Get Weather', // AI SDK tool title
|
|
87
87
|
* },
|
|
88
88
|
* })
|
|
89
89
|
* .route({
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/ai-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.13.
|
|
4
|
+
"version": "1.13.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://orpc.dev",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/middleapi/orpc.git",
|
|
10
10
|
"directory": "packages/ai-sdk"
|
|
11
11
|
},
|
|
12
12
|
"keywords": [
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"ai": ">=5.0.76"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@orpc/
|
|
31
|
-
"@orpc/
|
|
32
|
-
"@orpc/server": "1.13.
|
|
33
|
-
"@orpc/shared": "1.13.
|
|
30
|
+
"@orpc/client": "1.13.4",
|
|
31
|
+
"@orpc/contract": "1.13.4",
|
|
32
|
+
"@orpc/server": "1.13.4",
|
|
33
|
+
"@orpc/shared": "1.13.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"ai": "6.0.
|
|
37
|
-
"zod": "^4.
|
|
36
|
+
"ai": "^6.0.23",
|
|
37
|
+
"zod": "^4.3.5"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "unbuild",
|