@tanstack/ai-devtools-core 0.3.16 → 0.3.17
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/Shell/{TWTNN4SQ.js → E5BETLAK.js} +11 -4
- package/dist/Shell/{SHJAKIOY.js → KINKIMWF.js} +11 -4
- package/dist/dev.js +1 -1
- package/dist/index.js +1 -1
- package/dist/production/Shell/{TWTNN4SQ.js → E5BETLAK.js} +11 -4
- package/dist/production/Shell/{SHJAKIOY.js → KINKIMWF.js} +11 -4
- 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 +1 -1
- package/src/components/Shell.tsx +18 -5
|
@@ -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 { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
3
|
+
import { ThemeContextProvider, 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,10 +7452,17 @@ 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(
|
|
7455
|
+
function Devtools(props) {
|
|
7456
|
+
return createComponent(ThemeContextProvider, {
|
|
7457
|
+
get theme() {
|
|
7458
|
+
return props.theme;
|
|
7459
|
+
},
|
|
7457
7460
|
get children() {
|
|
7458
|
-
return createComponent(
|
|
7461
|
+
return createComponent(AIProvider, {
|
|
7462
|
+
get children() {
|
|
7463
|
+
return createComponent(DevtoolsContent, {});
|
|
7464
|
+
}
|
|
7465
|
+
});
|
|
7459
7466
|
}
|
|
7460
7467
|
});
|
|
7461
7468
|
}
|
|
@@ -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 { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
3
|
+
import { ThemeContextProvider, 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,10 +6156,17 @@ 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(
|
|
6159
|
+
function Devtools(props) {
|
|
6160
|
+
return createComponent(ThemeContextProvider, {
|
|
6161
|
+
get theme() {
|
|
6162
|
+
return props.theme;
|
|
6163
|
+
},
|
|
6161
6164
|
get children() {
|
|
6162
|
-
return createComponent(
|
|
6165
|
+
return createComponent(AIProvider, {
|
|
6166
|
+
get children() {
|
|
6167
|
+
return createComponent(DevtoolsContent, {});
|
|
6168
|
+
}
|
|
6169
|
+
});
|
|
6163
6170
|
}
|
|
6164
6171
|
});
|
|
6165
6172
|
}
|
package/dist/dev.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -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 { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
3
|
+
import { ThemeContextProvider, 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,10 +7452,17 @@ 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(
|
|
7455
|
+
function Devtools(props) {
|
|
7456
|
+
return createComponent(ThemeContextProvider, {
|
|
7457
|
+
get theme() {
|
|
7458
|
+
return props.theme;
|
|
7459
|
+
},
|
|
7457
7460
|
get children() {
|
|
7458
|
-
return createComponent(
|
|
7461
|
+
return createComponent(AIProvider, {
|
|
7462
|
+
get children() {
|
|
7463
|
+
return createComponent(DevtoolsContent, {});
|
|
7464
|
+
}
|
|
7465
|
+
});
|
|
7459
7466
|
}
|
|
7460
7467
|
});
|
|
7461
7468
|
}
|
|
@@ -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 { MainPanel, Header, HeaderLogo, useTheme, JsonTree } from '@tanstack/devtools-ui';
|
|
3
|
+
import { ThemeContextProvider, 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,10 +6156,17 @@ 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(
|
|
6159
|
+
function Devtools(props) {
|
|
6160
|
+
return createComponent(ThemeContextProvider, {
|
|
6161
|
+
get theme() {
|
|
6162
|
+
return props.theme;
|
|
6163
|
+
},
|
|
6161
6164
|
get children() {
|
|
6162
|
-
return createComponent(
|
|
6165
|
+
return createComponent(AIProvider, {
|
|
6166
|
+
get children() {
|
|
6167
|
+
return createComponent(DevtoolsContent, {});
|
|
6168
|
+
}
|
|
6169
|
+
});
|
|
6163
6170
|
}
|
|
6164
6171
|
});
|
|
6165
6172
|
}
|
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/E5BETLAK.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/E5BETLAK.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/KINKIMWF.js')
|
|
6
6
|
);
|
|
7
7
|
|
|
8
8
|
export { AiDevtoolsCore };
|
package/dist/server.js
CHANGED
package/package.json
CHANGED
package/src/components/Shell.tsx
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
import { createSignal, onCleanup, onMount } from 'solid-js'
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Header,
|
|
4
|
+
HeaderLogo,
|
|
5
|
+
MainPanel,
|
|
6
|
+
ThemeContextProvider,
|
|
7
|
+
} from '@tanstack/devtools-ui'
|
|
3
8
|
import { useStyles } from '../styles/use-styles'
|
|
4
9
|
import { AIProvider } from '../store/ai-context'
|
|
5
10
|
import { ConversationsList } from './ConversationsList'
|
|
6
11
|
import { ConversationDetails } from './ConversationDetails'
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
import type { TanStackDevtoolsTheme } from '@tanstack/devtools-ui'
|
|
14
|
+
|
|
15
|
+
interface DevtoolProps {
|
|
16
|
+
theme: TanStackDevtoolsTheme
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default function Devtools(props: DevtoolProps) {
|
|
9
20
|
return (
|
|
10
|
-
<
|
|
11
|
-
<
|
|
12
|
-
|
|
21
|
+
<ThemeContextProvider theme={props.theme}>
|
|
22
|
+
<AIProvider>
|
|
23
|
+
<DevtoolsContent />
|
|
24
|
+
</AIProvider>
|
|
25
|
+
</ThemeContextProvider>
|
|
13
26
|
)
|
|
14
27
|
}
|
|
15
28
|
|