sqlbot 0.0.1 → 0.0.11
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/(chat)/ai-providers/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(chat)/chat/[threadId]/page.js +2 -2
- package/.next/standalone/.next/server/app/(chat)/chat/[threadId]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(chat)/chat/[threadId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(chat)/connections/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(chat)/knowledge-base/page.js +1 -1
- package/.next/standalone/.next/server/app/(chat)/knowledge-base/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(chat)/knowledge-base/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(chat)/page.js +1 -1
- package/.next/standalone/.next/server/app/(chat)/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(chat)/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/ai-providers.html +1 -1
- package/.next/standalone/.next/server/app/ai-providers.rsc +3 -3
- package/.next/standalone/.next/server/app/ai-providers.segments/!KGNoYXQp/ai-providers/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/ai-providers.segments/!KGNoYXQp/ai-providers.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/ai-providers.segments/!KGNoYXQp.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/ai-providers.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/ai-providers.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/ai-providers.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/chat/route.js +1 -1
- package/.next/standalone/.next/server/app/api/chat/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/health/route.js +1 -1
- package/.next/standalone/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/knowledge/auto-generate/route.js +1 -1
- package/.next/standalone/.next/server/app/api/knowledge/auto-generate/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/knowledge/generate/route.js +1 -1
- package/.next/standalone/.next/server/app/api/knowledge/generate/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/trpc/[trpc]/route.js +3 -3
- package/.next/standalone/.next/server/app/api/trpc/[trpc]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/connections.html +1 -1
- package/.next/standalone/.next/server/app/connections.rsc +3 -3
- package/.next/standalone/.next/server/app/connections.segments/!KGNoYXQp/connections/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/connections.segments/!KGNoYXQp/connections.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/connections.segments/!KGNoYXQp.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/connections.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/connections.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/connections.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1f49434f._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__51b79d66._.js → [root-of-the-server]__3a1fb665._.js} +6 -6
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__73947e32._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__747722f0._.js +85 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__ca89cb1f._.js +85 -0
- package/.next/standalone/.next/server/chunks/_26ec1867._.js +13 -13
- package/.next/standalone/.next/server/chunks/_430c5305._.js +13 -13
- package/.next/standalone/.next/server/chunks/_44fa1f03._.js +1 -1
- package/.next/standalone/.next/server/chunks/_75b542e9._.js +1 -1
- package/.next/standalone/.next/server/chunks/_82e2d86b._.js +11 -11
- package/.next/standalone/.next/server/chunks/_c49f2a1f._.js +13 -13
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__d8a3f2e3._.js → [root-of-the-server]__1ad22765._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__2534236b._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__77c3448a._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85abb029._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__d2e81be0._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_119ae296._.js +12 -12
- package/.next/standalone/.next/server/chunks/ssr/_37f7f89d._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_components_connections_connections-page_tsx_a8fa3df0._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_components_knowledge-base_knowledge-base-page_tsx_10bf7f9a._.js +1 -1
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/{static/chunks/b90a78e2d36034ff.js → standalone/.next/static/chunks/00f68930e8af39f1.js} +1 -1
- package/.next/standalone/.next/static/chunks/3bd88f74116ecf0b.js +1 -0
- package/.next/standalone/.next/static/chunks/89e492a83a4b53e3.js +1 -0
- package/.next/standalone/.next/static/chunks/{842e82429bd01d96.js → a3a8f6ede99c1c63.js} +1 -1
- package/.next/standalone/README.md +1 -1
- package/.next/standalone/package.json +1 -1
- package/.next/{standalone/.next/static/chunks/b90a78e2d36034ff.js → static/chunks/00f68930e8af39f1.js} +1 -1
- package/.next/static/chunks/3bd88f74116ecf0b.js +1 -0
- package/.next/static/chunks/89e492a83a4b53e3.js +1 -0
- package/.next/static/chunks/{842e82429bd01d96.js → a3a8f6ede99c1c63.js} +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__26852352._.js +0 -85
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5dc46bc4._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8992d6da._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__e474c328._.js +0 -85
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e727499._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4451526a._.js +0 -3
- package/.next/standalone/.next/static/chunks/000ce5d236847e14.js +0 -1
- package/.next/standalone/.next/static/chunks/7c8dab1a077d98e9.js +0 -1
- package/.next/static/chunks/000ce5d236847e14.js +0 -1
- package/.next/static/chunks/7c8dab1a077d98e9.js +0 -1
- /package/.next/standalone/.next/static/{H1e0tcZUy-dcOaNBJh3iW → MtWdFBWYBrNNpdc-evjbH}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{H1e0tcZUy-dcOaNBJh3iW → MtWdFBWYBrNNpdc-evjbH}/_clientMiddlewareManifest.json +0 -0
- /package/.next/standalone/.next/static/{H1e0tcZUy-dcOaNBJh3iW → MtWdFBWYBrNNpdc-evjbH}/_ssgManifest.js +0 -0
- /package/.next/static/{H1e0tcZUy-dcOaNBJh3iW → MtWdFBWYBrNNpdc-evjbH}/_buildManifest.js +0 -0
- /package/.next/static/{H1e0tcZUy-dcOaNBJh3iW → MtWdFBWYBrNNpdc-evjbH}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{H1e0tcZUy-dcOaNBJh3iW → MtWdFBWYBrNNpdc-evjbH}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[589578,a=>{a.v({className:"geist_a71539c9-module__T19VSG__className",variable:"geist_a71539c9-module__T19VSG__variable"})},435214,a=>{a.v({className:"geist_mono_8d43a2aa-module__8Li5zG__className",variable:"geist_mono_8d43a2aa-module__8Li5zG__variable"})},211143,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs <module evaluation>","Toaster"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs <module evaluation>","toast"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSonner() from the server but useSonner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs <module evaluation>","useSonner");a.s(["Toaster",0,c,"toast",0,d,"useSonner",0,e])},734817,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs","Toaster"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs","toast"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSonner() from the server but useSonner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs","useSonner");a.s(["Toaster",0,c,"toast",0,d,"useSonner",0,e])},161097,a=>{"use strict";a.i(211143);var b=a.i(734817);a.n(b)},59924,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call JotaiProvider() from the server but JotaiProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/jotai-provider.tsx <module evaluation>","JotaiProvider");a.s(["JotaiProvider",0,b])},206138,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call JotaiProvider() from the server but JotaiProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/jotai-provider.tsx","JotaiProvider");a.s(["JotaiProvider",0,b])},244461,a=>{"use strict";a.i(59924);var b=a.i(206138);a.n(b)},948103,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call TRPCProvider() from the server but TRPCProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx <module evaluation>","TRPCProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call api() from the server but api is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx <module evaluation>","api");a.s(["TRPCProvider",0,c,"api",0,d])},538543,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call TRPCProvider() from the server but TRPCProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx","TRPCProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call api() from the server but api is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx","api");a.s(["TRPCProvider",0,c,"api",0,d])},80794,a=>{"use strict";a.i(948103);var b=a.i(538543);a.n(b)},622571,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call NuqsAdapter() from the server but NuqsAdapter is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/nuqs/dist/adapters/next/app.js <module evaluation>","NuqsAdapter");a.s(["NuqsAdapter",0,b])},372051,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call NuqsAdapter() from the server but NuqsAdapter is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/nuqs/dist/adapters/next/app.js","NuqsAdapter");a.s(["NuqsAdapter",0,b])},8e4,a=>{"use strict";a.i(622571);var b=a.i(372051);a.n(b)},371517,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(211857);a.n(d("[project]/node_modules/nextjs-toploader/dist/index.js <module evaluation>"))},633488,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(211857);a.n(d("[project]/node_modules/nextjs-toploader/dist/index.js"))},701908,a=>{"use strict";a.i(371517);var b=a.i(633488);a.n(b)},827572,a=>{"use strict";var b=a.i(907997),c=a.i(589578);let d={className:c.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(435214);let f={className:e.default.className,style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(161097),h=a.i(244461),i=a.i(80794),j=a.i(8e4),k=a.i(701908);function l({children:a}){return(0,b.jsx)("html",{lang:"en",className:"dark",children:(0,b.jsxs)("body",{className:`${d.variable} ${f.variable} antialiased`,children:[(0,b.jsx)(k.default,{showSpinner:!1,color:"var(--primary)"}),(0,b.jsx)("noscript",{children:(0,b.jsx)("div",{className:"fixed top-0 left-0 w-full bg-orange-500 text-foreground p-4 text-center z-1000",children:"JavaScript is disabled in your browser. Please enable JavaScript to use all features of this application."})}),(0,b.jsx)(j.NuqsAdapter,{children:(0,b.jsx)(h.JotaiProvider,{children:(0,b.jsx)(i.TRPCProvider,{children:a})})}),(0,b.jsx)(g.Toaster,{richColors:!0,position:"top-center"})]})})}a.s(["default",()=>l,"metadata",0,{title:"
|
|
1
|
+
module.exports=[589578,a=>{a.v({className:"geist_a71539c9-module__T19VSG__className",variable:"geist_a71539c9-module__T19VSG__variable"})},435214,a=>{a.v({className:"geist_mono_8d43a2aa-module__8Li5zG__className",variable:"geist_mono_8d43a2aa-module__8Li5zG__variable"})},211143,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs <module evaluation>","Toaster"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs <module evaluation>","toast"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSonner() from the server but useSonner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs <module evaluation>","useSonner");a.s(["Toaster",0,c,"toast",0,d,"useSonner",0,e])},734817,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs","Toaster"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs","toast"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSonner() from the server but useSonner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/sonner/dist/index.mjs","useSonner");a.s(["Toaster",0,c,"toast",0,d,"useSonner",0,e])},161097,a=>{"use strict";a.i(211143);var b=a.i(734817);a.n(b)},59924,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call JotaiProvider() from the server but JotaiProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/jotai-provider.tsx <module evaluation>","JotaiProvider");a.s(["JotaiProvider",0,b])},206138,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call JotaiProvider() from the server but JotaiProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/jotai-provider.tsx","JotaiProvider");a.s(["JotaiProvider",0,b])},244461,a=>{"use strict";a.i(59924);var b=a.i(206138);a.n(b)},948103,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call TRPCProvider() from the server but TRPCProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx <module evaluation>","TRPCProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call api() from the server but api is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx <module evaluation>","api");a.s(["TRPCProvider",0,c,"api",0,d])},538543,a=>{"use strict";var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call TRPCProvider() from the server but TRPCProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx","TRPCProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call api() from the server but api is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers/trpc-provider.tsx","api");a.s(["TRPCProvider",0,c,"api",0,d])},80794,a=>{"use strict";a.i(948103);var b=a.i(538543);a.n(b)},622571,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call NuqsAdapter() from the server but NuqsAdapter is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/nuqs/dist/adapters/next/app.js <module evaluation>","NuqsAdapter");a.s(["NuqsAdapter",0,b])},372051,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call NuqsAdapter() from the server but NuqsAdapter is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/nuqs/dist/adapters/next/app.js","NuqsAdapter");a.s(["NuqsAdapter",0,b])},8e4,a=>{"use strict";a.i(622571);var b=a.i(372051);a.n(b)},371517,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(211857);a.n(d("[project]/node_modules/nextjs-toploader/dist/index.js <module evaluation>"))},633488,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(211857);a.n(d("[project]/node_modules/nextjs-toploader/dist/index.js"))},701908,a=>{"use strict";a.i(371517);var b=a.i(633488);a.n(b)},827572,a=>{"use strict";var b=a.i(907997),c=a.i(589578);let d={className:c.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(435214);let f={className:e.default.className,style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(161097),h=a.i(244461),i=a.i(80794),j=a.i(8e4),k=a.i(701908);function l({children:a}){return(0,b.jsx)("html",{lang:"en",className:"dark",children:(0,b.jsxs)("body",{className:`${d.variable} ${f.variable} antialiased`,children:[(0,b.jsx)(k.default,{showSpinner:!1,color:"var(--primary)"}),(0,b.jsx)("noscript",{children:(0,b.jsx)("div",{className:"fixed top-0 left-0 w-full bg-orange-500 text-foreground p-4 text-center z-1000",children:"JavaScript is disabled in your browser. Please enable JavaScript to use all features of this application."})}),(0,b.jsx)(j.NuqsAdapter,{children:(0,b.jsx)(h.JotaiProvider,{children:(0,b.jsx)(i.TRPCProvider,{children:a})})}),(0,b.jsx)(g.Toaster,{richColors:!0,position:"top-center"})]})})}a.s(["default",()=>l,"metadata",0,{title:"SQLBOT",description:"Ask questions about your database in natural language"}],827572)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__77c3448a._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[522734,(a,b,c)=>{b.exports=a.x("fs",()=>require("fs"))},446786,(a,b,c)=>{b.exports=a.x("os",()=>require("os"))},666680,(a,b,c)=>{b.exports=a.x("node:crypto",()=>require("node:crypto"))},193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},650645,a=>{a.n(a.i(827572))},43619,a=>{a.n(a.i(379962))},13718,a=>{a.n(a.i(685523))},118198,a=>{a.n(a.i(545518))},262212,a=>{a.n(a.i(866114))},328158,a=>{"use strict";var b=a.i(666680);let c=new Uint8Array(256),d=c.length;function e(){return d>c.length-16&&((0,b.randomFillSync)(c),d=0),c.slice(d,d+=16)}let f=[];for(let a=0;a<256;++a)f.push((a+256).toString(16).slice(1));let g={};function h(a,b,c,d,e=0){if(a.length<16)throw Error("Random bytes length must be >= 16");if(d){if(e<0||e+16>d.length)throw RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`)}else d=new Uint8Array(16),e=0;return b??=Date.now(),c??=127*a[6]<<24|a[7]<<16|a[8]<<8|a[9],d[e++]=b/0x10000000000&255,d[e++]=b/0x100000000&255,d[e++]=b/0x1000000&255,d[e++]=b/65536&255,d[e++]=b/256&255,d[e++]=255&b,d[e++]=112|c>>>28&15,d[e++]=c>>>20&255,d[e++]=128|c>>>14&63,d[e++]=c>>>6&255,d[e++]=c<<2&255|3&a[10],d[e++]=a[11],d[e++]=a[12],d[e++]=a[13],d[e++]=a[14],d[e++]=a[15],d}a.s(["v7",0,function(a,b,c){let d;if(a)d=h(a.random??a.rng?.()??e(),a.msecs,a.seq,b,c);else{var i,j,k;let a=Date.now(),f=e();i=g,j=a,k=f,i.msecs??=-1/0,i.seq??=0,j>i.msecs?(i.seq=k[6]<<23|k[7]<<16|k[8]<<8|k[9],i.msecs=j):(i.seq=i.seq+1|0,0===i.seq&&i.msecs++),d=h(f,g.msecs,g.seq,b,c)}return b??function(a,b=0){return(f[a[b+0]]+f[a[b+1]]+f[a[b+2]]+f[a[b+3]]+"-"+f[a[b+4]]+f[a[b+5]]+"-"+f[a[b+6]]+f[a[b+7]]+"-"+f[a[b+8]]+f[a[b+9]]+"-"+f[a[b+10]]+f[a[b+11]]+f[a[b+12]]+f[a[b+13]]+f[a[b+14]]+f[a[b+15]]).toLowerCase()}(d)}],328158)},689513,a=>{"use strict";var b=a.i(814747),c=a.i(446786);function d(){let a=(0,c.homedir)();return(0,b.join)(a,".sqlbot")}function e(){return(0,b.join)(d(),"sqlbot.db")}function f(){return(0,b.join)(d(),"ai-providers.json")}function g(){return(0,b.join)(d(),"config.json")}function h(){return(0,b.join)(d(),"csv-dbs")}a.s(["getConfigDir",()=>d,"getConfigFilePath",()=>g,"getCsvDbsDir",()=>h,"getDbPath",()=>e,"getProvidersFilePath",()=>f])},688505,a=>{"use strict";var b=a.i(522734);a.i(814747),a.i(328158);var c=a.i(689513);let d=(0,c.getConfigDir)(),e=(0,c.getConfigFilePath)();function f(){if((0,b.mkdirSync)(d,{recursive:!0}),!(0,b.existsSync)(e)){let a={connections:[],activeConnectionId:null};return(0,b.writeFileSync)(e,JSON.stringify(a,null,2)),a}try{let a=(0,b.readFileSync)(e,"utf-8");return JSON.parse(a)}catch{let a={connections:[],activeConnectionId:null};return(0,b.writeFileSync)(e,JSON.stringify(a,null,2)),a}}function g(){return f().connections}function h(){return f().activeConnectionId}a.s(["getActiveConnectionId",()=>h,"getConnections",()=>g])},774651,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call ChatComponent() from the server but ChatComponent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/chat-page.tsx <module evaluation>","ChatComponent");a.s(["ChatComponent",0,b])},539552,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call ChatComponent() from the server but ChatComponent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/chat-page.tsx","ChatComponent");a.s(["ChatComponent",0,b])},311274,a=>{"use strict";a.i(774651);var b=a.i(539552);a.n(b)},625044,a=>{"use strict";var b=a.i(907997),c=a.i(311274),d=a.i(665050),e=a.i(688505),f=a.i(328158);async function g(){let a=await (0,d.getSidebarStateDesktop)(),g=await (0,d.getSidebarStateMobile)(),h=(0,e.getActiveConnectionId)();return(0,b.jsx)(c.ChatComponent,{initialSidebarCollapsedDesktop:a,initialSidebarCollapsedMobile:g,threadId:(0,f.v7)(),connectionId:h})}a.s(["default",()=>g])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__85abb029._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},650645,a=>{a.n(a.i(827572))},43619,a=>{a.n(a.i(379962))},13718,a=>{a.n(a.i(685523))},118198,a=>{a.n(a.i(545518))},262212,a=>{a.n(a.i(866114))},522734,(a,b,c)=>{b.exports=a.x("fs",()=>require("fs"))},446786,(a,b,c)=>{b.exports=a.x("os",()=>require("os"))},666680,(a,b,c)=>{b.exports=a.x("node:crypto",()=>require("node:crypto"))},581988,a=>a.a(async(b,c)=>{try{let b=await a.y("@libsql/client");a.n(b),c()}catch(a){c(a)}},!0),580949,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={VercelOidcTokenError:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});b.exports=((a,b,c,h)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let c of f(b))g.call(a,c)||void 0===c||d(a,c,{get:()=>b[c],enumerable:!(h=e(b,c))||h.enumerable});return a})(d({},"__esModule",{value:!0}),h);class k extends Error{constructor(a,b){super(a),this.name="VercelOidcTokenError",this.cause=b}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},328158,a=>{"use strict";var b=a.i(666680);let c=new Uint8Array(256),d=c.length;function e(){return d>c.length-16&&((0,b.randomFillSync)(c),d=0),c.slice(d,d+=16)}let f=[];for(let a=0;a<256;++a)f.push((a+256).toString(16).slice(1));let g={};function h(a,b,c,d,e=0){if(a.length<16)throw Error("Random bytes length must be >= 16");if(d){if(e<0||e+16>d.length)throw RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`)}else d=new Uint8Array(16),e=0;return b??=Date.now(),c??=127*a[6]<<24|a[7]<<16|a[8]<<8|a[9],d[e++]=b/0x10000000000&255,d[e++]=b/0x100000000&255,d[e++]=b/0x1000000&255,d[e++]=b/65536&255,d[e++]=b/256&255,d[e++]=255&b,d[e++]=112|c>>>28&15,d[e++]=c>>>20&255,d[e++]=128|c>>>14&63,d[e++]=c>>>6&255,d[e++]=c<<2&255|3&a[10],d[e++]=a[11],d[e++]=a[12],d[e++]=a[13],d[e++]=a[14],d[e++]=a[15],d}a.s(["v7",0,function(a,b,c){let d;if(a)d=h(a.random??a.rng?.()??e(),a.msecs,a.seq,b,c);else{var i,j,k;let a=Date.now(),f=e();i=g,j=a,k=f,i.msecs??=-1/0,i.seq??=0,j>i.msecs?(i.seq=k[6]<<23|k[7]<<16|k[8]<<8|k[9],i.msecs=j):(i.seq=i.seq+1|0,0===i.seq&&i.msecs++),d=h(f,g.msecs,g.seq,b,c)}return b??function(a,b=0){return(f[a[b+0]]+f[a[b+1]]+f[a[b+2]]+f[a[b+3]]+"-"+f[a[b+4]]+f[a[b+5]]+"-"+f[a[b+6]]+f[a[b+7]]+"-"+f[a[b+8]]+f[a[b+9]]+"-"+f[a[b+10]]+f[a[b+11]]+f[a[b+12]]+f[a[b+13]]+f[a[b+14]]+f[a[b+15]]).toLowerCase()}(d)}],328158)},689513,a=>{"use strict";var b=a.i(814747),c=a.i(446786);function d(){let a=(0,c.homedir)();return(0,b.join)(a,".sqlbot")}function e(){return(0,b.join)(d(),"sqlbot.db")}function f(){return(0,b.join)(d(),"ai-providers.json")}function g(){return(0,b.join)(d(),"config.json")}function h(){return(0,b.join)(d(),"csv-dbs")}a.s(["getConfigDir",()=>d,"getConfigFilePath",()=>g,"getCsvDbsDir",()=>h,"getDbPath",()=>e,"getProvidersFilePath",()=>f])},688505,a=>{"use strict";var b=a.i(522734);a.i(814747),a.i(328158);var c=a.i(689513);let d=(0,c.getConfigDir)(),e=(0,c.getConfigFilePath)();function f(){if((0,b.mkdirSync)(d,{recursive:!0}),!(0,b.existsSync)(e)){let a={connections:[],activeConnectionId:null};return(0,b.writeFileSync)(e,JSON.stringify(a,null,2)),a}try{let a=(0,b.readFileSync)(e,"utf-8");return JSON.parse(a)}catch{let a={connections:[],activeConnectionId:null};return(0,b.writeFileSync)(e,JSON.stringify(a,null,2)),a}}function g(){return f().connections}function h(){return f().activeConnectionId}a.s(["getActiveConnectionId",()=>h,"getConnections",()=>g])},774651,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call ChatComponent() from the server but ChatComponent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/chat-page.tsx <module evaluation>","ChatComponent");a.s(["ChatComponent",0,b])},539552,a=>{"use strict";let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call ChatComponent() from the server but ChatComponent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/chat-page.tsx","ChatComponent");a.s(["ChatComponent",0,b])},311274,a=>{"use strict";a.i(774651);var b=a.i(539552);a.n(b)},915077,a=>a.a(async(b,c)=>{try{var d=a.i(594758),e=a.i(837137);a.i(975523);var f=a.i(93321),g=a.i(530385);a.i(451748);var h=b([d]);async function i(a){let b=await d.db.select().from(e.chats).where((0,f.eq)(e.chats.pubId,a));return 0===b.length?null:b[0]}async function j(a){return await d.db.select({id:e.messages.pubId,parts:e.messages.parts,createdAt:e.messages.createdAt,updatedAt:e.messages.updatedAt,role:e.messages.role,metadata:e.messages.metadata,chatId:e.messages.chatId}).from(e.messages).where((0,f.and)((0,f.eq)(e.messages.chatId,a),(0,f.eq)(e.messages.status,"active"))).orderBy((0,g.asc)(e.messages.createdAt))}[d]=h.then?(await h)():h,a.s(["getChat",()=>i,"getMessages",()=>j]),c()}catch(a){c(a)}},!1),89113,a=>a.a(async(b,c)=>{try{var d=a.i(907997),e=a.i(665050),f=a.i(311274),g=a.i(688505),h=a.i(915077),i=b([h]);async function j(a){try{let b=await (0,h.getChat)(a);if(!b)return{chat:null,messages:null,connectionId:null};let c=await (0,h.getMessages)(b.id);return{chat:b,messages:c,connectionId:b.connectionId}}catch(a){return console.log("Error in fetchChat",a),{chat:null,messages:null,connectionId:null}}}async function k({params:a}){let b=await (0,e.getSidebarStateDesktop)(),c=await (0,e.getSidebarStateMobile)(),{threadId:h}=await a,i=await j(h),k=i.connectionId||(0,g.getActiveConnectionId)();return(0,d.jsx)(f.ChatComponent,{initialSidebarCollapsedDesktop:b,initialSidebarCollapsedMobile:c,threadId:h,initialMessages:i.messages,connectionId:k})}[h]=i.then?(await i)():i,a.s(["default",()=>k]),c()}catch(a){c(a)}},!1),682672,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@vercel_oidc_dist_4aeec363._.js"].map(b=>a.l(b))).then(()=>b(72918)))},966249,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@vercel_oidc_dist_aa62ad66._.js"].map(b=>a.l(b))).then(()=>b(860544)))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__d2e81be0._.js.map
|