Subagents PR 1: Feature flag + tool skeleton (#46186)

This PR adds the foundation for the subagents feature:

- Add `SubagentsFeatureFlag` with staff-disabled default
- Create `SubagentTool` struct with input schema for
task/summary/context-low prompts
- Register `SubagentTool` conditionally when feature flag is enabled
- Tool returns stub message 'not yet implemented' for now

Release Notes:

- N/A

---------

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Co-authored-by: Yara <yara@zed.dev>
acbb32d19fRichard Feldman committed on 1/9/2026, 3:53:02 AM· committed by GitHubparent274b1f3
6 files changedLine totals unavailable