kodit 0.1.2__py3-none-any.whl → 0.1.3__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.

Potentially problematic release.


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

kodit/_version.py CHANGED
@@ -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.2'
21
- __version_tuple__ = version_tuple = (0, 1, 2)
20
+ __version__ = version = '0.1.3'
21
+ __version_tuple__ = version_tuple = (0, 1, 3)
kodit/database.py CHANGED
@@ -4,6 +4,7 @@ import asyncio
4
4
  from collections.abc import AsyncGenerator, Callable
5
5
  from datetime import UTC, datetime
6
6
  from functools import wraps
7
+ from pathlib import Path
7
8
  from typing import Any, TypeVar
8
9
 
9
10
  from alembic import command
@@ -17,6 +18,7 @@ from sqlalchemy.ext.asyncio import (
17
18
  )
18
19
  from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
19
20
 
21
+ from kodit import alembic
20
22
  from kodit.config import DATA_DIR
21
23
 
22
24
  # Constants
@@ -82,6 +84,6 @@ def configure_database() -> None:
82
84
  """Configure the database by initializing it and running any pending migrations."""
83
85
  # Create Alembic configuration and run migrations
84
86
  alembic_cfg = Config()
85
- alembic_cfg.set_main_option("script_location", "src/kodit/alembic")
87
+ alembic_cfg.set_main_option("script_location", str(Path(alembic.__file__).parent))
86
88
  alembic_cfg.set_main_option("sqlalchemy.url", DB_URL)
87
89
  command.upgrade(alembic_cfg, "head")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kodit
3
- Version: 0.1.2
3
+ Version: 0.1.3
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/
@@ -1,10 +1,10 @@
1
1
  kodit/.gitignore,sha256=ztkjgRwL9Uud1OEi36hGQeDGk3OLK1NfDEO8YqGYy8o,11
2
2
  kodit/__init__.py,sha256=aEKHYninUq1yh6jaNfvJBYg-6fenpN132nJt1UU6Jxs,59
3
- kodit/_version.py,sha256=bSmADqydH8nBu-J4lG8UVuR7hnU_zcwhnSav2oQ0W0A,511
3
+ kodit/_version.py,sha256=NIzzV8ZM0W-CSLuEs1weG4zPrn_-8yr1AwwI1iuS6yo,511
4
4
  kodit/app.py,sha256=FBAeeOz2CICvVN_27iMq9wEF9y8d1IDl0WmkEnM_M_U,699
5
5
  kodit/cli.py,sha256=2hNz05I6vryhkGqwMXlg_GKVAzhMmS_v8H2Nl6oxBZ4,5696
6
6
  kodit/config.py,sha256=Wq9MlxOnOA3p9mgIzsq-s7N57_GFVIOMML-4GFINmqE,104
7
- kodit/database.py,sha256=QGfqcDVAhSed67-ubMZyjsNR4shh6DmMFCdKg6H54yc,2391
7
+ kodit/database.py,sha256=ndStVWzR5XAiZ1JBu_NE4Nv-KLEZ3GQVLVjPIUmiRA4,2457
8
8
  kodit/logging.py,sha256=dQr4YXVH8_B52V0wXbBrn_HvH4QpO-fsi0C3JPWzn0Y,5022
9
9
  kodit/mcp.py,sha256=Sg7Waes9Z7HYzdglspG92dGhTVtb1lEaEKW-vlaUCXg,1488
10
10
  kodit/middleware.py,sha256=NHLrqq20ZtPTE9esX9HD3z7EKi56_QTFxBlkdq0JDzQ,2138
@@ -26,8 +26,8 @@ kodit/sources/__init__.py,sha256=1NTZyPdjThVQpZO1Mp1ColVsS7sqYanOVLqnoqV9Ipo,83
26
26
  kodit/sources/models.py,sha256=xb42CaNDO1CUB8SIW-xXMrB6Ji8cFw-yeJ550xBEg9Q,2398
27
27
  kodit/sources/repository.py,sha256=mGJrHWH6Uo8YABdoojHFbzaf_jW-2ywJpAHIa1gnc3U,3401
28
28
  kodit/sources/service.py,sha256=khrz3UH6hNTYwXMFosGc46trcb8Sm0dTPwvptbgRgwM,6722
29
- kodit-0.1.2.dist-info/METADATA,sha256=6HY81RDuu6MXJkq_1sCrcVU2C5zsrElYMbnouji2npY,2019
30
- kodit-0.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
- kodit-0.1.2.dist-info/entry_points.txt,sha256=hoTn-1aKyTItjnY91fnO-rV5uaWQLQ-Vi7V5et2IbHY,40
32
- kodit-0.1.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
33
- kodit-0.1.2.dist-info/RECORD,,
29
+ kodit-0.1.3.dist-info/METADATA,sha256=1Q0EP_fo9liqZoW_3QGXMphCj05jtgYxfIwMb4o4e5c,2019
30
+ kodit-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
+ kodit-0.1.3.dist-info/entry_points.txt,sha256=hoTn-1aKyTItjnY91fnO-rV5uaWQLQ-Vi7V5et2IbHY,40
32
+ kodit-0.1.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
33
+ kodit-0.1.3.dist-info/RECORD,,
File without changes