Repository navigation
Releases
Telegram export attachments v0.8.0
Read the documents and images attached to a Telegram Desktop JSON export, tied to the exact conversation and message.
- Follow a search hit to its approval and specification, then read actual text from PDF, DOCX, XLSX, PPTX or Unicode files.
- Return supported JPEG, PNG, GIF and WebP images as native MCP images, or request bounded original bytes explicitly.
- Distinguish exported omissions, absent files, unsafe paths and unsupported representations. Originals and thumbnails stay separate.
- Try the fictional River specification using the export guide.
Telegram export mode needs no WeChat keys or SQLCipher. Its JSON stays fixed for the process; attachments reflect current files beneath the selected export folder. Local sizes and SHA-256 values do not authenticate Telegram content, so content_verified remains false. Select the real JSON filename; filename and media symlinks are refused.
The existing seven MCP input schemas and WeChat behavior remain compatible. There is no OCR, audio/video decoding, download or sending. Rich-message bodies remain unsupported. Reconnect an existing MCP session after updating.
PR #33 passed independent source/installed-package review and exact-head CI. Python 3.11 and 3.13 each passed 341 tests with one expected plaintext-fixture skip. Independent installed MCP checked 53 workflow/refusal and eight format observations; all four release artifacts reproduce byte-for-byte. Old 0.4/0.7 and current 0.8 bundle runtimes passed. These checks use synthetic data and do not establish private-account or desktop-host coverage, demand or star growth.
The SHA256SUMS asset covers the wheel, source archive, MCPB and Registry metadata. The MCPB default installed entry still starts WeChat; Telegram uses the manual configuration in the guide.
The Homebrew update is merged and independently verified by an actual 0.7 to 0.8 upgrade, brew test and fresh MCP specification/image/blob reads. Installed payloads and dependencies match the reviewed wheel and formula. Registry 0.8.0 is active/latest and its public bundle runtime passed.
v0.7.0 Telegram JSON exports
Search a Telegram Desktop JSON export with your AI, without WeChat keys or SQLCipher.
AnyMessage 0.7.0 adds conversation listing, dated history, selected-chat search, and exact-message context for single-chat and full-account exports. Search a proposal, then inspect its neighboring messages to find the approval and cite both.
Download the fictional River export and follow the export and client setup guide. Start the server with:
uvx --from git+https://github.com/knchst/AnyMessage@v0.7.0 anymessage mcp --telegram-export /absolute/path/to/result.jsonThe reader loads an immutable snapshot from one explicitly selected JSON file, up to 16 MiB. Restart it to load changed bytes. Export coverage is limited to the records actually supplied. Telegram media and newer rich-message bodies are explicitly unsupported in this version; media reading is tracked in #29.
Existing WeChat setup, its seven MCP input schemas, and its attachment and fictional-demo workflows remain supported. The MCPB bundle's default installed entry continues to launch WeChat. Telegram needs the separate manual entry in the guide.
For an existing Homebrew installation, update and upgrade:
brew update
brew upgrade knchst/tap/anymessage
anymessage --versionThe native upgrade from 0.6.0 to 0.7.0 and brew test passed. Installed Telegram and WeChat MCP workflows passed, and all 20 non-RECORD wheel files match the installed payload. Restart or reconnect existing MCP sessions after upgrading.
Python 3.11 and 3.13 each passed 315 tests with one expected encrypted-fixture-only skip. Fresh installed wheels and actual stdio/loopback HTTP checks cover the search-to-context workflow. Current 0.7.0 and historical 0.4.0 MCPB runtime and manifest checks passed. Desktop-host export installation and non-macOS execution remain unverified.
Release assets include a wheel, source archive, MCPB bundle, Registry descriptor, and SHA-256 checksums. The PyPI project named anymessage is unrelated; use the source, release, or verified Homebrew instructions for this project.
v0.6.0
Open a search hit with the messages immediately before and after it.
- Add
get_message_contextfor an exact conversation/message pair, with up to 50 older and 50 newer records in chronological order. Each side defaults to 3. - Identify the selected message with
anchor_indexand report whether more local records remain on either side, including zero-count requests. - Preserve sender, message IDs, decoding states and attachment metadata.
- Extend the key-free demo from an actual proposal search hit to its adjacent approval and verified specification attachment.
- Keep existing history/search behavior and verify historical six-tool MCPB releases alongside the new seven-tool release.
Run anymessage demo to try the fictional workflow. Existing MCP connections need a restart or reconnect after upgrading to expose the new tool. Homebrew users can run brew update and brew upgrade knchst/tap/anymessage.
Synthetic verification passed 226 tests with one expected encrypted-only check skipped for a plaintext fixture. Both stdio and loopback HTTP were exercised.
See PR #27, Issue #26, and the context recipe.
v0.5.0
Search a project across selected chats and a specific period.
- Add optional UTC Unix-second
start_timeandend_timebounds to message history and text search. The start is inclusive and the end is exclusive. - Search 1–8 explicitly selected conversations with one scan budget and stable continuation, retaining the conversation and message ID for every source.
- Extend the key-free demo with a supplier chat and actual date-scoped, multi-chat MCP calls.
- Retain the six read-only tools and existing single-conversation calls.
Run anymessage demo to try the fictional project. Homebrew users can run brew update and brew upgrade knchst/tap/anymessage to install this release. Restart or reconnect an existing MCP server after upgrading.
Synthetic verification passed with 196 tests and one expected encrypted-only check skipped for a plaintext fixture. Both stdio and loopback HTTP were exercised.
See PR #25 and the date-range recipe.
AnyMessage 0.4.0
Try AnyMessage without a WeChat account using temporary fictional project data. The demo calls the production MCP tools and shows an approved change, an unconfirmed delivery date, and a missing drawing. It does not call an AI model.
Extracted attachment pages are now included in structured MCP results, so Claude Code can read their document text. This release also adds English and Chinese onboarding, investigation recipes, and a public trial feedback form.
On Apple Silicon macOS 14 or later, update after the Homebrew tap points to 0.4.0:
brew update
brew upgrade knchst/tap/anymessage
anymessage --version
anymessage demoFor a source-based demo, install uv and SQLCipher, then run:
uvx --from git+https://github.com/knchst/AnyMessage@v0.4.0 anymessage demoUse demo --mcp to connect an AI client to the fictional dataset. Restart or reconnect existing MCP clients after upgrading. The demo does not validate compatibility with a real WeChat account.
AnyMessage 0.3.1
Improve local attachment availability diagnostics from PR #6.
Missing attachments now include a machine-readable reason and fixed manual recovery guidance. The reasons distinguish an unmatched file index, an unmatched image resource index, and an unavailable selected cache file. Existing attachment ids and the attachment_missing state remain stable.
The observations do not establish whether content was never downloaded, deleted, or expired. Original, HD, and thumbnail variants remain explicit.
Upgrade on Apple Silicon macOS 14 or later:
brew update
brew upgrade knchst/tap/anymessage
anymessage --version
anymessage doctorRestart or reconnect an existing MCP client after upgrading.
AnyMessage 0.3.0
Read locally cached WeChat attachments through MCP.
brew upgrade knchst/tap/anymessageRestart the MCP client after upgrading. Existing AnyMessage configuration and keys are reused.
- get_messages includes attachment metadata without opening cache files.
- list_attachments checks a message's file and image variants.
- read_attachment returns PDF, DOCX, XLSX, PPTX, or Unicode text, native MCP images, or bounded original binary content.
- Text views remove ANSI CSI sequences and report normalization. Binary content preserves original bytes.
Files are bound to the selected conversation and message and checked against their size and MD5. Image variants stay distinct. Supported V2 JPEG caches use existing local account configuration without a debugger, key capture, or login change.
Only locally cached content is available. Missing originals do not substitute thumbnails. There is no automatic download, OCR, voice/video decoding, or plaintext archive. See the attachment reference for exact formats, limits, and error states.
The release retains the read-only six-tool API over stdio and optional loopback HTTP. Homebrew distribution supports Apple Silicon on macOS 14 or later.
AnyMessage 0.2.0
Install the CLI on an Apple Silicon Mac with Homebrew:
brew install knchst/tap/anymessage
anymessage setup
anymessage doctorSetup checks local WeChat access and registers Codex by default. Existing verified keys are reused. Initial key acquisition requires explicit consent and may require phone login.
Register Claude Desktop, Claude Code, Cursor, or Grok CLI with anymessage mcp add. Export standard JSON or TOML for other local clients with anymessage mcp config. The default transport is stdio, with optional loopback Streamable HTTP.
Grok Bot runs tools on its own computer. Remote access to this Mac requires a separately managed authenticated HTTPS proxy and has not been verified. Setup does not expose a public endpoint.
The Homebrew formula currently supports Apple Silicon on macOS 14 or later. The reader remains read-only. No real databases, key manifests, or message history are included in this release.