# UpdateAvailableScreen

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen)

Modal dedicated to the update-available notification.

Renders the entry's title and body, a "View changelog" row, and
one row per configured action. Dismisses with the selected
`ActionId`, or `None` on Esc. Activating the changelog row opens
the URL in a browser and leaves the modal open.

## Signature

```python
UpdateAvailableScreen(
    self,
    entry: PendingNotification,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `entry` | `PendingNotification` | Yes | Registered notification to render. Its actions drive the action rows; dismissing via an action returns the chosen `ActionId` to the caller. |

## Extends

- `ModalScreen[ActionId | None]`

## Constructors

```python
__init__(
    self,
    entry: PendingNotification,
) -> None
```

| Name | Type |
|------|------|
| `entry` | `PendingNotification` |


## Properties

- `BINDINGS`
- `CSS`

## Methods

- [`compose()`](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen/compose)
- [`on_mount()`](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen/on_mount)
- [`action_move_up()`](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen/action_move_up)
- [`action_move_down()`](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen/action_move_down)
- [`action_activate()`](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen/action_activate)
- [`action_cancel()`](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen/action_cancel)
- [`on_changelog_clicked()`](https://reference.langchain.com/python/deepagents-code/widgets/update_available/UpdateAvailableScreen/on_changelog_clicked)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/widgets/update_available.py#L128)