From 4a62ba9ccd3d91167c4d03be4d01de4de1c6aa72 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Wed, 29 Apr 2026 04:15:40 -0700 Subject: [PATCH] fix(signal): correct SPOILER docstring + AUTHOR_MAP for exiao - _markdown_to_signal docstring claimed SPOILER support but the regex list never handled ``||...||``. Correct the docstring to match the four actually-supported styles (BOLD / ITALIC / STRIKETHROUGH / MONOSPACE). Signal's SPOILER bodyRange would need dedicated ``||spoiler||`` parsing and is left for a follow-up. - scripts/release.py: add exiao's noreply email to AUTHOR_MAP so the contributor-attribution gate accepts their cherry-picked commit. --- gateway/platforms/signal.py | 4 +++- scripts/release.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gateway/platforms/signal.py b/gateway/platforms/signal.py index f35cf7a60a..3dd1e349bd 100644 --- a/gateway/platforms/signal.py +++ b/gateway/platforms/signal.py @@ -737,7 +737,9 @@ class SignalAdapter(BasePlatformAdapter): Positions are measured in **UTF-16 code units** (not Python code points) because that's what the Signal protocol uses. - Supported styles: BOLD, ITALIC, STRIKETHROUGH, MONOSPACE, SPOILER. + Supported styles: BOLD, ITALIC, STRIKETHROUGH, MONOSPACE. + (Signal's SPOILER style is not currently mapped — no standard + markdown syntax for it; would need ``||spoiler||`` parsing.) Returns ``(plain_text, styles_list)`` where *styles_list* may be empty if there's nothing to format. diff --git a/scripts/release.py b/scripts/release.py index d66b3b36d4..66a898cfdb 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -44,6 +44,7 @@ AUTHOR_MAP = { "qiyin.zuo@pcitc.com": "qiyin-code", "teknium@nousresearch.com": "teknium1", "127238744+teknium1@users.noreply.github.com": "teknium1", + "2093036+exiao@users.noreply.github.com": "exiao", "revar@users.noreply.github.com": "revaraver", # Matrix parity salvage batch (April 2026) "sr@samirusani": "samrusani",