@neuronection/assistant-ui 0.52.0 → 0.53.1
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/CHANGELOG.md +101 -0
- package/README.md +4 -1
- package/dist/chat-branch-tree.d.ts +15 -2
- package/dist/chat-composer.d.ts +43 -3
- package/dist/chat-composer.js +1 -1
- package/dist/chat-core.d.ts +54 -4
- package/dist/chat-launcher.js +1 -1
- package/dist/chat-markdown.d.ts +8 -1
- package/dist/chat-markdown.js +1 -1
- package/dist/chat-message.d.ts +16 -1
- package/dist/chat-message.js +1 -1
- package/dist/chat-panel.js +1 -1
- package/dist/chat-pending.d.ts +25 -0
- package/dist/chat-pending.js +3 -0
- package/dist/chat-pending.js.map +1 -0
- package/dist/chat-reasoning.d.ts +10 -2
- package/dist/chat-reasoning.js +1 -1
- package/dist/chat-session-list.d.ts +7 -0
- package/dist/chat-session-list.js +1 -1
- package/dist/chat-suggestion-card.d.ts +19 -0
- package/dist/chat-suggestion-card.js +3 -0
- package/dist/chat-suggestion-card.js.map +1 -0
- package/dist/chat-tool-card.js +1 -1
- package/dist/chat-transcript.d.ts +81 -8
- package/dist/chat-transcript.js +1 -1
- package/dist/chat-turn-status.js +1 -1
- package/dist/chat-welcome.d.ts +23 -0
- package/dist/chat-welcome.js +3 -0
- package/dist/chat-welcome.js.map +1 -0
- package/dist/{chunk-PC3CE4W2.js → chunk-22MIIWC7.js} +45 -7
- package/dist/chunk-22MIIWC7.js.map +1 -0
- package/dist/chunk-56QSIK4Y.js +264 -0
- package/dist/chunk-56QSIK4Y.js.map +1 -0
- package/dist/{chunk-GDGKARRB.js → chunk-5C2OLUDR.js} +11 -2
- package/dist/chunk-5C2OLUDR.js.map +1 -0
- package/dist/chunk-E2NNTHFB.js +479 -0
- package/dist/chunk-E2NNTHFB.js.map +1 -0
- package/dist/{chunk-5BJ4VULP.js → chunk-EQPXM2R4.js} +23 -10
- package/dist/chunk-EQPXM2R4.js.map +1 -0
- package/dist/chunk-F4BTJQLK.js +43 -0
- package/dist/chunk-F4BTJQLK.js.map +1 -0
- package/dist/{chunk-TQDTFPM4.js → chunk-GIQZNEG5.js} +3 -3
- package/dist/chunk-GIQZNEG5.js.map +1 -0
- package/dist/{chunk-E3NZM4U7.js → chunk-GO4ILLS6.js} +17 -4
- package/dist/chunk-GO4ILLS6.js.map +1 -0
- package/dist/{chunk-5U45TQJE.js → chunk-I5H4KYEZ.js} +3 -3
- package/dist/{chunk-5U45TQJE.js.map → chunk-I5H4KYEZ.js.map} +1 -1
- package/dist/{chunk-S63SYV6O.js → chunk-INXQJM2K.js} +27 -6
- package/dist/chunk-INXQJM2K.js.map +1 -0
- package/dist/{chunk-HQ3X5SVR.js → chunk-KLCULTOQ.js} +105 -16
- package/dist/chunk-KLCULTOQ.js.map +1 -0
- package/dist/chunk-M4SYVPC4.js +3 -0
- package/dist/chunk-M4SYVPC4.js.map +1 -0
- package/dist/chunk-OOQO6VGO.js +33 -0
- package/dist/chunk-OOQO6VGO.js.map +1 -0
- package/dist/chunk-P3QUNCBR.js +366 -0
- package/dist/chunk-P3QUNCBR.js.map +1 -0
- package/dist/chunk-PABMR4RA.js +30 -0
- package/dist/chunk-PABMR4RA.js.map +1 -0
- package/dist/{chunk-SEZZVAGP.js → chunk-SR4IN564.js} +10 -3
- package/dist/chunk-SR4IN564.js.map +1 -0
- package/dist/{chunk-MFM4W6ZO.js → chunk-TLFEVL42.js} +3 -3
- package/dist/{chunk-MFM4W6ZO.js.map → chunk-TLFEVL42.js.map} +1 -1
- package/dist/index.d.ts +243 -36
- package/dist/index.js +40 -37
- package/dist/markdown-diff-view.js +1 -1
- package/dist/model-registry.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme-scope.d.ts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +1 -1
- package/dist/{types-LhE1KFBf.d.ts → types-CxieoN2u.d.ts} +1 -1
- package/dist/types-pivJdPC8.d.ts +14 -0
- package/package.json +13 -1
- package/dist/chunk-5BJ4VULP.js.map +0 -1
- package/dist/chunk-C5JZCCU7.js +0 -220
- package/dist/chunk-C5JZCCU7.js.map +0 -1
- package/dist/chunk-E3NZM4U7.js.map +0 -1
- package/dist/chunk-GDGKARRB.js.map +0 -1
- package/dist/chunk-HQ3X5SVR.js.map +0 -1
- package/dist/chunk-PC3CE4W2.js.map +0 -1
- package/dist/chunk-S63SYV6O.js.map +0 -1
- package/dist/chunk-SEZZVAGP.js.map +0 -1
- package/dist/chunk-TQDTFPM4.js.map +0 -1
- package/dist/chunk-XOODPYJ3.js +0 -173
- package/dist/chunk-XOODPYJ3.js.map +0 -1
- package/dist/chunk-YQQZMWHL.js +0 -201
- package/dist/chunk-YQQZMWHL.js.map +0 -1
- package/dist/tree-4Hv9stjF.d.ts +0 -54
package/dist/index.d.ts
CHANGED
|
@@ -2310,6 +2310,10 @@ interface MarkdownSurfaceProps {
|
|
|
2310
2310
|
value: string;
|
|
2311
2311
|
/** Live turn: defers mermaid to the final render (streaming floods break diagrams). */
|
|
2312
2312
|
streaming?: boolean;
|
|
2313
|
+
/** Search highlight: case-insensitive matches wrap in `<mark data-as="chat-search-match">`. */
|
|
2314
|
+
query?: string;
|
|
2315
|
+
/** Click-to-zoom images in a modal (health's medical images, study screenshots). Default false. */
|
|
2316
|
+
lightbox?: boolean;
|
|
2313
2317
|
gfm?: boolean;
|
|
2314
2318
|
math?: boolean;
|
|
2315
2319
|
/** Render ```mermaid fences as diagrams (forced off while `streaming`). */
|
|
@@ -2319,7 +2323,10 @@ interface MarkdownSurfaceProps {
|
|
|
2319
2323
|
components?: MarkdownComponents;
|
|
2320
2324
|
urlTransform?: UrlTransform;
|
|
2321
2325
|
showCodeLanguage?: boolean;
|
|
2322
|
-
labels?: Partial<MarkdownCodeBlockLabels
|
|
2326
|
+
labels?: Partial<MarkdownCodeBlockLabels & {
|
|
2327
|
+
zoomImage: string;
|
|
2328
|
+
closeImage: string;
|
|
2329
|
+
}>;
|
|
2323
2330
|
className?: string;
|
|
2324
2331
|
}
|
|
2325
2332
|
/**
|
|
@@ -2395,6 +2402,12 @@ interface ChatMessageAction {
|
|
|
2395
2402
|
}
|
|
2396
2403
|
interface ChatMessageActions {
|
|
2397
2404
|
onCopy?: () => void;
|
|
2405
|
+
/**
|
|
2406
|
+
* Controlled copied feedback for the copy action (check morph).
|
|
2407
|
+
* Uncontrolled by default: the library shows the check for 1.5 s
|
|
2408
|
+
* after each copy click.
|
|
2409
|
+
*/
|
|
2410
|
+
copied?: boolean;
|
|
2398
2411
|
onEdit?: () => void;
|
|
2399
2412
|
onRegenerate?: () => void;
|
|
2400
2413
|
onRetry?: () => void;
|
|
@@ -2409,6 +2422,7 @@ interface ChatMessageActions {
|
|
|
2409
2422
|
}
|
|
2410
2423
|
interface ChatMessageLabels {
|
|
2411
2424
|
copy: string;
|
|
2425
|
+
copied: string;
|
|
2412
2426
|
edit: string;
|
|
2413
2427
|
regenerate: string;
|
|
2414
2428
|
retry: string;
|
|
@@ -2442,6 +2456,14 @@ interface ChatMessageProps {
|
|
|
2442
2456
|
chips?: React.ReactNode;
|
|
2443
2457
|
/** Attachment rail above the content. */
|
|
2444
2458
|
attachments?: React.ReactNode;
|
|
2459
|
+
/** Leading identity node beside the bubble (user: trailing). Render group-start avatars only when grouping transcripts. */
|
|
2460
|
+
avatar?: React.ReactNode;
|
|
2461
|
+
/**
|
|
2462
|
+
* Visual design: `bubbles` (default) — paired role bubbles; `flat` —
|
|
2463
|
+
* assistant content renders as prose on the panel surface (user keeps
|
|
2464
|
+
* its bubble). Reasoning/tool cards are unaffected.
|
|
2465
|
+
*/
|
|
2466
|
+
design?: 'bubbles' | 'flat';
|
|
2445
2467
|
labels?: Partial<ChatMessageLabels & ChatMessageEditorLabels & MessageVariantSwitcherLabels>;
|
|
2446
2468
|
compact?: boolean;
|
|
2447
2469
|
className?: string;
|
|
@@ -2461,11 +2483,17 @@ interface ChatReasoningLabels {
|
|
|
2461
2483
|
interface ChatReasoningProps {
|
|
2462
2484
|
/** Accumulated reasoning text (family `delta kind="reasoning"`). */
|
|
2463
2485
|
text: string;
|
|
2464
|
-
/** Live reasoning stream — spinner + streaming label while on. */
|
|
2486
|
+
/** Live reasoning stream — spinner + streaming label + `--as-ai` edge while on. */
|
|
2465
2487
|
streaming?: boolean;
|
|
2466
2488
|
open?: boolean;
|
|
2467
2489
|
defaultOpen?: boolean;
|
|
2468
2490
|
onOpenChange?: (open: boolean) => void;
|
|
2491
|
+
/**
|
|
2492
|
+
* Collapse the block when a live stream finishes (`streaming`
|
|
2493
|
+
* true → false). Uncontrolled mode only — a controlled `open` stays
|
|
2494
|
+
* app-driven. Default true.
|
|
2495
|
+
*/
|
|
2496
|
+
autoCollapse?: boolean;
|
|
2469
2497
|
labels?: Partial<ChatReasoningLabels>;
|
|
2470
2498
|
icon?: LucideIcon;
|
|
2471
2499
|
className?: string;
|
|
@@ -2473,7 +2501,9 @@ interface ChatReasoningProps {
|
|
|
2473
2501
|
/**
|
|
2474
2502
|
* Collapsible thinking block for reasoning models (study's
|
|
2475
2503
|
* `ReasoningBubble`, family-standard): streams live while the model
|
|
2476
|
-
* reasons, collapses to a summary row when
|
|
2504
|
+
* reasons (AI-accent edge + spinner), collapses to a summary row when
|
|
2505
|
+
* done — with a height reveal, and auto-collapse on the streaming →
|
|
2506
|
+
* done transition in uncontrolled mode. Controlled-first.
|
|
2477
2507
|
*/
|
|
2478
2508
|
declare const ChatReasoning: React.ForwardRefExoticComponent<ChatReasoningProps & React.RefAttributes<HTMLDivElement>>;
|
|
2479
2509
|
|
|
@@ -2539,6 +2569,165 @@ interface ChatTurnStatusProps {
|
|
|
2539
2569
|
*/
|
|
2540
2570
|
declare const ChatTurnStatus: React.ForwardRefExoticComponent<ChatTurnStatusProps & React.RefAttributes<HTMLDivElement>>;
|
|
2541
2571
|
|
|
2572
|
+
interface ChatSearchFieldLabels {
|
|
2573
|
+
search: string;
|
|
2574
|
+
placeholder: string;
|
|
2575
|
+
previous: string;
|
|
2576
|
+
next: string;
|
|
2577
|
+
clear: string;
|
|
2578
|
+
matches: string;
|
|
2579
|
+
}
|
|
2580
|
+
interface ChatSearchFieldProps {
|
|
2581
|
+
query: string;
|
|
2582
|
+
onQueryChange: (query: string) => void;
|
|
2583
|
+
/** Total matches in the transcript (drives the `n/N` readout). */
|
|
2584
|
+
matchCount?: number;
|
|
2585
|
+
/** 0-based active match index. */
|
|
2586
|
+
activeIndex?: number;
|
|
2587
|
+
onPrevious?: () => void;
|
|
2588
|
+
onNext?: () => void;
|
|
2589
|
+
labels?: Partial<ChatSearchFieldLabels>;
|
|
2590
|
+
className?: string;
|
|
2591
|
+
}
|
|
2592
|
+
/**
|
|
2593
|
+
* The in-conversation search field (plan 101 P2): controlled query input
|
|
2594
|
+
* with an `n/N` match readout and prev/next controls. Enter jumps to the
|
|
2595
|
+
* next match, Shift+Enter to the previous, Escape clears. Composed by
|
|
2596
|
+
* `ChatTranscript` when its `search` prop is given, or standalone.
|
|
2597
|
+
*/
|
|
2598
|
+
declare const ChatSearchField: React.ForwardRefExoticComponent<ChatSearchFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
2599
|
+
|
|
2600
|
+
interface ChatTranscriptLabels {
|
|
2601
|
+
log: string;
|
|
2602
|
+
scrollToBottom: string;
|
|
2603
|
+
newMessages: string;
|
|
2604
|
+
empty: string;
|
|
2605
|
+
replied: string;
|
|
2606
|
+
search: string;
|
|
2607
|
+
searchPlaceholder: string;
|
|
2608
|
+
previousMatch: string;
|
|
2609
|
+
nextMatch: string;
|
|
2610
|
+
clearSearch: string;
|
|
2611
|
+
matches: string;
|
|
2612
|
+
today: string;
|
|
2613
|
+
yesterday: string;
|
|
2614
|
+
stop: string;
|
|
2615
|
+
}
|
|
2616
|
+
type ChatTranscriptGroupPos = 'single' | 'start' | 'mid' | 'end';
|
|
2617
|
+
interface ChatTranscriptSearch {
|
|
2618
|
+
query: string;
|
|
2619
|
+
onQueryChange: (query: string) => void;
|
|
2620
|
+
}
|
|
2621
|
+
interface ChatTranscriptProps {
|
|
2622
|
+
items: ChatMessageView[];
|
|
2623
|
+
/** Override the default `ChatMessage` + `MarkdownSurface` rendering (third arg: group position when `groupConsecutive`; fourth arg: active search query). */
|
|
2624
|
+
renderItem?: (message: ChatMessageView, index: number, groupPos?: ChatTranscriptGroupPos, query?: string) => React.ReactNode;
|
|
2625
|
+
/** Streaming tail — the live turn bubble (or `ChatPending`) or any node. */
|
|
2626
|
+
live?: React.ReactNode;
|
|
2627
|
+
emptyState?: React.ReactNode;
|
|
2628
|
+
/** Stick to bottom while the user hasn't scrolled away. Default true. */
|
|
2629
|
+
autoScroll?: boolean;
|
|
2630
|
+
/** Distance from the bottom that still counts as "at the bottom". Default 120 px. */
|
|
2631
|
+
scrollThresholdPx?: number;
|
|
2632
|
+
/** Virtualize long transcripts (dynamic row measurement). Default false. */
|
|
2633
|
+
virtualized?: boolean;
|
|
2634
|
+
/**
|
|
2635
|
+
* Tighten the spacing between consecutive same-role messages and tag
|
|
2636
|
+
* each row with `data-group-pos` (`single | start | mid | end`).
|
|
2637
|
+
* Default false.
|
|
2638
|
+
*/
|
|
2639
|
+
groupConsecutive?: boolean;
|
|
2640
|
+
/** Visual design for the default renderer: paired bubbles (default) or flat assistant prose over the panel surface. */
|
|
2641
|
+
design?: 'bubbles' | 'flat';
|
|
2642
|
+
/**
|
|
2643
|
+
* In-conversation search (plan 101 P2): renders `ChatSearchField`
|
|
2644
|
+
* above the log, highlights matches in the default renderer, and
|
|
2645
|
+
* jumps between them (Enter/Shift+Enter in the field, or the
|
|
2646
|
+
* prev/next buttons). Jump-scrolling requires a non-virtualized
|
|
2647
|
+
* transcript; virtualized transcripts highlight visible rows only.
|
|
2648
|
+
*/
|
|
2649
|
+
search?: ChatTranscriptSearch;
|
|
2650
|
+
/**
|
|
2651
|
+
* Today/Yesterday/date chips between day groups (reads
|
|
2652
|
+
* `ChatMessageView.createdAt`; rows without one join the previous
|
|
2653
|
+
* group). Default false.
|
|
2654
|
+
*/
|
|
2655
|
+
showDateSeparators?: boolean;
|
|
2656
|
+
/** Custom formatter for older-day chips (default `MMM d, yyyy`). */
|
|
2657
|
+
formatDate?: (date: Date) => string;
|
|
2658
|
+
/** Scroll a message into view and flash it when this changes (branch-tree clicks, citations, deep links). */
|
|
2659
|
+
focusMessageId?: string | null;
|
|
2660
|
+
/** Show a floating stop pill beside the jump pill while a live turn streams and the user scrolled away. */
|
|
2661
|
+
onStop?: () => void;
|
|
2662
|
+
labels?: Partial<ChatTranscriptLabels & ChatSearchFieldLabels>;
|
|
2663
|
+
className?: string;
|
|
2664
|
+
}
|
|
2665
|
+
/**
|
|
2666
|
+
* The conversation list: `role="log"` with polite turn-completion
|
|
2667
|
+
* announcements, stick-to-bottom auto-scroll with an unread-counting
|
|
2668
|
+
* jump-to-latest pill, optional consecutive-message grouping, a top
|
|
2669
|
+
* fade mask while scrolled into the thread, thin themed scrollbars,
|
|
2670
|
+
* and optional virtualization for thousand-message threads.
|
|
2671
|
+
*/
|
|
2672
|
+
declare const ChatTranscript: React.ForwardRefExoticComponent<ChatTranscriptProps & React.RefAttributes<HTMLDivElement>>;
|
|
2673
|
+
|
|
2674
|
+
interface ChatPendingProps {
|
|
2675
|
+
/**
|
|
2676
|
+
* Phase label narrated while the first token is awaited, e.g.
|
|
2677
|
+
* "thinking" — usually the live turn's current node label.
|
|
2678
|
+
*/
|
|
2679
|
+
label?: string;
|
|
2680
|
+
/** Turn start timestamp (ms) — enables the elapsed timer. */
|
|
2681
|
+
startedAt?: number;
|
|
2682
|
+
/** Placeholder line count. Default 2 (capped at 6). */
|
|
2683
|
+
lines?: number;
|
|
2684
|
+
/** Extra node under the placeholder (model badge, app hints). */
|
|
2685
|
+
children?: React.ReactNode;
|
|
2686
|
+
className?: string;
|
|
2687
|
+
}
|
|
2688
|
+
/**
|
|
2689
|
+
* The first-token latency placeholder (plan 100 S2): narrated phase row
|
|
2690
|
+
* (dots + elapsed timer via `ChatTurnStatus`) over an assistant-aligned
|
|
2691
|
+
* shimmer placeholder tinted with the `--as-ai` accent. Render it as the
|
|
2692
|
+
* transcript's `live` tail between send and the first delta.
|
|
2693
|
+
*/
|
|
2694
|
+
declare const ChatPending: React.ForwardRefExoticComponent<ChatPendingProps & React.RefAttributes<HTMLDivElement>>;
|
|
2695
|
+
|
|
2696
|
+
interface ChatWelcomeProps {
|
|
2697
|
+
/** Greeting headline, e.g. "Ask anything about your courses". */
|
|
2698
|
+
title: string;
|
|
2699
|
+
subtitle?: string;
|
|
2700
|
+
/** Suggestion cards / chips — children stagger in (40 ms steps). */
|
|
2701
|
+
suggestions?: React.ReactNode;
|
|
2702
|
+
/** Node inside the breathing `--as-ai` orb. Default: `Sparkles`. */
|
|
2703
|
+
icon?: React.ReactNode;
|
|
2704
|
+
/** `page` centers generously; `sidebar` is the default density; `bubble` is compact. */
|
|
2705
|
+
variant?: 'page' | 'sidebar' | 'bubble';
|
|
2706
|
+
className?: string;
|
|
2707
|
+
}
|
|
2708
|
+
/**
|
|
2709
|
+
* The chat empty-state kit (plan 100 S6): breathing `--as-ai` identity
|
|
2710
|
+
* orb, greeting, subtitle and staggered suggestion slots — drop it into
|
|
2711
|
+
* `ChatTranscript emptyState`. Presentational; suggestion targets stay
|
|
2712
|
+
* app-side.
|
|
2713
|
+
*/
|
|
2714
|
+
declare const ChatWelcome: React.ForwardRefExoticComponent<ChatWelcomeProps & React.RefAttributes<HTMLDivElement>>;
|
|
2715
|
+
|
|
2716
|
+
interface ChatSuggestionCardProps extends React.ComponentProps<'button'> {
|
|
2717
|
+
/** Leading icon (defaults to none — pass `Sparkles`, `BookOpen`, …). */
|
|
2718
|
+
icon?: LucideIcon;
|
|
2719
|
+
/** Trailing hint text, e.g. "5 min". */
|
|
2720
|
+
hint?: string;
|
|
2721
|
+
children: React.ReactNode;
|
|
2722
|
+
}
|
|
2723
|
+
/**
|
|
2724
|
+
* The family suggestion card (plan 101 P4): the standard action chip for
|
|
2725
|
+
* `ChatWelcome suggestions` and composer suggestion strips — left-aligned
|
|
2726
|
+
* icon + title + hint with a lift-on-hover affordance (border + shadow,
|
|
2727
|
+
* no transform utilities: TW3-safe).
|
|
2728
|
+
*/
|
|
2729
|
+
declare const ChatSuggestionCard: React.ForwardRefExoticComponent<Omit<ChatSuggestionCardProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2730
|
+
|
|
2542
2731
|
interface FieldDiffValue {
|
|
2543
2732
|
field: string;
|
|
2544
2733
|
label?: string;
|
|
@@ -2655,28 +2844,66 @@ interface ChatComposerLabels {
|
|
|
2655
2844
|
placeholder: string;
|
|
2656
2845
|
ariaLabel: string;
|
|
2657
2846
|
dropFiles: string;
|
|
2847
|
+
commands: string;
|
|
2658
2848
|
}
|
|
2659
2849
|
interface ChatComposerIcons {
|
|
2660
2850
|
send: LucideIcon;
|
|
2661
2851
|
stop: LucideIcon;
|
|
2662
2852
|
}
|
|
2853
|
+
interface ChatComposerCommand {
|
|
2854
|
+
id: string;
|
|
2855
|
+
label: string;
|
|
2856
|
+
hint?: string;
|
|
2857
|
+
icon?: LucideIcon;
|
|
2858
|
+
}
|
|
2859
|
+
interface ChatComposerCommandToken {
|
|
2860
|
+
/** Draft offsets of the `trigger + query` token to replace on select. */
|
|
2861
|
+
start: number;
|
|
2862
|
+
end: number;
|
|
2863
|
+
/** Text typed after the trigger character. */
|
|
2864
|
+
query: string;
|
|
2865
|
+
}
|
|
2866
|
+
interface ChatComposerCommands {
|
|
2867
|
+
/** Palette trigger character — `/` for slash commands, `@` for mentions. Default `/`. */
|
|
2868
|
+
trigger?: string;
|
|
2869
|
+
items: ChatComposerCommand[];
|
|
2870
|
+
/** Max visible entries. Default 8. */
|
|
2871
|
+
maxItems?: number;
|
|
2872
|
+
/**
|
|
2873
|
+
* Fired when a command is selected (Enter/Tab/click). The app owns the
|
|
2874
|
+
* draft edit: replace `value.slice(token.start, token.end)` with the
|
|
2875
|
+
* insertion of its choice.
|
|
2876
|
+
*/
|
|
2877
|
+
onSelect: (id: string, token: ChatComposerCommandToken) => void;
|
|
2878
|
+
}
|
|
2663
2879
|
interface ChatComposerProps {
|
|
2664
2880
|
value: string;
|
|
2665
2881
|
onValueChange: (value: string) => void;
|
|
2666
2882
|
/** Enter / Send — IME-safe (composition and keyCode 229 are ignored). */
|
|
2667
2883
|
onSubmit: () => void;
|
|
2668
|
-
/** A turn is in flight — renders the stop control when `onStop` is provided. */
|
|
2884
|
+
/** A turn is in flight — renders the stop control when `onStop` is provided. Escape stops too. */
|
|
2669
2885
|
sending?: boolean;
|
|
2670
2886
|
onStop?: () => void;
|
|
2671
2887
|
disabled?: boolean;
|
|
2672
2888
|
/**
|
|
2673
2889
|
* Overrides the send button's blank-text guard. Apps that allow
|
|
2674
|
-
* attachment-only submits (health's image-only "what's
|
|
2890
|
+
* attachment-only submits (health's image-only "what's what?" turn) pass
|
|
2675
2891
|
* `true` while ready attachments exist; pass `false` to force-disable.
|
|
2676
2892
|
* Default: the button enables only when `value.trim() !== ''`. The
|
|
2677
2893
|
* Enter/form path is unaffected — the app's `onSubmit` stays the guard.
|
|
2678
2894
|
*/
|
|
2679
2895
|
canSubmit?: boolean;
|
|
2896
|
+
/**
|
|
2897
|
+
* Slash-command / mention palette: opens while the caret touches a
|
|
2898
|
+
* `trigger`-started word; ArrowUp/Down move, Enter/Tab select (never
|
|
2899
|
+
* submit while open), Escape dismisses. Fuzzy-filtered via `searchScore`.
|
|
2900
|
+
*/
|
|
2901
|
+
commands?: ChatComposerCommands;
|
|
2902
|
+
/**
|
|
2903
|
+
* Previously sent prompts (oldest → newest). ArrowUp on an empty draft
|
|
2904
|
+
* recalls the last one; ArrowDown walks back toward the empty draft.
|
|
2905
|
+
*/
|
|
2906
|
+
history?: string[];
|
|
2680
2907
|
placeholder?: string;
|
|
2681
2908
|
ariaLabel?: string;
|
|
2682
2909
|
/** Auto-grow cap before the textarea scrolls. Default 8. */
|
|
@@ -2699,39 +2926,12 @@ interface ChatComposerProps {
|
|
|
2699
2926
|
/**
|
|
2700
2927
|
* The family chat input: auto-growing IME-safe textarea, send/stop
|
|
2701
2928
|
* states, attachment/dictation/toolbar slots, drag-drop + paste file
|
|
2702
|
-
* wiring
|
|
2929
|
+
* wiring, a slash-command/mention palette (`commands`), Escape-to-stop
|
|
2930
|
+
* and ArrowUp prompt recall (`history`). Presentational + controlled;
|
|
2931
|
+
* transports stay app-side.
|
|
2703
2932
|
*/
|
|
2704
2933
|
declare const ChatComposer: React.ForwardRefExoticComponent<ChatComposerProps & React.RefAttributes<HTMLFormElement>>;
|
|
2705
2934
|
|
|
2706
|
-
interface ChatTranscriptLabels {
|
|
2707
|
-
log: string;
|
|
2708
|
-
scrollToBottom: string;
|
|
2709
|
-
empty: string;
|
|
2710
|
-
replied: string;
|
|
2711
|
-
}
|
|
2712
|
-
interface ChatTranscriptProps {
|
|
2713
|
-
items: ChatMessageView[];
|
|
2714
|
-
/** Override the default `ChatMessage` + `MarkdownSurface` rendering. */
|
|
2715
|
-
renderItem?: (message: ChatMessageView, index: number) => React.ReactNode;
|
|
2716
|
-
/** Streaming tail — the live turn bubble (or any node). */
|
|
2717
|
-
live?: React.ReactNode;
|
|
2718
|
-
emptyState?: React.ReactNode;
|
|
2719
|
-
/** Stick to bottom while the user hasn't scrolled away. Default true. */
|
|
2720
|
-
autoScroll?: boolean;
|
|
2721
|
-
/** Distance from the bottom that still counts as "at the bottom". Default 120 px. */
|
|
2722
|
-
scrollThresholdPx?: number;
|
|
2723
|
-
/** Virtualize long transcripts (dynamic row measurement). Default false. */
|
|
2724
|
-
virtualized?: boolean;
|
|
2725
|
-
labels?: Partial<ChatTranscriptLabels>;
|
|
2726
|
-
className?: string;
|
|
2727
|
-
}
|
|
2728
|
-
/**
|
|
2729
|
-
* The conversation list: `role="log"` with polite turn-completion
|
|
2730
|
-
* announcements, stick-to-bottom auto-scroll with a jump-to-latest pill,
|
|
2731
|
-
* optional virtualization for thousand-message threads.
|
|
2732
|
-
*/
|
|
2733
|
-
declare const ChatTranscript: React.ForwardRefExoticComponent<ChatTranscriptProps & React.RefAttributes<HTMLDivElement>>;
|
|
2734
|
-
|
|
2735
2935
|
interface ChatBranchTreeIcons {
|
|
2736
2936
|
user: LucideIcon;
|
|
2737
2937
|
assistant: LucideIcon;
|
|
@@ -2782,6 +2982,7 @@ interface ChatSessionListLabels {
|
|
|
2782
2982
|
searchPlaceholder: string;
|
|
2783
2983
|
newChat: string;
|
|
2784
2984
|
rename: string;
|
|
2985
|
+
renameInput: string;
|
|
2785
2986
|
delete: string;
|
|
2786
2987
|
export: string;
|
|
2787
2988
|
today: string;
|
|
@@ -2802,6 +3003,12 @@ interface ChatSessionListProps {
|
|
|
2802
3003
|
onSelect: (id: string) => void;
|
|
2803
3004
|
onNew?: () => void;
|
|
2804
3005
|
onRename?: (id: string) => void;
|
|
3006
|
+
/**
|
|
3007
|
+
* Inline rename: when provided, the rename action edits the title in
|
|
3008
|
+
* place (Enter/blur commits, Escape cancels) instead of invoking
|
|
3009
|
+
* `onRename` — keep `onRename` for dialog-based flows only.
|
|
3010
|
+
*/
|
|
3011
|
+
onRenameCommit?: (id: string, title: string) => void;
|
|
2805
3012
|
onDelete?: (id: string) => void;
|
|
2806
3013
|
onExport?: (id: string) => void;
|
|
2807
3014
|
searchable?: boolean;
|
|
@@ -3280,4 +3487,4 @@ interface ChatLauncherProps {
|
|
|
3280
3487
|
*/
|
|
3281
3488
|
declare const ChatLauncher: React.ForwardRefExoticComponent<ChatLauncherProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3282
3489
|
|
|
3283
|
-
export { AboutCard, type AboutCardProps, type AboutCreator, AboutFooterLine, type AboutFooterLineProps, type AboutLicense, type AboutLinkItem, AboutLinkList, type AboutLinkListProps, AboutNote, type AboutNoteContent, type AboutNoteProps, AboutPanel, type AboutPanelProps, type AboutSponsorContent, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AdminUser, type AdminUserPatch, AdminUserTable, type AdminUserTableIcons, type AdminUserTableLabels, type AdminUserTableProps, type AiAction, AiActionsDropdown, type AiActionsDropdownProps, AiButton, type AiButtonProps, AiMagicFill, type AiMagicFillProps, type AiTextTransformEventHandlers, type AiTextTransformStatus, type AiTextTransformTransport, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateStatus, Badge, type BadgeProps, type BranchNode, type BranchNodeInput, type BranchTree, type BreadcrumbItem, type BreadcrumbLinkProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CUSTOM_PRESET_KEY, CapabilityChips, type CapabilityChipsProps, type CapabilityDescriptor, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CareerMark, type ChatAttachmentView, ChatBranchTree, type ChatBranchTreeIcons, type ChatBranchTreeLabels, type ChatBranchTreeNode, type ChatBranchTreeProps, ChatComposer, type ChatComposerIcons, type ChatComposerLabels, type ChatComposerProps, ChatDrawer, type ChatDrawerProps, type ChatError, type ChatExportMessage, type ChatExportOptions, ChatHistoryButton, type ChatHistoryButtonLabels, type ChatHistoryButtonProps, ChatLauncher, type ChatLauncherProps, ChatMessage, type ChatMessageAction, type ChatMessageActions, ChatMessageEditor, type ChatMessageEditorLabels, type ChatMessageEditorProps, type ChatMessageLabels, type ChatMessageProps, type ChatMessageStatus, type ChatMessageVariants, type ChatMessageView, ChatPanel, type ChatPanelProps, type ChatPanelVariant, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, ChatToolCard, type ChatToolCardLabels, type ChatToolCardProps, type ChatToolCatalogArgument, type ChatToolCatalogEntry, ChatToolsCatalog, type ChatToolsCatalogLabels, type ChatToolsCatalogProps, ChatTraceMeta, type ChatTraceMetaProps, ChatTraceTimeline, type ChatTraceTimelineEntry, type ChatTraceTimelineLabels, type ChatTraceTimelineProps, type ChatTraceTimelineTrace, ChatTranscript, type ChatTranscriptLabels, type ChatTranscriptProps, ChatTurnStatus, type ChatTurnStatusLabels, type ChatTurnStatusProps, CheckIndicator, type CheckIndicatorProps, ChipInput, type ChipInputProps, ChipList, type ChipListProps, type ChipVariant, Combobox, ComboboxMulti, type ComboboxMultiProps, type ComboboxOption, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, ConnectionTestRow, type ConnectionTestRowProps, type ConnectionTestStatus, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, DatePicker, type DatePickerProps, DesktopMark, DictationButton, type DictationButtonProps, type DictationError, type DictationResult, type DictationStatus, DictationStrip, type DictationStripLabels, type DictationStripProps, type DiffCell, type DiffRow, type DiffSegment, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, ExpandableSearch, type ExpandableSearchProps, type FamilyApp, FamilyBadge, type FamilyBadgeProps, type FamilyCreator, type FamilyMember, FieldDiff, type FieldDiffLabels, type FieldDiffProps, type FieldDiffValue, FieldLabel, type FieldLabelProps, FieldSummary, type FieldSummaryProps, FileCard, type FileCardProps, type FileCardStatus, FileQueue, type FileQueueItem, type FileQueueProps, type FlowError, FlowStatusCard, type FlowStatusCardProps, type FlowStep, type FlowStepInfo, type FlowStepStatus, FlowTelemetryStrip, type FlowTelemetryStripProps, type FlowTrace, type FlowTraceCall, FlowTraceCard, type FlowTraceCardLabels, type FlowTraceCardProps, type FlowTraceStage, type FlowTraceToolOp, FormModal, type FormModalProps, HealthMark, type HitlProposalAction, HitlProposalCard, type HitlProposalCardLabels, type HitlProposalCardProps, type HitlProposalStatus, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardTrigger, InfoButton, type InfoButtonProps, InfoTooltip, type InfoTooltipProps, Input, type InputProps, type InstanceAuthMode, InstanceModeControl, type InstanceModeControlIcons, type InstanceModeControlLabels, type InstanceModeControlProps, type LineDiffOptions, type LineDiffResult, type LiveNodeState, type LiveToolCall, type LiveTurnAction, type LiveTurnState, type LiveTurnStatus, LoginForm, type LoginFormFieldOverrides, type LoginFormFields, type LoginFormIcons, type LoginFormLabels, type LoginFormProps, type LogoProps, type LogoTheme, MarkdownCodeBlock, type MarkdownCodeBlockLabels, type MarkdownCodeBlockProps, type MarkdownComponents, MarkdownDiffView, type MarkdownDiffViewLabels, type MarkdownDiffViewProps, MarkdownSurface, type MarkdownSurfaceProps, MarqueeBand, type MarqueePhase, type MarqueeSelection, MarqueeSurface, type MarqueeSurfaceProps, Menu, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, MenuGroup, MenuItem, type MenuItemProps, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, MermaidDiagram, type MermaidDiagramProps, MessageVariantSwitcher, type MessageVariantSwitcherLabels, type MessageVariantSwitcherProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, ModelPicker, type ModelPickerModel, type ModelPickerProps, type ModelPickerProvider, ModelRegistry, type ModelRegistryDraft, type ModelRegistryModel, type ModelRegistryPatch, type ModelRegistryProps, type ModelRegistryProvider, type ModelRegistryRemoteModel, type ModelRegistryRemoteState, type NavChild, type NavItem, NeuronectionMark, NeuronectionWordmark, type NeuronectionWordmarkProps, PanelModal, type PanelModalProps, Popover, PopoverAnchor, PopoverButton, type PopoverButtonProps, PopoverClose, PopoverContent, PopoverTrigger, Portal, type PortalProps, type ProfileItem, ProfileSwitcher, type ProfileSwitcherIcons, type ProfileSwitcherLabels, type ProfileSwitcherProps, ProviderForm, type ProviderFormProps, type ProviderPresetOption, RangeBar, type RangeBarProps, type Rect, RegisterForm, type RegisterFormFieldOverrides, type RegisterFormFields, type RegisterFormIcons, type RegisterFormLabels, type RegisterFormProps, RichTextEditor, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextToolbarGroup, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, SidebarNav, type SidebarNavLabels, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, SponsorCard, type SponsorCardProps, type SponsorChannel, Stepper, type StepperProps, type StepperStep, StudyMark, Table, type TableProps, TaskAssignmentPicker, type TaskAssignmentPickerProps, type TaskAssignmentSection, type TaskAssignmentTask, TechChips, type TechChipsProps, TextDiffView, type TextDiffViewLabels, type TextDiffViewProps, ThemeScope, type ThemeScopeProps, ThemeTokens, TimeList, type TimeListProps, TimePicker, TimePickerContent, type TimePickerContentProps, type TimePickerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UndoNotice, type UndoNoticeProps, type UnitDiffOptions, UploadDropzone, type UploadDropzoneProps, type UseAiTextTransformOptions, type UseChatStreamOptions, type UseChatStreamResult, type UseDictationOptions, type UseMarqueeOptions, UserMenu, type UserMenuIcons, type UserMenuItem, type UserMenuLanguage, type UserMenuProps, type UserMenuStatus, type UserMenuStatusTone, type UserMenuTheme, type UserMenuUser, ViewToggle, type ViewToggleProps, type ViewToggleView, Wizard, type WizardContext, type WizardProps, type WizardStep, activePathSet, badgeVariants, buildBranchTree, buildChatMarkdown, buttonVariants, chatExportFileName, cn, computeLineDiff, computeUnitDiff, describeAdminUserError, describeInstanceModeError, downloadChatMarkdown, formatBytes, formatFlowLatency, hitTestIds, initialLiveTurnState, linearTree, liveTurnReducer, marqueeRect, modalContentVariants, rectsIntersect, scaleColorForValue, splitMarkdownBlocks, useAiTextTransform, useChatStream, useDictation, useLogoId, useMarquee, variantInfo, walkActivePath, wordSegments };
|
|
3490
|
+
export { AboutCard, type AboutCardProps, type AboutCreator, AboutFooterLine, type AboutFooterLineProps, type AboutLicense, type AboutLinkItem, AboutLinkList, type AboutLinkListProps, AboutNote, type AboutNoteContent, type AboutNoteProps, AboutPanel, type AboutPanelProps, type AboutSponsorContent, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AdminUser, type AdminUserPatch, AdminUserTable, type AdminUserTableIcons, type AdminUserTableLabels, type AdminUserTableProps, type AiAction, AiActionsDropdown, type AiActionsDropdownProps, AiButton, type AiButtonProps, AiMagicFill, type AiMagicFillProps, type AiTextTransformEventHandlers, type AiTextTransformStatus, type AiTextTransformTransport, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateStatus, Badge, type BadgeProps, type BranchNode, type BranchNodeInput, type BranchTree, type BreadcrumbItem, type BreadcrumbLinkProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CUSTOM_PRESET_KEY, CapabilityChips, type CapabilityChipsProps, type CapabilityDescriptor, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CareerMark, type ChatAttachmentView, ChatBranchTree, type ChatBranchTreeIcons, type ChatBranchTreeLabels, type ChatBranchTreeNode, type ChatBranchTreeProps, ChatComposer, type ChatComposerIcons, type ChatComposerLabels, type ChatComposerProps, ChatDrawer, type ChatDrawerProps, type ChatError, type ChatExportMessage, type ChatExportOptions, ChatHistoryButton, type ChatHistoryButtonLabels, type ChatHistoryButtonProps, ChatLauncher, type ChatLauncherProps, ChatMessage, type ChatMessageAction, type ChatMessageActions, ChatMessageEditor, type ChatMessageEditorLabels, type ChatMessageEditorProps, type ChatMessageLabels, type ChatMessageProps, type ChatMessageStatus, type ChatMessageVariants, type ChatMessageView, ChatPanel, type ChatPanelProps, type ChatPanelVariant, ChatPending, type ChatPendingProps, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSearchField, type ChatSearchFieldLabels, type ChatSearchFieldProps, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, ChatSuggestionCard, type ChatSuggestionCardProps, ChatToolCard, type ChatToolCardLabels, type ChatToolCardProps, type ChatToolCatalogArgument, type ChatToolCatalogEntry, ChatToolsCatalog, type ChatToolsCatalogLabels, type ChatToolsCatalogProps, ChatTraceMeta, type ChatTraceMetaProps, ChatTraceTimeline, type ChatTraceTimelineEntry, type ChatTraceTimelineLabels, type ChatTraceTimelineProps, type ChatTraceTimelineTrace, ChatTranscript, type ChatTranscriptLabels, type ChatTranscriptProps, ChatTurnStatus, type ChatTurnStatusLabels, type ChatTurnStatusProps, ChatWelcome, type ChatWelcomeProps, CheckIndicator, type CheckIndicatorProps, ChipInput, type ChipInputProps, ChipList, type ChipListProps, type ChipVariant, Combobox, ComboboxMulti, type ComboboxMultiProps, type ComboboxOption, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, ConnectionTestRow, type ConnectionTestRowProps, type ConnectionTestStatus, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, DatePicker, type DatePickerProps, DesktopMark, DictationButton, type DictationButtonProps, type DictationError, type DictationResult, type DictationStatus, DictationStrip, type DictationStripLabels, type DictationStripProps, type DiffCell, type DiffRow, type DiffSegment, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, ExpandableSearch, type ExpandableSearchProps, type FamilyApp, FamilyBadge, type FamilyBadgeProps, type FamilyCreator, type FamilyMember, FieldDiff, type FieldDiffLabels, type FieldDiffProps, type FieldDiffValue, FieldLabel, type FieldLabelProps, FieldSummary, type FieldSummaryProps, FileCard, type FileCardProps, type FileCardStatus, FileQueue, type FileQueueItem, type FileQueueProps, type FlowError, FlowStatusCard, type FlowStatusCardProps, type FlowStep, type FlowStepInfo, type FlowStepStatus, FlowTelemetryStrip, type FlowTelemetryStripProps, type FlowTrace, type FlowTraceCall, FlowTraceCard, type FlowTraceCardLabels, type FlowTraceCardProps, type FlowTraceStage, type FlowTraceToolOp, FormModal, type FormModalProps, HealthMark, type HitlProposalAction, HitlProposalCard, type HitlProposalCardLabels, type HitlProposalCardProps, type HitlProposalStatus, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardTrigger, InfoButton, type InfoButtonProps, InfoTooltip, type InfoTooltipProps, Input, type InputProps, type InstanceAuthMode, InstanceModeControl, type InstanceModeControlIcons, type InstanceModeControlLabels, type InstanceModeControlProps, type LineDiffOptions, type LineDiffResult, type LiveNodeState, type LiveToolCall, type LiveTurnAction, type LiveTurnState, type LiveTurnStatus, LoginForm, type LoginFormFieldOverrides, type LoginFormFields, type LoginFormIcons, type LoginFormLabels, type LoginFormProps, type LogoProps, type LogoTheme, MarkdownCodeBlock, type MarkdownCodeBlockLabels, type MarkdownCodeBlockProps, type MarkdownComponents, MarkdownDiffView, type MarkdownDiffViewLabels, type MarkdownDiffViewProps, MarkdownSurface, type MarkdownSurfaceProps, MarqueeBand, type MarqueePhase, type MarqueeSelection, MarqueeSurface, type MarqueeSurfaceProps, Menu, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, MenuGroup, MenuItem, type MenuItemProps, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, MermaidDiagram, type MermaidDiagramProps, MessageVariantSwitcher, type MessageVariantSwitcherLabels, type MessageVariantSwitcherProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, ModelPicker, type ModelPickerModel, type ModelPickerProps, type ModelPickerProvider, ModelRegistry, type ModelRegistryDraft, type ModelRegistryModel, type ModelRegistryPatch, type ModelRegistryProps, type ModelRegistryProvider, type ModelRegistryRemoteModel, type ModelRegistryRemoteState, type NavChild, type NavItem, NeuronectionMark, NeuronectionWordmark, type NeuronectionWordmarkProps, PanelModal, type PanelModalProps, Popover, PopoverAnchor, PopoverButton, type PopoverButtonProps, PopoverClose, PopoverContent, PopoverTrigger, Portal, type PortalProps, type ProfileItem, ProfileSwitcher, type ProfileSwitcherIcons, type ProfileSwitcherLabels, type ProfileSwitcherProps, ProviderForm, type ProviderFormProps, type ProviderPresetOption, RangeBar, type RangeBarProps, type Rect, RegisterForm, type RegisterFormFieldOverrides, type RegisterFormFields, type RegisterFormIcons, type RegisterFormLabels, type RegisterFormProps, RichTextEditor, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextToolbarGroup, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, SidebarNav, type SidebarNavLabels, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, SponsorCard, type SponsorCardProps, type SponsorChannel, Stepper, type StepperProps, type StepperStep, StudyMark, Table, type TableProps, TaskAssignmentPicker, type TaskAssignmentPickerProps, type TaskAssignmentSection, type TaskAssignmentTask, TechChips, type TechChipsProps, TextDiffView, type TextDiffViewLabels, type TextDiffViewProps, ThemeScope, type ThemeScopeProps, ThemeTokens, TimeList, type TimeListProps, TimePicker, TimePickerContent, type TimePickerContentProps, type TimePickerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UndoNotice, type UndoNoticeProps, type UnitDiffOptions, UploadDropzone, type UploadDropzoneProps, type UseAiTextTransformOptions, type UseChatStreamOptions, type UseChatStreamResult, type UseDictationOptions, type UseMarqueeOptions, UserMenu, type UserMenuIcons, type UserMenuItem, type UserMenuLanguage, type UserMenuProps, type UserMenuStatus, type UserMenuStatusTone, type UserMenuTheme, type UserMenuUser, ViewToggle, type ViewToggleProps, type ViewToggleView, Wizard, type WizardContext, type WizardProps, type WizardStep, activePathSet, badgeVariants, buildBranchTree, buildChatMarkdown, buttonVariants, chatExportFileName, cn, computeLineDiff, computeUnitDiff, describeAdminUserError, describeInstanceModeError, downloadChatMarkdown, formatBytes, formatFlowLatency, hitTestIds, initialLiveTurnState, linearTree, liveTurnReducer, marqueeRect, modalContentVariants, rectsIntersect, scaleColorForValue, splitMarkdownBlocks, useAiTextTransform, useChatStream, useDictation, useLogoId, useMarquee, variantInfo, walkActivePath, wordSegments };
|
package/dist/index.js
CHANGED
|
@@ -1,81 +1,84 @@
|
|
|
1
|
+
export { UndoNotice } from './chunk-AT32ANZW.js';
|
|
2
|
+
export { ViewToggle } from './chunk-XZIJIGEB.js';
|
|
3
|
+
export { Stepper, Wizard } from './chunk-ZNVWHGKM.js';
|
|
4
|
+
export { TaskAssignmentPicker } from './chunk-3YIVKKT6.js';
|
|
5
|
+
export { SettingsShell } from './chunk-YPDIA54W.js';
|
|
6
|
+
export { SidebarNav } from './chunk-VAUB5TDF.js';
|
|
1
7
|
export { UserMenu } from './chunk-CYK3ZLAB.js';
|
|
2
8
|
export { ThemeScope } from './chunk-TGU3PKNM.js';
|
|
3
9
|
export { TimeList } from './chunk-67W2OLOQ.js';
|
|
4
10
|
export { TimePicker, TimePickerContent } from './chunk-WQ5MPOYG.js';
|
|
5
11
|
export { InfoTooltip, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-NDZ22QGX.js';
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
12
|
+
export { ModelRegistry } from './chunk-I5H4KYEZ.js';
|
|
13
|
+
export { CapabilityChips } from './chunk-SY5FR4HC.js';
|
|
14
|
+
export { SegmentedTabs } from './chunk-5IEBIDXQ.js';
|
|
9
15
|
export { SelectionBar } from './chunk-LXKRUJIS.js';
|
|
10
16
|
export { Skeleton, SkeletonText } from './chunk-4OJXAFGA.js';
|
|
11
17
|
export { HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger } from './chunk-PNYJ5VX2.js';
|
|
12
18
|
export { Table } from './chunk-53JFRZAO.js';
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
19
|
+
export { ProfileSwitcher } from './chunk-6ANLDUGL.js';
|
|
20
|
+
export { CUSTOM_PRESET_KEY, ProviderForm } from './chunk-UMI4M4MF.js';
|
|
21
|
+
export { RangeBar } from './chunk-3UDWLHLD.js';
|
|
16
22
|
export { ScaleSlider, scaleColorForValue } from './chunk-NLHODVBI.js';
|
|
17
23
|
export { SearchInput } from './chunk-UUIMMMSJ.js';
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export { SegmentedTabs } from './chunk-5IEBIDXQ.js';
|
|
24
|
+
export { MarqueeBand, MarqueeSurface, hitTestIds, marqueeRect, rectsIntersect, useMarquee } from './chunk-RU3DEF2O.js';
|
|
25
|
+
export { MarkdownDiffView, splitMarkdownBlocks } from './chunk-TLFEVL42.js';
|
|
21
26
|
export { ModelPicker } from './chunk-CCFVDJHU.js';
|
|
22
27
|
export { PanelModal } from './chunk-6O4LOWZG.js';
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export { RangeBar } from './chunk-3UDWLHLD.js';
|
|
28
|
+
export { LoginForm } from './chunk-3V5EBB4N.js';
|
|
29
|
+
export { RegisterForm } from './chunk-A3XTCQ7C.js';
|
|
26
30
|
export { RichTextEditor } from './chunk-QYZNTE6Y.js';
|
|
27
31
|
export { DictationButton, DictationStrip, useDictation } from './chunk-QRTECV3V.js';
|
|
28
32
|
export { useAiTextTransform } from './chunk-BKAO7BTU.js';
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
33
|
+
export { FileQueue } from './chunk-EEKWQQW3.js';
|
|
34
|
+
export { UploadDropzone } from './chunk-Q7MRRVE6.js';
|
|
35
|
+
export { FlowStatusCard } from './chunk-E5GKW4XN.js';
|
|
31
36
|
export { FlowTelemetryStrip, FlowTraceCard, formatFlowLatency } from './chunk-HMUM3RAS.js';
|
|
32
37
|
export { FieldLabel } from './chunk-UTECJFDO.js';
|
|
33
38
|
export { InfoButton } from './chunk-2M4BWGLD.js';
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
39
|
+
export { ConfirmationModal } from './chunk-SE2AHFA5.js';
|
|
40
|
+
export { ContextMenu } from './chunk-A64IW7ID.js';
|
|
41
|
+
export { ActionMenu, Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger } from './chunk-3UCBKZ2O.js';
|
|
36
42
|
export { DatePicker } from './chunk-QFIXMIVP.js';
|
|
37
43
|
export { ExpandableSearch } from './chunk-BAXBFV7Q.js';
|
|
38
|
-
export { FileQueue } from './chunk-EEKWQQW3.js';
|
|
39
44
|
export { FileCard, formatBytes } from './chunk-SBVLHGDI.js';
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
45
|
+
export { ChatTraceMeta } from './chunk-5CIRID6W.js';
|
|
46
|
+
export { ChatTraceTimeline } from './chunk-HR3FYO7C.js';
|
|
47
|
+
export { ChatToolsCatalog } from './chunk-OMWI53FM.js';
|
|
42
48
|
export { ConnectionTestRow } from './chunk-KV67D3RP.js';
|
|
43
49
|
export { CheckIndicator } from './chunk-FVIIVWRC.js';
|
|
44
50
|
export { ChipInput } from './chunk-HQN55NOV.js';
|
|
45
51
|
export { Combobox, ComboboxMulti } from './chunk-SVRCZUNQ.js';
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
52
|
+
export { ChatDrawer } from './chunk-UKR2WUO3.js';
|
|
53
|
+
export { ChatReasoning } from './chunk-INXQJM2K.js';
|
|
54
|
+
export { ChatSessionList } from './chunk-22MIIWC7.js';
|
|
49
55
|
export { FieldDiff, FieldSummary, HitlProposalCard } from './chunk-452GYIS7.js';
|
|
50
56
|
export { TextDiffView } from './chunk-WYIHBQVV.js';
|
|
51
57
|
export { computeLineDiff, computeUnitDiff, wordSegments } from './chunk-QLP7K3PY.js';
|
|
52
|
-
export { ChatToolCard } from './chunk-
|
|
53
|
-
export { ChatTurnStatus } from './chunk-TQDTFPM4.js';
|
|
58
|
+
export { ChatToolCard } from './chunk-EQPXM2R4.js';
|
|
54
59
|
export { buildChatMarkdown, chatExportFileName, downloadChatMarkdown } from './chunk-DRJGZ5TB.js';
|
|
55
60
|
export { ChatHistoryButton } from './chunk-VTYBR5Y4.js';
|
|
56
61
|
export { PopoverButton } from './chunk-2EC3NEAE.js';
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
62
|
+
export { ChatPanel } from './chunk-SR4IN564.js';
|
|
63
|
+
export { ChatPending } from './chunk-F4BTJQLK.js';
|
|
64
|
+
export { ChatTurnStatus } from './chunk-GIQZNEG5.js';
|
|
65
|
+
export { ChatWelcome } from './chunk-OOQO6VGO.js';
|
|
66
|
+
export { ChatSuggestionCard } from './chunk-PABMR4RA.js';
|
|
67
|
+
export { ChatSearchField, ChatTranscript } from './chunk-E2NNTHFB.js';
|
|
68
|
+
export { MarkdownCodeBlock, MarkdownSurface, MermaidDiagram } from './chunk-KLCULTOQ.js';
|
|
63
69
|
export { CopyButton } from './chunk-XFYCNCPS.js';
|
|
64
|
-
export { ChatMessage, ChatMessageEditor, MessageVariantSwitcher } from './chunk-
|
|
70
|
+
export { ChatMessage, ChatMessageEditor, MessageVariantSwitcher } from './chunk-56QSIK4Y.js';
|
|
65
71
|
export { ChatBranchTree } from './chunk-BG44GKXQ.js';
|
|
66
|
-
export { ChatDrawer } from './chunk-UKR2WUO3.js';
|
|
67
|
-
export { ChatReasoning } from './chunk-S63SYV6O.js';
|
|
68
|
-
export { ChatSessionList } from './chunk-PC3CE4W2.js';
|
|
69
72
|
export { AiMagicFill } from './chunk-X6L5Z5LV.js';
|
|
70
73
|
export { FormModal } from './chunk-QPY2Y532.js';
|
|
71
74
|
export { Modal, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, modalContentVariants } from './chunk-FVQWIDB5.js';
|
|
72
75
|
export { Breadcrumbs } from './chunk-FILCIMXX.js';
|
|
73
76
|
export { initialLiveTurnState, liveTurnReducer, useChatStream } from './chunk-O3OLATVE.js';
|
|
74
77
|
export { activePathSet, buildBranchTree, linearTree, variantInfo, walkActivePath } from './chunk-Z4IBQ53C.js';
|
|
75
|
-
export { ChatLauncher } from './chunk-
|
|
78
|
+
export { ChatLauncher } from './chunk-GO4ILLS6.js';
|
|
76
79
|
export { Portal } from './chunk-XZWLTTHA.js';
|
|
77
|
-
export { ChatComposer } from './chunk-
|
|
78
|
-
export { rawTokens, semanticTokens } from './chunk-
|
|
80
|
+
export { ChatComposer } from './chunk-P3QUNCBR.js';
|
|
81
|
+
export { rawTokens, semanticTokens } from './chunk-5C2OLUDR.js';
|
|
79
82
|
export { AiActionsDropdown } from './chunk-HUIKW2PK.js';
|
|
80
83
|
export { AboutCard, AboutFooterLine, AboutLinkList, AboutNote, AboutPanel, FamilyBadge, SponsorCard, TechChips } from './chunk-PPW4GNM6.js';
|
|
81
84
|
export { CareerMark, DesktopMark, HealthMark, NeuronectionMark, NeuronectionWordmark, StudyMark, useLogoId } from './chunk-MK6V5MA4.js';
|
package/dist/model-registry.js
CHANGED