@llmnative/agentico 0.20.0 → 0.20.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.mjs CHANGED
@@ -1328,25 +1328,28 @@ function jt({ entry: e, pinned: n = !0, actions: r, cut: i = !1, showAuthor: a =
1328
1328
  });
1329
1329
  return a ? /* @__PURE__ */ L("div", {
1330
1330
  className: `${n ? "sticky top-0 z-20 border-b border-border/40" : ""} group flex items-start gap-2 bg-background py-1.5`,
1331
- children: [/* @__PURE__ */ L("span", {
1331
+ children: [/* @__PURE__ */ I("span", {
1332
1332
  className: `flex shrink-0 flex-col items-center ${Ot}`,
1333
- children: [
1334
- e.author ? /* @__PURE__ */ I(Dt, { author: e.author }) : /* @__PURE__ */ I("span", {
1335
- className: "flex h-5 w-5 items-center justify-center rounded-full bg-muted text-muted-foreground",
1336
- "aria-hidden": !0,
1337
- children: /* @__PURE__ */ I(f, {
1338
- name: "user",
1339
- size: 12
1340
- })
1341
- }),
1342
- m,
1343
- h
1344
- ]
1333
+ children: e.author ? /* @__PURE__ */ I(Dt, { author: e.author }) : /* @__PURE__ */ I("span", {
1334
+ className: "flex h-5 w-5 items-center justify-center rounded-full bg-muted text-muted-foreground",
1335
+ "aria-hidden": !0,
1336
+ children: /* @__PURE__ */ I(f, {
1337
+ name: "user",
1338
+ size: 12
1339
+ })
1340
+ })
1345
1341
  }), /* @__PURE__ */ L("div", {
1346
1342
  className: "min-w-0 flex-1",
1347
- children: [e.author && /* @__PURE__ */ I("div", {
1348
- className: "pb-0.5 text-xs font-medium text-foreground",
1349
- children: e.author.name
1343
+ children: [(e.author || m || h) && /* @__PURE__ */ L("div", {
1344
+ className: "flex min-h-5 items-center gap-0.5 pb-0.5",
1345
+ children: [
1346
+ e.author && /* @__PURE__ */ I("span", {
1347
+ className: "me-1 truncate text-xs font-medium text-foreground",
1348
+ children: e.author.name
1349
+ }),
1350
+ m,
1351
+ h
1352
+ ]
1350
1353
  }), g(!0)]
1351
1354
  })]
1352
1355
  }) : /* @__PURE__ */ L("div", {
@@ -2058,7 +2061,8 @@ function fn(e, t = {}) {
2058
2061
  } : r)), a = `${e}:${t}`, o = w.current.get(a);
2059
2062
  if (o) return w.current.delete(a), i(), o.resolve(n), null;
2060
2063
  if (O.current) throw m(E.current.requestInProgress), Error(E.current.requestInProgress);
2061
- if (!K || !D.current) throw m(E.current.noActiveSession), Error(E.current.noActiveSession);
2064
+ if (!D.current) throw m(E.current.noActiveSession), Error(E.current.noActiveSession);
2065
+ if (!K) return i(), Te(B(r.questions, n));
2062
2066
  O.current = !0, f(!0), m(null), i();
2063
2067
  try {
2064
2068
  return await X("", !1, void 0, {