runtime-memory 3.0.0__py3-none-any.whl

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 (54) hide show
  1. runtime_memory/__init__.py +28 -0
  2. runtime_memory/claude_code/__init__.py +48 -0
  3. runtime_memory/claude_code/commands.py +698 -0
  4. runtime_memory/claude_code/daemon.py +852 -0
  5. runtime_memory/claude_code/hooks.py +722 -0
  6. runtime_memory/cli/__init__.py +8 -0
  7. runtime_memory/cli/main.py +1936 -0
  8. runtime_memory/core/__init__.py +216 -0
  9. runtime_memory/core/config.py +473 -0
  10. runtime_memory/core/embeddings.py +908 -0
  11. runtime_memory/core/engine.py +1007 -0
  12. runtime_memory/core/exceptions.py +547 -0
  13. runtime_memory/core/legacy_env.py +39 -0
  14. runtime_memory/core/logging.py +160 -0
  15. runtime_memory/core/models.py +1051 -0
  16. runtime_memory/core/observability.py +725 -0
  17. runtime_memory/core/paths.py +30 -0
  18. runtime_memory/core/resilience.py +511 -0
  19. runtime_memory/core/retrieval.py +819 -0
  20. runtime_memory/core/storage.py +1105 -0
  21. runtime_memory/extraction/__init__.py +36 -0
  22. runtime_memory/extraction/extractor.py +1143 -0
  23. runtime_memory/hermes/__init__.py +39 -0
  24. runtime_memory/hermes/_base.py +154 -0
  25. runtime_memory/hermes/bridge.py +119 -0
  26. runtime_memory/hermes/plugin.yaml +13 -0
  27. runtime_memory/hermes/provider.py +536 -0
  28. runtime_memory/hermes/tools.py +230 -0
  29. runtime_memory/hermes/trace.py +177 -0
  30. runtime_memory/plugin/__init__.py +646 -0
  31. runtime_memory/sdk/__init__.py +97 -0
  32. runtime_memory/sdk/client.py +1577 -0
  33. runtime_memory/server/__init__.py +75 -0
  34. runtime_memory/server/api.py +1665 -0
  35. runtime_memory/server/mcp.py +1574 -0
  36. runtime_memory/server/static/css/styles.css +1110 -0
  37. runtime_memory/server/static/index.html +264 -0
  38. runtime_memory/server/static/js/api.js +294 -0
  39. runtime_memory/server/static/js/app.js +771 -0
  40. runtime_memory/tasks/__init__.py +114 -0
  41. runtime_memory/tasks/adapter.py +501 -0
  42. runtime_memory/tasks/claude_code_adapter.py +495 -0
  43. runtime_memory/tasks/claude_code_parser.py +339 -0
  44. runtime_memory/tasks/cli_bridge.py +415 -0
  45. runtime_memory/tasks/linking.py +397 -0
  46. runtime_memory/tasks/models.py +520 -0
  47. runtime_memory/tasks/outcomes.py +320 -0
  48. runtime_memory/tasks/parser.py +305 -0
  49. runtime_memory/tasks/unified_adapter.py +661 -0
  50. runtime_memory-3.0.0.dist-info/METADATA +497 -0
  51. runtime_memory-3.0.0.dist-info/RECORD +54 -0
  52. runtime_memory-3.0.0.dist-info/WHEEL +4 -0
  53. runtime_memory-3.0.0.dist-info/entry_points.txt +6 -0
  54. runtime_memory-3.0.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,75 @@
1
+ """Runtime Memory Server Module.
2
+
3
+ This module provides server implementations for multi-agent access:
4
+ - MCP (Model Context Protocol) server for AI agent communication
5
+ - REST API server for HTTP access
6
+ """
7
+
8
+ from runtime_memory.server.api import (
9
+ APIConfig,
10
+ ContextResponse,
11
+ ErrorResponse,
12
+ HealthResponse,
13
+ IngestRequest,
14
+ # Request models
15
+ MemoryCreateRequest,
16
+ MemoryListResponse,
17
+ # Response models
18
+ MemoryResponse,
19
+ MemoryUpdateRequest,
20
+ OutcomeRequest,
21
+ OutcomeResponse,
22
+ SearchRequest,
23
+ SearchResponse,
24
+ SearchResultResponse,
25
+ StatsResponse,
26
+ create_app,
27
+ run_server,
28
+ )
29
+ from runtime_memory.server.mcp import (
30
+ TOOL_SCHEMAS,
31
+ MCPError,
32
+ MCPErrorCode,
33
+ MCPRequest,
34
+ MCPResponse,
35
+ MCPServer,
36
+ MCPToolSchema,
37
+ run_mcp_server,
38
+ )
39
+ from runtime_memory.server.mcp import (
40
+ RateLimiter as MCPRateLimiter,
41
+ )
42
+
43
+ __all__ = [
44
+ # MCP Types
45
+ "MCPError",
46
+ "MCPErrorCode",
47
+ "MCPRequest",
48
+ "MCPResponse",
49
+ "MCPToolSchema",
50
+ # MCP Server
51
+ "MCPServer",
52
+ "MCPRateLimiter",
53
+ "TOOL_SCHEMAS",
54
+ "run_mcp_server",
55
+ # REST API
56
+ "APIConfig",
57
+ "create_app",
58
+ "run_server",
59
+ # Request models
60
+ "MemoryCreateRequest",
61
+ "MemoryUpdateRequest",
62
+ "SearchRequest",
63
+ "OutcomeRequest",
64
+ "IngestRequest",
65
+ # Response models
66
+ "MemoryResponse",
67
+ "SearchResultResponse",
68
+ "SearchResponse",
69
+ "MemoryListResponse",
70
+ "ContextResponse",
71
+ "StatsResponse",
72
+ "HealthResponse",
73
+ "ErrorResponse",
74
+ "OutcomeResponse",
75
+ ]