amfs-http-server 0.3.7__tar.gz → 0.3.9__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.
@@ -14,3 +14,6 @@ node_modules/
14
14
  !pnpm-lock.yaml
15
15
  .amfs/
16
16
  test.py
17
+
18
+ # pytest temp dirs (created when basetemp lands in the repo)
19
+ pytest-of-*/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amfs-http-server
3
- Version: 0.3.7
3
+ Version: 0.3.9
4
4
  Summary: AMFS HTTP/REST API server with SSE support
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.11
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "amfs-http-server"
3
- version = "0.3.7"
3
+ version = "0.3.9"
4
4
  description = "AMFS HTTP/REST API server with SSE support"
5
5
  requires-python = ">=3.11"
6
6
  license = "Apache-2.0"
@@ -39,6 +39,9 @@ class SearchRequest(BaseModel):
39
39
  sort_by: str = "confidence"
40
40
  branch: str = "main"
41
41
  depth: int = 3
42
+ # When True (default) artifacts are demoted to the bottom of results; when
43
+ # False they are excluded entirely.
44
+ include_artifacts: bool = True
42
45
 
43
46
 
44
47
  class RetrieveRequest(BaseModel):
@@ -57,6 +60,9 @@ class RetrieveRequest(BaseModel):
57
60
  recency_weight: float = 0.3
58
61
  confidence_weight: float = 0.2
59
62
  branch: str = "main"
63
+ # When True (default) artifacts (stored source files) are demoted but still
64
+ # returned; when False they are excluded entirely from results.
65
+ include_artifacts: bool = True
60
66
 
61
67
 
62
68
  class ContextRequest(BaseModel):