khoj 1.30.2__py3-none-any.whl → 1.30.2.dev3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. khoj/database/adapters/__init__.py +1 -1
  2. khoj/database/admin.py +0 -39
  3. khoj/interface/compiled/404/index.html +1 -1
  4. khoj/interface/compiled/_next/static/chunks/1210.132a7e1910006bbb.js +1 -0
  5. khoj/interface/compiled/_next/static/chunks/1603-859ddcf58f3ca639.js +1 -0
  6. khoj/interface/compiled/_next/static/chunks/1970-e1935a1d0930a7c5.js +1 -0
  7. khoj/interface/compiled/_next/static/chunks/216-b2e4344315b88832.js +1 -0
  8. khoj/interface/compiled/_next/static/chunks/3124-e8410bbd01f6f188.js +1 -0
  9. khoj/interface/compiled/_next/static/chunks/{3717-b46079dbe9f55694.js → 6297-55f82537bb7068dd.js} +1 -1
  10. khoj/interface/compiled/_next/static/chunks/{2646-92ba433951d02d52.js → 6901-e3dc0d315e3f6033.js} +2 -2
  11. khoj/interface/compiled/_next/static/chunks/796-36ee2d6829448c6d.js +3 -0
  12. khoj/interface/compiled/_next/static/chunks/9417-06236cd650f1abcd.js +1 -0
  13. khoj/interface/compiled/_next/static/chunks/app/agents/{page-f5c0801b27a8e95e.js → page-b086c9b0aa5a3833.js} +1 -1
  14. khoj/interface/compiled/_next/static/chunks/app/automations/{page-0393501fad5f8e3d.js → page-697a2d415e11a872.js} +1 -1
  15. khoj/interface/compiled/_next/static/chunks/app/chat/{page-f2539e3197d03c0d.js → page-461e26fcb7578d39.js} +1 -1
  16. khoj/interface/compiled/_next/static/chunks/app/{page-5cc56a8db5d21b38.js → page-4a3c49c5e996cc40.js} +1 -1
  17. khoj/interface/compiled/_next/static/chunks/app/search/{page-e8b578d155550386.js → page-9013658bebfc3d17.js} +1 -1
  18. khoj/interface/compiled/_next/static/chunks/app/settings/page-23399f8c2d6079b8.js +1 -0
  19. khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-635635e4fb39fe29.js → page-6a68ac7e227b34e7.js} +1 -1
  20. khoj/interface/compiled/_next/static/chunks/{webpack-5dbccc5145b80b64.js → webpack-fff9e0e69bdcdb1a.js} +1 -1
  21. khoj/interface/compiled/_next/static/css/1a4038cc4acc8ee4.css +25 -0
  22. khoj/interface/compiled/_next/static/css/23f801d22927d568.css +1 -0
  23. khoj/interface/compiled/_next/static/css/80bd6301fc657983.css +1 -0
  24. khoj/interface/compiled/agents/index.html +1 -1
  25. khoj/interface/compiled/agents/index.txt +2 -2
  26. khoj/interface/compiled/automations/index.html +1 -1
  27. khoj/interface/compiled/automations/index.txt +2 -2
  28. khoj/interface/compiled/chat/index.html +1 -1
  29. khoj/interface/compiled/chat/index.txt +2 -2
  30. khoj/interface/compiled/index.html +1 -1
  31. khoj/interface/compiled/index.txt +2 -2
  32. khoj/interface/compiled/search/index.html +1 -1
  33. khoj/interface/compiled/search/index.txt +2 -2
  34. khoj/interface/compiled/settings/index.html +1 -1
  35. khoj/interface/compiled/settings/index.txt +2 -2
  36. khoj/interface/compiled/share/chat/index.html +1 -1
  37. khoj/interface/compiled/share/chat/index.txt +2 -2
  38. khoj/main.py +0 -4
  39. khoj/processor/conversation/anthropic/anthropic_chat.py +2 -8
  40. khoj/processor/conversation/anthropic/utils.py +3 -22
  41. khoj/processor/conversation/google/gemini_chat.py +2 -8
  42. khoj/processor/conversation/google/utils.py +3 -19
  43. khoj/processor/conversation/offline/chat_model.py +4 -12
  44. khoj/processor/conversation/openai/gpt.py +2 -9
  45. khoj/processor/conversation/openai/utils.py +21 -39
  46. khoj/processor/conversation/prompts.py +21 -40
  47. khoj/processor/conversation/utils.py +10 -16
  48. khoj/processor/tools/run_code.py +25 -1
  49. khoj/routers/api_chat.py +16 -41
  50. khoj/routers/api_subscription.py +2 -9
  51. khoj/routers/auth.py +2 -2
  52. khoj/routers/helpers.py +5 -20
  53. khoj/routers/research.py +1 -2
  54. khoj/utils/cli.py +0 -2
  55. khoj/utils/constants.py +0 -17
  56. khoj/utils/helpers.py +1 -55
  57. khoj/utils/state.py +0 -1
  58. {khoj-1.30.2.dist-info → khoj-1.30.2.dev3.dist-info}/METADATA +4 -9
  59. {khoj-1.30.2.dist-info → khoj-1.30.2.dev3.dist-info}/RECORD +64 -62
  60. khoj/interface/compiled/_next/static/chunks/1210.ef7a0f9a7e43da1d.js +0 -1
  61. khoj/interface/compiled/_next/static/chunks/1603-ba5f9f05e92c8412.js +0 -1
  62. khoj/interface/compiled/_next/static/chunks/1970-1b63ac1497b03a10.js +0 -1
  63. khoj/interface/compiled/_next/static/chunks/3463-081c031e873b7966.js +0 -3
  64. khoj/interface/compiled/_next/static/chunks/4752-554a3db270186ce3.js +0 -1
  65. khoj/interface/compiled/_next/static/chunks/app/settings/page-b6c835050c970be7.js +0 -1
  66. khoj/interface/compiled/_next/static/css/4cae6c0e5c72fb2d.css +0 -1
  67. khoj/interface/compiled/_next/static/css/5d8d85d3f2e95bae.css +0 -25
  68. khoj/interface/compiled/_next/static/css/63e106a52a0ec4ca.css +0 -1
  69. /khoj/interface/compiled/_next/static/{UR4enQiSbkZKb3SDFX2tx → B2OEgd27mxyHj5180Ng7n}/_buildManifest.js +0 -0
  70. /khoj/interface/compiled/_next/static/{UR4enQiSbkZKb3SDFX2tx → B2OEgd27mxyHj5180Ng7n}/_ssgManifest.js +0 -0
  71. {khoj-1.30.2.dist-info → khoj-1.30.2.dev3.dist-info}/WHEEL +0 -0
  72. {khoj-1.30.2.dist-info → khoj-1.30.2.dev3.dist-info}/entry_points.txt +0 -0
  73. {khoj-1.30.2.dist-info → khoj-1.30.2.dev3.dist-info}/licenses/LICENSE +0 -0
