Repository navigation
chore(probe): show whether opcode 68 returns message hits - #562
Merged
Merged
Conversation
The probe printed type and status values but not section, so a run could not tell message hits from chat hits. It now prints section, sends count 30 and follows marker to a second page as web.max.ru does, and counts message hits and distinct chats (numbers only, never text or ids). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
web.max.ru searches all chats with opcode 68
{query, count, marker}(chunk_app/immutable/chunks/Cdo8IOYe.js, read 2026-10-11).probe:search-opscould not show whether message hits came back: it did not printsection.What
section, sendscount: 30, followsmarkerto a second page, and prints message-hit and distinct-chat counts. Still never text, names or ids.Measured (owner's account, owner's yes, read-only, 2026-10-11)
section = MESSAGESwith a fullmessage(id,sender,time,text,attaches), from 12 distinct chats.count(matches in that chat) and one message; the answer hascounters.MESSAGESandtotal. Nomarkeron this query.{query, count: 40, type: ALL}: 40 public channels (chatwith title, last message, options),marker,total.Next: a
messages.searchGlobaloperation insrc/spec(68), and server search with no chat = 68 to find chats, then 73 per top chat.🤖 Generated with Claude Code