@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 CHANGED
@@ -5,19 +5,19 @@
5
5
  <h1></h1>
6
6
 
7
7
  <div align="center">
8
- <a href="https://codecov.io/gh/unnoq/orpc">
9
- <img alt="codecov" src="https://codecov.io/gh/unnoq/orpc/branch/main/graph/badge.svg">
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/unnoq/orpc/blob/main/LICENSE">
15
- <img alt="MIT License" src="https://img.shields.io/github/license/unnoq/orpc?logo=open-source-initiative" />
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/unnoq/orpc">
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/unnoq/orpc/blob/main/LICENSE) for more information.
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
- * name: 'custom-tool-name', // AI SDK tool name
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
- * name: 'custom-tool-name', // AI SDK tool name
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
- * name: 'custom-tool-name', // AI SDK tool name
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
- * name: 'custom-tool-name', // AI SDK tool name
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.1",
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/unnoq/orpc.git",
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/contract": "1.13.1",
31
- "@orpc/client": "1.13.1",
32
- "@orpc/server": "1.13.1",
33
- "@orpc/shared": "1.13.1"
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.0-beta.85",
37
- "zod": "^4.1.12"
36
+ "ai": "^6.0.23",
37
+ "zod": "^4.3.5"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "unbuild",