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.
- runtime_memory/__init__.py +28 -0
- runtime_memory/claude_code/__init__.py +48 -0
- runtime_memory/claude_code/commands.py +698 -0
- runtime_memory/claude_code/daemon.py +852 -0
- runtime_memory/claude_code/hooks.py +722 -0
- runtime_memory/cli/__init__.py +8 -0
- runtime_memory/cli/main.py +1936 -0
- runtime_memory/core/__init__.py +216 -0
- runtime_memory/core/config.py +473 -0
- runtime_memory/core/embeddings.py +908 -0
- runtime_memory/core/engine.py +1007 -0
- runtime_memory/core/exceptions.py +547 -0
- runtime_memory/core/legacy_env.py +39 -0
- runtime_memory/core/logging.py +160 -0
- runtime_memory/core/models.py +1051 -0
- runtime_memory/core/observability.py +725 -0
- runtime_memory/core/paths.py +30 -0
- runtime_memory/core/resilience.py +511 -0
- runtime_memory/core/retrieval.py +819 -0
- runtime_memory/core/storage.py +1105 -0
- runtime_memory/extraction/__init__.py +36 -0
- runtime_memory/extraction/extractor.py +1143 -0
- runtime_memory/hermes/__init__.py +39 -0
- runtime_memory/hermes/_base.py +154 -0
- runtime_memory/hermes/bridge.py +119 -0
- runtime_memory/hermes/plugin.yaml +13 -0
- runtime_memory/hermes/provider.py +536 -0
- runtime_memory/hermes/tools.py +230 -0
- runtime_memory/hermes/trace.py +177 -0
- runtime_memory/plugin/__init__.py +646 -0
- runtime_memory/sdk/__init__.py +97 -0
- runtime_memory/sdk/client.py +1577 -0
- runtime_memory/server/__init__.py +75 -0
- runtime_memory/server/api.py +1665 -0
- runtime_memory/server/mcp.py +1574 -0
- runtime_memory/server/static/css/styles.css +1110 -0
- runtime_memory/server/static/index.html +264 -0
- runtime_memory/server/static/js/api.js +294 -0
- runtime_memory/server/static/js/app.js +771 -0
- runtime_memory/tasks/__init__.py +114 -0
- runtime_memory/tasks/adapter.py +501 -0
- runtime_memory/tasks/claude_code_adapter.py +495 -0
- runtime_memory/tasks/claude_code_parser.py +339 -0
- runtime_memory/tasks/cli_bridge.py +415 -0
- runtime_memory/tasks/linking.py +397 -0
- runtime_memory/tasks/models.py +520 -0
- runtime_memory/tasks/outcomes.py +320 -0
- runtime_memory/tasks/parser.py +305 -0
- runtime_memory/tasks/unified_adapter.py +661 -0
- runtime_memory-3.0.0.dist-info/METADATA +497 -0
- runtime_memory-3.0.0.dist-info/RECORD +54 -0
- runtime_memory-3.0.0.dist-info/WHEEL +4 -0
- runtime_memory-3.0.0.dist-info/entry_points.txt +6 -0
- 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
|
+
]
|