getbased-rag 0.7.2__tar.gz → 0.7.3__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.
Files changed (23) hide show
  1. {getbased_rag-0.7.2/src/getbased_rag.egg-info → getbased_rag-0.7.3}/PKG-INFO +1 -1
  2. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/pyproject.toml +1 -1
  3. {getbased_rag-0.7.2 → getbased_rag-0.7.3/src/getbased_rag.egg-info}/PKG-INFO +1 -1
  4. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/store.py +4 -1
  5. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/LICENSE +0 -0
  6. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/README.md +0 -0
  7. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/setup.cfg +0 -0
  8. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/SOURCES.txt +0 -0
  9. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/dependency_links.txt +0 -0
  10. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/entry_points.txt +0 -0
  11. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/requires.txt +0 -0
  12. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/top_level.txt +0 -0
  13. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/__init__.py +0 -0
  14. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/api_key.py +0 -0
  15. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/cli.py +0 -0
  16. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/config.py +0 -0
  17. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/embedder.py +0 -0
  18. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/ingest.py +0 -0
  19. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/registry.py +0 -0
  20. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/server.py +0 -0
  21. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/tests/test_env_loader.py +0 -0
  22. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/tests/test_onnx_embedder.py +0 -0
  23. {getbased_rag-0.7.2 → getbased_rag-0.7.3}/tests/test_server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: getbased-rag
3
- Version: 0.7.2
3
+ Version: 0.7.3
4
4
  Summary: getbased-rag — standalone RAG knowledge server (formerly the Electron-bundled Lens)
5
5
  License-Expression: AGPL-3.0-or-later
6
6
  Requires-Python: >=3.10
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "getbased-rag"
7
- version = "0.7.2"
7
+ version = "0.7.3"
8
8
  description = "getbased-rag — standalone RAG knowledge server (formerly the Electron-bundled Lens)"
9
9
  readme = "README.md"
10
10
  license = "AGPL-3.0-or-later"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: getbased-rag
3
- Version: 0.7.2
3
+ Version: 0.7.3
4
4
  Summary: getbased-rag — standalone RAG knowledge server (formerly the Electron-bundled Lens)
5
5
  License-Expression: AGPL-3.0-or-later
6
6
  Requires-Python: >=3.10
@@ -197,7 +197,10 @@ class Store:
197
197
  try:
198
198
  self._client().delete_collection(self._collection)
199
199
  except Exception as e: # noqa: BLE001
200
- log.warning("drop collection %s failed: %s", self._collection, e)
200
+ # Sanitize collection name to prevent CRLF log-injection — the
201
+ # collection name comes from user-supplied library IDs.
202
+ safe_name = self._collection.replace("\r", " ").replace("\n", " ")[:128]
203
+ log.warning("drop collection %s failed: %s", safe_name, e)
201
204
 
202
205
  def list_sources(self) -> list[dict]:
203
206
  """Aggregate by source: returns [{source, chunks}, ...] sorted by source.
File without changes
File without changes
File without changes