khoj 1.28.3__py3-none-any.whl → 1.28.4.dev92__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/configure.py +10 -14
- khoj/database/adapters/__init__.py +128 -44
- khoj/database/admin.py +6 -3
- khoj/database/management/commands/change_default_model.py +7 -72
- khoj/database/migrations/0073_delete_usersearchmodelconfig.py +15 -0
- khoj/database/models/__init__.py +4 -6
- khoj/interface/compiled/404/index.html +1 -1
- khoj/interface/compiled/_next/static/chunks/1603-dc5fd983dbcd070d.js +1 -0
- khoj/interface/compiled/_next/static/chunks/1970-c78f6acc8e16e30b.js +1 -0
- khoj/interface/compiled/_next/static/chunks/2261-748f7c327df3c8c1.js +1 -0
- khoj/interface/compiled/_next/static/chunks/3124-a4cea2eda163128d.js +1 -0
- khoj/interface/compiled/_next/static/chunks/3803-d74118a2d0182c52.js +1 -0
- khoj/interface/compiled/_next/static/chunks/5538-36aa824a75519c5b.js +1 -0
- khoj/interface/compiled/_next/static/chunks/5961-3c104d9736b7902b.js +3 -0
- khoj/interface/compiled/_next/static/chunks/8423-ebfa9bb9e2424ca3.js +1 -0
- khoj/interface/compiled/_next/static/chunks/9417-32c4db52ca42e681.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/agents/layout-e9838b642913a071.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/agents/page-4353b1a532795ad1.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/automations/{page-d3edae545a1b5393.js → page-c9f13c865e739607.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/layout-b0e7ff4baa3b5265.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/chat/page-45720e1ed71e3ef5.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/{layout-d0f0a9067427fb20.js → layout-86561d2fac35a91a.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/{page-ea462e20376b6dce.js → page-ecb8e1c192aa8834.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/search/layout-ea6b73fdaf9b24ca.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/search/{page-a5c277eff207959e.js → page-8e28deacb61f75aa.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/{layout-a8f33dfe92f997fb.js → layout-254eaaf916449a60.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/page-2fab613a557d3cc5.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-cf7445cf0326bda3.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/share/chat/page-30376aa7e9cfa342.js +1 -0
- khoj/interface/compiled/_next/static/chunks/{main-f84cd3c1873cd842.js → main-1ea5c2e0fdef4626.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/{webpack-8beec5b51cabb39a.js → webpack-27cf153c35b1338d.js} +1 -1
- khoj/interface/compiled/_next/static/css/{467a524c75e7d7c0.css → 0e9d53dcd7f11342.css} +1 -1
- khoj/interface/compiled/_next/static/css/{26c1c33d0423a7d8.css → 1f293605f2871853.css} +1 -1
- khoj/interface/compiled/_next/static/css/2d097a35da6bfe8d.css +1 -0
- khoj/interface/compiled/_next/static/css/80bd6301fc657983.css +1 -0
- khoj/interface/compiled/_next/static/css/ed437164d77aa600.css +25 -0
- khoj/interface/compiled/_next/static/media/5455839c73f146e7-s.p.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/5984b96ba4822821-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/684adc3dde1b03f1-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/82e3b9a1bdaf0c26-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/8d1ea331386a0db8-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/91475f6526542a4f-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/b98b13dbc1c3b59c-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/c824d7a20139e39d-s.woff2 +0 -0
- 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 +2 -2
- khoj/interface/compiled/chat/index.html +1 -1
- khoj/interface/compiled/chat/index.txt +2 -2
- khoj/interface/compiled/index.html +1 -1
- khoj/interface/compiled/index.txt +3 -3
- khoj/interface/compiled/search/index.html +1 -1
- khoj/interface/compiled/search/index.txt +2 -2
- khoj/interface/compiled/settings/index.html +1 -1
- khoj/interface/compiled/settings/index.txt +3 -3
- khoj/interface/compiled/share/chat/index.html +1 -1
- khoj/interface/compiled/share/chat/index.txt +3 -3
- khoj/processor/content/docx/docx_to_entries.py +27 -21
- khoj/processor/content/github/github_to_entries.py +2 -2
- khoj/processor/content/images/image_to_entries.py +2 -2
- khoj/processor/content/markdown/markdown_to_entries.py +2 -2
- khoj/processor/content/notion/notion_to_entries.py +2 -2
- khoj/processor/content/org_mode/org_to_entries.py +2 -2
- khoj/processor/content/org_mode/orgnode.py +1 -1
- khoj/processor/content/pdf/pdf_to_entries.py +37 -29
- khoj/processor/content/plaintext/plaintext_to_entries.py +2 -2
- khoj/processor/content/text_to_entries.py +3 -4
- khoj/processor/conversation/anthropic/anthropic_chat.py +9 -1
- khoj/processor/conversation/google/gemini_chat.py +15 -2
- khoj/processor/conversation/google/utils.py +3 -1
- khoj/processor/conversation/offline/chat_model.py +4 -0
- khoj/processor/conversation/openai/gpt.py +6 -1
- khoj/processor/conversation/prompts.py +72 -13
- khoj/processor/conversation/utils.py +80 -13
- khoj/processor/image/generate.py +2 -0
- khoj/processor/tools/online_search.py +68 -18
- khoj/processor/tools/run_code.py +54 -20
- khoj/routers/api.py +10 -4
- khoj/routers/api_agents.py +8 -10
- khoj/routers/api_chat.py +89 -24
- khoj/routers/api_content.py +80 -8
- khoj/routers/helpers.py +176 -60
- khoj/routers/notion.py +1 -1
- khoj/routers/research.py +73 -31
- khoj/routers/web_client.py +0 -10
- khoj/search_type/text_search.py +3 -7
- khoj/utils/cli.py +2 -2
- khoj/utils/fs_syncer.py +2 -1
- khoj/utils/helpers.py +6 -3
- khoj/utils/rawconfig.py +32 -0
- khoj/utils/state.py +2 -1
- {khoj-1.28.3.dist-info → khoj-1.28.4.dev92.dist-info}/METADATA +3 -3
- {khoj-1.28.3.dist-info → khoj-1.28.4.dev92.dist-info}/RECORD +99 -105
- {khoj-1.28.3.dist-info → khoj-1.28.4.dev92.dist-info}/WHEEL +1 -1
- khoj/interface/compiled/_next/static/chunks/1034-da58b679fcbb79c1.js +0 -1
- khoj/interface/compiled/_next/static/chunks/1467-b331e469fe411347.js +0 -1
- khoj/interface/compiled/_next/static/chunks/1603-c1568f45947e9f2c.js +0 -1
- khoj/interface/compiled/_next/static/chunks/1970-d44050bf658ae5cc.js +0 -1
- khoj/interface/compiled/_next/static/chunks/3110-ef2cacd1b8d79ad8.js +0 -1
- khoj/interface/compiled/_next/static/chunks/3423-f4b7df2f6f3362f7.js +0 -1
- khoj/interface/compiled/_next/static/chunks/394-6bcb8c429f168f21.js +0 -3
- khoj/interface/compiled/_next/static/chunks/7113-f2e114d7034a0835.js +0 -1
- khoj/interface/compiled/_next/static/chunks/8423-da57554315eebcbe.js +0 -1
- khoj/interface/compiled/_next/static/chunks/8840-b8d7b9f0923c6651.js +0 -1
- khoj/interface/compiled/_next/static/chunks/9417-0d0fc7eb49a86abb.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/agents/layout-75636ab3a413fa8e.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/agents/page-adbf3cd470da248f.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/layout-96fcf62857bf8f30.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/page-222d348681b848a5.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/factchecker/layout-7b30c541c05fb904.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/factchecker/page-bded0868a08ac4ba.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/search/layout-3720f1362310bebb.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/page-210bd54db4841333.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-2df56074e42adaa0.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/share/chat/page-a21b7e8890ed1209.js +0 -1
- khoj/interface/compiled/_next/static/css/4cae6c0e5c72fb2d.css +0 -1
- khoj/interface/compiled/_next/static/css/553f9cdcc7a2bcd6.css +0 -1
- khoj/interface/compiled/_next/static/css/a795ee88875f4853.css +0 -25
- khoj/interface/compiled/_next/static/css/afd3d45cc65d55d8.css +0 -1
- khoj/interface/compiled/_next/static/media/0e790e04fd40ad16-s.p.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/4221e1667cd19c7d-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/6c276159aa0eb14b-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/6cc0b9500e4f9168-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/9d9319a7a2ac39c6-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/a75c8ea86756d52d-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/abce7c400ca31a51-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/f759c939737fb668-s.woff2 +0 -0
- khoj/interface/compiled/factchecker/index.html +0 -1
- khoj/interface/compiled/factchecker/index.txt +0 -7
- /khoj/interface/compiled/_next/static/{EfnEiWDle86AUcxEdEFgO → t_2jovvUVve0Gvc3FqpT9}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{EfnEiWDle86AUcxEdEFgO → t_2jovvUVve0Gvc3FqpT9}/_ssgManifest.js +0 -0
- {khoj-1.28.3.dist-info → khoj-1.28.4.dev92.dist-info}/entry_points.txt +0 -0
- {khoj-1.28.3.dist-info → khoj-1.28.4.dev92.dist-info}/licenses/LICENSE +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
khoj/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
khoj/configure.py,sha256=
|
2
|
+
khoj/configure.py,sha256=JKqLxXFVe2Xm3MUWYA-3E45SJj_xo0THiLB2YKPb9dU,17312
|
3
3
|
khoj/main.py,sha256=9YMJEaKlVin5hxU0TcVH5X1CP6wX9HE8Z7qWSxNGPd0,8161
|
4
4
|
khoj/manage.py,sha256=njo6uLxGaMamTPesHjFEOIBJbpIUrz39e1V59zKj544,664
|
5
5
|
khoj/app/README.md,sha256=PSQjKCdpU2hgszLVF8yEhV7TWhbEEb-1aYLTRuuAsKI,2832
|
@@ -8,13 +8,13 @@ khoj/app/asgi.py,sha256=soh3C1xazlgHt_bDgKzrfzo2TKXbNYJsckcXNEgTip8,388
|
|
8
8
|
khoj/app/settings.py,sha256=M6sQUu_AdeKl3eruecBaifRBhYOBIait0KA2NPizcBM,6198
|
9
9
|
khoj/app/urls.py,sha256=7ECnusoAPAfbO_H_b5FUzYGvnb4LLdWaRDyKNvYuBvg,869
|
10
10
|
khoj/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
-
khoj/database/admin.py,sha256=
|
11
|
+
khoj/database/admin.py,sha256=Tmvcc4f3HECgxtynIs9ISkjapvu9hsPaStugzVoCmyE,9640
|
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=gv2SNrTpJvW1cPzFwSSY7qF7DYYXY1bWWxi-A141nkM,69020
|
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
|
-
khoj/database/management/commands/change_default_model.py,sha256=
|
17
|
+
khoj/database/management/commands/change_default_model.py,sha256=HkFQOI-2rFjlu7YiulyRcTrITzSzXmY4WiV2hBmml0w,5209
|
18
18
|
khoj/database/management/commands/change_generated_images_url.py,sha256=w52FwRlyOL4YRpp9O6jJUjSIuGLxVhaS2w1D7gtQgOE,2644
|
19
19
|
khoj/database/management/commands/convert_images_png_to_webp.py,sha256=C74kEGa_BYkH0dIwtSUinU9qJFCFoVdo3HJRD1eLFuc,4630
|
20
20
|
khoj/database/migrations/0001_khojuser.py,sha256=1AjGQ4cOX8rUUMLOsKWFSUlQvO4nklKQB-BILSjiric,4077
|
@@ -101,89 +101,84 @@ khoj/database/migrations/0069_webscraper_serverchatsettings_web_scraper.py,sha25
|
|
101
101
|
khoj/database/migrations/0070_alter_agent_input_tools_alter_agent_output_modes.py,sha256=ngMtW34OPde72xa3tRIAKiICiJtpbxE4oZmAP4GFhrQ,1451
|
102
102
|
khoj/database/migrations/0071_subscription_enabled_trial_at_and_more.py,sha256=GX1ps5yrhLc1IxkPhmvzcoVSjCcZ-EAnicXSqz9TCtY,1026
|
103
103
|
khoj/database/migrations/0072_entry_search_model.py,sha256=qamubOLbkRcbCeyhOWiRhrYT3WTD9ZG8WNaZEWS-a-0,639
|
104
|
+
khoj/database/migrations/0073_delete_usersearchmodelconfig.py,sha256=hKkVZK7l61LI6-be9ZbATIeyKsVYL1nfYbUfKEdzvdE,310
|
104
105
|
khoj/database/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
105
|
-
khoj/database/models/__init__.py,sha256=
|
106
|
+
khoj/database/models/__init__.py,sha256=ZF_gRA6pYR8yKZ0An39TxuDBVz7GLRaN6IMGyDThbtw,24169
|
106
107
|
khoj/interface/compiled/agents.svg,sha256=yFCRwIM-Qawa0C5ggAo3ekb-Q1ElmotBOKIGhtfIQqM,1722
|
107
108
|
khoj/interface/compiled/automation.svg,sha256=o7L2XYwJWRSMvl8h6TBv6Pt28RTRVMHqF04EPY0AFj0,1467
|
108
109
|
khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvtM3A,2424
|
109
110
|
khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
|
110
111
|
khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
|
111
112
|
khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
|
112
|
-
khoj/interface/compiled/index.html,sha256=
|
113
|
-
khoj/interface/compiled/index.txt,sha256=
|
113
|
+
khoj/interface/compiled/index.html,sha256=59RjOEBswlaIbJhnP9WcaPTC7hZItIrQPEIf6m5PHuA,12156
|
114
|
+
khoj/interface/compiled/index.txt,sha256=fU--T4b5v8YszJPWjjM5dtiEV8yhU1_URnIbYaB-9XM,5611
|
114
115
|
khoj/interface/compiled/khoj.webmanifest,sha256=lsknYkvEdMbRTOUYKXPM_8krN2gamJmM4u3qj8u9lrU,1682
|
115
116
|
khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
|
116
117
|
khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
|
117
118
|
khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
|
118
119
|
khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
|
119
120
|
khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
|
120
|
-
khoj/interface/compiled/404/index.html,sha256=
|
121
|
-
khoj/interface/compiled/_next/static/EfnEiWDle86AUcxEdEFgO/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
122
|
-
khoj/interface/compiled/_next/static/EfnEiWDle86AUcxEdEFgO/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
123
|
-
khoj/interface/compiled/_next/static/chunks/1034-da58b679fcbb79c1.js,sha256=Na2MJjnR44aBYNaUX6faMh8swqUxaTRsWnmH_gR_Dbk,16380
|
121
|
+
khoj/interface/compiled/404/index.html,sha256=oj12VQw28_IfykLHjiPVD-cMOFEiRvIMFMwgUclQJz0,12023
|
124
122
|
khoj/interface/compiled/_next/static/chunks/1210.132a7e1910006bbb.js,sha256=2dJueIfOg5qlQdanOM9HrgwcfrUXCD57bfd8Iv7iJcU,2104
|
125
123
|
khoj/interface/compiled/_next/static/chunks/1279-f37ee4a388ebf544.js,sha256=U_1WaocOdgJ4HZB8tRx_izzYGD1EZlCohC1uLCffCWc,45582
|
126
124
|
khoj/interface/compiled/_next/static/chunks/1459.690bf20e7d7b7090.js,sha256=z-ruZPxF_Z3ef_WOThd9Ox36AMhxaW3znizVivNnA34,34239
|
127
|
-
khoj/interface/compiled/_next/static/chunks/
|
128
|
-
khoj/interface/compiled/_next/static/chunks/
|
129
|
-
khoj/interface/compiled/_next/static/chunks/
|
125
|
+
khoj/interface/compiled/_next/static/chunks/1603-dc5fd983dbcd070d.js,sha256=02EeVAiNmZxis2eH4rJd3SK6G0CP76SeGDM5YNBjaQk,73891
|
126
|
+
khoj/interface/compiled/_next/static/chunks/1970-c78f6acc8e16e30b.js,sha256=3hp_EoSjfrivYwGsLAZd22tJdGVnLrld6vV94-ABKU4,29801
|
127
|
+
khoj/interface/compiled/_next/static/chunks/2261-748f7c327df3c8c1.js,sha256=mnccV1BR2b9kKlj9DPF_XzoxuUal3kgajndLRVhj5bA,37344
|
130
128
|
khoj/interface/compiled/_next/static/chunks/3062-71ed4b46ac2bb87c.js,sha256=847h3nNxc8t4GOW20GIAp8c5kquVPEQ7EZurPzGySo0,258667
|
131
|
-
khoj/interface/compiled/_next/static/chunks/
|
132
|
-
khoj/interface/compiled/_next/static/chunks/
|
133
|
-
khoj/interface/compiled/_next/static/chunks/394-6bcb8c429f168f21.js,sha256=eg8aHEE09K4aI1MfxpslzHWU_ol0iR52EqlcrsJr20I,1084027
|
129
|
+
khoj/interface/compiled/_next/static/chunks/3124-a4cea2eda163128d.js,sha256=8nvTywzLygRGYmFlGbNik1c5wDFAFH_wYjm12mC9tgY,186256
|
130
|
+
khoj/interface/compiled/_next/static/chunks/3803-d74118a2d0182c52.js,sha256=ElqfX0F63FP6mxsqJW-kD7U3Rlv922uDyF2LZ1VbJDc,15369
|
134
131
|
khoj/interface/compiled/_next/static/chunks/4504-1629487c8bc82203.js,sha256=z6NvJ2KOjYPbMNsYQKyX9PV4DeURUoP6LKoNb4kZXg0,11637
|
135
132
|
khoj/interface/compiled/_next/static/chunks/4602-8eeb4b76385ad159.js,sha256=pz2lEr0JOrMdrddv2R2vej4e9uxpOr5KFX966ClLbOU,29928
|
136
133
|
khoj/interface/compiled/_next/static/chunks/5512-94c7c2bbcf58c19d.js,sha256=ySpWRBlOMbttpBPr-j6_y9FmVrWfeRdardPkVnYAXzw,103730
|
134
|
+
khoj/interface/compiled/_next/static/chunks/5538-36aa824a75519c5b.js,sha256=KEWm1OzdKWHua4WZUyuii8sba-CptpwH3owvEK2W_qM,34094
|
135
|
+
khoj/interface/compiled/_next/static/chunks/5961-3c104d9736b7902b.js,sha256=qss4GGVTNo_Rp3x8bU1I_l-SZCa-XAoVaxbLYOOcDTU,1089568
|
137
136
|
khoj/interface/compiled/_next/static/chunks/6297-d1c842ed3f714ab0.js,sha256=4nzZ2umR-q6wQ-8L4RSivWXKV_SE1dWoN9qA1I9lCRI,25675
|
138
137
|
khoj/interface/compiled/_next/static/chunks/7023-a5bf5744d19b3bd3.js,sha256=TBJA7dTnI8nymtbljKuZzo2hbStXWR-P8Qkl57k2Tw8,123898
|
139
|
-
khoj/interface/compiled/_next/static/chunks/7113-f2e114d7034a0835.js,sha256=_WB4I13sT-IJhhwbN6-pePwZYGrtDRVKERptTLMANzU,26827
|
140
138
|
khoj/interface/compiled/_next/static/chunks/7883-b1305ec254213afe.js,sha256=dDbERTNiKRIIdC7idybjZq03gnxQtudMawrekye0zH8,241134
|
141
|
-
khoj/interface/compiled/_next/static/chunks/8423-
|
142
|
-
khoj/interface/compiled/_next/static/chunks/8840-b8d7b9f0923c6651.js,sha256=n1JrzFrvB_rC6THUiPniysyjauEG3Q3qAh20PTcfmhQ,173276
|
139
|
+
khoj/interface/compiled/_next/static/chunks/8423-ebfa9bb9e2424ca3.js,sha256=VwlClSlEVvw6VpjDyK5k8J7CegYcJ9VEMUajAyQo3PA,14909
|
143
140
|
khoj/interface/compiled/_next/static/chunks/9001-3b27af6d5f21df44.js,sha256=ran2mMGTO2kiAJebRGMyfyAu4Sdjw-WobS_m6g-qjz8,34223
|
144
|
-
khoj/interface/compiled/_next/static/chunks/9417-
|
141
|
+
khoj/interface/compiled/_next/static/chunks/9417-32c4db52ca42e681.js,sha256=9r3lV-DxmhmQnYjroVbjAXPyX6rvSmhZKfUguE0dENw,15039
|
145
142
|
khoj/interface/compiled/_next/static/chunks/94ca1967.5584df65931cfe83.js,sha256=lxdrZ8h3_IWkTuk6QlzM2Hd9Pvu9_p8h_EI4aveSOgE,1174519
|
146
143
|
khoj/interface/compiled/_next/static/chunks/964ecbae.ea4eab2a3a835ffe.js,sha256=EccPkhdFk6L0NIAVQfWe4kOpRWqhf20PkYecy7R_fyo,1175119
|
147
144
|
khoj/interface/compiled/_next/static/chunks/d3ac728e-a9e3522eef9b6b28.js,sha256=wK1TsLdl56xtbQG6HMRDpylzTOYXQaAnnn2xobFnX40,267216
|
148
145
|
khoj/interface/compiled/_next/static/chunks/fd9d1056-2b978342deb60015.js,sha256=2lquiZSfbI-gX4j4TW4JSMLL_D5ShqwydgWpFyXrTy8,172834
|
149
146
|
khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256=sFFnSyDnFoOc61lP-EtTzTyf-zGA78ejDyMgPFMDw2Q,140001
|
147
|
+
khoj/interface/compiled/_next/static/chunks/main-1ea5c2e0fdef4626.js,sha256=8_u87PGI3PahFbDfGWGvpD-a18J7X7ChUqWIeqxVq7g,111061
|
150
148
|
khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=i52E7sWOcSq1G8eYZL3mtTxbUbwRNxcAbSWQ6uWpMsY,475
|
151
|
-
khoj/interface/compiled/_next/static/chunks/main-f84cd3c1873cd842.js,sha256=jKg2A4pPMmEAQmrA10rACH3daS8XXJeMnGOz1AsTkdI,111099
|
152
149
|
khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
153
|
-
khoj/interface/compiled/_next/static/chunks/webpack-
|
154
|
-
khoj/interface/compiled/_next/static/chunks/app/layout-
|
155
|
-
khoj/interface/compiled/_next/static/chunks/app/page-
|
150
|
+
khoj/interface/compiled/_next/static/chunks/webpack-27cf153c35b1338d.js,sha256=oWRV0dRdq0yg90DMqRrPxkqrFfktMTnQ39FjNHWx3v8,4054
|
151
|
+
khoj/interface/compiled/_next/static/chunks/app/layout-86561d2fac35a91a.js,sha256=2EWsyKE2kcC5uDvsOtgG5OP0hHCX8sCph4NqhUU2rCg,442
|
152
|
+
khoj/interface/compiled/_next/static/chunks/app/page-ecb8e1c192aa8834.js,sha256=37-5NzGAsEBxSfvd9BOxTWwAi6c-3Gv101QCqFYtMzo,29633
|
156
153
|
khoj/interface/compiled/_next/static/chunks/app/_not-found/page-07ff4ab42b07845e.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
|
157
|
-
khoj/interface/compiled/_next/static/chunks/app/agents/layout-
|
158
|
-
khoj/interface/compiled/_next/static/chunks/app/agents/page-
|
154
|
+
khoj/interface/compiled/_next/static/chunks/app/agents/layout-e9838b642913a071.js,sha256=w3vWDf7m2_VG7q98_KGAWbCO06RI7iqFYsb4nDqGUDw,372
|
155
|
+
khoj/interface/compiled/_next/static/chunks/app/agents/page-4353b1a532795ad1.js,sha256=VYSOSTRUsJQxg-C2ntEbHW5Fwm_a5k1e79bUYlcZBa0,11755
|
159
156
|
khoj/interface/compiled/_next/static/chunks/app/automations/layout-27c28e923c9b1ff0.js,sha256=d2vJ_lVB0pfeFXNUPzHAe1ca5NzdNowHPh___SPqugM,5143
|
160
|
-
khoj/interface/compiled/_next/static/chunks/app/automations/page-
|
161
|
-
khoj/interface/compiled/_next/static/chunks/app/chat/layout-
|
162
|
-
khoj/interface/compiled/_next/static/chunks/app/chat/page-
|
163
|
-
khoj/interface/compiled/_next/static/chunks/app/
|
164
|
-
khoj/interface/compiled/_next/static/chunks/app/
|
165
|
-
khoj/interface/compiled/_next/static/chunks/app/
|
166
|
-
khoj/interface/compiled/_next/static/chunks/app/
|
167
|
-
khoj/interface/compiled/_next/static/chunks/app/
|
168
|
-
khoj/interface/compiled/_next/static/chunks/app/
|
169
|
-
khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-2df56074e42adaa0.js,sha256=RPeayaV3Gbu0bJnD9vW5ml-xN-zN6UFBlTel-vOMYys,373
|
170
|
-
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-a21b7e8890ed1209.js,sha256=CZnMNWEc7Do4ll2PRtH_3hXMGIWlOChvysj9okwUkoo,5511
|
157
|
+
khoj/interface/compiled/_next/static/chunks/app/automations/page-c9f13c865e739607.js,sha256=hkZk61Vrde0LIL4KPqnm_u2pd_LPzvt-f6Z0hkq8FCs,35344
|
158
|
+
khoj/interface/compiled/_next/static/chunks/app/chat/layout-b0e7ff4baa3b5265.js,sha256=a-Qv2nHUrCa1gIs4Qo5txnOlhhQessAdcnAhhjaN3ag,374
|
159
|
+
khoj/interface/compiled/_next/static/chunks/app/chat/page-45720e1ed71e3ef5.js,sha256=gPlxB-cSg3pd0yguoe8M44gHzLY4ET-Pbhsok7xtBQw,6632
|
160
|
+
khoj/interface/compiled/_next/static/chunks/app/search/layout-ea6b73fdaf9b24ca.js,sha256=mBgNUjaTBNgIKOpZj722mh1ojg1CNIYRBPiupStSS6s,165
|
161
|
+
khoj/interface/compiled/_next/static/chunks/app/search/page-8e28deacb61f75aa.js,sha256=A3klMSdb4sxIAuHZ8NdbYgzc_WXhzIPFACF-D4CRino,6958
|
162
|
+
khoj/interface/compiled/_next/static/chunks/app/settings/layout-254eaaf916449a60.js,sha256=kHAKleDbNFfhNM3e1WLJm3OFw6PDtGcjyj5toO24vps,5347
|
163
|
+
khoj/interface/compiled/_next/static/chunks/app/settings/page-2fab613a557d3cc5.js,sha256=G_DVPh2mV5Yd7UIdKwo0VZFOZuSGd-C1FEANccTg12o,32201
|
164
|
+
khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-cf7445cf0326bda3.js,sha256=W3axh1K4y-pLSXcXogLl4qLKXr5BZLY1uA7JfSWp5TU,373
|
165
|
+
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-30376aa7e9cfa342.js,sha256=97knuZITimK5C-hRzxFUVwudgQ-jMVN1uNEaN9u75TU,4351
|
171
166
|
khoj/interface/compiled/_next/static/chunks/pages/_app-f870474a17b7f2fd.js,sha256=eqdFPAN_XFyMUzZ9qwFk-_rhMWZrU7lgNVt1foVUANo,286
|
172
167
|
khoj/interface/compiled/_next/static/chunks/pages/_error-c66a4e8afc46f17b.js,sha256=vjERjtMAbVk-19LyPf1Jc-H6TMcrSznSz6brzNqbqf8,253
|
173
|
-
khoj/interface/compiled/_next/static/css/
|
168
|
+
khoj/interface/compiled/_next/static/css/0e9d53dcd7f11342.css,sha256=52_LSJ59Vwm1p2UpcDXEvq99pTjz2sW4EjF5iKf-dzs,2622
|
169
|
+
khoj/interface/compiled/_next/static/css/1f293605f2871853.css,sha256=G2b3Wx4e0DRBWSdNU20ivCChZI5HBzvPYUVVIdTRjLc,26590
|
170
|
+
khoj/interface/compiled/_next/static/css/2d097a35da6bfe8d.css,sha256=Px3pPL_D-UjBJEghSLIchKux1WSch40GQHPv60qZEC8,8449
|
174
171
|
khoj/interface/compiled/_next/static/css/3cf13271869a4aeb.css,sha256=sGjJTeMeN6wbQF4OCPgWYgJmSLLSHyzIH2rSVstWx7k,1857
|
175
|
-
khoj/interface/compiled/_next/static/css/467a524c75e7d7c0.css,sha256=yNoCTf6WSvmOpMGCnq1LEjF8lFDydKu4O5isN5KWqO8,2622
|
176
|
-
khoj/interface/compiled/_next/static/css/4cae6c0e5c72fb2d.css,sha256=3CjTMmtMrm_MYt1ywtUh2MHEjSLSl356SQLl4hdBuYw,534
|
177
|
-
khoj/interface/compiled/_next/static/css/553f9cdcc7a2bcd6.css,sha256=JpjOOwmqP9Hba-w_8Lx9jWW0ZD0kD3wR0HvdPGDyUPo,2134
|
178
172
|
khoj/interface/compiled/_next/static/css/592ca99f5122e75a.css,sha256=BSqRkeb9vBh0phx5GkAlZirTFZintbyggGaUkuOBfaU,914
|
179
173
|
khoj/interface/compiled/_next/static/css/5a400c87d295e68a.css,sha256=ojDUPJ9fJpEo9DzTAsEa-k1cg7Bef-nSTfpszMiqknQ,17711
|
180
|
-
khoj/interface/compiled/_next/static/css/
|
181
|
-
khoj/interface/compiled/_next/static/css/
|
182
|
-
khoj/interface/compiled/_next/static/media/
|
183
|
-
khoj/interface/compiled/_next/static/media/
|
184
|
-
khoj/interface/compiled/_next/static/media/
|
185
|
-
khoj/interface/compiled/_next/static/media/
|
186
|
-
khoj/interface/compiled/_next/static/media/
|
174
|
+
khoj/interface/compiled/_next/static/css/80bd6301fc657983.css,sha256=T7_aQHcWpQBQLKadauHNzjYGw713FtRNTlUqmJjsL6I,1634
|
175
|
+
khoj/interface/compiled/_next/static/css/ed437164d77aa600.css,sha256=l7axYkpTLwbVjhTCUNh8BWdkBom06sG-JrpDX5vSPUU,3056024
|
176
|
+
khoj/interface/compiled/_next/static/media/5455839c73f146e7-s.p.woff2,sha256=BUeNjYxyX7Bu76aNlJrZtW3PwYgcH-kp8syFdODZoyc,35788
|
177
|
+
khoj/interface/compiled/_next/static/media/5984b96ba4822821-s.woff2,sha256=RFrf6fMTduuQwEe78qK6_Y_Mnj97HmRDG-VujYxwA90,99368
|
178
|
+
khoj/interface/compiled/_next/static/media/684adc3dde1b03f1-s.woff2,sha256=5loL1Nrr0sWovNVA8BcfMnck7uDntv7wBNd9oxGMaM8,19820
|
179
|
+
khoj/interface/compiled/_next/static/media/82e3b9a1bdaf0c26-s.woff2,sha256=12nxTBGEi6NMmSKH4aLyaTynNRtuMM_boJeA15j-tCU,70720
|
180
|
+
khoj/interface/compiled/_next/static/media/8d1ea331386a0db8-s.woff2,sha256=LinNkR026HAjnEHitceckgTUQJZNMkpOkpJLKGajPWY,167984
|
181
|
+
khoj/interface/compiled/_next/static/media/91475f6526542a4f-s.woff2,sha256=S-6BrPKi8mCL1RgdWeUl1X2-owSeZe_FtCpGxE6spVQ,10760
|
187
182
|
khoj/interface/compiled/_next/static/media/KaTeX_AMS-Regular.1608a09b.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
|
188
183
|
khoj/interface/compiled/_next/static/media/KaTeX_AMS-Regular.4aafdb68.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
|
189
184
|
khoj/interface/compiled/_next/static/media/KaTeX_AMS-Regular.a79f1c31.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
@@ -244,15 +239,16 @@ khoj/interface/compiled/_next/static/media/KaTeX_Size4-Regular.fbccdabe.ttf,sha2
|
|
244
239
|
khoj/interface/compiled/_next/static/media/KaTeX_Typewriter-Regular.6258592b.woff,sha256=4U_tArGrp86fWv1YRLXQMhsiNR_rxyDg3ouHI1J2Cfc,16028
|
245
240
|
khoj/interface/compiled/_next/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2,sha256=cdUX1ngneHz6vfGGkUzDNY7aU543kxlB8rL9SiH2jAs,13568
|
246
241
|
khoj/interface/compiled/_next/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf,sha256=8B8-h9nGphwMCBzrV3q9hk6wCmEvesFiDdaRX60u9ao,27556
|
247
|
-
khoj/interface/compiled/_next/static/media/
|
248
|
-
khoj/interface/compiled/_next/static/media/
|
249
|
-
khoj/interface/compiled/_next/static/media/f759c939737fb668-s.woff2,sha256=_rujNRyE70waQoZR-QT9fHMAwLp4eQ5DiZDNo84AXcw,126628
|
242
|
+
khoj/interface/compiled/_next/static/media/b98b13dbc1c3b59c-s.woff2,sha256=IFYibW121lOX2r1qlYb53zIkSvP_DOI5wBFkvpiyrd0,14456
|
243
|
+
khoj/interface/compiled/_next/static/media/c824d7a20139e39d-s.woff2,sha256=YTBjBpMFGNfNGOqz3DU-R0tI5OmIxLFnT4eRKmNQ8HE,21580
|
250
244
|
khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBnqDVp8fm33s1kM1w6xOtAjHn53JFfxmlqg,56280
|
251
245
|
khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
|
252
246
|
khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
|
253
247
|
khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
|
254
|
-
khoj/interface/compiled/
|
255
|
-
khoj/interface/compiled/
|
248
|
+
khoj/interface/compiled/_next/static/t_2jovvUVve0Gvc3FqpT9/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
249
|
+
khoj/interface/compiled/_next/static/t_2jovvUVve0Gvc3FqpT9/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
250
|
+
khoj/interface/compiled/agents/index.html,sha256=WTTjrQ3ew_pO-tJ-TkBh7cVGjL6IXenP090gb6qWKMQ,12966
|
251
|
+
khoj/interface/compiled/agents/index.txt,sha256=i105LXo92sWY0f4g-_C-ZLnu42TXocpoqLebYtBKdBk,6178
|
256
252
|
khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
|
257
253
|
khoj/interface/compiled/assets/icons/khoj_lantern_128x128.png,sha256=aTxivDb3CYyThkVZWz8A19xl_dNut5DbkXhODWF3A9Q,5640
|
258
254
|
khoj/interface/compiled/assets/icons/khoj_lantern_256x256.png,sha256=xPCMLHiaL7lYOdQLZrKwWE-Qjn5ZaysSZB0ScYv4UZU,12312
|
@@ -263,18 +259,16 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
|
|
263
259
|
khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
|
264
260
|
khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
|
265
261
|
khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
|
266
|
-
khoj/interface/compiled/automations/index.html,sha256=
|
267
|
-
khoj/interface/compiled/automations/index.txt,sha256=
|
268
|
-
khoj/interface/compiled/chat/index.html,sha256=
|
269
|
-
khoj/interface/compiled/chat/index.txt,sha256=
|
270
|
-
khoj/interface/compiled/
|
271
|
-
khoj/interface/compiled/
|
272
|
-
khoj/interface/compiled/
|
273
|
-
khoj/interface/compiled/
|
274
|
-
khoj/interface/compiled/
|
275
|
-
khoj/interface/compiled/
|
276
|
-
khoj/interface/compiled/share/chat/index.html,sha256=Qims96Ec6VuiWlZzFNar3sz_eAZGVO8EXdLB6GhuMiE,15442
|
277
|
-
khoj/interface/compiled/share/chat/index.txt,sha256=gAMGSgBG9_KaxGD84TJUEuakytASIaNSStxeXJj5RWQ,7495
|
262
|
+
khoj/interface/compiled/automations/index.html,sha256=p1lBlirD0lo6u_9l3Y5wIsR-ScrpMfFdMkyBM3vM-PY,30633
|
263
|
+
khoj/interface/compiled/automations/index.txt,sha256=iHyE1SDRlrwYk2odB023JtQMFVeiQkGTs-v09rCPv6Y,5500
|
264
|
+
khoj/interface/compiled/chat/index.html,sha256=AnaLRaqE2cioQZ6RXN6UAJyswG6UzxLF_Pw9j4j-bOg,13860
|
265
|
+
khoj/interface/compiled/chat/index.txt,sha256=8TRDeafHsWnrfK7GMnvhVKJP0aehtLoKn--ghKZjbvA,6590
|
266
|
+
khoj/interface/compiled/search/index.html,sha256=W-IBwI_7AJ8f7PKloUJqCIESI3DLayFia7MyLiltwrM,30161
|
267
|
+
khoj/interface/compiled/search/index.txt,sha256=hHTdtSrqB_BI7nr8VF3QVBmbQH1CPcF_FXzvOAsy67Y,5256
|
268
|
+
khoj/interface/compiled/settings/index.html,sha256=N83QSNfJxTXl6tHAF4-ELALieQz9XdPT5aTi3SF5-Wk,12831
|
269
|
+
khoj/interface/compiled/settings/index.txt,sha256=k5IyyneoGOWCUUh62uIfy3wKmeUFMdwuidu3Njss4x0,6078
|
270
|
+
khoj/interface/compiled/share/chat/index.html,sha256=tVxEmH4jul1oVPaJ53g0THDcS8uXCMszmQMQV6SndOs,15157
|
271
|
+
khoj/interface/compiled/share/chat/index.txt,sha256=PU1-WEJnhSqzYWJSBczToYc0OZt9w8OukVZDaX_PTso,7387
|
278
272
|
khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
|
279
273
|
khoj/interface/email/magic_link.html,sha256=EoGKQucfPj3xQrWXhSZAzPFOYCHF_ZX94TWCd1XHl1M,941
|
280
274
|
khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
|
@@ -308,83 +302,83 @@ khoj/migrations/migrate_version.py,sha256=6CTsLuxiLnFVF8A7CjsIz3PcnJd8fAOZeIx6tT
|
|
308
302
|
khoj/processor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
309
303
|
khoj/processor/embeddings.py,sha256=jGLLXkenvCxWEeFqw3g5YpX08hy2wgSZKvPC4BGD7Og,5527
|
310
304
|
khoj/processor/content/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
311
|
-
khoj/processor/content/text_to_entries.py,sha256
|
305
|
+
khoj/processor/content/text_to_entries.py,sha256=HL7o2g8OyS5QJEm0C6F4Jebj0MPAa8CCYFg8XUb6mrc,14540
|
312
306
|
khoj/processor/content/docx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
313
|
-
khoj/processor/content/docx/docx_to_entries.py,sha256=
|
307
|
+
khoj/processor/content/docx/docx_to_entries.py,sha256=OiO_Q1EudlOGqUpWCV9BseSjWZjrR4plk63a6ZPeC-4,4566
|
314
308
|
khoj/processor/content/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
315
|
-
khoj/processor/content/github/github_to_entries.py,sha256=
|
309
|
+
khoj/processor/content/github/github_to_entries.py,sha256=25RberAd38W0h70SOwFLzCWTMrfF6V-YTptFMKYoMN0,9868
|
316
310
|
khoj/processor/content/images/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
317
|
-
khoj/processor/content/images/image_to_entries.py,sha256=
|
311
|
+
khoj/processor/content/images/image_to_entries.py,sha256=Ne0pOWvJm_zxKYjquovo8EchumaVYKYgEjY-_uC4w6w,5106
|
318
312
|
khoj/processor/content/markdown/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
319
|
-
khoj/processor/content/markdown/markdown_to_entries.py,sha256=
|
320
|
-
khoj/processor/content/notion/notion_to_entries.py,sha256=
|
313
|
+
khoj/processor/content/markdown/markdown_to_entries.py,sha256=MshR6XQGSN1O-aHgVrr4b4M91csfoI5XwZfYhenkw84,7062
|
314
|
+
khoj/processor/content/notion/notion_to_entries.py,sha256=hC8u826szKgrtsc2ibdr7EqmBo7OQQ1a2oCKGsejVVk,9839
|
321
315
|
khoj/processor/content/org_mode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
322
|
-
khoj/processor/content/org_mode/org_to_entries.py,sha256=
|
323
|
-
khoj/processor/content/org_mode/orgnode.py,sha256=
|
316
|
+
khoj/processor/content/org_mode/org_to_entries.py,sha256=KQBn792yM9fsfaFu8FFoxk1PwYR-lmA07RUXEJQFkHs,10237
|
317
|
+
khoj/processor/content/org_mode/orgnode.py,sha256=DlHZICxbCRxqGxA_osYf1faxslxpSuIqbHco8oxAKKM,18478
|
324
318
|
khoj/processor/content/pdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
325
|
-
khoj/processor/content/pdf/pdf_to_entries.py,sha256=
|
319
|
+
khoj/processor/content/pdf/pdf_to_entries.py,sha256=ig7GzAoNewBD-9IwwLayWofTSlhvYYAUrMgkddkY0es,5016
|
326
320
|
khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
327
|
-
khoj/processor/content/plaintext/plaintext_to_entries.py,sha256=
|
321
|
+
khoj/processor/content/plaintext/plaintext_to_entries.py,sha256=wFZwK_zIc7gWbRtO9sOHo9KvfhGAzL9psX_nKWYFduo,4975
|
328
322
|
khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
329
|
-
khoj/processor/conversation/prompts.py,sha256=
|
330
|
-
khoj/processor/conversation/utils.py,sha256=
|
323
|
+
khoj/processor/conversation/prompts.py,sha256=jXVxeFYHBP6LBSAmdykYH6in297VTgVdEJ5IDsYlQnI,50319
|
324
|
+
khoj/processor/conversation/utils.py,sha256=sp9NjsP6dl1RMlcmX4GGZTD9bIUozXr9OD6gDvxxLV4,27635
|
331
325
|
khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
332
|
-
khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=
|
326
|
+
khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=JjKiMY8CYv7kp2gHo7HcB-rMP5kokSutPw6w2OOURd4,8678
|
333
327
|
khoj/processor/conversation/anthropic/utils.py,sha256=6_FnsfLRqjkubkfMVmPTEEBzvMUOAccIz5AHV6B9mU8,6623
|
334
328
|
khoj/processor/conversation/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
335
|
-
khoj/processor/conversation/google/gemini_chat.py,sha256=
|
336
|
-
khoj/processor/conversation/google/utils.py,sha256
|
329
|
+
khoj/processor/conversation/google/gemini_chat.py,sha256=JoGmLZRic96ODnz0sMb8MGPQbBRPd2IOC2-Ak88jwtc,8879
|
330
|
+
khoj/processor/conversation/google/utils.py,sha256=-Z5crXL6-xJraEX4qShbI3Y4PAqKi55PEWiEDPSi-LM,10205
|
337
331
|
khoj/processor/conversation/offline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
338
|
-
khoj/processor/conversation/offline/chat_model.py,sha256=
|
332
|
+
khoj/processor/conversation/offline/chat_model.py,sha256=BiH-p6CigmZSXNzs6oNvjcYeiSEsVTRPdTPH0oTPPlM,11000
|
339
333
|
khoj/processor/conversation/offline/utils.py,sha256=51McImxl6u1qgRYvMt7uzsgLGSLq5SMFy74ymlNjIcc,3033
|
340
334
|
khoj/processor/conversation/offline/whisper.py,sha256=DJI-8y8DULO2cQ49m2VOvRyIZ2TxBypc15gM8O3HuMI,470
|
341
335
|
khoj/processor/conversation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
342
|
-
khoj/processor/conversation/openai/gpt.py,sha256=
|
336
|
+
khoj/processor/conversation/openai/gpt.py,sha256=szg-45KuDsUJXDg4CSMaeCEA3WZ8LDGA1ajOxW1Wc1U,8163
|
343
337
|
khoj/processor/conversation/openai/utils.py,sha256=n_lFlgNjsFbghF1gfNPRtPvR3GG2JjUwWTGbjvnxbLU,6448
|
344
338
|
khoj/processor/conversation/openai/whisper.py,sha256=zoEeK1LNCg_tzP4xzYi5vRPzNPGuDGzpkrkG7d1LUn4,447
|
345
|
-
khoj/processor/image/generate.py,sha256=
|
339
|
+
khoj/processor/image/generate.py,sha256=i5J51AwlMZbdlHHov-_MAw9bYgdVYmGgFjCYWDfx02s,9120
|
346
340
|
khoj/processor/speech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
347
341
|
khoj/processor/speech/text_to_speech.py,sha256=Q7sapi5Hv6woXOumtrGqR0t6izZrFBkWXFOGrHM6dJ4,1929
|
348
342
|
khoj/processor/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
349
|
-
khoj/processor/tools/online_search.py,sha256=
|
350
|
-
khoj/processor/tools/run_code.py,sha256=
|
343
|
+
khoj/processor/tools/online_search.py,sha256=uxwtvKReGEW1XhkeToi7XB_oZ301DIcnD7Wr3xojuM4,16307
|
344
|
+
khoj/processor/tools/run_code.py,sha256=f8_oXLjBLscnnE9BJorOdFQsegk9wVWb-yUuyPvd60A,6347
|
351
345
|
khoj/routers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
352
|
-
khoj/routers/api.py,sha256=
|
353
|
-
khoj/routers/api_agents.py,sha256=
|
354
|
-
khoj/routers/api_chat.py,sha256=
|
355
|
-
khoj/routers/api_content.py,sha256=
|
346
|
+
khoj/routers/api.py,sha256=_AI1pnQMQM75L6WVZSAVfvrk04pLEdLbHA0fkyxnUbo,28489
|
347
|
+
khoj/routers/api_agents.py,sha256=vHPruCjlQxGBdm0lcmymEb9-aAELqbOplqh21WwD0DQ,9699
|
348
|
+
khoj/routers/api_chat.py,sha256=83jqlGex6K3bry9_Pq4Ti8pEGHhENsjtlW4EgWbL-88,48704
|
349
|
+
khoj/routers/api_content.py,sha256=10dw55vesCsuci577OCYgYylWgmIDA45Iax1ZQ8dnGI,20544
|
356
350
|
khoj/routers/api_model.py,sha256=KDsxNwHspC94eTcv6l3ehr773EOvgc670UnZLE1WZ4o,3642
|
357
351
|
khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
|
358
352
|
khoj/routers/api_subscription.py,sha256=sR5_XxQ4e_1hk3K4g0i3S8PZeULP23lnGtrWnfjhNDI,5307
|
359
353
|
khoj/routers/auth.py,sha256=HO54PR-BkWA_iJIktEobUrObcXVYG-00jpnIcEVdR5s,6564
|
360
354
|
khoj/routers/email.py,sha256=SGYNPQvfcvYeHf70F0YqpY0FLMRElF2ZekROXdwGI18,3821
|
361
|
-
khoj/routers/helpers.py,sha256=
|
362
|
-
khoj/routers/notion.py,sha256=
|
363
|
-
khoj/routers/research.py,sha256=
|
355
|
+
khoj/routers/helpers.py,sha256=v-dnh2AwuXQNCWGHYLacGnq-8bNSluU2Ym8z7JG4ek0,82672
|
356
|
+
khoj/routers/notion.py,sha256=g53xyYFmjr2JnuIrTW2vytbfkiK_UkoRTxqnnLSmD5o,2802
|
357
|
+
khoj/routers/research.py,sha256=e_p2Rj9ypryCdgCb9fhNldzf57gWQN99eDy1aOTk1yU,15675
|
364
358
|
khoj/routers/storage.py,sha256=tJrwhFRVWv0MHv7V7huMc1Diwm-putZSwnZXJ3tqT_c,2338
|
365
359
|
khoj/routers/twilio.py,sha256=MLsuCm4--ETvr3sLxbF0CL_ehlg_l2rKBSLR2Qh2Xls,1081
|
366
|
-
khoj/routers/web_client.py,sha256=
|
360
|
+
khoj/routers/web_client.py,sha256=frH03Sh0AR7c2MvRyc5a3tOFyxyVak3d1pl1sLcLLD4,4212
|
367
361
|
khoj/search_filter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
368
362
|
khoj/search_filter/base_filter.py,sha256=BzoZA_wAUg_eZ5vhaaipwVTSG0ZMxWCHxHsZrzo4KS0,358
|
369
363
|
khoj/search_filter/date_filter.py,sha256=7MCXyeDy9TGG81IesLrgV7vnTUDXWe8xj8NeeESd1Xk,10019
|
370
364
|
khoj/search_filter/file_filter.py,sha256=H47C8yoVMiSub8VWu8wHerlIq-PffFnB08Nm2OJyBE8,1146
|
371
365
|
khoj/search_filter/word_filter.py,sha256=5Yx95aSiqGke9kEIbp8T-Ak4dS9cTd3VxI1SaJoK1wY,1005
|
372
366
|
khoj/search_type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
373
|
-
khoj/search_type/text_search.py,sha256=
|
367
|
+
khoj/search_type/text_search.py,sha256=PZzJVCXpeBM795SIqiAKXAxgnCp1NIRiVikm040r1b0,9443
|
374
368
|
khoj/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
375
|
-
khoj/utils/cli.py,sha256=
|
369
|
+
khoj/utils/cli.py,sha256=EA7IvWAInUIll8YFTOpQtqLtCQXwphfHi5rJ2TKAdSQ,3757
|
376
370
|
khoj/utils/config.py,sha256=aiOkH0je8A30DAGYTHMRePrgJonFv_i07_7CdhhhcdA,1805
|
377
371
|
khoj/utils/constants.py,sha256=UwE7U9bNsfeqTb0K2lcdXdAscM4-7uuVoR3KbZS03Pg,1216
|
378
|
-
khoj/utils/fs_syncer.py,sha256=
|
379
|
-
khoj/utils/helpers.py,sha256=
|
372
|
+
khoj/utils/fs_syncer.py,sha256=5nqwAZqRk3Nwhkwd8y4IomTPZQmW32GwAqyMzal5KyY,9996
|
373
|
+
khoj/utils/helpers.py,sha256=JMCxQKEmz9ktZrSLQQh3cpm97dVsHT5J0rKY3bTrNco,20126
|
380
374
|
khoj/utils/initialization.py,sha256=TjA2ZImYKI-J1tEBE_0TaOLnVQidVV5GDEFBOPq8aik,10048
|
381
375
|
khoj/utils/jsonl.py,sha256=0Ac_COqr8sLCXntzZtquxuCEVRM2c3yKeDRGhgOBRpQ,1192
|
382
376
|
khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
383
|
-
khoj/utils/rawconfig.py,sha256=
|
384
|
-
khoj/utils/state.py,sha256=
|
377
|
+
khoj/utils/rawconfig.py,sha256=bQ_MGbBzYt6ZUIsHUwZjaHKDLh6GQ7h-sENkv3fyVbQ,5028
|
378
|
+
khoj/utils/state.py,sha256=KtUEIKAZdGGN_Qr58RS1pgcywgSafun8YIXx-YEclAY,1645
|
385
379
|
khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
|
386
|
-
khoj-1.28.
|
387
|
-
khoj-1.28.
|
388
|
-
khoj-1.28.
|
389
|
-
khoj-1.28.
|
390
|
-
khoj-1.28.
|
380
|
+
khoj-1.28.4.dev92.dist-info/METADATA,sha256=1Ba5uidsDdzwydHAbylwCrEi2XiV6_-sgd2tTE6JFSE,7093
|
381
|
+
khoj-1.28.4.dev92.dist-info/WHEEL,sha256=3U_NnUcV_1B1kPkYaPzN-irRckL5VW_lytn0ytO_kRY,87
|
382
|
+
khoj-1.28.4.dev92.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
383
|
+
khoj-1.28.4.dev92.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
384
|
+
khoj-1.28.4.dev92.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1034],{33009:function(e,a,t){t.d(a,{a:function(){return d}});var r=t(2265),l=t(52195);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,112H56l72-72Z",opacity:"0.2"}),r.createElement("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"}))]]);var m=Object.defineProperty,c=Object.defineProperties,o=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,h=(e,a,t)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,E=(e,a)=>{for(var t in a||(a={}))i.call(a,t)&&h(e,t,a[t]);if(p)for(var t of p(a))u.call(a,t)&&h(e,t,a[t]);return e},Z=(e,a)=>c(e,o(a));let d=(0,r.forwardRef)((e,a)=>r.createElement(l.Z,Z(E({ref:a},e),{weights:n})));d.displayName="ArrowUp"},86829:function(e,a,t){t.d(a,{P:function(){return d}});var r=t(2265),l=t(52195);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,180a52.06,52.06,0,0,0,52-52V64A52,52,0,0,0,76,64v64A52.06,52.06,0,0,0,128,180ZM100,64a28,28,0,0,1,56,0v64a28,28,0,0,1-56,0Zm40,155.22V240a12,12,0,0,1-24,0V219.22A92.14,92.14,0,0,1,36,128a12,12,0,0,1,24,0,68,68,0,0,0,136,0,12,12,0,0,1,24,0A92.14,92.14,0,0,1,140,219.22Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,64v64a40,40,0,0,1-40,40h0a40,40,0,0,1-40-40V64a40,40,0,0,1,40-40h0A40,40,0,0,1,168,64Z",opacity:"0.2"}),r.createElement("path",{d:"M128,176a48.05,48.05,0,0,0,48-48V64a48,48,0,0,0-96,0v64A48.05,48.05,0,0,0,128,176ZM96,64a32,32,0,0,1,64,0v64a32,32,0,0,1-64,0Zm40,143.6V240a8,8,0,0,1-16,0V207.6A80.11,80.11,0,0,1,48,128a8,8,0,0,1,16,0,64,64,0,0,0,128,0,8,8,0,0,1,16,0A80.11,80.11,0,0,1,136,207.6Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M80,128V64a48,48,0,0,1,96,0v64a48,48,0,0,1-96,0Zm128,0a8,8,0,0,0-16,0,64,64,0,0,1-128,0,8,8,0,0,0-16,0,80.11,80.11,0,0,0,72,79.6V240a8,8,0,0,0,16,0V207.6A80.11,80.11,0,0,0,208,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,174a46.06,46.06,0,0,0,46-46V64a46,46,0,0,0-92,0v64A46.06,46.06,0,0,0,128,174ZM94,64a34,34,0,0,1,68,0v64a34,34,0,0,1-68,0Zm40,141.75V240a6,6,0,0,1-12,0V205.75A78.09,78.09,0,0,1,50,128a6,6,0,0,1,12,0,66,66,0,0,0,132,0,6,6,0,0,1,12,0A78.09,78.09,0,0,1,134,205.75Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,176a48.05,48.05,0,0,0,48-48V64a48,48,0,0,0-96,0v64A48.05,48.05,0,0,0,128,176ZM96,64a32,32,0,0,1,64,0v64a32,32,0,0,1-64,0Zm40,143.6V240a8,8,0,0,1-16,0V207.6A80.11,80.11,0,0,1,48,128a8,8,0,0,1,16,0,64,64,0,0,0,128,0,8,8,0,0,1,16,0A80.11,80.11,0,0,1,136,207.6Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,172a44.05,44.05,0,0,0,44-44V64a44,44,0,0,0-88,0v64A44.05,44.05,0,0,0,128,172ZM92,64a36,36,0,0,1,72,0v64a36,36,0,0,1-72,0Zm40,139.89V240a4,4,0,0,1-8,0V203.89A76.09,76.09,0,0,1,52,128a4,4,0,0,1,8,0,68,68,0,0,0,136,0,4,4,0,0,1,8,0A76.09,76.09,0,0,1,132,203.89Z"}))]]);var m=Object.defineProperty,c=Object.defineProperties,o=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,h=(e,a,t)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,E=(e,a)=>{for(var t in a||(a={}))i.call(a,t)&&h(e,t,a[t]);if(p)for(var t of p(a))u.call(a,t)&&h(e,t,a[t]);return e},Z=(e,a)=>c(e,o(a));let d=(0,r.forwardRef)((e,a)=>r.createElement(l.Z,Z(E({ref:a},e),{weights:n})));d.displayName="Microphone"},35719:function(e,a,t){t.d(a,{p:function(){return d}});var r=t(2265),l=t(52195);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.48,136.49l-82.06,82a60,60,0,0,1-84.85-84.88l98.16-97.89a40,40,0,0,1,56.56,56.59l-.17.16-95.8,92.22a12,12,0,1,1-16.64-17.3l95.71-92.12a16,16,0,0,0-22.7-22.56L62.53,150.57a36,36,0,0,0,50.93,50.91l82.06-82a12,12,0,0,1,17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M180.75,104.75,204,128l-82.06,81.94a48,48,0,0,1-67.88-67.88L153.37,41.37a32,32,0,0,1,45.26,45.26Z",opacity:"0.2"}),r.createElement("path",{d:"M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,50.34a8,8,0,0,0-11.32,0L87.09,143A24,24,0,1,0,121,177l49.32-50.32a8,8,0,1,1,11.42,11.2l-49.37,50.38a40,40,0,1,1-56.62-56.51L143,63.09A24,24,0,1,1,177,97L109.71,165.6a8,8,0,1,1-11.42-11.2L165.6,85.71a8,8,0,0,0,.06-11.37Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208.25,123.76a6,6,0,0,1,0,8.49l-82.06,82a54,54,0,0,1-76.36-76.39L149.1,37.14a38,38,0,1,1,53.77,53.72L103.59,191.54a22,22,0,1,1-31.15-31.09l83.28-84.67a6,6,0,0,1,8.56,8.42L81,168.91a10,10,0,1,0,14.11,14.18L194.35,82.4a26,26,0,1,0-36.74-36.8L58.33,146.28a42,42,0,1,0,59.37,59.44l82.06-82A6,6,0,0,1,208.25,123.76Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M206.83,125.17a4,4,0,0,1,0,5.66l-82.06,82a52,52,0,0,1-73.54-73.55L150.52,38.55a36,36,0,1,1,50.94,50.9l-99.3,100.69a20,20,0,1,1-28.3-28.27l83.29-84.68a4,4,0,1,1,5.7,5.61L79.54,167.5a12,12,0,1,0,16.95,17L195.78,83.81A28,28,0,1,0,156.2,44.18L56.91,144.87a44,44,0,1,0,62.21,62.26l82-82A4,4,0,0,1,206.83,125.17Z"}))]]);var m=Object.defineProperty,c=Object.defineProperties,o=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,h=(e,a,t)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,E=(e,a)=>{for(var t in a||(a={}))i.call(a,t)&&h(e,t,a[t]);if(p)for(var t of p(a))u.call(a,t)&&h(e,t,a[t]);return e},Z=(e,a)=>c(e,o(a));let d=(0,r.forwardRef)((e,a)=>r.createElement(l.Z,Z(E({ref:a},e),{weights:n})));d.displayName="Paperclip"},77689:function(e,a,t){t.d(a,{d:function(){return d}});var r=t(2265),l=t(52195);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,36H56A20,20,0,0,0,36,56V200a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,160H60V60H196Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,56V200a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H200A8,8,0,0,1,208,56Z",opacity:"0.2"}),r.createElement("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,160H56V56H200V200Z"}))],["fill",r.createElement(r.Fragment,null,r.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"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,42H56A14,14,0,0,0,42,56V200a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,158a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H200a2,2,0,0,1,2,2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,160H56V56H200V200Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,44H56A12,12,0,0,0,44,56V200a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,156a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H200a4,4,0,0,1,4,4Z"}))]]);var m=Object.defineProperty,c=Object.defineProperties,o=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,h=(e,a,t)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,E=(e,a)=>{for(var t in a||(a={}))i.call(a,t)&&h(e,t,a[t]);if(p)for(var t of p(a))u.call(a,t)&&h(e,t,a[t]);return e},Z=(e,a)=>c(e,o(a));let d=(0,r.forwardRef)((e,a)=>r.createElement(l.Z,Z(E({ref:a},e),{weights:n})));d.displayName="Stop"},82119:function(e,a,t){t.d(a,{$:function(){return d}});var r=t(2265),l=t(52195);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,52H80a76,76,0,0,0,0,152h96a76,76,0,0,0,0-152Zm0,128H80A52,52,0,0,1,80,76h96a52,52,0,0,1,0,104ZM80,88a40,40,0,1,0,40,40A40,40,0,0,0,80,88Zm0,56a16,16,0,1,1,16-16A16,16,0,0,1,80,144Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M112,128A32,32,0,1,1,80,96,32,32,0,0,1,112,128Z",opacity:"0.2"}),r.createElement("path",{d:"M176,56H80a72,72,0,0,0,0,144h96a72,72,0,0,0,0-144Zm0,128H80A56,56,0,0,1,80,72h96a56,56,0,0,1,0,112ZM80,88a40,40,0,1,0,40,40A40,40,0,0,0,80,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,80,152Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,56H80a72,72,0,0,0,0,144h96a72,72,0,0,0,0-144ZM80,168a40,40,0,1,1,40-40A40,40,0,0,1,80,168Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,58H80a70,70,0,0,0,0,140h96a70,70,0,0,0,0-140Zm0,128H80A58,58,0,0,1,80,70h96a58,58,0,0,1,0,116ZM80,90a38,38,0,1,0,38,38A38,38,0,0,0,80,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,80,154Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,56H80a72,72,0,0,0,0,144h96a72,72,0,0,0,0-144Zm0,128H80A56,56,0,0,1,80,72h96a56,56,0,0,1,0,112ZM80,88a40,40,0,1,0,40,40A40,40,0,0,0,80,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,80,152Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,60H80a68,68,0,0,0,0,136h96a68,68,0,0,0,0-136Zm0,128H80A60,60,0,0,1,80,68h96a60,60,0,0,1,0,120ZM80,92a36,36,0,1,0,36,36A36,36,0,0,0,80,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,80,156Z"}))]]);var m=Object.defineProperty,c=Object.defineProperties,o=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,h=(e,a,t)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,E=(e,a)=>{for(var t in a||(a={}))i.call(a,t)&&h(e,t,a[t]);if(p)for(var t of p(a))u.call(a,t)&&h(e,t,a[t]);return e},Z=(e,a)=>c(e,o(a));let d=(0,r.forwardRef)((e,a)=>r.createElement(l.Z,Z(E({ref:a},e),{weights:n})));d.displayName="ToggleLeft"},51091:function(e,a,t){t.d(a,{W:function(){return d}});var r=t(2265),l=t(52195);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,52H80a76,76,0,0,0,0,152h96a76,76,0,0,0,0-152Zm0,128H80A52,52,0,0,1,80,76h96a52,52,0,0,1,0,104Zm0-92a40,40,0,1,0,40,40A40,40,0,0,0,176,88Zm0,56a16,16,0,1,1,16-16A16,16,0,0,1,176,144Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,128a32,32,0,1,1-32-32A32,32,0,0,1,208,128Z",opacity:"0.2"}),r.createElement("path",{d:"M176,56H80a72,72,0,0,0,0,144h96a72,72,0,0,0,0-144Zm0,128H80A56,56,0,0,1,80,72h96a56,56,0,0,1,0,112Zm0-96a40,40,0,1,0,40,40A40,40,0,0,0,176,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,176,152Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,56H80a72,72,0,0,0,0,144h96a72,72,0,0,0,0-144Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,176,168Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,58H80a70,70,0,0,0,0,140h96a70,70,0,0,0,0-140Zm0,128H80A58,58,0,0,1,80,70h96a58,58,0,0,1,0,116Zm0-96a38,38,0,1,0,38,38A38,38,0,0,0,176,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,176,154Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,56H80a72,72,0,0,0,0,144h96a72,72,0,0,0,0-144Zm0,128H80A56,56,0,0,1,80,72h96a56,56,0,0,1,0,112Zm0-96a40,40,0,1,0,40,40A40,40,0,0,0,176,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,176,152Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,60H80a68,68,0,0,0,0,136h96a68,68,0,0,0,0-136Zm0,128H80A60,60,0,0,1,80,68h96a60,60,0,0,1,0,120Zm0-96a36,36,0,1,0,36,36A36,36,0,0,0,176,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,176,156Z"}))]]);var m=Object.defineProperty,c=Object.defineProperties,o=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,h=(e,a,t)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,E=(e,a)=>{for(var t in a||(a={}))i.call(a,t)&&h(e,t,a[t]);if(p)for(var t of p(a))u.call(a,t)&&h(e,t,a[t]);return e},Z=(e,a)=>c(e,o(a));let d=(0,r.forwardRef)((e,a)=>r.createElement(l.Z,Z(E({ref:a},e),{weights:n})));d.displayName="ToggleRight"},86819:function(e,a,t){t.d(a,{X:function(){return d}});var r=t(2265),l=t(52195);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.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"}),r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",r.createElement(r.Fragment,null,r.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,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]);var m=Object.defineProperty,c=Object.defineProperties,o=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,h=(e,a,t)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,E=(e,a)=>{for(var t in a||(a={}))i.call(a,t)&&h(e,t,a[t]);if(p)for(var t of p(a))u.call(a,t)&&h(e,t,a[t]);return e},Z=(e,a)=>c(e,o(a));let d=(0,r.forwardRef)((e,a)=>r.createElement(l.Z,Z(E({ref:a},e),{weights:n})));d.displayName="X"}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1467],{81467:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var a=n(57437),o=n(15238),s=n.n(o),l=n(2265),r=n(53423),i=n(94880),c=n(58485),u=n(52195);let d=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var g=Object.defineProperty,h=Object.defineProperties,m=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&x(e,n,t[n]);if(v)for(var n of v(t))p.call(t,n)&&x(e,n,t[n]);return e},b=(e,t)=>h(e,m(t));let j=(0,l.forwardRef)((e,t)=>l.createElement(u.Z,b(y({ref:t},e),{weights:d})));j.displayName="XCircle";var M=n(16288),I=n(20721),C=n(26100),w=n(19666),N=n(50495),L=e=>{let{name:t,avatar:n,link:o,description:s}=e;return(0,a.jsx)("div",{className:"relative group flex",children:(0,a.jsx)(w.pn,{children:(0,a.jsxs)(w.u,{delayDuration:0,children:[(0,a.jsx)(w.aJ,{asChild:!0,children:(0,a.jsxs)(N.z,{variant:"ghost",className:"flex items-center justify-center",children:[n,(0,a.jsx)("div",{children:t})]})}),(0,a.jsx)(w._v,{children:(0,a.jsxs)("div",{className:"w-80 h-30",children:[(0,a.jsx)("a",{href:o,target:"_blank",rel:"noreferrer",className:"mt-1 ml-2 block no-underline",children:(0,a.jsxs)("div",{className:"flex items-center justify-start gap-2",children:[n,(0,a.jsxs)("div",{className:"mr-2 mt-1 flex justify-center items-center text-sm font-semibold text-gray-800",children:[t,(0,a.jsx)(C.o,{weight:"bold",className:"ml-1"})]})]})}),s&&(0,a.jsx)("p",{className:"mt-2 ml-6 text-sm text-gray-600 line-clamp-2",children:s||"A Khoj agent"})]})})]})})})},O=n(89417),E=n(69591);function Z(e){let t=e.trainOfThought.length-1,[n,o]=(0,l.useState)(e.completed);return(0,a.jsxs)("div",{className:"".concat(n?"":s().trainOfThought+" shadow-sm"),children:[!e.completed&&(0,a.jsx)(c.l,{className:"float-right"}),e.completed&&(n?(0,a.jsx)(N.z,{className:"w-fit text-left justify-start content-start text-xs",onClick:()=>o(!1),variant:"ghost",size:"sm",children:"What was my train of thought?"}):(0,a.jsxs)(N.z,{className:"w-fit text-left justify-start content-start text-xs p-0 h-fit",onClick:()=>o(!0),variant:"ghost",size:"sm",children:[(0,a.jsx)(j,{size:16,className:"mr-1"}),"Close"]})),!n&&e.trainOfThought.map((n,o)=>(0,a.jsx)(r.H,{message:n,primary:o===t&&e.lastMessage&&!e.completed,agentColor:e.agentColor},"train-".concat(o)))]},e.keyId)}function T(e){var t,n,o,u,d,g,h,m,v;let[f,p]=(0,l.useState)(null),[x,y]=(0,l.useState)(0),[b,j]=(0,l.useState)(!0),[C,w]=(0,l.useState)(null),N=(0,l.useRef)(null),T=(0,l.useRef)(null),_=(0,l.useRef)(null),k=(0,l.useRef)(null),[A,S]=(0,l.useState)(null),[H,F]=(0,l.useState)(!1),[q,z]=(0,l.useState)(!0),R=(0,E.IC)(),D="[data-radix-scroll-area-viewport]";(0,l.useEffect)(()=>{var e;let t=null===(e=T.current)||void 0===e?void 0:e.querySelector(D);if(!t)return;let n=()=>{let{scrollTop:e,scrollHeight:n,clientHeight:a}=t;z(n-(e+a)<=50)};return t.addEventListener("scroll",n),()=>t.removeEventListener("scroll",n)},[]),(0,l.useEffect)(()=>{e.incomingMessages&&e.incomingMessages.length>0&&q&&W()},[e.incomingMessages,q]),(0,l.useEffect)(()=>{f&&f.chat&&f.chat.length>0&&x<2&&requestAnimationFrame(()=>{var e;null===(e=_.current)||void 0===e||e.scrollIntoView({behavior:"auto",block:"start"})})},[f,x]),(0,l.useEffect)(()=>{if(!b||H)return;let t=new IntersectionObserver(t=>{t[0].isIntersecting&&b&&(F(!0),function(t){if(!b||H)return;let n=(t+1)*10,a="";if(e.conversationId)a="/api/chat/history?client=web&conversation_id=".concat(encodeURIComponent(e.conversationId),"&n=").concat(n);else{if(!e.publicConversationSlug)return;a="/api/chat/share/history?client=web&public_conversation_slug=".concat(e.publicConversationSlug,"&n=").concat(n)}fetch(a).then(e=>e.json()).then(n=>{if(e.setTitle(n.response.slug),n&&n.response&&n.response.chat&&n.response.chat.length>0){if(y(Math.ceil(n.response.chat.length/10)),n.response.chat.length===(null==f?void 0:f.chat.length)){j(!1),F(!1);return}e.setAgent(n.response.agent),p(n.response),F(!1),0===t?W(!0):Q()}else{if(n.response.agent&&n.response.conversation_id){let t={chat:[],agent:n.response.agent,conversation_id:n.response.conversation_id,slug:n.response.slug};e.setAgent(n.response.agent),p(t)}j(!1),F(!1)}}).catch(e=>{console.error(e),window.location.href="/"})}(x))},{threshold:1});return N.current&&t.observe(N.current),()=>t.disconnect()},[b,x,H]),(0,l.useEffect)(()=>{j(!0),F(!1),y(0),p(null)},[e.conversationId]),(0,l.useEffect)(()=>{if(e.incomingMessages){let t=e.incomingMessages[e.incomingMessages.length-1];t&&!t.completed&&(S(e.incomingMessages.length-1),e.setTitle(t.rawQuery),t.turnId&&w(t.turnId))}},[e.incomingMessages]);let Q=()=>{var e;let t=null===(e=T.current)||void 0===e?void 0:e.querySelector(D);requestAnimationFrame(()=>{var e;null===(e=k.current)||void 0===e||e.scrollIntoView({behavior:"auto",block:"start"}),null==t||t.scrollBy({behavior:"smooth",top:-150})})},W=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=null===(e=T.current)||void 0===e?void 0:e.querySelector(D);requestAnimationFrame(()=>{null==n||n.scrollTo({top:n.scrollHeight,behavior:t?"auto":"smooth"})}),z(!0)},P=t=>{t&&(p(e=>e&&t?{...e,chat:e.chat.filter(e=>e.turnId!==t)}:e),e.incomingMessages&&e.setIncomingMessages&&e.setIncomingMessages(e.incomingMessages.filter(e=>e.turnId!==t)))};return e.conversationId||e.publicConversationSlug?(0,a.jsx)(i.x,{className:"h-[73vh] relative",ref:T,children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"".concat(s().chatHistory," ").concat(e.customClassName),children:[(0,a.jsx)("div",{ref:N,style:{height:"1px"},children:H&&(0,a.jsx)(c.l,{className:"opacity-50"})}),f&&f.chat&&f.chat.map((t,n)=>{var o,s,l;return(0,a.jsxs)(a.Fragment,{children:[t.trainOfThought&&"khoj"===t.by&&(0,a.jsx)(Z,{trainOfThought:null===(o=t.trainOfThought)||void 0===o?void 0:o.map(e=>e.data),lastMessage:!1,agentColor:(null==f?void 0:null===(s=f.agent)||void 0===s?void 0:s.color)||"orange",keyId:"".concat(n,"trainOfThought"),completed:!0},"".concat(n,"trainOfThought")),(0,a.jsx)(r.Z,{ref:n===f.chat.length-2?_:n===f.chat.length-(x-1)*10?k:null,isMobileWidth:R,chatMessage:t,customClassName:"fullHistory",borderLeftColor:"".concat(null==f?void 0:null===(l=f.agent)||void 0===l?void 0:l.color,"-500"),isLastMessage:n===f.chat.length-1,onDeleteMessage:P,conversationId:e.conversationId},"".concat(n,"fullHistory"))]})}),e.incomingMessages&&e.incomingMessages.map((t,n)=>{var o,s,i,c,u;let d=null!==(u=null!==(c=t.turnId)&&void 0!==c?c:C)&&void 0!==u?u:void 0;return(0,a.jsxs)(l.Fragment,{children:[(0,a.jsx)(r.Z,{isMobileWidth:R,chatMessage:{message:t.rawQuery,context:[],onlineContext:{},codeContext:{},created:t.timestamp,by:"you",automationId:"",images:t.images,conversationId:e.conversationId,turnId:d},customClassName:"fullHistory",borderLeftColor:"".concat(null==f?void 0:null===(o=f.agent)||void 0===o?void 0:o.color,"-500"),onDeleteMessage:P,conversationId:e.conversationId,turnId:d},"".concat(n,"outgoing")),t.trainOfThought&&(0,a.jsx)(Z,{trainOfThought:t.trainOfThought,lastMessage:n===A,agentColor:(null==f?void 0:null===(s=f.agent)||void 0===s?void 0:s.color)||"orange",keyId:"".concat(n,"trainOfThought"),completed:t.completed},"".concat(n,"trainOfThought")),(0,a.jsx)(r.Z,{isMobileWidth:R,chatMessage:{message:t.rawResponse,context:t.context,onlineContext:t.onlineContext,codeContext:t.codeContext,created:t.timestamp,by:"khoj",automationId:"",rawQuery:t.rawQuery,intent:{type:t.intentType||"",query:t.rawQuery,"memory-type":"","inferred-queries":t.inferredQueries||[]},conversationId:e.conversationId,turnId:d},conversationId:e.conversationId,turnId:d,onDeleteMessage:P,customClassName:"fullHistory",borderLeftColor:"".concat(null==f?void 0:null===(i=f.agent)||void 0===i?void 0:i.color,"-500"),isLastMessage:!0},"".concat(n,"incoming"))]},"incomingMessage".concat(n))}),e.pendingMessage&&(0,a.jsx)(r.Z,{isMobileWidth:R,chatMessage:{message:e.pendingMessage,context:[],onlineContext:{},codeContext:{},created:new Date().getTime().toString(),by:"you",automationId:"",conversationId:e.conversationId,turnId:void 0},conversationId:e.conversationId,onDeleteMessage:P,customClassName:"fullHistory",borderLeftColor:"".concat(null==f?void 0:null===(t=f.agent)||void 0===t?void 0:t.color,"-500"),isLastMessage:!0},"pendingMessage-".concat(e.pendingMessage.length)),f&&(0,a.jsx)("div",{className:"".concat(s().agentIndicator," pb-4"),children:(0,a.jsx)("div",{className:"relative group mx-2 cursor-pointer",children:(0,a.jsx)(L,{name:f&&f.agent&&(null===(u=f.agent)||void 0===u?void 0:u.name)?null===(d=f.agent)||void 0===d?void 0:d.name:"Agent",link:f&&f.agent&&(null===(g=f.agent)||void 0===g?void 0:g.slug)?"/agents?agent=".concat(null===(h=f.agent)||void 0===h?void 0:h.slug):"/agents",avatar:(0,O.TI)(null===(n=f.agent)||void 0===n?void 0:n.icon,null===(o=f.agent)||void 0===o?void 0:o.color)||(0,a.jsx)(M.v,{}),description:f&&f.agent&&(null===(m=f.agent)||void 0===m?void 0:m.persona)?null===(v=f.agent)||void 0===v?void 0:v.persona:"Your agent is no longer available. You will be reset to the default agent."})})})]}),(0,a.jsx)("div",{className:"".concat(e.customClassName," fixed bottom-[20%] z-10"),children:!q&&(0,a.jsx)("button",{title:"Scroll to bottom",className:"absolute bottom-0 right-0 bg-white dark:bg-[hsl(var(--background))] text-neutral-500 dark:text-white p-2 rounded-full shadow-xl",onClick:()=>{W(),z(!0)},children:(0,a.jsx)(I.K,{size:24})})})]})}):null}},15238:function(e){e.exports={chatHistory:"chatHistory_chatHistory__CoaVT",agentIndicator:"chatHistory_agentIndicator__wOU1f",trainOfThought:"chatHistory_trainOfThought__mMWSR"}}}]);
|