diff options
| author | Kenneth Lien <kenneth@anthropic.com> | 2026-03-26 23:12:19 -0700 |
|---|---|---|
| committer | Kenneth Lien <kenneth@anthropic.com> | 2026-03-26 23:12:19 -0700 |
| commit | 8dfc27925804e1a1b51eaf1afc53892ebc77ae71 (patch) | |
| tree | 97d79fd61ebc920226ef9bf84e0755842f925ccc /plugins/plugin-dev/commands/create-plugin.md | |
| parent | c29338f2762a2c6e531c2bb781841319a538ed63 (diff) | |
imessage: harden echo filter normalization
The self-chat echo filter matches outbound text against what chat.db
stores on round-trip. Three divergence sources caused false negatives
and duplicate bubbles:
- Signature suffix: "\nSent by Claude" is appended on send, but the
\n may not round-trip identically through attributedBody
- Emoji variation selectors (U+FE00-FE0F) and ZWJ (U+200D): chat.db
can add or drop these on emoji characters
- Smart quotes: macOS auto-substitutes straight quotes on the way in
Strip/normalize all three in echoKey() before the existing whitespace
collapse.
Fixes #1024
Diffstat (limited to 'plugins/plugin-dev/commands/create-plugin.md')
0 files changed, 0 insertions, 0 deletions
