kodit 0.1.12__tar.gz → 0.1.13__tar.gz

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.

Potentially problematic release.


This version of kodit might be problematic. Click here for more details.

Files changed (86) hide show
  1. {kodit-0.1.12 → kodit-0.1.13}/PKG-INFO +1 -1
  2. {kodit-0.1.12 → kodit-0.1.13}/docs/_index.md +27 -0
  3. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/_version.py +2 -2
  4. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/cli.py +0 -7
  5. {kodit-0.1.12 → kodit-0.1.13}/.cursor/rules/kodit.mdc +0 -0
  6. {kodit-0.1.12 → kodit-0.1.13}/.github/CODE_OF_CONDUCT.md +0 -0
  7. {kodit-0.1.12 → kodit-0.1.13}/.github/CONTRIBUTING.md +0 -0
  8. {kodit-0.1.12 → kodit-0.1.13}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  9. {kodit-0.1.12 → kodit-0.1.13}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  10. {kodit-0.1.12 → kodit-0.1.13}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  11. {kodit-0.1.12 → kodit-0.1.13}/.github/workflows/docker.yaml +0 -0
  12. {kodit-0.1.12 → kodit-0.1.13}/.github/workflows/docs.yaml +0 -0
  13. {kodit-0.1.12 → kodit-0.1.13}/.github/workflows/pypi-test.yaml +0 -0
  14. {kodit-0.1.12 → kodit-0.1.13}/.github/workflows/pypi.yaml +0 -0
  15. {kodit-0.1.12 → kodit-0.1.13}/.github/workflows/test.yaml +0 -0
  16. {kodit-0.1.12 → kodit-0.1.13}/.gitignore +0 -0
  17. {kodit-0.1.12 → kodit-0.1.13}/.python-version +0 -0
  18. {kodit-0.1.12 → kodit-0.1.13}/.vscode/launch.json +0 -0
  19. {kodit-0.1.12 → kodit-0.1.13}/.vscode/settings.json +0 -0
  20. {kodit-0.1.12 → kodit-0.1.13}/Dockerfile +0 -0
  21. {kodit-0.1.12 → kodit-0.1.13}/LICENSE +0 -0
  22. {kodit-0.1.12 → kodit-0.1.13}/README.md +0 -0
  23. {kodit-0.1.12 → kodit-0.1.13}/alembic.ini +0 -0
  24. {kodit-0.1.12 → kodit-0.1.13}/docs/developer/index.md +0 -0
  25. {kodit-0.1.12 → kodit-0.1.13}/pyproject.toml +0 -0
  26. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/.gitignore +0 -0
  27. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/__init__.py +0 -0
  28. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/app.py +0 -0
  29. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/bm25/__init__.py +0 -0
  30. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/bm25/bm25.py +0 -0
  31. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/config.py +0 -0
  32. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/database.py +0 -0
  33. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/embedding/__init__.py +0 -0
  34. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/embedding/embedding.py +0 -0
  35. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/embedding/embedding_models.py +0 -0
  36. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/indexing/__init__.py +0 -0
  37. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/indexing/indexing_models.py +0 -0
  38. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/indexing/indexing_repository.py +0 -0
  39. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/indexing/indexing_service.py +0 -0
  40. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/log.py +0 -0
  41. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/mcp.py +0 -0
  42. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/middleware.py +0 -0
  43. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/migrations/README +0 -0
  44. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/migrations/__init__.py +0 -0
  45. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/migrations/env.py +0 -0
  46. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/migrations/script.py.mako +0 -0
  47. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/migrations/versions/7c3bbc2ab32b_add_embeddings_table.py +0 -0
  48. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/migrations/versions/85155663351e_initial.py +0 -0
  49. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/migrations/versions/__init__.py +0 -0
  50. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/search/__init__.py +0 -0
  51. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/search/search_repository.py +0 -0
  52. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/search/search_service.py +0 -0
  53. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/snippets/__init__.py +0 -0
  54. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/snippets/languages/__init__.py +0 -0
  55. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/snippets/languages/csharp.scm +0 -0
  56. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/snippets/languages/python.scm +0 -0
  57. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/snippets/method_snippets.py +0 -0
  58. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/snippets/snippets.py +0 -0
  59. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/source/__init__.py +0 -0
  60. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/source/source_models.py +0 -0
  61. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/source/source_repository.py +0 -0
  62. {kodit-0.1.12 → kodit-0.1.13}/src/kodit/source/source_service.py +0 -0
  63. {kodit-0.1.12 → kodit-0.1.13}/tests/__init__.py +0 -0
  64. {kodit-0.1.12 → kodit-0.1.13}/tests/conftest.py +0 -0
  65. {kodit-0.1.12 → kodit-0.1.13}/tests/experiments/embedding.py +0 -0
  66. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/__init__.py +0 -0
  67. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/cli_test.py +0 -0
  68. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/e2e.py +0 -0
  69. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/embedding/__init__.py +0 -0
  70. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/embedding/embedding_test.py +0 -0
  71. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/indexing/__init__.py +0 -0
  72. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/indexing/indexing_service_test.py +0 -0
  73. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/mcp_test.py +0 -0
  74. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/search/__init__.py +0 -0
  75. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/search/search_repository_test.py +0 -0
  76. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/search/search_service_test.py +0 -0
  77. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/snippets/__init__.py +0 -0
  78. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/snippets/csharp.cs +0 -0
  79. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/snippets/detect_language_test.py +0 -0
  80. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/snippets/method_extraction_test.py +0 -0
  81. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/snippets/python.py +0 -0
  82. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/source/__init__.py +0 -0
  83. {kodit-0.1.12 → kodit-0.1.13}/tests/kodit/source/source_service_test.py +0 -0
  84. {kodit-0.1.12 → kodit-0.1.13}/tests/performance/similarity.py +0 -0
  85. {kodit-0.1.12 → kodit-0.1.13}/tests/smoke.sh +0 -0
  86. {kodit-0.1.12 → kodit-0.1.13}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kodit
