Skip to content

merge: restore the 1cd41927 pin lineage onto main (features + cap superset) - #3

Merged
graciangabriel8 merged 3 commits into
mainfrom
merge/restore-pin-lineage
Aug 20, 2026
Merged

merge: restore the 1cd41927 pin lineage onto main (features + cap superset)#3
graciangabriel8 merged 3 commits into
mainfrom
merge/restore-pin-lineage

Conversation

@graciangabriel8

Copy link
Copy Markdown
Collaborator

Pure auto-merge of the 1cd41927 pin lineage onto main — zero hand-resolved lines. pkb's pinned SHA carries two list_messages feature commits (text_link/webpage URLs, document attachment metadata) that never landed on main; bumping the pin to the capped main (#2) without them would silently drop features pkb's pull_telegram_links depends on. After this, main supersets every consumer lineage: features + story-header fix (chigwell#128) + the mcp<2 cap.

Part of agenthill/personal-knowledge-base#1354 — no closing keyword: the pkb pin bump is the remaining step.

szhygulin and others added 3 commits May 21, 2026 23:57
list_messages returns only sanitize_user_content(msg.message) — Telethon's
plain-text body. A URL carried solely by a MessageEntityTextUrl (hyperlinked
text) or a MessageMediaWebPage (link preview) never appears in any record
field, so a consumer extracting links from `text` cannot recover it.

Add an optional `urls` field, populated from message entities + webpage
media. Additive and non-breaking: `text` is unchanged; `urls` is present
only when such links exist.
list_messages records carried no media indicator, so a consumer could not
tell that a message holds a downloadable document (PDF / docx / slide
export) without calling download_media. This adds an additive, read-only
`document` field — {file_id, size, mime_type, file_name?} — emitted only
when `msg.document` is set, so PHOTOS are excluded (msg.document is None
for MessageMediaPhoto; photo media is handled by the vision path
elsewhere). Mirrors the additive spirit of the existing `urls` field; the
user-controllable file name is sanitized like all surfaced content. No new
tool, no new Telegram API call, no behavior change for non-document
messages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
pkb's pinned SHA 1cd4192 carried two feature commits absent from main
(text_link/webpage URL surfacing and document attachment metadata in
list_messages) — load-bearing for pkb's pull_telegram_links. Bumping the
pin to the capped main would have silently dropped them. Pure auto-merge,
zero hand-resolved lines; brings main to a superset of every consumer's
lineage: features + story-header fix + the mcp<2 cap.
@graciangabriel8
graciangabriel8 merged commit 4eba5f3 into main Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants