@sciol/xyzen 0.4.2 → 0.4.3

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,5 +1,5 @@
1
1
  "use client";
2
- import { W as a } from "./chunk-NM4NY5FQ-K0AY9o5i.js";
2
+ import { W as a } from "./chunk-NM4NY5FQ-WpZvY9qj.js";
3
3
  async function o(r, t) {
4
4
  let i = await a(r, t), e = new Image();
5
5
  return e.src = i.toDataURL(`image/${t.format}`, t.quality), await e.decode(), e.style.width = `${i.width / t.dpr}px`, e.style.height = `${i.height / t.dpr}px`, e;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { W as m } from "./chunk-NM4NY5FQ-K0AY9o5i.js";
2
+ import { W as m } from "./chunk-NM4NY5FQ-WpZvY9qj.js";
3
3
  async function s(n, e) {
4
4
  let i = e.type;
5
5
  if (i === "svg") {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { l as b } from "./index-BX3tjgcN.js";
2
+ import { l as b } from "./index-DG6w-EXf.js";
3
3
  function M(e) {
4
4
  return typeof e == "string" && /^data:image\/svg\+xml/i.test(e);
5
5
  }
@@ -0,0 +1,10 @@
1
+ import { LlmProviderResponse } from '../../../types/llmProvider';
2
+ import { Agent } from '../../../types/agents';
3
+ interface ProviderSelectorProps {
4
+ currentAgent: Agent;
5
+ currentProvider: LlmProviderResponse | null;
6
+ llmProviders: LlmProviderResponse[];
7
+ onProviderChange: (providerId: string) => void;
8
+ }
9
+ export declare function ProviderSelector({ currentAgent, currentProvider, llmProviders, onProviderChange, }: ProviderSelectorProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { m } from "./chunk-EBDTZNMR-aIaWldci.js";
3
- import { W as c } from "./chunk-NM4NY5FQ-K0AY9o5i.js";
2
+ import { m } from "./chunk-EBDTZNMR-DwW3TAhG.js";
3
+ import { W as c } from "./chunk-NM4NY5FQ-WpZvY9qj.js";
4
4
  async function d(r, e) {
5
5
  if (e.dpr = 1, e.format === "svg") {
6
6
  let l = await m(r, { ...e, type: "svg" }), a = URL.createObjectURL(l), o = document.createElement("a");