@ai-sdk/devtools 1.0.0-beta.11 → 1.0.0-beta.13
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/dist/client/index.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600;700&display=swap"
|
|
11
11
|
rel="stylesheet"
|
|
12
12
|
/>
|
|
13
|
-
<script type="module" crossorigin src="/assets/index-
|
|
13
|
+
<script type="module" crossorigin src="/assets/index-BMCS-tQq.js"></script>
|
|
14
14
|
<link rel="stylesheet" crossorigin href="/assets/index-B1quREL_.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/devtools",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@hono/node-server": "^1.13.7",
|
|
29
29
|
"hono": "^4.6.14",
|
|
30
|
-
"@ai-sdk/provider": "4.0.0-beta.
|
|
30
|
+
"@ai-sdk/provider": "4.0.0-beta.11"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"vaul": "^1.1.2",
|
|
57
57
|
"vite": "^6.0.3",
|
|
58
58
|
"zod": "3.25.76",
|
|
59
|
-
"ai": "7.0.0-beta.
|
|
59
|
+
"ai": "7.0.0-beta.88"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"dev": "concurrently -k \"pnpm dev:api\" \"pnpm dev:client\"",
|
package/src/integration.ts
CHANGED
|
@@ -75,17 +75,6 @@ export function StepCard({
|
|
|
75
75
|
const output = parseJson(step.output) as ParsedOutput | null;
|
|
76
76
|
const usage = parseJson(step.usage) as ParsedUsage | null;
|
|
77
77
|
|
|
78
|
-
const nextStep = steps[index + 1];
|
|
79
|
-
const nextInput = nextStep
|
|
80
|
-
? (parseJson(nextStep.input) as ParsedInput | null)
|
|
81
|
-
: null;
|
|
82
|
-
const toolResults: ContentPart[] =
|
|
83
|
-
nextInput?.prompt
|
|
84
|
-
?.filter((msg: PromptMessage) => msg.role === 'tool')
|
|
85
|
-
?.flatMap((msg: PromptMessage) =>
|
|
86
|
-
Array.isArray(msg.content) ? msg.content : [],
|
|
87
|
-
) ?? [];
|
|
88
|
-
|
|
89
78
|
const summary = getStepSummary(output, step.error);
|
|
90
79
|
const isFirstStep = index === 0;
|
|
91
80
|
const inputSummary = getStepInputSummary(input, isFirstStep);
|