@ai-sdk/devtools 1.0.5 → 1.0.7
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 +8 -2
- package/dist/client/assets/index-Beo4T2zg.js +200 -0
- package/dist/client/assets/index-CIZI8r26.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/viewer/server.js +4 -2
- package/package.json +5 -3
- package/src/viewer/client/app.tsx +24 -5
- package/src/viewer/client/components/message-components.tsx +1 -1
- package/src/viewer/client/components/output-components.tsx +7 -7
- package/src/viewer/client/components/shared-components.tsx +21 -21
- package/src/viewer/client/components/step-card.tsx +10 -12
- package/src/viewer/client/components/theme-toggle.tsx +33 -0
- package/src/viewer/client/components/trace-timeline.tsx +18 -18
- package/src/viewer/client/components/ui/badge.tsx +1 -1
- package/src/viewer/client/components/ui/button.tsx +1 -1
- package/src/viewer/client/components/ui/scroll-area.tsx +1 -1
- package/src/viewer/client/main.tsx +16 -1
- package/src/viewer/client/styles.css +60 -18
- package/src/viewer/client/theme.ts +59 -0
- package/src/viewer/client/utils.ts +12 -12
- package/src/viewer/server.ts +3 -1
- package/dist/client/assets/index-BVPj3Knk.css +0 -1
- package/dist/client/assets/index-DKzNaLaQ.js +0 -190
package/README.md
CHANGED
|
@@ -60,13 +60,19 @@ const result = streamText({
|
|
|
60
60
|
### 2. Run the viewer
|
|
61
61
|
|
|
62
62
|
```bash
|
|
63
|
-
npx @ai-sdk/devtools
|
|
63
|
+
npx @ai-sdk/devtools@latest
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
Open http://localhost:4983 to view your AI SDK interactions.
|
|
67
67
|
|
|
68
|
+
The viewer uses the dark theme by default. Use the theme button in the header to
|
|
69
|
+
switch between dark and light themes. The browser remembers your selection for
|
|
70
|
+
the next time you open the viewer at the same origin.
|
|
71
|
+
|
|
68
72
|
If you are using a monorepo, start DevTools from the same workspace where your
|
|
69
|
-
AI SDK code runs.
|
|
73
|
+
AI SDK code runs. The explicit `@latest` tag ensures that `npx` installs an
|
|
74
|
+
executable copy instead of selecting a transitive dependency whose binary is
|
|
75
|
+
not linked into that workspace.
|
|
70
76
|
|
|
71
77
|
## How it works
|
|
72
78
|
|