openclaw/src/channels
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
..
allowlists refactor(channels): share allowlist + resolver helpers 2026-01-18 01:00:25 +00:00
plugins feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
web refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
ack-reactions.test.ts refactor: centralize ack reaction removal 2026-01-23 23:32:14 +00:00
ack-reactions.ts refactor: centralize ack reaction removal 2026-01-23 23:32:14 +00:00
allowlist-match.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
channel-config.test.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
channel-config.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
chat-type.test.ts refactor: drop legacy room chatType 2026-01-17 05:46:40 +00:00
chat-type.ts refactor: drop legacy room chatType 2026-01-17 05:46:40 +00:00
command-gating.test.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
command-gating.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
conversation-label.test.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
conversation-label.ts refactor: prune room legacy 2026-01-17 07:41:24 +00:00
dock.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
location.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
location.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
logging.ts refactor: standardize channel logging 2026-01-23 23:34:30 +00:00
mention-gating.test.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
mention-gating.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
registry.test.ts chore: update molt.bot domains 2026-01-27 12:21:01 +00:00
registry.ts chore: update molt.bot domains 2026-01-27 12:21:01 +00:00
reply-prefix.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sender-identity.test.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
sender-identity.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
sender-label.ts fix: unify inbound sender labels 2026-01-17 05:21:09 +00:00
session.ts refactor: centralize inbound session updates 2026-01-23 23:33:32 +00:00
targets.test.ts fix: normalize gateway dev mode detection 2026-01-18 01:08:47 +00:00
targets.ts refactor(channels): unify target parsing 2026-01-18 00:31:42 +00:00
typing.test.ts test: cover typing and history helpers 2026-01-23 23:34:30 +00:00
typing.ts fix: stabilize typing + summary merge 2026-01-23 23:34:30 +00:00