@webless/agent 0.14.0 → 0.14.2

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/embed.cjs CHANGED
@@ -4828,16 +4828,11 @@ function ExploreMore({
4828
4828
  if (!sources.length && !questions.length) return null;
4829
4829
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "explore-more", children: [
4830
4830
  sources.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "explore-more__section", children: [
4831
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("p", { className: "explore-more__label", children: [
4832
- "Based on ",
4833
- sources.length,
4834
- " ",
4835
- sources.length === 1 ? "page" : "pages"
4836
- ] }),
4831
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "explore-more__label", children: "Related Resources" }),
4837
4832
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SearchReferences, { results, mode: "sources" })
4838
4833
  ] }) : null,
4839
4834
  questions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "explore-more__section", children: [
4840
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "explore-more__label", children: "Learn more" }),
4835
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "explore-more__label", children: "Ask Next" }),
4841
4836
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { className: "explore-more__questions", children: questions.map((question) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
4842
4837
  "button",
4843
4838
  {
@@ -5196,7 +5191,7 @@ function Composer({
5196
5191
  disabled,
5197
5192
  title: "Share your details and we'll reach out shortly",
5198
5193
  onClick: () => setDraft((current) => ({ ...current, expanded: true })),
5199
- children: "Review follow-up"
5194
+ children: "Request a Follow-Up"
5200
5195
  }
5201
5196
  ) : null
5202
5197
  ] }) : null,
@@ -5720,7 +5715,7 @@ var BRAND_LOGO_LAYOUT = {
5720
5715
  header: { maxHeight: 20, maxWidth: 96, square: 24 },
5721
5716
  message: { maxHeight: 18, maxWidth: 80, square: 22 },
5722
5717
  /** Bottom/mobile launcher pill orb — keep in sync with AssistEdgeTab chip CSS. */
5723
- launcher: { maxHeight: 24, maxWidth: 104, square: 38 }
5718
+ launcher: { maxHeight: 20, maxWidth: 80, square: 22 }
5724
5719
  };
5725
5720
  function isWideBrandLogo(naturalWidth, naturalHeight) {
5726
5721
  return naturalWidth > naturalHeight * 1.4;
@@ -7689,7 +7684,7 @@ function AgentRail({
7689
7684
  disabled: handoff.busy || handoff.hasPending || isBusy,
7690
7685
  title: "Chat with a human representative",
7691
7686
  onClick: () => void handoff.start(),
7692
- children: "Talk to a person"
7687
+ children: "Talk to an Expert"
7693
7688
  }
7694
7689
  ) : null
7695
7690
  ] });