{"version":"2.1.326","anchor":"plugins-can-supply-subagentstatusline","canonical_anchor":"subagentstatusline-setting-runs-a-user-command-to-decorate-s","heading":"subagentStatusLine now shows a deprecation warning, and plugins can set it","tier":"use","area":"Plugins","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/plugins-can-supply-subagentstatusline","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### subagentStatusLine now shows a deprecation warning, and plugins can set it\n\nClaude Code warns at startup that `subagentStatusLine` is deprecated in favour of mods, while plugins gain a way to set it\n\n**Unclear.** It is unclear whether a plugin's `subagentStatusLine` takes effect or only triggers the deprecation warning.\n\n**What**\n\nA subagent is a helper agent Claude Code starts for part of a task. `subagentStatusLine` is the setting that runs your own command to rewrite rows in the subagent task display.\n\n- A startup notice now warns when `subagentStatusLine` is set in user, project, local, flag, managed or plugin settings: \"subagentStatusLine is deprecated in favor of mods and will stop working in a future release\".\n\n- Plugins can now supply `subagentStatusLine` with a command, and they get their own deprecation warning. An error is logged if the plugin's data folder cannot be created.\n\n- The command, taken from `subagentStatusLine` or policy settings, is sent the task list as JSON and reads JSON lines back. It is skipped until you accept workspace trust, the prompt asking whether you trust a folder, and when the plugin variables it needs are unavailable.\n\n- A plugin copy your organization requires now takes precedence over one loaded with `--plugin-dir`, with the message \"your organization requires its own copy\".\n\n**Why**\n\nIf you use a custom subagent status line, plan to move to mods: the warning says the setting will stop working in a future release. Plugin authors and admins should also note the new precedence over `--plugin-dir`.\n\n- Flag `tengu_wild_crayon`: Off in both readings (read for one account on one subscription tier against v2.1.326; this account: off, anonymous baseline: off, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_snug_starfish`: Not enough to say (read for one account on one subscription tier against v2.1.326; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Plugins\n- Names: `subagentStatusLine`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}