toolrecall 0.3.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.
- toolrecall/__init__.py +41 -0
- toolrecall/cache.py +815 -0
- toolrecall/cli.py +327 -0
- toolrecall/client.py +256 -0
- toolrecall/config.py +369 -0
- toolrecall/daemon.py +850 -0
- toolrecall/dataset.py +66 -0
- toolrecall/docs.py +204 -0
- toolrecall/hermes_init.py +106 -0
- toolrecall/mcp_bridge.py +344 -0
- toolrecall/mcp_server.py +556 -0
- toolrecall/proxy.py +134 -0
- toolrecall-0.3.0.dist-info/METADATA +274 -0
- toolrecall-0.3.0.dist-info/RECORD +18 -0
- toolrecall-0.3.0.dist-info/WHEEL +5 -0
- toolrecall-0.3.0.dist-info/entry_points.txt +2 -0
- toolrecall-0.3.0.dist-info/licenses/LICENSE +21 -0
- toolrecall-0.3.0.dist-info/top_level.txt +1 -0
toolrecall/__init__.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""
|
|
2
|
+
ToolRecall — Universal Tool-Output Cache for LLM Agents.
|
|
3
|
+
|
|
4
|
+
Usage:
|
|
5
|
+
from toolrecall import cached_read, cached_skill, cached_terminal, docs_search
|
|
6
|
+
|
|
7
|
+
# Instead of read_file():
|
|
8
|
+
result = cached_read('/path/to/file.md')
|
|
9
|
+
|
|
10
|
+
# Instead of skill_view():
|
|
11
|
+
skill = cached_skill('skill-name')
|
|
12
|
+
|
|
13
|
+
# Instead of terminal('git status'):
|
|
14
|
+
result = cached_terminal('git status')
|
|
15
|
+
|
|
16
|
+
# Instead of web search:
|
|
17
|
+
info = docs_search('query')
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from toolrecall.cache import cached_read, cached_skill, cached_terminal, cached_run, cached_exec, invalidate_all, cached_mcp_check, cached_mcp_store, cached_mcp, get_stats
|
|
21
|
+
from toolrecall.docs import docs_search, docs_get_page
|
|
22
|
+
from toolrecall.config import Config
|
|
23
|
+
from toolrecall.cli import main as cli_main
|
|
24
|
+
|
|
25
|
+
__version__ = "0.2.0"
|
|
26
|
+
__all__ = [
|
|
27
|
+
"cached_read",
|
|
28
|
+
"cached_skill",
|
|
29
|
+
"cached_terminal",
|
|
30
|
+
"cached_run",
|
|
31
|
+
"cached_exec",
|
|
32
|
+
"cached_mcp_check",
|
|
33
|
+
"cached_mcp_store",
|
|
34
|
+
"cached_mcp",
|
|
35
|
+
"docs_search",
|
|
36
|
+
"docs_get_page",
|
|
37
|
+
"invalidate_all",
|
|
38
|
+
"get_stats",
|
|
39
|
+
"Config",
|
|
40
|
+
"cli_main",
|
|
41
|
+
]
|