deepanalysts 0.2.3__tar.gz → 0.2.4__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.
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/PKG-INFO +7 -7
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/README.md +2 -2
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/sandbox.py +4 -4
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/clients/basement.py +3 -3
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/memory.py +4 -4
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts.egg-info/PKG-INFO +7 -7
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/pyproject.toml +5 -5
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/__init__.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/__init__.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/basement.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/composite.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/filesystem.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/protocol.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/state.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/store.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/supabase_storage.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/backends/utils.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/clients/__init__.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/__init__.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/_utils.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/filesystem.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/patch_tool_calls.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/skills.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/subagents.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/summarization.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/middleware/tool_errors.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/utils/__init__.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts/utils/retry.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts.egg-info/SOURCES.txt +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts.egg-info/dependency_links.txt +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts.egg-info/requires.txt +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/deepanalysts.egg-info/top_level.txt +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/setup.cfg +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_basement.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_composite_backend.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_filesystem_middleware.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_prompt_sections.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_sandbox_backend.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_skills_middleware.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_store_backend.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_summarization_middleware.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_supabase_storage_backend.py +0 -0
- {deepanalysts-0.2.3 → deepanalysts-0.2.4}/tests/test_utils.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepanalysts
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: LangChain/LangGraph middleware for building AI agents with memory, skills, and filesystem support
|
|
5
5
|
Author-email: Ganchuluun Narantsatsralt <tsatsralt@swifttech.cloud>
|
|
6
6
|
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/SKE-Labs/
|
|
8
|
-
Project-URL: Documentation, https://github.com/SKE-Labs/
|
|
9
|
-
Project-URL: Repository, https://github.com/SKE-Labs/
|
|
10
|
-
Project-URL: Issues, https://github.com/SKE-Labs/
|
|
7
|
+
Project-URL: Homepage, https://github.com/SKE-Labs/deepalpha-cli
|
|
8
|
+
Project-URL: Documentation, https://github.com/SKE-Labs/deepalpha-cli/tree/main/libs/deepanalysts
|
|
9
|
+
Project-URL: Repository, https://github.com/SKE-Labs/deepalpha-cli.git
|
|
10
|
+
Project-URL: Issues, https://github.com/SKE-Labs/deepalpha-cli/issues
|
|
11
11
|
Keywords: langchain,langgraph,agents,middleware,ai,trading
|
|
12
12
|
Classifier: Development Status :: 3 - Alpha
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
@@ -57,7 +57,7 @@ Deep Analysts provides a complete middleware stack for LangChain agents:
|
|
|
57
57
|
- **Backends**: Store (LangGraph BaseStore), Sandbox (subprocess execution), Composite (path-based routing)
|
|
58
58
|
- **API Integration**: Basement client for syncing skills/memories to cloud
|
|
59
59
|
|
|
60
|
-
Uses only langchain, langgraph, and standard libraries (no external
|
|
60
|
+
Uses only langchain, langgraph, and standard libraries (no external deepalpha dependencies).
|
|
61
61
|
|
|
62
62
|
## Usage
|
|
63
63
|
|
|
@@ -196,7 +196,7 @@ middleware_stack = [
|
|
|
196
196
|
from deepanalysts.clients import BasementClient
|
|
197
197
|
|
|
198
198
|
client = BasementClient(
|
|
199
|
-
base_url="https://basement.
|
|
199
|
+
base_url="https://basement.deepalpha.mn",
|
|
200
200
|
token="jwt-token",
|
|
201
201
|
)
|
|
202
202
|
|
|
@@ -22,7 +22,7 @@ Deep Analysts provides a complete middleware stack for LangChain agents:
|
|
|
22
22
|
- **Backends**: Store (LangGraph BaseStore), Sandbox (subprocess execution), Composite (path-based routing)
|
|
23
23
|
- **API Integration**: Basement client for syncing skills/memories to cloud
|
|
24
24
|
|
|
25
|
-
Uses only langchain, langgraph, and standard libraries (no external
|
|
25
|
+
Uses only langchain, langgraph, and standard libraries (no external deepalpha dependencies).
|
|
26
26
|
|
|
27
27
|
## Usage
|
|
28
28
|
|
|
@@ -161,7 +161,7 @@ middleware_stack = [
|
|
|
161
161
|
from deepanalysts.clients import BasementClient
|
|
162
162
|
|
|
163
163
|
client = BasementClient(
|
|
164
|
-
base_url="https://basement.
|
|
164
|
+
base_url="https://basement.deepalpha.mn",
|
|
165
165
|
token="jwt-token",
|
|
166
166
|
)
|
|
167
167
|
|
|
@@ -88,9 +88,9 @@ os.makedirs(parent_dir, exist_ok=True)
|
|
|
88
88
|
|
|
89
89
|
with open(file_path, 'w') as f:
|
|
90
90
|
f.write(content)
|
|
91
|
-
" <<'
|
|
91
|
+
" <<'__DEEPALPHA_EOF__'
|
|
92
92
|
{payload_b64}
|
|
93
|
-
|
|
93
|
+
__DEEPALPHA_EOF__"""
|
|
94
94
|
|
|
95
95
|
# Use heredoc to pass edit parameters via stdin to avoid ARG_MAX limits.
|
|
96
96
|
# Stdin format: base64-encoded JSON with {{"path": str, "old": str, "new": str}}.
|
|
@@ -146,9 +146,9 @@ with open(file_path, 'w') as f:
|
|
|
146
146
|
f.write(result)
|
|
147
147
|
|
|
148
148
|
print(count)
|
|
149
|
-
" <<'
|
|
149
|
+
" <<'__DEEPALPHA_EOF__'
|
|
150
150
|
{payload_b64}
|
|
151
|
-
|
|
151
|
+
__DEEPALPHA_EOF__"""
|
|
152
152
|
|
|
153
153
|
_READ_COMMAND_TEMPLATE = """python3 -c "
|
|
154
154
|
import os
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Basement API client for skills and memories.
|
|
2
2
|
|
|
3
3
|
This provides a generic client interface that can be configured for either
|
|
4
|
-
cloud (park) or local (
|
|
4
|
+
cloud (park) or local (deepalpha-cli) usage.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -15,7 +15,7 @@ import httpx
|
|
|
15
15
|
logger = logging.getLogger(__name__)
|
|
16
16
|
|
|
17
17
|
# Default API endpoint (can be overridden via BASEMENT_API env var)
|
|
18
|
-
DEFAULT_BASEMENT_API = os.environ.get("BASEMENT_API", "https://basement.
|
|
18
|
+
DEFAULT_BASEMENT_API = os.environ.get("BASEMENT_API", "https://basement.deepalpha.mn")
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
@runtime_checkable
|
|
@@ -52,7 +52,7 @@ class BasementClient:
|
|
|
52
52
|
"""Initialize the client.
|
|
53
53
|
|
|
54
54
|
Args:
|
|
55
|
-
base_url: API base URL (defaults to basement.
|
|
55
|
+
base_url: API base URL (defaults to basement.deepalpha.mn)
|
|
56
56
|
token: Static JWT token to use
|
|
57
57
|
token_provider: Callable that returns JWT token dynamically
|
|
58
58
|
timeout: Request timeout in seconds
|
|
@@ -18,8 +18,8 @@ from deepanalysts.backends import CompositeBackend
|
|
|
18
18
|
middleware = MemoryMiddleware(
|
|
19
19
|
backend=backend,
|
|
20
20
|
sources=[
|
|
21
|
-
"~/.
|
|
22
|
-
"./.
|
|
21
|
+
"~/.deepalpha/AGENTS.md",
|
|
22
|
+
"./.deepalpha/AGENTS.md",
|
|
23
23
|
],
|
|
24
24
|
)
|
|
25
25
|
|
|
@@ -142,8 +142,8 @@ class MemoryMiddleware(AgentMiddleware):
|
|
|
142
142
|
backend: Backend instance or factory function that takes runtime
|
|
143
143
|
and returns a backend. Use a factory for StateBackend.
|
|
144
144
|
Optional if using loader mode.
|
|
145
|
-
sources: List of memory file paths to load (e.g., ["~/.
|
|
146
|
-
"./.
|
|
145
|
+
sources: List of memory file paths to load (e.g., ["~/.deepalpha/AGENTS.md",
|
|
146
|
+
"./.deepalpha/AGENTS.md"]). Display names are automatically derived
|
|
147
147
|
from the paths. Sources are loaded in order. Optional if using loader.
|
|
148
148
|
loader: Optional loader for API-based memory loading.
|
|
149
149
|
When provided, takes precedence over backend/sources.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepanalysts
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: LangChain/LangGraph middleware for building AI agents with memory, skills, and filesystem support
|
|
5
5
|
Author-email: Ganchuluun Narantsatsralt <tsatsralt@swifttech.cloud>
|
|
6
6
|
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/SKE-Labs/
|
|
8
|
-
Project-URL: Documentation, https://github.com/SKE-Labs/
|
|
9
|
-
Project-URL: Repository, https://github.com/SKE-Labs/
|
|
10
|
-
Project-URL: Issues, https://github.com/SKE-Labs/
|
|
7
|
+
Project-URL: Homepage, https://github.com/SKE-Labs/deepalpha-cli
|
|
8
|
+
Project-URL: Documentation, https://github.com/SKE-Labs/deepalpha-cli/tree/main/libs/deepanalysts
|
|
9
|
+
Project-URL: Repository, https://github.com/SKE-Labs/deepalpha-cli.git
|
|
10
|
+
Project-URL: Issues, https://github.com/SKE-Labs/deepalpha-cli/issues
|
|
11
11
|
Keywords: langchain,langgraph,agents,middleware,ai,trading
|
|
12
12
|
Classifier: Development Status :: 3 - Alpha
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
@@ -57,7 +57,7 @@ Deep Analysts provides a complete middleware stack for LangChain agents:
|
|
|
57
57
|
- **Backends**: Store (LangGraph BaseStore), Sandbox (subprocess execution), Composite (path-based routing)
|
|
58
58
|
- **API Integration**: Basement client for syncing skills/memories to cloud
|
|
59
59
|
|
|
60
|
-
Uses only langchain, langgraph, and standard libraries (no external
|
|
60
|
+
Uses only langchain, langgraph, and standard libraries (no external deepalpha dependencies).
|
|
61
61
|
|
|
62
62
|
## Usage
|
|
63
63
|
|
|
@@ -196,7 +196,7 @@ middleware_stack = [
|
|
|
196
196
|
from deepanalysts.clients import BasementClient
|
|
197
197
|
|
|
198
198
|
client = BasementClient(
|
|
199
|
-
base_url="https://basement.
|
|
199
|
+
base_url="https://basement.deepalpha.mn",
|
|
200
200
|
token="jwt-token",
|
|
201
201
|
)
|
|
202
202
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "deepanalysts"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.4"
|
|
4
4
|
description = "LangChain/LangGraph middleware for building AI agents with memory, skills, and filesystem support"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "MIT" }
|
|
@@ -26,10 +26,10 @@ dependencies = [
|
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.urls]
|
|
29
|
-
Homepage = "https://github.com/SKE-Labs/
|
|
30
|
-
Documentation = "https://github.com/SKE-Labs/
|
|
31
|
-
Repository = "https://github.com/SKE-Labs/
|
|
32
|
-
Issues = "https://github.com/SKE-Labs/
|
|
29
|
+
Homepage = "https://github.com/SKE-Labs/deepalpha-cli"
|
|
30
|
+
Documentation = "https://github.com/SKE-Labs/deepalpha-cli/tree/main/libs/deepanalysts"
|
|
31
|
+
Repository = "https://github.com/SKE-Labs/deepalpha-cli.git"
|
|
32
|
+
Issues = "https://github.com/SKE-Labs/deepalpha-cli/issues"
|
|
33
33
|
|
|
34
34
|
[project.optional-dependencies]
|
|
35
35
|
postgres = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|