@tonyclaw/llm-inspector 1.7.9 → 1.8.0
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/.output/nitro.json +1 -1
- package/.output/public/assets/index-BLVa7n9b.css +1 -0
- package/.output/public/assets/index-DH3FOgcK.js +97 -0
- package/.output/public/assets/main-Beo3LJDa.js +17 -0
- package/.output/server/_libs/dequal.mjs +27 -0
- package/.output/server/_libs/swr.mjs +938 -0
- package/.output/server/_libs/use-sync-external-store.mjs +64 -1
- package/.output/server/_ssr/{index-CAIDMqNv.mjs → index-HkueJ4Un.mjs} +114 -62
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{router-CsCLdrXq.mjs → router-DTswxb7l.mjs} +25 -11
- package/.output/server/{_tanstack-start-manifest_v-BF6ge6dS.mjs → _tanstack-start-manifest_v-DhUuivt-.mjs} +1 -1
- package/.output/server/index.mjs +21 -21
- package/package.json +2 -1
- package/src/components/ProxyViewer.tsx +2 -0
- package/src/components/providers/ProviderCard.tsx +38 -33
- package/src/components/providers/ProviderLogo.tsx +6 -1
- package/src/components/providers/ProvidersPanel.tsx +29 -34
- package/src/components/providers/SettingsDialog.tsx +5 -3
- package/src/lib/useProviders.ts +30 -0
- package/src/routes/__root.tsx +4 -1
- package/.output/public/assets/index-B3RwBPLW.css +0 -1
- package/.output/public/assets/index-CB8ZIeEk.js +0 -97
- package/.output/public/assets/main-BrU8NdGQ.js +0 -17
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var has = Object.prototype.hasOwnProperty;
|
|
2
|
+
function dequal(foo, bar) {
|
|
3
|
+
var ctor, len;
|
|
4
|
+
if (foo === bar) return true;
|
|
5
|
+
if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
|
|
6
|
+
if (ctor === Date) return foo.getTime() === bar.getTime();
|
|
7
|
+
if (ctor === RegExp) return foo.toString() === bar.toString();
|
|
8
|
+
if (ctor === Array) {
|
|
9
|
+
if ((len = foo.length) === bar.length) {
|
|
10
|
+
while (len-- && dequal(foo[len], bar[len])) ;
|
|
11
|
+
}
|
|
12
|
+
return len === -1;
|
|
13
|
+
}
|
|
14
|
+
if (!ctor || typeof foo === "object") {
|
|
15
|
+
len = 0;
|
|
16
|
+
for (ctor in foo) {
|
|
17
|
+
if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
|
|
18
|
+
if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
|
|
19
|
+
}
|
|
20
|
+
return Object.keys(bar).length === len;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return foo !== foo && bar !== bar;
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
dequal as d
|
|
27
|
+
};
|