@tanstack/ai-devtools-core 0.5.23 → 0.5.24

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.
@@ -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
@@ -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/7YKZZJIO.js')
5
+ () => import('./Shell/Z7BWPTSB.js')
6
6
  );
7
7
 
8
8
  // src/index.ts
package/dist/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/LR2PUWRS.js')
5
+ () => import('./Shell/FX355YGU.js')
6
6
  );
7
7
 
8
8
  // src/index.ts
@@ -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]) {
@@ -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/7YKZZJIO.js')
5
+ () => import('./Shell/Z7BWPTSB.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/LR2PUWRS.js')
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/TTHBDBPP.js')
5
+ () => import('./Shell/E43JXE77.js')
6
6
  );
7
7
 
8
8
  export { AiDevtoolsCore };
package/dist/server.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/TTHBDBPP.js')
5
+ () => import('./Shell/E43JXE77.js')
6
6
  );
7
7
 
8
8
  // src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai-devtools-core",
3
- "version": "0.5.23",
3
+ "version": "0.5.24",
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.64.0",
88
- "@tanstack/ai-event-client": "^0.13.0"
87
+ "@tanstack/ai": "^0.65.0",
88
+ "@tanstack/ai-event-client": "^0.13.1"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@vitest/coverage-v8": "4.1.10",
@@ -1391,7 +1391,8 @@ export const AIProvider: ParentComponent = (props) => {
1391
1391
  if (clientId && streamId) {
1392
1392
  streamToConversation.set(streamId, clientId)
1393
1393
  }
1394
- if (role === 'tool' || role === 'system') return
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,
@@ -54,7 +54,7 @@ export interface ToolFixtureRecord {
54
54
 
55
55
  export interface ToolFixtureMessage {
56
56
  id: string
57
- role: 'system' | 'user' | 'assistant'
57
+ role: 'system' | 'user' | 'assistant' | 'activity'
58
58
  parts: Array<unknown>
59
59
  createdAt?: number | string
60
60
  }