3
- Version: 0.1.12
3
+ Version: 0.1.13
4
4
  Summary: Code indexing for better AI code generation
5
5
  Project-URL: Homepage, https://docs.helixml.tech/kodit/
6
6
  Project-URL: Documentation, https://docs.helixml.tech/kodit/
@@ -95,6 +95,33 @@ You MUST use the code-search MCP tool and always include any file context the us
95
95
 
96
96
  Alternatively, you can browse to the cursor settings and set this prompt globally.
97
97
 
98
+ ### Integration with Cline
99
+
100
+ 1. Click on the Cline icon in the menu
101
+ 2. Click the `MCP Servers` button at the top right of the Cline window (looks like a
102
+ server)
103
+ 3. Click the `Remote Servers` tab.
104
+ 4. Click `Edit Configuration`
105
+ 5. Add the following configuration:
106
+
107
+ ```json
108
+ {
109
+ "mcpServers": {
110
+ "kodit": {
111
+ "autoApprove": [],
112
+ "disabled": true,
113
+ "timeout": 60,
114
+ "url": "http://localhost:8080/sse",
115
+ "transportType": "sse"
116
+ }
117
+ }
118
+ }
119
+ ```
120
+
121
+ 6. Save the configuration and browse to the `Installed` tab.
122
+
123
+ Kodit should be listed and responding. Now code on!
124
+
98
125
  ## Configuring Kodit
99
126
 
100
127
  Configuration of Kodit is performed by setting environmental variables or adding
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.1.12'
21
- __version_tuple__ = version_tuple = (0, 1, 12)
20
+ __version__ = version = '0.1.13'
21
+ __version_tuple__ = version_tuple = (0, 1, 13)
@@ -1,6 +1,5 @@
1
1
  """Command line interface for kodit."""
2
2
 
3
- import os
4
3
  import signal
5
4
  from pathlib import Path
6
5
  from typing import Any
@@ -226,9 +225,7 @@ async def hybrid(
226
225
  @cli.command()
227
226
  @click.option("--host", default="127.0.0.1", help="Host to bind the server to")
228
227
  @click.option("--port", default=8080, help="Port to bind the server to")
229
- @with_app_context
230
228
  def serve(
231
- app_context: AppContext,
232
229
  host: str,
233
230
  port: int,
234
231
  ) -> None:
@@ -237,10 +234,6 @@ def serve(
237
234
  log.info("Starting kodit server", host=host, port=port)
238
235
  log_event("kodit_server_started")
239
236
 
240
- # Dump AppContext to a dictionary of strings, and set the env vars
241
- app_context_dict = {k: str(v) for k, v in app_context.model_dump().items()}
242
- os.environ.update(app_context_dict)
243
-
244
237
  # Configure uvicorn with graceful shutdown
245
238
  config = uvicorn.Config(
246
239
  "kodit.app:app",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes