Skip to content

Add config default for swarm spawn mode #211

@Zephyr709

Description

@Zephyr709

Background

PR #209 adds per-call spawn_mode = visible | headless | auto for swarm-created agents so callers can avoid focus-stealing headed terminals.

Follow-up

Add a user/global config default so users can prefer headless swarm workers without specifying spawn_mode on every call.

Possible shape:

[agents]
swarm_spawn_mode = "headless" # visible | headless | auto

Explicit tool-call spawn_mode should override the config default.

Acceptance criteria

  • Config parses and validates visible, headless, and auto.
  • Omitted tool spawn_mode uses the config default.
  • Existing behavior remains unchanged when no config is set.
  • Tests cover defaulting and explicit override.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions