@fencyai/react 0.1.164 → 0.1.165

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.
@@ -1 +1 @@
1
- {"version":3,"file":"MemoryChatChunkResult.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/MemoryChatChunkResult.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAA;AAGpE,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,OAAO,CACT,kBAAkB,EAClB;QAAE,QAAQ,EAAE,YAAY,CAAC;QAAC,SAAS,EAAE,aAAa,CAAA;KAAE,CACvD,CAAA;IACD,CAAC,EAAE,6BAA6B,CAAA;CACnC;AAwBD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CACxC,0BAA0B,CAuG7B,CAAA"}
1
+ {"version":3,"file":"MemoryChatChunkResult.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/MemoryChatChunkResult.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAA;AAGpE,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,OAAO,CACT,kBAAkB,EAClB;QAAE,QAAQ,EAAE,YAAY,CAAC;QAAC,SAAS,EAAE,aAAa,CAAA;KAAE,CACvD,CAAA;IACD,CAAC,EAAE,6BAA6B,CAAA;CACnC;AAwBD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CACxC,0BAA0B,CA4J7B,CAAA"}
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { jsxs as g, jsx as i, Fragment as I } from "react/jsx-runtime";
1
+ import { jsxs as p, jsx as i, Fragment as I } from "react/jsx-runtime";
2
2
  import { createStream as ae, isStreamTimeoutEvent as se, isStreamNotFoundEvent as le, isAgentTaskProgressItemUpdatedEvent as ce, createAgentTask as de } from "@fencyai/js";
3
3
  import { createContext as me, useState as v, useRef as F, useEffect as A, useCallback as G, useContext as ue, useMemo as D } from "react";
4
4
  import { useInView as ye, motion as b, AnimatePresence as J } from "motion/react";
5
- import ge from "react-markdown";
5
+ import pe from "react-markdown";
6
6
  import { Prism as Y } from "react-syntax-highlighter";
7
- import pe from "remark-gfm";
7
+ import ge from "remark-gfm";
8
8
  import './assets/index.css';const Z = me(
9
9
  void 0
10
10
  );
