@streamoid/agent 0.4.1 → 0.4.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/index.js CHANGED
@@ -129593,7 +129593,7 @@ function PanelCard({
129593
129593
  return /* @__PURE__ */ jsxs(
129594
129594
  "div",
129595
129595
  {
129596
- className: "@container my-2 flex items-center gap-3 rounded-xl border border-[var(--alias-border-subtle)] bg-[var(--alias-surface-base)] px-3 py-2.5",
129596
+ className: "sa-card my-2 flex items-center gap-3 rounded-xl border border-[var(--alias-border-subtle)] bg-[var(--alias-surface-base)] px-3 py-2.5",
129597
129597
  "data-testid": "panel-card",
129598
129598
  "data-panel-showing": n ? "true" : "false",
129599
129599
  children: [
@@ -129601,7 +129601,7 @@ function PanelCard({
129601
129601
  "span",
129602
129602
  {
129603
129603
  "aria-hidden": !0,
129604
- className: "hidden size-9 shrink-0 place-items-center rounded-lg bg-black/[0.04] @min-[240px]:grid dark:bg-white/[0.06]",
129604
+ className: "sa-card-icon size-9 shrink-0 place-items-center rounded-lg bg-black/[0.04] dark:bg-white/[0.06]",
129605
129605
  children: /* @__PURE__ */ jsx(PanelRightOpen, { className: "size-[18px] text-[var(--alias-text---icons-secondary)]" })
129606
129606
  }
129607
129607
  ),
@@ -129618,7 +129618,7 @@ function PanelCard({
129618
129618
  className: "inline-flex shrink-0 items-center gap-1.5 rounded-lg border border-[var(--alias-border-subtle)] px-2.5 py-1.5 text-xs text-[var(--alias-text---icons-secondary)] hover:bg-black/[0.04] dark:hover:bg-white/[0.06]",
129619
129619
  children: [
129620
129620
  /* @__PURE__ */ jsx(PanelRightClose, { className: "size-3.5" }),
129621
- /* @__PURE__ */ jsx("span", { className: "hidden @min-[300px]:inline", children: "Close" })
129621
+ /* @__PURE__ */ jsx("span", { className: "sa-card-label", children: "Close" })
129622
129622
  ]
129623
129623
  }
129624
129624
  ) : /* @__PURE__ */ jsxs(
@@ -129631,7 +129631,7 @@ function PanelCard({
129631
129631
  className: "inline-flex shrink-0 items-center gap-1.5 rounded-lg border border-[var(--alias-border-subtle)] px-2.5 py-1.5 text-xs text-[var(--alias-text---icons-primary)] hover:bg-black/[0.04] disabled:cursor-not-allowed disabled:opacity-50 dark:hover:bg-white/[0.06]",
129632
129632
  children: [
129633
129633
  /* @__PURE__ */ jsx(PanelRightOpen, { className: "size-3.5" }),
129634
- /* @__PURE__ */ jsx("span", { className: "hidden @min-[300px]:inline", children: "Open" })
129634
+ /* @__PURE__ */ jsx("span", { className: "sa-card-label", children: "Open" })
129635
129635
  ]
129636
129636
  }
129637
129637
  )
@@ -134813,15 +134813,18 @@ function ChatScreen() {
134813
134813
  if (isScrollAnchorRow(Et[Ft].kind)) return Ft;
134814
134814
  return -1;
134815
134815
  })(), Js = xn ? "active" : "empty", Va = Js === "empty", Do = usePrefersReducedMotion();
134816
- return useComposerTravel(Yt, Js, Do), /* `@container` here, the split query one level in.
134816
+ return useComposerTravel(Yt, Js, Do), /* The query container is this wrapper; the split is one level in, because an
134817
+ * element is never its own query container.
134817
134818
  *
134818
- * An element is never its own query container, so the element carrying
134819
- * `@min-[560px]:grid` has to be a descendant of the one carrying
134820
- * `@container` — hence the extra wrapper rather than one div doing both. */
134821
- /* @__PURE__ */ jsx("div", { className: "@container relative flex min-h-0 flex-1 overflow-hidden", children: /* @__PURE__ */ jsxs(
134819
+ * `sa-chat-area` / `sa-split` / `sa-pane` are hand-written rules in
134820
+ * index.css rather than Tailwind variants, and that is deliberate — see the
134821
+ * comment there. In short: our stylesheet is concatenated with the host's,
134822
+ * container queries add no specificity, and the host's plain `.flex` and
134823
+ * `.absolute` were winning on source order. */
134824
+ /* @__PURE__ */ jsx("div", { className: "sa-chat-area relative flex min-h-0 flex-1 overflow-hidden", children: /* @__PURE__ */ jsxs(
134822
134825
  "div",
134823
134826
  {
134824
- className: `relative flex min-h-0 w-full flex-1 overflow-hidden ${Cl ? "@min-[560px]:grid" : ""}`,
134827
+ className: `relative flex min-h-0 w-full flex-1 overflow-hidden ${Cl ? "sa-split" : ""}`,
134825
134828
  style: Cl ? { gridTemplateColumns: kd } : void 0,
134826
134829
  "data-testid": "chat-split",
134827
134830
  "data-pane-width": Cl ? Bc : void 0,
@@ -135281,7 +135284,7 @@ function ChatScreen() {
135281
135284
  Cl && /* @__PURE__ */ jsx(
135282
135285
  "div",
135283
135286
  {
135284
- className: "absolute inset-0 z-20 h-full min-h-0 min-w-0 @min-[560px]:static @min-[560px]:z-auto",
135287
+ className: "sa-pane h-full min-h-0 min-w-0",
135285
135288
  "data-testid": ks ? "canvas-pane" : "side-pane-region",
135286
135289
  children: /* @__PURE__ */ jsx(
135287
135290
  SidePaneHost,