picoclaw/pkg
Zhaoyikaiii 132fe7db51
bugfix: fix duplicate Telegram message sending
Two issues caused duplicate messages to be sent to users:

1. System messages (from subagent): processSystemMessage set SendResponse:true,
   causing runAgentLoop to publish outbound. Then Run() also published outbound
   using the returned response string, resulting in two identical messages.
   Fix: processSystemMessage now returns empty string since runAgentLoop already
   handles the send.

2. Message tool double-send: When LLM called the "message" tool during
   processing, it published outbound immediately. Then Run() published the
   final response again. Fix: Track whether MessageTool sent a message in the
   current round (sentInRound flag, reset on each SetContext call). Run()
   checks HasSentInRound() before publishing to avoid duplicates.
2026-02-13 14:41:21 +08:00
..
agent bugfix: fix duplicate Telegram message sending 2026-02-13 14:41:21 +08:00
auth fix(auth): handle string interval in device-code login 2026-02-12 02:22:59 -05:00
bus * First commit 2026-02-09 19:20:19 +08:00
channels feat: add Telegram proxy support and flexible allow_from matching 2026-02-12 22:38:47 +08:00
config feat: add Moonshot/Kimi and NVIDIA provider support with proxy 2026-02-12 22:39:38 +08:00
cron Enhance CronTool to support executing shell commands and update job handling 2026-02-12 20:21:49 +05:30
heartbeat fix(heartbeat): resolve bug where service could never start 2026-02-12 17:56:04 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
migrate feat(migrate): add picoclaw migrate command for OpenClaw workspace migration 2026-02-11 12:48:16 -06:00
providers feat: add cli-based LLM provider 2026-02-12 11:51:51 -03:00
session fix(cron): add one-time reminders and fix data paths to workspace 2026-02-11 20:31:41 +08:00
skills Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00
tools bugfix: fix duplicate Telegram message sending 2026-02-13 14:41:21 +08:00
utils refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00