Skip to content

Follow up Zed upstream updates: subagents via Agent Profiles (agent.profiles in settings.json) #2033

Description

@dyoshikawa

Summary

Zed shipped a user-configurable agent-orchestration surface — Agent Profiles (agent.profiles.<name> in settings.json) plus Parallel Agents and the spawn_agent tool — that maps onto rulesync's subagents feature, but subagents is currently unsupported for the zed target.

Recent Releases

Gaps

  • subagents — unsupported for zed, upstream has a file-based agent surface. Zed reads named profiles from agent.profiles.<name> in settings.json, each carrying a tools boolean map, a default_model (provider/model), and context_servers/enable_all_context_servers. rulesync has no zed-subagent.ts adapter and --targets zed --features "*" emits nothing for subagents. rulesync's canonical subagent model (name, description, model, enabled/disabled tools) maps cleanly onto Agent Profiles.

Proposed Follow-up

  • Add a ZedSubagent adapter emitting agent.profiles.<name> entries into .zed/settings.json (project) and ~/.config/zed/settings.json (global), translating: name → profile key, modeldefault_model, enabled/disabled tools → the tools boolean map (reuse the canonical→Zed tool-name map already in zed-permissions.ts). Merge into the shared settings.json non-destructively (same pattern as zed-mcp.ts/zed-permissions.ts, isDeletable()=false).
  • Design caveat: Agent Profiles are tool/model presets for a thread rather than autonomously-delegated subagents, so confirm this semantic mapping is acceptable before implementing. Add the Tool × Feature happy-path e2e case for zed subagents.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    consideringenhancementNew feature or requestmaintainer-scrapRough notes for AI implementation. Not for human eyes.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions