agent-Specialization/modules
JOJO 823b1e105e feat: implement graceful tool cancellation on stop request
- Add stop flag monitoring loop (checks every 100ms during tool execution)
- Cancel tool task immediately when stop flag is detected
- Return cancellation message to conversation history with role=tool
- Save cancellation result: '命令执行被用户取消'
- Clean up pending tasks to prevent 'Task was destroyed but it is pending' warnings
- Fix terminal_ops.py to properly cancel stdout/stderr read tasks

Known issue: Tool result display in frontend still shows arguments instead of cancellation message when expanded

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-08 04:12:50 +08:00
..
__pycache__ <fix thinking chunk> 2025-11-19 20:47:56 +08:00
admin_policy_manager.py feat: update model support and multimodal 2026-02-25 01:41:05 +08:00
api_user_manager.py feat: add skills framework and controls 2026-02-07 00:20:35 +08:00
balance_client.py fix: stop converting Kimi balance and switch Qwen endpoint to business.aliyuncs.com 2026-01-05 14:22:06 +08:00
container_file_proxy.py docs: refresh readme and phase2 summary 2025-11-23 21:24:09 +08:00
container_monitor.py docs: refresh readme and phase2 summary 2025-11-23 21:24:09 +08:00
custom_tool_executor.py chore: sync pending changes 2026-01-05 21:48:55 +08:00
custom_tool_registry.py feat: add custom tools guide and id validation 2026-01-05 21:46:55 +08:00
easter_egg_manager.py feat: modularize easter egg effects 2025-11-22 13:07:54 +08:00
file_manager.py chore: sync workspace updates 2026-02-23 01:20:41 +08:00
gui_file_manager.py chore: initial import 2025-11-14 16:44:12 +08:00
memory_manager.py feat: index-based memory tool with append/replace/delete 2025-12-14 17:56:18 +08:00
ocr_client.py feat: update model support and multimodal 2026-02-25 01:41:05 +08:00
persistent_terminal.py feat: unify terminal session controls 2026-03-04 23:49:10 +08:00
personalization_manager.py feat: update model support and multimodal 2026-02-25 01:41:05 +08:00
search_engine.py feat: add include_domains search filter and UI display 2026-03-07 17:50:35 +08:00
skills_manager.py feat: add skills framework and controls 2026-02-07 00:20:35 +08:00
sub_agent_manager.py feat: virtual monitor 2025-12-14 04:22:00 +08:00
terminal_manager.py feat: unify terminal session controls 2026-03-04 23:49:10 +08:00
terminal_ops.py feat: implement graceful tool cancellation on stop request 2026-03-08 04:12:50 +08:00
todo_manager.py feat: support batch todo updates 2026-01-30 18:50:02 +08:00
toolbox_container.py fix: improve terminal timeouts and clean outputs 2025-12-15 18:13:53 +08:00
upload_security.py feat: add upload quarantine scanning and ui toasts 2025-11-24 14:31:13 +08:00
usage_tracker.py fix: improve api error diagnostics and raise model quotas 2026-03-06 17:02:19 +08:00
user_container_manager.py fix: refine host mode controls and kimi-k2.5 support 2026-01-28 11:19:50 +08:00
user_manager.py feat: add skills framework and controls 2026-02-07 00:20:35 +08:00
webpage_extractor.py chore: initial import 2025-11-14 16:44:12 +08:00