amrita_plugin_memory 0.2.2.post1__tar.gz → 0.2.3__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.
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/PKG-INFO +3 -3
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/README.md +2 -2
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/runner.py +2 -2
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory.egg-info/PKG-INFO +3 -3
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/pyproject.toml +1 -1
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/LICENSE +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/__init__.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/config.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/embed.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/matchers.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/__init__.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/_state.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/backend.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/consts.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/hooks.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/nodes.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/schemas.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/tools.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/rethinking/workflow.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/tools.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/vector.py +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory.egg-info/SOURCES.txt +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory.egg-info/dependency_links.txt +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory.egg-info/requires.txt +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory.egg-info/top_level.txt +0 -0
- {amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: amrita_plugin_memory
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Amrita长期记忆插件
|
|
5
5
|
Requires-Python: <3.14,>=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -48,7 +48,7 @@ flowchart TB
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
Surface -.->|"共享 ChromaDB"| Subconscious
|
|
51
|
-
Runner -->|"持久化状态"| CachedRepo["CachedUserDataRepository<br/>uid=
|
|
51
|
+
Runner -->|"持久化状态"| CachedRepo["CachedUserDataRepository<br/>uid=user_00000000"]
|
|
52
52
|
Runner -->|"usage 统计"| Insights["InsightsModel<br/>全局 Token 统计"]
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -73,7 +73,7 @@ LOAD_STATE → JINJA2_RENDER → LIMITING_MEMORY → BUILD_MESSAGE → STRATEGY_
|
|
|
73
73
|
| 向量数据库 | ChromaDB(PersistentClient / HttpClient) |
|
|
74
74
|
| 嵌入模型 | OpenAI Embedding / Ollama Embedding |
|
|
75
75
|
| 调度引擎 | nonebot_plugin_apscheduler |
|
|
76
|
-
| 持久化 | CachedUserDataRepository(uid=`
|
|
76
|
+
| 持久化 | CachedUserDataRepository(uid=`user_00000000`) |
|
|
77
77
|
| Token 统计 | InsightsModel(复用 Bot 全局 usage 统计) |
|
|
78
78
|
| 配置管理 | Pydantic + TOML |
|
|
79
79
|
| 代码质量 | Ruff + Pyright |
|
|
@@ -32,7 +32,7 @@ flowchart TB
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
Surface -.->|"共享 ChromaDB"| Subconscious
|
|
35
|
-
Runner -->|"持久化状态"| CachedRepo["CachedUserDataRepository<br/>uid=
|
|
35
|
+
Runner -->|"持久化状态"| CachedRepo["CachedUserDataRepository<br/>uid=user_00000000"]
|
|
36
36
|
Runner -->|"usage 统计"| Insights["InsightsModel<br/>全局 Token 统计"]
|
|
37
37
|
```
|
|
38
38
|
|
|
@@ -57,7 +57,7 @@ LOAD_STATE → JINJA2_RENDER → LIMITING_MEMORY → BUILD_MESSAGE → STRATEGY_
|
|
|
57
57
|
| 向量数据库 | ChromaDB(PersistentClient / HttpClient) |
|
|
58
58
|
| 嵌入模型 | OpenAI Embedding / Ollama Embedding |
|
|
59
59
|
| 调度引擎 | nonebot_plugin_apscheduler |
|
|
60
|
-
| 持久化 | CachedUserDataRepository(uid=`
|
|
60
|
+
| 持久化 | CachedUserDataRepository(uid=`user_00000000`) |
|
|
61
61
|
| Token 统计 | InsightsModel(复用 Bot 全局 usage 统计) |
|
|
62
62
|
| 配置管理 | Pydantic + TOML |
|
|
63
63
|
| 代码质量 | Ruff + Pyright |
|
|
@@ -37,7 +37,7 @@ from .consts import (
|
|
|
37
37
|
)
|
|
38
38
|
from .workflow import build_workflow
|
|
39
39
|
|
|
40
|
-
_REPO_UID = "
|
|
40
|
+
_REPO_UID = "user_00000000"
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
class SubconsciousRunner:
|
|
@@ -45,7 +45,7 @@ class SubconsciousRunner:
|
|
|
45
45
|
|
|
46
46
|
使用 ChatObject 作为数据容器 + 标准 Agent 框架(ReActAgentStrategy)。
|
|
47
47
|
LIMITING_MEMORY 节点在 Agent Loop 之前运行 MemoryLimiter 压缩会话消息。
|
|
48
|
-
持久化使用 CachedUserDataRepository(uid=
|
|
48
|
+
持久化使用 CachedUserDataRepository(uid=user_00000000)。
|
|
49
49
|
"""
|
|
50
50
|
|
|
51
51
|
def __init__(self, config: SubconsciousConfig) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: amrita_plugin_memory
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Amrita长期记忆插件
|
|
5
5
|
Requires-Python: <3.14,>=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -48,7 +48,7 @@ flowchart TB
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
Surface -.->|"共享 ChromaDB"| Subconscious
|
|
51
|
-
Runner -->|"持久化状态"| CachedRepo["CachedUserDataRepository<br/>uid=
|
|
51
|
+
Runner -->|"持久化状态"| CachedRepo["CachedUserDataRepository<br/>uid=user_00000000"]
|
|
52
52
|
Runner -->|"usage 统计"| Insights["InsightsModel<br/>全局 Token 统计"]
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -73,7 +73,7 @@ LOAD_STATE → JINJA2_RENDER → LIMITING_MEMORY → BUILD_MESSAGE → STRATEGY_
|
|
|
73
73
|
| 向量数据库 | ChromaDB(PersistentClient / HttpClient) |
|
|
74
74
|
| 嵌入模型 | OpenAI Embedding / Ollama Embedding |
|
|
75
75
|
| 调度引擎 | nonebot_plugin_apscheduler |
|
|
76
|
-
| 持久化 | CachedUserDataRepository(uid=`
|
|
76
|
+
| 持久化 | CachedUserDataRepository(uid=`user_00000000`) |
|
|
77
77
|
| Token 统计 | InsightsModel(复用 Bot 全局 usage 统计) |
|
|
78
78
|
| 配置管理 | Pydantic + TOML |
|
|
79
79
|
| 代码质量 | Ruff + Pyright |
|
|
File without changes
|
{amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/__init__.py
RENAMED
|
File without changes
|
{amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/config.py
RENAMED
|
File without changes
|
{amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/embed.py
RENAMED
|
File without changes
|
{amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/matchers.py
RENAMED
|
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
|
{amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/tools.py
RENAMED
|
File without changes
|
{amrita_plugin_memory-0.2.2.post1 → amrita_plugin_memory-0.2.3}/amrita_plugin_memory/vector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|