This repository was archived by the owner on Jul 27, 2026. It is now read-only.
Repository navigation
feat: show locally-discovered plugins as a read-only Local group - #1616
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
PR Artifacts Cleaned Up The |
hieptl
enabled auto-merge (squash)
July 7, 2026 16:28
Contributor
✅ Mock-LLM E2E Tests60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
Contributor
✅ Mock-LLM Docker E2E Test Results60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
Contributor
|
🚀 Released in v1.2.0. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HUMAN:
Ambient local plugins (from ~/.agents/plugins and ~/.openhands/plugins) auto-load into conversations but were invisible on the Plugins page, which only rendered the remote marketplace catalog and the managed installed store. The agent-server already lists them via POST /api/plugins (PluginsClient.getPlugins), but the UI never called it.
Wire that endpoint into the page as a read-only "Local" group:
localsource and anisLocalflag; de-duplicate local plugins that are already installed/in the catalog, and sort installed -> local -> available.Local-backend only; a cloud backend yields an empty list. Enabling, disabling, and uninstalling local plugins is intentionally out of scope: ambient plugins are not in the managed installed store, so those operations require a backend/SDK change.
Tests: getLocalPlugins request shape + cloud guard; view-model local entry, de-duplication, and filter classification; page renders a read-only local card.
AGENT:
Why
Locally-defined plugins in the agent-server's ambient directories (
~/.agents/plugins,~/.openhands/plugins) already auto-load into conversations, but they never appeared on the Plugins page — it only rendered the remote marketplace catalog and the managed installed store. The agent-server already lists ambient plugins viaPOST /api/plugins(PluginsClient.getPlugins), but the UI never called it, so developers had no way to confirm a local plugin was discovered without starting a conversation.Summary
POST /api/pluginsinto the Plugins page as a read-only "Local" group (newPluginsService.getLocalPlugins()+useLocalPlugins()hook; user-level only —load_user: true, load_project: false).buildPluginsViewModelwith anisLocalflag and a thirdlocalsource; de-duplicate against installed/catalog and sort installed → local → available.SETTINGS$PLUGINS_FILTER_LOCALi18n key (all locales).Issue Number
Resolves #1989
How to Test
Expected on
/plugins:hello-localshows as a read-only card with a Local badge — no Install button and no enable/disable toggle; its detail modal exposes no management actions (Close only).Also loads into conversations: start a new conversation and run
/hello-local:greet Ada— the reply begins with✅ hello-local plugin is active.Video/Screenshots
Type
Notes
~/.openhands/plugins/installed/); ambient plugins aren't in it, so those endpoints 404 for them. Lifecycle actions for local plugins are a follow-up requiring a backend/SDK change.<workspace>/.agents/plugins) are out of scope — the page is global and has no workspace directory.src/i18n/declaration.tsfrom the new translation key.🐳 Docker images for this PR
• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas
ghcr.io/openhands/agent-canvasghcr.io/openhands/agent-server:1.32.0-pythonopenhands-automation==1.1.34269f0b5525f75eb3bebb16b271258e2aeafd723Pull (multi-arch manifest)
# Multi-arch manifest — Docker automatically pulls the correct architecture docker pull ghcr.io/openhands/agent-canvas:sha-4269f0bRun
All tags pushed for this build
About Multi-Architecture Support
sha-4269f0b) is a multi-arch manifest supporting both amd64 and arm64sha-4269f0b-amd64) are also available if needed