openclaw/src/agents/tools
A. Duk 284b54af42
feat: Add support for Telegram quote (partial message replies) (#2900)
* feat: Add support for Telegram quote (partial message replies)

- Enhanced describeReplyTarget() to detect and extract quoted text from msg.quote
- Updated reply formatting to distinguish between full message replies and quotes
- Added isQuote flag to replyTarget object for proper identification
- Quote replies show as [Quoting user] "quoted text" [/Quoting]
- Regular replies unchanged: [Replying to user] full message [/Replying]

Resolves need for partial message reply support in Telegram Bot API.
Backward compatible with existing reply functionality.

* updating references

* Mac: finish Moltbot rename

* Mac: finish Moltbot rename (paths)

* fix(macOS): rename Clawdbot directories to Moltbot for naming consistency

Directory renames:
- apps/macos/Sources/Clawdbot → Moltbot
- apps/macos/Sources/ClawdbotDiscovery → MoltbotDiscovery
- apps/macos/Sources/ClawdbotIPC → MoltbotIPC
- apps/macos/Sources/ClawdbotMacCLI → MoltbotMacCLI
- apps/macos/Sources/ClawdbotProtocol → MoltbotProtocol
- apps/macos/Tests/ClawdbotIPCTests → MoltbotIPCTests
- apps/shared/ClawdbotKit → MoltbotKit
- apps/shared/MoltbotKit/Sources/Clawdbot* → Moltbot*
- apps/shared/MoltbotKit/Tests/ClawdbotKitTests → MoltbotKitTests

Resource renames:
- Clawdbot.icns → Moltbot.icns

Code fixes:
- Update Package.swift paths to reference Moltbot* directories
- Fix clawdbot* → moltbot* symbol references in Swift code:
  - clawdbotManagedPaths → moltbotManagedPaths
  - clawdbotExecutable → moltbotExecutable
  - clawdbotCommand → moltbotCommand
  - clawdbotNodeCommand → moltbotNodeCommand
  - clawdbotOAuthDirEnv → moltbotOAuthDirEnv
  - clawdbotSelectSettingsTab → moltbotSelectSettingsTab

* fix: update remaining ClawdbotKit path references to MoltbotKit

- scripts/bundle-a2ui.sh: A2UI_APP_DIR path
- package.json: format:swift and protocol:check paths
- scripts/protocol-gen-swift.ts: output paths
- .github/dependabot.yml: directory path and comment
- .gitignore: build cache paths
- .swiftformat: exclusion paths
- .swiftlint.yml: exclusion path
- apps/android/app/build.gradle.kts: assets.srcDir path
- apps/ios/project.yml: package path
- apps/ios/README.md: documentation reference
- docs/concepts/typebox.md: documentation reference
- apps/shared/MoltbotKit/Package.swift: fix argument order

* chore: update Package.resolved after dependency resolution

* fix: add MACOS_APP_SOURCES_DIR constant and update test to use new path

The cron-protocol-conformance test was using LEGACY_MACOS_APP_SOURCES_DIR
which points to the old Clawdbot path. Added a new MACOS_APP_SOURCES_DIR
constant for the current Moltbot path and updated the test to use it.

* fix: finish Moltbot macOS rename (#2844) (thanks @fal3)

* Extensions: use workspace moltbot in memory-core

* fix(security): recognize Venice-style claude-opus-45 as top-tier model

The security audit was incorrectly flagging venice/claude-opus-45 as
'Below Claude 4.5' because the regex expected -4-5 (with dash) but
Venice uses -45 (without dash between 4 and 5).

Updated isClaude45OrHigher() regex to match both formats.
Added test case to prevent regression.

* Branding: update bot.molt bundle IDs + launchd labels

* Branding: remove legacy android packages

* fix: wire telegram quote support (#2900)

Co-authored-by: aduk059 <aduk059@users.noreply.github.com>

* fix: support Telegram quote replies (#2900) (thanks @aduk059)

---------

Co-authored-by: Gustavo Madeira Santana <gumadeiras@users.noreply.github.com>
Co-authored-by: Shadow <shadow@clawd.bot>
Co-authored-by: Alex Fallah <alexfallah7@gmail.com>
Co-authored-by: Josh Palmer <joshp123@users.noreply.github.com>
Co-authored-by: jonisjongithub <jonisjongithub@users.noreply.github.com>
Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com>
Co-authored-by: aduk059 <aduk059@users.noreply.github.com>
2026-01-27 15:59:24 -05:00
..
agent-step.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
agents-list-tool.ts style: format agents list tool 2026-01-25 13:20:41 +00:00
browser-tool.schema.ts refactor: route browser control via gateway/node 2026-01-27 03:24:54 +00:00
browser-tool.test.ts refactor: route browser control via gateway/node 2026-01-27 03:24:54 +00:00
browser-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
canvas-tool.ts style: run oxfmt 2026-01-16 21:11:55 +00:00
common.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
common.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
cron-tool.test.ts Merge origin/main into fix-discord-accountId 2026-01-23 09:15:44 +00:00
cron-tool.ts Agents: expand cron tool description (#1988) 2026-01-25 20:23:40 -06:00
discord-actions-guild.ts feat(discord): add configurable privileged Gateway Intents (GuildPresences, GuildMembers) (#2266) 2026-01-26 10:39:54 -06:00
discord-actions-messaging.ts fix: honor accountId in message actions 2026-01-23 09:06:04 +00:00
discord-actions-moderation.ts fix: honor accountId in message actions 2026-01-23 09:06:04 +00:00
discord-actions.test.ts fix: stabilize ci tests 2026-01-23 09:52:22 +00:00
discord-actions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
gateway-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
gateway.test.ts chore: changelog for #293 2026-01-06 15:32:06 +01:00
gateway.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
image-tool.helpers.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
image-tool.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
image-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
memory-tool.does-not-crash-on-errors.test.ts style: oxfmt 2026-01-17 10:26:08 +00:00
memory-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
message-tool.test.ts fix: normalize session keys and outbound mirroring 2026-01-24 11:57:11 +00:00
message-tool.ts feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
nodes-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
nodes-utils.ts feat: add node core/ui versions in bridge 2026-01-18 15:59:54 +00:00
session-status-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sessions-announce-target.test.ts refactor: route channel runtime via plugin api 2026-01-18 11:01:16 +00:00
sessions-announce-target.ts fix: normalize delivery routing context 2026-01-17 06:38:33 +00:00
sessions-helpers.test.ts fix: sanitize assistant session text (#1456) (thanks @zerone0x) 2026-01-23 07:05:31 +00:00
sessions-helpers.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sessions-history-tool.ts fix: resolve session ids in session tools 2026-01-24 11:09:11 +00:00
sessions-list-tool.gating.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-list-tool.ts fix: resolve session ids in session tools 2026-01-24 11:09:11 +00:00
sessions-send-helpers.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sessions-send-tool.a2a.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
sessions-send-tool.gating.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-send-tool.ts fix: resolve session ids in session tools 2026-01-24 11:09:11 +00:00
sessions-spawn-tool.ts fix: cron sessions inherit allowAgents from parent agent config (#1771) 2026-01-25 13:10:48 +00:00
slack-actions.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
slack-actions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
telegram-actions.test.ts feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
telegram-actions.ts feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
tts-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web-fetch-utils.ts fix: add readability fallback extraction 2026-01-24 02:15:13 +00:00
web-fetch.ssrf.test.ts fix: harden web fetch SSRF and redirects 2026-01-21 02:54:14 +00:00
web-fetch.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web-search.test.ts fix: validate web_search freshness (#1688) (thanks @JonUleis) 2026-01-25 04:23:25 +00:00
web-search.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web-shared.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
web-tools.enabled-defaults.test.ts fix: validate web_search freshness (#1688) (thanks @JonUleis) 2026-01-25 04:23:25 +00:00
web-tools.fetch.test.ts Web: trim HTML error bodies in web_fetch (#1193) 2026-01-19 00:24:16 +00:00
web-tools.readability.test.ts feat: improve web_fetch readability extraction 2026-01-16 23:18:01 +00:00
web-tools.ts refactor: split web tools and docs 2026-01-18 01:42:54 +00:00
whatsapp-actions.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
whatsapp-actions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00