juneau 0.5.0 → 0.5.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
@@ -597,17 +597,23 @@ function Ih({
597
597
  context: t,
598
598
  onProposalConfirm: n,
599
599
  onProposalCancel: r,
600
- children: i
600
+ initialMessages: i,
601
+ historyLimit: o,
602
+ onMessagesChange: l,
603
+ children: a
601
604
  }) {
602
- const [o, l] = Fe(t), a = he((u) => {
603
- l(u);
604
- }, []), s = sl({
605
+ const [s, u] = Fe(t), f = he((h) => {
606
+ u(h);
607
+ }, []), c = sl({
605
608
  adapter: e,
606
- context: o,
609
+ context: s,
607
610
  onProposalConfirm: n,
608
- onProposalCancel: r
611
+ onProposalCancel: r,
612
+ initialMessages: i,
613
+ historyLimit: o,
614
+ onMessagesChange: l
609
615
  });
610
- return /* @__PURE__ */ S(zr.Provider, { value: { ...s, setContext: a }, children: i });
616
+ return /* @__PURE__ */ S(zr.Provider, { value: { ...c, setContext: f }, children: a });
611
617
  }
612
618
  const Ah = {
613
619
  sidebarTitle: "AI Asistent",