axmem 0.6.0rc1__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 (104) hide show
  1. axmem-0.6.0rc1/.gitignore +57 -0
  2. axmem-0.6.0rc1/LICENSE +661 -0
  3. axmem-0.6.0rc1/LICENSE-FORGETFUL-MIT.md +21 -0
  4. axmem-0.6.0rc1/PKG-INFO +546 -0
  5. axmem-0.6.0rc1/README.md +507 -0
  6. axmem-0.6.0rc1/app/__init__.py +0 -0
  7. axmem-0.6.0rc1/app/_version.py +24 -0
  8. axmem-0.6.0rc1/app/bootstrap.py +359 -0
  9. axmem-0.6.0rc1/app/config/__init__.py +0 -0
  10. axmem-0.6.0rc1/app/config/auth.py +207 -0
  11. axmem-0.6.0rc1/app/config/legacy_settings.py +246 -0
  12. axmem-0.6.0rc1/app/config/logging_config.py +415 -0
  13. axmem-0.6.0rc1/app/config/settings.py +435 -0
  14. axmem-0.6.0rc1/app/exceptions.py +89 -0
  15. axmem-0.6.0rc1/app/middleware/__init__.py +0 -0
  16. axmem-0.6.0rc1/app/middleware/auth.py +323 -0
  17. axmem-0.6.0rc1/app/middleware/body_limit.py +81 -0
  18. axmem-0.6.0rc1/app/middleware/logging_middleware.py +20 -0
  19. axmem-0.6.0rc1/app/middleware/loopback_guard.py +105 -0
  20. axmem-0.6.0rc1/app/middleware/static_token.py +47 -0
  21. axmem-0.6.0rc1/app/middleware/token_verifiers.py +67 -0
  22. axmem-0.6.0rc1/app/models/__init__.py +0 -0
  23. axmem-0.6.0rc1/app/models/memory_models.py +600 -0
  24. axmem-0.6.0rc1/app/models/models.py +14 -0
  25. axmem-0.6.0rc1/app/models/tenant_models.py +20 -0
  26. axmem-0.6.0rc1/app/models/tool_registry_models.py +165 -0
  27. axmem-0.6.0rc1/app/protocols/__init__.py +0 -0
  28. axmem-0.6.0rc1/app/protocols/embedding_protocol.py +20 -0
  29. axmem-0.6.0rc1/app/protocols/executor.py +23 -0
  30. axmem-0.6.0rc1/app/protocols/maintenance_protocol.py +68 -0
  31. axmem-0.6.0rc1/app/protocols/memory_protocol.py +322 -0
  32. axmem-0.6.0rc1/app/repositories/__init__.py +0 -0
  33. axmem-0.6.0rc1/app/repositories/embeddings/__init__.py +0 -0
  34. axmem-0.6.0rc1/app/repositories/embeddings/embedding_adapter.py +286 -0
  35. axmem-0.6.0rc1/app/repositories/embeddings/gateway_adapter.py +270 -0
  36. axmem-0.6.0rc1/app/repositories/embeddings/reranker_adapter.py +74 -0
  37. axmem-0.6.0rc1/app/repositories/embeddings/tensorrt_cache.py +240 -0
  38. axmem-0.6.0rc1/app/repositories/embeddings/tensorrt_common.py +70 -0
  39. axmem-0.6.0rc1/app/repositories/embeddings/tensorrt_embedder.py +164 -0
  40. axmem-0.6.0rc1/app/repositories/embeddings/tensorrt_model.py +167 -0
  41. axmem-0.6.0rc1/app/repositories/embeddings/tensorrt_reranker.py +137 -0
  42. axmem-0.6.0rc1/app/repositories/embeddings/tensorrt_runtime.py +535 -0
  43. axmem-0.6.0rc1/app/repositories/qdrant/__init__.py +1 -0
  44. axmem-0.6.0rc1/app/repositories/qdrant/archive.py +303 -0
  45. axmem-0.6.0rc1/app/repositories/qdrant/backup.py +343 -0
  46. axmem-0.6.0rc1/app/repositories/qdrant/client.py +317 -0
  47. axmem-0.6.0rc1/app/repositories/qdrant/inspector.py +73 -0
  48. axmem-0.6.0rc1/app/repositories/qdrant/memory_base.py +61 -0
  49. axmem-0.6.0rc1/app/repositories/qdrant/memory_links.py +150 -0
  50. axmem-0.6.0rc1/app/repositories/qdrant/memory_reads.py +145 -0
  51. axmem-0.6.0rc1/app/repositories/qdrant/memory_reembedding.py +286 -0
  52. axmem-0.6.0rc1/app/repositories/qdrant/memory_repository.py +58 -0
  53. axmem-0.6.0rc1/app/repositories/qdrant/memory_search.py +190 -0
  54. axmem-0.6.0rc1/app/repositories/qdrant/memory_writes.py +216 -0
  55. axmem-0.6.0rc1/app/repositories/qdrant/payloads.py +151 -0
  56. axmem-0.6.0rc1/app/repositories/qdrant/schema.py +474 -0
  57. axmem-0.6.0rc1/app/repositories/qdrant/store.py +555 -0
  58. axmem-0.6.0rc1/app/repositories/service_failures.py +183 -0
  59. axmem-0.6.0rc1/app/routes/__init__.py +0 -0
  60. axmem-0.6.0rc1/app/routes/api/__init__.py +0 -0
  61. axmem-0.6.0rc1/app/routes/api/access.py +90 -0
  62. axmem-0.6.0rc1/app/routes/api/auth.py +43 -0
  63. axmem-0.6.0rc1/app/routes/api/health.py +65 -0
  64. axmem-0.6.0rc1/app/routes/api/memories.py +384 -0
  65. axmem-0.6.0rc1/app/routes/api/query_params.py +72 -0
  66. axmem-0.6.0rc1/app/routes/api/request_utils.py +119 -0
  67. axmem-0.6.0rc1/app/routes/api/validation.py +28 -0
  68. axmem-0.6.0rc1/app/routes/cli/__init__.py +1 -0
  69. axmem-0.6.0rc1/app/routes/cli/auth_commands.py +166 -0
  70. axmem-0.6.0rc1/app/routes/cli/context.py +24 -0
  71. axmem-0.6.0rc1/app/routes/cli/local_executor.py +49 -0
  72. axmem-0.6.0rc1/app/routes/cli/operator_commands.py +157 -0
  73. axmem-0.6.0rc1/app/routes/cli/parser.py +335 -0
  74. axmem-0.6.0rc1/app/routes/cli/paths.py +17 -0
  75. axmem-0.6.0rc1/app/routes/cli/remote_executor.py +150 -0
  76. axmem-0.6.0rc1/app/routes/cli/render.py +136 -0
  77. axmem-0.6.0rc1/app/routes/cli/verbs.py +73 -0
  78. axmem-0.6.0rc1/app/routes/mcp/__init__.py +0 -0
  79. axmem-0.6.0rc1/app/routes/mcp/adapters/__init__.py +1 -0
  80. axmem-0.6.0rc1/app/routes/mcp/adapters/arguments.py +132 -0
  81. axmem-0.6.0rc1/app/routes/mcp/adapters/memory.py +571 -0
  82. axmem-0.6.0rc1/app/routes/mcp/adapters/memory_arguments.py +149 -0
  83. axmem-0.6.0rc1/app/routes/mcp/meta_tools.py +443 -0
  84. axmem-0.6.0rc1/app/routes/mcp/pagination.py +3 -0
  85. axmem-0.6.0rc1/app/routes/mcp/scope_resolver.py +308 -0
  86. axmem-0.6.0rc1/app/routes/mcp/tool_adapters.py +31 -0
  87. axmem-0.6.0rc1/app/routes/mcp/tool_errors.py +35 -0
  88. axmem-0.6.0rc1/app/routes/mcp/tool_metadata_registry.py +806 -0
  89. axmem-0.6.0rc1/app/routes/mcp/tool_registry.py +216 -0
  90. axmem-0.6.0rc1/app/routes/server_state.py +49 -0
  91. axmem-0.6.0rc1/app/services/__init__.py +0 -0
  92. axmem-0.6.0rc1/app/services/backup_service.py +57 -0
  93. axmem-0.6.0rc1/app/services/memory_service.py +704 -0
  94. axmem-0.6.0rc1/app/services/re_embedding_service.py +427 -0
  95. axmem-0.6.0rc1/app/utils/__init__.py +0 -0
  96. axmem-0.6.0rc1/app/utils/embedding_helpers.py +69 -0
  97. axmem-0.6.0rc1/app/utils/private_files.py +64 -0
  98. axmem-0.6.0rc1/app/utils/provenance.py +58 -0
  99. axmem-0.6.0rc1/app/utils/pydantic_helper.py +51 -0
  100. axmem-0.6.0rc1/app/utils/token_counter.py +143 -0
  101. axmem-0.6.0rc1/app/utils/url_helpers.py +31 -0
  102. axmem-0.6.0rc1/app/version.py +18 -0
  103. axmem-0.6.0rc1/main.py +650 -0
  104. axmem-0.6.0rc1/pyproject.toml +373 -0
@@ -0,0 +1,57 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+ debug/
9
+ data/
10
+
11
+ # Tools
12
+ .pi/
13
+ .codex/
14
+ .axmem/
15
+
16
+ # Virtual environments
17
+ .venv
18
+ .venv*
19
+
20
+ # Quality-gate artefacts
21
+ .coverage-data/
22
+ htmlcov/
23
+ coverage.xml
24
+ .mypy_cache/
25
+ .ruff_cache/
26
+ .pytest_cache/
27
+ mutants/
28
+ .mutmut-cache
29
+ .qodana-results/
30
+
31
+ # Environment files
32
+ .env
33
+ .env.*
34
+ !.env.example
35
+
36
+ #hatch-vcs
37
+ app/_version.py
38
+
39
+ # VS Code
40
+ .vscode
41
+
42
+ # serena
43
+ .serena
44
+
45
+ # UAT walkthrough harness artifacts
46
+ test_harness/runs/
47
+ test_harness/docker/requirements.lock
48
+
49
+ # Nix build output symlinks (never commit)
50
+ result
51
+ result-*
52
+
53
+ # The maintainer's personal notes (never commit)
54
+ /TODO
55
+
56
+ # JetBrains
57
+ .idea/