sourcefire 0.3.4__tar.gz → 0.3.5__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.
- {sourcefire-0.3.4/sourcefire.egg-info → sourcefire-0.3.5}/PKG-INFO +1 -1
- {sourcefire-0.3.4 → sourcefire-0.3.5}/pyproject.toml +1 -1
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/cli.py +4 -2
- {sourcefire-0.3.4 → sourcefire-0.3.5/sourcefire.egg-info}/PKG-INFO +1 -1
- {sourcefire-0.3.4 → sourcefire-0.3.5}/LICENSE +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/MANIFEST.in +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/README.md +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/setup.cfg +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/__init__.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/api/__init__.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/api/models.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/api/routes.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/chain/__init__.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/chain/prompts.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/chain/rag_chain.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/config.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/db.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/global_config.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/indexer/__init__.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/indexer/embeddings.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/indexer/language_profiles.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/indexer/metadata.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/indexer/pipeline.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/init.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/prompts/system.md +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/retriever/__init__.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/retriever/graph.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/retriever/search.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/static/app.js +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/static/index.html +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/static/styles.css +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire/watcher.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire.egg-info/SOURCES.txt +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire.egg-info/dependency_links.txt +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire.egg-info/entry_points.txt +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire.egg-info/requires.txt +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/sourcefire.egg-info/top_level.txt +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/tests/test_config.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/tests/test_graph.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/tests/test_metadata.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/tests/test_prompts.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/tests/test_routes.py +0 -0
- {sourcefire-0.3.4 → sourcefire-0.3.5}/tests/test_search.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sourcefire
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Get instant context on any codebase. One command to index, ask questions in plain English, get answers grounded in actual code.
|
|
5
5
|
Author-email: Athar Wani <athar@cravv.com>
|
|
6
6
|
License: MIT
|
|
@@ -54,12 +54,14 @@ def discover_project() -> tuple[Path, Path]:
|
|
|
54
54
|
|
|
55
55
|
current = Path.cwd().resolve()
|
|
56
56
|
while True:
|
|
57
|
+
# Stop BEFORE checking — never use home or root as project
|
|
58
|
+
if current in stop_dirs:
|
|
59
|
+
break
|
|
57
60
|
candidate = current / ".sourcefire"
|
|
58
|
-
# Only accept if it has a config.toml (project-level, not stale/global)
|
|
59
61
|
if candidate.is_dir() and (candidate / "config.toml").is_file():
|
|
60
62
|
return current, candidate
|
|
61
63
|
parent = current.parent
|
|
62
|
-
if parent == current
|
|
64
|
+
if parent == current:
|
|
63
65
|
break
|
|
64
66
|
current = parent
|
|
65
67
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sourcefire
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Get instant context on any codebase. One command to index, ask questions in plain English, get answers grounded in actual code.
|
|
5
5
|
Author-email: Athar Wani <athar@cravv.com>
|
|
6
6
|
License: MIT
|
|
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
|
|
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
|