khoj 1.28.4.dev1__py3-none-any.whl → 1.28.4.dev7__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/database/adapters/__init__.py +4 -0
- khoj/interface/compiled/404/index.html +1 -1
- khoj/interface/compiled/_next/static/chunks/8423-f4976d6bda964f96.js +1 -0
- khoj/interface/compiled/_next/static/chunks/{webpack-2b720658ccc746f2.js → webpack-363358fa8ff3d0b2.js} +1 -1
- khoj/interface/compiled/_next/static/css/{ddcc0cf73e062476.css → 798b0de12852bd20.css} +1 -1
- khoj/interface/compiled/agents/index.html +1 -1
- khoj/interface/compiled/agents/index.txt +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- khoj/processor/content/org_mode/orgnode.py +1 -1
- khoj/processor/conversation/anthropic/anthropic_chat.py +2 -0
- khoj/processor/conversation/google/utils.py +3 -1
- {khoj-1.28.4.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/METADATA +1 -1
- {khoj-1.28.4.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/RECORD +31 -31
- khoj/interface/compiled/_next/static/chunks/8423-e80647edf6c92c27.js +0 -1
- /khoj/interface/compiled/_next/static/{BD90eXsUILH_Va7NEgMdJ → JfCnAJYWMXkmMgbWQv1u3}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{BD90eXsUILH_Va7NEgMdJ → JfCnAJYWMXkmMgbWQv1u3}/_ssgManifest.js +0 -0
- {khoj-1.28.4.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/WHEEL +0 -0
- {khoj-1.28.4.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/entry_points.txt +0 -0
- {khoj-1.28.4.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/licenses/LICENSE +0 -0
@@ -11,7 +11,7 @@ khoj/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
khoj/database/admin.py,sha256=8eMQrfv4SoNubjW-O2mIUvhSVuKTlJ3KGwdmV8aJ6nQ,9548
|
12
12
|
khoj/database/apps.py,sha256=pM4tkX5Odw4YW_hLLKK8Nd5kqGddf1en0oMCea44RZw,153
|
13
13
|
khoj/database/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
14
|
-
khoj/database/adapters/__init__.py,sha256=
|
14
|
+
khoj/database/adapters/__init__.py,sha256=JZNJF34Z4QYKHcvwBwXY5S92pbJaiHBKSOS1-r2wQZ4,67031
|
15
15
|
khoj/database/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
khoj/database/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
khoj/database/management/commands/change_default_model.py,sha256=HkFQOI-2rFjlu7YiulyRcTrITzSzXmY4WiV2hBmml0w,5209
|
@@ -110,17 +110,17 @@ khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvt
|
|
110
110
|
khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
|
111
111
|
khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
|
112
112
|
khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
|
113
|
-
khoj/interface/compiled/index.html,sha256=
|
114
|
-
khoj/interface/compiled/index.txt,sha256=
|
113
|
+
khoj/interface/compiled/index.html,sha256=bOdWoY21AVCcOuEWKSQRxHqlSbitxg17XtVBpxzmwIw,12314
|
114
|
+
khoj/interface/compiled/index.txt,sha256=2Po9zH8iuphGwabEEn1gF_LYQD3AZ_uMnMZvBDNafA8,5673
|
115
115
|
khoj/interface/compiled/khoj.webmanifest,sha256=lsknYkvEdMbRTOUYKXPM_8krN2gamJmM4u3qj8u9lrU,1682
|
116
116
|
khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
|
117
117
|
khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
|
118
118
|
khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
|
119
119
|
khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
|
120
120
|
khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
|
121
|
-
khoj/interface/compiled/404/index.html,sha256=
|
122
|
-
khoj/interface/compiled/_next/static/
|
123
|
-
khoj/interface/compiled/_next/static/
|
121
|
+
khoj/interface/compiled/404/index.html,sha256=rYxqApYQS2AcJQh0mtHc8ukabZcc846oVGbtGMNq9Kg,12051
|
122
|
+
khoj/interface/compiled/_next/static/JfCnAJYWMXkmMgbWQv1u3/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
123
|
+
khoj/interface/compiled/_next/static/JfCnAJYWMXkmMgbWQv1u3/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
124
124
|
khoj/interface/compiled/_next/static/chunks/1034-da58b679fcbb79c1.js,sha256=Na2MJjnR44aBYNaUX6faMh8swqUxaTRsWnmH_gR_Dbk,16380
|
125
125
|
khoj/interface/compiled/_next/static/chunks/1210.132a7e1910006bbb.js,sha256=2dJueIfOg5qlQdanOM9HrgwcfrUXCD57bfd8Iv7iJcU,2104
|
126
126
|
khoj/interface/compiled/_next/static/chunks/1279-f37ee4a388ebf544.js,sha256=U_1WaocOdgJ4HZB8tRx_izzYGD1EZlCohC1uLCffCWc,45582
|
@@ -139,7 +139,7 @@ khoj/interface/compiled/_next/static/chunks/6297-d1c842ed3f714ab0.js,sha256=4nzZ
|
|
139
139
|
khoj/interface/compiled/_next/static/chunks/7023-a5bf5744d19b3bd3.js,sha256=TBJA7dTnI8nymtbljKuZzo2hbStXWR-P8Qkl57k2Tw8,123898
|
140
140
|
khoj/interface/compiled/_next/static/chunks/7113-f2e114d7034a0835.js,sha256=_WB4I13sT-IJhhwbN6-pePwZYGrtDRVKERptTLMANzU,26827
|
141
141
|
khoj/interface/compiled/_next/static/chunks/7883-b1305ec254213afe.js,sha256=dDbERTNiKRIIdC7idybjZq03gnxQtudMawrekye0zH8,241134
|
142
|
-
khoj/interface/compiled/_next/static/chunks/8423-
|
142
|
+
khoj/interface/compiled/_next/static/chunks/8423-f4976d6bda964f96.js,sha256=uMaXu1uSVfkbnLhX7apT5OFkPTTgZ_cUYrUbr1hRh1g,12571
|
143
143
|
khoj/interface/compiled/_next/static/chunks/8840-b8d7b9f0923c6651.js,sha256=n1JrzFrvB_rC6THUiPniysyjauEG3Q3qAh20PTcfmhQ,173276
|
144
144
|
khoj/interface/compiled/_next/static/chunks/9001-3b27af6d5f21df44.js,sha256=ran2mMGTO2kiAJebRGMyfyAu4Sdjw-WobS_m6g-qjz8,34223
|
145
145
|
khoj/interface/compiled/_next/static/chunks/9417-951f46451a8dd6d7.js,sha256=F_6dFaA3bWVQX8ISxQ7mlz1CEaGFGsClOk0Fg_BQGSM,19548
|
@@ -151,7 +151,7 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
|
|
151
151
|
khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=i52E7sWOcSq1G8eYZL3mtTxbUbwRNxcAbSWQ6uWpMsY,475
|
152
152
|
khoj/interface/compiled/_next/static/chunks/main-f84cd3c1873cd842.js,sha256=jKg2A4pPMmEAQmrA10rACH3daS8XXJeMnGOz1AsTkdI,111099
|
153
153
|
khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
154
|
-
khoj/interface/compiled/_next/static/chunks/webpack-
|
154
|
+
khoj/interface/compiled/_next/static/chunks/webpack-363358fa8ff3d0b2.js,sha256=77XnNr6PXIVQSMtXKKdBbwmON_nucvFXobXY-LuxnHg,4065
|
155
155
|
khoj/interface/compiled/_next/static/chunks/app/layout-d0f0a9067427fb20.js,sha256=ilPUPuMQt_2D48lC5c6AYeXT7J28ElR_Ym6VtjQwCO0,442
|
156
156
|
khoj/interface/compiled/_next/static/chunks/app/page-543c1ca0b0449be9.js,sha256=zQmhFhjWQB9PWNowHAiyyXJr8H2VI_wGX6KsFI28Cs4,29491
|
157
157
|
khoj/interface/compiled/_next/static/chunks/app/_not-found/page-07ff4ab42b07845e.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
|
@@ -177,9 +177,9 @@ khoj/interface/compiled/_next/static/css/467a524c75e7d7c0.css,sha256=yNoCTf6WSvm
|
|
177
177
|
khoj/interface/compiled/_next/static/css/4cae6c0e5c72fb2d.css,sha256=3CjTMmtMrm_MYt1ywtUh2MHEjSLSl356SQLl4hdBuYw,534
|
178
178
|
khoj/interface/compiled/_next/static/css/553f9cdcc7a2bcd6.css,sha256=JpjOOwmqP9Hba-w_8Lx9jWW0ZD0kD3wR0HvdPGDyUPo,2134
|
179
179
|
khoj/interface/compiled/_next/static/css/5a400c87d295e68a.css,sha256=ojDUPJ9fJpEo9DzTAsEa-k1cg7Bef-nSTfpszMiqknQ,17711
|
180
|
+
khoj/interface/compiled/_next/static/css/798b0de12852bd20.css,sha256=W8665WxP8h0XuZJ_HkEOnSD0ncCHomCi1O7ABCe_RuA,8785
|
180
181
|
khoj/interface/compiled/_next/static/css/80bd6301fc657983.css,sha256=T7_aQHcWpQBQLKadauHNzjYGw713FtRNTlUqmJjsL6I,1634
|
181
182
|
khoj/interface/compiled/_next/static/css/a795ee88875f4853.css,sha256=8WpIhh6bDwAAe0ah1-B5HIWX6Sch9H7a6nXJLPXTKxo,3055778
|
182
|
-
khoj/interface/compiled/_next/static/css/ddcc0cf73e062476.css,sha256=GhCBwb3i2oMWlIP9XEjY24nrM-wtgaWU-K99aL6y75U,8785
|
183
183
|
khoj/interface/compiled/_next/static/media/0e790e04fd40ad16-s.p.woff2,sha256=41ewITd0G1ZAoB62BTHMW58a1q8Hl6vSbTQkkHP7EbI,39372
|
184
184
|
khoj/interface/compiled/_next/static/media/4221e1667cd19c7d-s.woff2,sha256=_Y3g0keA8P6nZnFfm_VO5o2Sne1iST3v9xz4fBo3fwM,75532
|
185
185
|
khoj/interface/compiled/_next/static/media/6c276159aa0eb14b-s.woff2,sha256=i9Ibzi_O7y5KpImujj2rEdOZf96lpNYxYzVvCryW5Uc,140408
|
@@ -252,8 +252,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
|
|
252
252
|
khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
|
253
253
|
khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
|
254
254
|
khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
|
255
|
-
khoj/interface/compiled/agents/index.html,sha256=
|
256
|
-
khoj/interface/compiled/agents/index.txt,sha256=
|
255
|
+
khoj/interface/compiled/agents/index.html,sha256=viCVSfd7_ucPW_R2x8zELBlRaML817esSPj97S2Fm7A,12658
|
256
|
+
khoj/interface/compiled/agents/index.txt,sha256=k1Ie1-nZzo0APRv7oZOys-0AEYNmMdbG68ebeF_5slc,6045
|
257
257
|
khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
|
258
258
|
khoj/interface/compiled/assets/icons/khoj_lantern_128x128.png,sha256=aTxivDb3CYyThkVZWz8A19xl_dNut5DbkXhODWF3A9Q,5640
|
259
259
|
khoj/interface/compiled/assets/icons/khoj_lantern_256x256.png,sha256=xPCMLHiaL7lYOdQLZrKwWE-Qjn5ZaysSZB0ScYv4UZU,12312
|
@@ -264,18 +264,18 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
|
|
264
264
|
khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
|
265
265
|
khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
|
266
266
|
khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
|
267
|
-
khoj/interface/compiled/automations/index.html,sha256=
|
268
|
-
khoj/interface/compiled/automations/index.txt,sha256=
|
269
|
-
khoj/interface/compiled/chat/index.html,sha256=
|
270
|
-
khoj/interface/compiled/chat/index.txt,sha256=
|
271
|
-
khoj/interface/compiled/factchecker/index.html,sha256=
|
272
|
-
khoj/interface/compiled/factchecker/index.txt,sha256
|
273
|
-
khoj/interface/compiled/search/index.html,sha256=
|
274
|
-
khoj/interface/compiled/search/index.txt,sha256=
|
275
|
-
khoj/interface/compiled/settings/index.html,sha256=
|
276
|
-
khoj/interface/compiled/settings/index.txt,sha256=
|
277
|
-
khoj/interface/compiled/share/chat/index.html,sha256=
|
278
|
-
khoj/interface/compiled/share/chat/index.txt,sha256=
|
267
|
+
khoj/interface/compiled/automations/index.html,sha256=VC7WaknOCooMRnri6bxdxMjpnc8IDfbb2eSKUYRYtVw,30941
|
268
|
+
khoj/interface/compiled/automations/index.txt,sha256=ZRlvuRcOoA9Uzphg70TZjDd6eQqtlVqScXkADYXBW_Y,5633
|
269
|
+
khoj/interface/compiled/chat/index.html,sha256=U2TsDsgYntv5x_8TlMkbErLScirjEeL7cLj1H6EK5PM,14117
|
270
|
+
khoj/interface/compiled/chat/index.txt,sha256=c7qti05pzTLkx7nrJMvvvZ-BdvrmT9Y07f8UQs8Fyhg,6684
|
271
|
+
khoj/interface/compiled/factchecker/index.html,sha256=M0YLCChvcUquaihVbkBkx5vBim9ZUC62fj0BpLi8bpE,29973
|
272
|
+
khoj/interface/compiled/factchecker/index.txt,sha256=hkXCXVa2HGFOs_75qx9k2Toc8lhmTOfFeqY1j7W6JNs,5788
|
273
|
+
khoj/interface/compiled/search/index.html,sha256=ottP0n10ra5f0ocHiew49m2yNwvPkHcr4U-4aSxJl68,30161
|
274
|
+
khoj/interface/compiled/search/index.txt,sha256=fYkoQtwst4py5YZ7s_doeWgOEwvGP96aPoDB3CtT6pw,5256
|
275
|
+
khoj/interface/compiled/settings/index.html,sha256=POSmvzHvWgdllwmju_JTWxyNtKCQKbO6KQrEkfDOzNU,12831
|
276
|
+
khoj/interface/compiled/settings/index.txt,sha256=WGNshJASZNb8GXuozX1_RC_Ej3S9nLLh8_5h9zyXthw,6078
|
277
|
+
khoj/interface/compiled/share/chat/index.html,sha256=mwofApjoVEL8nlaAMyE_oUYb-FGr5rwdy4aTWTvEy4I,15442
|
278
|
+
khoj/interface/compiled/share/chat/index.txt,sha256=mhLNjJr9mbvi11dG8utSpcrA5oatz-lGfwDptJB9ZfM,7495
|
279
279
|
khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
|
280
280
|
khoj/interface/email/magic_link.html,sha256=EoGKQucfPj3xQrWXhSZAzPFOYCHF_ZX94TWCd1XHl1M,941
|
281
281
|
khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
|
@@ -321,7 +321,7 @@ khoj/processor/content/markdown/markdown_to_entries.py,sha256=3ZXkJtehcVcMrNY6V4
|
|
321
321
|
khoj/processor/content/notion/notion_to_entries.py,sha256=aFu41uynXTDU5TjXJhGpE6kYNDzXTB98NX3ruJUomRY,9858
|
322
322
|
khoj/processor/content/org_mode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
323
323
|
khoj/processor/content/org_mode/org_to_entries.py,sha256=UYlCJRaNwwuf9LobiprVSGECOOyNV0q3R1kVnmOdvE8,10251
|
324
|
-
khoj/processor/content/org_mode/orgnode.py,sha256=
|
324
|
+
khoj/processor/content/org_mode/orgnode.py,sha256=DlHZICxbCRxqGxA_osYf1faxslxpSuIqbHco8oxAKKM,18478
|
325
325
|
khoj/processor/content/pdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
326
326
|
khoj/processor/content/pdf/pdf_to_entries.py,sha256=kROQUGqHs6J8Xi2rEHVgkc_iLMcSlhtyXTAL5yafsRo,4912
|
327
327
|
khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -330,11 +330,11 @@ khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
330
330
|
khoj/processor/conversation/prompts.py,sha256=ec_sldNbX-FHrc1h824_2_MREnwbbRpcYHFZhU_sOg4,46807
|
331
331
|
khoj/processor/conversation/utils.py,sha256=EY25pM0RpAHrPBU718pe2Uc4iACWwQZXrN0GHsWFWs8,25462
|
332
332
|
khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
333
|
-
khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=
|
333
|
+
khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=jWmko9jzYqaojQmv_u8Iow5GzU0FPbCEslP4z9XufWQ,8521
|
334
334
|
khoj/processor/conversation/anthropic/utils.py,sha256=6_FnsfLRqjkubkfMVmPTEEBzvMUOAccIz5AHV6B9mU8,6623
|
335
335
|
khoj/processor/conversation/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
336
336
|
khoj/processor/conversation/google/gemini_chat.py,sha256=uI9_KaS-8zPSvQGwO7-zYmcAwMO3J-HYOqWypRk6wDk,8677
|
337
|
-
khoj/processor/conversation/google/utils.py,sha256
|
337
|
+
khoj/processor/conversation/google/utils.py,sha256=-Z5crXL6-xJraEX4qShbI3Y4PAqKi55PEWiEDPSi-LM,10205
|
338
338
|
khoj/processor/conversation/offline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
339
339
|
khoj/processor/conversation/offline/chat_model.py,sha256=D1CSBPDhVQ3sJrdrk_iXbIJxzyyzctPHc0PA78bD3IM,10876
|
340
340
|
khoj/processor/conversation/offline/utils.py,sha256=51McImxl6u1qgRYvMt7uzsgLGSLq5SMFy74ymlNjIcc,3033
|
@@ -384,8 +384,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
|
384
384
|
khoj/utils/rawconfig.py,sha256=kURDuk7x0MDtniGLU4x1IsvU4UIBS-V9dSM4GD8X-LY,4274
|
385
385
|
khoj/utils/state.py,sha256=x4GTewP1YhOA6c_32N4wOjnV-3AA3xG_qbY1-wC2Uxc,1559
|
386
386
|
khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
|
387
|
-
khoj-1.28.4.
|
388
|
-
khoj-1.28.4.
|
389
|
-
khoj-1.28.4.
|
390
|
-
khoj-1.28.4.
|
391
|
-
khoj-1.28.4.
|
387
|
+
khoj-1.28.4.dev7.dist-info/METADATA,sha256=05Jup24eqUUo8LICtGbw7w6eToroN3M_Hn18TZvWHQA,7074
|
388
|
+
khoj-1.28.4.dev7.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
389
|
+
khoj-1.28.4.dev7.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
390
|
+
khoj-1.28.4.dev7.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
391
|
+
khoj-1.28.4.dev7.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8423],{38423:function(e,t,n){"use strict";n.d(t,{a:function(){return S}});var a=n(57437),s=n(37649),r=n.n(s),l=n(2265),o=n(11838),i=n.n(o);n(7395);var c=n(35719),d=n(86819),u=n(77689),h=n(86829),f=n(33009),g=n(51091),m=n(82119),x=n(42491),p=n(6780),j=n(50495),b=n(70571),v=n(19573),w=n(61485),y=n(93146),N=n(19666),C=n(58575),k=n(66820),R=n(9557),D=n(58485),E=n(89417);let S=(0,l.forwardRef)((e,t)=>{let[n,s]=(0,l.useState)(""),o=(0,l.useRef)(null),[S,O]=(0,l.useState)(null),[T,z]=(0,l.useState)(null),[M,I]=(0,l.useState)(!1),[_,L]=(0,l.useState)(null),[A,U]=(0,l.useState)(!1),[F,P]=(0,l.useState)(!1),[W,Y]=(0,l.useState)([]),[$,J]=(0,l.useState)([]),[H,K]=(0,l.useState)(!1),[B,Z]=(0,l.useState)(null),[V,X]=(0,l.useState)(0),[q,G]=(0,l.useState)(!1),[Q,ee]=(0,l.useState)(!1),[et,en]=(0,l.useState)(e.isResearchModeEnabled||!1);function ea(){if(F&&(P(!1),Y([]),$.forEach(t=>e.sendImage(t))),!n.trim())return;if(!e.isLoggedIn){L("Hey there, you need to be signed in to send messages to Khoj AI"),U(!0);return}let t=n.trim();et&&!t.startsWith("/research")&&(t="/research ".concat(t)),e.sendMessage(t),s("")}function es(n){var a,s;if(!e.isLoggedIn){L("Please login to chat with your files"),U(!0);return}let r=["jpg","jpeg","png","webp"],l=[];for(let e=0;e<n.length;e++){let t=n[e],a=t.name.split(".").pop();r.includes(a||"")&&l.push(i().sanitize(URL.createObjectURL(t)))}if(l.length>0){P(!0),Y(e=>[...e,...l]),null==t||null===(s=t.current)||void 0===s||s.focus();return}(0,R.ko)(n,O,I,z,e.setUploadedFiles,e.conversationId),null==t||null===(a=t.current)||void 0===a||a.focus()}async function er(){try{let e=await navigator.mediaDevices.getUserMedia({audio:!0}),t=new MediaRecorder(e,{mimeType:"audio/webm"}),n=[];t.ondataavailable=async e=>{n.push(e.data);let t=new Blob(n,{type:"audio/webm"}),a=new FormData;a.append("file",t);try{let e=await fetch("/api/transcribe",{method:"POST",body:a});if(!e.ok)throw Error("Network response was not ok");let t=await e.json();s(t.text.trim())}catch(e){console.error("Error sending audio to server:",e)}},t.start(1500),t.onstop=async()=>{let e=new Blob(n,{type:"audio/webm"}),a=new FormData;a.append("file",e);try{let e=await fetch("/api/transcribe",{method:"POST",body:a});if(!e.ok)throw Error("Network response was not ok");let n=await e.json();t.stream.getTracks().forEach(e=>e.stop()),Z(null),s(n.text.trim())}catch(e){console.error("Error sending audio to server:",e)}},Z(t)}catch(e){console.error("Error getting microphone",e)}}return(0,l.useEffect)(()=>{if(M||X(0),M){let e=setInterval(()=>{X(e=>{let t=e+(Math.floor(5*Math.random())+1);return t<100?t:100})},800);return()=>clearInterval(e)}},[M]),(0,l.useEffect)(()=>{async function e(){W.length>0&&J(await Promise.all(W.map(async e=>{let t=await fetch(e),n=await t.blob();return new Promise(e=>{let t=new FileReader;t.onload=()=>e(t.result),t.readAsDataURL(n)})}))),I(!1)}I(!0),e()},[W]),(0,l.useEffect)(()=>{e.isResearchModeEnabled&&en(e.isResearchModeEnabled)},[e.isResearchModeEnabled]),(0,l.useEffect)(()=>{!H&&B&&B.stop(),H&&!B&&er()},[H,B]),(0,l.useEffect)(()=>{(null==t?void 0:t.current)&&(t.current.style.height="auto",t.current.style.height=Math.max(t.current.scrollHeight-24,64)+"px",n.startsWith("/")&&1===n.split(" ").length?ee(!0):ee(!1))},[n]),(0,a.jsxs)(a.Fragment,{children:[A&&_&&(0,a.jsx)(k.Z,{onOpenChange:U,loginRedirectMessage:_}),M&&(0,a.jsx)(p.aR,{open:M,children:(0,a.jsxs)(p._T,{children:[(0,a.jsx)(p.fY,{children:(0,a.jsx)(p.f$,{children:"Uploading data. Please wait."})}),(0,a.jsx)(p.yT,{children:(0,a.jsx)(b.E,{indicatorColor:"bg-slate-500",className:"w-full h-2 rounded-full",value:V})}),(0,a.jsx)(p.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>I(!1),children:"Dismiss"})]})}),S&&(0,a.jsx)(p.aR,{open:null!==S,children:(0,a.jsxs)(p._T,{children:[(0,a.jsx)(p.fY,{children:(0,a.jsx)(p.f$,{children:"Data Upload Warning"})}),(0,a.jsx)(p.yT,{children:S}),(0,a.jsx)(p.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>O(null),children:"Close"})]})}),T&&(0,a.jsx)(p.aR,{open:null!==T,children:(0,a.jsxs)(p._T,{children:[(0,a.jsxs)(p.fY,{children:[(0,a.jsx)(p.f$,{children:"Oh no!"}),(0,a.jsx)(p.yT,{children:"Something went wrong while uploading your data"})]}),(0,a.jsx)(p.yT,{children:T}),(0,a.jsx)(p.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>z(null),children:"Close"})]})}),Q&&(0,a.jsx)("div",{className:"flex justify-center text-center",children:(0,a.jsxs)(v.J2,{open:Q,onOpenChange:ee,children:[(0,a.jsx)(w.xo,{className:"flex justify-center text-center"}),(0,a.jsx)(v.yk,{onOpenAutoFocus:e=>e.preventDefault(),className:"".concat(e.isMobileWidth?"w-[100vw]":"w-full"," rounded-md"),side:"bottom",align:"center",sideOffset:e.conversationId?0:80,alignOffset:0,children:(0,a.jsxs)(x.mY,{className:"max-w-full",children:[(0,a.jsx)(x.sZ,{placeholder:"Type a command or search...",value:n,className:"hidden"}),(0,a.jsxs)(x.e8,{children:[(0,a.jsx)(x.rb,{children:"No matching commands."}),(0,a.jsx)(x.fu,{heading:"Agent Tools",children:e.chatOptionsData&&Object.entries(e.chatOptionsData).map(e=>{let[t,n]=e;return(0,a.jsx)(x.di,{className:"text-md",onSelect:()=>{s("/".concat(t," "))},children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-1",children:[(0,a.jsxs)("div",{className:"font-bold flex items-center",children:[(0,E.vH)(t,"h-4 w-4 mr-2"),"/",t]}),(0,a.jsx)("div",{children:n})]})},t)})}),(0,a.jsx)(x.zz,{})]})]})})]})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"".concat(r().actualInputArea," justify-between dark:bg-neutral-700 relative ").concat(q&&"animate-pulse"),onDragOver:function(e){e.preventDefault(),G(!0)},onDragLeave:function(e){e.preventDefault(),G(!1)},onDrop:function(e){e.preventDefault(),G(!1),e.dataTransfer.files&&es(e.dataTransfer.files)},children:[(0,a.jsx)("input",{type:"file",multiple:!0,ref:o,onChange:function(e){e.target.files&&es(e.target.files)},style:{display:"none"}}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(j.z,{variant:"ghost",className:"!bg-none p-0 m-2 h-auto text-3xl rounded-full text-gray-300 hover:text-gray-500",disabled:e.sendDisabled,onClick:function(){o.current&&o.current.click()},children:(0,a.jsx)(c.p,{className:"w-8 h-8"})})}),(0,a.jsxs)("div",{className:"flex-grow flex flex-col w-full gap-1.5 relative",children:[(0,a.jsx)("div",{className:"flex items-center gap-2 overflow-x-auto",children:F&&W.map((e,t)=>(0,a.jsxs)("div",{className:"relative flex-shrink-0 pb-3 pt-2 group",children:[(0,a.jsx)("img",{src:e,alt:"img-".concat(t),className:"w-auto h-16 object-cover rounded-xl"}),(0,a.jsx)(j.z,{variant:"ghost",size:"icon",className:"absolute -top-0 -right-2 h-5 w-5 rounded-full bg-neutral-200 dark:bg-neutral-600 hover:bg-neutral-300 dark:hover:bg-neutral-500 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>{Y(e=>e.filter((e,n)=>n!==t)),J(e=>e.filter((e,n)=>n!==t)),1===W.length&&P(!1)},children:(0,a.jsx)(d.X,{className:"h-3 w-3"})})]},t))}),(0,a.jsx)(y.g,{ref:t,className:"border-none focus:border-none\n focus:outline-none focus-visible:ring-transparent\n w-full h-16 min-h-16 max-h-[128px] md:py-4 rounded-lg resize-none dark:bg-neutral-700\n ".concat(e.isMobileWidth?"text-md":"text-lg"),placeholder:"Type / to see a list of commands",id:"message",autoFocus:!0,value:n,onKeyDown:t=>{"Enter"!==t.key||t.shiftKey||e.isMobileWidth||(P(!1),Y([]),t.preventDefault(),ea())},onChange:e=>s(e.target.value),disabled:e.sendDisabled||H})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[H?(0,a.jsx)(N.pn,{children:(0,a.jsxs)(N.u,{children:[(0,a.jsx)(N.aJ,{asChild:!0,children:(0,a.jsx)(j.z,{variant:"default",className:"".concat(!H&&"hidden"," ").concat(e.agentColor?(0,C.tp)(e.agentColor):"bg-orange-300 hover:bg-orange-500"," rounded-full p-1 m-2 h-auto text-3xl transition transform md:hover:-translate-y-1"),onClick:()=>{K(!H)},disabled:e.sendDisabled,children:(0,a.jsx)(u.d,{weight:"fill",className:"w-6 h-6"})})}),(0,a.jsx)(N._v,{children:"Click to stop recording and transcribe your voice."})]})}):B?(0,a.jsx)(D.l,{}):(0,a.jsx)(N.pn,{children:(0,a.jsxs)(N.u,{children:[(0,a.jsx)(N.aJ,{asChild:!0,children:(0,a.jsx)(j.z,{variant:"default",className:"".concat(!n||H||"hidden"," ").concat(e.agentColor?(0,C.tp)(e.agentColor):"bg-orange-300 hover:bg-orange-500"," rounded-full p-1 m-2 h-auto text-3xl transition transform md:hover:-translate-y-1"),onClick:()=>{s("Listening..."),K(!H)},disabled:e.sendDisabled,children:(0,a.jsx)(h.P,{weight:"fill",className:"w-6 h-6"})})}),(0,a.jsx)(N._v,{children:"Click to transcribe your message with voice."})]})}),(0,a.jsx)(j.z,{className:"".concat((!n||H)&&"hidden"," ").concat(e.agentColor?(0,C.tp)(e.agentColor):"bg-orange-300 hover:bg-orange-500"," rounded-full p-1 m-2 h-auto text-3xl transition transform md:hover:-translate-y-1"),onClick:ea,disabled:e.sendDisabled,children:(0,a.jsx)(f.a,{className:"w-6 h-6",weight:"bold"})})]})]}),(0,a.jsx)(N.pn,{children:(0,a.jsxs)(N.u,{children:[(0,a.jsx)(N.aJ,{asChild:!0,children:(0,a.jsxs)(j.z,{variant:"ghost",className:"float-right justify-center gap-1 flex items-center p-1.5 mr-2 h-fit",onClick:()=>{var e;en(!et),null==t||null===(e=t.current)||void 0===e||e.focus()},children:[(0,a.jsx)("span",{className:"text-muted-foreground text-sm",children:"Research Mode"}),et?(0,a.jsx)(g.W,{className:"w-6 h-6 inline-block ".concat(e.agentColor?(0,C.oz)(e.agentColor):(0,C.oz)("orange")," rounded-full")}):(0,a.jsx)(m.$,{className:"w-6 h-6 inline-block rounded-full"})]})}),(0,a.jsx)(N._v,{className:"text-xs",children:"(Experimental) Research Mode allows you to get more deeply researched, detailed responses. Response times may be longer."})]})})]})]})});S.displayName="ChatInputArea"},66820:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(57437),s=n(6780),r=n(87138);function l(e){return(0,a.jsx)(s.aR,{open:!0,onOpenChange:e.onOpenChange,children:(0,a.jsxs)(s._T,{children:[(0,a.jsx)(s.fY,{children:(0,a.jsx)(s.f$,{children:"Sign in to Khoj to continue"})}),(0,a.jsxs)(s.yT,{children:[e.loginRedirectMessage,". By logging in, you agree to our"," ",(0,a.jsx)(r.default,{href:"https://khoj.dev/terms-of-service",children:"Terms of Service."})]}),(0,a.jsxs)(s.xo,{children:[(0,a.jsx)(s.le,{children:"Dismiss"}),(0,a.jsx)(s.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>{window.location.href="/login?next=".concat(encodeURIComponent(window.location.pathname))},children:(0,a.jsxs)(r.default,{href:"/login?next=".concat(encodeURIComponent(window.location.pathname)),children:[" ","Login"]})})]})]})})}},70571:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var a=n(57437),s=n(2265),r=n(52431),l=n(37440);let o=s.forwardRef((e,t)=>{let{className:n,value:s,indicatorColor:o,...i}=e;return(0,a.jsx)(r.fC,{ref:t,className:(0,l.cn)("relative h-4 w-full overflow-hidden rounded-full bg-secondary",n),...i,children:(0,a.jsx)(r.z$,{className:"h-full w-full flex-1 bg-primary transition-all ".concat(o),style:{transform:"translateX(-".concat(100-(s||0),"%)")}})})});o.displayName=r.fC.displayName},93146:function(e,t,n){"use strict";n.d(t,{g:function(){return l}});var a=n(57437),s=n(2265),r=n(37440);let l=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,a.jsx)("textarea",{className:(0,r.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...s})});l.displayName="Textarea"},19666:function(e,t,n){"use strict";n.d(t,{_v:function(){return d},aJ:function(){return c},pn:function(){return o},u:function(){return i}});var a=n(57437),s=n(2265),r=n(27071),l=n(37440);let o=r.zt,i=r.fC,c=r.xz,d=s.forwardRef((e,t)=>{let{className:n,sideOffset:s=4,...o}=e;return(0,a.jsx)(r.VY,{ref:t,sideOffset:s,className:(0,l.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",n),...o})});d.displayName=r.VY.displayName},37649:function(e){e.exports={actualInputArea:"chatInputArea_actualInputArea__Ha6cN"}}}]);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|