ReMe/tests
jinliyl 37628ba524
refactor(truncation): improve file truncation logic (#184)
* refactor(file_store): simplify ChromaDB client initialization and improve file truncation logic

- Remove shutil import and _create_chroma_client method from chroma_file_store.py
- Directly initialize ChromaDB PersistentClient in start method without retry logic
- Reduce DEFAULT_MAX_BYTES from 100KB to 50KB in file_utils.py
- Update truncation notice format to provide clearer continuation instructions
- Add _truncate_fresh and _retruncate functions for better text truncation handling
- Replace inline truncation logic with dedicated function calls in file_utils.py
- Rename skills_tool_ids to md_file_tool_ids in tool_result_compactor.py
- Update file detection logic to identify any .md files instead of only skill.md
- Create comprehensive unit tests for truncation functionality in test_truncate_text_output.py

* chore(version): bump version to 0.3.1.6

- Update __version__ from 0.3.1.5 to 0.3.1.6 in __init__.py
2026-03-28 18:41:09 +08:00
..
light refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
vector feat(memory): add ContextChecker component for context size management (#144) 2026-03-06 23:43:42 +08:00
demo_memory_search.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
mcp_servers_demo.json refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_agentscope_converter.py feat(core): add memory storage and context checking capabilities 2026-02-08 19:24:53 +08:00
test_base_context.py refactor(memory): rename fs components to fb and reorganize modules 2026-02-26 16:47:04 +08:00
test_base_file_watcher.py style(memory): update message formatting and improve logging (#175) 2026-03-24 00:20:15 +08:00
test_cache_handler.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_cache_memory_usage.py feat(memory): implement file watcher with delta and full sync strategies 2026-02-06 01:58:28 +08:00
test_chunking_utils.py refactor(benchmark): remove unused llm config and update test parameters 2026-02-26 18:20:12 +08:00
test_embedding.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_embedding_cache.py feat(memory_store): add pure-python local memory store implementation 2026-02-19 23:58:54 +08:00
test_embedding_sync.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_execute_utils.py feat(core): add async code execution and improve execution utilities 2026-02-14 21:27:04 +08:00
test_file_store.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
test_fs_tool.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
test_horse.py refactor(core): restructure application initialization and component management 2026-02-24 19:45:47 +08:00
test_keyword_search_performance.py refactor(memory): integrate procedural memory into extension module 2026-02-27 14:55:00 +08:00
test_llm.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_llm_sync.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_logo.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_mcp_client.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_mcp_server.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_memory_vector_conversion.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_message.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_reme.py refactor(core): update registry naming and application configuration 2026-02-07 15:05:02 +08:00
test_reme_memory_error_handling.py fix: surface summarize/retrieve failures instead of masking them (#160) 2026-03-27 12:22:29 +08:00
test_timer.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_token_counter.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_tool.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
test_tool_call.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_ts_merge.py feat(memory): add ReadHistoryV2 tool with enhanced history retrieval capabilities 2026-02-02 17:14:16 +08:00
test_vector_store.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00