{"version":"2.1.295","anchor":"stop-from-session-accepts-a-custom-message","canonical_anchor":"stop-from-session-accepts-a-custom-message","heading":"Stopping a background agent can now show a custom message","tier":"internal","area":"Background Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295\/e\/stop-from-session-accepts-a-custom-message","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295","markdown":"### Stopping a background agent can now show a custom message\n\nStopping a background agent can now show a custom message in place of \"Session stopped.\", and stop notices can carry an extra note\n\n**Unclear.** It is not clear what supplies the custom message, so whether users will ever see different wording is unknown.\n\n**What**\n\nThe action that stops a background agent (a helper that keeps working while you do other things) previously always printed \"Session stopped.\". It can now take an optional message, which is printed instead. The notice for a stopped task, which ends with \"was stopped by the user.\", can now also have a note added after that text.\n\n**Why**\n\nThis gives Claude Code a way to explain why a stop happened instead of always printing the same fixed text.\n\n- Area: Background Agents\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}