@tanstack/ai-devtools-core 0.3.14 → 0.3.16
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 +4 -0
- package/dist/Shell/{KINKIMWF.js → SHJAKIOY.js} +4 -11
- package/dist/Shell/{E5BETLAK.js → TWTNN4SQ.js} +4 -11
- package/dist/dev.js +1 -1
- package/dist/index.js +1 -1
- package/dist/production/Shell/{KINKIMWF.js → SHJAKIOY.js} +4 -11
- package/dist/production/Shell/{E5BETLAK.js → TWTNN4SQ.js} +4 -11
- 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/components/Shell.tsx +5 -18
package/README.md
CHANGED
|
@@ -49,6 +49,10 @@ A powerful, type-safe AI SDK for building AI-powered applications.
|
|
|
49
49
|
|
|
50
50
|
### <a href="https://tanstack.com/ai">Read the docs →</a>
|
|
51
51
|
|
|
52
|
+
## Requirements
|
|
53
|
+
|
|
54
|
+
- **Node.js v24+** is required to avoid compatibility issues with `isolated-vm`.
|
|
55
|
+
|
|
52
56
|
## Tree-Shakeable Adapters
|
|
53
57
|
|
|
54
58
|
Import only the functionality you need for smaller bundle sizes:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createComponent, ssr, ssrAttribute, escape, ssrStyleProperty } from 'solid-js/web';
|
|
2
2
|
import { createContext, createSignal, onMount, onCleanup, createEffect, For, Show, useContext, batch, createMemo, Index, Switch, Match } from 'solid-js';
|
|
3
|
-
import {
|
|
3
|
+
import { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
4
4
|
import * as goober from 'goober';
|
|
5
5
|
import { createStore, produce } from 'solid-js/store';
|
|
6
6
|
import { aiEventClient } from '@tanstack/ai-event-client';
|
|
@@ -6156,17 +6156,10 @@ var ConversationDetails = () => {
|
|
|
6156
6156
|
|
|
6157
6157
|
// src/components/Shell.tsx
|
|
6158
6158
|
var _tmpl$40 = ["<div", "><div", ' style="', '"><div', ">Active Conversations</div>", '</div><div class="', '"></div><div', ' style="', '">', "</div></div>"];
|
|
6159
|
-
function Devtools(
|
|
6160
|
-
return createComponent(
|
|
6161
|
-
get theme() {
|
|
6162
|
-
return props.theme;
|
|
6163
|
-
},
|
|
6159
|
+
function Devtools() {
|
|
6160
|
+
return createComponent(AIProvider, {
|
|
6164
6161
|
get children() {
|
|
6165
|
-
return createComponent(
|
|
6166
|
-
get children() {
|
|
6167
|
-
return createComponent(DevtoolsContent, {});
|
|
6168
|
-
}
|
|
6169
|
-
});
|
|
6162
|
+
return createComponent(DevtoolsContent, {});
|
|
6170
6163
|
}
|
|
6171
6164
|
});
|
|
6172
6165
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delegateEvents, createComponent, insert, effect, className, setStyleProperty, memo, template, setAttribute } from 'solid-js/web';
|
|
2
2
|
import { createContext, createSignal, onMount, onCleanup, createEffect, For, Show, useContext, batch, createMemo, Index, Switch, Match } from 'solid-js';
|
|
3
|
-
import {
|
|
3
|
+
import { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
4
4
|
import * as goober from 'goober';
|
|
5
5
|
import { createStore, produce } from 'solid-js/store';
|
|
6
6
|
import { aiEventClient } from '@tanstack/ai-event-client';
|
|
@@ -7452,17 +7452,10 @@ var ConversationDetails = () => {
|
|
|
7452
7452
|
|
|
7453
7453
|
// src/components/Shell.tsx
|
|
7454
7454
|
var _tmpl$40 = /* @__PURE__ */ template(`<div><div style=min-width:150px;max-width:800px><div>Active Conversations</div></div><div></div><div style=flex:1>`);
|
|
7455
|
-
function Devtools(
|
|
7456
|
-
return createComponent(
|
|
7457
|
-
get theme() {
|
|
7458
|
-
return props.theme;
|
|
7459
|
-
},
|
|
7455
|
+
function Devtools() {
|
|
7456
|
+
return createComponent(AIProvider, {
|
|
7460
7457
|
get children() {
|
|
7461
|
-
return createComponent(
|
|
7462
|
-
get children() {
|
|
7463
|
-
return createComponent(DevtoolsContent, {});
|
|
7464
|
-
}
|
|
7465
|
-
});
|
|
7458
|
+
return createComponent(DevtoolsContent, {});
|
|
7466
7459
|
}
|
|
7467
7460
|
});
|
|
7468
7461
|
}
|
package/dist/dev.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createComponent, ssr, ssrAttribute, escape, ssrStyleProperty } from 'solid-js/web';
|
|
2
2
|
import { createContext, createSignal, onMount, onCleanup, createEffect, For, Show, useContext, batch, createMemo, Index, Switch, Match } from 'solid-js';
|
|
3
|
-
import {
|
|
3
|
+
import { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
4
4
|
import * as goober from 'goober';
|
|
5
5
|
import { createStore, produce } from 'solid-js/store';
|
|
6
6
|
import { aiEventClient } from '@tanstack/ai-event-client';
|
|
@@ -6156,17 +6156,10 @@ var ConversationDetails = () => {
|
|
|
6156
6156
|
|
|
6157
6157
|
// src/components/Shell.tsx
|
|
6158
6158
|
var _tmpl$40 = ["<div", "><div", ' style="', '"><div', ">Active Conversations</div>", '</div><div class="', '"></div><div', ' style="', '">', "</div></div>"];
|
|
6159
|
-
function Devtools(
|
|
6160
|
-
return createComponent(
|
|
6161
|
-
get theme() {
|
|
6162
|
-
return props.theme;
|
|
6163
|
-
},
|
|
6159
|
+
function Devtools() {
|
|
6160
|
+
return createComponent(AIProvider, {
|
|
6164
6161
|
get children() {
|
|
6165
|
-
return createComponent(
|
|
6166
|
-
get children() {
|
|
6167
|
-
return createComponent(DevtoolsContent, {});
|
|
6168
|
-
}
|
|
6169
|
-
});
|
|
6162
|
+
return createComponent(DevtoolsContent, {});
|
|
6170
6163
|
}
|
|
6171
6164
|
});
|
|
6172
6165
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delegateEvents, createComponent, insert, effect, className, setStyleProperty, memo, template, setAttribute } from 'solid-js/web';
|
|
2
2
|
import { createContext, createSignal, onMount, onCleanup, createEffect, For, Show, useContext, batch, createMemo, Index, Switch, Match } from 'solid-js';
|
|
3
|
-
import {
|
|
3
|
+
import { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
4
4
|
import * as goober from 'goober';
|
|
5
5
|
import { createStore, produce } from 'solid-js/store';
|
|
6
6
|
import { aiEventClient } from '@tanstack/ai-event-client';
|
|
@@ -7452,17 +7452,10 @@ var ConversationDetails = () => {
|
|
|
7452
7452
|
|
|
7453
7453
|
// src/components/Shell.tsx
|
|
7454
7454
|
var _tmpl$40 = /* @__PURE__ */ template(`<div><div style=min-width:150px;max-width:800px><div>Active Conversations</div></div><div></div><div style=flex:1>`);
|
|
7455
|
-
function Devtools(
|
|
7456
|
-
return createComponent(
|
|
7457
|
-
get theme() {
|
|
7458
|
-
return props.theme;
|
|
7459
|
-
},
|
|
7455
|
+
function Devtools() {
|
|
7456
|
+
return createComponent(AIProvider, {
|
|
7460
7457
|
get children() {
|
|
7461
|
-
return createComponent(
|
|
7462
|
-
get children() {
|
|
7463
|
-
return createComponent(DevtoolsContent, {});
|
|
7464
|
-
}
|
|
7465
|
-
});
|
|
7458
|
+
return createComponent(DevtoolsContent, {});
|
|
7466
7459
|
}
|
|
7467
7460
|
});
|
|
7468
7461
|
}
|
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/TWTNN4SQ.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/TWTNN4SQ.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/SHJAKIOY.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.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"description": "Core TanStack AI Devtools",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"@tanstack/devtools-utils": "^0.4.0",
|
|
73
73
|
"goober": "^2.1.18",
|
|
74
74
|
"solid-js": "^1.9.10",
|
|
75
|
-
"@tanstack/ai": "0.
|
|
76
|
-
"@tanstack/ai-event-client": "0.
|
|
75
|
+
"@tanstack/ai": "0.10.0",
|
|
76
|
+
"@tanstack/ai-event-client": "0.2.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@vitest/coverage-v8": "4.0.14",
|
package/src/components/Shell.tsx
CHANGED
|
@@ -1,28 +1,15 @@
|
|
|
1
1
|
import { createSignal, onCleanup, onMount } from 'solid-js'
|
|
2
|
-
import {
|
|
3
|
-
Header,
|
|
4
|
-
HeaderLogo,
|
|
5
|
-
MainPanel,
|
|
6
|
-
ThemeContextProvider,
|
|
7
|
-
} from '@tanstack/devtools-ui'
|
|
2
|
+
import { Header, HeaderLogo, MainPanel } from '@tanstack/devtools-ui'
|
|
8
3
|
import { useStyles } from '../styles/use-styles'
|
|
9
4
|
import { AIProvider } from '../store/ai-context'
|
|
10
5
|
import { ConversationsList } from './ConversationsList'
|
|
11
6
|
import { ConversationDetails } from './ConversationDetails'
|
|
12
7
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
interface DevtoolProps {
|
|
16
|
-
theme: TanStackDevtoolsTheme
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export default function Devtools(props: DevtoolProps) {
|
|
8
|
+
export default function Devtools() {
|
|
20
9
|
return (
|
|
21
|
-
<
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
</AIProvider>
|
|
25
|
-
</ThemeContextProvider>
|
|
10
|
+
<AIProvider>
|
|
11
|
+
<DevtoolsContent />
|
|
12
|
+
</AIProvider>
|
|
26
13
|
)
|
|
27
14
|
}
|
|
28
15
|
|