larkup 0.1.21 → 0.1.22

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.
Files changed (105) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/fallback-build-manifest.json +3 -3
  4. package/.next/server/app/_global-error.html +1 -1
  5. package/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/server/app/_not-found.html +1 -1
  12. package/.next/server/app/_not-found.rsc +1 -1
  13. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  14. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  15. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  19. package/.next/server/app/analytics.html +1 -1
  20. package/.next/server/app/analytics.rsc +1 -1
  21. package/.next/server/app/analytics.segments/_full.segment.rsc +1 -1
  22. package/.next/server/app/analytics.segments/_head.segment.rsc +1 -1
  23. package/.next/server/app/analytics.segments/_index.segment.rsc +1 -1
  24. package/.next/server/app/analytics.segments/_tree.segment.rsc +1 -1
  25. package/.next/server/app/analytics.segments/analytics/__PAGE__.segment.rsc +1 -1
  26. package/.next/server/app/analytics.segments/analytics.segment.rsc +1 -1
  27. package/.next/server/app/chat.html +1 -1
  28. package/.next/server/app/chat.rsc +1 -1
  29. package/.next/server/app/chat.segments/_full.segment.rsc +1 -1
  30. package/.next/server/app/chat.segments/_head.segment.rsc +1 -1
  31. package/.next/server/app/chat.segments/_index.segment.rsc +1 -1
  32. package/.next/server/app/chat.segments/_tree.segment.rsc +1 -1
  33. package/.next/server/app/chat.segments/chat/__PAGE__.segment.rsc +1 -1
  34. package/.next/server/app/chat.segments/chat.segment.rsc +1 -1
  35. package/.next/server/app/data.html +1 -1
  36. package/.next/server/app/data.rsc +1 -1
  37. package/.next/server/app/data.segments/_full.segment.rsc +1 -1
  38. package/.next/server/app/data.segments/_head.segment.rsc +1 -1
  39. package/.next/server/app/data.segments/_index.segment.rsc +1 -1
  40. package/.next/server/app/data.segments/_tree.segment.rsc +1 -1
  41. package/.next/server/app/data.segments/data/__PAGE__.segment.rsc +1 -1
  42. package/.next/server/app/data.segments/data.segment.rsc +1 -1
  43. package/.next/server/app/index.html +1 -1
  44. package/.next/server/app/index.rsc +1 -1
  45. package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  46. package/.next/server/app/index.segments/_full.segment.rsc +1 -1
  47. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  48. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  49. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  50. package/.next/server/app/settings.html +1 -1
  51. package/.next/server/app/settings.rsc +1 -1
  52. package/.next/server/app/settings.segments/_full.segment.rsc +1 -1
  53. package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  54. package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  55. package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  56. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
  57. package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  58. package/.next/server/chunks/[root-of-the-server]__0036943._.js +1 -1
  59. package/.next/server/chunks/[root-of-the-server]__00nqa2u._.js +1 -1
  60. package/.next/server/chunks/[root-of-the-server]__02cpmox._.js +1 -1
  61. package/.next/server/chunks/[root-of-the-server]__02p-tv7._.js +2 -2
  62. package/.next/server/chunks/[root-of-the-server]__02t_0g7._.js +1 -1
  63. package/.next/server/chunks/[root-of-the-server]__04kopvt._.js +2 -2
  64. package/.next/server/chunks/[root-of-the-server]__04l~ip-._.js +1 -1
  65. package/.next/server/chunks/[root-of-the-server]__04visk8._.js +1 -1
  66. package/.next/server/chunks/[root-of-the-server]__05x8tmf._.js +1 -1
  67. package/.next/server/chunks/[root-of-the-server]__06l96vc._.js +1 -1
  68. package/.next/server/chunks/[root-of-the-server]__06ohoeu._.js +1 -1
  69. package/.next/server/chunks/[root-of-the-server]__07_1411._.js +1 -1
  70. package/.next/server/chunks/[root-of-the-server]__0acpo9m._.js +1 -1
  71. package/.next/server/chunks/[root-of-the-server]__0exyn0q._.js +1 -1
  72. package/.next/server/chunks/[root-of-the-server]__0fcf_rl._.js +1 -1
  73. package/.next/server/chunks/[root-of-the-server]__0f~eq1-._.js +1 -1
  74. package/.next/server/chunks/[root-of-the-server]__0ljy49-._.js +1 -1
  75. package/.next/server/chunks/[root-of-the-server]__0n0nerw._.js +1 -1
  76. package/.next/server/chunks/[root-of-the-server]__0oh5wgp._.js +1 -1
  77. package/.next/server/chunks/[root-of-the-server]__0oyc7s4._.js +1 -1
  78. package/.next/server/chunks/[root-of-the-server]__0pg~eys._.js +1 -1
  79. package/.next/server/chunks/[root-of-the-server]__0qtx78g._.js +1 -1
  80. package/.next/server/chunks/[root-of-the-server]__0r03jcl._.js +1 -1
  81. package/.next/server/chunks/[root-of-the-server]__0sb7d93._.js +1 -1
  82. package/.next/server/chunks/[root-of-the-server]__0t36t5o._.js +1 -1
  83. package/.next/server/chunks/[root-of-the-server]__0t_hp52._.js +1 -1
  84. package/.next/server/chunks/[root-of-the-server]__0v03x56._.js +1 -1
  85. package/.next/server/chunks/[root-of-the-server]__0v4bbce._.js +1 -1
  86. package/.next/server/chunks/[root-of-the-server]__0vcdpoc._.js +1 -1
  87. package/.next/server/chunks/[root-of-the-server]__0wvxpqf._.js +1 -1
  88. package/.next/server/chunks/[root-of-the-server]__0wyl7x5._.js +1 -1
  89. package/.next/server/chunks/[root-of-the-server]__0yx8vxp._.js +2 -2
  90. package/.next/server/chunks/[root-of-the-server]__0zh8t6z._.js +1 -1
  91. package/.next/server/chunks/[root-of-the-server]__0~q2fro._.js +1 -1
  92. package/.next/server/chunks/[root-of-the-server]__10d58x4._.js +1 -1
  93. package/.next/server/chunks/[root-of-the-server]__12kvuvp._.js +1 -1
  94. package/.next/server/chunks/packages_core_src_generator_generate-server_ts_0mt.je3._.js +3 -5
  95. package/.next/server/chunks/ssr/packages_core_src_generator_generate-server_ts_0o.y7vi._.js +3 -5
  96. package/.next/server/middleware-build-manifest.js +3 -3
  97. package/.next/server/pages/404.html +1 -1
  98. package/.next/server/pages/500.html +1 -1
  99. package/CHANGELOG.md +6 -0
  100. package/bin/larkup.js +43 -15
  101. package/next-env.d.ts +1 -1
  102. package/package.json +17 -17
  103. /package/.next/static/{KqIuNxkoeAlhCusoxtMrS → r6jTeoDnymfOosNztAlzL}/_buildManifest.js +0 -0
  104. /package/.next/static/{KqIuNxkoeAlhCusoxtMrS → r6jTeoDnymfOosNztAlzL}/_clientMiddlewareManifest.js +0 -0
  105. /package/.next/static/{KqIuNxkoeAlhCusoxtMrS → r6jTeoDnymfOosNztAlzL}/_ssgManifest.js +0 -0
@@ -11,4 +11,4 @@ a:I[953159,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o
11
11
  b:I[675973,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js"],"Analytics"]
12
12
  :HL["/_next/static/chunks/066jf0nk75nic.css","style"]
13
13
  :HL["/_next/static/chunks/0uawaqqylt5zw.css","style"]
14
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"KqIuNxkoeAlhCusoxtMrS"}
14
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"r6jTeoDnymfOosNztAlzL"}
@@ -2,4 +2,4 @@
2
2
  :HL["/_next/static/chunks/0uawaqqylt5zw.css","style"]
