Skip to content

feat(code): auto-update installed plugins - #5368

Merged
Johannes du Plessis (johannes117) merged 9 commits into
mainfrom
johannes117/code/plugin-auto-update
Aug 9, 2026
Merged

feat(code): auto-update installed plugins#5368
Johannes du Plessis (johannes117) merged 9 commits into
mainfrom
johannes117/code/plugin-auto-update

Conversation

@johannes117

@johannes117 Johannes du Plessis (johannes117) commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Installed, enabled plugins can now opt into background updates after the first agent prompt. The global gate is enabled by default, while DEEPAGENTS_CODE_PLUGIN_AUTO_UPDATE=false or [plugins].auto_update = false disables all plugin updates.


The updater reuses the existing marketplace materialization and validated versioned cache paths, while a cross-process lock prevents concurrent plugin mutations. The running session keeps its original cache paths until the user reloads, and failures remain isolated to the affected marketplace or plugin.

The Agent Plugins specification reserves client behavior for reverse-domain namespaces under extensions. A plugin must explicitly opt in:

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "extensions": {
    "com.langchain.deepagents.code": {
      "autoUpdate": true
    }
  }
}

The effective gate is the global setting AND autoUpdate; an omitted, malformed, or false manifest value disables automatic updates.

Screenshots

Toast showing auto-update ran

Screenshot 2026-08-06 at 5 40 42 PM

New settings tab with the auto-update toggle

Screenshot 2026-08-06 at 6 06 37 PM

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open SWE Review found 1 potential issue.

Open in WebView Open SWE trace

Comment thread libs/code/deepagents_code/plugins/update.py Outdated
@github-actions github-actions Bot added dcode Related to `deepagents-code` feature New feature/enhancement or request for one labels Aug 7, 2026
@github-actions github-actions Bot added the size: M 200-499 LOC label Aug 7, 2026

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open SWE Review found 1 potential issue.

Open in WebView Open SWE trace

Comment thread libs/code/deepagents_code/tui/modals/plugin_manager/__init__.py
@github-actions github-actions Bot added size: L 500-999 LOC and removed size: M 200-499 LOC labels Aug 7, 2026

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open SWE Review found 1 potential issue.

Open in WebView Open SWE trace

Comment thread libs/code/deepagents_code/config_manifest.py
@github-actions github-actions Bot added size: M 200-499 LOC and removed size: L 500-999 LOC labels Aug 7, 2026
@johannes117
Johannes du Plessis (johannes117) merged commit 3bf6ca7 into main Aug 9, 2026
57 checks passed
@johannes117
Johannes du Plessis (johannes117) deleted the johannes117/code/plugin-auto-update branch August 9, 2026 00:56
Mason Daugherty (mdrxy) pushed a commit that referenced this pull request Aug 12, 2026
> [!CAUTION]
> Merging this PR will automatically publish to **PyPI** and create a
**GitHub release**.

For the full release process, see
[`.github/RELEASING.md`](https://github.com/langchain-ai/deepagents/blob/main/.github/RELEASING.md).

---

_Release notes preview: keep this section in sync with the package
`CHANGELOG.md`. Publish reads the merged CHANGELOG via `release.yml`,
not this PR description — keep them aligned anyway so the PR stays an
accurate historical record for reviewers and anyone returning later._

---


##
[0.1.55](deepagents-code==0.1.54...deepagents-code==0.1.55)
(2026-08-12)

### Features

- Added a `/context` usage report for inspecting context consumption
([#5407](#5407)).
- Added a cache and context status row for at-a-glance session state
([#5408](#5408)).
- Added configurable warnings when a session exceeds the configured cost
threshold
([#5405](#5405)).
- Added support for persisting and reconfiguring ACP sessions
([#5366](#5366)).
- Added automatic updates for installed plugins
([#5368](#5368)).
- Added a toggle for diff line numbers
([#5427](#5427)).
- `Ctrl+S` in `/auto model` now stores `[models].auto_classifier`
([#5313](#5313)).

### Fixes

- Restored edit diffs in resumed threads
([#5391](#5391)).
- Added a resume hint after crashes
([#5412](#5412)).
- Clarified the project hooks trust prompt and stopped prompting for
user hooks
([#5426](#5426)).
- Cleared dynamic subagents on the next turn
([#5437](#5437)).
- Improved grouped tool summaries by counting distinct targets
([#5409](#5409)).
- Improved ask-user choice wrapping and selection styling
([#5442](#5442)).
- Serialized `dcode` self-upgrades across processes
([#5252](#5252)).
- Added warnings for stale dependencies in editable installs
([#5386](#5386)).
- Hid incomplete extras from version output
([#5352](#5352)).
- Removed the optional-provider startup tip
([#5421](#5421)).
- Removed the “Message restored to input” toast
([#5253](#5253)).

_End release notes preview._

---

> [!NOTE]
> A **New Contributors** section is appended to the GitHub release notes
automatically at publish time (see [Release
Pipeline](https://github.com/langchain-ai/deepagents/blob/main/.github/RELEASING.md#release-pipeline),
step 2).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: langchain-oss-automated-triage[bot] <248757908+langchain-oss-automated-triage[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dcode Related to `deepagents-code` feature New feature/enhancement or request for one size: M 200-499 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants