khoj 1.23.4.dev2__py3-none-any.whl → 1.23.4.dev3__py3-none-any.whl
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.
- khoj/interface/compiled/404/index.html +1 -1
- khoj/interface/compiled/_next/static/chunks/app/agents/page-f41c3b57b5bfc0bd.js +1 -0
- khoj/interface/compiled/_next/static/chunks/{webpack-e58184a46ce22845.js → webpack-95cfd7a1948cfeed.js} +1 -1
- khoj/interface/compiled/agents/index.html +1 -1
- khoj/interface/compiled/agents/index.txt +2 -2
- khoj/interface/compiled/automations/index.html +1 -1
- khoj/interface/compiled/automations/index.txt +1 -1
- khoj/interface/compiled/chat/index.html +1 -1
- khoj/interface/compiled/chat/index.txt +1 -1
- khoj/interface/compiled/factchecker/index.html +1 -1
- khoj/interface/compiled/factchecker/index.txt +1 -1
- khoj/interface/compiled/index.html +1 -1
- khoj/interface/compiled/index.txt +1 -1
- khoj/interface/compiled/search/index.html +1 -1
- khoj/interface/compiled/search/index.txt +1 -1
- khoj/interface/compiled/settings/index.html +1 -1
- khoj/interface/compiled/settings/index.txt +1 -1
- khoj/interface/compiled/share/chat/index.html +1 -1
- khoj/interface/compiled/share/chat/index.txt +1 -1
- {khoj-1.23.4.dev2.dist-info → khoj-1.23.4.dev3.dist-info}/METADATA +1 -1
- {khoj-1.23.4.dev2.dist-info → khoj-1.23.4.dev3.dist-info}/RECORD +26 -26
- khoj/interface/compiled/_next/static/chunks/app/agents/page-2258ba773c9e3a1f.js +0 -1
- /khoj/interface/compiled/_next/static/{9hIDCDKKkWBBJbSJE76GP → spANMOcAS4N0KrnEMGnPd}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{9hIDCDKKkWBBJbSJE76GP → spANMOcAS4N0KrnEMGnPd}/_ssgManifest.js +0 -0
- {khoj-1.23.4.dev2.dist-info → khoj-1.23.4.dev3.dist-info}/WHEEL +0 -0
- {khoj-1.23.4.dev2.dist-info → khoj-1.23.4.dev3.dist-info}/entry_points.txt +0 -0
- {khoj-1.23.4.dev2.dist-info → khoj-1.23.4.dev3.dist-info}/licenses/LICENSE +0 -0
@@ -100,17 +100,15 @@ khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvt
|
|
100
100
|
khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
|
101
101
|
khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
|
102
102
|
khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
|
103
|
-
khoj/interface/compiled/index.html,sha256=
|
104
|
-
khoj/interface/compiled/index.txt,sha256=
|
103
|
+
khoj/interface/compiled/index.html,sha256=sr8pUnnhgkxc3aY8QVWqx8d8gFyfGUnWX5tKcNuBQXY,12063
|
104
|
+
khoj/interface/compiled/index.txt,sha256=sWbfvNSNZgvhHNGCQACA7-QrBSnB-_NtXKd0jNsbnsM,5573
|
105
105
|
khoj/interface/compiled/khoj.webmanifest,sha256=lsknYkvEdMbRTOUYKXPM_8krN2gamJmM4u3qj8u9lrU,1682
|
106
106
|
khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
|
107
107
|
khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
|
108
108
|
khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
|
109
109
|
khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
|
110
110
|
khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
|
111
|
-
khoj/interface/compiled/404/index.html,sha256=
|
112
|
-
khoj/interface/compiled/_next/static/9hIDCDKKkWBBJbSJE76GP/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
113
|
-
khoj/interface/compiled/_next/static/9hIDCDKKkWBBJbSJE76GP/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
111
|
+
khoj/interface/compiled/404/index.html,sha256=LT9Gg7FSWVwLDcvH4rOm0-IuFcM8BQHjT8AjmSJkI44,11971
|
114
112
|
khoj/interface/compiled/_next/static/chunks/121-7024f479c297aef0.js,sha256=CcRT2AArGYTo7Orl5w69nrnMqdI_EmyEP_YqIj3FU1c,20952
|
115
113
|
khoj/interface/compiled/_next/static/chunks/1603-d643510c2c0b8871.js,sha256=SKxa9jPMNO33VjLdqLn5LGmC3tXi8B2JassbGujI2yA,71166
|
116
114
|
khoj/interface/compiled/_next/static/chunks/2697-9bc8f835a3c24342.js,sha256=jWYS6xgAPOBZ2wXY5i8O3r0qElmWtMSbPCW2DOeqGBA,6922
|
@@ -135,12 +133,12 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
|
|
135
133
|
khoj/interface/compiled/_next/static/chunks/main-175c164f5e0f026c.js,sha256=hlUnjERudON4V4kUKprrFz1e9JRtSp4A9i7vnM-1bzA,110324
|
136
134
|
khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=i52E7sWOcSq1G8eYZL3mtTxbUbwRNxcAbSWQ6uWpMsY,475
|
137
135
|
khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
138
|
-
khoj/interface/compiled/_next/static/chunks/webpack-
|
136
|
+
khoj/interface/compiled/_next/static/chunks/webpack-95cfd7a1948cfeed.js,sha256=RT53Os4eeSrtNd6oq78iDSlIfVAu4RaGdrYjvSfckaU,3721
|
139
137
|
khoj/interface/compiled/_next/static/chunks/app/layout-f3e40d346da53112.js,sha256=nekGSUVbvB81OfqGgJa2UoDmbxPhNwFwtc4o11O_1jI,442
|
140
138
|
khoj/interface/compiled/_next/static/chunks/app/page-a31799b4c4b78da6.js,sha256=2ccuoYU3YL8p83Uw80kLg-Yq-6VkD3Adb5vpdq0aSYI,28930
|
141
139
|
khoj/interface/compiled/_next/static/chunks/app/_not-found/page-07ff4ab42b07845e.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
|
142
140
|
khoj/interface/compiled/_next/static/chunks/app/agents/layout-e71c8e913cccf792.js,sha256=VyIMrkvntFObMzXF-elNtngJ8mBdjg8XrOGfboJ2f_4,372
|
143
|
-
khoj/interface/compiled/_next/static/chunks/app/agents/page-
|
141
|
+
khoj/interface/compiled/_next/static/chunks/app/agents/page-f41c3b57b5bfc0bd.js,sha256=vy7wcFuIRdkI9ebUnJTpdUXEE-XIjxlX0JHxCMYaupM,18104
|
144
142
|
khoj/interface/compiled/_next/static/chunks/app/automations/layout-27c28e923c9b1ff0.js,sha256=d2vJ_lVB0pfeFXNUPzHAe1ca5NzdNowHPh___SPqugM,5143
|
145
143
|
khoj/interface/compiled/_next/static/chunks/app/automations/page-e0bedd962fcfa0dd.js,sha256=N3rTBcyU6oJWpvhOAAyrtUrhHkBm-UseI_8fcj8E_wM,34472
|
146
144
|
khoj/interface/compiled/_next/static/chunks/app/chat/layout-8102549127db3067.js,sha256=YIoA3fqOBt8nKWw5iQAwA_avg2t1Q5Afn65IA5PBOz4,374
|
@@ -236,8 +234,10 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
|
|
236
234
|
khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
|
237
235
|
khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
|
238
236
|
khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
|
239
|
-
khoj/interface/compiled/
|
240
|
-
khoj/interface/compiled/
|
237
|
+
khoj/interface/compiled/_next/static/spANMOcAS4N0KrnEMGnPd/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
238
|
+
khoj/interface/compiled/_next/static/spANMOcAS4N0KrnEMGnPd/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
239
|
+
khoj/interface/compiled/agents/index.html,sha256=2BYEeyVOAzEh9677YMRihLNuq1481mgTYSjRimzbI8U,12415
|
240
|
+
khoj/interface/compiled/agents/index.txt,sha256=gicj83cWuzDc62UzwwEowKN-KBfaabBk1nwEqpTUMLE,5954
|
241
241
|
khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
|
242
242
|
khoj/interface/compiled/assets/icons/khoj_lantern_128x128.png,sha256=aTxivDb3CYyThkVZWz8A19xl_dNut5DbkXhODWF3A9Q,5640
|
243
243
|
khoj/interface/compiled/assets/icons/khoj_lantern_256x256.png,sha256=xPCMLHiaL7lYOdQLZrKwWE-Qjn5ZaysSZB0ScYv4UZU,12312
|
@@ -248,18 +248,18 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
|
|
248
248
|
khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
|
249
249
|
khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
|
250
250
|
khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
|
251
|
-
khoj/interface/compiled/automations/index.html,sha256=
|
252
|
-
khoj/interface/compiled/automations/index.txt,sha256=
|
253
|
-
khoj/interface/compiled/chat/index.html,sha256=
|
254
|
-
khoj/interface/compiled/chat/index.txt,sha256=
|
255
|
-
khoj/interface/compiled/factchecker/index.html,sha256=
|
256
|
-
khoj/interface/compiled/factchecker/index.txt,sha256=
|
257
|
-
khoj/interface/compiled/search/index.html,sha256=
|
258
|
-
khoj/interface/compiled/search/index.txt,sha256=
|
259
|
-
khoj/interface/compiled/settings/index.html,sha256=
|
260
|
-
khoj/interface/compiled/settings/index.txt,sha256=
|
261
|
-
khoj/interface/compiled/share/chat/index.html,sha256=
|
262
|
-
khoj/interface/compiled/share/chat/index.txt,sha256=
|
251
|
+
khoj/interface/compiled/automations/index.html,sha256=VxHGfIHhoYW58L9wSJl3E5B18OhJD8Y2KOR_-Tv6UnI,30832
|
252
|
+
khoj/interface/compiled/automations/index.txt,sha256=w1jElg2_MoBzfiunMJIwCnQiw9vQpzAt0s2Ltz7KK84,5592
|
253
|
+
khoj/interface/compiled/chat/index.html,sha256=0NCqdtrnNrIGbiQvSM3Yq-x11VBfcHHTcPB0-UCx3GY,13871
|
254
|
+
khoj/interface/compiled/chat/index.txt,sha256=ZO4QONgj5TAJ60HM9TrsznJwr-lmCqgPZNbV0pC_j-k,6539
|
255
|
+
khoj/interface/compiled/factchecker/index.html,sha256=IiTTClQwVacoCknDvjsa3tRBi_dtLMnzwCC8pYyLuog,29990
|
256
|
+
khoj/interface/compiled/factchecker/index.txt,sha256=CHohfKD63X8ooDrvX9_Kowfc2QfLGcv8cBEzGP0VOgo,5793
|
257
|
+
khoj/interface/compiled/search/index.html,sha256=0ZJpEiCHlyTyxEoaYQM3sMJzMlhd_jgxUcV5Jaep6lI,30178
|
258
|
+
khoj/interface/compiled/search/index.txt,sha256=uxRr0A2sz9_SOpW2PXRgB-UBUUdAVYTfQQuAiGLznUc,5261
|
259
|
+
khoj/interface/compiled/settings/index.html,sha256=O6toJurFLThH_zoxVBMHDgR42PRbXhj5QMKHElRurpE,12851
|
260
|
+
khoj/interface/compiled/settings/index.txt,sha256=aClNassn0C88K9Da-PFh3ykn4aeWEjKdbf5BgDSjwqk,6085
|
261
|
+
khoj/interface/compiled/share/chat/index.html,sha256=Uo1ffKpBBvH7N0yJu-nKD4JdieU7cRlO8N_0Mu-ClHU,15201
|
262
|
+
khoj/interface/compiled/share/chat/index.txt,sha256=tGXgaGodpZcQ82_31JTC_C5KIbBhN-z9L3E7JOGGl8E,7357
|
263
263
|
khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
|
264
264
|
khoj/interface/email/magic_link.html,sha256=EoGKQucfPj3xQrWXhSZAzPFOYCHF_ZX94TWCd1XHl1M,941
|
265
265
|
khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
|
@@ -365,8 +365,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
|
365
365
|
khoj/utils/rawconfig.py,sha256=BKicp6kEBax7h76YRYgyFAUpfWHAI5m9ZJ2HVqyh45Y,3983
|
366
366
|
khoj/utils/state.py,sha256=x4GTewP1YhOA6c_32N4wOjnV-3AA3xG_qbY1-wC2Uxc,1559
|
367
367
|
khoj/utils/yaml.py,sha256=H0mfw0ZvBFUvFmCQn8pWkfxdmIebsrSykza7D8Wv6wQ,1430
|
368
|
-
khoj-1.23.4.
|
369
|
-
khoj-1.23.4.
|
370
|
-
khoj-1.23.4.
|
371
|
-
khoj-1.23.4.
|
372
|
-
khoj-1.23.4.
|
368
|
+
khoj-1.23.4.dev3.dist-info/METADATA,sha256=ai4J1XcQEt5d6CjfZ6hqxTPr8wtkvNYrjM89TCxZAPg,6768
|
369
|
+
khoj-1.23.4.dev3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
370
|
+
khoj-1.23.4.dev3.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
371
|
+
khoj-1.23.4.dev3.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
372
|
+
khoj-1.23.4.dev3.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9718],{1813:function(e,a,t){Promise.resolve().then(t.bind(t,87529))},87529:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return R}});var n=t(57437),r=t(15283),l=t.n(r),s=t(66648),o=t(29039),c=t(2265),i=t(79306),d=t(50495),h=t(19666),u=t(52195);let m=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M230.14,25.86a20,20,0,0,0-19.57-5.11l-.22.07L18.44,79a20,20,0,0,0-3.06,37.25L99,157l40.71,83.65a19.81,19.81,0,0,0,18,11.38c.57,0,1.15,0,1.73-.07A19.82,19.82,0,0,0,177,237.56L235.18,45.65a1.42,1.42,0,0,0,.07-.22A20,20,0,0,0,230.14,25.86ZM156.91,221.07l-34.37-70.64,46-45.95a12,12,0,0,0-17-17l-46,46L34.93,99.09,210,46Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M223.69,42.18l-58.22,192a8,8,0,0,1-14.92,1.25L108,148,20.58,105.45a8,8,0,0,1,1.25-14.92l192-58.22A8,8,0,0,1,223.69,42.18Z",opacity:"0.2"}),c.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M225.88,30.12a13.83,13.83,0,0,0-13.7-3.58l-.11,0L20.14,84.77A14,14,0,0,0,18,110.85l85.56,41.64L145.12,238a13.87,13.87,0,0,0,12.61,8c.4,0,.81,0,1.21-.05a13.9,13.9,0,0,0,12.29-10.09l58.2-191.93,0-.11A13.83,13.83,0,0,0,225.88,30.12Zm-8,10.4L159.73,232.43l0,.11a2,2,0,0,1-3.76.26l-40.68-83.58,49-49a6,6,0,1,0-8.49-8.49l-49,49L23.15,100a2,2,0,0,1,.31-3.74l.11,0L215.48,38.08a1.94,1.94,0,0,1,1.92.52A2,2,0,0,1,217.92,40.52Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M224.47,31.52a11.87,11.87,0,0,0-11.82-3L20.74,86.67a12,12,0,0,0-1.91,22.38L105,151l41.92,86.15A11.88,11.88,0,0,0,157.74,244c.34,0,.69,0,1,0a11.89,11.89,0,0,0,10.52-8.63l58.21-192,0-.08A11.85,11.85,0,0,0,224.47,31.52Zm-4.62,9.54-58.23,192a4,4,0,0,1-7.48.59l-41.3-84.86,50-50a4,4,0,1,0-5.66-5.66l-50,50-84.9-41.31a3.88,3.88,0,0,1-2.27-4,3.93,3.93,0,0,1,3-3.54L214.9,36.16A3.93,3.93,0,0,1,216,36a4,4,0,0,1,2.79,1.19A3.93,3.93,0,0,1,219.85,41.06Z"}))]]);var g=Object.defineProperty,p=Object.defineProperties,f=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,b=(e,a,t)=>a in e?g(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,w=(e,a)=>{for(var t in a||(a={}))j.call(a,t)&&b(e,t,a[t]);if(x)for(var t of x(a))v.call(a,t)&&b(e,t,a[t]);return e},y=(e,a)=>p(e,f(a));let N=(0,c.forwardRef)((e,a)=>c.createElement(u.Z,y(w({ref:a},e),{weights:m})));N.displayName="PaperPlaneTilt";var L=t(35418),E=t(64945),Z=t(36013),A=t(90837),O=t(7951),M=t(66820),k=t(58485),P=t(48861),_=t(89417),F=t(58575),z=t(47412),C=t(69591);async function V(e,a){let t="/login?next=/agents?agent=".concat(e);if(!a){window.location.href=t;return}let n=await fetch("/api/chat/sessions?agent_slug=".concat(e),{method:"POST"}),r=await n.json();200==n.status?window.location.href="/chat?conversationId=".concat(r.conversation_id):403==n.status||401==n.status?window.location.href=t:alert("Failed to start chat session")}let S=()=>window.fetch("/api/agents").then(e=>e.json()).catch(e=>console.log(e));function H(e){let a=new URLSearchParams(window.location.search).get("agent"),[t,r]=(0,c.useState)(a===e.data.slug),[o,i]=(0,c.useState)(!1),h=e.userProfile;t&&window.history.pushState({},"Khoj AI - Agent ".concat(e.data.slug),"/agents?agent=".concat(e.data.slug));let u=(0,F.oz)(e.data.color);return(0,n.jsxs)(Z.Zb,{className:"shadow-sm bg-gradient-to-b from-white 20% to-".concat(e.data.color?e.data.color:"gray","-100/50 dark:from-[hsl(var(--background))] dark:to-").concat(e.data.color?e.data.color:"gray","-950/50 rounded-xl hover:shadow-md"),children:[o&&(0,n.jsx)(M.Z,{loginRedirectMessage:"Sign in to start chatting with ".concat(e.data.name),onOpenChange:i}),(0,n.jsx)(Z.Ol,{children:(0,n.jsx)(Z.ll,{children:e.isMobileWidth?(0,n.jsxs)(O.dy,{open:t,onOpenChange:e=>{r(e),window.history.pushState({},"Khoj AI - Agents","/agents")},children:[(0,n.jsx)(O.Qz,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,_.T)(e.data.icon,e.data.color)||(0,n.jsx)(s.default,{src:e.data.avatar,alt:e.data.name,width:50,height:50}),e.data.name]})}),(0,n.jsx)("div",{className:"float-right",children:e.userProfile?(0,n.jsx)(d.z,{className:"bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100",onClick:()=>V(e.data.slug,h),children:(0,n.jsx)(N,{className:"w-6 h-6 ".concat((0,F.oz)(e.data.color))})}):(0,n.jsx)(d.z,{className:"bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm",onClick:()=>i(!0),children:(0,n.jsx)(N,{className:"w-6 h-6 ".concat((0,F.oz)(e.data.color))})})}),(0,n.jsxs)(O.sc,{className:"whitespace-pre-line p-2",children:[(0,n.jsxs)(O.OX,{children:[(0,n.jsx)(O.iI,{children:e.data.name}),(0,n.jsx)(O.u6,{children:"Full Prompt"})]}),e.data.persona,(0,n.jsx)(O.ze,{children:(0,n.jsx)(O.uh,{children:"Done"})})]})]}):(0,n.jsxs)(A.Vq,{open:t,onOpenChange:()=>{r(!t),window.history.pushState({},"Khoj AI - Agents","/agents")},children:[(0,n.jsx)(A.hg,{children:(0,n.jsxs)("div",{className:"flex items-center relative top-2",children:[(0,_.T)(e.data.icon,e.data.color)||(0,n.jsx)(s.default,{src:e.data.avatar,alt:e.data.name,width:50,height:50}),e.data.name]})}),(0,n.jsx)("div",{className:"float-right",children:e.userProfile?(0,n.jsx)(d.z,{className:"bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900",onClick:()=>V(e.data.slug,h),children:(0,n.jsx)(N,{className:"w-6 h-6 ".concat((0,F.oz)(e.data.color))})}):(0,n.jsx)(d.z,{className:"bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900",onClick:()=>i(!0),children:(0,n.jsx)(N,{className:"w-6 h-6 ".concat((0,F.oz)(e.data.color))})})}),(0,n.jsxs)(A.cZ,{className:"whitespace-pre-line max-h-[80vh]",children:[(0,n.jsx)(A.fK,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,_.T)(e.data.icon,e.data.color)||(0,n.jsx)(s.default,{src:e.data.avatar,alt:e.data.name,width:32,height:50}),(0,n.jsx)("p",{className:"font-bold text-lg",children:e.data.name})]})}),(0,n.jsx)("div",{className:"max-h-[60vh] overflow-y-scroll text-neutral-500 dark:text-white",children:e.data.persona}),(0,n.jsx)(A.cN,{children:(0,n.jsxs)(d.z,{className:"pt-6 pb-6 ".concat(u," bg-white dark:bg-[hsl(var(--background))] text-neutral-500 dark:text-white border-2 border-stone-100 shadow-sm rounded-xl hover:bg-stone-100 dark:hover:bg-neutral-900 dark:border-neutral-700"),onClick:()=>{V(e.data.slug,h),r(!1)},children:[(0,n.jsx)(N,{className:"w-6 h-6 m-2 ".concat((0,F.oz)(e.data.color))}),"Start Chatting"]})})]})]})})}),(0,n.jsx)(Z.aY,{children:(0,n.jsx)("div",{className:l().agentPersonality,children:(0,n.jsx)("button",{className:"".concat(l().infoButton," text-neutral-500 dark:text-white"),onClick:()=>r(!0),children:(0,n.jsx)("p",{children:e.data.persona})})})})]})}function R(){let{data:e,error:a}=(0,o.ZP)("agents",S,{revalidateOnFocus:!1}),t=(0,i.G)(),[r,s]=(0,c.useState)(!1),d=(0,C.IC)();return a?(0,n.jsxs)("main",{className:l().main,children:[(0,n.jsx)("div",{className:"".concat(l().titleBar," text-5xl"),children:"Agents"}),(0,n.jsx)("div",{className:l().agentList,children:"Error loading agents"})]}):e?(0,n.jsx)("main",{className:"w-full mx-auto",children:(0,n.jsxs)("div",{className:"grid w-full mx-auto",children:[(0,n.jsx)("div",{className:"".concat(l().sidePanel," top-0"),children:(0,n.jsx)(P.ZP,{conversationId:null,uploadedFiles:[],isMobileWidth:d})}),(0,n.jsxs)("div",{className:"".concat(l().pageLayout," w-full"),children:[(0,n.jsxs)("div",{className:"pt-6 md:pt-8 flex justify-between",children:[(0,n.jsx)("h1",{className:"text-3xl flex items-center",children:"Agents"}),(0,n.jsx)("div",{className:"ml-auto float-right border p-2 pt-3 rounded-xl font-bold hover:bg-stone-100 dark:hover:bg-neutral-900",children:(0,n.jsx)(h.pn,{children:(0,n.jsxs)(h.u,{children:[(0,n.jsx)(h.aJ,{children:(0,n.jsxs)("div",{className:"flex flex-row",children:[(0,n.jsx)(L.v,{className:"pr-2 w-6 h-6"}),(0,n.jsx)("p",{className:"pr-2",children:"Create Agent"})]})}),(0,n.jsx)(h._v,{children:(0,n.jsx)("p",{children:"Coming Soon!"})})]})})})]}),r&&(0,n.jsx)(M.Z,{loginRedirectMessage:"Sign in to start chatting with a specialized agent",onOpenChange:s}),(0,n.jsx)(z.bZ,{className:"bg-secondary border-none my-4",children:(0,n.jsxs)(z.X,{children:[(0,n.jsx)(E.B,{weight:"fill",className:"h-4 w-4 text-purple-400 inline"}),(0,n.jsx)("span",{className:"font-bold",children:"How it works"})," Use any of these specialized personas to tune your conversation to your needs."]})}),(0,n.jsx)("div",{className:"".concat(l().agentList),children:e.map(e=>(0,n.jsx)(H,{data:e,userProfile:t,isMobileWidth:d},e.slug))})]})]})}):(0,n.jsx)("main",{className:l().main,children:(0,n.jsxs)("div",{className:l().agentList,children:[(0,n.jsx)(k.l,{})," booting up your agents"]})})}},66820:function(e,a,t){"use strict";t.d(a,{Z:function(){return s}});var n=t(57437),r=t(6780),l=t(87138);function s(e){return(0,n.jsx)(r.aR,{open:!0,onOpenChange:e.onOpenChange,children:(0,n.jsxs)(r._T,{children:[(0,n.jsx)(r.fY,{children:(0,n.jsx)(r.f$,{children:"Sign in to Khoj to continue"})}),(0,n.jsxs)(r.yT,{children:[e.loginRedirectMessage,". By logging in, you agree to our"," ",(0,n.jsx)(l.default,{href:"https://khoj.dev/terms-of-service",children:"Terms of Service."})]}),(0,n.jsxs)(r.xo,{children:[(0,n.jsx)(r.le,{children:"Dismiss"}),(0,n.jsx)(r.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>{window.location.href="/login?next=".concat(encodeURIComponent(window.location.pathname))},children:(0,n.jsxs)(l.default,{href:"/login?next=".concat(encodeURIComponent(window.location.pathname)),children:[" ","Login"]})})]})]})})}},47412:function(e,a,t){"use strict";t.d(a,{X:function(){return i},bZ:function(){return c}});var n=t(57437),r=t(2265),l=t(12218),s=t(37440);let o=(0,l.j)("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),c=r.forwardRef((e,a)=>{let{className:t,variant:r,...l}=e;return(0,n.jsx)("div",{ref:a,role:"alert",className:(0,s.cn)(o({variant:r}),t),...l})});c.displayName="Alert",r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)("h5",{ref:a,className:(0,s.cn)("mb-1 font-medium leading-none tracking-tight",t),...r})}).displayName="AlertTitle";let i=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)("div",{ref:a,className:(0,s.cn)("text-sm [&_p]:leading-relaxed",t),...r})});i.displayName="AlertDescription"},19666:function(e,a,t){"use strict";t.d(a,{_v:function(){return d},aJ:function(){return i},pn:function(){return o},u:function(){return c}});var n=t(57437),r=t(2265),l=t(27071),s=t(37440);let o=l.zt,c=l.fC,i=l.xz,d=r.forwardRef((e,a)=>{let{className:t,sideOffset:r=4,...o}=e;return(0,n.jsx)(l.VY,{ref:a,sideOffset:r,className:(0,s.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})});d.displayName=l.VY.displayName},27158:function(e,a,t){"use strict";function n(e){let{src:a,width:t,quality:n}=e;return a.startsWith("http")?a:(a.startsWith("/")&&(a=a.slice(1)),"/static/".concat(a))}t.r(a),t.d(a,{default:function(){return n}})},15283:function(e){e.exports={titleBar:"agents_titleBar__FzYbY",agentPersonality:"agents_agentPersonality__o0Ysz",pageLayout:"agents_pageLayout__gR3S3",sidePanel:"agents_sidePanel__wGVGc",infoButton:"agents_infoButton__NqI7E",agentList:"agents_agentList__XVx4A"}},64945:function(e,a,t){"use strict";t.d(a,{B:function(){return p}});var n=t(2265),r=t(52195);let l=new Map([["bold",n.createElement(n.Fragment,null,n.createElement("path",{d:"M219.71,117.38a12,12,0,0,0-7.25-8.52L161.28,88.39l10.59-70.61a12,12,0,0,0-20.64-10l-112,120a12,12,0,0,0,4.31,19.33l51.18,20.47L84.13,238.22a12,12,0,0,0,20.64,10l112-120A12,12,0,0,0,219.71,117.38ZM113.6,203.55l6.27-41.77a12,12,0,0,0-7.41-12.92L68.74,131.37,142.4,52.45l-6.27,41.77a12,12,0,0,0,7.41,12.92l43.72,17.49Z"}))],["duotone",n.createElement(n.Fragment,null,n.createElement("path",{d:"M96,240l16-80L48,136,160,16,144,96l64,24Z",opacity:"0.2"}),n.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["fill",n.createElement(n.Fragment,null,n.createElement("path",{d:"M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z"}))],["light",n.createElement(n.Fragment,null,n.createElement("path",{d:"M213.84,118.63a6,6,0,0,0-3.73-4.25L150.88,92.17l15-75a6,6,0,0,0-10.27-5.27l-112,120a6,6,0,0,0,2.28,9.71l59.23,22.21-15,75a6,6,0,0,0,3.14,6.52A6.07,6.07,0,0,0,96,246a6,6,0,0,0,4.39-1.91l112-120A6,6,0,0,0,213.84,118.63ZM106,220.46l11.85-59.28a6,6,0,0,0-3.77-6.8l-55.6-20.85,91.46-98L138.12,94.82a6,6,0,0,0,3.77,6.8l55.6,20.85Z"}))],["regular",n.createElement(n.Fragment,null,n.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["thin",n.createElement(n.Fragment,null,n.createElement("path",{d:"M211.89,119.09a4,4,0,0,0-2.49-2.84l-60.81-22.8,15.33-76.67a4,4,0,0,0-6.84-3.51l-112,120a4,4,0,0,0-1,3.64,4,4,0,0,0,2.49,2.84l60.81,22.8L92.08,239.22a4,4,0,0,0,6.84,3.51l112-120A4,4,0,0,0,211.89,119.09ZM102.68,227l13.24-66.2a4,4,0,0,0-2.52-4.53L55,134.36,153.32,29l-13.24,66.2a4,4,0,0,0,2.52,4.53L201,121.64Z"}))]]);var s=Object.defineProperty,o=Object.defineProperties,c=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(e,a,t)=>a in e?s(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,m=(e,a)=>{for(var t in a||(a={}))d.call(a,t)&&u(e,t,a[t]);if(i)for(var t of i(a))h.call(a,t)&&u(e,t,a[t]);return e},g=(e,a)=>o(e,c(a));let p=(0,n.forwardRef)((e,a)=>n.createElement(r.Z,g(m({ref:a},e),{weights:l})));p.displayName="Lightning"},35418:function(e,a,t){"use strict";t.d(a,{v:function(){return p}});var n=t(2265),r=t(52195);let l=new Map([["bold",n.createElement(n.Fragment,null,n.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",n.createElement(n.Fragment,null,n.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),n.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",n.createElement(n.Fragment,null,n.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",n.createElement(n.Fragment,null,n.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",n.createElement(n.Fragment,null,n.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",n.createElement(n.Fragment,null,n.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]);var s=Object.defineProperty,o=Object.defineProperties,c=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(e,a,t)=>a in e?s(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,m=(e,a)=>{for(var t in a||(a={}))d.call(a,t)&&u(e,t,a[t]);if(i)for(var t of i(a))h.call(a,t)&&u(e,t,a[t]);return e},g=(e,a)=>o(e,c(a));let p=(0,n.forwardRef)((e,a)=>n.createElement(r.Z,g(m({ref:a},e),{weights:l})));p.displayName="Plus"}},function(e){e.O(0,[647,9001,3062,743,7071,6648,1603,9417,2971,7023,1744],function(){return e(e.s=1813)}),_N_E=e.O()}]);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|