3
3
  :HL["/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
4
4
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
5
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"KqIuNxkoeAlhCusoxtMrS"}
5
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"r6jTeoDnymfOosNztAlzL"}
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/066jf0nk75nic.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0uawaqqylt5zw.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/06lztj0p4bq9f.js"/><script src="/_next/static/chunks/0-l-_.e4~p-tu.js" async=""></script><script src="/_next/static/chunks/0l27y8_9hhe7s.js" async=""></script><script src="/_next/static/chunks/10k--lk9wf4pw.js" async=""></script><script src="/_next/static/chunks/16alfqkklv-bt.js" async=""></script><script src="/_next/static/chunks/turbopack-06_~2vs.chjg_.js" async=""></script><script src="/_next/static/chunks/0q_qvc60_3aw4.js" async=""></script><script src="/_next/static/chunks/0zoh3o_.geqbv.js" async=""></script><script src="/_next/static/chunks/0ho7lc.x2uknx.js" async=""></script><script src="/_next/static/chunks/00h-ng_jqta-2.js" async=""></script><script src="/_next/static/chunks/14x~vj_4i-4bz.js" async=""></script><script src="/_next/static/chunks/0~_-3fik2n4-i.js" async=""></script><script src="/_next/static/chunks/0ufxt21gvl.3g.js" async=""></script><script src="/_next/static/chunks/03jot0gqi~a10.js" async=""></script><script src="/_next/static/chunks/0w6lgn24.0eip.js" async=""></script><script src="/_next/static/chunks/0c-2rnxmjsotm.js" async=""></script><script src="/_next/static/chunks/0~074ua5vk6f8.js" async=""></script><meta name="next-size-adjust" content=""/><title>larkup</title><meta name="description" content="larkup — a toolkit to build, index, and serve your own AI model and knowledge base."/><link rel="icon" href="/favicon.ico?favicon.01rzdfen4476b.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="font-sans antialiased "><div hidden=""><!--$--><!--/$--></div><script>(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();</script><div class="flex h-screen items-center justify-center"><div class="size-6 animate-spin rounded-full border-2 border-primary border-t-transparent"></div></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/06lztj0p4bq9f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[232295,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"UpdateBanner\"]\n3:I[82100,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ThemeCustomizerProvider\"]\n4:I[624529,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"WorkspaceProvider\"]\n5:I[266186,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ClientLayoutWrapper\"]\n6:I[180366,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"default\"]\n7:I[724474,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\",\"/_next/static/chunks/0ufxt21gvl.3g.js\",\"/_next/static/chunks/03jot0gqi~a10.js\"],\"default\"]\n8:I[16248,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"default\"]\n9:I[7012,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"Toaster\"]\na:I[953159,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"GlobalIndexProgress\"]\nb:I[675973,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"Analytics\"]\nc:I[217281,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ClientPageRoot\"]\nd:I[93505,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\",\"/_next/static/chunks/0w6lgn24.0eip.js\",\"/_next/static/chunks/0c-2rnxmjsotm.js\",\"/_next/static/chunks/0~074ua5vk6f8.js\"],\"default\"]\n10:I[984918,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"OutletBoundary\"]\n11:\"$Sreact.suspense\"\n14:I[984918,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ViewportBoundary\"]\n16:I[984918,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3"])</script><script>self.__next_f.push([1,"o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"MetadataBoundary\"]\n18:I[741147,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/066jf0nk75nic.css\",\"style\"]\n:HL[\"/_next/static/chunks/0uawaqqylt5zw.css\",\"style\"]\n:HL[\"/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"settings\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"settings\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0uawaqqylt5zw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/00h-ng_jqta-2.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/_next/static/chunks/0~_-3fik2n4-i.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent\",\"children\":[\"$\",\"body\",null,{\"suppressHydrationWarning\":true,\"className\":\"font-sans antialiased \",\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t\u0026\u0026t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r\u0026\u0026r!=='radius-default')d.classList.add(r);}catch(e){}})();\"}}],[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{}]}],\"templateStyles\":[],\"templateScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0ufxt21gvl.3g.js\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/03jot0gqi~a10.js\",\"async\":true}]],\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L9\",null,{\"position\":\"bottom-left\"}],[\"$\",\"$La\",null,{}]]}]}],[\"$\",\"$Lb\",null,{}]]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$Lc\",null,{\"Component\":\"$d\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@e\",\"$@f\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0w6lgn24.0eip.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0c-2rnxmjsotm.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0~074ua5vk6f8.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@12\"}]}]]}],{},null,false,null]},null,false,\"$@13\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L14\",null,{\"children\":\"$L15\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L16\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L17\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$18\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0uawaqqylt5zw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"KqIuNxkoeAlhCusoxtMrS\"}\n"])</script><script>self.__next_f.push([1,"19:[]\n13:\"$W19\"\ne:{}\nf:\"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"15:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"1a:I[640294,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"IconMark\"]\n12:null\n17:[[\"$\",\"title\",\"0\",{\"children\":\"larkup\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"larkup — a toolkit to build, index, and serve your own AI model and knowledge base.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.01rzdfen4476b.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$L1a\",\"3\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/066jf0nk75nic.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0uawaqqylt5zw.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/06lztj0p4bq9f.js"/><script src="/_next/static/chunks/0-l-_.e4~p-tu.js" async=""></script><script src="/_next/static/chunks/0l27y8_9hhe7s.js" async=""></script><script src="/_next/static/chunks/10k--lk9wf4pw.js" async=""></script><script src="/_next/static/chunks/16alfqkklv-bt.js" async=""></script><script src="/_next/static/chunks/turbopack-06_~2vs.chjg_.js" async=""></script><script src="/_next/static/chunks/0q_qvc60_3aw4.js" async=""></script><script src="/_next/static/chunks/0zoh3o_.geqbv.js" async=""></script><script src="/_next/static/chunks/0ho7lc.x2uknx.js" async=""></script><script src="/_next/static/chunks/00h-ng_jqta-2.js" async=""></script><script src="/_next/static/chunks/14x~vj_4i-4bz.js" async=""></script><script src="/_next/static/chunks/0~_-3fik2n4-i.js" async=""></script><script src="/_next/static/chunks/0ufxt21gvl.3g.js" async=""></script><script src="/_next/static/chunks/03jot0gqi~a10.js" async=""></script><script src="/_next/static/chunks/0w6lgn24.0eip.js" async=""></script><script src="/_next/static/chunks/0c-2rnxmjsotm.js" async=""></script><script src="/_next/static/chunks/0~074ua5vk6f8.js" async=""></script><meta name="next-size-adjust" content=""/><title>larkup</title><meta name="description" content="larkup — a toolkit to build, index, and serve your own AI model and knowledge base."/><link rel="icon" href="/favicon.ico?favicon.01rzdfen4476b.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="font-sans antialiased "><div hidden=""><!--$--><!--/$--></div><script>(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();</script><div class="flex h-screen items-center justify-center"><div class="size-6 animate-spin rounded-full border-2 border-primary border-t-transparent"></div></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/06lztj0p4bq9f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[232295,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"UpdateBanner\"]\n3:I[82100,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ThemeCustomizerProvider\"]\n4:I[624529,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"WorkspaceProvider\"]\n5:I[266186,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ClientLayoutWrapper\"]\n6:I[180366,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"default\"]\n7:I[724474,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\",\"/_next/static/chunks/0ufxt21gvl.3g.js\",\"/_next/static/chunks/03jot0gqi~a10.js\"],\"default\"]\n8:I[16248,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"default\"]\n9:I[7012,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"Toaster\"]\na:I[953159,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"GlobalIndexProgress\"]\nb:I[675973,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"Analytics\"]\nc:I[217281,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ClientPageRoot\"]\nd:I[93505,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\",\"/_next/static/chunks/0w6lgn24.0eip.js\",\"/_next/static/chunks/0c-2rnxmjsotm.js\",\"/_next/static/chunks/0~074ua5vk6f8.js\"],\"default\"]\n10:I[984918,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"OutletBoundary\"]\n11:\"$Sreact.suspense\"\n14:I[984918,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"ViewportBoundary\"]\n16:I[984918,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3"])</script><script>self.__next_f.push([1,"o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"MetadataBoundary\"]\n18:I[741147,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/066jf0nk75nic.css\",\"style\"]\n:HL[\"/_next/static/chunks/0uawaqqylt5zw.css\",\"style\"]\n:HL[\"/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"settings\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"settings\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0uawaqqylt5zw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/00h-ng_jqta-2.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/_next/static/chunks/0~_-3fik2n4-i.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent\",\"children\":[\"$\",\"body\",null,{\"suppressHydrationWarning\":true,\"className\":\"font-sans antialiased \",\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t\u0026\u0026t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r\u0026\u0026r!=='radius-default')d.classList.add(r);}catch(e){}})();\"}}],[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{}]}],\"templateStyles\":[],\"templateScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0ufxt21gvl.3g.js\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/03jot0gqi~a10.js\",\"async\":true}]],\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L9\",null,{\"position\":\"bottom-left\"}],[\"$\",\"$La\",null,{}]]}]}],[\"$\",\"$Lb\",null,{}]]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$Lc\",null,{\"Component\":\"$d\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@e\",\"$@f\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0w6lgn24.0eip.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0c-2rnxmjsotm.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0~074ua5vk6f8.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@12\"}]}]]}],{},null,false,null]},null,false,\"$@13\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L14\",null,{\"children\":\"$L15\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L16\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L17\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$18\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0uawaqqylt5zw.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"r6jTeoDnymfOosNztAlzL\"}\n"])</script><script>self.__next_f.push([1,"19:[]\n13:\"$W19\"\ne:{}\nf:\"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"15:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"1a:I[640294,[\"/_next/static/chunks/0q_qvc60_3aw4.js\",\"/_next/static/chunks/0zoh3o_.geqbv.js\",\"/_next/static/chunks/0ho7lc.x2uknx.js\",\"/_next/static/chunks/00h-ng_jqta-2.js\",\"/_next/static/chunks/14x~vj_4i-4bz.js\",\"/_next/static/chunks/0~_-3fik2n4-i.js\"],\"IconMark\"]\n12:null\n17:[[\"$\",\"title\",\"0\",{\"children\":\"larkup\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"larkup — a toolkit to build, index, and serve your own AI model and knowledge base.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.01rzdfen4476b.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$L1a\",\"3\",{}]]\n"])</script></body></html>
@@ -20,7 +20,7 @@ d:I[93505,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_
20
20
  :HL["/_next/static/chunks/0uawaqqylt5zw.css","style"]
21
21
  :HL["/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
22
22
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
23
- 0:{"P":null,"c":["","settings"],"q":"","i":false,"f":[[["",{"children":["settings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@e","$@f"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0w6lgn24.0eip.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0c-2rnxmjsotm.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0~074ua5vk6f8.js","async":true,"nonce":"$undefined"}]],["$","$L10",null,{"children":["$","$11",null,{"name":"Next.MetadataOutlet","children":"$@12"}]}]]}],{},null,false,null]},null,false,"$@13"]},null,false,null],["$","$1","h",{"children":[null,["$","$L14",null,{"children":"$L15"}],["$","div",null,{"hidden":true,"children":["$","$L16",null,{"children":["$","$11",null,{"name":"Next.Metadata","children":"$L17"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$18",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"KqIuNxkoeAlhCusoxtMrS"}
23
+ 0:{"P":null,"c":["","settings"],"q":"","i":false,"f":[[["",{"children":["settings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@e","$@f"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0w6lgn24.0eip.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0c-2rnxmjsotm.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0~074ua5vk6f8.js","async":true,"nonce":"$undefined"}]],["$","$L10",null,{"children":["$","$11",null,{"name":"Next.MetadataOutlet","children":"$@12"}]}]]}],{},null,false,null]},null,false,"$@13"]},null,false,null],["$","$1","h",{"children":[null,["$","$L14",null,{"children":"$L15"}],["$","div",null,{"hidden":true,"children":["$","$L16",null,{"children":["$","$11",null,{"name":"Next.Metadata","children":"$L17"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$18",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"r6jTeoDnymfOosNztAlzL"}
24
24
  19:[]
25
25
  13:"$W19"
26
26
  e:{}
@@ -20,7 +20,7 @@ d:I[93505,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_
20
20
  :HL["/_next/static/chunks/0uawaqqylt5zw.css","style"]
21
21
  :HL["/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
22
22
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
23
- 0:{"P":null,"c":["","settings"],"q":"","i":false,"f":[[["",{"children":["settings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@e","$@f"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0w6lgn24.0eip.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0c-2rnxmjsotm.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0~074ua5vk6f8.js","async":true,"nonce":"$undefined"}]],["$","$L10",null,{"children":["$","$11",null,{"name":"Next.MetadataOutlet","children":"$@12"}]}]]}],{},null,false,null]},null,false,"$@13"]},null,false,null],["$","$1","h",{"children":[null,["$","$L14",null,{"children":"$L15"}],["$","div",null,{"hidden":true,"children":["$","$L16",null,{"children":["$","$11",null,{"name":"Next.Metadata","children":"$L17"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$18",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"KqIuNxkoeAlhCusoxtMrS"}
23
+ 0:{"P":null,"c":["","settings"],"q":"","i":false,"f":[[["",{"children":["settings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@e","$@f"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0w6lgn24.0eip.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0c-2rnxmjsotm.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0~074ua5vk6f8.js","async":true,"nonce":"$undefined"}]],["$","$L10",null,{"children":["$","$11",null,{"name":"Next.MetadataOutlet","children":"$@12"}]}]]}],{},null,false,null]},null,false,"$@13"]},null,false,null],["$","$1","h",{"children":[null,["$","$L14",null,{"children":"$L15"}],["$","div",null,{"hidden":true,"children":["$","$L16",null,{"children":["$","$11",null,{"name":"Next.Metadata","children":"$L17"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$18",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"r6jTeoDnymfOosNztAlzL"}
24
24
  19:[]
25
25
  13:"$W19"
26
26
  e:{}
@@ -3,4 +3,4 @@
3
3
  3:I[984918,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[640294,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js"],"IconMark"]
6
- 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"larkup"}],["$","meta","1",{"name":"description","content":"larkup — a toolkit to build, index, and serve your own AI model and knowledge base."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.01rzdfen4476b.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"KqIuNxkoeAlhCusoxtMrS"}
6
+ 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"larkup"}],["$","meta","1",{"name":"description","content":"larkup — a toolkit to build, index, and serve your own AI model and knowledge base."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.01rzdfen4476b.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"r6jTeoDnymfOosNztAlzL"}
@@ -11,4 +11,4 @@ a:I[953159,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o
11
11
  b:I[675973,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js"],"Analytics"]
12
12
  :HL["/_next/static/chunks/066jf0nk75nic.css","style"]
13
13
  :HL["/_next/static/chunks/0uawaqqylt5zw.css","style"]
14
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"KqIuNxkoeAlhCusoxtMrS"}
14
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/066jf0nk75nic.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0uawaqqylt5zw.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0q_qvc60_3aw4.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0zoh3o_.geqbv.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0ho7lc.x2uknx.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/00h-ng_jqta-2.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/14x~vj_4i-4bz.js","async":true}],["$","script","script-5",{"src":"/_next/static/chunks/0~_-3fik2n4-i.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable bg-transparent","children":["$","body",null,{"suppressHydrationWarning":true,"className":"font-sans antialiased ","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('app-theme');var b=localStorage.getItem('app-background');var r=localStorage.getItem('app-radius');var d=document.body;if(t&&t!=='default')d.classList.add(t);if(b)d.classList.add(b);if(r&&r!=='radius-default')d.classList.add(r);}catch(e){}})();"}}],["$","$L2",null,{}],["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","template":["$","$L7",null,{"children":["$","$L8",null,{}]}],"templateStyles":[],"templateScripts":[["$","script","script-0",{"src":"/_next/static/chunks/0ufxt21gvl.3g.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/03jot0gqi~a10.js","async":true}]],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}],["$","$L9",null,{"position":"bottom-left"}],["$","$La",null,{}]]}]}],["$","$Lb",null,{}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"r6jTeoDnymfOosNztAlzL"}
@@ -2,4 +2,4 @@
2
2
  :HL["/_next/static/chunks/0uawaqqylt5zw.css","style"]
3
3
  :HL["/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
4
4
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
5
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"settings","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"KqIuNxkoeAlhCusoxtMrS"}
5
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"settings","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"r6jTeoDnymfOosNztAlzL"}
@@ -3,7 +3,7 @@
3
3
  3:I[93505,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js","/_next/static/chunks/0w6lgn24.0eip.js","/_next/static/chunks/0c-2rnxmjsotm.js","/_next/static/chunks/0~074ua5vk6f8.js"],"default"]
4
4
  6:I[984918,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js"],"OutletBoundary"]
5
5
  7:"$Sreact.suspense"
6
- 0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0w6lgn24.0eip.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0c-2rnxmjsotm.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0~074ua5vk6f8.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"KqIuNxkoeAlhCusoxtMrS"}
6
+ 0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0w6lgn24.0eip.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0c-2rnxmjsotm.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0~074ua5vk6f8.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"r6jTeoDnymfOosNztAlzL"}
7
7
  4:{}
8
8
  5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
9
9
  8:null
@@ -2,4 +2,4 @@
2
2
  2:I[180366,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js"],"default"]
3
3
  3:I[16248,["/_next/static/chunks/0q_qvc60_3aw4.js","/_next/static/chunks/0zoh3o_.geqbv.js","/_next/static/chunks/0ho7lc.x2uknx.js","/_next/static/chunks/00h-ng_jqta-2.js","/_next/static/chunks/14x~vj_4i-4bz.js","/_next/static/chunks/0~_-3fik2n4-i.js"],"default"]
4
4
  4:[]
5
- 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"KqIuNxkoeAlhCusoxtMrS"}
5
+ 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"r6jTeoDnymfOosNztAlzL"}
@@ -54,7 +54,7 @@ RESPONSE FORMATTING (Analytics Style):
54
54
  - Structure complex responses logically (e.g., Summary -> Key Metrics -> Breakdown).
55
55
  - If your findings contain a small table of data, format it cleanly using Markdown tables.
56
56
  - DO NOT hallucinate facts; rely strictly on the provided query results.
57
- - End with a one-sentence synthesis if appropriate, avoiding filler words.`;e.s(["DEFAULT_CONFIG",0,i,"DEFAULT_DEPLOYMENT_CONFIG",0,{type:"rag-only",authMode:"none",enabledToolIds:[],widgetStyle:{primaryColor:"#000000",position:"bottom-right",title:"Chat with AI",welcomeMessage:"Hi! How can I help you today?",placeholder:"Type a message...",darkMode:!1,borderRadius:"lg"},allowedOrigins:["*"]},"DEFAULT_SYSTEM_PROMPT",0,s],638725);let l=r.default.join(process.cwd(),".larkup"),d=r.default.join(l,"servers"),c=r.default.join(l,"workspace.json"),u={username:null,activeServerId:null,servers:[],mode:null},p=new n.AsyncLocalStorage,m=Promise.resolve();function f(e){let t=m.then(e,e);return m=t.catch(()=>{}),t}async function h(e){return await x(),f(async()=>e(await v()??u))}function g(e){return r.default.join(d,e)}function y(e,t){return`./.larkup/servers/${e}/${t}`}async function b(e){try{return await t.promises.access(e),!0}catch{return!1}}async function w(e,a){if(await b(e)){await t.promises.mkdir(r.default.dirname(a),{recursive:!0});try{await t.promises.rename(e,a)}catch{await t.promises.cp(e,a,{recursive:!0}),await t.promises.rm(e,{recursive:!0,force:!0})}}}async function v(){try{let e=await t.promises.readFile(c,"utf8");return{...u,...JSON.parse(e)}}catch{return null}}async function k(e){return await t.promises.mkdir(l,{recursive:!0}),await t.promises.writeFile(c,JSON.stringify(e,null,2),"utf8"),e}async function x(){let e=await v();return e||f(S)}async function S(){let e=await v();if(e)return e;if(!await b(r.default.join(l,"config.json")))return k(u);let n=(0,a.randomUUID)(),o=g(n);for(let e of(await t.promises.mkdir(o,{recursive:!0}),["config.json","documents.json","jobs.json","index-run.json","server-local.json"]))await w(r.default.join(l,e),r.default.join(o,e));await w(r.default.join(l,"lancedb"),r.default.join(o,"lancedb")),await w(r.default.join(l,"generated-server"),r.default.join(o,"generated-server"));let i="Default server";try{let e=r.default.join(o,"config.json"),a=JSON.parse(await t.promises.readFile(e,"utf8"));a.projectName&&(i=a.projectName),"lancedb"===a.vectorStore&&(a.storeConfig?.mode??"local")==="local"&&(a.storeConfig={...a.storeConfig,dbPath:y(n,"lancedb")}),await t.promises.writeFile(e,JSON.stringify(a,null,2),"utf8")}catch{}let s=new Date().toISOString(),d={id:n,name:i,port:8080,createdAt:s,updatedAt:s};return k({username:null,activeServerId:n,servers:[d],mode:null})}async function _(){let e=await x(),t=p.getStore()?.serverId??e.activeServerId;return t?e.servers.find(e=>e.id===t)??null:null}async function A(){let e=await _();if(!e)return null;let r=g(e.id);return await t.promises.mkdir(r,{recursive:!0}),r}async function T(){let e=await A();if(e)return e;let t=p.getStore()?.serverId;if(t)throw Error(`Server "${t}" no longer exists.`);let{server:r}=await O("My RAG server");return g(r.id)}async function I(e){return new Promise(t=>{let r=o.default.createServer();r.once("error",()=>t(!1)),r.once("listening",()=>{r.close(()=>t(!0))}),r.listen(e,"127.0.0.1")})}async function D(e){let t=Math.max(8079,...e.servers.map(e=>e.port))+1;for(;!await I(t);)t++;return t}function O(e){return h(async n=>{let o=(0,a.randomUUID)(),s=new Date().toISOString(),l={id:o,name:e.trim()||"Untitled server",port:await D(n),createdAt:s,updatedAt:s},d=g(o);await t.promises.mkdir(d,{recursive:!0});let c={};if(n.activeServerId)try{let e=await t.promises.readFile(r.default.join(g(n.activeServerId),"config.json"),"utf8");c=JSON.parse(e)}catch{}await t.promises.writeFile(r.default.join(d,"config.json"),JSON.stringify(function(e,t,r={}){return{...i,projectName:t.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"my-rag",storeConfig:{mode:"local",dbPath:y(e,"lancedb")},embeddingApiKey:r.embeddingApiKey??i.embeddingApiKey,customEmbeddings:r.customEmbeddings??i.customEmbeddings,chatApiKey:r.chatApiKey??i.chatApiKey,customChatModels:r.customChatModels??i.customChatModels,serperApiKey:r.serperApiKey??i.serperApiKey,firecrawlApiKey:r.firecrawlApiKey??i.firecrawlApiKey,updatedAt:new Date().toISOString()}}(o,l.name,c),null,2),"utf8");let u={...n,servers:[...n.servers,l],activeServerId:o};return await k(u),{workspace:u,server:l}})}e.s(["createServer",0,O,"deleteServer",0,function(e){return h(async r=>{let a=r.servers.filter(t=>t.id!==e),n=r.activeServerId===e?a[0]?.id??null:r.activeServerId;return await t.promises.rm(g(e),{recursive:!0,force:!0}),k({...r,servers:a,activeServerId:n})})},"getActiveServer",0,_,"getDataDir",0,A,"getWorkspace",0,x,"renameServer",0,function(e,t){return h(async r=>{let a=r.servers.map(r=>r.id===e?{...r,name:t.trim()||r.name,updatedAt:new Date().toISOString()}:r);return k({...r,servers:a})})},"requireDataDir",0,T,"runWithServer",0,function(e,t){return p.run({serverId:e},t)},"setActiveServer",0,function(e){return h(async t=>t.servers.some(t=>t.id===e)?k({...t,activeServerId:e}):t)},"setMode",0,function(e){return h(async t=>k({...t,mode:e}))},"setUsername",0,function(e){return h(async t=>k({...t,username:e.trim()||null}))}],192441)},367165,e=>{"use strict";var t=e.i(902157),r=e.i(750227),a=e.i(638725),n=e.i(192441);async function o(){let e=await (0,n.getDataDir)();if(!e)return a.DEFAULT_CONFIG;try{let n=await t.promises.readFile(r.default.join(e,"config.json"),"utf8"),o=JSON.parse(n),i=o.customEmbeddings,s=o.embeddingModelId;if(o.customEmbedding&&!i?.length){let e=o.customEmbedding;i=[e],"custom"===s&&(s=`custom:${e.modelName}`)}let l={...a.DEFAULT_CONFIG,...o,embeddingModelId:s??a.DEFAULT_CONFIG.embeddingModelId,customEmbeddings:i,chunking:{...a.DEFAULT_CONFIG.chunking,...o.chunking},storeConfig:{...a.DEFAULT_CONFIG.storeConfig,...o.storeConfig}};return delete l.customEmbedding,l}catch{return a.DEFAULT_CONFIG}}async function i(e){let a=await (0,n.requireDataDir)(),o={...e,updatedAt:new Date().toISOString()};return await t.promises.writeFile(r.default.join(a,"config.json"),JSON.stringify(o,null,2),"utf8"),o}e.s(["readConfig",0,o,"writeConfig",0,i])},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},310470,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={VercelOidcTokenError:()=>c};for(var d in l)a(s,d,{get:l[d],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||a(e,s,{get:()=>t[s],enumerable:!(r=n(t,s))||r.enumerable});return e})(a({},"__esModule",{value:!0}),s);class c extends Error{constructor(e,t){super(e),this.name="VercelOidcTokenError",this.cause=t}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},33015,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={AccessTokenMissingError:()=>c,RefreshAccessTokenFailedError:()=>u};for(var d in l)a(s,d,{get:l[d],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||a(e,s,{get:()=>t[s],enumerable:!(r=n(t,s))||r.enumerable});return e})(a({},"__esModule",{value:!0}),s);class c extends Error{constructor(){super("No authentication found. Please log in with the Vercel CLI (vercel login)."),this.name="AccessTokenMissingError"}}class u extends Error{constructor(e){super("Failed to refresh authentication token.",{cause:e}),this.name="RefreshAccessTokenFailedError"}}},250216,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,d=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(a=o(t,s))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(s(e)):{},d(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),u={},p={findRootDir:()=>b,getUserDataDir:()=>w};for(var m in p)n(u,m,{get:p[m],enumerable:!0});t.exports=d(n({},"__esModule",{value:!0}),u);var f=c(e.r(814747)),h=c(e.r(522734)),g=c(e.r(446786)),y=e.r(310470);function b(){try{let e=process.cwd();for(;e!==f.default.dirname(e);){let t=f.default.join(e,".vercel");if(h.default.existsSync(t))return e;e=f.default.dirname(e)}}catch(e){throw new y.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function w(){if(process.env.XDG_DATA_HOME)return process.env.XDG_DATA_HOME;switch(g.default.platform()){case"darwin":return f.default.join(g.default.homedir(),"Library/Application Support");case"linux":return f.default.join(g.default.homedir(),".local/share");case"win32":if(process.env.LOCALAPPDATA)return process.env.LOCALAPPDATA;return null;default:return null}}},775427,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,d=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(a=o(t,s))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(s(e)):{},d(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),u={},p={isValidAccessToken:()=>v,readAuthConfig:()=>b,writeAuthConfig:()=>w};for(var m in p)n(u,m,{get:p[m],enumerable:!0});t.exports=d(n({},"__esModule",{value:!0}),u);var f=c(e.r(522734)),h=c(e.r(814747)),g=e.r(65048);function y(){let e=(0,g.getVercelDataDir)();if(!e)throw Error(`Unable to find Vercel CLI data directory. Your platform: ${process.platform}. Supported: darwin, linux, win32.`);return h.join(e,"auth.json")}function b(){try{let e=y();if(!f.existsSync(e))return null;let t=f.readFileSync(e,"utf8");if(!t)return null;return JSON.parse(t)}catch(e){return null}}function w(e){let t=y(),r=h.dirname(t);f.existsSync(r)||f.mkdirSync(r,{mode:504,recursive:!0}),f.writeFileSync(t,JSON.stringify(e,null,2),{mode:384})}function v(e,t=0){if(!e.token)return!1;if("number"!=typeof e.expiresAt)return!0;let r=Math.floor(Date.now()/1e3);return e.expiresAt>=r+t/1e3}},371746,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={processTokenResponse:()=>h,refreshTokenRequest:()=>f};for(var d in l)a(s,d,{get:l[d],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||a(e,s,{get:()=>t[s],enumerable:!(r=n(t,s))||r.enumerable});return e})(a({},"__esModule",{value:!0}),s);var c=e.r(446786);let u=`@vercel/oidc node-${process.version} ${(0,c.platform)()} (${(0,c.arch)()}) ${(0,c.hostname)()}`,p=null;async function m(){if(p)return p;let e=await fetch("https://vercel.com/.well-known/openid-configuration",{headers:{"user-agent":u}});if(!e.ok)throw Error("Failed to discover OAuth endpoints");let t=await e.json();if(!t||"string"!=typeof t.token_endpoint)throw Error("Invalid OAuth discovery response");let r=t.token_endpoint;return p=r,r}async function f(e){let t=await m();return await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":u},body:new URLSearchParams({client_id:"cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",grant_type:"refresh_token",...e})})}async function h(e){let t=await e.json();return e.ok?"object"!=typeof t||null===t?[Error("Invalid token response")]:"string"!=typeof t.access_token?[Error("Missing access_token in response")]:"Bearer"!==t.token_type?[Error("Invalid token_type in response")]:"number"!=typeof t.expires_in?[Error("Missing expires_in in response")]:[null,t]:[Error("object"==typeof t&&t&&"error"in t?String(t.error):"Token refresh failed")]}},65048,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,d=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(a=o(t,s))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(s(e)):{},d(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),u={},p={assertVercelOidcTokenResponse:()=>_,findProjectInfo:()=>A,getTokenPayload:()=>D,getVercelDataDir:()=>k,getVercelOidcToken:()=>S,getVercelToken:()=>x,isExpired:()=>O,loadToken:()=>I,saveToken:()=>T};for(var m in p)n(u,m,{get:p[m],enumerable:!0});t.exports=d(n({},"__esModule",{value:!0}),u);var f=c(e.r(814747)),h=c(e.r(522734)),g=e.r(310470),y=e.r(250216),b=e.r(775427),w=e.r(371746),v=e.r(33015);function k(){let e=(0,y.getUserDataDir)();return e?f.join(e,"com.vercel.cli"):null}async function x(e){let t=(0,b.readAuthConfig)();if(!t?.token)throw new v.AccessTokenMissingError;if((0,b.isValidAccessToken)(t,e?.expirationBufferMs))return t.token;if(!t.refreshToken)throw(0,b.writeAuthConfig)({}),new v.RefreshAccessTokenFailedError("No refresh token available");try{let e=await (0,w.refreshTokenRequest)({refresh_token:t.refreshToken}),[r,a]=await (0,w.processTokenResponse)(e);if(r||!a)throw(0,b.writeAuthConfig)({}),new v.RefreshAccessTokenFailedError(r);let n={token:a.access_token,expiresAt:Math.floor(Date.now()/1e3)+a.expires_in};return a.refresh_token&&(n.refreshToken=a.refresh_token),(0,b.writeAuthConfig)(n),n.token}catch(e){if((0,b.writeAuthConfig)({}),e instanceof v.AccessTokenMissingError||e instanceof v.RefreshAccessTokenFailedError)throw e;throw new v.RefreshAccessTokenFailedError(e)}}async function S(e,t,r){let a=`https://api.vercel.com/v1/projects/${t}/token?source=vercel-oidc-refresh${r?`&teamId=${r}`:""}`,n=await fetch(a,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!n.ok)throw new g.VercelOidcTokenError(`Failed to refresh OIDC token: ${n.statusText}`);let o=await n.json();return _(o),o}function _(e){if(!e||"object"!=typeof e)throw TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in e)||"string"!=typeof e.token)throw TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function A(){let e=(0,y.findRootDir)();if(!e)throw new g.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");let t=f.join(e,".vercel","project.json");if(!h.existsSync(t))throw new g.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");let r=JSON.parse(h.readFileSync(t,"utf8"));if("string"!=typeof r.projectId&&"string"!=typeof r.orgId)throw TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:r.projectId,teamId:r.orgId}}function T(e,t){let r=(0,y.getUserDataDir)();if(!r)throw new g.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let a=f.join(r,"com.vercel.token",`${t}.json`),n=JSON.stringify(e);h.mkdirSync(f.dirname(a),{mode:504,recursive:!0}),h.writeFileSync(a,n),h.chmodSync(a,432)}function I(e){let t=(0,y.getUserDataDir)();if(!t)throw new g.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let r=f.join(t,"com.vercel.token",`${e}.json`);if(!h.existsSync(r))return null;let a=JSON.parse(h.readFileSync(r,"utf8"));return _(a),a}function D(e){let t=e.split(".");if(3!==t.length)throw new g.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),a=r.padEnd(r.length+(4-r.length%4)%4,"=");return JSON.parse(Buffer.from(a,"base64").toString("utf8"))}function O(e,t=0){return 1e3*e.exp<Date.now()+t}},705252,e=>{"use strict";var t=e.i(902157),r=e.i(750227),a=e.i(666680),n=e.i(192441);let o=Promise.resolve();function i(e){let t=o.then(e,e);return o=t.catch(()=>{}),t}async function s(e){let t=e?await (0,n.requireDataDir)():await (0,n.getDataDir)();return t?r.default.join(t,"documents.json"):null}async function l(){let e=await s(!1);if(!e)return[];try{let r=await t.promises.readFile(e,"utf8"),a=JSON.parse(r);if(!Array.isArray(a))throw Error(`Invalid document store at ${e}: expected a JSON array.`);return a}catch(e){if(e?.code==="ENOENT")return[];throw e}}async function d(e){let n=await s(!0);if(!n)return;let o=r.default.join(r.default.dirname(n),`.${r.default.basename(n)}.${process.pid}.${(0,a.randomUUID)()}.tmp`);try{await t.promises.writeFile(o,JSON.stringify(e,null,2),"utf8"),await t.promises.rename(o,n)}catch(e){throw await t.promises.unlink(o).catch(()=>{}),e}}function c(e){let t=e.content.trim();return{id:e.id??(0,a.randomUUID)(),title:e.title.trim()||"Untitled",url:e.url,source:e.source,content:t,charCount:t.length,jobId:e.jobId,metadata:e.metadata,status:"unindexed",createdAt:new Date().toISOString()}}async function u(){let e=await l(),t=e.reduce((e,t)=>e+t.charCount,0);return{docCount:e.length,charCount:t,bySource:e.reduce((e,t)=>(e[t.source]=(e[t.source]??0)+1,e),{})}}e.s(["addCrawledDocuments",0,function(e,t){return i(async()=>{let r=await l(),a=new Set(r.filter(e=>e.url).map(e=>e.url)),n=0;for(let o of t)!(o.url&&a.has(o.url))&&o.content.trim()&&(r.push(c({...o,jobId:e})),o.url&&a.add(o.url),n++);return n>0&&await d(r),n})},"addDocument",0,function(e){return i(async()=>{let t=await l(),r=c(e);return t.push(r),await d(t),r})},"addDocuments",0,function(e){return i(async()=>{if(0===e.length)return[];let t=await l(),r=e.map(c);return t.push(...r),await d(t),r})},"clearDocuments",0,function(){return i(async()=>{await d([])})},"corpusStats",0,u,"deleteDocument",0,function(e){return i(async()=>{let t=await l();await d(t.filter(t=>t.id!==e))})},"deleteDocuments",0,function(e){return i(async()=>{let t=await l(),r=new Set(e);await d(t.filter(e=>!r.has(e.id)))})},"readDocuments",0,l,"replaceDocuments",0,function(e){return i(async()=>{let t=new Date().toISOString();await d(e.map(e=>({...e,status:"unindexed",createdAt:e.createdAt||t})))})},"updateDocument",0,function(e,t){return i(async()=>{let r=await l(),a=r.findIndex(t=>t.id===e);if(a<0)return;let n=r[a],o=void 0!==t.content?t.content.trim():n.content,i={...n,title:void 0!==t.title?t.title.trim()||"Untitled":n.title,content:o,charCount:o.length,url:void 0!==t.url?t.url||void 0:n.url,metadata:void 0!==t.metadata?t.metadata:n.metadata,status:"unindexed"};return r[a]=i,await d(r),i})},"updateDocumentsStatus",0,function(e,t){return i(async()=>{let r=await l(),a=new Set(e),n=!1;for(let e of r)a.has(e.id)&&(e.status=t,n=!0);n&&await d(r)})}])},399828,e=>{"use strict";let t={"openai/text-embedding-3-small":{dimensions:1536,maxInputTokens:8191},"openai/text-embedding-3-large":{dimensions:3072,maxInputTokens:8191},"openai/text-embedding-ada-002":{dimensions:1536,maxInputTokens:8191},"google/gemini-embedding-2":{dimensions:768,maxInputTokens:2048},"google/gemini-embedding-001":{dimensions:768,maxInputTokens:2048},"cohere/embed-english-v3.0":{dimensions:1024,maxInputTokens:512},"cohere/embed-multilingual-v3.0":{dimensions:1024,maxInputTokens:512},"voyage/voyage-3":{dimensions:1024,maxInputTokens:32e3},"voyage/voyage-3-lite":{dimensions:512,maxInputTokens:32e3},"voyage/voyage-code-3":{dimensions:1024,maxInputTokens:32e3},"mistral/mistral-embed":{dimensions:1024,maxInputTokens:8192},"jina/jina-embeddings-v3":{dimensions:1024,maxInputTokens:8192},"jina/jina-clip-v2":{dimensions:1024,maxInputTokens:8192},"nomic/nomic-embed-text-v1.5":{dimensions:768,maxInputTokens:8192}},r=[{id:"openai/text-embedding-3-small",label:"text-embedding-3-small",provider:"openai",dimensions:1536,maxInputTokens:8191,description:"Fast, cheap, strong general-purpose default."},{id:"openai/text-embedding-3-large",label:"text-embedding-3-large",provider:"openai",dimensions:3072,maxInputTokens:8191,description:"Highest quality OpenAI embeddings, larger vectors."},{id:"openai/text-embedding-ada-002",label:"text-embedding-ada-002",provider:"openai",dimensions:1536,maxInputTokens:8191,description:"Legacy model — kept for backward compatibility."},{id:"google/gemini-embedding-001",label:"gemini-embedding-001",provider:"google",dimensions:768,maxInputTokens:2048,description:"Gemini embedding 001."},{id:"cohere/embed-english-v3.0",label:"embed-english-v3.0",provider:"cohere",dimensions:1024,maxInputTokens:512,description:"Tuned for retrieval; great for English-heavy corpora."},{id:"cohere/embed-multilingual-v3.0",label:"embed-multilingual-v3.0",provider:"cohere",dimensions:1024,maxInputTokens:512,description:"100+ language multilingual retrieval embeddings."},{id:"voyage/voyage-3",label:"voyage-3",provider:"voyage",dimensions:1024,maxInputTokens:32e3,description:"Voyage's best general-purpose retrieval model."},{id:"voyage/voyage-3-lite",label:"voyage-3-lite",provider:"voyage",dimensions:512,maxInputTokens:32e3,description:"Optimized for latency and cost with strong performance."},{id:"voyage/voyage-code-3",label:"voyage-code-3",provider:"voyage",dimensions:1024,maxInputTokens:32e3,description:"Specialized for code retrieval tasks."},{id:"mistral/mistral-embed",label:"mistral-embed",provider:"mistral",dimensions:1024,maxInputTokens:8192,description:"Mistral's efficient embedding model for retrieval."},{id:"jina/jina-embeddings-v3",label:"jina-embeddings-v3",provider:"jina",dimensions:1024,maxInputTokens:8192,description:"Multilingual, task-specific embeddings from Jina AI."},{id:"jina/jina-clip-v2",label:"jina-clip-v2",provider:"jina",dimensions:1024,maxInputTokens:8192,description:"Multimodal embeddings for text and images."},{id:"nomic/nomic-embed-text-v1.5",label:"nomic-embed-text-v1.5",provider:"nomic",dimensions:768,maxInputTokens:8192,description:"Open-source, highly capable text embeddings."}];e.s(["EMBEDDING_DIMENSIONS",0,t,"EMBEDDING_MODELS",0,r,"getEmbeddingModel",0,function(e){return r.find(t=>t.id===e)},"getEmbeddingModelsForProvider",0,function(e,t){return"vercel_ai_gateway"===t?e:e.filter(e=>e.provider?.toLowerCase()===t.toLowerCase())},"toEmbeddingDescriptor",0,function(e){let r=t[e.id],a=e.id.split("/")[0]||e.owned_by;return{id:e.id,label:e.name||e.id.split("/").slice(1).join("/"),provider:a,dimensions:r?.dimensions??e.context_window??768,maxInputTokens:r?.maxInputTokens??e.max_tokens??2048,description:e.description||""}}])},979598,e=>{"use strict";let t={lancedb:{id:"lancedb",label:"LanceDB",description:"Embedded vector database for local development, LanceDB Cloud, or persistent S3-compatible storage such as Cloudflare R2.",runtime:"both",installStatus:"installed",docsUrl:"https://lancedb.github.io/lancedb/",serverDependencies:{"@lancedb/lancedb":"^0.30.0"},fields:[{key:"mode",label:"Mode",type:"select",required:!0,defaultValue:"local",help:"Use a local disk, LanceDB Cloud, or an S3-compatible bucket for persistent serverless deployments.",options:[{label:"Local (on-disk)",value:"local"},{label:"S3-compatible (Vercel / R2 / S3)",value:"s3"},{label:"Cloud",value:"cloud"}]},{key:"dbPath",label:"Database path",type:"path",required:!0,defaultValue:"./.larkup/lancedb",placeholder:"./.larkup/lancedb",help:"Directory where the LanceDB tables are stored.",showWhen:{key:"mode",equals:["local"]}},{key:"s3Uri",label:"Database URI",type:"text",required:!0,placeholder:"s3://my-bucket/larkup/my-server",help:"A dedicated, private bucket prefix for LanceDB table files. This is persistent across Vercel invocations.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3Endpoint",label:"S3 endpoint",type:"text",required:!1,placeholder:"https://<account-id>.r2.cloudflarestorage.com",help:"Required for Cloudflare R2 and other S3-compatible providers. Leave blank for AWS S3.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3Region",label:"Region",type:"text",required:!0,defaultValue:"auto",placeholder:"auto",help:"Use “auto” for Cloudflare R2, or your bucket region for AWS S3.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3AccessKeyId",label:"Access key ID",type:"password",required:!0,secret:!0,help:"Use an object read/write credential restricted to this bucket.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3SecretAccessKey",label:"Secret access key",type:"password",required:!0,secret:!0,help:"Stored as a deployment environment variable; never expose it in the browser.",showWhen:{key:"mode",equals:["s3"]}},{key:"uri",label:"Cloud URI",type:"text",required:!0,placeholder:"db://my-database",help:"Your LanceDB Cloud database URI.",showWhen:{key:"mode",equals:["cloud"]}},{key:"apiKey",label:"API key",type:"password",required:!0,secret:!0,placeholder:"sk_...",help:"LanceDB Cloud API key. Stored as an env var in the generated server.",showWhen:{key:"mode",equals:["cloud"]}},{key:"tableName",label:"Table name",type:"text",required:!0,defaultValue:"documents",help:"The table that holds your embedded chunks."}]},pinecone:{id:"pinecone",label:"Pinecone",description:"Fully-managed cloud vector database. Cloud-only — requires an API key and an existing index.",runtime:"cloud",installStatus:"installed",docsUrl:"https://docs.pinecone.io/",serverDependencies:{"@pinecone-database/pinecone":"^6.0.0"},fields:[{key:"apiKey",label:"API key",type:"password",required:!0,secret:!0,placeholder:"pcsk_...",help:"Pinecone API key. Stored as an env var in the generated server."},{key:"indexName",label:"Index name",type:"text",required:!0,placeholder:"rag-index",help:"Name of the Pinecone index to upsert into / query. For hybrid/lexical mode this index must use the 'dotproduct' metric."},{key:"namespace",label:"Namespace",type:"text",required:!1,placeholder:"default",help:"Optional namespace to isolate this dataset within the index."},{key:"sparseModel",label:"Sparse model",type:"text",required:!0,defaultValue:"pinecone-sparse-english-v0",help:"Pinecone-hosted sparse model used to generate keyword vectors via the Inference API. Both dense and sparse vectors are stored in the same index.",showWhenIndexType:["lexical","hybrid"]}]},weaviate:{id:"weaviate",label:"Weaviate",description:"Open-source AI-native vector database with built-in hybrid search, BM25, and multi-tenancy.",runtime:"both",installStatus:"coming-soon",docsUrl:"https://weaviate.io/developers/weaviate",serverDependencies:{weaviate:"^3.0.0"},fields:[{key:"host",label:"Host URL",type:"text",required:!0,placeholder:"https://my-cluster.weaviate.network",help:"Weaviate Cloud URL or self-hosted host address."},{key:"apiKey",label:"API key",type:"password",required:!1,secret:!0,placeholder:"weaviate-api-key",help:"Weaviate Cloud API key (optional for self-hosted)."},{key:"className",label:"Collection name",type:"text",required:!0,defaultValue:"Documents",help:"The Weaviate collection (class) that holds your embedded chunks."}]},qdrant:{id:"qdrant",label:"Qdrant",description:"High-performance vector search engine with rich filtering, built for production-scale RAG.",runtime:"both",installStatus:"coming-soon",docsUrl:"https://qdrant.tech/documentation/",serverDependencies:{"@qdrant/js-client-rest":"^1.9.0"},fields:[{key:"url",label:"Host URL",type:"text",required:!0,placeholder:"http://localhost:6333",help:"Qdrant server URL (local or Qdrant Cloud endpoint)."},{key:"apiKey",label:"API key",type:"password",required:!1,secret:!0,placeholder:"qdrant-api-key",help:"Qdrant Cloud API key (leave blank for local)."},{key:"collectionName",label:"Collection name",type:"text",required:!0,defaultValue:"documents",help:"Qdrant collection to upsert into and query."}]},chroma:{id:"chroma",label:"Chroma",description:"Open-source, developer-friendly embedding database. Great for rapid local prototyping.",runtime:"both",installStatus:"installable",docsUrl:"https://docs.trychroma.com/",serverDependencies:{chromadb:"^1.9.0"},fields:[{key:"mode",label:"Mode",type:"select",required:!0,defaultValue:"server",help:"Server connects to a self-hosted Chroma instance. Cloud connects to Chroma Cloud.",options:[{label:"Server (Self-hosted)",value:"server"},{label:"Cloud (Chroma Cloud)",value:"cloud"}]},{key:"host",label:"Server URL",type:"text",required:!0,placeholder:"http://localhost:8000",defaultValue:"http://localhost:8000",help:"Chroma server URL (local Docker or remote).",showWhen:{key:"mode",equals:["server"]}},{key:"authToken",label:"Auth Token",type:"password",required:!1,secret:!0,placeholder:"chroma-token",help:"Optional static auth token for Chroma server.",showWhen:{key:"mode",equals:["server"]}},{key:"apiKey",label:"API Key",type:"password",required:!0,secret:!0,placeholder:"sk_...",help:"Chroma Cloud API Key.",showWhen:{key:"mode",equals:["cloud"]}},{key:"tenant",label:"Tenant",type:"text",required:!0,defaultValue:"default_tenant",help:"Tenant name for Chroma Cloud.",showWhen:{key:"mode",equals:["cloud"]}},{key:"database",label:"Database",type:"text",required:!0,defaultValue:"default_database",help:"Database name for Chroma Cloud.",showWhen:{key:"mode",equals:["cloud"]}},{key:"collectionName",label:"Collection name",type:"text",required:!0,defaultValue:"documents",help:"Chroma collection to store and retrieve embeddings."}]},pgvector:{id:"pgvector",label:"pgvector",description:"PostgreSQL extension for vector similarity search. Self-host vectors alongside your relational data.",runtime:"both",installStatus:"coming-soon",docsUrl:"https://github.com/pgvector/pgvector",serverDependencies:{pg:"^8.11.0",pgvector:"^0.2.0"},fields:[{key:"connectionString",label:"Connection string",type:"password",required:!0,secret:!0,placeholder:"postgresql://user:pass@localhost:5432/db",help:"Full PostgreSQL connection string."},{key:"tableName",label:"Table name",type:"text",required:!0,defaultValue:"embeddings",help:"The table used to store vector embeddings. Created automatically if absent."}]},supabase:{id:"supabase",label:"Supabase",description:"Postgres-backed vector store via the pgvector extension with Supabase's managed infrastructure.",runtime:"cloud",installStatus:"coming-soon",docsUrl:"https://supabase.com/docs/guides/ai",serverDependencies:{"@supabase/supabase-js":"^2.43.0"},fields:[{key:"url",label:"Project URL",type:"text",required:!0,placeholder:"https://xyz.supabase.co",help:"Your Supabase project URL."},{key:"serviceKey",label:"Service role key",type:"password",required:!0,secret:!0,placeholder:"eyJhbGci...",help:"Supabase service_role key (not the anon key). Stored as an env var."},{key:"tableName",label:"Table name",type:"text",required:!0,defaultValue:"documents",help:"Supabase table with a vector column for embeddings."}]}};Object.values(t),e.s(["getVectorStore",0,function(e){return t[e]},"validateStoreConfig",0,function(e,t,r){let a={};for(let n of e.fields.filter(e=>{if(e.showWhen){let r=t[e.showWhen.key]??"";if(!e.showWhen.equals.includes(r))return!1}return!e.showWhenIndexType||!r||!!e.showWhenIndexType.includes(r)}))n.required&&!t[n.key]?.trim()&&(a[n.key]=`${n.label} is required`);return a}])},585071,e=>{"use strict";var t=e.i(192441);async function r(r,a){let n={...r.storeConfig},o=await (0,t.getActiveServer)(),i=o?.id;if(i){let e=i.replace(/[^a-zA-Z0-9_-]/g,"_");"pinecone"===r.vectorStore?n.namespace=i:"chroma"===r.vectorStore?n.collectionName=`documents_${e}`:"lancedb"!==r.vectorStore&&r.vectorStore||(n.tableName=`documents_${e}`)}switch(r.vectorStore){case"pinecone":{let{PineconeAdapter:t}=await e.A(77149);return new t({apiKey:n.apiKey,indexName:n.indexName,namespace:n.namespace,sparseModel:n.sparseModel,indexType:r.indexType,onRateLimit:a})}case"chroma":{let{ChromaAdapter:t}=await e.A(195059);return new t({mode:n.mode,host:n.host,authToken:n.authToken,apiKey:n.apiKey,tenant:n.tenant,database:n.database,collectionName:n.collectionName,indexType:r.indexType})}default:{let{LanceDBAdapter:t}=await e.A(184904);return new t({mode:n.mode,dbPath:n.dbPath,uri:n.uri,apiKey:n.apiKey,s3Uri:n.s3Uri,s3Endpoint:n.s3Endpoint,s3Region:n.s3Region,s3AccessKeyId:n.s3AccessKeyId,s3SecretAccessKey:n.s3SecretAccessKey,tableName:n.tableName})}}}e.s(["createAdapter",0,r])},489694,e=>{"use strict";var t=e.i(902157),r=e.i(750227),a=e.i(192441);let n=Promise.resolve();function o(e){let t=n.then(e,e);return n=t.catch(()=>{}),t}async function i(e){let t=e?await (0,a.requireDataDir)():await (0,a.getDataDir)();return t?r.default.join(t,"index-run.json"):null}async function s(){let e=await i(!1);if(!e)return null;try{let r=await t.promises.readFile(e,"utf8");return JSON.parse(r)}catch{return null}}async function l(){let e=await s();return!!(e&&("chunking"===e.status||"embedding"===e.status||"upserting"===e.status))}e.s(["claimRun",0,function(e){return o(async()=>{let r=await s();if(r&&("chunking"===r.status||"embedding"===r.status||"upserting"===r.status))throw Error("An indexing run is already in progress.");let a=await i(!0),n={...e,updatedAt:new Date().toISOString()};return a&&await t.promises.writeFile(a,JSON.stringify(n,null,2),"utf8"),n})},"isRunning",0,l,"patchRun",0,function(e,r){return o(async()=>{let a=await s();if(!a||r&&a.id!==r)return null;let n={...a,...e,updatedAt:new Date().toISOString()},o=await i(!0);return o&&await t.promises.writeFile(o,JSON.stringify(n,null,2),"utf8"),n})},"readRun",0,s])},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},688947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},660526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},811917,(e,t,r)=>{t.exports=e.x("dockerode-2f9c00396d72a1e4",()=>require("dockerode-2f9c00396d72a1e4"))},983131,778923,e=>{"use strict";var t=e.i(811917),r=e.i(902157),a=e.i(750227),n=e.i(660526),o=e.i(666680);let i="larkup-sandbox:latest",s="/sandbox/output",l=a.default.join({get url(){return`file://${e.P("packages/sandbox/dist/docker-runner.js")}`}}.dirname??"/ROOT/packages/sandbox/dist",".."),d=null;function c(){return d||(d=new t.default),d}async function u(){let e=c();try{let t=await e.version(),r=await e.listImages({filters:{reference:[i]}});return{status:r.length>0?"ready":"image-not-found",backend:"docker",dockerVersion:t.Version,imageReady:r.length>0}}catch(e){return{status:"docker-not-found",backend:"docker",error:e.message??"Docker daemon not available"}}}async function p(e){let t=c(),n=a.default.join(l,"Dockerfile");try{await r.promises.access(n)}catch{throw Error(`Sandbox Dockerfile not found at ${n}. Ensure the @larkup/sandbox package is properly installed.`)}e?.("Building sandbox image…");let o=await t.buildImage({context:l,src:["Dockerfile"]},{t:i});await new Promise((r,a)=>{t.modem.followProgress(o,e=>{e?a(e):r()},t=>{t.stream&&e?.(t.stream.trim())})}),e?.("Sandbox image built successfully ✓")}async function m(){let e=c();if((await e.listImages({filters:{reference:[i]}})).length>0)return!0;try{return await p(),!0}catch{return!1}}async function f(e,t){let i,l,d=c(),u=Date.now(),p=a.default.join(n.default.tmpdir(),`larkup-sandbox-${(0,o.randomUUID)()}`),m=a.default.join(p,"input"),f=a.default.join(p,"output");if(await r.promises.mkdir(m,{recursive:!0}),await r.promises.mkdir(f,{recursive:!0}),e.files)for(let t of e.files){let e=a.default.join(m,t.name);t.isBase64?await r.promises.writeFile(e,Buffer.from(t.content,"base64")):await r.promises.writeFile(e,t.content,"utf8")}if("python"===e.language){var h;h=e.code,i=`
57
+ - End with a one-sentence synthesis if appropriate, avoiding filler words.`;e.s(["DEFAULT_CONFIG",0,i,"DEFAULT_DEPLOYMENT_CONFIG",0,{type:"rag-only",authMode:"none",enabledToolIds:[],widgetStyle:{primaryColor:"#000000",position:"bottom-right",title:"Chat with AI",welcomeMessage:"Hi! How can I help you today?",placeholder:"Type a message...",darkMode:!1,borderRadius:"lg"},allowedOrigins:["*"]},"DEFAULT_SYSTEM_PROMPT",0,s],638725);let l=r.default.join(process.cwd(),".larkup"),d=r.default.join(l,"servers"),c=r.default.join(l,"workspace.json"),u={username:null,activeServerId:null,servers:[],mode:null},p=new n.AsyncLocalStorage,m=Promise.resolve();function f(e){let t=m.then(e,e);return m=t.catch(()=>{}),t}async function h(e){return await x(),f(async()=>e(await v()??u))}function g(e){return r.default.join(d,e)}function y(e,t){return`./.larkup/servers/${e}/${t}`}async function b(e){try{return await t.promises.access(e),!0}catch{return!1}}async function w(e,a){if(await b(e)){await t.promises.mkdir(r.default.dirname(a),{recursive:!0});try{await t.promises.rename(e,a)}catch{await t.promises.cp(e,a,{recursive:!0}),await t.promises.rm(e,{recursive:!0,force:!0})}}}async function v(){try{let e=await t.promises.readFile(c,"utf8");return{...u,...JSON.parse(e)}}catch{return null}}async function k(e){return await t.promises.mkdir(l,{recursive:!0}),await t.promises.writeFile(c,JSON.stringify(e,null,2),"utf8"),e}async function x(){let e=await v();return e||f(S)}async function S(){let e=await v();if(e)return e;if(!await b(r.default.join(l,"config.json")))return k(u);let n=(0,a.randomUUID)(),o=g(n);for(let e of(await t.promises.mkdir(o,{recursive:!0}),["config.json","documents.json","jobs.json","index-run.json","server-local.json"]))await w(r.default.join(l,e),r.default.join(o,e));await w(r.default.join(l,"lancedb"),r.default.join(o,"lancedb")),await w(r.default.join(l,"generated-server"),r.default.join(o,"generated-server"));let i="Default server";try{let e=r.default.join(o,"config.json"),a=JSON.parse(await t.promises.readFile(e,"utf8"));a.projectName&&(i=a.projectName),"lancedb"===a.vectorStore&&(a.storeConfig?.mode??"local")==="local"&&(a.storeConfig={...a.storeConfig,dbPath:y(n,"lancedb")}),await t.promises.writeFile(e,JSON.stringify(a,null,2),"utf8")}catch{}let s=new Date().toISOString(),d={id:n,name:i,port:8080,createdAt:s,updatedAt:s};return k({username:null,activeServerId:n,servers:[d],mode:null})}async function _(){let e=await x(),t=p.getStore()?.serverId??e.activeServerId;return t?e.servers.find(e=>e.id===t)??null:null}async function A(){let e=await _();if(!e)return null;let r=g(e.id);return await t.promises.mkdir(r,{recursive:!0}),r}async function T(){let e=await A();if(e)return e;let t=p.getStore()?.serverId;if(t)throw Error(`Server "${t}" no longer exists.`);let{server:r}=await O("my-larkup");return g(r.id)}async function I(e){return new Promise(t=>{let r=o.default.createServer();r.once("error",()=>t(!1)),r.once("listening",()=>{r.close(()=>t(!0))}),r.listen(e,"127.0.0.1")})}async function D(e){let t=Math.max(8079,...e.servers.map(e=>e.port))+1;for(;!await I(t);)t++;return t}function O(e){return h(async n=>{let o=(0,a.randomUUID)(),s=new Date().toISOString(),l={id:o,name:e.trim()||"Untitled server",port:await D(n),createdAt:s,updatedAt:s},d=g(o);await t.promises.mkdir(d,{recursive:!0});let c={};if(n.activeServerId)try{let e=await t.promises.readFile(r.default.join(g(n.activeServerId),"config.json"),"utf8");c=JSON.parse(e)}catch{}await t.promises.writeFile(r.default.join(d,"config.json"),JSON.stringify(function(e,t,r={}){return{...i,projectName:t.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"my-larkup",storeConfig:{mode:"local",dbPath:y(e,"lancedb")},embeddingApiKey:r.embeddingApiKey??i.embeddingApiKey,customEmbeddings:r.customEmbeddings??i.customEmbeddings,chatApiKey:r.chatApiKey??i.chatApiKey,customChatModels:r.customChatModels??i.customChatModels,serperApiKey:r.serperApiKey??i.serperApiKey,firecrawlApiKey:r.firecrawlApiKey??i.firecrawlApiKey,updatedAt:new Date().toISOString()}}(o,l.name,c),null,2),"utf8");let u={...n,servers:[...n.servers,l],activeServerId:o};return await k(u),{workspace:u,server:l}})}e.s(["createServer",0,O,"deleteServer",0,function(e){return h(async r=>{let a=r.servers.filter(t=>t.id!==e),n=r.activeServerId===e?a[0]?.id??null:r.activeServerId;return await t.promises.rm(g(e),{recursive:!0,force:!0}),k({...r,servers:a,activeServerId:n})})},"getActiveServer",0,_,"getDataDir",0,A,"getWorkspace",0,x,"renameServer",0,function(e,t){return h(async r=>{let a=r.servers.map(r=>r.id===e?{...r,name:t.trim()||r.name,updatedAt:new Date().toISOString()}:r);return k({...r,servers:a})})},"requireDataDir",0,T,"runWithServer",0,function(e,t){return p.run({serverId:e},t)},"setActiveServer",0,function(e){return h(async t=>t.servers.some(t=>t.id===e)?k({...t,activeServerId:e}):t)},"setMode",0,function(e){return h(async t=>k({...t,mode:e}))},"setUsername",0,function(e){return h(async t=>k({...t,username:e.trim()||null}))}],192441)},367165,e=>{"use strict";var t=e.i(902157),r=e.i(750227),a=e.i(638725),n=e.i(192441);async function o(){let e=await (0,n.getDataDir)();if(!e)return a.DEFAULT_CONFIG;try{let n=await t.promises.readFile(r.default.join(e,"config.json"),"utf8"),o=JSON.parse(n),i=o.customEmbeddings,s=o.embeddingModelId;if(o.customEmbedding&&!i?.length){let e=o.customEmbedding;i=[e],"custom"===s&&(s=`custom:${e.modelName}`)}let l={...a.DEFAULT_CONFIG,...o,embeddingModelId:s??a.DEFAULT_CONFIG.embeddingModelId,customEmbeddings:i,chunking:{...a.DEFAULT_CONFIG.chunking,...o.chunking},storeConfig:{...a.DEFAULT_CONFIG.storeConfig,...o.storeConfig}};return delete l.customEmbedding,l}catch{return a.DEFAULT_CONFIG}}async function i(e){let a=await (0,n.requireDataDir)(),o={...e,updatedAt:new Date().toISOString()};return await t.promises.writeFile(r.default.join(a,"config.json"),JSON.stringify(o,null,2),"utf8"),o}e.s(["readConfig",0,o,"writeConfig",0,i])},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},310470,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={VercelOidcTokenError:()=>c};for(var d in l)a(s,d,{get:l[d],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||a(e,s,{get:()=>t[s],enumerable:!(r=n(t,s))||r.enumerable});return e})(a({},"__esModule",{value:!0}),s);class c extends Error{constructor(e,t){super(e),this.name="VercelOidcTokenError",this.cause=t}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},33015,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={AccessTokenMissingError:()=>c,RefreshAccessTokenFailedError:()=>u};for(var d in l)a(s,d,{get:l[d],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||a(e,s,{get:()=>t[s],enumerable:!(r=n(t,s))||r.enumerable});return e})(a({},"__esModule",{value:!0}),s);class c extends Error{constructor(){super("No authentication found. Please log in with the Vercel CLI (vercel login)."),this.name="AccessTokenMissingError"}}class u extends Error{constructor(e){super("Failed to refresh authentication token.",{cause:e}),this.name="RefreshAccessTokenFailedError"}}},250216,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,d=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(a=o(t,s))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(s(e)):{},d(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),u={},p={findRootDir:()=>b,getUserDataDir:()=>w};for(var m in p)n(u,m,{get:p[m],enumerable:!0});t.exports=d(n({},"__esModule",{value:!0}),u);var f=c(e.r(814747)),h=c(e.r(522734)),g=c(e.r(446786)),y=e.r(310470);function b(){try{let e=process.cwd();for(;e!==f.default.dirname(e);){let t=f.default.join(e,".vercel");if(h.default.existsSync(t))return e;e=f.default.dirname(e)}}catch(e){throw new y.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function w(){if(process.env.XDG_DATA_HOME)return process.env.XDG_DATA_HOME;switch(g.default.platform()){case"darwin":return f.default.join(g.default.homedir(),"Library/Application Support");case"linux":return f.default.join(g.default.homedir(),".local/share");case"win32":if(process.env.LOCALAPPDATA)return process.env.LOCALAPPDATA;return null;default:return null}}},775427,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,d=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(a=o(t,s))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(s(e)):{},d(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),u={},p={isValidAccessToken:()=>v,readAuthConfig:()=>b,writeAuthConfig:()=>w};for(var m in p)n(u,m,{get:p[m],enumerable:!0});t.exports=d(n({},"__esModule",{value:!0}),u);var f=c(e.r(522734)),h=c(e.r(814747)),g=e.r(65048);function y(){let e=(0,g.getVercelDataDir)();if(!e)throw Error(`Unable to find Vercel CLI data directory. Your platform: ${process.platform}. Supported: darwin, linux, win32.`);return h.join(e,"auth.json")}function b(){try{let e=y();if(!f.existsSync(e))return null;let t=f.readFileSync(e,"utf8");if(!t)return null;return JSON.parse(t)}catch(e){return null}}function w(e){let t=y(),r=h.dirname(t);f.existsSync(r)||f.mkdirSync(r,{mode:504,recursive:!0}),f.writeFileSync(t,JSON.stringify(e,null,2),{mode:384})}function v(e,t=0){if(!e.token)return!1;if("number"!=typeof e.expiresAt)return!0;let r=Math.floor(Date.now()/1e3);return e.expiresAt>=r+t/1e3}},371746,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={processTokenResponse:()=>h,refreshTokenRequest:()=>f};for(var d in l)a(s,d,{get:l[d],enumerable:!0});t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||a(e,s,{get:()=>t[s],enumerable:!(r=n(t,s))||r.enumerable});return e})(a({},"__esModule",{value:!0}),s);var c=e.r(446786);let u=`@vercel/oidc node-${process.version} ${(0,c.platform)()} (${(0,c.arch)()}) ${(0,c.hostname)()}`,p=null;async function m(){if(p)return p;let e=await fetch("https://vercel.com/.well-known/openid-configuration",{headers:{"user-agent":u}});if(!e.ok)throw Error("Failed to discover OAuth endpoints");let t=await e.json();if(!t||"string"!=typeof t.token_endpoint)throw Error("Invalid OAuth discovery response");let r=t.token_endpoint;return p=r,r}async function f(e){let t=await m();return await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":u},body:new URLSearchParams({client_id:"cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",grant_type:"refresh_token",...e})})}async function h(e){let t=await e.json();return e.ok?"object"!=typeof t||null===t?[Error("Invalid token response")]:"string"!=typeof t.access_token?[Error("Missing access_token in response")]:"Bearer"!==t.token_type?[Error("Invalid token_type in response")]:"number"!=typeof t.expires_in?[Error("Missing expires_in in response")]:[null,t]:[Error("object"==typeof t&&t&&"error"in t?String(t.error):"Token refresh failed")]}},65048,(e,t,r)=>{"use strict";var a=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,d=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))l.call(e,s)||s===r||n(e,s,{get:()=>t[s],enumerable:!(a=o(t,s))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(s(e)):{},d(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),u={},p={assertVercelOidcTokenResponse:()=>_,findProjectInfo:()=>A,getTokenPayload:()=>D,getVercelDataDir:()=>k,getVercelOidcToken:()=>S,getVercelToken:()=>x,isExpired:()=>O,loadToken:()=>I,saveToken:()=>T};for(var m in p)n(u,m,{get:p[m],enumerable:!0});t.exports=d(n({},"__esModule",{value:!0}),u);var f=c(e.r(814747)),h=c(e.r(522734)),g=e.r(310470),y=e.r(250216),b=e.r(775427),w=e.r(371746),v=e.r(33015);function k(){let e=(0,y.getUserDataDir)();return e?f.join(e,"com.vercel.cli"):null}async function x(e){let t=(0,b.readAuthConfig)();if(!t?.token)throw new v.AccessTokenMissingError;if((0,b.isValidAccessToken)(t,e?.expirationBufferMs))return t.token;if(!t.refreshToken)throw(0,b.writeAuthConfig)({}),new v.RefreshAccessTokenFailedError("No refresh token available");try{let e=await (0,w.refreshTokenRequest)({refresh_token:t.refreshToken}),[r,a]=await (0,w.processTokenResponse)(e);if(r||!a)throw(0,b.writeAuthConfig)({}),new v.RefreshAccessTokenFailedError(r);let n={token:a.access_token,expiresAt:Math.floor(Date.now()/1e3)+a.expires_in};return a.refresh_token&&(n.refreshToken=a.refresh_token),(0,b.writeAuthConfig)(n),n.token}catch(e){if((0,b.writeAuthConfig)({}),e instanceof v.AccessTokenMissingError||e instanceof v.RefreshAccessTokenFailedError)throw e;throw new v.RefreshAccessTokenFailedError(e)}}async function S(e,t,r){let a=`https://api.vercel.com/v1/projects/${t}/token?source=vercel-oidc-refresh${r?`&teamId=${r}`:""}`,n=await fetch(a,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!n.ok)throw new g.VercelOidcTokenError(`Failed to refresh OIDC token: ${n.statusText}`);let o=await n.json();return _(o),o}function _(e){if(!e||"object"!=typeof e)throw TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in e)||"string"!=typeof e.token)throw TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function A(){let e=(0,y.findRootDir)();if(!e)throw new g.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");let t=f.join(e,".vercel","project.json");if(!h.existsSync(t))throw new g.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");let r=JSON.parse(h.readFileSync(t,"utf8"));if("string"!=typeof r.projectId&&"string"!=typeof r.orgId)throw TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:r.projectId,teamId:r.orgId}}function T(e,t){let r=(0,y.getUserDataDir)();if(!r)throw new g.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let a=f.join(r,"com.vercel.token",`${t}.json`),n=JSON.stringify(e);h.mkdirSync(f.dirname(a),{mode:504,recursive:!0}),h.writeFileSync(a,n),h.chmodSync(a,432)}function I(e){let t=(0,y.getUserDataDir)();if(!t)throw new g.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");let r=f.join(t,"com.vercel.token",`${e}.json`);if(!h.existsSync(r))return null;let a=JSON.parse(h.readFileSync(r,"utf8"));return _(a),a}function D(e){let t=e.split(".");if(3!==t.length)throw new g.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),a=r.padEnd(r.length+(4-r.length%4)%4,"=");return JSON.parse(Buffer.from(a,"base64").toString("utf8"))}function O(e,t=0){return 1e3*e.exp<Date.now()+t}},705252,e=>{"use strict";var t=e.i(902157),r=e.i(750227),a=e.i(666680),n=e.i(192441);let o=Promise.resolve();function i(e){let t=o.then(e,e);return o=t.catch(()=>{}),t}async function s(e){let t=e?await (0,n.requireDataDir)():await (0,n.getDataDir)();return t?r.default.join(t,"documents.json"):null}async function l(){let e=await s(!1);if(!e)return[];try{let r=await t.promises.readFile(e,"utf8"),a=JSON.parse(r);if(!Array.isArray(a))throw Error(`Invalid document store at ${e}: expected a JSON array.`);return a}catch(e){if(e?.code==="ENOENT")return[];throw e}}async function d(e){let n=await s(!0);if(!n)return;let o=r.default.join(r.default.dirname(n),`.${r.default.basename(n)}.${process.pid}.${(0,a.randomUUID)()}.tmp`);try{await t.promises.writeFile(o,JSON.stringify(e,null,2),"utf8"),await t.promises.rename(o,n)}catch(e){throw await t.promises.unlink(o).catch(()=>{}),e}}function c(e){let t=e.content.trim();return{id:e.id??(0,a.randomUUID)(),title:e.title.trim()||"Untitled",url:e.url,source:e.source,content:t,charCount:t.length,jobId:e.jobId,metadata:e.metadata,status:"unindexed",createdAt:new Date().toISOString()}}async function u(){let e=await l(),t=e.reduce((e,t)=>e+t.charCount,0);return{docCount:e.length,charCount:t,bySource:e.reduce((e,t)=>(e[t.source]=(e[t.source]??0)+1,e),{})}}e.s(["addCrawledDocuments",0,function(e,t){return i(async()=>{let r=await l(),a=new Set(r.filter(e=>e.url).map(e=>e.url)),n=0;for(let o of t)!(o.url&&a.has(o.url))&&o.content.trim()&&(r.push(c({...o,jobId:e})),o.url&&a.add(o.url),n++);return n>0&&await d(r),n})},"addDocument",0,function(e){return i(async()=>{let t=await l(),r=c(e);return t.push(r),await d(t),r})},"addDocuments",0,function(e){return i(async()=>{if(0===e.length)return[];let t=await l(),r=e.map(c);return t.push(...r),await d(t),r})},"clearDocuments",0,function(){return i(async()=>{await d([])})},"corpusStats",0,u,"deleteDocument",0,function(e){return i(async()=>{let t=await l();await d(t.filter(t=>t.id!==e))})},"deleteDocuments",0,function(e){return i(async()=>{let t=await l(),r=new Set(e);await d(t.filter(e=>!r.has(e.id)))})},"readDocuments",0,l,"replaceDocuments",0,function(e){return i(async()=>{let t=new Date().toISOString();await d(e.map(e=>({...e,status:"unindexed",createdAt:e.createdAt||t})))})},"updateDocument",0,function(e,t){return i(async()=>{let r=await l(),a=r.findIndex(t=>t.id===e);if(a<0)return;let n=r[a],o=void 0!==t.content?t.content.trim():n.content,i={...n,title:void 0!==t.title?t.title.trim()||"Untitled":n.title,content:o,charCount:o.length,url:void 0!==t.url?t.url||void 0:n.url,metadata:void 0!==t.metadata?t.metadata:n.metadata,status:"unindexed"};return r[a]=i,await d(r),i})},"updateDocumentsStatus",0,function(e,t){return i(async()=>{let r=await l(),a=new Set(e),n=!1;for(let e of r)a.has(e.id)&&(e.status=t,n=!0);n&&await d(r)})}])},399828,e=>{"use strict";let t={"openai/text-embedding-3-small":{dimensions:1536,maxInputTokens:8191},"openai/text-embedding-3-large":{dimensions:3072,maxInputTokens:8191},"openai/text-embedding-ada-002":{dimensions:1536,maxInputTokens:8191},"google/gemini-embedding-2":{dimensions:768,maxInputTokens:2048},"google/gemini-embedding-001":{dimensions:768,maxInputTokens:2048},"cohere/embed-english-v3.0":{dimensions:1024,maxInputTokens:512},"cohere/embed-multilingual-v3.0":{dimensions:1024,maxInputTokens:512},"voyage/voyage-3":{dimensions:1024,maxInputTokens:32e3},"voyage/voyage-3-lite":{dimensions:512,maxInputTokens:32e3},"voyage/voyage-code-3":{dimensions:1024,maxInputTokens:32e3},"mistral/mistral-embed":{dimensions:1024,maxInputTokens:8192},"jina/jina-embeddings-v3":{dimensions:1024,maxInputTokens:8192},"jina/jina-clip-v2":{dimensions:1024,maxInputTokens:8192},"nomic/nomic-embed-text-v1.5":{dimensions:768,maxInputTokens:8192}},r=[{id:"openai/text-embedding-3-small",label:"text-embedding-3-small",provider:"openai",dimensions:1536,maxInputTokens:8191,description:"Fast, cheap, strong general-purpose default."},{id:"openai/text-embedding-3-large",label:"text-embedding-3-large",provider:"openai",dimensions:3072,maxInputTokens:8191,description:"Highest quality OpenAI embeddings, larger vectors."},{id:"openai/text-embedding-ada-002",label:"text-embedding-ada-002",provider:"openai",dimensions:1536,maxInputTokens:8191,description:"Legacy model — kept for backward compatibility."},{id:"google/gemini-embedding-001",label:"gemini-embedding-001",provider:"google",dimensions:768,maxInputTokens:2048,description:"Gemini embedding 001."},{id:"cohere/embed-english-v3.0",label:"embed-english-v3.0",provider:"cohere",dimensions:1024,maxInputTokens:512,description:"Tuned for retrieval; great for English-heavy corpora."},{id:"cohere/embed-multilingual-v3.0",label:"embed-multilingual-v3.0",provider:"cohere",dimensions:1024,maxInputTokens:512,description:"100+ language multilingual retrieval embeddings."},{id:"voyage/voyage-3",label:"voyage-3",provider:"voyage",dimensions:1024,maxInputTokens:32e3,description:"Voyage's best general-purpose retrieval model."},{id:"voyage/voyage-3-lite",label:"voyage-3-lite",provider:"voyage",dimensions:512,maxInputTokens:32e3,description:"Optimized for latency and cost with strong performance."},{id:"voyage/voyage-code-3",label:"voyage-code-3",provider:"voyage",dimensions:1024,maxInputTokens:32e3,description:"Specialized for code retrieval tasks."},{id:"mistral/mistral-embed",label:"mistral-embed",provider:"mistral",dimensions:1024,maxInputTokens:8192,description:"Mistral's efficient embedding model for retrieval."},{id:"jina/jina-embeddings-v3",label:"jina-embeddings-v3",provider:"jina",dimensions:1024,maxInputTokens:8192,description:"Multilingual, task-specific embeddings from Jina AI."},{id:"jina/jina-clip-v2",label:"jina-clip-v2",provider:"jina",dimensions:1024,maxInputTokens:8192,description:"Multimodal embeddings for text and images."},{id:"nomic/nomic-embed-text-v1.5",label:"nomic-embed-text-v1.5",provider:"nomic",dimensions:768,maxInputTokens:8192,description:"Open-source, highly capable text embeddings."}];e.s(["EMBEDDING_DIMENSIONS",0,t,"EMBEDDING_MODELS",0,r,"getEmbeddingModel",0,function(e){return r.find(t=>t.id===e)},"getEmbeddingModelsForProvider",0,function(e,t){return"vercel_ai_gateway"===t?e:e.filter(e=>e.provider?.toLowerCase()===t.toLowerCase())},"toEmbeddingDescriptor",0,function(e){let r=t[e.id],a=e.id.split("/")[0]||e.owned_by;return{id:e.id,label:e.name||e.id.split("/").slice(1).join("/"),provider:a,dimensions:r?.dimensions??e.context_window??768,maxInputTokens:r?.maxInputTokens??e.max_tokens??2048,description:e.description||""}}])},979598,e=>{"use strict";let t={lancedb:{id:"lancedb",label:"LanceDB",description:"Embedded vector database for local development, LanceDB Cloud, or persistent S3-compatible storage such as Cloudflare R2.",runtime:"both",installStatus:"installed",docsUrl:"https://lancedb.github.io/lancedb/",serverDependencies:{"@lancedb/lancedb":"^0.30.0"},fields:[{key:"mode",label:"Mode",type:"select",required:!0,defaultValue:"local",help:"Use a local disk, LanceDB Cloud, or an S3-compatible bucket for persistent serverless deployments.",options:[{label:"Local (on-disk)",value:"local"},{label:"S3-compatible (Vercel / R2 / S3)",value:"s3"},{label:"Cloud",value:"cloud"}]},{key:"dbPath",label:"Database path",type:"path",required:!0,defaultValue:"./.larkup/lancedb",placeholder:"./.larkup/lancedb",help:"Directory where the LanceDB tables are stored.",showWhen:{key:"mode",equals:["local"]}},{key:"s3Uri",label:"Database URI",type:"text",required:!0,placeholder:"s3://my-bucket/larkup/my-server",help:"A dedicated, private bucket prefix for LanceDB table files. This is persistent across Vercel invocations.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3Endpoint",label:"S3 endpoint",type:"text",required:!1,placeholder:"https://<account-id>.r2.cloudflarestorage.com",help:"Required for Cloudflare R2 and other S3-compatible providers. Leave blank for AWS S3.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3Region",label:"Region",type:"text",required:!0,defaultValue:"auto",placeholder:"auto",help:"Use “auto” for Cloudflare R2, or your bucket region for AWS S3.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3AccessKeyId",label:"Access key ID",type:"password",required:!0,secret:!0,help:"Use an object read/write credential restricted to this bucket.",showWhen:{key:"mode",equals:["s3"]}},{key:"s3SecretAccessKey",label:"Secret access key",type:"password",required:!0,secret:!0,help:"Stored as a deployment environment variable; never expose it in the browser.",showWhen:{key:"mode",equals:["s3"]}},{key:"uri",label:"Cloud URI",type:"text",required:!0,placeholder:"db://my-database",help:"Your LanceDB Cloud database URI.",showWhen:{key:"mode",equals:["cloud"]}},{key:"apiKey",label:"API key",type:"password",required:!0,secret:!0,placeholder:"sk_...",help:"LanceDB Cloud API key. Stored as an env var in the generated server.",showWhen:{key:"mode",equals:["cloud"]}},{key:"tableName",label:"Table name",type:"text",required:!0,defaultValue:"documents",help:"The table that holds your embedded chunks."}]},pinecone:{id:"pinecone",label:"Pinecone",description:"Fully-managed cloud vector database. Cloud-only — requires an API key and an existing index.",runtime:"cloud",installStatus:"installed",docsUrl:"https://docs.pinecone.io/",serverDependencies:{"@pinecone-database/pinecone":"^6.0.0"},fields:[{key:"apiKey",label:"API key",type:"password",required:!0,secret:!0,placeholder:"pcsk_...",help:"Pinecone API key. Stored as an env var in the generated server."},{key:"indexName",label:"Index name",type:"text",required:!0,placeholder:"rag-index",help:"Name of the Pinecone index to upsert into / query. For hybrid/lexical mode this index must use the 'dotproduct' metric."},{key:"namespace",label:"Namespace",type:"text",required:!1,placeholder:"default",help:"Optional namespace to isolate this dataset within the index."},{key:"sparseModel",label:"Sparse model",type:"text",required:!0,defaultValue:"pinecone-sparse-english-v0",help:"Pinecone-hosted sparse model used to generate keyword vectors via the Inference API. Both dense and sparse vectors are stored in the same index.",showWhenIndexType:["lexical","hybrid"]}]},weaviate:{id:"weaviate",label:"Weaviate",description:"Open-source AI-native vector database with built-in hybrid search, BM25, and multi-tenancy.",runtime:"both",installStatus:"coming-soon",docsUrl:"https://weaviate.io/developers/weaviate",serverDependencies:{weaviate:"^3.0.0"},fields:[{key:"host",label:"Host URL",type:"text",required:!0,placeholder:"https://my-cluster.weaviate.network",help:"Weaviate Cloud URL or self-hosted host address."},{key:"apiKey",label:"API key",type:"password",required:!1,secret:!0,placeholder:"weaviate-api-key",help:"Weaviate Cloud API key (optional for self-hosted)."},{key:"className",label:"Collection name",type:"text",required:!0,defaultValue:"Documents",help:"The Weaviate collection (class) that holds your embedded chunks."}]},qdrant:{id:"qdrant",label:"Qdrant",description:"High-performance vector search engine with rich filtering, built for production-scale RAG.",runtime:"both",installStatus:"coming-soon",docsUrl:"https://qdrant.tech/documentation/",serverDependencies:{"@qdrant/js-client-rest":"^1.9.0"},fields:[{key:"url",label:"Host URL",type:"text",required:!0,placeholder:"http://localhost:6333",help:"Qdrant server URL (local or Qdrant Cloud endpoint)."},{key:"apiKey",label:"API key",type:"password",required:!1,secret:!0,placeholder:"qdrant-api-key",help:"Qdrant Cloud API key (leave blank for local)."},{key:"collectionName",label:"Collection name",type:"text",required:!0,defaultValue:"documents",help:"Qdrant collection to upsert into and query."}]},chroma:{id:"chroma",label:"Chroma",description:"Open-source, developer-friendly embedding database. Great for rapid local prototyping.",runtime:"both",installStatus:"installable",docsUrl:"https://docs.trychroma.com/",serverDependencies:{chromadb:"^1.9.0"},fields:[{key:"mode",label:"Mode",type:"select",required:!0,defaultValue:"server",help:"Server connects to a self-hosted Chroma instance. Cloud connects to Chroma Cloud.",options:[{label:"Server (Self-hosted)",value:"server"},{label:"Cloud (Chroma Cloud)",value:"cloud"}]},{key:"host",label:"Server URL",type:"text",required:!0,placeholder:"http://localhost:8000",defaultValue:"http://localhost:8000",help:"Chroma server URL (local Docker or remote).",showWhen:{key:"mode",equals:["server"]}},{key:"authToken",label:"Auth Token",type:"password",required:!1,secret:!0,placeholder:"chroma-token",help:"Optional static auth token for Chroma server.",showWhen:{key:"mode",equals:["server"]}},{key:"apiKey",label:"API Key",type:"password",required:!0,secret:!0,placeholder:"sk_...",help:"Chroma Cloud API Key.",showWhen:{key:"mode",equals:["cloud"]}},{key:"tenant",label:"Tenant",type:"text",required:!0,defaultValue:"default_tenant",help:"Tenant name for Chroma Cloud.",showWhen:{key:"mode",equals:["cloud"]}},{key:"database",label:"Database",type:"text",required:!0,defaultValue:"default_database",help:"Database name for Chroma Cloud.",showWhen:{key:"mode",equals:["cloud"]}},{key:"collectionName",label:"Collection name",type:"text",required:!0,defaultValue:"documents",help:"Chroma collection to store and retrieve embeddings."}]},pgvector:{id:"pgvector",label:"pgvector",description:"PostgreSQL extension for vector similarity search. Self-host vectors alongside your relational data.",runtime:"both",installStatus:"coming-soon",docsUrl:"https://github.com/pgvector/pgvector",serverDependencies:{pg:"^8.11.0",pgvector:"^0.2.0"},fields:[{key:"connectionString",label:"Connection string",type:"password",required:!0,secret:!0,placeholder:"postgresql://user:pass@localhost:5432/db",help:"Full PostgreSQL connection string."},{key:"tableName",label:"Table name",type:"text",required:!0,defaultValue:"embeddings",help:"The table used to store vector embeddings. Created automatically if absent."}]},supabase:{id:"supabase",label:"Supabase",description:"Postgres-backed vector store via the pgvector extension with Supabase's managed infrastructure.",runtime:"cloud",installStatus:"coming-soon",docsUrl:"https://supabase.com/docs/guides/ai",serverDependencies:{"@supabase/supabase-js":"^2.43.0"},fields:[{key:"url",label:"Project URL",type:"text",required:!0,placeholder:"https://xyz.supabase.co",help:"Your Supabase project URL."},{key:"serviceKey",label:"Service role key",type:"password",required:!0,secret:!0,placeholder:"eyJhbGci...",help:"Supabase service_role key (not the anon key). Stored as an env var."},{key:"tableName",label:"Table name",type:"text",required:!0,defaultValue:"documents",help:"Supabase table with a vector column for embeddings."}]}};Object.values(t),e.s(["getVectorStore",0,function(e){return t[e]},"validateStoreConfig",0,function(e,t,r){let a={};for(let n of e.fields.filter(e=>{if(e.showWhen){let r=t[e.showWhen.key]??"";if(!e.showWhen.equals.includes(r))return!1}return!e.showWhenIndexType||!r||!!e.showWhenIndexType.includes(r)}))n.required&&!t[n.key]?.trim()&&(a[n.key]=`${n.label} is required`);return a}])},585071,e=>{"use strict";var t=e.i(192441);async function r(r,a){let n={...r.storeConfig},o=await (0,t.getActiveServer)(),i=o?.id;if(i){let e=i.replace(/[^a-zA-Z0-9_-]/g,"_");"pinecone"===r.vectorStore?n.namespace=i:"chroma"===r.vectorStore?n.collectionName=`documents_${e}`:"lancedb"!==r.vectorStore&&r.vectorStore||(n.tableName=`documents_${e}`)}switch(r.vectorStore){case"pinecone":{let{PineconeAdapter:t}=await e.A(77149);return new t({apiKey:n.apiKey,indexName:n.indexName,namespace:n.namespace,sparseModel:n.sparseModel,indexType:r.indexType,onRateLimit:a})}case"chroma":{let{ChromaAdapter:t}=await e.A(195059);return new t({mode:n.mode,host:n.host,authToken:n.authToken,apiKey:n.apiKey,tenant:n.tenant,database:n.database,collectionName:n.collectionName,indexType:r.indexType})}default:{let{LanceDBAdapter:t}=await e.A(184904);return new t({mode:n.mode,dbPath:n.dbPath,uri:n.uri,apiKey:n.apiKey,s3Uri:n.s3Uri,s3Endpoint:n.s3Endpoint,s3Region:n.s3Region,s3AccessKeyId:n.s3AccessKeyId,s3SecretAccessKey:n.s3SecretAccessKey,tableName:n.tableName})}}}e.s(["createAdapter",0,r])},489694,e=>{"use strict";var t=e.i(902157),r=e.i(750227),a=e.i(192441);let n=Promise.resolve();function o(e){let t=n.then(e,e);return n=t.catch(()=>{}),t}async function i(e){let t=e?await (0,a.requireDataDir)():await (0,a.getDataDir)();return t?r.default.join(t,"index-run.json"):null}async function s(){let e=await i(!1);if(!e)return null;try{let r=await t.promises.readFile(e,"utf8");return JSON.parse(r)}catch{return null}}async function l(){let e=await s();return!!(e&&("chunking"===e.status||"embedding"===e.status||"upserting"===e.status))}e.s(["claimRun",0,function(e){return o(async()=>{let r=await s();if(r&&("chunking"===r.status||"embedding"===r.status||"upserting"===r.status))throw Error("An indexing run is already in progress.");let a=await i(!0),n={...e,updatedAt:new Date().toISOString()};return a&&await t.promises.writeFile(a,JSON.stringify(n,null,2),"utf8"),n})},"isRunning",0,l,"patchRun",0,function(e,r){return o(async()=>{let a=await s();if(!a||r&&a.id!==r)return null;let n={...a,...e,updatedAt:new Date().toISOString()},o=await i(!0);return o&&await t.promises.writeFile(o,JSON.stringify(n,null,2),"utf8"),n})},"readRun",0,s])},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},688947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},660526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},811917,(e,t,r)=>{t.exports=e.x("dockerode-2f9c00396d72a1e4",()=>require("dockerode-2f9c00396d72a1e4"))},983131,778923,e=>{"use strict";var t=e.i(811917),r=e.i(902157),a=e.i(750227),n=e.i(660526),o=e.i(666680);let i="larkup-sandbox:latest",s="/sandbox/output",l=a.default.join({get url(){return`file://${e.P("packages/sandbox/dist/docker-runner.js")}`}}.dirname??"/ROOT/packages/sandbox/dist",".."),d=null;function c(){return d||(d=new t.default),d}async function u(){let e=c();try{let t=await e.version(),r=await e.listImages({filters:{reference:[i]}});return{status:r.length>0?"ready":"image-not-found",backend:"docker",dockerVersion:t.Version,imageReady:r.length>0}}catch(e){return{status:"docker-not-found",backend:"docker",error:e.message??"Docker daemon not available"}}}async function p(e){let t=c(),n=a.default.join(l,"Dockerfile");try{await r.promises.access(n)}catch{throw Error(`Sandbox Dockerfile not found at ${n}. Ensure the @larkup/sandbox package is properly installed.`)}e?.("Building sandbox image…");let o=await t.buildImage({context:l,src:["Dockerfile"]},{t:i});await new Promise((r,a)=>{t.modem.followProgress(o,e=>{e?a(e):r()},t=>{t.stream&&e?.(t.stream.trim())})}),e?.("Sandbox image built successfully ✓")}async function m(){let e=c();if((await e.listImages({filters:{reference:[i]}})).length>0)return!0;try{return await p(),!0}catch{return!1}}async function f(e,t){let i,l,d=c(),u=Date.now(),p=a.default.join(n.default.tmpdir(),`larkup-sandbox-${(0,o.randomUUID)()}`),m=a.default.join(p,"input"),f=a.default.join(p,"output");if(await r.promises.mkdir(m,{recursive:!0}),await r.promises.mkdir(f,{recursive:!0}),e.files)for(let t of e.files){let e=a.default.join(m,t.name);t.isBase64?await r.promises.writeFile(e,Buffer.from(t.content,"base64")):await r.promises.writeFile(e,t.content,"utf8")}if("python"===e.language){var h;h=e.code,i=`
58
58
  import sys, os, json, traceback
59
59
 
60
60
  # Ensure output directory exists