khoj/utils/helpers.py CHANGED
@@ -1,6 +1,5 @@
1
1
  from __future__ import annotations # to avoid quoting type hints
2
2
 
3
- import copy
4
3
  import datetime
5
4
  import io
6
5
  import ipaddress
@@ -19,7 +18,7 @@ from itertools import islice
19
18
  from os import path
20
19
  from pathlib import Path
21
20
  from time import perf_counter
22
- from typing import TYPE_CHECKING, Any, Optional, Union
21
+ from typing import TYPE_CHECKING, Optional, Union
23
22
  from urllib.parse import urlparse
24
23
 
25
24
  import psutil
@@ -452,12 +451,6 @@ def in_debug_mode():
452
451
  return is_env_var_true("KHOJ_DEBUG")
453
452
 
454
453
 
455
- def is_promptrace_enabled():
456
- """Check if Khoj is running with prompt tracing enabled.
457
- Set PROMPTRACE_DIR environment variable to prompt tracing path to enable it."""
458
- return not is_none_or_empty(os.getenv("PROMPTRACE_DIR"))
459
-
460
-
461
454
  def is_valid_url(url: str) -> bool:
462
455
  """Check if a string is a valid URL"""
463
456
  try:
@@ -528,29 +521,6 @@ def convert_image_to_webp(image_bytes):
528
521
  return webp_image_bytes
529
522
 
530
523
 
531
- def truncate_code_context(original_code_results: dict[str, Any], max_chars=10000) -> dict[str, Any]:
532
- """
533
- Truncate large output files and drop image file data from code results.
534
- """
535
- # Create a deep copy of the code results to avoid modifying the original data
536
- code_results = copy.deepcopy(original_code_results)
537
- for code_result in code_results.values():
538
- for idx, output_file in enumerate(code_result["results"]["output_files"]):
539
- # Drop image files from code results
540
- if Path(output_file["filename"]).suffix in {".png", ".jpg", ".jpeg", ".webp"}:
541
- code_result["results"]["output_files"][idx] = {
542
- "filename": output_file["filename"],
543
- "b64_data": "[placeholder for generated image data for brevity]",
544
- }
545
- # Truncate large output files
546
- elif len(output_file["b64_data"]) > max_chars:
547
- code_result["results"]["output_files"][idx] = {
548
- "filename": output_file["filename"],
549
- "b64_data": output_file["b64_data"][:max_chars] + "...",
550
- }
551
- return code_results
552
-
553
-
554
524
  @lru_cache
555
525
  def tz_to_cc_map() -> dict[str, str]:
556
526
  """Create a mapping of timezone to country code"""
@@ -570,27 +540,3 @@ def get_country_code_from_timezone(tz: str) -> str:
570
540
  def get_country_name_from_timezone(tz: str) -> str:
571
541
  """Get country name from timezone"""
572
542
  return country_names.get(get_country_code_from_timezone(tz), "United States")
573
-
574
-
575
- def get_cost_of_chat_message(model_name: str, input_tokens: int = 0, output_tokens: int = 0, prev_cost: float = 0.0):
576
- """
577
- Calculate cost of chat message based on input and output tokens
578
- """
579
-
580
- # Calculate cost of input and output tokens. Costs are per million tokens
581
- input_cost = constants.model_to_cost.get(model_name, {}).get("input", 0) * (input_tokens / 1e6)
582
- output_cost = constants.model_to_cost.get(model_name, {}).get("output", 0) * (output_tokens / 1e6)
583
-
584
- return input_cost + output_cost + prev_cost
585
-
586
-
587
- def get_chat_usage_metrics(model_name: str, input_tokens: int = 0, output_tokens: int = 0, usage: dict = {}):
588
- """
589
- Get usage metrics for chat message based on input and output tokens
590
- """
591
- prev_usage = usage or {"input_tokens": 0, "output_tokens": 0, "cost": 0.0}
592
- return {
593
- "input_tokens": prev_usage["input_tokens"] + input_tokens,
594
- "output_tokens": prev_usage["output_tokens"] + output_tokens,
595
- "cost": get_cost_of_chat_message(model_name, input_tokens, output_tokens, prev_cost=prev_usage["cost"]),
596
- }
khoj/utils/state.py CHANGED
@@ -27,7 +27,6 @@ config_file: Path = None
27
27
  verbose: int = 0
28
28
  host: str = None
29
29
  port: int = None
30
- ssl_config: Dict[str, str] = None
31
30
  cli_args: List[str] = None
32
31
  query_cache: Dict[str, LRU] = defaultdict(LRU)
33
32
  chat_lock = threading.Lock()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: khoj
3
- Version: 1.30.2
3
+ Version: 1.30.2.dev3
4
4
  Summary: Your Second Brain
5
5
  Project-URL: Homepage, https://khoj.dev
6
6
  Project-URL: Documentation, https://docs.khoj.dev
@@ -131,17 +131,10 @@ Description-Content-Type: text/markdown
131
131
 
132
132
  </div>
133
133
 
