# `MingaEditor.Session.ChromeState.WorkspaceSummary`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/session/chrome_state/workspace_summary.ex#L1)

User-facing summary for one workspace in shared chrome.

This is presentation data derived from editor state. It is not a source of truth for workspace membership or session lifecycle.

# `kind`

```elixir
@type kind() :: :manual | :agent
```

# `status`

```elixir
@type status() :: MingaEditor.State.Workspace.agent_status()
```

# `t`

```elixir
@type t() :: %MingaEditor.Session.ChromeState.WorkspaceSummary{
  attention?: boolean(),
  closeable?: boolean(),
  color: non_neg_integer(),
  conflict_count: non_neg_integer(),
  draft_count: non_neg_integer(),
  icon: String.t(),
  id: non_neg_integer(),
  kind: kind(),
  label: String.t(),
  running_background_count: non_neg_integer(),
  status: status(),
  tab_count: non_neg_integer()
}
```

# `new`

```elixir
@spec new(keyword()) :: t()
```

Builds a workspace summary.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
