# `MingaEditor.Extension.Sidebar`
[🔗](https://github.com/jsmestad/minga/blob/main/sdk/lib/minga_editor/extension/sidebar.ex#L1)

Compile-time SDK stub for source-owned sidebar contributions.

At runtime, Minga provides the real registry. Extensions use this module to register sidebar metadata, publish cached snapshots, and route semantic sidebar actions through the editor action pipeline.

# `register_attrs`

```elixir
@type register_attrs() :: map() | keyword()
```

# `row`

```elixir
@type row() :: map()
```

# `snapshot`

```elixir
@type snapshot() :: map()
```

# `source`

```elixir
@type source() :: :builtin | :config | {:extension, atom()}
```

# `publish_snapshot`

```elixir
@spec publish_snapshot(source(), String.t(), snapshot()) :: :ok | {:error, term()}
```

# `register`

```elixir
@spec register(source(), register_attrs()) :: :ok | {:error, term()}
```

# `set_focused`

```elixir
@spec set_focused(source(), String.t(), boolean()) :: :ok | {:error, term()}
```

# `set_visible`

```elixir
@spec set_visible(source(), String.t(), boolean()) :: :ok | {:error, term()}
```

# `unregister`

```elixir
@spec unregister(source(), String.t()) :: :ok | {:error, term()}
```

---

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