synap-git 0.2.0__tar.gz → 0.2.1__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.
- {synap_git-0.2.0 → synap_git-0.2.1}/PKG-INFO +6 -4
- {synap_git-0.2.0 → synap_git-0.2.1}/README.md +2 -2
- {synap_git-0.2.0 → synap_git-0.2.1}/pyproject.toml +9 -4
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/__init__.py +1 -1
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/cli/main.py +812 -139
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/config.py +11 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/diagnostics/logger.py +24 -4
- synap_git-0.2.1/src/synap_git/indexer/daemon.py +297 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/indexer/engine.py +3 -3
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/provider/factory.py +13 -0
- synap_git-0.2.1/src/synap_git/provider/openrouter.py +70 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/retrieval/memory.py +1 -1
- synap_git-0.2.0/src/synap_git/indexer/daemon.py +0 -143
- {synap_git-0.2.0 → synap_git-0.2.1}/.gitignore +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/.synap.example/README.md +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/CHANGELOG.md +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/LICENSE.md +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/api/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/api/app.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/api/static/index.html +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/cli/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/cli/__main__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/diagnostics/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/diagnostics/tracing.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/embeddings/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/git/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/git/state.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/indexer/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/indexer/scanner.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/indexer/wiki.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/mcp/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/mcp/server.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/parser/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/parser/registry.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/provider/anthropic.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/provider/base.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/provider/gemini.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/provider/mock.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/provider/ollama.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/provider/openai.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/py.typed +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/retrieval/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/retrieval/engine.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/storage/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/storage/sqlite.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/utils/__init__.py +0 -0
- {synap_git-0.2.0 → synap_git-0.2.1}/src/synap_git/utils/serialization.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: synap-git
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Persistent structural context infrastructure for AI coding agents.
|
|
5
5
|
Project-URL: Homepage, https://github.com/saahilpal/synap-git
|
|
6
6
|
Project-URL: Repository, https://github.com/saahilpal/synap-git
|
|
@@ -22,12 +22,14 @@ Requires-Python: >=3.11
|
|
|
22
22
|
Requires-Dist: click==8.1.8
|
|
23
23
|
Requires-Dist: fastapi==0.115.11
|
|
24
24
|
Requires-Dist: gitpython==3.1.44
|
|
25
|
+
Requires-Dist: httpx==0.28.1
|
|
25
26
|
Requires-Dist: keyring==25.6.0
|
|
26
27
|
Requires-Dist: markdown-it-py==3.0.0
|
|
27
28
|
Requires-Dist: mcp==1.3.0
|
|
28
29
|
Requires-Dist: msgpack==1.1.0
|
|
29
30
|
Requires-Dist: pydantic-settings==2.8.1
|
|
30
31
|
Requires-Dist: pydantic==2.10.6
|
|
32
|
+
Requires-Dist: questionary==2.1.0
|
|
31
33
|
Requires-Dist: structlog==25.1.0
|
|
32
34
|
Requires-Dist: tiktoken==0.9.0
|
|
33
35
|
Requires-Dist: tree-sitter-languages==1.10.2
|
|
@@ -36,11 +38,11 @@ Requires-Dist: typer==0.15.1
|
|
|
36
38
|
Requires-Dist: uvicorn==0.34.0
|
|
37
39
|
Provides-Extra: dev
|
|
38
40
|
Requires-Dist: bandit==1.8.3; extra == 'dev'
|
|
39
|
-
Requires-Dist: httpx==0.28.1; extra == 'dev'
|
|
40
41
|
Requires-Dist: mypy==1.15.0; extra == 'dev'
|
|
41
42
|
Requires-Dist: pre-commit==4.1.0; extra == 'dev'
|
|
42
43
|
Requires-Dist: pytest-asyncio==0.25.3; extra == 'dev'
|
|
43
44
|
Requires-Dist: pytest-cov==6.0.0; extra == 'dev'
|
|
45
|
+
Requires-Dist: pytest-timeout==2.3.1; extra == 'dev'
|
|
44
46
|
Requires-Dist: pytest==8.3.4; extra == 'dev'
|
|
45
47
|
Requires-Dist: ruff==0.9.9; extra == 'dev'
|
|
46
48
|
Description-Content-Type: text/markdown
|
|
@@ -180,9 +182,9 @@ sequenceDiagram
|
|
|
180
182
|
### 1. Installation
|
|
181
183
|
Install the Synap CLI via `pip` or `uv`:
|
|
182
184
|
```bash
|
|
183
|
-
pip install
|
|
185
|
+
pip install synap-git
|
|
184
186
|
# or using uv:
|
|
185
|
-
uv tool install
|
|
187
|
+
uv tool install synap-git
|
|
186
188
|
```
|
|
187
189
|
|
|
188
190
|
### 2. Setup & Initialize
|
|
@@ -133,9 +133,9 @@ sequenceDiagram
|
|
|
133
133
|
### 1. Installation
|
|
134
134
|
Install the Synap CLI via `pip` or `uv`:
|
|
135
135
|
```bash
|
|
136
|
-
pip install
|
|
136
|
+
pip install synap-git
|
|
137
137
|
# or using uv:
|
|
138
|
-
uv tool install
|
|
138
|
+
uv tool install synap-git
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
### 2. Setup & Initialize
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "synap-git"
|
|
3
|
-
|
|
3
|
+
dynamic = ["version"]
|
|
4
4
|
description = "Persistent structural context infrastructure for AI coding agents."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -22,12 +22,14 @@ dependencies = [
|
|
|
22
22
|
"click==8.1.8",
|
|
23
23
|
"fastapi==0.115.11",
|
|
24
24
|
"gitpython==3.1.44",
|
|
25
|
+
"httpx==0.28.1",
|
|
25
26
|
"keyring==25.6.0",
|
|
26
27
|
"markdown-it-py==3.0.0",
|
|
27
28
|
"mcp==1.3.0",
|
|
28
29
|
"msgpack==1.1.0",
|
|
29
30
|
"pydantic==2.10.6",
|
|
30
31
|
"pydantic-settings==2.8.1",
|
|
32
|
+
"questionary==2.1.0",
|
|
31
33
|
"structlog==25.1.0",
|
|
32
34
|
"tiktoken==0.9.0",
|
|
33
35
|
"tree-sitter==0.20.4",
|
|
@@ -46,12 +48,12 @@ Changelog = "https://github.com/saahilpal/synap-git/blob/main/CHANGELOG.md"
|
|
|
46
48
|
[project.optional-dependencies]
|
|
47
49
|
dev = [
|
|
48
50
|
"bandit==1.8.3",
|
|
49
|
-
"httpx==0.28.1",
|
|
50
51
|
"mypy==1.15.0",
|
|
51
52
|
"pre-commit==4.1.0",
|
|
52
53
|
"pytest==8.3.4",
|
|
53
54
|
"pytest-asyncio==0.25.3",
|
|
54
55
|
"pytest-cov==6.0.0",
|
|
56
|
+
"pytest-timeout==2.3.1",
|
|
55
57
|
"ruff==0.9.9",
|
|
56
58
|
]
|
|
57
59
|
|
|
@@ -62,6 +64,9 @@ synap = "synap_git.cli:app"
|
|
|
62
64
|
requires = ["hatchling"]
|
|
63
65
|
build-backend = "hatchling.build"
|
|
64
66
|
|
|
67
|
+
[tool.hatch.version]
|
|
68
|
+
path = "src/synap_git/__init__.py"
|
|
69
|
+
|
|
65
70
|
[tool.hatch.build.targets.sdist]
|
|
66
71
|
include = [
|
|
67
72
|
"src/synap_git",
|
|
@@ -81,7 +86,7 @@ src = ["src", "tests"]
|
|
|
81
86
|
|
|
82
87
|
[tool.ruff.lint]
|
|
83
88
|
select = ["A", "B", "C4", "E", "F", "I", "N", "UP", "W", "S", "PT", "ARG", "PTH"]
|
|
84
|
-
ignore = ["B008", "E501", "B904", "B007", "F841", "W291", "S101", "S105", "S106", "ARG001", "ARG002", "S110", "S310"]
|
|
89
|
+
ignore = ["B008", "E501", "B904", "B007", "F841", "W291", "S101", "S105", "S106", "ARG001", "ARG002", "S110", "S310", "N806", "S603", "S607", "PTH123"]
|
|
85
90
|
|
|
86
91
|
[tool.ruff.lint.per-file-ignores]
|
|
87
92
|
"tests/*" = ["S603"]
|
|
@@ -104,7 +109,7 @@ module = ["msgpack"]
|
|
|
104
109
|
ignore_missing_imports = true
|
|
105
110
|
|
|
106
111
|
[tool.pytest.ini_options]
|
|
107
|
-
addopts = "-ra --strict-markers --strict-config"
|
|
112
|
+
addopts = "-ra --strict-markers --strict-config --timeout=60"
|
|
108
113
|
testpaths = ["tests"]
|
|
109
114
|
asyncio_mode = "auto"
|
|
110
115
|
asyncio_default_fixture_loop_scope = "function"
|