github agentscope-ai/CoPaw v1.0.0

14 hours ago

✨ Added

Multi-Agent System

  • Background Task Support: Background execution for inter-agent communication with task tracking, status polling, and cancellation via CLI --background flag (#2345)
  • Agent Enable/Disable Toggle: Agents can be enabled or disabled through the console UI and API (#2249)
  • Unified Priority Queue System and /stop command: Per-channel, per-session priority queue system with /stop command support for canceling running tasks and clearing queued messages (#2411)

Providers and Models

  • CoPaw Local Model: Built-in local model provider using llama.cpp with automatic download, configuration, and custom repository support (#2419, #2476)
  • Scoped Active Model Selection: Active model can be set globally in Settings or per-agent in Chat (#2278)
  • Global LLM Rate Limiter: QPM (queries per minute) sliding window rate limiting, concurrency control with semaphore, and global 429 pause coordination with jitter to prevent thundering-herd retries (#2282)

Security

  • System Reboot & Service Protection: Tool guard rules to block system reboot, shutdown, service control, broad process kill, and privilege escalation commands (#2333)
  • Chinese Prompt Injection Detection: Extended skill security scanner with Chinese regex patterns for prompt injection and jailbreak attempts (#2381)

Console & UI

  • Download Page: Download page for desktop installers with mirror sites (#2555)
  • Multimodal Preview: Image, audio, video, and file attachments are displayed with proper preview URLs in history messages and streaming (#2297, #2332)
  • Chat Session Labels: Chat sessions display channel labels and icons for easy identification of message source (#2483)
  • Command Suggestions: Slash-style command suggestions (/clear, /compact, /approve, /deny) in the chat input (#2415)

Channels

  • WeChat iLink Bot: New WeChat personal channel using iLink Bot API (#2260)
  • Custom Channel HTTP Routes: Custom channels can now register FastAPI routes for webhooks and custom endpoints (#2140)
  • Discord Bot Message Filtering: New configuration option to control whether messages from other bots are processed (#2122)
  • DingTalk Widescreen Cards: Support widescreen AI card layout in DingTalk (#2238)
  • WeCom Media Upload: WebSocket-based media upload for improved reliability over HTTP download paths (#2401)

Tools & Skills

  • Async Tool Execution: Per-tool async execution flag with automatic registration of background task helpers (view_task, wait_task, cancel_task) (#2391)
  • Skill Pool Architecture: Two-layer skill system with shared skill pool and per-agent workspace skills (#2173, #2436, #2440, #2477, #2480)
  • Browser CDP Support: Chrome DevTools Protocol (CDP) integration for connecting to running Chrome instances, port scanning, cache clearing, and attaching to remote browsers (#2294)
  • Multi-Workspace Cookie Management: Browser automation now uses per-workspace persistent user data directories for cookie isolation and persistence across restarts (#2131)

Internationalization

  • Server-Side Language Persistence: UI language preference is now persisted to server-side settings (#2408)
  • Expanded Multi-Language Support: Additional console UI components now support multiple languages (#2478, #2508)

🔄 Changed

Context and Memory

  • Context Management v2.0: Major restructuring of context and memory management with nested configuration models, new compaction hooks, tool result compaction, rewritten summarizer prompts, and proactive memory search (#2300, #2410, #2519, #2525)
  • Improved Truncation Logic: Enhanced file truncation with markdown protection up to 50KB, clearer truncation prompts for LLMs, and refined recent window length logic (#2449)

Tools and Skills

  • Streaming Grep Search: Grep search now reads files line-by-line with a sliding window for context, significantly reducing memory usage for large files (#2344)
  • MCP None Config Handling: Added null checks when agent MCP config is None to prevent crashes (#2471)
  • Himalaya Version Recommendation: Updated Himalaya skill documentation to recommend CLI version ≥ 1.2.0 (#2334)

Console & UI

🐛 Fixed

Channels

  • WeCom Heartbeat Reconnection: WebSocket now automatically reconnects when heartbeat fails to prevent permanent disconnection (#2515)
  • Feishu WebSocket Reconnection: Automatic reconnection with exponential backoff, health monitoring for silent disconnects, and stale message filtering (#2311, #2376)
  • Feishu Multi-Instance Message Routing: Serialized WebSocket startup and app_id verification to prevent cross-workspace message misrouting in multi-instance setups (#2244)
  • Discord Duplicate Messages: Bounded cache of processed message IDs prevents duplicate message processing after WebSocket reconnects (#2253)
  • Telegram Timeout: Increased read and connect timeouts to prevent premature timeout during long polling (#2280)
  • QQ Voice Message Conversion: AMR/AMR-WB audio files now use larger ffmpeg probe parameters for correct codec detection (#2248)
  • DingTalk Cron Reminders: Fixed sessionWebhook routing and persisted webhook store for cron task reminders (#2392)

Console & UI

  • Active Session Selection: Fixed default active session to correctly match current chat ID from URL (#2543)
  • Skill Toggle Icon: Corrected skill enable/disable toggle icon to properly reflect state (#2516)
  • Console File Upload: Fixed file type handling in console chat upload (#2266)
  • Multi-Agent Model Configuration: Model APIs now use per-agent selection via X-Agent-Id header; multi-tab isolation through sessionStorage instead of localStorage (#2283)

CLI & Deployment

  • Local Loopback Address: CLI now persists 127.0.0.1 when server binds to 0.0.0.0 so other CLI commands can connect correctly (#2241)
  • PowerShell Install Script: Corrected PowerShell cmdlet name to fix automatic PATH updates on Windows (#2489)
  • Cross-Platform File Encoding: Files are written and read with utf-8-sig for Windows compatibility (#2403)

📚 Documentation

  • Multi-Agent Documentation: Extensive multi-agent documentation including collaboration patterns, triggers, scenarios, agent descriptions, and best practices (#2290, #2450, #2517)
  • Installation & CLI Documentation: Updated installation guides with reordered options, CLI documentation improvements, and log path corrections (#2310, #2496, #2538, #2562)
  • Model Provider Documentation: Enhanced provider contribution guidelines and local model setup instructions (#2541)
  • Project Structure Guidelines: Added AGENTS.md with project structure and formatting guidelines (#2532)
  • Context Management Documentation: Updated context management documentation with v2.0 architecture and dependency information (#2460)
  • Security Documentation: Comprehensive security documentation update with enhanced protection coverage (#2437)
  • MCP & Tools Documentation: Expanded MCP and tools documentation with detailed integration guides (#2444)
  • Skills Documentation: Updated skills documentation with pool architecture and UI improvements (#2480)
  • Magic Command Documentation: Updated magic command documentation with comprehensive command reference (#2486)
  • General Documentation Updates: General website documentation improvements (#2413, #2461, #2545, #2546, #2561, #2564)

New Contributors

Full Changelog: v0.2.0...v1.0.0

Don't miss a new CoPaw release

NewReleases is sending notifications on new releases.