134
- ***
135
-
136
- ### 🎁 New
137
- * Start any message with `/research` to try out the experimental research mode with Khoj.
138
- * Anyone can now [create custom agents](https://blog.khoj.dev/posts/create-agents-on-khoj/) with tunable personality, tools and knowledge bases.
139
- * [Read](https://blog.khoj.dev/posts/evaluate-khoj-quality/) about Khoj's excellent performance on modern retrieval and reasoning benchmarks.
134
+ <div align="left">
140
135
 
141
136
  ***
142
137
 
143
- ## Overview
144
-
145
138
  [Khoj](https://khoj.dev) is a personal AI app to extend your capabilities. It smoothly scales up from an on-device personal AI to a cloud-scale enterprise AI.
146
139
 
147
140
  - Chat with any local or online LLM (e.g llama3, qwen, gemma, mistral, gpt, claude, gemini).
@@ -156,6 +149,8 @@ Description-Content-Type: text/markdown
156
149
 
157
150
  ***
158
151
 
152
+ </div>
153
+
159
154
  ## See it in action
160
155
 
161
156
  ![demo_chat](https://github.com/khoj-ai/khoj/blob/master/documentation/assets/img/quadratic_equation_khoj_web.gif?raw=true)
@@ -1,6 +1,6 @@
1
1
  khoj/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  khoj/configure.py,sha256=gJmEdBIXNje3tlCYgWG_t6KLv_fw2BxNSB7Aebao-Ck,17962
3
- khoj/main.py,sha256=YrLz-X7ipbZpt2goVG5h7vFEl96nEs0iQEJiN9bhF4Q,8500
3
+ khoj/main.py,sha256=WaV3muJXT-2MOBOm80kwvx76beUv2njJKRlbxs7jYvA,8300
4
4
  khoj/manage.py,sha256=njo6uLxGaMamTPesHjFEOIBJbpIUrz39e1V59zKj544,664
5
5
  khoj/app/README.md,sha256=PSQjKCdpU2hgszLVF8yEhV7TWhbEEb-1aYLTRuuAsKI,2832
6
6
  khoj/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -8,10 +8,10 @@ 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=QJ580R2dwr1p8EFHzLhX5rY1HWBmZxeW9X9hDlU0FhA,12086
11
+ khoj/database/admin.py,sha256=9xVVQ91gjLW4_ZpN1Ojp6zHynZBjMpJ_F_mEd1eyDA0,10718
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=4hGNCBISri7yHlanLkESTHIXO5aXO5JLtfnjakGeAgg,69083
14
+ khoj/database/adapters/__init__.py,sha256=KxGzqtDpbDPJdy-CZFXOM7sLqogzJXYyp_NDHgXttEg,69084
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
@@ -111,35 +111,37 @@ khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvt
111
111
  khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
112
112
  khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
113
113
  khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
114
- khoj/interface/compiled/index.html,sha256=ujTza92c0rF9m3e6On9pDOezBqSLOVuSRka9o_tWtRQ,11896
115
- khoj/interface/compiled/index.txt,sha256=3j-c3f9BsoQqRjkr8XAWwr2YWSf_ifk9_Jcu6XRsrg0,5515
114
+ khoj/interface/compiled/index.html,sha256=bn7Yner8mQuhlMTI5YXbNXwPoyqMbh29wds0ngRqODo,12153
115
+ khoj/interface/compiled/index.txt,sha256=2jkjG-SdFkx5qp9T1pRKSX6BY9Rr4qTnfyZnpXGIenA,5609
116
116
  khoj/interface/compiled/khoj.webmanifest,sha256=lsknYkvEdMbRTOUYKXPM_8krN2gamJmM4u3qj8u9lrU,1682
117
117
  khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
118
118
  khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
119
119
  khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
120
120
  khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
121
121
  khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
122
- khoj/interface/compiled/404/index.html,sha256=0isGlNZmzdvQWVuaT1PpXAGys2qPBJCGSpdKoe5tk14,12023
123
- khoj/interface/compiled/_next/static/UR4enQiSbkZKb3SDFX2tx/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
124
- khoj/interface/compiled/_next/static/UR4enQiSbkZKb3SDFX2tx/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
125
- khoj/interface/compiled/_next/static/chunks/1210.ef7a0f9a7e43da1d.js,sha256=yOh1qtmNHPpDd6vR7CJOXSbq8M_slPujdTR_OXxaEYU,2121
122
+ khoj/interface/compiled/404/index.html,sha256=iUVJr0_oar6BvPHdTNivGZdjxZoqB9hTXS8RmfbI4v8,12023
123
+ khoj/interface/compiled/_next/static/B2OEgd27mxyHj5180Ng7n/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
124
+ khoj/interface/compiled/_next/static/B2OEgd27mxyHj5180Ng7n/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
125
+ khoj/interface/compiled/_next/static/chunks/1210.132a7e1910006bbb.js,sha256=2dJueIfOg5qlQdanOM9HrgwcfrUXCD57bfd8Iv7iJcU,2104
126
126
  khoj/interface/compiled/_next/static/chunks/1279-4cb23143aa2c0228.js,sha256=zHMz-ixoNkLNUjN2-C48RGEyMs2mI9wsNRCczXnzIvQ,45616
127
127
  khoj/interface/compiled/_next/static/chunks/1459.690bf20e7d7b7090.js,sha256=z-ruZPxF_Z3ef_WOThd9Ox36AMhxaW3znizVivNnA34,34239
128
- khoj/interface/compiled/_next/static/chunks/1603-ba5f9f05e92c8412.js,sha256=AhHtUz-4HSuLvI7gPdwI32CqH-fsott_Yn-ztlP4zXM,90699
129
- khoj/interface/compiled/_next/static/chunks/1970-1b63ac1497b03a10.js,sha256=r9S2sLd2AcvG8lqQloOcuDwvdtUdDA16CpsJJ9zs2Fs,29906
130
- khoj/interface/compiled/_next/static/chunks/2646-92ba433951d02d52.js,sha256=Gf6rp2_N_ba2c4P84yJ1sW1I6Kcp7pjCkLTnYNP7_v8,237441
128
+ khoj/interface/compiled/_next/static/chunks/1603-859ddcf58f3ca639.js,sha256=qlglDnAg1d0ohxnopVi1HMJa5_jjWc3EmiRvh1fBthQ,73891
129
+ khoj/interface/compiled/_next/static/chunks/1970-e1935a1d0930a7c5.js,sha256=3hp_EoSjfrivYwGsLAZd22tJdGVnLrld6vV94-ABKU4,29801
130
+ khoj/interface/compiled/_next/static/chunks/216-b2e4344315b88832.js,sha256=Sz0t6FNM1oJXke42354nmPFREqb14BXDJO4AsqKOtAY,238786
131
131
  khoj/interface/compiled/_next/static/chunks/3072-be830e4f8412b9d2.js,sha256=BBUjJdE8AgmhoF6PA8WPC8d-01ppYgcZpjNyTGeayRE,35457
132
- khoj/interface/compiled/_next/static/chunks/3463-081c031e873b7966.js,sha256=i2gtKYe_IoTm-o_WroIkfMPkBduFTcJ35qQ0zG3HlcM,1090912
132
+ khoj/interface/compiled/_next/static/chunks/3124-e8410bbd01f6f188.js,sha256=8nvTywzLygRGYmFlGbNik1c5wDFAFH_wYjm12mC9tgY,186256
133
133
  khoj/interface/compiled/_next/static/chunks/3690-51312931ba1eae30.js,sha256=wNgE6XXRWdN4DwIsAcNhS--NuI94kKuJTYeB-_zSvZ8,37482
134
- khoj/interface/compiled/_next/static/chunks/3717-b46079dbe9f55694.js,sha256=CDgJ8A-SuA9MSKRRv7mUAngABFU5Lof3JKd09hsnVDY,23625
135
134
  khoj/interface/compiled/_next/static/chunks/4504-62ac13e7d94c52f9.js,sha256=YJZXNOQENgdXRRU4s7PtlLajNRgKjJCzaZHfYYtA0tk,11651
136
135
  khoj/interface/compiled/_next/static/chunks/4602-460621c3241e0d13.js,sha256=pz2lEr0JOrMdrddv2R2vej4e9uxpOr5KFX966ClLbOU,29928
137
- khoj/interface/compiled/_next/static/chunks/4752-554a3db270186ce3.js,sha256=pGLGL_rf3O0FObAsNpf6aqoQeLyouH-noW80uIy9DrY,429218
138
136
  khoj/interface/compiled/_next/static/chunks/5512-7cc62049bbe60e11.js,sha256=Ni89mckLMw1gUQbAWycg-c-LR94ju0VwyyoGdRORqHo,104335
139
137
  khoj/interface/compiled/_next/static/chunks/5538-e5f3c9f4d67a64b9.js,sha256=fVmOVGfIWKLMGBa8S2twxDRAZBXDDXn-bLKV_PNemB0,34224
138
+ khoj/interface/compiled/_next/static/chunks/6297-55f82537bb7068dd.js,sha256=4nzZ2umR-q6wQ-8L4RSivWXKV_SE1dWoN9qA1I9lCRI,25675
139
+ khoj/interface/compiled/_next/static/chunks/6901-e3dc0d315e3f6033.js,sha256=Rh9HgAhxeoRVj9_3Jq8edBF8UkMiveSOlY2Ynl4aekA,242160
140
140
  khoj/interface/compiled/_next/static/chunks/7023-e8de2bded4df6539.js,sha256=TBJA7dTnI8nymtbljKuZzo2hbStXWR-P8Qkl57k2Tw8,123898
141
141
  khoj/interface/compiled/_next/static/chunks/7592-a09c39a38e60634b.js,sha256=MZwXPDWpPP7g3X0RBXlKoY0t7zzvMr-E6zKoonVOY0I,16336
142
+ khoj/interface/compiled/_next/static/chunks/796-36ee2d6829448c6d.js,sha256=sGuaWffm4HXr8jrS3_HpLzmiGSrZ9TJV1l0btptfPLA,1092974
142
143
  khoj/interface/compiled/_next/static/chunks/8423-1dda16bc56236523.js,sha256=w3edQ7QUU0dqyzTFQ7J9XRL_xtgX8dMlIesqqfNd07c,15293
144
+ khoj/interface/compiled/_next/static/chunks/9417-06236cd650f1abcd.js,sha256=9r3lV-DxmhmQnYjroVbjAXPyX6rvSmhZKfUguE0dENw,15039
143
145
  khoj/interface/compiled/_next/static/chunks/94ca1967.5584df65931cfe83.js,sha256=lxdrZ8h3_IWkTuk6QlzM2Hd9Pvu9_p8h_EI4aveSOgE,1174519
144
146
  khoj/interface/compiled/_next/static/chunks/964ecbae.ea4eab2a3a835ffe.js,sha256=EccPkhdFk6L0NIAVQfWe4kOpRWqhf20PkYecy7R_fyo,1175119
145
147
  khoj/interface/compiled/_next/static/chunks/d3ac728e-a9e3522eef9b6b28.js,sha256=wK1TsLdl56xtbQG6HMRDpylzTOYXQaAnnn2xobFnX40,267216
@@ -148,32 +150,32 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
148
150
  khoj/interface/compiled/_next/static/chunks/main-1ea5c2e0fdef4626.js,sha256=8_u87PGI3PahFbDfGWGvpD-a18J7X7ChUqWIeqxVq7g,111061
149
151
  khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=i52E7sWOcSq1G8eYZL3mtTxbUbwRNxcAbSWQ6uWpMsY,475
150
152
  khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
151
- khoj/interface/compiled/_next/static/chunks/webpack-5dbccc5145b80b64.js,sha256=430eM0hAemum8tIGO6yA8A3l0QzDHLkDNCcGWRF1mTg,4039
153
+ khoj/interface/compiled/_next/static/chunks/webpack-fff9e0e69bdcdb1a.js,sha256=Yp3tHBlrjCAzPgaYDp_mG8BCxZN5NqijQleWwEdkkEI,4039
152
154
  khoj/interface/compiled/_next/static/chunks/app/layout-86561d2fac35a91a.js,sha256=2EWsyKE2kcC5uDvsOtgG5OP0hHCX8sCph4NqhUU2rCg,442
153
- khoj/interface/compiled/_next/static/chunks/app/page-5cc56a8db5d21b38.js,sha256=iWK5gNMQBdive4Bo6fABV1c-L8t7UV33tRnHhTrilTw,33210
155
+ khoj/interface/compiled/_next/static/chunks/app/page-4a3c49c5e996cc40.js,sha256=6yWpNUFJZtRQ1D8KEtiFHUX6nSnyw_5j5RCLEJykpd4,33219
154
156
  khoj/interface/compiled/_next/static/chunks/app/_not-found/page-cfba071f5a657256.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
155
157
  khoj/interface/compiled/_next/static/chunks/app/agents/layout-e9838b642913a071.js,sha256=w3vWDf7m2_VG7q98_KGAWbCO06RI7iqFYsb4nDqGUDw,372
156
- khoj/interface/compiled/_next/static/chunks/app/agents/page-f5c0801b27a8e95e.js,sha256=ZBZOd8ajB4OubnrHYQLFtmVi6C0GfXu4tBbuHPsS81g,11745
158
+ khoj/interface/compiled/_next/static/chunks/app/agents/page-b086c9b0aa5a3833.js,sha256=HgQImDHRNqLWrd1N5uzBcZVu5owQKwvpO-aNoaARpH4,11754
157
159
  khoj/interface/compiled/_next/static/chunks/app/automations/layout-7f1b79a2c67af0b4.js,sha256=MvPp1IfxmpfRaT4XDDpj-l6F4CV-loeGqi315QYXKZw,5143
158
- khoj/interface/compiled/_next/static/chunks/app/automations/page-0393501fad5f8e3d.js,sha256=HrbOSO7FsCMiLwCiTRtOTDI83DSRbDnlcvZZIdN2GTU,35349
160
+ khoj/interface/compiled/_next/static/chunks/app/automations/page-697a2d415e11a872.js,sha256=dXCTbZkLZaI12_YIWMgmvjr8kIBvI9GFKe95XC9C4-I,35343
159
161
  khoj/interface/compiled/_next/static/chunks/app/chat/layout-b0e7ff4baa3b5265.js,sha256=a-Qv2nHUrCa1gIs4Qo5txnOlhhQessAdcnAhhjaN3ag,374
160
- khoj/interface/compiled/_next/static/chunks/app/chat/page-f2539e3197d03c0d.js,sha256=OqPWMblNSd-faf04sl9MgNlhpLHF4wJhxjKszzwywM4,7056
162
+ khoj/interface/compiled/_next/static/chunks/app/chat/page-461e26fcb7578d39.js,sha256=EDvD-AFs_OBDRGefTi08x9G6WuVsaaM57fn1FQknsz0,7069
161
163
  khoj/interface/compiled/_next/static/chunks/app/search/layout-ea6b73fdaf9b24ca.js,sha256=mBgNUjaTBNgIKOpZj722mh1ojg1CNIYRBPiupStSS6s,165
162
- khoj/interface/compiled/_next/static/chunks/app/search/page-e8b578d155550386.js,sha256=fgsV5-mo0VzHTN8s0ZRJwAqgNHTYKUxv1ebHGzRQN3s,6948
164
+ khoj/interface/compiled/_next/static/chunks/app/search/page-9013658bebfc3d17.js,sha256=ufxcLuHLFf2IoGpU1sBp64ldmX_otBE2HJ22LULJJW8,6957
163
165
  khoj/interface/compiled/_next/static/chunks/app/settings/layout-1f4d76a8b09517b1.js,sha256=gmAaWa1vNym-LKxvESq4b4PRxJ2zi7slSXVTv3aadhE,5347
164
- khoj/interface/compiled/_next/static/chunks/app/settings/page-b6c835050c970be7.js,sha256=cdLFFn8J9InHmLeWJVsmz1DWO1cJbOCiyWoVR7Q083Y,32244
166
+ khoj/interface/compiled/_next/static/chunks/app/settings/page-23399f8c2d6079b8.js,sha256=gGoxV6z1ID4uQqCWeGK4biysqRWtG8ZB7TOB4DX1Sts,32148
165
167
  khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-cf7445cf0326bda3.js,sha256=W3axh1K4y-pLSXcXogLl4qLKXr5BZLY1uA7JfSWp5TU,373
166
- khoj/interface/compiled/_next/static/chunks/app/share/chat/page-635635e4fb39fe29.js,sha256=1jCQbNiSBpyUU6JWbZMi9s73_4M5A_nAfNCiXJoiLNs,4366
168
+ khoj/interface/compiled/_next/static/chunks/app/share/chat/page-6a68ac7e227b34e7.js,sha256=4mT5YSFDEsfOZzC2A1l9K19DkAQJUv_gc_is0sgb6so,4374
167
169
  khoj/interface/compiled/_next/static/chunks/pages/_app-f870474a17b7f2fd.js,sha256=eqdFPAN_XFyMUzZ9qwFk-_rhMWZrU7lgNVt1foVUANo,286
168
170
  khoj/interface/compiled/_next/static/chunks/pages/_error-c66a4e8afc46f17b.js,sha256=vjERjtMAbVk-19LyPf1Jc-H6TMcrSznSz6brzNqbqf8,253
169
171
  khoj/interface/compiled/_next/static/css/0e9d53dcd7f11342.css,sha256=52_LSJ59Vwm1p2UpcDXEvq99pTjz2sW4EjF5iKf-dzs,2622
172
+ khoj/interface/compiled/_next/static/css/1a4038cc4acc8ee4.css,sha256=-DxhDuhlUAQ3m_90PhhOWP5xHO-6ET5j0IhlK7_3cR4,3058882
170
173
  khoj/interface/compiled/_next/static/css/1f293605f2871853.css,sha256=G2b3Wx4e0DRBWSdNU20ivCChZI5HBzvPYUVVIdTRjLc,26590
174
+ khoj/interface/compiled/_next/static/css/23f801d22927d568.css,sha256=vVeNg0xTNJbdrtpZNuFCvNJPW5An06hr7i2M6yDXjK4,8449
171
175
  khoj/interface/compiled/_next/static/css/3cf13271869a4aeb.css,sha256=sGjJTeMeN6wbQF4OCPgWYgJmSLLSHyzIH2rSVstWx7k,1857
172
- khoj/interface/compiled/_next/static/css/4cae6c0e5c72fb2d.css,sha256=3CjTMmtMrm_MYt1ywtUh2MHEjSLSl356SQLl4hdBuYw,534
173
176
  khoj/interface/compiled/_next/static/css/592ca99f5122e75a.css,sha256=BSqRkeb9vBh0phx5GkAlZirTFZintbyggGaUkuOBfaU,914
174
177
  khoj/interface/compiled/_next/static/css/5a400c87d295e68a.css,sha256=ojDUPJ9fJpEo9DzTAsEa-k1cg7Bef-nSTfpszMiqknQ,17711
175
- khoj/interface/compiled/_next/static/css/5d8d85d3f2e95bae.css,sha256=L1tlHKGRDZPWYQSY1x8F1YOE02fZx2b-8nrwufCtcd4,3058974
176
- khoj/interface/compiled/_next/static/css/63e106a52a0ec4ca.css,sha256=Wv-HjEgVcNJ3OHNbnsizTFoL1P6Khfb9o4Qt-rQyPY4,9549
178
+ khoj/interface/compiled/_next/static/css/80bd6301fc657983.css,sha256=T7_aQHcWpQBQLKadauHNzjYGw713FtRNTlUqmJjsL6I,1634
177
179
  khoj/interface/compiled/_next/static/media/5455839c73f146e7-s.p.woff2,sha256=BUeNjYxyX7Bu76aNlJrZtW3PwYgcH-kp8syFdODZoyc,35788
178
180
  khoj/interface/compiled/_next/static/media/5984b96ba4822821-s.woff2,sha256=RFrf6fMTduuQwEe78qK6_Y_Mnj97HmRDG-VujYxwA90,99368
179
181
  khoj/interface/compiled/_next/static/media/684adc3dde1b03f1-s.woff2,sha256=5loL1Nrr0sWovNVA8BcfMnck7uDntv7wBNd9oxGMaM8,19820
@@ -246,8 +248,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
246
248
  khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
247
249
  khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
248
250
  khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
249
- khoj/interface/compiled/agents/index.html,sha256=3qTZf7mlvE-mBeQ5huRI-iwzK8rylrbEf66rdbW3lpQ,12706
250
- khoj/interface/compiled/agents/index.txt,sha256=gsWF7Vs0ElQmmy__r7TT1icBDGi8WzBvea0aobixT6k,6082
251
+ khoj/interface/compiled/agents/index.html,sha256=qNzx11AzGpKna7rekzPFXyM8GI5fWFmHKmQ98Q8YbfA,12963
252
+ khoj/interface/compiled/agents/index.txt,sha256=xUSGnDpYyOtCNT174aCrsI1vQ73x2zY8kbK7mIz53Io,6176
251
253
  khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
252
254
  khoj/interface/compiled/assets/icons/khoj_lantern_128x128.png,sha256=aTxivDb3CYyThkVZWz8A19xl_dNut5DbkXhODWF3A9Q,5640
253
255
  khoj/interface/compiled/assets/icons/khoj_lantern_256x256.png,sha256=xPCMLHiaL7lYOdQLZrKwWE-Qjn5ZaysSZB0ScYv4UZU,12312
@@ -258,16 +260,16 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
258
260
  khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
259
261
  khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
260
262
  khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
261
- khoj/interface/compiled/automations/index.html,sha256=QigzElfovNB9eGRJnfbrjtabvm9oI1DF0s47yLu1v34,30941
262
- khoj/interface/compiled/automations/index.txt,sha256=4eVUAm-B72W1TlrGlp5lxLRWkULDEWfSZlkEF349u40,5633
263
- khoj/interface/compiled/chat/index.html,sha256=DwOzs776D1rK8Y4W7RqEAxXnyXvndWL8AkvgmitlGwo,13292
264
- khoj/interface/compiled/chat/index.txt,sha256=R2aaVp3b01lN8-y5ZgV0GewJ9WX3mlT-McfCE0Nxdis,6361
265
- khoj/interface/compiled/search/index.html,sha256=bCDg8v3-HDS4YUlLexSH0lnm0mc1c_QKGyjZndA-zfs,29901
266
- khoj/interface/compiled/search/index.txt,sha256=J35qEBpWMUoaOBm0HFvU_SEmOo6QUnhSYfmzgPcBl7U,5160
267
- khoj/interface/compiled/settings/index.html,sha256=SnTuhT75ykCA_5fs1r-Nkr83uaYwjF1klKYKnlq6SWQ,12831
268
- khoj/interface/compiled/settings/index.txt,sha256=i0NmfY5T3chrxkAjfyrc0hXIkmYFSTZ1gvquNQtbBcY,6078
269
- khoj/interface/compiled/share/chat/index.html,sha256=COpz_M_NqFkkdtuH2f77JwL8qkvX6QWSIfW-3WfyPsg,14897
270
- khoj/interface/compiled/share/chat/index.txt,sha256=ZQPpwOvFCRNUNmlx0OstXpbJSHlkZ-liGdLRnkyD6YY,7291
263
+ khoj/interface/compiled/automations/index.html,sha256=E-QPAn9eckN_KjgpPu26t6UGoS-g13WMOXIrAo_RiJ4,30630
264
+ khoj/interface/compiled/automations/index.txt,sha256=JzxAgLIXQqMZiTVrBT49llVro43FLnOPjskv4kCjiQE,5498
265
+ khoj/interface/compiled/chat/index.html,sha256=YVW1Y9H9_KNRHn7c5Yq57JDuyhjPLQ8NPvIKvG2C25w,13854
266
+ khoj/interface/compiled/chat/index.txt,sha256=5WK1zB0fGn8rRBHLy2I1lEXpi3hsDX1O2AltMYsCrj4,6586
267
+ khoj/interface/compiled/search/index.html,sha256=zvaPNDCR4vE4Izat4i0UeRfrBsfSCxdSE2eQex08qfA,30158
268
+ khoj/interface/compiled/search/index.txt,sha256=TLPvvTjsavdKqhLpa-ZJkXfezYXCip39v_Ok1drAD94,5254
269
+ khoj/interface/compiled/settings/index.html,sha256=Cry1EAcApWvxwDu99MZne5EifBVGCj1ujdlHdGq_jRY,12828
270
+ khoj/interface/compiled/settings/index.txt,sha256=uK5nj7Jiv4_jfYtAZagD02PrcgQZQuAds8RfCVQhe60,6076
271
+ khoj/interface/compiled/share/chat/index.html,sha256=Qel8ZgAsA1XhF440BjzpnZJsMlEni6P-g_WA20xVzUo,15151
272
+ khoj/interface/compiled/share/chat/index.txt,sha256=XIN-VrJeZvqhukYtoQDjac67ykxWupHAHcfI0roBmKE,7383
271
273
  khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
272
274
  khoj/interface/email/magic_link.html,sha256=EoGKQucfPj3xQrWXhSZAzPFOYCHF_ZX94TWCd1XHl1M,941
273
275
  khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
@@ -318,41 +320,41 @@ khoj/processor/content/pdf/pdf_to_entries.py,sha256=GQUvab61okhV9_DK0g2MCrMq8wKp
318
320
  khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
319
321
  khoj/processor/content/plaintext/plaintext_to_entries.py,sha256=wFZwK_zIc7gWbRtO9sOHo9KvfhGAzL9psX_nKWYFduo,4975
320
322
  khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
321
- khoj/processor/conversation/prompts.py,sha256=nSaaXWNCGk7x3gL2aJrT2N-E640l7te_xfoEUQI3WqE,50150
322
- khoj/processor/conversation/utils.py,sha256=ReKdCp1zBW4_zBTkIcokTOe0oO2R6Mxwrzuei3sIvzA,28681
323
+ khoj/processor/conversation/prompts.py,sha256=WokfQopt1bfaGTi0YYAIxrYDI0aCFYhx05vE0IfGokY,48999
324
+ khoj/processor/conversation/utils.py,sha256=LfZGRaesh_ay8L0GJAxySqGObuXi3_RwCh7MY80ZLvk,28505
323
325
  khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
324
- khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=FTt--y2lDosdCd52TAp2ZshONSNHyPeTQ68NfExfQG0,8700
325
- khoj/processor/conversation/anthropic/utils.py,sha256=En5uBBsxDBWb6QTs5g8nH_f2FVBX1uYK40i13fDRAhc,7327
326
+ khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=8w7oSTBIxcZa6y03Zo2nuQFa2WMiazwK_qfO2q_O-6c,8618
327
+ khoj/processor/conversation/anthropic/utils.py,sha256=6_FnsfLRqjkubkfMVmPTEEBzvMUOAccIz5AHV6B9mU8,6623
326
328
  khoj/processor/conversation/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
327
- khoj/processor/conversation/google/gemini_chat.py,sha256=6_lAJ8HUYSfAs_Efs2UahqeD1GEKeCF25UFwX5WdnHM,8901
328
- khoj/processor/conversation/google/utils.py,sha256=2vV7MNXFhJqBut5iMmQwcfvsqL_AkGoEd4XiViCk51s,10851
329
+ khoj/processor/conversation/google/gemini_chat.py,sha256=MABG3OAqfz-DDp6sHbkHcyM3VTevPOUV6x3iCB__mcc,8819
330
+ khoj/processor/conversation/google/utils.py,sha256=-Z5crXL6-xJraEX4qShbI3Y4PAqKi55PEWiEDPSi-LM,10205
329
331
  khoj/processor/conversation/offline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
330
- khoj/processor/conversation/offline/chat_model.py,sha256=daVM5a7uSGXEpOZ_DZ8uxrqPysPDT5041Kks6gn_CUM,11028
332
+ khoj/processor/conversation/offline/chat_model.py,sha256=SCkloMOcQlC01yE-mYOU_hF5efpq_sDpaOYK6aYxN_c,10941
331
333
  khoj/processor/conversation/offline/utils.py,sha256=51McImxl6u1qgRYvMt7uzsgLGSLq5SMFy74ymlNjIcc,3033
332
334
  khoj/processor/conversation/offline/whisper.py,sha256=DJI-8y8DULO2cQ49m2VOvRyIZ2TxBypc15gM8O3HuMI,470
333
335
  khoj/processor/conversation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
- khoj/processor/conversation/openai/gpt.py,sha256=l9SnUdSWHn-lKmqUSgTdMYTHLFhl-xYTz-MpDHWk7dE,8187
335
- khoj/processor/conversation/openai/utils.py,sha256=7EjpsqqU_Y47q8hXm-9GSkVhukBzMJpTiz9o47UrDLk,7590
336
+ khoj/processor/conversation/openai/gpt.py,sha256=IYv1PAiO1KaD5hCxWKQfzfSBRYR7seMP_kfofuLrexQ,8104
337
+ khoj/processor/conversation/openai/utils.py,sha256=n_lFlgNjsFbghF1gfNPRtPvR3GG2JjUwWTGbjvnxbLU,6448
336
338
  khoj/processor/conversation/openai/whisper.py,sha256=zoEeK1LNCg_tzP4xzYi5vRPzNPGuDGzpkrkG7d1LUn4,447
337
339
  khoj/processor/image/generate.py,sha256=i5J51AwlMZbdlHHov-_MAw9bYgdVYmGgFjCYWDfx02s,9120
338
340
  khoj/processor/speech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
339
341
  khoj/processor/speech/text_to_speech.py,sha256=Q7sapi5Hv6woXOumtrGqR0t6izZrFBkWXFOGrHM6dJ4,1929
340
342
  khoj/processor/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
341
343
  khoj/processor/tools/online_search.py,sha256=X8D3ClKpg34r_LMol28GdBqZ--YVGGVBPc9lUSgb2mg,17128
342
- khoj/processor/tools/run_code.py,sha256=orPypKNllLb_iNTVJgmAKhMT8TaabYrA9tsCUe_6g5w,6581
344
+ khoj/processor/tools/run_code.py,sha256=i9ce53dw0y5ZNhPorRNYJieIKw6eyrZQX0ABDrWiW8M,7738
343
345
  khoj/routers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
346
  khoj/routers/api.py,sha256=Z-0MqhlbhxR-palz_Kl3CqsC8O91n-xmgj8JNqQ8lv0,28495
345
347
  khoj/routers/api_agents.py,sha256=vHPruCjlQxGBdm0lcmymEb9-aAELqbOplqh21WwD0DQ,9699
346
- khoj/routers/api_chat.py,sha256=MRg4vyk-zaDRDR7DIXs_OqJYjufASw6Egp4VFDHXcDw,50585
348
+ khoj/routers/api_chat.py,sha256=MsiqhXiWT_c4u3DqqvAwoT-3oeudMQSqzZyHMbmHne0,49280
347
349
  khoj/routers/api_content.py,sha256=WNlB6lVwRW8hHDthO2HypbpPvqrqt9rTU5oMRNknpMU,21070
348
350
  khoj/routers/api_model.py,sha256=KDsxNwHspC94eTcv6l3ehr773EOvgc670UnZLE1WZ4o,3642
349
351
  khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
350
- khoj/routers/api_subscription.py,sha256=qnbKwA6N1TWK8Aiu1FFLka_JhbPOuwqT262NSHGZDiQ,5569
351
- khoj/routers/auth.py,sha256=kWPB2McwT6z4rGF6mWl92Q7ToRX-XezBPFefdxqQUk4,6579
352
+ khoj/routers/api_subscription.py,sha256=J6xZNZDdOA71vCfethlPfAyfvRBq4HGCBpbsOZ9CWj0,5333
353
+ khoj/routers/auth.py,sha256=HO54PR-BkWA_iJIktEobUrObcXVYG-00jpnIcEVdR5s,6564
352
354
  khoj/routers/email.py,sha256=SGYNPQvfcvYeHf70F0YqpY0FLMRElF2ZekROXdwGI18,3821
353
- khoj/routers/helpers.py,sha256=PY14ukbc7pzl_8p2j2xySRRg755Ll_QHb2iV64dOlBQ,82368
355
+ khoj/routers/helpers.py,sha256=tVnlU6OEc9fWVuj11Acsf_zvPkSTM6fzFCC7mI15GfQ,81658
354
356
  khoj/routers/notion.py,sha256=g53xyYFmjr2JnuIrTW2vytbfkiK_UkoRTxqnnLSmD5o,2802
355
- khoj/routers/research.py,sha256=8jA6i5nkyuW_DSJA1DIYgnIiB1yNC6fMm4HvaQ8RhQQ,16121
357
+ khoj/routers/research.py,sha256=SczFMS9a8_Wxhh3n_Zt9CJ-zZugBDAd_WmiZGFa6RR8,16117
356
358
  khoj/routers/storage.py,sha256=tJrwhFRVWv0MHv7V7huMc1Diwm-putZSwnZXJ3tqT_c,2338
357
359
  khoj/routers/twilio.py,sha256=MLsuCm4--ETvr3sLxbF0CL_ehlg_l2rKBSLR2Qh2Xls,1081
358
360
  khoj/routers/web_client.py,sha256=frH03Sh0AR7c2MvRyc5a3tOFyxyVak3d1pl1sLcLLD4,4212
@@ -364,19 +366,19 @@ khoj/search_filter/word_filter.py,sha256=5Yx95aSiqGke9kEIbp8T-Ak4dS9cTd3VxI1SaJo
364
366
  khoj/search_type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
365
367
  khoj/search_type/text_search.py,sha256=PZzJVCXpeBM795SIqiAKXAxgnCp1NIRiVikm040r1b0,9443
366
368
  khoj/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
367
- khoj/utils/cli.py,sha256=IIZ2qH0v7Jmqw3JRH1K5EMp9TRze6en3GYsASnglMEM,3916
369
+ khoj/utils/cli.py,sha256=EA7IvWAInUIll8YFTOpQtqLtCQXwphfHi5rJ2TKAdSQ,3757
368
370
  khoj/utils/config.py,sha256=aiOkH0je8A30DAGYTHMRePrgJonFv_i07_7CdhhhcdA,1805
369
- khoj/utils/constants.py,sha256=Icw4vD_d0rlk2IXi5oqbLVlUtFQYw8BtV7LEIerimjU,2074
371
+ khoj/utils/constants.py,sha256=vjMu-gVRxrTSlxBb1eAXYfRjqf8NchbiWuxDXtQ4G3c,1257
370
372
  khoj/utils/fs_syncer.py,sha256=5nqwAZqRk3Nwhkwd8y4IomTPZQmW32GwAqyMzal5KyY,9996
371
- khoj/utils/helpers.py,sha256=0rcdtBTVr7weUVKAIPgMow-wpwEMP0KkZtV7xQxiBGg,22744
373
+ khoj/utils/helpers.py,sha256=tdwRlkI5IqOr07cxw4zKindR3hSn6cGthPYHSXs2BcU,20239
372
374
  khoj/utils/initialization.py,sha256=nJtqPUv52SPA6sPHn0_vs1uSBdDihX25Dvvagu81Xbs,13490
373
375
  khoj/utils/jsonl.py,sha256=0Ac_COqr8sLCXntzZtquxuCEVRM2c3yKeDRGhgOBRpQ,1192
374
376
  khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
375
377
  khoj/utils/rawconfig.py,sha256=bQ_MGbBzYt6ZUIsHUwZjaHKDLh6GQ7h-sENkv3fyVbQ,5028
376
- khoj/utils/state.py,sha256=axjZhnby8L3bY-N1VVoWgBH1RpFGK6U3_ZeNo1Kt7hs,1679
378
+ khoj/utils/state.py,sha256=KtUEIKAZdGGN_Qr58RS1pgcywgSafun8YIXx-YEclAY,1645
377
379
  khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
378
- khoj-1.30.2.dist-info/METADATA,sha256=JYtqHsdzQs1whVAA6665sqGNSc5n0Bso904Xu6Sgd8M,7495
379
- khoj-1.30.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
380
- khoj-1.30.2.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
381
- khoj-1.30.2.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
382
- khoj-1.30.2.dist-info/RECORD,,
380
+ khoj-1.30.2.dev3.dist-info/METADATA,sha256=6mYNAhHnezlb9CI24_EgIr7XUJLAQkGT7Ce4qEgUvvs,7119
381
+ khoj-1.30.2.dev3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
382
+ khoj-1.30.2.dev3.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
383
+ khoj-1.30.2.dev3.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
384
+ khoj-1.30.2.dev3.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1210],{51210:function(e,t,i){i.r(t),i.d(t,{default:function(){return f}});var n=i(57437),a=i(2265),l=i(57818),d=i(60266),r=i(50495),s=i(10077),o=i(46613);let c=(0,l.default)(async()=>(await Promise.resolve().then(i.t.bind(i,60266,23))).Excalidraw,{loadableGenerated:{webpack:()=>[60266]},ssr:!1});function f(e){let[t,i]=(0,a.useState)([]),[l,f]=(0,a.useState)(!1),u=e=>void 0!==e.x&&void 0!==e.y&&void 0!==e.id&&void 0!==e.type;return(0,a.useEffect)(()=>{onkeydown=l?e=>{"Escape"===e.key&&(f(!1),window.dispatchEvent(new Event("resize")))}:null},[l]),(0,a.useEffect)(()=>{let t=[];for(let i of e.data)u(i)&&t.push(i);let n=[];for(let e of t)if("frame"!==e.type){if("arrow"===e.type){if(e.start&&!t.find(t=>{var i;return t.id===(null===(i=e.start)||void 0===i?void 0:i.id)})||e.end&&!t.find(t=>{var i;return t.id===(null===(i=e.end)||void 0===i?void 0:i.id)}))continue;n.push(e)}else n.push(e)}for(let e of t)if("frame"===e.type){var a;let t=null===(a=e.children)||void 0===a?void 0:a.map(e=>n.find(t=>t.id===e)),i=null==t?void 0:t.map(e=>null==e?void 0:e.id).filter(e=>void 0!==e);if(void 0===i||0===i.length)continue;n.push({...e,children:i})}i((0,d.convertToExcalidrawElements)(n))},[]),(0,n.jsx)("div",{className:"relative",children:(0,n.jsxs)("div",{className:"".concat(l?"fixed inset-0 bg-black bg-opacity-50 backdrop-blur-sm z-50 flex items-center justify-center":""),children:[(0,n.jsx)(r.z,{onClick:()=>{f(!l),window.dispatchEvent(new Event("resize"))},variant:"outline",className:"".concat(l?"absolute top-2 left-2 z-[60]":""),children:l?(0,n.jsx)(s.f,{className:"h-4 w-4"}):(0,n.jsx)(o.t,{className:"h-4 w-4"})}),(0,n.jsx)("div",{className:"\n ".concat(l?"w-[80vw] h-[80vh]":"w-full h-[500px]","\n bg-white overflow-hidden rounded-lg relative\n "),children:(0,n.jsx)(c,{initialData:{elements:t,appState:{zenModeEnabled:!0},scrollToContent:!0},theme:"dark"===localStorage.getItem("theme")?"dark":"light",validateEmbeddable:!0,renderTopRightUI:(e,t)=>(0,n.jsx)(n.Fragment,{})})})]})})}}}]);