Skip to content

v1.6.0 — Feishu Deep Integration, Email Tools & Agent-to-Agent Tool Calling

Choose a tag to compare

@wisdomqin wisdomqin released this 13 Mar 02:31
· 816 commits to main since this release

Clawith v1.6.0

New Features

Feishu / Lark Deep Integration
Complete Feishu integration with calendar, document, and contacts tools — all visible and configurable in the agent's Tools page:

  • feishu_calendar_create/list/update/delete — Create and manage calendar events, invite colleagues by name
  • feishu_doc_read/create/append — Read, create, and append content to Feishu documents
  • feishu_user_search — Search the Feishu directory by name to find colleagues' open_id, email, and department
  • send_feishu_message — Message colleagues directly through Feishu
  • Rich text (Post) messages — Agents process Feishu post messages with mixed image+text, including vision understanding
  • File support — Receive files sent via Feishu, auto-fallback to download URL when upload permission is insufficient
  • Message history — Outgoing Feishu messages are persisted to chat history with agent identity signature
  • Organization sync — Feishu webhook auto-resolves sender identity and creates/links platform user accounts
  • Feishu tools are only available to agents with a configured Feishu channel (automatically filtered)

Email Tools (IMAP/SMTP)
Agents can now send, read, and reply to emails directly. Supports QQ Mail, 163, Gmail, Outlook, Tencent Enterprise, Aliyun Enterprise, and custom SMTP/IMAP configurations. Includes a one-click "Test Connection" button in the tool settings panel.

  • send_email — Send emails with subject, body, CC, and workspace file attachments
  • read_emails — Read inbox with IMAP search criteria (FROM, SUBJECT, SINCE)
  • reply_email — Reply to a specific email maintaining thread headers

Agent-to-Agent Tool Calling
When one agent sends a message to another agent via send_message_to_agent, the target agent now has full access to all its tools (search, code execution, file operations, etc.). Previously, agent-to-agent communication was limited to a single text-only LLM call with no tool support. The target agent can now execute up to 5 rounds of tool calls before responding.

Token Usage Tracking

  • Added lazy daily/monthly token counter reset — counters automatically reset on the first API call of a new day or month
  • Added tokens_used_total (lifetime counter) that never resets
  • Token numbers now display with K/M suffixes (e.g., 142.5K, 3.1M) instead of raw numbers
  • New "Total Token" card on the Agent Status page

Multi-Session Web Chat
Complete redesign of the Chat tab with a session sidebar. Users can create multiple chat sessions with the same agent, and admins can view all users' sessions via the "All Users" tab with a user filter dropdown.

Agent Expiry Management
Admins can now set, extend, shrink, or remove agent expiration dates via a modal editor. Expired agents reject WebSocket connections, channel messages receive an "unavailable" reply, and scheduled triggers are automatically skipped.

Jina AI Search & Reader
Replaced the old bing_search and read_webpage tools with superior Jina AI alternatives:

  • jina_search — High-quality internet search via s.jina.ai
  • jina_read — Clean markdown extraction from any URL via r.jina.ai
  • System prompt now explicitly lists web search capabilities so agents proactively use search tools

Document Parsing
Added read_document tool supporting PDF, Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) file parsing. Enhanced DOCX reader extracts tables, text boxes, and headers (critical for resume-style documents).

Channel File Support
Agents can now receive files sent through Feishu, Slack, and Discord channels. The send_channel_file tool enables agents to send workspace files back to users through any connected channel.

Per-Agent Tool Configuration
Agents now have individual tool configurations. Admins can scope which MCP tools are available to each agent, configure tool-specific settings (API keys, limits), and view all agent-installed tools in a unified admin panel.

Improvements

  • Tool UI Visibility — All tools (including Feishu, email, pulse, social, code, discovery) now show proper category labels in the Tools page
  • Chat Overflow Fix — Long tool call arguments no longer cause horizontal scrollbars in the chat window
  • Approval System — Approvals now show the agent name, and admins can see all pending approvals across agents
  • WebSocket Performance — WebSocket connections now accept immediately before DB setup, reducing onopen latency from ~5s to <100ms
  • Tool Result Display — Full tool results shown in chat (removed 500-char truncation, expanded to 3000 chars in WebSocket, 240px height in UI)
  • Channel Session Tracking — Unified session management across Feishu, Slack, and Discord with proper sender attribution and channel badges
  • Heartbeat Default — Changed default heartbeat interval from 30 to 120 minutes
  • Markdown Rendering — Improved markdown table borders, code blocks, and overall formatting in chat
  • Branding — Updated login hero to "Clawith — OpenClaw for Teams" with new crab claw logo
  • Docker Builds — Added Tsinghua/npmmirror mirrors for faster builds in China
  • README Updates — All 5 language versions updated with Slack/Discord/Jina highlights and new core concepts

Full Changelog

v1.5.1...v1.6.0