@ai-sdk/devtools
Advanced tools
@@ -393,4 +393,6 @@ // src/viewer/server.ts | ||
| `); | ||
| console.error(` AI_SDK_DEVTOOLS_PORT=4984 npx ai-sdk-devtools | ||
| `); | ||
| console.error( | ||
| ` AI_SDK_DEVTOOLS_PORT=4984 npx @ai-sdk/devtools@latest | ||
| ` | ||
| ); | ||
| process.exit(1); | ||
@@ -397,0 +399,0 @@ } |
+2
-2
| { | ||
| "name": "@ai-sdk/devtools", | ||
| "version": "1.0.5", | ||
| "version": "1.0.6", | ||
| "type": "module", | ||
@@ -58,3 +58,3 @@ "main": "./dist/index.js", | ||
| "zod": "3.25.76", | ||
| "ai": "7.0.26" | ||
| "ai": "7.0.27" | ||
| }, | ||
@@ -61,0 +61,0 @@ "publishConfig": { |
+4
-2
@@ -63,3 +63,3 @@ # AI SDK DevTools | ||
| ```bash | ||
| npx @ai-sdk/devtools | ||
| npx @ai-sdk/devtools@latest | ||
| ``` | ||
@@ -70,3 +70,5 @@ | ||
| If you are using a monorepo, start DevTools from the same workspace where your | ||
| AI SDK code runs. | ||
| AI SDK code runs. The explicit `@latest` tag ensures that `npx` installs an | ||
| executable copy instead of selecting a transitive dependency whose binary is | ||
| not linked into that workspace. | ||
@@ -73,0 +75,0 @@ ## How it works |
@@ -350,3 +350,5 @@ import { serve } from '@hono/node-server'; | ||
| console.error(` To use a different port, set AI_SDK_DEVTOOLS_PORT:\n`); | ||
| console.error(` AI_SDK_DEVTOOLS_PORT=4984 npx ai-sdk-devtools\n`); | ||
| console.error( | ||
| ` AI_SDK_DEVTOOLS_PORT=4984 npx @ai-sdk/devtools@latest\n`, | ||
| ); | ||
| process.exit(1); | ||
@@ -353,0 +355,0 @@ } |
672362
0.03%8263
0.05%107
1.9%