slashml-memory 1.0.4__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.
slashml/__init__.py ADDED
@@ -0,0 +1,67 @@
1
+ """/ ml (`slashml`) Python SDK — Sub-Millisecond Stateful Agent & Code Memory.
2
+
3
+ Provides 100% Mem0-compatible `Memory` and `MemoryClient` alongside `SlashMLMemory` and `SlashMLClient`.
4
+ """
5
+
6
+ from slashml.client import (
7
+ DEFAULT_BASE_URL,
8
+ AsyncMemoryClient,
9
+ AsyncSlashMLClient,
10
+ AsyncSlashMLMemory,
11
+ MemoryClient,
12
+ SlashMLAPIError,
13
+ SlashMLClient,
14
+ SlashMLMemory,
15
+ )
16
+ from slashml.compat import AsyncMemory, Memory
17
+ from slashml.integrations import (
18
+ SlashMLChatMessageHistory,
19
+ SlashMLCrewAIMemory,
20
+ SlashMLLangChainRetriever,
21
+ SlashMLLangChainVectorStore,
22
+ SlashMLLangGraphCheckpointer,
23
+ SlashMLLangGraphStore,
24
+ SlashMLLlamaIndexRetriever,
25
+ SlashMLLlamaIndexVectorStore,
26
+ )
27
+ from slashml.mcp_server import (
28
+ SlashMLMCPServer,
29
+ install_ambient_hooks,
30
+ run_ambient_hook_mode,
31
+ )
32
+ from slashml.repo_indexer import (
33
+ RepositoryIndexer,
34
+ find_bug_candidates,
35
+ remap_memory_file_references,
36
+ search_code_by_behavior,
37
+ )
38
+
39
+ __version__ = "1.0.4"
40
+ __all__ = [
41
+ "AsyncMemory",
42
+ "AsyncMemoryClient",
43
+ "AsyncSlashMLClient",
44
+ "AsyncSlashMLMemory",
45
+ "DEFAULT_BASE_URL",
46
+ "Memory",
47
+ "MemoryClient",
48
+ "RepositoryIndexer",
49
+ "SlashMLAPIError",
50
+ "SlashMLChatMessageHistory",
51
+ "SlashMLClient",
52
+ "SlashMLCrewAIMemory",
53
+ "SlashMLLangChainRetriever",
54
+ "SlashMLLangChainVectorStore",
55
+ "SlashMLLangGraphCheckpointer",
56
+ "SlashMLLangGraphStore",
57
+ "SlashMLLlamaIndexRetriever",
58
+ "SlashMLLlamaIndexVectorStore",
59
+ "SlashMLMCPServer",
60
+ "SlashMLMemory",
61
+ "__version__",
62
+ "find_bug_candidates",
63
+ "install_ambient_hooks",
64
+ "remap_memory_file_references",
65
+ "run_ambient_hook_mode",
66
+ "search_code_by_behavior",
67
+ ]
slashml/__main__.py ADDED
@@ -0,0 +1,11 @@
1
+ """CLI entrypoint for `python -m slashml`."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import sys
6
+
7
+ from slashml.mcp_server import main
8
+
9
+
10
+ if __name__ == "__main__":
11
+ raise SystemExit(main(sys.argv[1:]))