@actioneer/ads 0.5.5 → 0.5.6
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/components/answer.d.ts +1 -0
- package/components/answer.js +665 -671
- package/components/assistant-ui/answer-tool-ui.js +11 -7
- package/components/assistant-ui/follow-up-suggestions.d.ts +5 -1
- package/components/assistant-ui/follow-up-suggestions.js +47 -19
- package/components/field.js +16 -16
- package/components/index.js +54 -53
- package/lib/icons.js +2 -2
- package/llms.txt +2 -0
- package/manifest.json +23 -4
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
3
3
|
import * as i from "react";
|
|
4
|
-
import { makeAssistantToolUI as
|
|
5
|
-
import { ANSWER_TOOL_NAME as
|
|
4
|
+
import { makeAssistantToolUI as l, useAssistantRuntime as c } from "@assistant-ui/react";
|
|
5
|
+
import { ANSWER_TOOL_NAME as a, AnswerSpecSchema as d, AnswerSkeleton as p, ANSWER_KINDS as u, AnswerRenderer as m } from "../answer.js";
|
|
6
6
|
import { Alert as A, AlertTitle as f, AlertDescription as h } from "../alert.js";
|
|
7
7
|
function S(e) {
|
|
8
8
|
if (typeof e != "object" || e === null || !("kind" in e))
|
|
@@ -11,7 +11,7 @@ function S(e) {
|
|
|
11
11
|
return u.includes(n) ? n : void 0;
|
|
12
12
|
}
|
|
13
13
|
function w({ spec: e }) {
|
|
14
|
-
const n =
|
|
14
|
+
const n = c(), t = i.useCallback(
|
|
15
15
|
(o) => {
|
|
16
16
|
n.thread.append({
|
|
17
17
|
role: "user",
|
|
@@ -22,11 +22,15 @@ function w({ spec: e }) {
|
|
|
22
22
|
);
|
|
23
23
|
return /* @__PURE__ */ r(m, { spec: e, onFollowUp: t, onOptionSelect: t });
|
|
24
24
|
}
|
|
25
|
-
const N =
|
|
26
|
-
toolName:
|
|
25
|
+
const N = l({
|
|
26
|
+
toolName: a,
|
|
27
|
+
// The answer is the deliverable, not a research step: render it standalone,
|
|
28
|
+
// outside (and below) the collapsible chain-of-thought / tool trace, so it
|
|
29
|
+
// never collapses away with the trace.
|
|
30
|
+
display: "standalone",
|
|
27
31
|
render: ({ args: e, status: n }) => {
|
|
28
|
-
const t =
|
|
29
|
-
return t.success ? /* @__PURE__ */ r(w, { spec: t.data }) : n.type === "running" ? /* @__PURE__ */ r(
|
|
32
|
+
const t = d.safeParse(e);
|
|
33
|
+
return t.success ? /* @__PURE__ */ r(w, { spec: t.data }) : n.type === "running" ? /* @__PURE__ */ r(p, { kind: S(e) }) : /* @__PURE__ */ s(A, { variant: "danger", children: [
|
|
30
34
|
/* @__PURE__ */ r(f, { children: "Unable to render this answer" }),
|
|
31
35
|
/* @__PURE__ */ r(h, { children: "The tool response did not match the ADS AnswerSpec contract." })
|
|
32
36
|
] });
|
|
@@ -2,6 +2,10 @@ import { ButtonProps } from '../button';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
export interface FollowUpSuggestionProps extends Omit<ButtonProps, "size" | "variant"> {
|
|
4
4
|
}
|
|
5
|
-
/**
|
|
5
|
+
/** Compact runtime suggestion shown above the composer. */
|
|
6
6
|
export declare const FollowUpSuggestion: React.ForwardRefExoticComponent<FollowUpSuggestionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
export interface FollowUpQuestionProps extends Omit<ButtonProps, "size" | "variant" | "startContent" | "endContent"> {
|
|
8
|
+
}
|
|
9
|
+
/** Full-width next-question row used at the end of a structured answer. */
|
|
10
|
+
export declare const FollowUpQuestion: React.ForwardRefExoticComponent<FollowUpQuestionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
11
|
export declare const ThreadFollowupSuggestions: React.FC;
|
|
@@ -1,37 +1,64 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import { useAuiState as
|
|
5
|
-
import { Button as
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { jsx as t, jsxs as u } from "react/jsx-runtime";
|
|
3
|
+
import * as i from "react";
|
|
4
|
+
import { useAuiState as d, AuiIf as p, ThreadPrimitive as m } from "@assistant-ui/react";
|
|
5
|
+
import { Button as n } from "../button.js";
|
|
6
|
+
import { AgentChat as g, ArrowUpRight as c } from "../../lib/icons.js";
|
|
7
|
+
import { cn as s } from "../../lib/cn.js";
|
|
8
|
+
const a = i.forwardRef(({ className: o, ...e }, r) => /* @__PURE__ */ t(
|
|
9
|
+
n,
|
|
9
10
|
{
|
|
10
11
|
ref: r,
|
|
11
12
|
size: "xs",
|
|
12
13
|
variant: "outline",
|
|
13
|
-
className:
|
|
14
|
+
className: s(
|
|
14
15
|
"aui-thread-followup-suggestion rounded-full border-border/60 bg-background px-3 font-normal hover:bg-muted/80",
|
|
15
|
-
|
|
16
|
+
o
|
|
16
17
|
),
|
|
17
18
|
...e
|
|
18
19
|
}
|
|
19
20
|
));
|
|
20
|
-
|
|
21
|
-
const h = () =>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
a.displayName = "FollowUpSuggestion";
|
|
22
|
+
const h = i.forwardRef(({ className: o, children: e, ...r }, l) => /* @__PURE__ */ u(
|
|
23
|
+
n,
|
|
24
|
+
{
|
|
25
|
+
ref: l,
|
|
26
|
+
size: "sm",
|
|
27
|
+
variant: "outline",
|
|
28
|
+
className: s(
|
|
29
|
+
"group/followup h-auto w-full justify-start whitespace-normal rounded-lg border-border bg-card px-3.5 py-2.5 text-left text-sm text-foreground hover:bg-surface",
|
|
30
|
+
"motion-reduce:transition-none [&>span]:w-full [&>span]:gap-2.5",
|
|
31
|
+
o
|
|
32
|
+
),
|
|
33
|
+
...r,
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ t(g, { "aria-hidden": !0, className: "size-4 shrink-0 text-tertiary" }),
|
|
36
|
+
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1", children: e }),
|
|
37
|
+
/* @__PURE__ */ t(
|
|
38
|
+
c,
|
|
39
|
+
{
|
|
40
|
+
"aria-hidden": !0,
|
|
41
|
+
className: "size-4 shrink-0 text-tertiary transition-colors group-hover/followup:text-foreground motion-reduce:transition-none"
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
));
|
|
47
|
+
h.displayName = "FollowUpQuestion";
|
|
48
|
+
const N = () => {
|
|
49
|
+
const o = d((e) => e.thread.suggestions);
|
|
50
|
+
return /* @__PURE__ */ t(
|
|
51
|
+
p,
|
|
25
52
|
{
|
|
26
53
|
condition: (e) => !e.thread.isEmpty && !e.thread.isRunning && e.thread.suggestions.length > 0,
|
|
27
|
-
children: /* @__PURE__ */
|
|
28
|
-
|
|
54
|
+
children: /* @__PURE__ */ t("div", { className: "aui-thread-followup-suggestions flex min-h-8 items-center justify-center gap-2", children: o.map((e, r) => /* @__PURE__ */ t(
|
|
55
|
+
m.Suggestion,
|
|
29
56
|
{
|
|
30
57
|
prompt: e.prompt,
|
|
31
58
|
method: "replace",
|
|
32
59
|
autoSend: !0,
|
|
33
60
|
asChild: !0,
|
|
34
|
-
children: /* @__PURE__ */
|
|
61
|
+
children: /* @__PURE__ */ t(a, { children: e.prompt })
|
|
35
62
|
},
|
|
36
63
|
r
|
|
37
64
|
)) })
|
|
@@ -39,6 +66,7 @@ const h = () => {
|
|
|
39
66
|
);
|
|
40
67
|
};
|
|
41
68
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
69
|
+
h as FollowUpQuestion,
|
|
70
|
+
a as FollowUpSuggestion,
|
|
71
|
+
N as ThreadFollowupSuggestions
|
|
44
72
|
};
|
package/components/field.js
CHANGED
|
@@ -7,7 +7,7 @@ const h = a(
|
|
|
7
7
|
// Border WIDTH only — no border-color utility. ads-interactive owns the
|
|
8
8
|
// color (rest = --glow-border-rest below); a `border-input` utility here
|
|
9
9
|
// would out-cascade the hover/focus brand-black rules.
|
|
10
|
-
"flex w-full rounded-
|
|
10
|
+
"flex w-full rounded-md border bg-elevated text-foreground",
|
|
11
11
|
"px-3 text-xs",
|
|
12
12
|
"placeholder:text-muted-foreground",
|
|
13
13
|
"outline-none",
|
|
@@ -19,56 +19,56 @@ const h = a(
|
|
|
19
19
|
g({ on: "all", color: "brand", intensity: "medium", animate: !0 }),
|
|
20
20
|
"[--glow-border-rest:var(--input)]",
|
|
21
21
|
"[--glow-inset:var(--inner-glow-field)]"
|
|
22
|
-
), i = d.forwardRef(({ className:
|
|
22
|
+
), i = d.forwardRef(({ className: l, children: e, required: r, ...t }, n) => /* @__PURE__ */ s(
|
|
23
23
|
"label",
|
|
24
24
|
{
|
|
25
25
|
ref: n,
|
|
26
26
|
className: a(
|
|
27
27
|
"flex items-center gap-1 text-xs font-normal text-foreground select-none",
|
|
28
28
|
"peer-disabled:cursor-not-allowed peer-disabled:opacity-60",
|
|
29
|
-
|
|
29
|
+
l
|
|
30
30
|
),
|
|
31
31
|
...t,
|
|
32
32
|
children: [
|
|
33
33
|
e,
|
|
34
|
-
|
|
34
|
+
r && /* @__PURE__ */ o("span", { className: "text-danger", children: "*" })
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
37
|
));
|
|
38
38
|
i.displayName = "Label";
|
|
39
|
-
const c = d.forwardRef(({ className:
|
|
39
|
+
const c = d.forwardRef(({ className: l, ...e }, r) => /* @__PURE__ */ o(
|
|
40
40
|
"p",
|
|
41
41
|
{
|
|
42
|
-
ref:
|
|
43
|
-
className: a("text-xs text-muted-foreground",
|
|
42
|
+
ref: r,
|
|
43
|
+
className: a("text-xs text-muted-foreground", l),
|
|
44
44
|
...e
|
|
45
45
|
}
|
|
46
46
|
));
|
|
47
47
|
c.displayName = "FieldDescription";
|
|
48
|
-
const
|
|
49
|
-
({ className:
|
|
48
|
+
const m = d.forwardRef(
|
|
49
|
+
({ className: l, children: e, ...r }, t) => e ? /* @__PURE__ */ o(
|
|
50
50
|
"p",
|
|
51
51
|
{
|
|
52
52
|
ref: t,
|
|
53
|
-
className: a("text-xs font-normal text-danger",
|
|
54
|
-
...
|
|
53
|
+
className: a("text-xs font-normal text-danger", l),
|
|
54
|
+
...r,
|
|
55
55
|
children: e
|
|
56
56
|
}
|
|
57
57
|
) : null
|
|
58
58
|
);
|
|
59
|
-
|
|
59
|
+
m.displayName = "FieldError";
|
|
60
60
|
const b = d.forwardRef(
|
|
61
|
-
({ className:
|
|
62
|
-
e && /* @__PURE__ */ o(i, { htmlFor:
|
|
61
|
+
({ className: l, label: e, description: r, error: t, required: n, htmlFor: f, children: p, ...x }, u) => /* @__PURE__ */ s("div", { ref: u, className: a("flex flex-col gap-1.5", l), ...x, children: [
|
|
62
|
+
e && /* @__PURE__ */ o(i, { htmlFor: f, required: n, children: e }),
|
|
63
63
|
p,
|
|
64
|
-
t ? /* @__PURE__ */ o(
|
|
64
|
+
t ? /* @__PURE__ */ o(m, { children: t }) : r ? /* @__PURE__ */ o(c, { children: r }) : null
|
|
65
65
|
] })
|
|
66
66
|
);
|
|
67
67
|
b.displayName = "Field";
|
|
68
68
|
export {
|
|
69
69
|
b as Field,
|
|
70
70
|
c as FieldDescription,
|
|
71
|
-
|
|
71
|
+
m as FieldError,
|
|
72
72
|
i as Label,
|
|
73
73
|
h as inputBaseClass
|
|
74
74
|
};
|
package/components/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { Kbd as B } from "./kbd.js";
|
|
|
13
13
|
import { CodeBlock as D, codeBlockVariants as k } from "./code-block.js";
|
|
14
14
|
import { SettingList as O, SettingRow as Q, settingRowVariants as V } from "./setting-row.js";
|
|
15
15
|
import { FileDropzone as _, fileDropzoneVariants as y } from "./file-dropzone.js";
|
|
16
|
-
import { ScrollArea as L, ScrollBar as
|
|
16
|
+
import { ScrollArea as L, ScrollBar as U } from "./scroll-area.js";
|
|
17
17
|
import { Stepper as K, stepperMarkerVariants as W } from "./stepper.js";
|
|
18
18
|
import { ResizablePanel as Y } from "./resizable-panel.js";
|
|
19
19
|
import { AudioWaveform as j } from "./audio-waveform.js";
|
|
@@ -32,17 +32,17 @@ import { SegmentedControl as Ie } from "./segmented.js";
|
|
|
32
32
|
import { Modal as be, ModalBody as Pe, ModalDescription as Ee, ModalFooter as Re, ModalHeader as ve, ModalTitle as Me } from "./modal.js";
|
|
33
33
|
import { CommandPalette as Fe } from "./command-palette.js";
|
|
34
34
|
import { Drawer as ke, DrawerBody as Ne, DrawerFooter as Oe, DrawerHeader as Qe, DrawerTitle as Ve, InlineDrawer as He, ModalDrawer as _e } from "./drawer.js";
|
|
35
|
-
import { Popover as Ge, PopoverContent as Le, PopoverTrigger as
|
|
35
|
+
import { Popover as Ge, PopoverContent as Le, PopoverTrigger as Ue } from "./popover.js";
|
|
36
36
|
import { Dropdown as Ke, DropdownContent as We, DropdownItem as Xe, DropdownLabel as Ye, DropdownSeparator as Ze, DropdownTrigger as je } from "./dropdown.js";
|
|
37
37
|
import { ToastProvider as Je, useToast as $e } from "./toast.js";
|
|
38
|
-
import { ANSWER_KINDS as oo, ANSWER_TOOL_DESCRIPTION as ro, ANSWER_TOOL_NAME as to, AnswerChartSchema as ao, AnswerCitationSchema as no, AnswerCitationsSchema as io, AnswerFollowUpSchema as so, AnswerKeyValueSchema as mo, AnswerMetricSchema as po, AnswerOptionSchema as lo, AnswerRenderer as co, AnswerSignalSchema as Co, AnswerSkeleton as uo, AnswerSourceSchema as To, AnswerSpecSchema as xo, AnswerToneSchema as fo, BreakdownAnswer as ho, BreakdownAnswerSchema as So, ClarificationAnswer as Ao, ClarificationAnswerSchema as go, ComparisonAnswer as Io, ComparisonAnswerSchema as wo, ConfirmationAnswer as bo, ConfirmationAnswerSchema as Po, DecisionAnswer as Eo, DecisionAnswerSchema as Ro, EmptyAnswer as vo, EmptyAnswerSchema as Mo, ErrorAnswer as Bo, ErrorAnswerSchema as Fo, ExplanationAnswer as Do, ExplanationAnswerSchema as ko, FactAnswer as No, FactAnswerSchema as Oo, KnowledgeAnswer as Qo, KnowledgeAnswerSchema as Vo, NarrativeAnswer as Ho, NarrativeAnswerSchema as _o, RankingAnswer as yo, RankingAnswerSchema as Go, RefusalAnswer as Lo, RefusalAnswerSchema as
|
|
38
|
+
import { ANSWER_KINDS as oo, ANSWER_TOOL_DESCRIPTION as ro, ANSWER_TOOL_NAME as to, AnswerChartSchema as ao, AnswerCitationSchema as no, AnswerCitationsSchema as io, AnswerFollowUpSchema as so, AnswerKeyValueSchema as mo, AnswerMetricSchema as po, AnswerOptionSchema as lo, AnswerRenderer as co, AnswerSignalSchema as Co, AnswerSkeleton as uo, AnswerSourceSchema as To, AnswerSpecSchema as xo, AnswerToneSchema as fo, BreakdownAnswer as ho, BreakdownAnswerSchema as So, ClarificationAnswer as Ao, ClarificationAnswerSchema as go, ComparisonAnswer as Io, ComparisonAnswerSchema as wo, ConfirmationAnswer as bo, ConfirmationAnswerSchema as Po, DecisionAnswer as Eo, DecisionAnswerSchema as Ro, EmptyAnswer as vo, EmptyAnswerSchema as Mo, ErrorAnswer as Bo, ErrorAnswerSchema as Fo, ExplanationAnswer as Do, ExplanationAnswerSchema as ko, FactAnswer as No, FactAnswerSchema as Oo, KnowledgeAnswer as Qo, KnowledgeAnswerSchema as Vo, NarrativeAnswer as Ho, NarrativeAnswerSchema as _o, RankingAnswer as yo, RankingAnswerSchema as Go, RefusalAnswer as Lo, RefusalAnswerSchema as Uo, ReportAnswer as zo, ReportAnswerSchema as Ko, StatusAnswer as Wo, StatusAnswerSchema as Xo, TableAnswer as Yo, TableAnswerSchema as Zo, TrendAnswer as jo, TrendAnswerSchema as qo, answerTool as Jo } from "./answer.js";
|
|
39
39
|
import { Card as er, CardBody as or, CardDescription as rr, CardFooter as tr, CardHeader as ar, CardTitle as nr } from "./card.js";
|
|
40
40
|
import { Carousel as sr, CarouselContent as mr, CarouselIndicators as pr, CarouselItem as lr, CarouselNext as cr, CarouselPrevious as Cr, carouselVariants as ur } from "./carousel.js";
|
|
41
41
|
import { AreaChart as Tr, BarChart as xr, ComboChart as fr, ComposedChart as hr, FunnelChart as Sr, LineChart as Ar, MIN_HEIGHT as gr, PieChart as Ir, RadarChart as wr, RadialBarChart as br, ScatterChart as Pr, TreemapChart as Er } from "./chart.js";
|
|
42
42
|
import { FunnelBarsHorizontal as vr, FunnelViz as Mr, RetentionCurve as Br, RetentionGrid as Fr, SeriesChart as Dr } from "./viz-charts.js";
|
|
43
43
|
import { ConnectionStatus as Nr, ConnectorCard as Or } from "./connector-card.js";
|
|
44
44
|
import { InfiniteCanvas as Vr } from "./infinite-canvas.js";
|
|
45
|
-
import { Table as _r, TableBody as yr, TableCell as Gr, TableColumn as Lr, TableHeader as
|
|
45
|
+
import { Table as _r, TableBody as yr, TableCell as Gr, TableColumn as Lr, TableHeader as Ur, TableRow as zr } from "./table.js";
|
|
46
46
|
import { Tab as Wr, TabList as Xr, TabPanel as Yr, TabSeparator as Zr, Tabs as jr } from "./tabs.js";
|
|
47
47
|
import { Tree as Jr, TreeItem as $r } from "./tree.js";
|
|
48
48
|
import { Accordion as ot, AccordionItem as rt } from "./accordion.js";
|
|
@@ -60,7 +60,7 @@ import { BrandTexture as Ft, BrandTextureField as Dt } from "./brand-texture.js"
|
|
|
60
60
|
import { Progress as Nt } from "./progress.js";
|
|
61
61
|
import { ProgressCircle as Qt } from "./progress-circle.js";
|
|
62
62
|
import { Skeleton as Ht } from "./skeleton.js";
|
|
63
|
-
import { EmptyConnections as yt, EmptyDocuments as Gt, EmptyInsights as Lt, EmptySearch as
|
|
63
|
+
import { EmptyConnections as yt, EmptyDocuments as Gt, EmptyInsights as Lt, EmptySearch as Ut, EmptyState as zt } from "./empty-state.js";
|
|
64
64
|
import { PageHeader as Wt } from "./page-header.js";
|
|
65
65
|
import { Navbar as Yt, NavbarBrand as Zt, NavbarContent as jt, NavbarItem as qt } from "./navbar.js";
|
|
66
66
|
import { BreadcrumbItem as $t, Breadcrumbs as ea } from "./breadcrumbs.js";
|
|
@@ -70,12 +70,12 @@ import { Panel as ha, PanelBody as Sa, PanelFooter as Aa, PanelHeader as ga, Pan
|
|
|
70
70
|
import { Collapsible as Pa, CollapsibleContent as Ea, CollapsibleTrigger as Ra } from "./collapsible.js";
|
|
71
71
|
import { SelectionActionBar as Ma, SelectionActionBarAction as Ba } from "./selection-action-bar.js";
|
|
72
72
|
import { AgentTrace as Da } from "./ai-elements/agent-trace.js";
|
|
73
|
-
import { ChainOfThought as Na, ChainOfThoughtContent as Oa, ChainOfThoughtEvidence as Qa, ChainOfThoughtEvidenceTable as Va, ChainOfThoughtImage as Ha, ChainOfThoughtItem as _a, ChainOfThoughtMetric as ya, ChainOfThoughtMetrics as Ga, ChainOfThoughtSearchResult as La, ChainOfThoughtSearchResults as
|
|
73
|
+
import { ChainOfThought as Na, ChainOfThoughtContent as Oa, ChainOfThoughtEvidence as Qa, ChainOfThoughtEvidenceTable as Va, ChainOfThoughtImage as Ha, ChainOfThoughtItem as _a, ChainOfThoughtMetric as ya, ChainOfThoughtMetrics as Ga, ChainOfThoughtSearchResult as La, ChainOfThoughtSearchResults as Ua, ChainOfThoughtStep as za, ChainOfThoughtTrigger as Ka } from "./ai-elements/chain-of-thought.js";
|
|
74
74
|
import { CHAIN_OF_THOUGHT_DESCRIPTIONS as Xa, CHAIN_OF_THOUGHT_STATES as Ya, ChainOfThoughtIcon as Za, TraceStateIcon as ja, resolveTraceState as qa } from "./ai-elements/chain-of-thought-icon.js";
|
|
75
75
|
import { AIChart as $a, aiChartVariants as en } from "./ai-elements/chart.js";
|
|
76
76
|
import { InlineCitation as rn, InlineCitationCard as tn, InlineCitationCardBody as an, InlineCitationCardTrigger as nn, InlineCitationCarousel as sn, InlineCitationCarouselContent as mn, InlineCitationCarouselHeader as pn, InlineCitationCarouselIndex as ln, InlineCitationCarouselItem as cn, InlineCitationCarouselNext as Cn, InlineCitationCarouselPrev as un, InlineCitationQuote as dn, InlineCitationSource as Tn, InlineCitationText as xn } from "./ai-elements/inline-citation.js";
|
|
77
77
|
import { Message as hn, MessageAction as Sn, MessageActions as An, MessageAttachment as gn, MessageAttachments as In, MessageAvatar as wn, MessageBranch as bn, MessageBranchContent as Pn, MessageBranchNext as En, MessageBranchPage as Rn, MessageBranchPrevious as vn, MessageBranchSelector as Mn, MessageContent as Bn, MessageMeta as Fn, MessageResponse as Dn, MessageToolbar as kn } from "./ai-elements/message.js";
|
|
78
|
-
import { Queue as On, QueueItem as Qn, QueueItemAction as Vn, QueueItemActions as Hn, QueueItemAttachment as _n, QueueItemContent as yn, QueueItemDescription as Gn, QueueItemFile as Ln, QueueItemImage as
|
|
78
|
+
import { Queue as On, QueueItem as Qn, QueueItemAction as Vn, QueueItemActions as Hn, QueueItemAttachment as _n, QueueItemContent as yn, QueueItemDescription as Gn, QueueItemFile as Ln, QueueItemImage as Un, QueueItemIndicator as zn, QueueList as Kn, QueueSection as Wn, QueueSectionContent as Xn, QueueSectionLabel as Yn, QueueSectionTrigger as Zn } from "./ai-elements/queue.js";
|
|
79
79
|
import { ResearchActivity as qn } from "./ai-elements/research-activity.js";
|
|
80
80
|
import { Shimmer as $n } from "./ai-elements/shimmer.js";
|
|
81
81
|
import { SpeechInput as oi } from "./ai-elements/speech-input.js";
|
|
@@ -84,7 +84,7 @@ import { TaskProgress as pi, TaskProgressDock as li } from "./ai-elements/task-p
|
|
|
84
84
|
import { Tool as Ci, ToolContent as ui, ToolHeader as di, ToolInput as Ti, ToolOutput as xi } from "./ai-elements/tool.js";
|
|
85
85
|
import { Transcript as hi } from "./ai-elements/transcript.js";
|
|
86
86
|
import { VOICE_PALETTES as Ai, VOICE_STATES as gi, VOICE_VARIANTS as Ii, Voice as wi, VoiceConnectButton as bi, VoiceControl as Pi, VoiceDisconnectButton as Ei, VoiceMuteButton as Ri, VoiceStatusDot as vi } from "./ai-elements/voice.js";
|
|
87
|
-
import { AssistantRuntimeProvider as Bi, AttachmentPrimitive as Fi, ComposerPrimitive as Di, CompositeAttachmentAdapter as ki, MessagePrimitive as Ni, SelectionToolbarPrimitive as Oi, SimpleImageAttachmentAdapter as Qi, ThreadPrimitive as Vi, makeAssistantToolUI as Hi, unstable_useSlashCommandAdapter as _i, useAssistantRuntime as yi, useAuiState as Gi, useComposer as Li, useComposerRuntime as
|
|
87
|
+
import { AssistantRuntimeProvider as Bi, AttachmentPrimitive as Fi, ComposerPrimitive as Di, CompositeAttachmentAdapter as ki, MessagePrimitive as Ni, SelectionToolbarPrimitive as Oi, SimpleImageAttachmentAdapter as Qi, ThreadPrimitive as Vi, makeAssistantToolUI as Hi, unstable_useSlashCommandAdapter as _i, useAssistantRuntime as yi, useAuiState as Gi, useComposer as Li, useComposerRuntime as Ui, useLocalRuntime as zi } from "@assistant-ui/react";
|
|
88
88
|
import { Thread as Wi } from "./assistant-ui/thread.js";
|
|
89
89
|
import { EMPTY_COMPONENTS as Yi, ThreadComponentsContext as Zi, isNewChatView as ji } from "./assistant-ui/thread-context.js";
|
|
90
90
|
import { RenderAnswerToolUI as Ji } from "./assistant-ui/answer-tool-ui.js";
|
|
@@ -99,7 +99,7 @@ import { ComposerHarness as Ms, HARNESS_MIME as Bs, HarnessAttachmentAdapter as
|
|
|
99
99
|
import { ComposerTriggerPopover as ks } from "./assistant-ui/composer-trigger-popover.js";
|
|
100
100
|
import { DirectiveText as Os, createDirectiveText as Qs } from "./assistant-ui/directive-text.js";
|
|
101
101
|
import { ErrorRoot as Hs, ErrorText as _s, MessageError as ys } from "./assistant-ui/error.js";
|
|
102
|
-
import { File as Ls, FileDownload as
|
|
102
|
+
import { File as Ls, FileDownload as Us, FileIconDisplay as zs, FileName as Ks, FileRoot as Ws, FileSize as Xs, fileVariants as Ys, formatFileSize as Zs, getBase64Size as js, getMimeTypeIcon as qs } from "./assistant-ui/file.js";
|
|
103
103
|
import { Image as $s, ImageActions as em, ImageContentFilterError as om, ImageFilename as rm, ImageGenerating as tm, ImagePreview as am, ImageRoot as nm, ImageZoom as im, imageVariants as sm } from "./assistant-ui/image.js";
|
|
104
104
|
import { MarkdownText as pm } from "./assistant-ui/markdown-text.js";
|
|
105
105
|
import { MessageTiming as cm } from "./assistant-ui/message-timing.js";
|
|
@@ -107,12 +107,12 @@ import { ComposerQuotePreview as um, ComposerQuotePreviewDismiss as dm, Composer
|
|
|
107
107
|
import { Source as wm, SourceIcon as bm, SourceTitle as Pm, Sources as Em } from "./assistant-ui/sources.js";
|
|
108
108
|
import { ToolFallback as vm, ToolFallbackApproval as Mm, ToolFallbackArgs as Bm, ToolFallbackContent as Fm, ToolFallbackError as Dm, ToolFallbackResult as km, ToolFallbackRoot as Nm, ToolFallbackTrigger as Om } from "./assistant-ui/tool-fallback.js";
|
|
109
109
|
import { ToolGroup as Vm, ToolGroupContent as Hm, ToolGroupRoot as _m, ToolGroupTrigger as ym, toolGroupVariants as Gm } from "./assistant-ui/tool-group.js";
|
|
110
|
-
import { FollowUpSuggestion as zm, ThreadFollowupSuggestions as
|
|
111
|
-
import { SelectionToolbar as
|
|
112
|
-
import { ThreadSuggestionItem as
|
|
113
|
-
import { TooltipIconButton as
|
|
114
|
-
import { BaseEdge as
|
|
115
|
-
import { badgeVariants as
|
|
110
|
+
import { FollowUpQuestion as Um, FollowUpSuggestion as zm, ThreadFollowupSuggestions as Km } from "./assistant-ui/follow-up-suggestions.js";
|
|
111
|
+
import { SelectionToolbar as Xm, SelectionToolbarCopy as Ym, SelectionToolbarQuote as Zm, SelectionToolbarRoot as jm } from "./assistant-ui/selection-toolbar.js";
|
|
112
|
+
import { ThreadSuggestionItem as Jm, ThreadSuggestions as $m } from "./assistant-ui/suggestions.js";
|
|
113
|
+
import { TooltipIconButton as op } from "./assistant-ui/tooltip-icon-button.js";
|
|
114
|
+
import { BaseEdge as tp, EdgeLabelRenderer as ap, Handle as np, MarkerType as ip, Position as sp, ReactFlowProvider as mp, addEdge as pp, getBezierPath as lp, getSmoothStepPath as cp, getStraightPath as Cp, useEdgesState as up, useNodesState as dp, useReactFlow as Tp } from "@xyflow/react";
|
|
115
|
+
import { badgeVariants as fp } from "./assistant-ui/badge.js";
|
|
116
116
|
export {
|
|
117
117
|
us as ACTIONEER_FILE_ACCEPT,
|
|
118
118
|
Pt as AGENT_ICONS,
|
|
@@ -153,7 +153,7 @@ export {
|
|
|
153
153
|
nt as AvatarGroup,
|
|
154
154
|
st as Badge,
|
|
155
155
|
xr as BarChart,
|
|
156
|
-
|
|
156
|
+
tp as BaseEdge,
|
|
157
157
|
cs as BranchPicker,
|
|
158
158
|
ht as BrandLoader,
|
|
159
159
|
St as BrandMark,
|
|
@@ -189,8 +189,8 @@ export {
|
|
|
189
189
|
ya as ChainOfThoughtMetric,
|
|
190
190
|
Ga as ChainOfThoughtMetrics,
|
|
191
191
|
La as ChainOfThoughtSearchResult,
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
Ua as ChainOfThoughtSearchResults,
|
|
193
|
+
za as ChainOfThoughtStep,
|
|
194
194
|
Ka as ChainOfThoughtTrigger,
|
|
195
195
|
ie as Checkbox,
|
|
196
196
|
se as CheckboxGroup,
|
|
@@ -247,15 +247,15 @@ export {
|
|
|
247
247
|
Ze as DropdownSeparator,
|
|
248
248
|
je as DropdownTrigger,
|
|
249
249
|
Yi as EMPTY_COMPONENTS,
|
|
250
|
-
|
|
250
|
+
ap as EdgeLabelRenderer,
|
|
251
251
|
rs as EditComposer,
|
|
252
252
|
vo as EmptyAnswer,
|
|
253
253
|
Mo as EmptyAnswerSchema,
|
|
254
254
|
yt as EmptyConnections,
|
|
255
255
|
Gt as EmptyDocuments,
|
|
256
256
|
Lt as EmptyInsights,
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
Ut as EmptySearch,
|
|
258
|
+
zt as EmptyState,
|
|
259
259
|
Bo as ErrorAnswer,
|
|
260
260
|
Fo as ErrorAnswerSchema,
|
|
261
261
|
Hs as ErrorRoot,
|
|
@@ -268,18 +268,19 @@ export {
|
|
|
268
268
|
f as FieldDescription,
|
|
269
269
|
h as FieldError,
|
|
270
270
|
Ls as File,
|
|
271
|
-
|
|
271
|
+
Us as FileDownload,
|
|
272
272
|
_ as FileDropzone,
|
|
273
|
-
|
|
273
|
+
zs as FileIconDisplay,
|
|
274
274
|
Ks as FileName,
|
|
275
275
|
Ws as FileRoot,
|
|
276
276
|
Xs as FileSize,
|
|
277
|
+
Um as FollowUpQuestion,
|
|
277
278
|
zm as FollowUpSuggestion,
|
|
278
279
|
vr as FunnelBarsHorizontal,
|
|
279
280
|
Sr as FunnelChart,
|
|
280
281
|
Mr as FunnelViz,
|
|
281
282
|
Bs as HARNESS_MIME,
|
|
282
|
-
|
|
283
|
+
np as Handle,
|
|
283
284
|
Fs as HarnessAttachmentAdapter,
|
|
284
285
|
w as Heading,
|
|
285
286
|
$s as Image,
|
|
@@ -316,7 +317,7 @@ export {
|
|
|
316
317
|
E as Link,
|
|
317
318
|
gr as MIN_HEIGHT,
|
|
318
319
|
pm as MarkdownText,
|
|
319
|
-
|
|
320
|
+
ip as MarkerType,
|
|
320
321
|
hn as Message,
|
|
321
322
|
Sn as MessageAction,
|
|
322
323
|
An as MessageActions,
|
|
@@ -363,8 +364,8 @@ export {
|
|
|
363
364
|
wt as PixelIcon,
|
|
364
365
|
Ge as Popover,
|
|
365
366
|
Le as PopoverContent,
|
|
366
|
-
|
|
367
|
-
|
|
367
|
+
Ue as PopoverTrigger,
|
|
368
|
+
sp as Position,
|
|
368
369
|
Nt as Progress,
|
|
369
370
|
Qt as ProgressCircle,
|
|
370
371
|
On as Queue,
|
|
@@ -375,8 +376,8 @@ export {
|
|
|
375
376
|
yn as QueueItemContent,
|
|
376
377
|
Gn as QueueItemDescription,
|
|
377
378
|
Ln as QueueItemFile,
|
|
378
|
-
|
|
379
|
-
|
|
379
|
+
Un as QueueItemImage,
|
|
380
|
+
zn as QueueItemIndicator,
|
|
380
381
|
Kn as QueueList,
|
|
381
382
|
Wn as QueueSection,
|
|
382
383
|
Xn as QueueSectionContent,
|
|
@@ -392,11 +393,11 @@ export {
|
|
|
392
393
|
le as RadioGroup,
|
|
393
394
|
yo as RankingAnswer,
|
|
394
395
|
Go as RankingAnswerSchema,
|
|
395
|
-
|
|
396
|
+
mp as ReactFlowProvider,
|
|
396
397
|
Lo as RefusalAnswer,
|
|
397
|
-
|
|
398
|
+
Uo as RefusalAnswerSchema,
|
|
398
399
|
Ji as RenderAnswerToolUI,
|
|
399
|
-
|
|
400
|
+
zo as ReportAnswer,
|
|
400
401
|
Ko as ReportAnswerSchema,
|
|
401
402
|
qn as ResearchActivity,
|
|
402
403
|
Y as ResizablePanel,
|
|
@@ -407,16 +408,16 @@ export {
|
|
|
407
408
|
Mt as Ripple,
|
|
408
409
|
Pr as ScatterChart,
|
|
409
410
|
L as ScrollArea,
|
|
410
|
-
|
|
411
|
+
U as ScrollBar,
|
|
411
412
|
Ie as SegmentedControl,
|
|
412
413
|
xe as Select,
|
|
413
414
|
Ma as SelectionActionBar,
|
|
414
415
|
Ba as SelectionActionBarAction,
|
|
415
|
-
|
|
416
|
-
|
|
416
|
+
Xm as SelectionToolbar,
|
|
417
|
+
Ym as SelectionToolbarCopy,
|
|
417
418
|
Oi as SelectionToolbarPrimitive,
|
|
418
|
-
|
|
419
|
-
|
|
419
|
+
Zm as SelectionToolbarQuote,
|
|
420
|
+
jm as SelectionToolbarRoot,
|
|
420
421
|
Dr as SeriesChart,
|
|
421
422
|
O as SettingList,
|
|
422
423
|
Q as SettingRow,
|
|
@@ -456,8 +457,8 @@ export {
|
|
|
456
457
|
yr as TableBody,
|
|
457
458
|
Gr as TableCell,
|
|
458
459
|
Lr as TableColumn,
|
|
459
|
-
|
|
460
|
-
|
|
460
|
+
Ur as TableHeader,
|
|
461
|
+
zr as TableRow,
|
|
461
462
|
jr as Tabs,
|
|
462
463
|
ti as Task,
|
|
463
464
|
ai as TaskContent,
|
|
@@ -470,11 +471,11 @@ export {
|
|
|
470
471
|
ae as Textarea,
|
|
471
472
|
Wi as Thread,
|
|
472
473
|
Zi as ThreadComponentsContext,
|
|
473
|
-
|
|
474
|
+
Km as ThreadFollowupSuggestions,
|
|
474
475
|
ns as ThreadMessage,
|
|
475
476
|
Vi as ThreadPrimitive,
|
|
476
|
-
|
|
477
|
-
|
|
477
|
+
Jm as ThreadSuggestionItem,
|
|
478
|
+
$m as ThreadSuggestions,
|
|
478
479
|
ct as Timeline,
|
|
479
480
|
Ct as TimelineItem,
|
|
480
481
|
Je as ToastProvider,
|
|
@@ -496,7 +497,7 @@ export {
|
|
|
496
497
|
Ti as ToolInput,
|
|
497
498
|
xi as ToolOutput,
|
|
498
499
|
J as Tooltip,
|
|
499
|
-
|
|
500
|
+
op as TooltipIconButton,
|
|
500
501
|
i as TooltipProvider,
|
|
501
502
|
ja as TraceStateIcon,
|
|
502
503
|
hi as Transcript,
|
|
@@ -517,7 +518,7 @@ export {
|
|
|
517
518
|
Ei as VoiceDisconnectButton,
|
|
518
519
|
Ri as VoiceMuteButton,
|
|
519
520
|
vi as VoiceStatusDot,
|
|
520
|
-
|
|
521
|
+
pp as addEdge,
|
|
521
522
|
en as aiChartVariants,
|
|
522
523
|
Jo as answerTool,
|
|
523
524
|
p as buttonVariants,
|
|
@@ -529,10 +530,10 @@ export {
|
|
|
529
530
|
Ys as fileVariants,
|
|
530
531
|
Zs as formatFileSize,
|
|
531
532
|
js as getBase64Size,
|
|
532
|
-
|
|
533
|
+
lp as getBezierPath,
|
|
533
534
|
qs as getMimeTypeIcon,
|
|
534
|
-
|
|
535
|
-
|
|
535
|
+
cp as getSmoothStepPath,
|
|
536
|
+
Cp as getStraightPath,
|
|
536
537
|
sm as imageVariants,
|
|
537
538
|
A as inputBaseClass,
|
|
538
539
|
a as interactive,
|
|
@@ -540,18 +541,18 @@ export {
|
|
|
540
541
|
Hi as makeAssistantToolUI,
|
|
541
542
|
qa as resolveTraceState,
|
|
542
543
|
V as settingRowVariants,
|
|
543
|
-
|
|
544
|
+
fp as sourceVariants,
|
|
544
545
|
W as stepperMarkerVariants,
|
|
545
546
|
Gm as toolGroupVariants,
|
|
546
547
|
_i as unstable_useSlashCommandAdapter,
|
|
547
548
|
yi as useAssistantRuntime,
|
|
548
549
|
Gi as useAuiState,
|
|
549
550
|
Li as useComposer,
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
551
|
+
Ui as useComposerRuntime,
|
|
552
|
+
up as useEdgesState,
|
|
553
|
+
zi as useLocalRuntime,
|
|
554
|
+
dp as useNodesState,
|
|
555
|
+
Tp as useReactFlow,
|
|
555
556
|
xa as useSidebar,
|
|
556
557
|
$e as useToast
|
|
557
558
|
};
|
package/lib/icons.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as h } from "react/jsx-runtime";
|
|
3
3
|
import * as C from "react";
|
|
4
|
-
import { ArrowUpRight as g, Code as p, Check as u, Copy as $, FileText as f, X as k, UploadSimple as w, EyeSlash as d, Eye as S, Minus as P, Plus as A, CaretDown as L, MagnifyingGlass as T, Info as m, WarningCircle as M, Warning as y, CheckCircle as U,
|
|
4
|
+
import { ArrowUpRight as g, Code as p, Check as u, Copy as $, FileText as f, X as k, UploadSimple as w, EyeSlash as d, Eye as S, Minus as P, Plus as A, CaretDown as L, MagnifyingGlass as T, Info as m, WarningCircle as M, Warning as y, CheckCircle as U, ChatCircle as O, CaretUp as B, ArrowsDownUp as b, Clock as D, Database as R, CaretLeft as I, CaretRight as F, CornersOut as x, Magnet as H, Tray as v, ArrowLeft as G, DotsThree as W, User as E, XCircle as z, CircleDashed as V, ArrowsClockwise as N, Paperclip as Q, Quotes as q, At as X, Lightning as j, Table as J, Sparkle as K, File as Y, DownloadSimple as Z, Image as s, BracketsCurly as _, MusicNotes as oo, VideoCamera as eo, ImageBroken as to, CircleNotch as so, Pulse as no, ArrowDown as ao, ArrowRight as ro, ArrowUp as co, Scroll as io, Stack as lo, BookOpen as ho, Brain as Co, CalendarBlank as go, Phone as po, ListChecks as uo, Cube as $o, ArrowSquareOut as fo, Folder as ko, FolderOpen as wo, Gauge as So, GitBranch as Po, Hash as Ao, ClockCounterClockwise as Lo, House as To, SquaresFour as mo, Leaf as Mo, Lightbulb as yo, Link as Uo, SignOut as Oo, Envelope as Bo, Microphone as bo, MicrophoneSlash as Do, DotsThreeVertical as Ro, Palette as Io, SidebarSimple as Fo, Pause as xo, PencilSimple as Ho, PhoneSlash as vo, ChartPie as Go, Play as Wo, Plug as Eo, Rocket as zo, Gear as Vo, Shapes as No, ShareNetwork as Qo, Star as qo, Stop as Xo, ArrowsLeftRight as jo, Target as Jo, Binoculars as Ko, TextT as Yo, ToggleRight as Zo, Trash as _o, Users as oe, Wrench as ee } from "@phosphor-icons/react";
|
|
5
5
|
function o(n, a) {
|
|
6
6
|
const e = C.forwardRef(function({ strokeWidth: t, weight: r, ...c }, i) {
|
|
7
7
|
const l = r ?? (t != null && t >= 2 ? "bold" : "regular");
|
|
@@ -9,7 +9,7 @@ function o(n, a) {
|
|
|
9
9
|
});
|
|
10
10
|
return e.displayName = a, e;
|
|
11
11
|
}
|
|
12
|
-
const ae = o(ao, "ArrowDown"), re = o(
|
|
12
|
+
const ae = o(ao, "ArrowDown"), re = o(G, "ArrowLeft"), ce = o(ro, "ArrowRight"), ie = o(co, "ArrowUp"), le = o(g, "ArrowUpRight"), he = o(L, "ChevronDown"), Ce = o(I, "ChevronLeft"), ge = o(F, "ChevronRight"), pe = o(B, "ChevronUp"), ue = o(b, "SortIcon"), $e = o(jo, "SwapHorizontal"), fe = o(fo, "ExternalLink"), ke = o(Fo, "PanelLeft"), we = o(X, "At"), de = o(po, "Call"), Se = o(k, "Close"), Pe = o(z, "CloseCircle"), Ae = o($, "Copy"), Le = o(Z, "Download"), Te = o(Oo, "LogOut"), me = o(bo, "Mic"), Me = o(Do, "MicOff"), ye = o(vo, "PhoneOff"), Ue = o(Ho, "Pencil"), Oe = o(q, "Quote"), Be = o(S, "Eye"), be = o(d, "EyeOff"), De = o(Ao, "Hash"), Re = o(s, "ImageUpload"), Ie = o(w, "Upload"), Fe = o(Yo, "TextFont"), xe = o(Zo, "ToggleOn"), He = o(go, "Calendar"), ve = o(D, "Clock"), Ge = o(p, "Code"), We = o(Xo, "Stop"), Ee = o(H, "Magnet"), ze = o(x, "Maximize"), Ve = o(P, "Minus"), Ne = o(W, "MoreHorizontal"), Qe = o(Ro, "MoreVertical"), qe = o(Uo, "Link"), Xe = o(A, "Plus"), je = o(N, "Refresh"), Je = o(io, "AuditTrail"), Ke = o(T, "Search"), Ye = o(Qo, "Share"), Ze = o(_o, "Trash"), _e = o(u, "Check"), ot = o(so, "Loader"), et = o(U, "CheckCircle"), tt = o(m, "Info"), st = o(y, "Warning"), nt = o(M, "WarningCircle"), at = o(no, "Activity"), rt = o(O, "AgentChat"), ct = o(j, "Bolt"), it = o(ho, "BookOpen"), lt = o(Co, "Brain"), ht = o(uo, "CheckList"), Ct = o($o, "Component"), gt = o(R, "Database"), pt = o(J, "Table"), ut = o(Y, "File"), $t = o(f, "FileText"), ft = o(ko, "Folder"), kt = o(s, "Image"), wt = o(to, "ImageOff"), dt = o(oo, "Music"), St = o(eo, "Video"), Pt = o(_, "Braces"), At = o(wo, "FolderOpen"), Lt = o(So, "Gauge"), Tt = o(Po, "GitBranch"), mt = o(Lo, "HistoryClock"), Mt = o(To, "Home"), yt = o(lo, "Blocks"), Ut = o(v, "Inbox"), Ot = o(yo, "Lightbulb"), Bt = o(Mo, "Leaf"), bt = o(mo, "LayoutGrid"), Dt = o(Bo, "Mail"), Rt = o(Io, "Palette"), It = o(Go, "PieChart"), Ft = o(Eo, "Plug"), xt = o(zo, "Rocket"), Ht = o(Vo, "Settings"), vt = o(No, "Shapes"), Gt = o(K, "Sparkles"), Wt = o(qo, "Star"), Et = o(Ko, "Telescope"), zt = o(Jo, "Target"), Vt = o(E, "User"), Nt = o(oe, "Users"), Qt = o(Wo, "Play"), qt = o(xo, "Pause"), Xt = o(Q, "Paperclip"), jt = o(V, "CircleDashed"), Jt = o(ee, "Wrench");
|
|
13
13
|
export {
|
|
14
14
|
at as Activity,
|
|
15
15
|
rt as AgentChat,
|
package/llms.txt
CHANGED
|
@@ -879,6 +879,7 @@ When tabs and a search field control the same content, they share one responsive
|
|
|
879
879
|
- [FileName] — component [docs](https://ads.actioneer.dev/#/demo/ask)
|
|
880
880
|
- [FileRoot] — component [docs](https://ads.actioneer.dev/#/demo/ask)
|
|
881
881
|
- [FileSize] — component [docs](https://ads.actioneer.dev/#/demo/ask)
|
|
882
|
+
- [FollowUpQuestion] — component [docs](https://ads.actioneer.dev/#/demo/ask)
|
|
882
883
|
- [FollowUpSuggestion] — component [docs](https://ads.actioneer.dev/#/demo/ask)
|
|
883
884
|
- [Image] — component [docs](https://ads.actioneer.dev/#/demo/ask)
|
|
884
885
|
- [ImageActions] — component [docs](https://ads.actioneer.dev/#/demo/ask)
|
|
@@ -933,6 +934,7 @@ When tabs and a search field control the same content, they share one responsive
|
|
|
933
934
|
- [CreateDirectiveTextOptions] — TypeScript type
|
|
934
935
|
- [DeepResearchState] — TypeScript type
|
|
935
936
|
- [FileRootProps] — TypeScript type
|
|
937
|
+
- [FollowUpQuestionProps] — TypeScript type
|
|
936
938
|
- [FollowUpSuggestionProps] — TypeScript type
|
|
937
939
|
- [ImageActionsProps] — TypeScript type
|
|
938
940
|
- [ImageRootProps] — TypeScript type
|
package/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actioneer/ads",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"importPath": "@actioneer/ads",
|
|
5
5
|
"styleImport": "@import \"@actioneer/ads/styles.css\";",
|
|
6
6
|
"families": [
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"Chat"
|
|
17
17
|
],
|
|
18
18
|
"counts": {
|
|
19
|
-
"total":
|
|
20
|
-
"component":
|
|
21
|
-
"type":
|
|
19
|
+
"total": 784,
|
|
20
|
+
"component": 353,
|
|
21
|
+
"type": 343,
|
|
22
22
|
"hook": 10,
|
|
23
23
|
"util": 78
|
|
24
24
|
},
|
|
@@ -7649,6 +7649,16 @@
|
|
|
7649
7649
|
"note": "Vendored assistant-ui component. Props follow upstream assistant-ui, not ADS conventions; the chat family needs an <AssistantRuntimeProvider> (chat runtime) and a <TooltipProvider> ancestor. Import from \"@actioneer/ads\" like any ADS export.",
|
|
7650
7650
|
"showcaseUrl": "https://ads.actioneer.dev/#/demo/ask"
|
|
7651
7651
|
},
|
|
7652
|
+
{
|
|
7653
|
+
"name": "FollowUpQuestion",
|
|
7654
|
+
"family": "Chat",
|
|
7655
|
+
"kind": "component",
|
|
7656
|
+
"importPath": "@actioneer/ads",
|
|
7657
|
+
"module": "follow-up-suggestions",
|
|
7658
|
+
"vendored": true,
|
|
7659
|
+
"note": "Vendored assistant-ui component. Props follow upstream assistant-ui, not ADS conventions; the chat family needs an <AssistantRuntimeProvider> (chat runtime) and a <TooltipProvider> ancestor. Import from \"@actioneer/ads\" like any ADS export.",
|
|
7660
|
+
"showcaseUrl": "https://ads.actioneer.dev/#/demo/ask"
|
|
7661
|
+
},
|
|
7652
7662
|
{
|
|
7653
7663
|
"name": "FollowUpSuggestion",
|
|
7654
7664
|
"family": "Chat",
|
|
@@ -8184,6 +8194,15 @@
|
|
|
8184
8194
|
"vendored": true,
|
|
8185
8195
|
"note": "Vendored assistant-ui component. Props follow upstream assistant-ui, not ADS conventions; the chat family needs an <AssistantRuntimeProvider> (chat runtime) and a <TooltipProvider> ancestor. Import from \"@actioneer/ads\" like any ADS export."
|
|
8186
8196
|
},
|
|
8197
|
+
{
|
|
8198
|
+
"name": "FollowUpQuestionProps",
|
|
8199
|
+
"family": "Chat",
|
|
8200
|
+
"kind": "type",
|
|
8201
|
+
"importPath": "@actioneer/ads",
|
|
8202
|
+
"module": "follow-up-suggestions",
|
|
8203
|
+
"vendored": true,
|
|
8204
|
+
"note": "Vendored assistant-ui component. Props follow upstream assistant-ui, not ADS conventions; the chat family needs an <AssistantRuntimeProvider> (chat runtime) and a <TooltipProvider> ancestor. Import from \"@actioneer/ads\" like any ADS export."
|
|
8205
|
+
},
|
|
8187
8206
|
{
|
|
8188
8207
|
"name": "FollowUpSuggestionProps",
|
|
8189
8208
|
"family": "Chat",
|