agent-Specialization/utils
JOJO a9fe6ae622 fix(server): 对话保存防回退守卫与load同对话跳过切换前保存
crud_mixin.save_conversation 新增 allow_shrink 参数与守卫:消息数缩减且未
豁免时拒绝写入,堵住工作区级/对话级双实例旧内存回写(当日三次实锤:
load切换前保存542→506、新建前保存104→77、__del__析构103→77)。
检查点恢复作为唯一合法缩减路径显式豁免。load_conversation_by_id 加载
目标==当前对话时跳过切换前保存(接下来以磁盘为准重载)。debug trace
增加 shrink_suspect 字段覆盖旧非空回写场景。
2026-07-20 21:23:29 +08:00
..
__pycache__ <fix thinking chunk> 2025-11-19 20:47:56 +08:00
api_client fix(sub_agent): 移除 search_workspace 工具并清理内存调试代码 2026-07-17 14:05:35 +08:00
context_manager fix(server): 对话保存防回退守卫与load同对话跳过切换前保存 2026-07-20 21:23:29 +08:00
conversation_manager fix(server): 对话保存防回退守卫与load同对话跳过切换前保存 2026-07-20 21:23:29 +08:00
tool_result_formatter feat(multi-agent): 扩展 sleep 工具模式并修复 /new 模式切换状态继承 2026-07-17 22:51:04 +08:00
__init__.py feat: 添加 terminal-guide 和 sub-agent-guide skills 2026-03-16 21:17:02 +08:00
api_client.py refactor: split api_client, tool_result_formatter, tools_definition into sub-packages 2026-06-20 21:51:45 +08:00
host_workspace_debug.py refactor(runtime): 运行态数据迁出源码树到 ~/.agents,日志默认关并加轮转,清理实验残留 2026-06-01 13:17:32 +08:00
log_rotation.py refactor(runtime): 运行态数据迁出源码树到 ~/.agents,日志默认关并加轮转,清理实验残留 2026-06-01 13:17:32 +08:00
logger.py refactor(runtime): 运行态数据迁出源码树到 ~/.agents,日志默认关并加轮转,清理实验残留 2026-06-01 13:17:32 +08:00
media_store.py fix: render user media previews from media store refs 2026-04-27 12:57:13 +08:00
perf_log.py feat(versioning): 重构版本控制为对话级浅备份 + 可选完全备份 2026-07-07 12:07:44 +08:00
terminal_factory.py chore: initial import 2025-11-14 16:44:12 +08:00
token_usage.py refactor(models): use dynamic api model registry 2026-05-29 00:20:54 +08:00
tool_result_formatter.py refactor: split api_client, tool_result_formatter, tools_definition into sub-packages 2026-06-20 21:51:45 +08:00