# summary

Export setup-agents workspace state to a portable bundle file.

# description

Reads all orchestration state from `.setup-agents/state/` (tasks, decisions, evidence, handoffs, reviews) plus `config.json` and writes them to a `.setup-agents-export.json` file.

The exported bundle preserves setup-agents profile ownership on all records and can be imported into another workspace using `setup-agents import`.

# flags.output.summary

Output file path for the export bundle.

# flags.output.description

Path where the export bundle will be written. Defaults to `<cwd>/setup-agents-export-<timestamp>.json`.

# examples

- Export workspace state to the default output path:

  <%= config.bin %> <%= command.id %>

- Export to a specific file:

  <%= config.bin %> <%= command.id %> --output /tmp/my-workspace.setup-agents-export.json

# info.exported

Exported to: %s (tasks: %s, decisions: %s, evidence: %s, handoffs: %s, reviews: %s)
