@theoremjs/react 0.3.4 → 0.3.5-next.1001.g68d8dcf
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 +136 -6
- package/client/live/use-live-caption-log.d.ts +1 -1
- package/client/trace-story.d.ts +1 -1
- package/client/transcript-groups.d.ts +27 -4
- package/client/transcript-groups.js +45 -7
- package/components/InkWaveform.d.ts +1 -1
- package/components/live/use-live-call.d.ts +3 -3
- package/components/live/use-live-runner-controls.d.ts +2 -2
- package/components/live/use-live-runner-ui.d.ts +3 -3
- package/components/live/use-live-session-client.d.ts +2 -2
- package/components/use-composer-voice.d.ts +1 -1
- package/components/use-voice-playback.d.ts +1 -1
- package/hooks/use-embedding-index.d.ts +1 -1
- package/hooks/use-theorem-chat.d.ts +45 -44
- package/hooks/use-theorem-chat.js +10 -1
- package/hooks/use-theorem-decision.d.ts +1 -1
- package/hooks/use-theorem-embedding.d.ts +1 -1
- package/hooks/use-theorem-host.d.ts +1 -1
- package/hooks/use-turn-clock.d.ts +19 -0
- package/hooks/use-turn-clock.js +71 -0
- package/index.d.ts +8 -6
- package/index.js +1 -0
- package/live.d.ts +4 -4
- package/package.json +5 -5
- package/ui/ChatComposerBar.d.ts +19 -0
- package/ui/ChatComposerBar.js +141 -50
- package/ui/ChatComposerRow.d.ts +66 -0
- package/ui/ChatComposerRow.js +196 -0
- package/ui/ChatTranscript.d.ts +31 -2
- package/ui/ChatTranscript.js +165 -90
- package/ui/ConsoleFrame.d.ts +2 -2
- package/ui/DecisionAnswers.d.ts +1 -1
- package/ui/DecisionAnswers.js +9 -6
- package/ui/DecisionImages.d.ts +4 -3
- package/ui/EmbeddingDocuments.d.ts +2 -2
- package/ui/EmbeddingQuery.d.ts +2 -2
- package/ui/EmbeddingResults.d.ts +3 -3
- package/ui/LiveCallTile.d.ts +2 -2
- package/ui/LiveCaptionsPanel.d.ts +1 -1
- package/ui/LiveRunner.d.ts +6 -4
- package/ui/LiveRunner.js +4 -4
- package/ui/LiveToolGateDialog.d.ts +1 -1
- package/ui/LiveVideoPreview.d.ts +1 -1
- package/ui/RadialCharts.d.ts +2 -2
- package/ui/RankedBars.d.ts +1 -1
- package/ui/SchemaFields.d.ts +1 -1
- package/ui/SchemaFields.js +56 -3
- package/ui/ShapedData.js +4 -4
- package/ui/StateFields.d.ts +1 -1
- package/ui/StateFields.js +3 -3
- package/ui/TheoremChat.d.ts +74 -4
- package/ui/TheoremChat.js +53 -33
- package/ui/TheoremDecision.d.ts +3 -3
- package/ui/TheoremEmbedding.d.ts +2 -2
- package/ui/TheoremHost.d.ts +16 -2
- package/ui/TheoremHost.js +6 -6
- package/ui/TheoremSurface.d.ts +22 -0
- package/ui/TheoremSurface.js +13 -0
- package/ui/ToolResult.js +8 -6
- package/ui/TraceCharts.d.ts +2 -2
- package/ui/TraceGuardrails.d.ts +2 -2
- package/ui/TraceInspectorPanel.d.ts +1 -1
- package/ui/TraceOverview.d.ts +2 -2
- package/ui/TraceSpanDetail.d.ts +1 -1
- package/ui/TraceStory.d.ts +2 -2
- package/ui/TraceValues.d.ts +2 -2
- package/ui/TraceWaterfall.d.ts +1 -1
- package/ui/approval-heading.d.ts +1 -1
- package/ui/built/theme.css +91 -41
- package/ui/built/theme.css.d.ts +2 -2
- package/ui/built/theorem.d.ts +2 -2
- package/ui/built/theorem.js +41 -19
- package/ui/built/theorem.variants.d.ts +2 -2
- package/ui/embedding-space-view.d.ts +1 -1
- package/ui/index.d.ts +33 -28
- package/ui/index.js +4 -1
- package/ui/labels-provider.d.ts +1 -1
- package/ui/labels.d.ts +70 -2
- package/ui/labels.js +68 -0
- package/ui/media-viewer.d.ts +34 -0
- package/ui/media-viewer.js +27 -0
- package/ui/tool-media-shown.d.ts +13 -0
- package/ui/tool-media-shown.js +15 -0
- package/ui/tool-media.d.ts +34 -0
- package/ui/tool-media.js +52 -0
- package/ui/trace-patterns.d.ts +1 -1
- package/ui/transcript-copy-text.d.ts +1 -1
- package/ui/transcript-copy-text.js +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DefinedTheme } from '@astryxdesign/core/theme';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { TheoremLabels } from './labels.js';
|
|
4
|
+
import type { MediaViewer } from './media-viewer.js';
|
|
5
|
+
import { type ResolveMedia, type ToolMediaShown } from './tool-media.js';
|
|
6
|
+
/** What `TheoremSurface` takes: each is the `TheoremChat` prop of the same name. */
|
|
7
|
+
export type TheoremSurfaceProps = {
|
|
8
|
+
theme?: DefinedTheme;
|
|
9
|
+
mode?: 'system' | 'light' | 'dark';
|
|
10
|
+
labels?: TheoremLabels;
|
|
11
|
+
detectCodeLanguage?: boolean;
|
|
12
|
+
media?: ToolMediaShown;
|
|
13
|
+
resolveMedia?: ResolveMedia;
|
|
14
|
+
mediaViewer?: MediaViewer;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* The theme, labels, Markdown plugins, and tool media a chat or a host page draws with. Wrap
|
|
19
|
+
* `TheoremChatComposer` and `TheoremChatTranscript` in it when you place them yourself; it takes
|
|
20
|
+
* what `TheoremChat` takes for each.
|
|
21
|
+
*/
|
|
22
|
+
export declare function TheoremSurface({ theme, mode, labels, detectCodeLanguage, media, resolveMedia, mediaViewer, children, }: TheoremSurfaceProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { TheoremLabelsProvider } from "./labels-provider.js";
|
|
3
|
+
import { MarkdownPluginsProvider } from "./markdown-plugins.js";
|
|
4
|
+
import { TheoremThemeProvider } from "./theme.js";
|
|
5
|
+
import { ToolMediaProvider } from "./tool-media.js";
|
|
6
|
+
/**
|
|
7
|
+
* The theme, labels, Markdown plugins, and tool media a chat or a host page draws with. Wrap
|
|
8
|
+
* `TheoremChatComposer` and `TheoremChatTranscript` in it when you place them yourself; it takes
|
|
9
|
+
* what `TheoremChat` takes for each.
|
|
10
|
+
*/
|
|
11
|
+
export function TheoremSurface({ theme, mode, labels, detectCodeLanguage, media, resolveMedia, mediaViewer, children, }) {
|
|
12
|
+
return (_jsx(TheoremThemeProvider, { theme: theme, mode: mode, children: _jsx(TheoremLabelsProvider, { labels: labels, children: _jsx(MarkdownPluginsProvider, { detectCodeLanguage: detectCodeLanguage, children: _jsx(ToolMediaProvider, { media: media, resolveMedia: resolveMedia, mediaViewer: mediaViewer, children: children }) }) }) }));
|
|
13
|
+
}
|
package/ui/ToolResult.js
CHANGED
|
@@ -2,14 +2,15 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { AspectRatio } from '@astryxdesign/core/AspectRatio';
|
|
3
3
|
import { ClickableCard } from '@astryxdesign/core/ClickableCard';
|
|
4
4
|
import { useLocale } from '@astryxdesign/core/i18n';
|
|
5
|
-
import { Lightbox } from '@astryxdesign/core/Lightbox';
|
|
6
5
|
import { Skeleton } from '@astryxdesign/core/Skeleton';
|
|
7
6
|
import { VStack } from '@astryxdesign/core/VStack';
|
|
8
|
-
import { hasLead, layoutResult, returnedMedia, withUnit, } from '@theoremjs/web/client';
|
|
7
|
+
import { hasLead, layoutResult, referencesIn, returnedMedia, withUnit, } from '@theoremjs/web/client';
|
|
9
8
|
import { lazy, Suspense, useMemo, useState } from 'react';
|
|
10
9
|
import { Arrive } from "./arrive.js";
|
|
11
10
|
import { CardWall } from "./CardWall.js";
|
|
11
|
+
import { ReferencedMedia } from "./ChatTranscript.js";
|
|
12
12
|
import { useLabels } from "./labels-provider.js";
|
|
13
|
+
import { PageMediaViewer } from "./media-viewer.js";
|
|
13
14
|
import { keyedByContent } from "./row-keys.js";
|
|
14
15
|
import { ShapedData } from "./ShapedData.js";
|
|
15
16
|
import { ChartCard } from "./trace-patterns.js";
|
|
@@ -27,15 +28,16 @@ function ResultLead({ layout, parts = [], }) {
|
|
|
27
28
|
const t = useLabels();
|
|
28
29
|
const locale = useLocale();
|
|
29
30
|
const decimal = useMemo(() => new Intl.NumberFormat(locale, { maximumFractionDigits: 2 }), [locale]);
|
|
30
|
-
const media = useMemo(() => returnedMedia(
|
|
31
|
+
const media = useMemo(() => returnedMedia(parts, t('@theorem.host.image')), [parts, t]);
|
|
32
|
+
const references = useMemo(() => referencesIn(parts), [parts]);
|
|
31
33
|
const [open, setOpen] = useState(null);
|
|
32
|
-
if (!hasLead(layout, media))
|
|
34
|
+
if (!hasLead(layout, media) && references.length === 0)
|
|
33
35
|
return null;
|
|
34
36
|
const { images, audio } = media;
|
|
35
|
-
return (_jsxs(VStack, { gap: 3, children: [_jsxs(CardWall, { minWidth: CARD_PX, children: [layout.figures.map((figure) => (_jsx(Arrive, { children: _jsx(ChartCard, { title: figure.label, value: withUnit(decimal.format(figure.value), figure.unit) }) }, `figure:${figure.key}`))), layout.charts.map((chart) => (_jsx(Suspense, { fallback: _jsx(Arrive, { children: _jsx(Skeleton, { height: CHART_CARD_PX }) }), children: _jsx(Arrive, { children: _jsx(ToolResultChart, { chart: chart }) }) }, `chart:${chart.key}`))), images.map((image, index) => (_jsx(Arrive, { children: _jsx(ClickableCard, { label: image.alt || 'Open image', padding: 0, onClick: () => setOpen(index), children: _jsx(AspectRatio, { ratio: 4 / 3, fit: "cover", children: _jsx("img", { src: image.src, alt: image.alt, loading: "lazy" }) }) }) }, `image:${image.src}`)))] }), images.length > 0 ? (_jsx(
|
|
37
|
+
return (_jsxs(VStack, { gap: 3, children: [_jsxs(CardWall, { minWidth: CARD_PX, children: [layout.figures.map((figure) => (_jsx(Arrive, { children: _jsx(ChartCard, { title: figure.label, value: withUnit(decimal.format(figure.value), figure.unit) }) }, `figure:${figure.key}`))), layout.charts.map((chart) => (_jsx(Suspense, { fallback: _jsx(Arrive, { children: _jsx(Skeleton, { height: CHART_CARD_PX }) }), children: _jsx(Arrive, { children: _jsx(ToolResultChart, { chart: chart }) }) }, `chart:${chart.key}`))), images.map((image, index) => (_jsx(Arrive, { children: _jsx(ClickableCard, { label: image.alt || 'Open image', padding: 0, onClick: () => setOpen(index), children: _jsx(AspectRatio, { ratio: 4 / 3, fit: "cover", children: _jsx("img", { src: image.src, alt: image.alt, loading: "lazy" }) }) }) }, `image:${image.src}`)))] }), images.length > 0 ? (_jsx(PageMediaViewer, { isOpen: open !== null, onOpenChange: (isOpen) => {
|
|
36
38
|
if (!isOpen)
|
|
37
39
|
setOpen(null);
|
|
38
|
-
}, media: images.map((image) => ({ src: image.src, alt: image.alt })), index: open ?? 0, onIndexChange: setOpen })) : null, keyedByContent(audio, (clip) => clip.src).map(({ item: clip, key }) => (_jsx(Arrive, { children: _jsx(VoiceNote, { src: clip.src, mimeType: clip.mimeType }) }, key)))] }));
|
|
40
|
+
}, media: images.map((image) => ({ type: 'image', src: image.src, alt: image.alt })), index: open ?? 0, onIndexChange: setOpen })) : null, keyedByContent(audio, (clip) => clip.src).map(({ item: clip, key }) => (_jsx(Arrive, { children: _jsx(VoiceNote, { src: clip.src, mimeType: clip.mimeType }) }, key))), references.map((reference) => (_jsx(Arrive, { children: _jsx(ReferencedMedia, { reference: reference }) }, `reference:${reference.uri}`)))] }));
|
|
39
41
|
}
|
|
40
42
|
/**
|
|
41
43
|
* A tool's output under one Response heading, led by what answers it (figures,
|
package/ui/TraceCharts.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type TraceTimeSplit, type TraceTurn } from '../client/trace-story.
|
|
2
|
-
import { type TraceNode } from '../client/trace-view.
|
|
1
|
+
import { type TraceTimeSplit, type TraceTurn } from '../client/trace-story.js';
|
|
2
|
+
import { type TraceNode } from '../client/trace-view.js';
|
|
3
3
|
/** Where a turn's time, tokens, and slowest steps went. A bar opens its span. */
|
|
4
4
|
export declare function TraceCharts({ root, split, onSelect, }: {
|
|
5
5
|
root: TraceNode;
|
package/ui/TraceGuardrails.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TraceGuardrailCheck } from '../client/trace-story.
|
|
2
|
-
import type { TraceNode } from '../client/trace-view.
|
|
1
|
+
import type { TraceGuardrailCheck } from '../client/trace-story.js';
|
|
2
|
+
import type { TraceNode } from '../client/trace-view.js';
|
|
3
3
|
/**
|
|
4
4
|
* Every guardrail check of the turn. The ones that acted lead, each with the
|
|
5
5
|
* rules it matched and why; the passes follow on one quiet line.
|
|
@@ -2,7 +2,7 @@ import type { TraceRecord } from '@theoremjs/agents';
|
|
|
2
2
|
import type { ProfileObservabilityView } from '@theoremjs/agents/interface';
|
|
3
3
|
import type { TraceFeed } from '@theoremjs/web/client';
|
|
4
4
|
import { type ReactNode } from 'react';
|
|
5
|
-
import { type SidePanelLabels } from './SidePanel.
|
|
5
|
+
import { type SidePanelLabels } from './SidePanel.js';
|
|
6
6
|
export type TraceInspector = {
|
|
7
7
|
/** The header toggle; null when the host drives the trace or the profile records none. */
|
|
8
8
|
toggle: ReactNode;
|
package/ui/TraceOverview.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import { type TraceLatency, type TraceTurn } from '../client/trace-story.
|
|
3
|
-
import type { TraceTotals } from '../client/trace-view.
|
|
2
|
+
import { type TraceLatency, type TraceTurn } from '../client/trace-story.js';
|
|
3
|
+
import type { TraceTotals } from '../client/trace-view.js';
|
|
4
4
|
/** Width a chart draws at before it has measured its column: the panel's narrowest. */
|
|
5
5
|
export declare const FIRST_WIDTH_PX = 280;
|
|
6
6
|
/**
|
package/ui/TraceSpanDetail.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TraceNode } from '../client/trace-view.
|
|
1
|
+
import { type TraceNode } from '../client/trace-view.js';
|
|
2
2
|
/** One span in full: who acted and how it ended, what went in and came out, its tokens, then every detail it recorded. */
|
|
3
3
|
export declare function TraceSpanDetail({ node, turnStartMs, isClose, onBack, onOpen, }: {
|
|
4
4
|
node: TraceNode;
|
package/ui/TraceStory.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconUser } from '@tabler/icons-react';
|
|
2
|
-
import { type TraceActor, type TraceStep } from '../client/trace-story.
|
|
3
|
-
import type { TraceNode } from '../client/trace-view.
|
|
2
|
+
import { type TraceActor, type TraceStep } from '../client/trace-story.js';
|
|
3
|
+
import type { TraceNode } from '../client/trace-view.js';
|
|
4
4
|
/** An actor's icon, in the text's own colour. */
|
|
5
5
|
export declare function ActorMark({ actor, icon }: {
|
|
6
6
|
actor: TraceActor;
|
package/ui/TraceValues.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type TraceAttributeGroup, type TraceAttributeMeta, type TraceRecord } from '@theoremjs/agents';
|
|
2
|
-
import { type TraceSum, type TraceTokenSum } from '../client/trace-view.
|
|
3
|
-
import { type LabelText } from './labels.
|
|
2
|
+
import { type TraceSum, type TraceTokenSum } from '../client/trace-view.js';
|
|
3
|
+
import { type LabelText } from './labels.js';
|
|
4
4
|
/** Width of every label column in the panel's lists, so they line up. */
|
|
5
5
|
export declare const TRACE_LABEL_PX = 120;
|
|
6
6
|
export type AttributeSection = {
|
package/ui/TraceWaterfall.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TraceNode } from '../client/trace-view.
|
|
1
|
+
import type { TraceNode } from '../client/trace-view.js';
|
|
2
2
|
/**
|
|
3
3
|
* Every span of the turn on one time axis, nested by depth and coloured by
|
|
4
4
|
* who acted. Above it, how busy the model and tools were over the turn; drag
|
package/ui/approval-heading.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ToolGate } from '@theoremjs/agents/kernel';
|
|
2
|
-
import type { LabelText } from './labels.
|
|
2
|
+
import type { LabelText } from './labels.js';
|
|
3
3
|
/** "@concierge wants to check the weather": the tool's `labels.request`, else its name in words. */
|
|
4
4
|
export declare function approvalHeading(t: LabelText, gate: ToolGate, toolName: string, agent?: string): string;
|
package/ui/built/theme.css
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/ui/theorem-theme.ts
|
|
4
4
|
* Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.16
|
|
6
|
+
* Core: @astryxdesign/core@0.7.16
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
@layer reset, astryx-base, astryx-theme;
|
|
@@ -86,18 +86,30 @@
|
|
|
86
86
|
|
|
87
87
|
@scope ([data-astryx-theme="theorem"]) to ([data-astryx-theme]) {
|
|
88
88
|
:scope {
|
|
89
|
-
--font-size-4xs: 0.375rem;
|
|
90
|
-
--font-size-
|
|
91
|
-
--font-size-
|
|
92
|
-
--font-size-
|
|
93
|
-
--font-size-
|
|
94
|
-
--font-size-
|
|
95
|
-
--font-size-
|
|
96
|
-
--font-size-
|
|
97
|
-
--font-size-
|
|
98
|
-
--font-size-
|
|
99
|
-
--font-size-
|
|
100
|
-
--font-size-
|
|
89
|
+
--_scaled-font-size-4xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
90
|
+
--font-size-4xs: var(--_scaled-font-size-4xs);
|
|
91
|
+
--_scaled-font-size-3xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
92
|
+
--font-size-3xs: var(--_scaled-font-size-3xs);
|
|
93
|
+
--_scaled-font-size-2xs: min(calc(0.5rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
94
|
+
--font-size-2xs: var(--_scaled-font-size-2xs);
|
|
95
|
+
--_scaled-font-size-xs: min(calc(0.625rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
96
|
+
--font-size-xs: var(--_scaled-font-size-xs);
|
|
97
|
+
--_scaled-font-size-sm: min(calc(0.75rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
98
|
+
--font-size-sm: var(--_scaled-font-size-sm);
|
|
99
|
+
--_scaled-font-size-base: min(calc(0.875rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
100
|
+
--font-size-base: var(--_scaled-font-size-base);
|
|
101
|
+
--_scaled-font-size-lg: min(calc(1.0625rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
102
|
+
--font-size-lg: var(--_scaled-font-size-lg);
|
|
103
|
+
--_scaled-font-size-xl: min(calc(1.25rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
104
|
+
--font-size-xl: var(--_scaled-font-size-xl);
|
|
105
|
+
--_scaled-font-size-2xl: min(calc(1.5rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
106
|
+
--font-size-2xl: var(--_scaled-font-size-2xl);
|
|
107
|
+
--_scaled-font-size-3xl: min(calc(1.8125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
108
|
+
--font-size-3xl: var(--_scaled-font-size-3xl);
|
|
109
|
+
--_scaled-font-size-4xl: min(calc(2.1875rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
110
|
+
--font-size-4xl: var(--_scaled-font-size-4xl);
|
|
111
|
+
--_scaled-font-size-5xl: calc(2.625rem * var(--_dynamic-type-large-title, 1));
|
|
112
|
+
--font-size-5xl: var(--_scaled-font-size-5xl);
|
|
101
113
|
--text-heading-1-size: var(--font-size-2xl);
|
|
102
114
|
--text-heading-1-weight: var(--font-weight-semibold);
|
|
103
115
|
--text-heading-1-leading: 1.3333;
|
|
@@ -158,22 +170,23 @@
|
|
|
158
170
|
--_astryx-pre-tempo-duration-slow-min: 525ms;
|
|
159
171
|
--_astryx-pre-tempo-duration-slow: 700ms;
|
|
160
172
|
--_astryx-pre-tempo-duration-slow-max: 935ms;
|
|
173
|
+
--_astryx-motion-tempo: 1;
|
|
161
174
|
--font-family-body: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
162
175
|
--font-family-heading: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
163
176
|
--font-family-code: ui-monospace, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
164
177
|
--color-syntax-keyword: light-dark(#6b187c, #efa8ff);
|
|
165
178
|
--color-syntax-string: light-dark(#0b5615, #a4d6a3);
|
|
166
|
-
--color-syntax-comment: light-dark(#
|
|
179
|
+
--color-syntax-comment: light-dark(#525252, #b9b9b9);
|
|
167
180
|
--color-syntax-number: light-dark(#733100, #ffb37e);
|
|
168
181
|
--color-syntax-function: light-dark(#00458c, #a1caff);
|
|
169
182
|
--color-syntax-type: light-dark(#6b187c, #efa8ff);
|
|
170
183
|
--color-syntax-variable: light-dark(#111111, #e2e2e2);
|
|
171
|
-
--color-syntax-operator: light-dark(#
|
|
184
|
+
--color-syntax-operator: light-dark(#525252, #b9b9b9);
|
|
172
185
|
--color-syntax-constant: light-dark(#733100, #ffb37e);
|
|
173
186
|
--color-syntax-tag: light-dark(#8a0011, #ffaea7);
|
|
174
187
|
--color-syntax-attribute: light-dark(#584400, #eec448);
|
|
175
188
|
--color-syntax-property: light-dark(#005348, #90d7c8);
|
|
176
|
-
--color-syntax-punctuation: light-dark(#
|
|
189
|
+
--color-syntax-punctuation: light-dark(#525252, #b9b9b9);
|
|
177
190
|
--color-syntax-background: light-dark(#ffffff, #111111);
|
|
178
191
|
--color-syntax-added: color-mix(in srgb, var(--color-success-muted) 25%, transparent);
|
|
179
192
|
--color-syntax-removed: color-mix(in srgb, var(--color-error-muted) 25%, transparent);
|
|
@@ -186,7 +199,7 @@
|
|
|
186
199
|
--color-background-popover: light-dark(#ffffff, #1b1b1b);
|
|
187
200
|
--color-background-muted: light-dark(#f1f1f1, #1b1b1b);
|
|
188
201
|
--color-accent: light-dark(#1b1b1b, #f1f1f1);
|
|
189
|
-
--color-accent-muted: light-dark(#
|
|
202
|
+
--color-accent-muted: light-dark(#d4d4d4, #474747);
|
|
190
203
|
--color-neutral: light-dark(#0000000F, #ffffff1A);
|
|
191
204
|
--color-overlay: light-dark(#00000080, #000000CC);
|
|
192
205
|
--color-overlay-hover: light-dark(#0000000D, #ffffff0D);
|
|
@@ -289,6 +302,7 @@
|
|
|
289
302
|
--color-border-success: var(--color-text-success);
|
|
290
303
|
--color-border-warning: var(--color-text-warning);
|
|
291
304
|
--color-border-error: var(--color-text-error);
|
|
305
|
+
--duration-exit: var(--duration-fast);
|
|
292
306
|
--astryx-theme-neutral-color-status-fill-accent: light-dark(#0074e2, #6d9cfe);
|
|
293
307
|
}
|
|
294
308
|
|
|
@@ -404,6 +418,33 @@
|
|
|
404
418
|
line-height: var(--text-display-3-leading);
|
|
405
419
|
}
|
|
406
420
|
|
|
421
|
+
.astryx-item[data-selected="selected"] {
|
|
422
|
+
--color-text-secondary: light-dark(#474747, #c6c6c6);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.astryx-tree-list-item[data-selected="selected"] {
|
|
426
|
+
--color-text-secondary: light-dark(#474747, #c6c6c6);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.astryx-file-input[data-mode="dropzone"] {
|
|
430
|
+
--color-text-secondary: light-dark(#474747, #c6c6c6);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.astryx-citation[data-variant="number"] {
|
|
434
|
+
--color-text-secondary: light-dark(#474747, #c6c6c6);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.astryx-citation:where(*) > [aria-hidden="true"] {
|
|
438
|
+
background-color: transparent;
|
|
439
|
+
border-width: 0;
|
|
440
|
+
border-radius: 0;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.astryx-citation:where(*) > [aria-hidden="true"] > img {
|
|
444
|
+
width: 100%;
|
|
445
|
+
height: 100%;
|
|
446
|
+
}
|
|
447
|
+
|
|
407
448
|
.astryx-button[data-variant="destructive"] {
|
|
408
449
|
background-color: var(--color-error-muted);
|
|
409
450
|
color: var(--color-on-error-muted);
|
|
@@ -469,6 +510,10 @@
|
|
|
469
510
|
--_segmented-control-padding: var(--spacing-1);
|
|
470
511
|
}
|
|
471
512
|
|
|
513
|
+
.astryx-segmented-control-item {
|
|
514
|
+
--color-text-secondary: light-dark(#474747, #c6c6c6);
|
|
515
|
+
}
|
|
516
|
+
|
|
472
517
|
.astryx-segmented-control-item[data-size="sm"] {
|
|
473
518
|
height: calc(var(--size-element-sm) - 8px);
|
|
474
519
|
}
|
|
@@ -531,17 +576,6 @@
|
|
|
531
576
|
content-visibility: hidden;
|
|
532
577
|
}
|
|
533
578
|
|
|
534
|
-
.astryx-citation:where(*) > [aria-hidden="true"] {
|
|
535
|
-
background-color: transparent;
|
|
536
|
-
border-width: 0;
|
|
537
|
-
border-radius: 0;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.astryx-citation:where(*) > [aria-hidden="true"] > img {
|
|
541
|
-
width: 100%;
|
|
542
|
-
height: 100%;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
579
|
.astryx-chat-tool-calls:where(*) [role="button"][aria-expanded] > span:not(:first-child):not(:has(svg)) {
|
|
546
580
|
align-self: baseline;
|
|
547
581
|
}
|
|
@@ -578,6 +612,10 @@
|
|
|
578
612
|
|
|
579
613
|
.astryx-heading[data-color="accent"] { color: var(--color-text-accent); }
|
|
580
614
|
|
|
615
|
+
.astryx-text[data-color="inherit"] { color: inherit; }
|
|
616
|
+
|
|
617
|
+
.astryx-heading[data-color="inherit"] { color: inherit; }
|
|
618
|
+
|
|
581
619
|
.astryx-text[data-size="4xs"] { font-size: var(--font-size-4xs); }
|
|
582
620
|
|
|
583
621
|
.astryx-text[data-size="3xs"] { font-size: var(--font-size-3xs); }
|
|
@@ -614,18 +652,30 @@
|
|
|
614
652
|
@media (width < 1024px) and (pointer: coarse) {
|
|
615
653
|
@scope ([data-astryx-theme="theorem"]) to ([data-astryx-theme]) {
|
|
616
654
|
:scope {
|
|
617
|
-
--font-size-4xs: 0.4375rem;
|
|
618
|
-
--font-size-
|
|
619
|
-
--font-size-
|
|
620
|
-
--font-size-
|
|
621
|
-
--font-size-
|
|
622
|
-
--font-size-
|
|
623
|
-
--font-size-
|
|
624
|
-
--font-size-
|
|
625
|
-
--font-size-
|
|
626
|
-
--font-size-
|
|
627
|
-
--font-size-
|
|
628
|
-
--font-size-
|
|
655
|
+
--_scaled-font-size-4xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
656
|
+
--font-size-4xs: var(--_scaled-font-size-4xs);
|
|
657
|
+
--_scaled-font-size-3xs: min(calc(0.5rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
658
|
+
--font-size-3xs: var(--_scaled-font-size-3xs);
|
|
659
|
+
--_scaled-font-size-2xs: min(calc(0.625rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
660
|
+
--font-size-2xs: var(--_scaled-font-size-2xs);
|
|
661
|
+
--_scaled-font-size-xs: min(calc(0.75rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
662
|
+
--font-size-xs: var(--_scaled-font-size-xs);
|
|
663
|
+
--_scaled-font-size-sm: min(calc(0.875rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
664
|
+
--font-size-sm: var(--_scaled-font-size-sm);
|
|
665
|
+
--_scaled-font-size-base: min(calc(1rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
666
|
+
--font-size-base: var(--_scaled-font-size-base);
|
|
667
|
+
--_scaled-font-size-lg: min(calc(1.1875rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
668
|
+
--font-size-lg: var(--_scaled-font-size-lg);
|
|
669
|
+
--_scaled-font-size-xl: min(calc(1.375rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
670
|
+
--font-size-xl: var(--_scaled-font-size-xl);
|
|
671
|
+
--_scaled-font-size-2xl: min(calc(1.625rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
672
|
+
--font-size-2xl: var(--_scaled-font-size-2xl);
|
|
673
|
+
--_scaled-font-size-3xl: min(calc(1.875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
674
|
+
--font-size-3xl: var(--_scaled-font-size-3xl);
|
|
675
|
+
--_scaled-font-size-4xl: min(calc(2.25rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
676
|
+
--font-size-4xl: var(--_scaled-font-size-4xl);
|
|
677
|
+
--_scaled-font-size-5xl: calc(2.625rem * var(--_dynamic-type-large-title, 1));
|
|
678
|
+
--font-size-5xl: var(--_scaled-font-size-5xl);
|
|
629
679
|
--text-heading-1-size: var(--font-size-2xl);
|
|
630
680
|
--text-heading-1-weight: var(--font-weight-semibold);
|
|
631
681
|
--text-heading-1-leading: 1.3846;
|
package/ui/built/theme.css.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/ui/theorem-theme.ts
|
|
4
4
|
* Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.16
|
|
6
|
+
* Core: @astryxdesign/core@0.7.16
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export {};
|
package/ui/built/theorem.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/ui/theorem-theme.ts
|
|
4
4
|
* Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.16
|
|
6
|
+
* Core: @astryxdesign/core@0.7.16
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/// <reference path="./theorem.variants.d.ts" />
|
package/ui/built/theorem.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/ui/theorem-theme.ts
|
|
4
4
|
* Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.16
|
|
6
|
+
* Core: @astryxdesign/core@0.7.16
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { neutralTheme } from '@astryxdesign/theme-neutral/built';
|
|
@@ -92,22 +92,23 @@ export const theoremTheme = {
|
|
|
92
92
|
"--_astryx-pre-tempo-duration-slow-min": "525ms",
|
|
93
93
|
"--_astryx-pre-tempo-duration-slow": "700ms",
|
|
94
94
|
"--_astryx-pre-tempo-duration-slow-max": "935ms",
|
|
95
|
+
"--_astryx-motion-tempo": "1",
|
|
95
96
|
"--font-family-body": "Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
96
97
|
"--font-family-heading": "Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
97
98
|
"--font-family-code": "ui-monospace, \"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace",
|
|
98
99
|
"--color-syntax-keyword": "light-dark(#6b187c, #efa8ff)",
|
|
99
100
|
"--color-syntax-string": "light-dark(#0b5615, #a4d6a3)",
|
|
100
|
-
"--color-syntax-comment": "light-dark(#
|
|
101
|
+
"--color-syntax-comment": "light-dark(#525252, #b9b9b9)",
|
|
101
102
|
"--color-syntax-number": "light-dark(#733100, #ffb37e)",
|
|
102
103
|
"--color-syntax-function": "light-dark(#00458c, #a1caff)",
|
|
103
104
|
"--color-syntax-type": "light-dark(#6b187c, #efa8ff)",
|
|
104
105
|
"--color-syntax-variable": "light-dark(#111111, #e2e2e2)",
|
|
105
|
-
"--color-syntax-operator": "light-dark(#
|
|
106
|
+
"--color-syntax-operator": "light-dark(#525252, #b9b9b9)",
|
|
106
107
|
"--color-syntax-constant": "light-dark(#733100, #ffb37e)",
|
|
107
108
|
"--color-syntax-tag": "light-dark(#8a0011, #ffaea7)",
|
|
108
109
|
"--color-syntax-attribute": "light-dark(#584400, #eec448)",
|
|
109
110
|
"--color-syntax-property": "light-dark(#005348, #90d7c8)",
|
|
110
|
-
"--color-syntax-punctuation": "light-dark(#
|
|
111
|
+
"--color-syntax-punctuation": "light-dark(#525252, #b9b9b9)",
|
|
111
112
|
"--color-syntax-background": "light-dark(#ffffff, #111111)",
|
|
112
113
|
"--color-syntax-added": "color-mix(in srgb, var(--color-success-muted) 25%, transparent)",
|
|
113
114
|
"--color-syntax-removed": "color-mix(in srgb, var(--color-error-muted) 25%, transparent)",
|
|
@@ -120,7 +121,7 @@ export const theoremTheme = {
|
|
|
120
121
|
"--color-background-popover": "light-dark(#ffffff, #1b1b1b)",
|
|
121
122
|
"--color-background-muted": "light-dark(#f1f1f1, #1b1b1b)",
|
|
122
123
|
"--color-accent": "light-dark(#1b1b1b, #f1f1f1)",
|
|
123
|
-
"--color-accent-muted": "light-dark(#
|
|
124
|
+
"--color-accent-muted": "light-dark(#d4d4d4, #474747)",
|
|
124
125
|
"--color-neutral": "light-dark(#0000000F, #ffffff1A)",
|
|
125
126
|
"--color-overlay": "light-dark(#00000080, #000000CC)",
|
|
126
127
|
"--color-overlay-hover": "light-dark(#0000000D, #ffffff0D)",
|
|
@@ -319,6 +320,37 @@ export const theoremTheme = {
|
|
|
319
320
|
"lineHeight": "var(--text-display-3-leading)"
|
|
320
321
|
}
|
|
321
322
|
},
|
|
323
|
+
"item": {
|
|
324
|
+
"selected": {
|
|
325
|
+
"--color-text-secondary": "light-dark(#474747, #c6c6c6)"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"tree-list-item": {
|
|
329
|
+
"selected": {
|
|
330
|
+
"--color-text-secondary": "light-dark(#474747, #c6c6c6)"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"file-input": {
|
|
334
|
+
"mode:dropzone": {
|
|
335
|
+
"--color-text-secondary": "light-dark(#474747, #c6c6c6)"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"citation": {
|
|
339
|
+
"variant:number": {
|
|
340
|
+
"--color-text-secondary": "light-dark(#474747, #c6c6c6)"
|
|
341
|
+
},
|
|
342
|
+
"base": {
|
|
343
|
+
":where(*) > [aria-hidden=\"true\"]": {
|
|
344
|
+
"backgroundColor": "transparent",
|
|
345
|
+
"borderWidth": "0",
|
|
346
|
+
"borderRadius": "0"
|
|
347
|
+
},
|
|
348
|
+
":where(*) > [aria-hidden=\"true\"] > img": {
|
|
349
|
+
"width": "100%",
|
|
350
|
+
"height": "100%"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
},
|
|
322
354
|
"button": {
|
|
323
355
|
"variant:destructive": {
|
|
324
356
|
"backgroundColor": "var(--color-error-muted)",
|
|
@@ -377,6 +409,9 @@ export const theoremTheme = {
|
|
|
377
409
|
}
|
|
378
410
|
},
|
|
379
411
|
"segmented-control-item": {
|
|
412
|
+
"base": {
|
|
413
|
+
"--color-text-secondary": "light-dark(#474747, #c6c6c6)"
|
|
414
|
+
},
|
|
380
415
|
"size:sm": {
|
|
381
416
|
"height": "calc(var(--size-element-sm) - 8px)"
|
|
382
417
|
},
|
|
@@ -437,19 +472,6 @@ export const theoremTheme = {
|
|
|
437
472
|
}
|
|
438
473
|
}
|
|
439
474
|
},
|
|
440
|
-
"citation": {
|
|
441
|
-
"base": {
|
|
442
|
-
":where(*) > [aria-hidden=\"true\"]": {
|
|
443
|
-
"backgroundColor": "transparent",
|
|
444
|
-
"borderWidth": "0",
|
|
445
|
-
"borderRadius": "0"
|
|
446
|
-
},
|
|
447
|
-
":where(*) > [aria-hidden=\"true\"] > img": {
|
|
448
|
-
"width": "100%",
|
|
449
|
-
"height": "100%"
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
475
|
"chat-tool-calls": {
|
|
454
476
|
"base": {
|
|
455
477
|
":where(*) [role=\"button\"][aria-expanded] > span:not(:first-child):not(:has(svg))": {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/ui/theorem-theme.ts
|
|
4
4
|
* Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.16
|
|
6
|
+
* Core: @astryxdesign/core@0.7.16
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// Generated by astryx theme build
|
package/ui/index.d.ts
CHANGED
|
@@ -9,32 +9,37 @@
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
export type { LiveCallOptions, PageTool, PageToolAnswer, PageTools, } from '@theoremjs/web/client';
|
|
12
|
-
export type { InkWaveStatus } from '../client/ink-waveform.
|
|
13
|
-
export { useLiveCaptionLog } from '../client/live/use-live-caption-log.
|
|
14
|
-
export
|
|
15
|
-
export { type
|
|
12
|
+
export type { InkWaveStatus } from '../client/ink-waveform.js';
|
|
13
|
+
export { useLiveCaptionLog } from '../client/live/use-live-caption-log.js';
|
|
14
|
+
export type { StepLayout } from '../client/transcript-groups.js';
|
|
15
|
+
export { InkWaveform, type InkWaveformProps, type InkWaveLevels, } from '../components/InkWaveform.js';
|
|
16
|
+
export { type LiveCall, type LiveCallInput, useLiveCall, } from '../components/live/use-live-call.js';
|
|
16
17
|
export { theoremTheme } from './built/theorem.js';
|
|
17
|
-
export { ChatComposerBar, type ChatComposerBarProps, EFFORT_ICON, generationOptions, type LiveComposerBarProps, } from './ChatComposerBar.
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
18
|
+
export { ChatComposerBar, type ChatComposerBarProps, type ComposerLayout, EFFORT_ICON, generationOptions, type LiveComposerBarProps, } from './ChatComposerBar.js';
|
|
19
|
+
export type { ComposerPill, ComposerRowIcons } from './ChatComposerRow.js';
|
|
20
|
+
export { ChatTranscript, type ChatTranscriptProps } from './ChatTranscript.js';
|
|
21
|
+
export { ConsoleFrame, type ConsoleFrameProps, type ConsolePageProps, RequestCard, ResponseColumn, RunBar, useBytes, } from './ConsoleFrame.js';
|
|
22
|
+
export { TheoremDecisionAnswers, type TheoremDecisionAnswersProps } from './DecisionAnswers.js';
|
|
23
|
+
export { useDisclosureMotion } from './disclosure-motion.js';
|
|
24
|
+
export { EmbeddingSpaceView, type EmbeddingSpaceViewProps } from './EmbeddingSpace.js';
|
|
25
|
+
export { tablerIcons } from './icons.js';
|
|
26
|
+
export { LiveCaptionsPanel, type LiveCaptionsPanelProps } from './LiveCaptionsPanel.js';
|
|
27
|
+
export { composerDrawerLabel, type LabelText, liveStateLabel, THEOREM_UI_CATALOG, type TheoremLabelKey, type TheoremLabelOverrides, type TheoremLabels, type TheoremLabelValues, type TheoremUiCatalog, voiceNoteName, workStatusLabel, } from './labels.js';
|
|
28
|
+
export { TheoremLabelsProvider, type TheoremLabelsProviderProps, useLabels, } from './labels-provider.js';
|
|
29
|
+
export { AstryxMediaViewer, type MediaViewer, type MediaViewerItem, type MediaViewerProps, useMediaViewer, } from './media-viewer.js';
|
|
30
|
+
export { PaneFailure, PaneLoading, PaneState } from './PaneState.js';
|
|
31
|
+
export { RadialBars, Sunburst, type SunburstNode } from './RadialCharts.js';
|
|
32
|
+
export { type RankedBar, RankedBars } from './RankedBars.js';
|
|
33
|
+
export { InPlace, PaneLayout, PanePanel, Prose, RaisedPane } from './SidePanel.js';
|
|
34
|
+
export { DEFAULT_CHAT_MAX_WIDTH, TheoremChat, TheoremChatComposer, type TheoremChatComposerProps, type TheoremChatHandle, type TheoremChatProps, TheoremChatTranscript, type TheoremChatTranscriptProps, } from './TheoremChat.js';
|
|
35
|
+
export { TheoremDecision, type TheoremDecisionProps } from './TheoremDecision.js';
|
|
36
|
+
export { TheoremEmbedding, type TheoremEmbeddingProps } from './TheoremEmbedding.js';
|
|
37
|
+
export { TheoremHost, type TheoremHostProps } from './TheoremHost.js';
|
|
38
|
+
export { TheoremSurface, type TheoremSurfaceProps } from './TheoremSurface.js';
|
|
39
|
+
export { ApprovalCard, type ApprovalCardProps, AuthChallengeCard, type AuthChallengeCardProps, type ToolDecision, } from './ToolGateCard.js';
|
|
40
|
+
export { ToolResult } from './ToolResult.js';
|
|
41
|
+
export { TraceGuardrailsView, TracePlacement, useTraceInspector } from './TraceInspectorPanel.js';
|
|
42
|
+
export { ChartStat } from './TraceOverview.js';
|
|
43
|
+
export { TheoremThemeProvider, type TheoremThemeProviderProps } from './theme.js';
|
|
44
|
+
export { type MediaReference, type ResolveMedia, ToolMediaProvider, type ToolMediaShown, } from './tool-media.js';
|
|
45
|
+
export { ChartCard, type TraceFill } from './trace-patterns.js';
|
package/ui/index.js
CHANGED
|
@@ -27,17 +27,20 @@ export { tablerIcons } from "./icons.js";
|
|
|
27
27
|
export { LiveCaptionsPanel } from "./LiveCaptionsPanel.js";
|
|
28
28
|
export { composerDrawerLabel, liveStateLabel, THEOREM_UI_CATALOG, voiceNoteName, workStatusLabel, } from "./labels.js";
|
|
29
29
|
export { TheoremLabelsProvider, useLabels, } from "./labels-provider.js";
|
|
30
|
+
export { AstryxMediaViewer, useMediaViewer, } from "./media-viewer.js";
|
|
30
31
|
export { PaneFailure, PaneLoading, PaneState } from "./PaneState.js";
|
|
31
32
|
export { RadialBars, Sunburst } from "./RadialCharts.js";
|
|
32
33
|
export { RankedBars } from "./RankedBars.js";
|
|
33
34
|
export { InPlace, PaneLayout, PanePanel, Prose, RaisedPane } from "./SidePanel.js";
|
|
34
|
-
export { DEFAULT_CHAT_MAX_WIDTH, TheoremChat, } from "./TheoremChat.js";
|
|
35
|
+
export { DEFAULT_CHAT_MAX_WIDTH, TheoremChat, TheoremChatComposer, TheoremChatTranscript, } from "./TheoremChat.js";
|
|
35
36
|
export { TheoremDecision } from "./TheoremDecision.js";
|
|
36
37
|
export { TheoremEmbedding } from "./TheoremEmbedding.js";
|
|
37
38
|
export { TheoremHost } from "./TheoremHost.js";
|
|
39
|
+
export { TheoremSurface } from "./TheoremSurface.js";
|
|
38
40
|
export { ApprovalCard, AuthChallengeCard, } from "./ToolGateCard.js";
|
|
39
41
|
export { ToolResult } from "./ToolResult.js";
|
|
40
42
|
export { TraceGuardrailsView, TracePlacement, useTraceInspector } from "./TraceInspectorPanel.js";
|
|
41
43
|
export { ChartStat } from "./TraceOverview.js";
|
|
42
44
|
export { TheoremThemeProvider } from "./theme.js";
|
|
45
|
+
export { ToolMediaProvider, } from "./tool-media.js";
|
|
43
46
|
export { ChartCard } from "./trace-patterns.js";
|