@@ -94,31 +94,31 @@ function be(e, r) {
94
94
  return new Promise((u, y) => {
95
95
  const f = Object.assign({}, n);
96
96
  f.accept || (f.accept = _);
97
- let p;
97
+ let g;
98
98
  function x() {
99
- p.abort(), document.hidden || R();
99
+ g.abort(), document.hidden || R();
100
100
  }
101
101
  m || document.addEventListener("visibilitychange", x);
102
102
  let h = ke, S = 0;
103
103
  function k() {
104
- document.removeEventListener("visibilitychange", x), window.clearTimeout(S), p.abort();
104
+ document.removeEventListener("visibilitychange", x), window.clearTimeout(S), g.abort();
105
105
  }
106
106
  t == null || t.addEventListener("abort", () => {
107
107
  k(), u();
108
108
  });
109
- const C = o ?? window.fetch, E = l ?? ve;
109
+ const w = o ?? window.fetch, C = l ?? ve;
110
110
  async function R() {
111
111
  var L;
112
- p = new AbortController();
112
+ g = new AbortController();
113
113
  try {
114
- const P = await C(e, Object.assign(Object.assign({}, a), { headers: f, signal: p.signal }));
115
- await E(P), await he(P.body, fe(Se((M) => {
114
+ const P = await w(e, Object.assign(Object.assign({}, a), { headers: f, signal: g.signal }));
115
+ await C(P), await he(P.body, fe(Se((M) => {
116
116
  M ? f[q] = M : delete f[q];
117
117
  }, (M) => {
118
118
  h = M;
119
119
  }, c))), s == null || s(), k(), u();
120
120
  } catch (P) {
121
- if (!p.signal.aborted)
121
+ if (!g.signal.aborted)
122
122
  try {
123
123
  const M = (L = d == null ? void 0 : d(P)) !== null && L !== void 0 ? L : h;
124
124
  window.clearTimeout(S), S = window.setTimeout(R, M);
@@ -135,16 +135,16 @@ function ve(e) {
135
135
  if (!(r != null && r.startsWith(_)))
136
136
  throw new Error(`Expected content-type to be ${_}, Actual: ${r}`);
137
137
  }
138
- function Ce(e) {
138
+ function we(e) {
139
139
  const r = atob(e), t = new Uint8Array(r.length);
140
140
  for (let n = 0; n < r.length; n++)
141
141
  t[n] = r.charCodeAt(n);
142
142
  return new TextDecoder("utf-8").decode(t);
143
143
  }
144
- function Ee(e) {
144
+ function Ce(e) {
145
145
  return e instanceof Error ? e.message : typeof e == "string" ? e : "Unknown stream error";
146
146
  }
147
- class we {
147
+ class Ee {
148
148
  constructor(r) {
149
149
  this.eventSources = /* @__PURE__ */ new Map(), this.subscribers = /* @__PURE__ */ new Map(), this.fency = r;
150
150
  }
@@ -178,12 +178,12 @@ class we {
178
178
  },
179
179
  onmessage: (s) => {
180
180
  if (s.data) {
181
- const d = Ce(s.data);
181
+ const d = we(s.data);
182
182
  this.broadcast(d, t);
183
183
  }
184
184
  },
185
185
  onerror: (s) => {
186
- throw console.error("EventSource error for stream", t, ":", s), this.eventSources.delete(t), this.broadcastError(t, Ee(s)), s;
186
+ throw console.error("EventSource error for stream", t, ":", s), this.eventSources.delete(t), this.broadcastError(t, Ce(s)), s;
187
187
  },
188
188
  onclose() {
189
189
  }
@@ -230,7 +230,7 @@ function Ar({ fency: e, fetchCreateStreamClientToken: r, children: t }) {
230
230
  m(h), s(!1);
231
231
  });
232
232
  }, [e]), A(() => {
233
- n && !y.current && (y.current = new we(n));
233
+ n && !y.current && (y.current = new Ee(n));
234
234
  }, [n]), A(() => {
235
235
  y.current && y.current.updateStreams(o);
236
236
  }, [o]), A(() => () => {
@@ -252,13 +252,13 @@ function Ar({ fency: e, fetchCreateStreamClientToken: r, children: t }) {
252
252
  const S = Date.now(), k = o.length > 0 ? o[o.length - 1] : null;
253
253
  if (k && S - k.createdAt < h)
254
254
  return k.stream;
255
- const C = (async () => {
255
+ const w = (async () => {
256
256
  if (!n)
257
257
  throw new Error("Fency instance not initialized");
258
- const E = await r(), R = await ae({
258
+ const C = await r(), R = await ae({
259
259
  pk: n.publishableKey,
260
260
  baseUrl: n.baseUrl,
261
- clientToken: (E == null ? void 0 : E.clientToken) ?? ""
261
+ clientToken: (C == null ? void 0 : C.clientToken) ?? ""
262
262
  });
263
263
  if (R.type === "success") {
264
264
  const L = {
@@ -272,23 +272,23 @@ function Ar({ fency: e, fetchCreateStreamClientToken: r, children: t }) {
272
272
  } else
273
273
  throw u.current = null, new Error("Failed to create stream");
274
274
  })();
275
- return u.current = C, C;
275
+ return u.current = w, w;
276
276
  },
277
277
  [n, o]
278
278
  );
279
279
  if (d)
280
- return /* @__PURE__ */ g("div", { children: [
280
+ return /* @__PURE__ */ p("div", { children: [
281
281
  "Fency error: ",
282
282
  d.message
283
283
  ] });
284
284
  if (!n)
285
285
  return null;
286
- const p = o.length > 0 ? o[o.length - 1] : null, x = {
286
+ const g = o.length > 0 ? o[o.length - 1] : null, x = {
287
287
  fency: n,
288
288
  loading: c,
289
289
  error: d,
290
290
  activeStreams: o,
291
- latestStream: p,
291
+ latestStream: g,
292
292
  eventManager: y.current,
293
293
  getOrCreateStream: f
294
294
  };
@@ -389,13 +389,13 @@ const Ae = (e) => {
389
389
  const f = a.taskType === "MemorySearch" && a.eventType === "Completed" || a.taskType === "StructuredChatCompletion" && a.eventType === "Completed";
390
390
  n(
391
391
  f ? (x) => x.map((h) => {
392
- var C;
393
- if (((C = h.confirmedData) == null ? void 0 : C.taskId) !== o.agentTaskId)
392
+ var w;
393
+ if (((w = h.confirmedData) == null ? void 0 : w.taskId) !== o.agentTaskId)
394
394
  return h;
395
395
  const k = h.progressItems.some(
396
- (E) => E.progressItemId === o.progressItemId
396
+ (C) => C.progressItemId === o.progressItemId
397
397
  ) ? h.progressItems.map(
398
- (E) => E.progressItemId === o.progressItemId ? o : E
398
+ (C) => C.progressItemId === o.progressItemId ? o : C
399
399
  ) : [...h.progressItems, o];
400
400
  return {
401
401
  ...h,
@@ -409,23 +409,23 @@ const Ae = (e) => {
409
409
  }
410
410
  )
411
411
  );
412
- const p = c.current.get(
412
+ const g = c.current.get(
413
413
  o.agentTaskId
414
414
  );
415
- p && (c.current.delete(o.agentTaskId), p(a));
415
+ g && (c.current.delete(o.agentTaskId), g(a));
416
416
  return;
417
417
  }
418
418
  (y = e.onAgentTaskProgressItemUpdated) == null || y.call(e, o), n(
419
- (f) => f.map((p) => {
419
+ (f) => f.map((g) => {
420
420
  var S;
421
- if (((S = p.confirmedData) == null ? void 0 : S.taskId) !== o.agentTaskId)
422
- return p;
423
- const h = p.progressItems.some(
421
+ if (((S = g.confirmedData) == null ? void 0 : S.taskId) !== o.agentTaskId)
422
+ return g;
423
+ const h = g.progressItems.some(
424
424
  (k) => k.progressItemId === o.progressItemId
425
- ) ? p.progressItems.map(
425
+ ) ? g.progressItems.map(
426
426
  (k) => k.progressItemId === o.progressItemId ? o : k
427
- ) : [...p.progressItems, o];
428
- return { ...p, progressItems: h };
427
+ ) : [...g.progressItems, o];
428
+ return { ...g, progressItems: h };
429
429
  })
430
430
  );
431
431
  },
@@ -448,10 +448,10 @@ const Ae = (e) => {
448
448
  var f;
449
449
  const u = `task-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`, y = await s();
450
450
  if (y.type === "success") {
451
- const p = (/* @__PURE__ */ new Date()).toISOString(), x = {
451
+ const g = (/* @__PURE__ */ new Date()).toISOString(), x = {
452
452
  taskKey: u,
453
453
  streamId: y.stream.id,
454
- triggeredAt: p,
454
+ triggeredAt: g,
455
455
  confirmedData: null,
456
456
  error: null,
457
457
  params: o,
@@ -497,8 +497,8 @@ const Ae = (e) => {
497
497
  if (S.type === "success" && S.agentTask) {
498
498
  l.current.add(
499
499
  S.agentTask.id
500
- ), n((C) => [
501
- ...C.filter((E) => E.taskKey !== u),
500
+ ), n((w) => [
501
+ ...w.filter((C) => C.taskKey !== u),
502
502
  {
503
503
  taskKey: u,
504
504
  streamId: y.stream.id,
@@ -516,10 +516,10 @@ const Ae = (e) => {
516
516
  }
517
517
  }
518
518
  ]);
519
- const k = await new Promise((C) => {
519
+ const k = await new Promise((w) => {
520
520
  c.current.set(
521
521
  S.agentTask.id,
522
- C
522
+ w
523
523
  );
524
524
  });
525
525
  return {
@@ -531,7 +531,7 @@ const Ae = (e) => {
531
531
  } else {
532
532
  if (S.type === "error")
533
533
  return n((k) => [
534
- ...k.filter((C) => C.taskKey !== u),
534
+ ...k.filter((w) => w.taskKey !== u),
535
535
  {
536
536
  taskKey: u,
537
537
  triggeredAt: (/* @__PURE__ */ new Date()).toISOString(),
@@ -552,8 +552,8 @@ const Ae = (e) => {
552
552
  message: "No response received",
553
553
  code: "UnknownError"
554
554
  };
555
- return n((C) => [
556
- ...C.filter((E) => E.taskKey !== u),
555
+ return n((w) => [
556
+ ...w.filter((C) => C.taskKey !== u),
557
557
  {
558
558
  taskKey: u,
559
559
  triggeredAt: (/* @__PURE__ */ new Date()).toISOString(),
@@ -603,7 +603,7 @@ function ze(e) {
603
603
  };
604
604
  });
605
605
  }
606
- function w({
606
+ function E({
607
607
  text: e,
608
608
  duration: r = 2,
609
609
  delay: t = 0,
@@ -618,7 +618,7 @@ function w({
618
618
  shimmerColor: u = "#000",
619
619
  direction: y = "fromBottom"
620
620
  }) {
621
- const f = F(null), p = ye(f, { once: d, margin: m }), x = D(() => e.length * o, [e, o]), h = !s || p, S = y === "fromBottom" ? "100% center" : "-100% center", k = y === "fromBottom" ? "0% center" : "200% center";
621
+ const f = F(null), g = ye(f, { once: d, margin: m }), x = D(() => e.length * o, [e, o]), h = !s || g, S = y === "fromBottom" ? "100% center" : "-100% center", k = y === "fromBottom" ? "0% center" : "200% center";
622
622
  return /* @__PURE__ */ i(
623
623
  b.span,
624
624
  {
@@ -727,7 +727,7 @@ const Ne = ({ progressViewItems: e, t: r }) => {
727
727
  children: n
728
728
  }
729
729
  ) : /* @__PURE__ */ i(
730
- w,
730
+ E,
731
731
  {
732
732
  text: n,
733
733
  className: "simple-mode-title",
@@ -901,9 +901,9 @@ const Ne = ({ progressViewItems: e, t: r }) => {
901
901
  animate: { opacity: 1, y: 0 },
902
902
  transition: { duration: 0.3, delay: 0 },
903
903
  children: /* @__PURE__ */ i(
904
- ge,
904
+ pe,
905
905
  {
906
- remarkPlugins: [pe],
906
+ remarkPlugins: [ge],
907
907
  components: {
908
908
  code(r) {
909
909
  const { children: t, className: n, node: l, ref: c, ...s } = r, d = /language-(\w+)/.exec(n || "");
@@ -1079,11 +1079,11 @@ function Q(e, r) {
1079
1079
  return t.join(", ");
1080
1080
  }
1081
1081
  const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1082
- const [l, c] = v(!1), d = (e.memories ?? []).map((h) => h.memoryTitle), m = d.length > 0, o = m && d.length > W, a = o && !l ? d.slice(0, W) : d, u = d.length - W, y = !o || l, f = `${n.searchingFor}'${e.queryDescription}'`, p = m ? `${n.searchingIn}${Q(
1082
+ const [l, c] = v(!1), d = (e.memories ?? []).map((h) => h.memoryTitle), m = d.length > 0, o = m && d.length > W, a = o && !l ? d.slice(0, W) : d, u = d.length - W, y = !o || l, f = `${n.searchingFor}'${e.queryDescription}'`, g = m ? `${n.searchingIn}${Q(
1083
1083
  a,
1084
1084
  y ? n.and : void 0
1085
- )}` : "", x = m ? `${f}${p}` : `${n.searchingPrefix}${e.queryDescription}`;
1086
- return /* @__PURE__ */ g("div", { style: { padding: "16px" }, children: [
1085
+ )}` : "", x = m ? `${f}${g}` : `${n.searchingPrefix}${e.queryDescription}`;
1086
+ return /* @__PURE__ */ p("div", { style: { padding: "16px" }, children: [
1087
1087
  /* @__PURE__ */ i(
1088
1088
  b.div,
1089
1089
  {
@@ -1092,7 +1092,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1092
1092
  animate: { opacity: 1, y: 0 },
1093
1093
  transition: { duration: 0.3, delay: 0 },
1094
1094
  children: r && !t && !o ? /* @__PURE__ */ i(
1095
- w,
1095
+ E,
1096
1096
  {
1097
1097
  text: x,
1098
1098
  duration: 2.5,
@@ -1100,17 +1100,17 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1100
1100
  color: "#999",
1101
1101
  shimmerColor: "#000"
1102
1102
  }
1103
- ) : /* @__PURE__ */ g(I, { children: [
1104
- /* @__PURE__ */ i("span", { style: { color: "#666" }, children: m ? /* @__PURE__ */ g(I, { children: [
1103
+ ) : /* @__PURE__ */ p(I, { children: [
1104
+ /* @__PURE__ */ i("span", { style: { color: "#666" }, children: m ? /* @__PURE__ */ p(I, { children: [
1105
1105
  n.searchingFor,
1106
- /* @__PURE__ */ g("span", { style: { fontWeight: 600 }, children: [
1106
+ /* @__PURE__ */ p("span", { style: { fontWeight: 600 }, children: [
1107
1107
  "'",
1108
1108
  e.queryDescription,
1109
1109
  "'"
1110
1110
  ] }),
1111
- p
1111
+ g
1112
1112
  ] }) : `${n.searchingPrefix}${e.queryDescription}` }),
1113
- o && !l && /* @__PURE__ */ g(I, { children: [
1113
+ o && !l && /* @__PURE__ */ p(I, { children: [
1114
1114
  " ",
1115
1115
  /* @__PURE__ */ i(
1116
1116
  "button",
@@ -1134,7 +1134,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1134
1134
  }
1135
1135
  )
1136
1136
  ] }),
1137
- o && l && /* @__PURE__ */ g(I, { children: [
1137
+ o && l && /* @__PURE__ */ p(I, { children: [
1138
1138
  " ",
1139
1139
  /* @__PURE__ */ i(
1140
1140
  "button",
@@ -1177,7 +1177,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1177
1177
  o,
1178
1178
  u ? n.and : void 0
1179
1179
  )}` : n.findingMemories;
1180
- return /* @__PURE__ */ g("div", { style: { padding: "16px" }, children: [
1180
+ return /* @__PURE__ */ p("div", { style: { padding: "16px" }, children: [
1181
1181
  /* @__PURE__ */ i(
1182
1182
  b.div,
1183
1183
  {
@@ -1188,7 +1188,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1188
1188
  animate: { opacity: 1, y: 0 },
1189
1189
  transition: { duration: 0.3, delay: 0 },
1190
1190
  children: r && !t && !m ? /* @__PURE__ */ i(
1191
- w,
1191
+ E,
1192
1192
  {
1193
1193
  text: y,
1194
1194
  duration: 2.5,
@@ -1196,9 +1196,9 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1196
1196
  color: "#999",
1197
1197
  shimmerColor: "#000"
1198
1198
  }
1199
- ) : /* @__PURE__ */ g(I, { children: [
1199
+ ) : /* @__PURE__ */ p(I, { children: [
1200
1200
  /* @__PURE__ */ i("span", { style: { color: "#666" }, children: y }),
1201
- m && !l && /* @__PURE__ */ g(I, { children: [
1201
+ m && !l && /* @__PURE__ */ p(I, { children: [
1202
1202
  " ",
1203
1203
  /* @__PURE__ */ i(
1204
1204
  "button",
@@ -1222,7 +1222,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1222
1222
  }
1223
1223
  )
1224
1224
  ] }),
1225
- m && l && /* @__PURE__ */ g(I, { children: [
1225
+ m && l && /* @__PURE__ */ p(I, { children: [
1226
1226
  " ",
1227
1227
  /* @__PURE__ */ i(
1228
1228
  "button",
@@ -1272,9 +1272,9 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1272
1272
  initial: { opacity: 0, y: -10 },
1273
1273
  animate: { opacity: 1, y: 0 },
1274
1274
  transition: { duration: 0.3, delay: 0 },
1275
- children: /* @__PURE__ */ g(I, { children: [
1275
+ children: /* @__PURE__ */ p(I, { children: [
1276
1276
  /* @__PURE__ */ i("span", { style: { color: "#666" }, children: y }),
1277
- d && !t && /* @__PURE__ */ g(I, { children: [
1277
+ d && !t && /* @__PURE__ */ p(I, { children: [
1278
1278
  " ",
1279
1279
  /* @__PURE__ */ i(
1280
1280
  "button",
@@ -1298,7 +1298,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1298
1298
  }
1299
1299
  )
1300
1300
  ] }),
1301
- d && t && /* @__PURE__ */ g(I, { children: [
1301
+ d && t && /* @__PURE__ */ p(I, { children: [
1302
1302
  " ",
1303
1303
  /* @__PURE__ */ i(
1304
1304
  "button",
@@ -1325,7 +1325,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1325
1325
  ) });
1326
1326
  }, Qe = ({ isLatest: e = !1, durationSeconds: r, t }) => {
1327
1327
  const n = t.addingSources;
1328
- return /* @__PURE__ */ g("div", { style: { padding: "16px" }, children: [
1328
+ return /* @__PURE__ */ p("div", { style: { padding: "16px" }, children: [
1329
1329
  /* @__PURE__ */ i(
1330
1330
  b.div,
1331
1331
  {
@@ -1339,7 +1339,7 @@ const W = 5, He = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1339
1339
  animate: { opacity: 1, y: 0 },
1340
1340
  transition: { duration: 0.3, delay: 0 },
1341
1341
  children: e && !r ? /* @__PURE__ */ i(
1342
- w,
1342
+ E,
1343
1343
  {
1344
1344
  text: n,
1345
1345
  duration: 2.5,
@@ -1378,7 +1378,7 @@ function Ue(e, r) {
1378
1378
  }
1379
1379
  const je = ({ data: e, onSourceClick: r, t }) => {
1380
1380
  const [n, l] = v(null);
1381
- return /* @__PURE__ */ g("div", { style: { padding: "16px" }, children: [
1381
+ return /* @__PURE__ */ p("div", { style: { padding: "16px" }, children: [
1382
1382
  /* @__PURE__ */ i(
1383
1383
  b.div,
1384
1384
  {
@@ -1418,7 +1418,7 @@ const je = ({ data: e, onSourceClick: r, t }) => {
1418
1418
  t: c
1419
1419
  }) => {
1420
1420
  const [s, d] = v(!1), m = !!l, o = t === e.memoryId, a = e.pageNumbers ?? [], u = Ue(a, c);
1421
- return /* @__PURE__ */ g(
1421
+ return /* @__PURE__ */ p(
1422
1422
  b.div,
1423
1423
  {
1424
1424
  "aria-busy": o,
@@ -1455,7 +1455,7 @@ const je = ({ data: e, onSourceClick: r, t }) => {
1455
1455
  pointerEvents: o ? "none" : void 0
1456
1456
  },
1457
1457
  children: [
1458
- /* @__PURE__ */ g(
1458
+ /* @__PURE__ */ p(
1459
1459
  "span",
1460
1460
  {
1461
1461
  style: {
@@ -1514,7 +1514,7 @@ const je = ({ data: e, onSourceClick: r, t }) => {
1514
1514
  height: n,
1515
1515
  backgroundColor: e
1516
1516
  };
1517
- return /* @__PURE__ */ g(
1517
+ return /* @__PURE__ */ p(
1518
1518
  "span",
1519
1519
  {
1520
1520
  style: {
@@ -1559,7 +1559,7 @@ function Ve({
1559
1559
  t
1560
1560
  }) {
1561
1561
  const [n, l] = v(!1), c = e.result ?? e.error, s = c != null && c.length > X, d = c != null ? n || !s ? c : `${c.slice(0, X)}...` : void 0, m = s, o = e.error != null;
1562
- return /* @__PURE__ */ g(
1562
+ return /* @__PURE__ */ p(
1563
1563
  b.div,
1564
1564
  {
1565
1565
  initial: { opacity: 0 },
@@ -1591,7 +1591,7 @@ function Ve({
1591
1591
  children: /* @__PURE__ */ i(Ke, { memory: e, completed: r })
1592
1592
  }
1593
1593
  ),
1594
- /* @__PURE__ */ g(
1594
+ /* @__PURE__ */ p(
1595
1595
  "div",
1596
1596
  {
1597
1597
  style: {
@@ -1664,33 +1664,90 @@ function Ye(e, r) {
1664
1664
  }
1665
1665
  const Ze = ({ data: e, t: r }) => {
1666
1666
  const [t, n] = v(!1), l = e.chunks.length, c = l > 0;
1667
- return /* @__PURE__ */ g("div", { style: { padding: "10px" }, children: [
1668
- /* @__PURE__ */ g(
1667
+ return /* @__PURE__ */ p("div", { style: { padding: "8px 10px" }, children: [
1668
+ /* @__PURE__ */ p(
1669
1669
  b.div,
1670
1670
  {
1671
1671
  initial: { opacity: 0 },
1672
1672
  animate: { opacity: 1 },
1673
1673
  transition: { duration: 0.25 },
1674
1674
  onClick: c ? () => n((s) => !s) : void 0,
1675
+ role: c ? "button" : void 0,
1676
+ tabIndex: c ? 0 : void 0,
1677
+ onKeyDown: c ? (s) => {
1678
+ (s.key === "Enter" || s.key === " ") && (s.preventDefault(), n((d) => !d));
1679
+ } : void 0,
1675
1680
  style: {
1676
- paddingBottom: t ? "12px" : 0,
1681
+ paddingBottom: t ? "10px" : 0,
1677
1682
  borderBottom: t ? "1px solid #eee" : void 0,
1678
1683
  display: "flex",
1679
- flexDirection: "column",
1680
- gap: "4px",
1684
+ flexDirection: "row",
1685
+ alignItems: "center",
1686
+ justifyContent: "space-between",
1687
+ gap: 8,
1681
1688
  minWidth: 0,
1682
1689
  cursor: c ? "pointer" : "default"
1683
1690
  },
1684
1691
  children: [
1685
- /* @__PURE__ */ i("span", { style: { fontSize: 13, fontWeight: 500, color: "#333" }, children: e.memoryTitle }),
1686
- /* @__PURE__ */ i("span", { style: { fontSize: 12, color: "#666" }, children: Ye(l, r) }),
1692
+ /* @__PURE__ */ p(
1693
+ "div",
1694
+ {
1695
+ style: {
1696
+ display: "flex",
1697
+ flexDirection: "row",
1698
+ alignItems: "center",
1699
+ flexWrap: "wrap",
1700
+ gap: "0 8px",
1701
+ flex: "1 1 auto",
1702
+ minWidth: 0
1703
+ },
1704
+ children: [
1705
+ /* @__PURE__ */ i(
1706
+ "span",
1707
+ {
1708
+ style: {
1709
+ fontSize: 13,
1710
+ fontWeight: 600,
1711
+ color: "#333",
1712
+ wordBreak: "break-word"
1713
+ },
1714
+ children: e.memoryTitle
1715
+ }
1716
+ ),
1717
+ /* @__PURE__ */ i(
1718
+ "span",
1719
+ {
1720
+ style: {
1721
+ fontSize: 13,
1722
+ color: "#9ca3af",
1723
+ flexShrink: 0
1724
+ },
1725
+ "aria-hidden": !0,
1726
+ children: "·"
1727
+ }
1728
+ ),
1729
+ /* @__PURE__ */ i(
1730
+ "span",
1731
+ {
1732
+ style: {
1733
+ fontSize: 12,
1734
+ color: "#666",
1735
+ flexShrink: 0
1736
+ },
1737
+ children: Ye(l, r)
1738
+ }
1739
+ )
1740
+ ]
1741
+ }
1742
+ ),
1687
1743
  c && /* @__PURE__ */ i(
1688
1744
  "span",
1689
1745
  {
1690
1746
  style: {
1691
1747
  fontSize: 11,
1692
1748
  color: "#999",
1693
- marginTop: 2
1749
+ flexShrink: 0,
1750
+ whiteSpace: "nowrap"
1694
1751
  },
1695
1752
  children: t ? r.clickToCollapse : r.clickToExpand
1696
1753
  }
@@ -1714,7 +1771,7 @@ const Ze = ({ data: e, t: r }) => {
1714
1771
  },
1715
1772
  children: e.chunks.map((s, d) => {
1716
1773
  const m = s.pageNumbers ?? [], o = Je(m, r);
1717
- return /* @__PURE__ */ g(
1774
+ return /* @__PURE__ */ p(
1718
1775
  "div",
1719
1776
  {
1720
1777
  style: {
@@ -1737,7 +1794,7 @@ const Ze = ({ data: e, t: r }) => {
1737
1794
  children: s.content
1738
1795
  }
1739
1796
  ),
1740
- /* @__PURE__ */ g(
1797
+ /* @__PURE__ */ p(
1741
1798
  "div",
1742
1799
  {
1743
1800
  style: {
@@ -1777,7 +1834,7 @@ function nr({
1777
1834
  showShimmerForPrimary: t
1778
1835
  }) {
1779
1836
  const n = e.result != null, l = e.error != null, c = rr(e, r);
1780
- return /* @__PURE__ */ g(
1837
+ return /* @__PURE__ */ p(
1781
1838
  b.div,
1782
1839
  {
1783
1840
  initial: { opacity: 0 },
@@ -1807,7 +1864,7 @@ function nr({
1807
1864
  children: /* @__PURE__ */ i(er, { item: e })
1808
1865
  }
1809
1866
  ),
1810
- /* @__PURE__ */ g(
1867
+ /* @__PURE__ */ p(
1811
1868
  "div",
1812
1869
  {
1813
1870
  style: {
@@ -1819,7 +1876,7 @@ function nr({
1819
1876
  },
1820
1877
  children: [
1821
1878
  /* @__PURE__ */ i("span", { style: { fontSize: 13, fontWeight: 500, color: "#333" }, children: !n && !l && t ? /* @__PURE__ */ i(
1822
- w,
1879
+ E,
1823
1880
  {
1824
1881
  text: c,
1825
1882
  duration: 2.5,
@@ -1859,9 +1916,9 @@ const tr = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
1859
1916
  s.result == null && s.error == null && (c = d);
1860
1917
  }), c;
1861
1918
  }, [e.memoryTypes]);
1862
- return /* @__PURE__ */ g("div", { style: { padding: "10px" }, children: [
1919
+ return /* @__PURE__ */ p("div", { style: { padding: "10px" }, children: [
1863
1920
  r && !t && e.memoryTypes.length === 0 ? /* @__PURE__ */ i(
1864
- w,
1921
+ E,
1865
1922
  {
1866
1923
  text: n.searchingMemoryTypes,
1867
1924
  duration: 2.5,
@@ -1918,13 +1975,13 @@ function cr({
1918
1975
  }) {
1919
1976
  const n = ar(e), l = sr(e), c = e.reasoning, s = c != null && c.length > 0, d = F(null), [m, o] = v(!1), a = n && t, u = l === 2 && t && !O(e);
1920
1977
  A(() => {
1921
- const p = d.current;
1922
- p != null && l === 1 && s && (p.scrollTop = p.scrollHeight);
1978
+ const g = d.current;
1979
+ g != null && l === 1 && s && (g.scrollTop = g.scrollHeight);
1923
1980
  }, [c, l, s]);
1924
1981
  const y = T(r.searchingInMemoriesOfType, {
1925
1982
  name: e.memoryTypeName
1926
1983
  }), f = !n && l === 3;
1927
- return /* @__PURE__ */ g(
1984
+ return /* @__PURE__ */ p(
1928
1985
  b.div,
1929
1986
  {
1930
1987
  initial: { opacity: 0 },
@@ -1955,7 +2012,7 @@ function cr({
1955
2012
  children: /* @__PURE__ */ i(lr, { phase: n ? 1 : l })
1956
2013
  }
1957
2014
  ),
1958
- /* @__PURE__ */ g(
2015
+ /* @__PURE__ */ p(
1959
2016
  "div",
1960
2017
  {
1961
2018
  style: {
@@ -1967,7 +2024,7 @@ function cr({
1967
2024
  },
1968
2025
  children: [
1969
2026
  /* @__PURE__ */ i("span", { style: { fontSize: 13, fontWeight: 500, color: "#333" }, children: a ? /* @__PURE__ */ i(
1970
- w,
2027
+ E,
1971
2028
  {
1972
2029
  text: y,
1973
2030
  duration: 2.5,
@@ -1976,7 +2033,7 @@ function cr({
1976
2033
  shimmerColor: "#000"
1977
2034
  }
1978
2035
  ) : e.memoryTypeName }),
1979
- l === 1 && s && !O(e) && /* @__PURE__ */ g("div", { style: { minWidth: 0 }, children: [
2036
+ l === 1 && s && !O(e) && /* @__PURE__ */ p("div", { style: { minWidth: 0 }, children: [
1980
2037
  /* @__PURE__ */ i(
1981
2038
  "span",
1982
2039
  {
@@ -2023,7 +2080,7 @@ function cr({
2023
2080
  )
2024
2081
  ] }),
2025
2082
  l === 2 && u && /* @__PURE__ */ i("div", { style: { fontSize: 12 }, children: /* @__PURE__ */ i(
2026
- w,
2083
+ E,
2027
2084
  {
2028
2085
  text: r.memorySearchGeneratingQueriesPending,
2029
2086
  duration: 2.5,
@@ -2032,8 +2089,8 @@ function cr({
2032
2089
  shimmerColor: "#000"
2033
2090
  }
2034
2091
  ) }),
2035
- l === 3 && /* @__PURE__ */ g(I, { children: [
2036
- /* @__PURE__ */ g("div", { style: { minWidth: 0 }, children: [
2092
+ l === 3 && /* @__PURE__ */ p(I, { children: [
2093
+ /* @__PURE__ */ p("div", { style: { minWidth: 0 }, children: [
2037
2094
  /* @__PURE__ */ i(
2038
2095
  "span",
2039
2096
  {
@@ -2055,7 +2112,7 @@ function cr({
2055
2112
  flexDirection: "column",
2056
2113
  gap: 6
2057
2114
  },
2058
- children: e.queries.map((p, x) => /* @__PURE__ */ i(
2115
+ children: e.queries.map((g, x) => /* @__PURE__ */ i(
2059
2116
  "div",
2060
2117
  {
2061
2118
  style: {
@@ -2064,19 +2121,19 @@ function cr({
2064
2121
  lineHeight: 1.5,
2065
2122
  wordBreak: "break-word"
2066
2123
  },
2067
- children: p.query
2124
+ children: g.query
2068
2125
  },
2069
2126
  x
2070
2127
  ))
2071
2128
  }
2072
2129
  )
2073
2130
  ] }),
2074
- s && /* @__PURE__ */ g(I, { children: [
2131
+ s && /* @__PURE__ */ p(I, { children: [
2075
2132
  /* @__PURE__ */ i(
2076
2133
  "button",
2077
2134
  {
2078
2135
  type: "button",
2079
- onClick: () => o((p) => !p),
2136
+ onClick: () => o((g) => !g),
2080
2137
  style: {
2081
2138
  alignSelf: "flex-start",
2082
2139
  border: "none",
@@ -2122,9 +2179,9 @@ const dr = ({ data: e, isLatest: r = !1, durationSeconds: t, t: n }) => {
2122
2179
  O(s) || (c = d);
2123
2180
  }), c;
2124
2181
  }, [e.memoryTypes]);
2125
- return /* @__PURE__ */ g("div", { style: { padding: "10px" }, children: [
2182
+ return /* @__PURE__ */ p("div", { style: { padding: "10px" }, children: [
2126
2183
  r && !t && e.memoryTypes.length === 0 ? /* @__PURE__ */ i(
2127
- w,
2184
+ E,
2128
2185
  {
2129
2186
  text: n.memorySearchGeneratingQueries,
2130
2187
  duration: 2.5,
@@ -2211,12 +2268,12 @@ function ie(e) {
2211
2268
  function yr(e) {
2212
2269
  return e.some((n) => n.result == null && n.error == null) ? /* @__PURE__ */ i("span", { className: "explore-memory-loader" }) : e.some((n) => n.error != null) ? /* @__PURE__ */ i(U, { color: "#c62828", size: 15, lineWidth: 2 }) : /* @__PURE__ */ i(z, { color: "#999", size: 15, borderWidth: 2 });
2213
2270
  }
2214
- function gr(e, r) {
2271
+ function pr(e, r) {
2215
2272
  if (e.error != null)
2216
2273
  return /* @__PURE__ */ i("span", { style: { fontSize: 12, color: "#c62828", whiteSpace: "nowrap" }, children: e.error });
2217
2274
  if (e.result == null)
2218
2275
  return /* @__PURE__ */ i("span", { style: { flexShrink: 0, fontSize: 12 }, children: /* @__PURE__ */ i(
2219
- w,
2276
+ E,
2220
2277
  {
2221
2278
  text: r.searching,
2222
2279
  duration: 2.5,
@@ -2228,13 +2285,13 @@ function gr(e, r) {
2228
2285
  const t = e.result, n = t.numberOfChunks === 1 ? r.chunkFound : T(r.chunksFound, { n: t.numberOfChunks }), l = T(r.scoreLabel, {
2229
2286
  n: t.highestChunkScore.toFixed(2)
2230
2287
  });
2231
- return /* @__PURE__ */ g("span", { style: { fontSize: 12, color: "#666", whiteSpace: "nowrap" }, children: [
2288
+ return /* @__PURE__ */ p("span", { style: { fontSize: 12, color: "#666", whiteSpace: "nowrap" }, children: [
2232
2289
  n,
2233
2290
  " · ",
2234
2291
  l
2235
2292
  ] });
2236
2293
  }
2237
- function pr({
2294
+ function gr({
2238
2295
  items: e,
2239
2296
  queryRow: r,
2240
2297
  onExploreQueryResultClick: t,
@@ -2283,8 +2340,8 @@ function pr({
2283
2340
  memoryTypeId: r.memoryTypeId,
2284
2341
  memoryTypeName: r.memoryTypeName,
2285
2342
  query: r.query
2286
- }, f = `${r.query}::${d.memoryId}::${m}`, p = l === f;
2287
- return /* @__PURE__ */ g(
2343
+ }, f = `${r.query}::${d.memoryId}::${m}`, g = l === f;
2344
+ return /* @__PURE__ */ p(
2288
2345
  "div",
2289
2346
  {
2290
2347
  style: {
@@ -2298,7 +2355,7 @@ function pr({
2298
2355
  minWidth: 0
2299
2356
  },
2300
2357
  children: [
2301
- /* @__PURE__ */ g(
2358
+ /* @__PURE__ */ p(
2302
2359
  "div",
2303
2360
  {
2304
2361
  style: {
@@ -2350,12 +2407,12 @@ function pr({
2350
2407
  ]
2351
2408
  }
2352
2409
  ),
2353
- s && /* @__PURE__ */ g(
2410
+ s && /* @__PURE__ */ p(
2354
2411
  "button",
2355
2412
  {
2356
2413
  type: "button",
2357
- "aria-busy": p,
2358
- disabled: p,
2414
+ "aria-busy": g,
2415
+ disabled: g,
2359
2416
  onClick: async () => {
2360
2417
  c(f);
2361
2418
  try {
@@ -2376,14 +2433,14 @@ function pr({
2376
2433
  background: "#eff6ff",
2377
2434
  border: "1px solid #bfdbfe",
2378
2435
  borderRadius: 6,
2379
- cursor: p ? "wait" : "pointer",
2436
+ cursor: g ? "wait" : "pointer",
2380
2437
  fontFamily: "inherit",
2381
2438
  display: "inline-flex",
2382
2439
  alignItems: "center",
2383
2440
  gap: 8
2384
2441
  },
2385
2442
  children: [
2386
- p && /* @__PURE__ */ i(
2443
+ g && /* @__PURE__ */ i(
2387
2444
  "span",
2388
2445
  {
2389
2446
  className: "explore-memory-loader explore-memory-loader--callback",
@@ -2425,7 +2482,7 @@ function fr({
2425
2482
  const d = e.items.map((o) => o.item), m = d.some(
2426
2483
  (o) => o.result == null && o.error == null
2427
2484
  );
2428
- return /* @__PURE__ */ g(
2485
+ return /* @__PURE__ */ p(
2429
2486
  b.div,
2430
2487
  {
2431
2488
  initial: { opacity: 0 },
@@ -2456,7 +2513,7 @@ function fr({
2456
2513
  children: yr(d)
2457
2514
  }
2458
2515
  ),
2459
- /* @__PURE__ */ g(
2516
+ /* @__PURE__ */ p(
2460
2517
  "div",
2461
2518
  {
2462
2519
  style: {
@@ -2481,8 +2538,8 @@ function fr({
2481
2538
  ),
2482
2539
  e.items.map(({ item: o, flatIndex: a }) => {
2483
2540
  var h;
2484
- const u = o.result != null, y = o.error != null, f = a === t && n && !u && !y, p = l[a] === !0, x = ((h = o.result) == null ? void 0 : h.items) ?? [];
2485
- return /* @__PURE__ */ g(
2541
+ const u = o.result != null, y = o.error != null, f = a === t && n && !u && !y, g = l[a] === !0, x = ((h = o.result) == null ? void 0 : h.items) ?? [];
2542
+ return /* @__PURE__ */ p(
2486
2543
  "div",
2487
2544
  {
2488
2545
  style: {
@@ -2492,7 +2549,7 @@ function fr({
2492
2549
  minWidth: 0
2493
2550
  },
2494
2551
  children: [
2495
- /* @__PURE__ */ g(
2552
+ /* @__PURE__ */ p(
2496
2553
  "div",
2497
2554
  {
2498
2555
  style: {
@@ -2516,7 +2573,7 @@ function fr({
2516
2573
  minWidth: 0
2517
2574
  },
2518
2575
  children: f ? /* @__PURE__ */ i(
2519
- w,
2576
+ E,
2520
2577
  {
2521
2578
  text: o.query,
2522
2579
  duration: 2.5,
@@ -2527,7 +2584,7 @@ function fr({
2527
2584
  ) : o.query
2528
2585
  }
2529
2586
  ),
2530
- /* @__PURE__ */ g(
2587
+ /* @__PURE__ */ p(
2531
2588
  "div",
2532
2589
  {
2533
2590
  style: {
@@ -2538,7 +2595,7 @@ function fr({
2538
2595
  flexShrink: 0
2539
2596
  },
2540
2597
  children: [
2541
- gr(o, r),
2598
+ pr(o, r),
2542
2599
  u && /* @__PURE__ */ i(
2543
2600
  "button",
2544
2601
  {
@@ -2554,7 +2611,7 @@ function fr({
2554
2611
  textDecoration: "underline",
2555
2612
  fontFamily: "inherit"
2556
2613
  },
2557
- children: p ? r.memorySearchHideExploreResults : r.memorySearchViewExploreResults
2614
+ children: g ? r.memorySearchHideExploreResults : r.memorySearchViewExploreResults
2558
2615
  }
2559
2616
  )
2560
2617
  ]
@@ -2563,8 +2620,8 @@ function fr({
2563
2620
  ]
2564
2621
  }
2565
2622
  ),
2566
- u && p && /* @__PURE__ */ i(
2567
- pr,
2623
+ u && g && /* @__PURE__ */ i(
2624
+ gr,
2568
2625
  {
2569
2626
  items: x,
2570
2627
  queryRow: o,
@@ -2607,9 +2664,9 @@ const Sr = ({
2607
2664
  () => hr(e.queries),
2608
2665
  [e.queries]
2609
2666
  );
2610
- return /* @__PURE__ */ g("div", { style: { padding: "10px" }, children: [
2667
+ return /* @__PURE__ */ p("div", { style: { padding: "10px" }, children: [
2611
2668
  r && !t && e.queries.length === 0 ? /* @__PURE__ */ i(
2612
- w,
2669
+ E,
2613
2670
  {
2614
2671
  text: l.memorySearchExploringQueries,
2615
2672
  duration: 2.5,
@@ -2645,7 +2702,7 @@ const Sr = ({
2645
2702
  ] });
2646
2703
  }, xr = ({ data: e, onSearchResultClick: r, t }) => {
2647
2704
  const n = e.response.items, l = !!r, [c, s] = v(null);
2648
- return /* @__PURE__ */ g("div", { style: { padding: "16px" }, children: [
2705
+ return /* @__PURE__ */ p("div", { style: { padding: "16px" }, children: [
2649
2706
  /* @__PURE__ */ i(
2650
2707
  b.div,
2651
2708
  {
@@ -2686,8 +2743,8 @@ const Sr = ({
2686
2743
  memoryTypeId: d.memoryTypeId,
2687
2744
  memoryTypeName: d.memoryTypeName,
2688
2745
  pageNumbers: a
2689
- }, f = `${d.memoryId}-${m}`, p = c === f;
2690
- return /* @__PURE__ */ g(
2746
+ }, f = `${d.memoryId}-${m}`, g = c === f;
2747
+ return /* @__PURE__ */ p(
2691
2748
  b.div,
2692
2749
  {
2693
2750
  initial: { opacity: 0 },
@@ -2704,7 +2761,7 @@ const Sr = ({
2704
2761
  minWidth: 0
2705
2762
  },
2706
2763
  children: [
2707
- /* @__PURE__ */ g(
2764
+ /* @__PURE__ */ p(
2708
2765
  "div",
2709
2766
  {
2710
2767
  style: {
@@ -2754,12 +2811,12 @@ const Sr = ({
2754
2811
  ]
2755
2812
  }
2756
2813
  ),
2757
- l && /* @__PURE__ */ g(
2814
+ l && /* @__PURE__ */ p(
2758
2815
  "button",
2759
2816
  {
2760
2817
  type: "button",
2761
- "aria-busy": p,
2762
- disabled: p,
2818
+ "aria-busy": g,
2819
+ disabled: g,
2763
2820
  onClick: async () => {
2764
2821
  s(f);
2765
2822
  try {
@@ -2778,14 +2835,14 @@ const Sr = ({
2778
2835
  background: "#eff6ff",
2779
2836
  border: "1px solid #bfdbfe",
2780
2837
  borderRadius: 6,
2781
- cursor: p ? "wait" : "pointer",
2838
+ cursor: g ? "wait" : "pointer",
2782
2839
  fontFamily: "inherit",
2783
2840
  display: "inline-flex",
2784
2841
  alignItems: "center",
2785
2842
  gap: 8
2786
2843
  },
2787
2844
  children: [
2788
- p && /* @__PURE__ */ i(
2845
+ g && /* @__PURE__ */ i(
2789
2846
  "span",
2790
2847
  {
2791
2848
  className: "explore-memory-loader explore-memory-loader--callback",
@@ -2958,7 +3015,7 @@ const Sr = ({
2958
3015
  };
2959
3016
  if (e.length === 0)
2960
3017
  return /* @__PURE__ */ i("div", { style: { width: "fit-content" }, children: /* @__PURE__ */ i(
2961
- w,
3018
+ E,
2962
3019
  {
2963
3020
  text: r ?? t.processingYourTask,
2964
3021
  duration: 1.5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fencyai/react",
3
- "version": "0.1.164",
3
+ "version": "0.1.165",
4
4
  "description": "> TODO: description",
5
5
  "author": "staklau <steinaageklaussen@gmail.com>",
6
6
  "homepage": "",
@@ -37,7 +37,7 @@
37
37
  "@microsoft/fetch-event-source": "^2.0.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@fencyai/js": "^0.1.164",
40
+ "@fencyai/js": "^0.1.165",
41
41
  "@testing-library/react": "^16.3.2",
42
42
  "@types/jest": "^30.0.0",
43
43
  "@types/node": "^20.10.5",
@@ -53,7 +53,7 @@
53
53
  "vite-plugin-lib-inject-css": "^2.1.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@fencyai/js": "^0.1.164",
56
+ "@fencyai/js": "^0.1.165",
57
57
  "motion": "^11.15.0 || ^12.0.0",
58
58
  "react": ">=16.8.0",
59
59
  "react-markdown": "^10.1.0",
@@ -66,5 +66,5 @@
66
66
  "optional": false
67
67
  }
68
68
  },
69
- "gitHead": "bae046f95d03b8be8039841816c426a46a64f82e"
69
+ "gitHead": "aa9ef6872bd6d940f1785097584e61a648072522"
70
70
  }