{"version":"2.1.314","anchor":"typed-marks-hashed-lists-of-user-typed-text","canonical_anchor":"prompt-suggestion-acceptance-can-match-typed-text","heading":"Groundwork for marking text you actually typed (typedMarks)","tier":"notice","area":"Telemetry","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/typed-marks-hashed-lists-of-user-typed-text","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Groundwork for marking text you actually typed (typedMarks)\n\nBehind a typedMarks switch, Claude Code can mark and hash which message text you typed, including typed copies of accepted suggestions\n\n**Unclear.** It is not clear what turns typedMarks on or where the fingerprints are sent.\n\n**What**\n\nClaude Code has new code, active only when an internal `typedMarks` switch is true, for recording which text in a conversation a person actually typed.\n\n- User messages entered from the input box carry a mark (`typed_marks`) listing the typed text. Accepting a plan with cleared context carries a mark with the text labelled as `plan`. No mark is added when the input came from an accepted suggestion.\n\n- Feedback given in host dialogs is also tagged.\n\n- A new function builds lists of typed, command, accepted and instruction text for a conversation, each stored as a SHA-256 hash (a one-way fingerprint of the text rather than the text itself). It skips headless, background and nested sessions, and a list that grows past its limit is reported as unknown with the reason `cap`.\n\n- When accepting a prompt suggestion, submitted text is now normalised and compared with the suggestion, so typing out a copy of the suggestion counts as accepting it. Before, it was a plain exact comparison.\n\n- A key press that delivers more than a few characters at once is now treated as pasted or typed text and sent to a new queue.\n\n**Why**\n\nThis appears to be groundwork for telling text a person typed apart from text that came from elsewhere. Nothing has been read about whether the `typedMarks` switch is on, so it may have no visible effect yet.\n\n- Area: Telemetry\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}