@tanstack/ai-devtools-core 0.5.23 → 0.5.25
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 +1 -1
- package/dist/Shell/{TTHBDBPP.js → E43JXE77.js} +1 -1
- package/dist/Shell/{LR2PUWRS.js → FX355YGU.js} +1 -1
- package/dist/Shell/{7YKZZJIO.js → Z7BWPTSB.js} +1 -1
- package/dist/dev.js +1 -1
- package/dist/index.js +1 -1
- package/dist/production/Shell/{TTHBDBPP.js → E43JXE77.js} +1 -1
- package/dist/production/Shell/{LR2PUWRS.js → FX355YGU.js} +1 -1
- package/dist/production/Shell/{7YKZZJIO.js → Z7BWPTSB.js} +1 -1
- package/dist/production/dev.js +1 -1
- package/dist/production/index.js +1 -1
- package/dist/production/server.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +3 -3
- package/src/store/ai-context.tsx +2 -1
- package/src/store/hook-registry.ts +1 -1
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ export async function POST(request: Request) {
|
|
|
154
154
|
|
|
155
155
|
Learn more in the
|
|
156
156
|
[Chat & Streaming docs](https://tanstack.com/ai/latest/docs/chat/streaming) and
|
|
157
|
-
[
|
|
157
|
+
[Transports docs](https://tanstack.com/ai/latest/docs/transports/overview).
|
|
158
158
|
|
|
159
159
|
## Type-Safe Tools
|
|
160
160
|
|
|
@@ -5476,7 +5476,7 @@ var AIProvider = (props) => {
|
|
|
5476
5476
|
if (clientId && streamId) {
|
|
5477
5477
|
streamToConversation.set(streamId, clientId);
|
|
5478
5478
|
}
|
|
5479
|
-
if (role === "tool" || role === "system") return;
|
|
5479
|
+
if (role === "tool" || role === "system" || role === "activity") return;
|
|
5480
5480
|
const source = normalizeMessageSource(e.payload.source, clientId ? "client" : "server");
|
|
5481
5481
|
const conversationType = clientId && source !== "server" ? "client" : "server";
|
|
5482
5482
|
if (!state.conversations[conversationId]) {
|
|
@@ -5497,7 +5497,7 @@ var AIProvider = (props) => {
|
|
|
5497
5497
|
if (clientId && streamId) {
|
|
5498
5498
|
streamToConversation.set(streamId, clientId);
|
|
5499
5499
|
}
|
|
5500
|
-
if (role === "tool" || role === "system") return;
|
|
5500
|
+
if (role === "tool" || role === "system" || role === "activity") return;
|
|
5501
5501
|
const source = normalizeMessageSource(e.payload.source, clientId ? "client" : "server");
|
|
5502
5502
|
const conversationType = clientId && source !== "server" ? "client" : "server";
|
|
5503
5503
|
if (!state.conversations[conversationId]) {
|
|
@@ -5514,7 +5514,7 @@ var AIProvider = (props) => {
|
|
|
5514
5514
|
if (clientId && streamId) {
|
|
5515
5515
|
streamToConversation.set(streamId, clientId);
|
|
5516
5516
|
}
|
|
5517
|
-
if (role === "tool" || role === "system") return;
|
|
5517
|
+
if (role === "tool" || role === "system" || role === "activity") return;
|
|
5518
5518
|
const source = normalizeMessageSource(e.payload.source, clientId ? "client" : "server");
|
|
5519
5519
|
const conversationType = clientId && source !== "server" ? "client" : "server";
|
|
5520
5520
|
if (!state.conversations[conversationId]) {
|
package/dist/dev.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -5476,7 +5476,7 @@ var AIProvider = (props) => {
|
|
|
5476
5476
|
if (clientId && streamId) {
|
|
5477
5477
|
streamToConversation.set(streamId, clientId);
|
|
5478
5478
|
}
|
|
5479
|
-
if (role === "tool" || role === "system") return;
|
|
5479
|
+
if (role === "tool" || role === "system" || role === "activity") return;
|
|
5480
5480
|
const source = normalizeMessageSource(e.payload.source, clientId ? "client" : "server");
|
|
5481
5481
|
const conversationType = clientId && source !== "server" ? "client" : "server";
|
|
5482
5482
|
if (!state.conversations[conversationId]) {
|
|
@@ -5497,7 +5497,7 @@ var AIProvider = (props) => {
|
|
|
5497
5497
|
if (clientId && streamId) {
|
|
5498
5498
|
streamToConversation.set(streamId, clientId);
|
|
5499
5499
|
}
|
|
5500
|
-
if (role === "tool" || role === "system") return;
|
|
5500
|
+
if (role === "tool" || role === "system" || role === "activity") return;
|
|
5501
5501
|
const source = normalizeMessageSource(e.payload.source, clientId ? "client" : "server");
|
|
5502
5502
|
const conversationType = clientId && source !== "server" ? "client" : "server";
|
|
5503
5503
|
if (!state.conversations[conversationId]) {
|
|
@@ -5514,7 +5514,7 @@ var AIProvider = (props) => {
|
|
|
5514
5514
|
if (clientId && streamId) {
|
|
5515
5515
|
streamToConversation.set(streamId, clientId);
|
|
5516
5516
|
}
|
|
5517
|
-
if (role === "tool" || role === "system") return;
|
|
5517
|
+
if (role === "tool" || role === "system" || role === "activity") return;
|
|
5518
5518
|
const source = normalizeMessageSource(e.payload.source, clientId ? "client" : "server");
|
|
5519
5519
|
const conversationType = clientId && source !== "server" ? "client" : "server";
|
|
5520
5520
|
if (!state.conversations[conversationId]) {
|
package/dist/production/dev.js
CHANGED
|
@@ -2,7 +2,7 @@ import { constructCoreClass } from '@tanstack/devtools-utils/solid/class';
|
|
|
2
2
|
|
|
3
3
|
// src/core.ts
|
|
4
4
|
var [AiDevtoolsCore, AiDevtoolsCoreNoOp] = constructCoreClass(
|
|
5
|
-
() => import('./Shell/
|
|
5
|
+
() => import('./Shell/Z7BWPTSB.js')
|
|
6
6
|
);
|
|
7
7
|
|
|
8
8
|
export { AiDevtoolsCore };
|
package/dist/production/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { constructCoreClass } from '@tanstack/devtools-utils/solid/class';
|
|
|
2
2
|
|
|
3
3
|
// src/core.ts
|
|
4
4
|
var [AiDevtoolsCore, AiDevtoolsCoreNoOp] = constructCoreClass(
|
|
5
|
-
() => import('./Shell/
|
|
5
|
+
() => import('./Shell/FX355YGU.js')
|
|
6
6
|
);
|
|
7
7
|
|
|
8
8
|
export { AiDevtoolsCore };
|
|
@@ -2,7 +2,7 @@ import { constructCoreClass } from '@tanstack/devtools-utils/solid/class';
|
|
|
2
2
|
|
|
3
3
|
// src/core.ts
|
|
4
4
|
var [AiDevtoolsCore, AiDevtoolsCoreNoOp] = constructCoreClass(
|
|
5
|
-
() => import('./Shell/
|
|
5
|
+
() => import('./Shell/E43JXE77.js')
|
|
6
6
|
);
|
|
7
7
|
|
|
8
8
|
export { AiDevtoolsCore };
|
package/dist/server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/ai-devtools-core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.25",
|
|
4
4
|
"description": "Core TanStack AI Devtools plugin for inspecting chat messages, tool calls, streams, and errors.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"@tanstack/devtools-utils": "^0.7.0",
|
|
85
85
|
"goober": "^2.1.18",
|
|
86
86
|
"solid-js": "^1.9.10",
|
|
87
|
-
"@tanstack/ai": "^0.
|
|
88
|
-
"@tanstack/ai-event-client": "^0.13.
|
|
87
|
+
"@tanstack/ai": "^0.66.0",
|
|
88
|
+
"@tanstack/ai-event-client": "^0.13.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@vitest/coverage-v8": "4.1.10",
|
package/src/store/ai-context.tsx
CHANGED
|
@@ -1391,7 +1391,8 @@ export const AIProvider: ParentComponent = (props) => {
|
|
|
1391
1391
|
if (clientId && streamId) {
|
|
1392
1392
|
streamToConversation.set(streamId, clientId)
|
|
1393
1393
|
}
|
|
1394
|
-
|
|
1394
|
+
// Activity rows have no text or tool calls for the message list.
|
|
1395
|
+
if (role === 'tool' || role === 'system' || role === 'activity') return
|
|
1395
1396
|
|
|
1396
1397
|
const source = normalizeMessageSource(
|
|
1397
1398
|
e.payload.source,
|