@streamoid/agent 0.2.0 → 0.2.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/dist/index.js CHANGED
@@ -132667,7 +132667,7 @@ function QuickPromptSkeleton({ className: e = "" }) {
132667
132667
  "div",
132668
132668
  {
132669
132669
  "aria-hidden": !0,
132670
- className: "flex min-h-[88px] w-full flex-col items-center justify-center gap-2 rounded-[16px] lg:w-auto lg:flex-1 lg:min-w-[220px] border border-[var(--alias-border-subtle)] bg-[var(--alias-surface-base)] px-5 py-5 animate-pulse " + e,
132670
+ className: "flex min-h-[88px] flex-1 basis-[220px] min-w-[220px] flex-col items-center justify-center gap-2 rounded-[16px] border border-[var(--alias-border-subtle)] bg-[var(--alias-surface-base)] px-5 py-5 animate-pulse " + e,
132671
132671
  children: /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-center gap-1.5", children: [
132672
132672
  /* @__PURE__ */ jsx("div", { className: "h-3.5 w-3/4 rounded-full bg-[var(--alias-fill-neutral-neutral)]" }),
132673
132673
  /* @__PURE__ */ jsx("div", { className: "h-3 w-2/3 rounded-full bg-[var(--alias-fill-neutral-neutral)]" })
@@ -132741,7 +132741,7 @@ function EmptyChat({
132741
132741
  }
132742
132742
  ) })
132743
132743
  ] }),
132744
- ne && /* @__PURE__ */ jsxs("div", { className: "flex w-full min-w-0 flex-col items-start gap-[16px] lg:gap-[8px]", children: [
132744
+ ne && /* @__PURE__ */ jsxs("div", { className: "flex w-full min-w-0 flex-col items-start gap-[16px]", children: [
132745
132745
  /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-center gap-[4px]", children: [
132746
132746
  /* @__PURE__ */ jsx("div", { className: "flex-1 text-[12px] leading-[18px] text-[var(--alias-text---icons-tertiary)]", children: "Suggested Tasks" }),
132747
132747
  N && /* @__PURE__ */ jsxs(
@@ -132762,10 +132762,10 @@ function EmptyChat({
132762
132762
  {
132763
132763
  role: "status",
132764
132764
  "aria-label": "Loading quick prompts",
132765
- className: "flex w-full min-w-0 flex-col gap-[16px] lg:flex-row lg:flex-wrap lg:items-start lg:justify-center",
132765
+ className: "flex w-full min-w-0 flex-row flex-wrap items-start justify-center gap-[16px]",
132766
132766
  children: Array.from({ length: QUICK_PROMPT_SKELETON_COUNT }).map((ke, Ae) => /* @__PURE__ */ jsx(QuickPromptSkeleton, {}, `quick-prompt-skeleton-${Ae}`))
132767
132767
  }
132768
- ) : I.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex w-full min-w-0 flex-col gap-[16px] lg:flex-row lg:flex-wrap lg:items-start lg:justify-center", children: I.map((ke) => /* @__PURE__ */ jsx(
132768
+ ) : I.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex w-full min-w-0 flex-row flex-wrap items-start justify-center gap-[16px]", children: I.map((ke) => /* @__PURE__ */ jsx(
132769
132769
  QuickPrompt,
132770
132770
  {
132771
132771
  title: ke.title,
@@ -132773,13 +132773,13 @@ function EmptyChat({
132773
132773
  description: ke.description,
132774
132774
  icon: ke.icon,
132775
132775
  onClick: F,
132776
- className: "w-full lg:w-auto lg:flex-1 lg:min-w-[220px]"
132776
+ className: "flex-1 basis-[220px] min-w-[220px]"
132777
132777
  },
132778
132778
  `${ke.title}:${ke.value ?? ke.title}`
132779
132779
  )) })
132780
132780
  ] })
132781
132781
  ] }),
132782
- /* @__PURE__ */ jsxs("div", { className: "hidden flex-col items-center justify-center gap-[16px] pb-[8px] lg:flex", children: [
132782
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center gap-[16px] pb-[8px]", children: [
132783
132783
  /* @__PURE__ */ jsx("div", { className: "text-[12px] leading-[18px] text-[var(--alias-text---icons-tertiary)]", children: "Products" }),
132784
132784
  /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-start justify-center gap-[16px]", children: PRODUCTS.map((ke) => /* @__PURE__ */ jsxs(
132785
132785
  "button",
@@ -137584,7 +137584,7 @@ function AgentChatShell({ adapters: e }) {
137584
137584
  return /* @__PURE__ */ jsx(
137585
137585
  "div",
137586
137586
  {
137587
- className: "relative h-full w-full overflow-hidden bg-[var(--alias-surface-canvas)] text-[var(--alias-text---icons-primary)]",
137587
+ className: "relative flex h-full w-full flex-col overflow-hidden bg-[var(--alias-surface-canvas)] text-[var(--alias-text---icons-primary)]",
137588
137588
  "data-theme": "Mode 1",
137589
137589
  children: /* @__PURE__ */ jsxs(ChatNavigationProvider, { value: f, children: [
137590
137590
  /* @__PURE__ */ jsx(AttentionToast, {}),