Skip to content

feat(plugins): per-agent tool toggles, plugin reload, UI assets, and tool catalog - #387

Merged
jubaoliang merged 1 commit into
developfrom
feat/agent-plugin-tools
Aug 23, 2026
Merged

feat(plugins): per-agent tool toggles, plugin reload, UI assets, and tool catalog#387
jubaoliang merged 1 commit into
developfrom
feat/agent-plugin-tools

Conversation

@jubaoliang

Copy link
Copy Markdown
Collaborator

Summary

  • Server-wide plugin enable/disable via PATCH /api/plugins/{id}; disabled plugins are unloaded from the registry so their tools/skills/hooks are unavailable to all agents.
  • Plugin reload endpoint POST /api/plugins/reload to pick up CLI octop plugin install while octop run is already up, without a full restart.
  • Read-only plugin UI asset serving GET /api/plugins/{id}/ui/{file_path} (authenticated, traversal-checked).
  • Per-agent plugin tool enable flags persisted to config.plugins with harness denylist hot-sync, so a tool disable takes effect on the next model turn without a full agent reload.
  • Tool catalog + plugin market UI and a tool settings API (/api/agents/{id}/tools).
  • Demo plugins: ui-card, server-status, bilibili-anime.
  • i18n bundle updates and API docs (docs/api.md) refresh.

Test plan

  • New unit tests: tests/unit/agents/test_tool_catalog.py, tests/unit/agents/test_plugin_tool_defaults.py, expanded test_plugin_manager.py, test_plugins.py, test_agent_manager.py.
  • New integration tests: tests/integration/test_plugin_tool_disable.py, tests/integration/test_tool_settings_api.py.
  • Verified green via make all (format + lint + mypy + dashboard build) and uv run pytest (full suite).

🤖 Generated with CodeBuddy

…tool catalog

- Add server-wide plugin enable/disable (PATCH /plugins/{id}) and a
  reload endpoint to pick up CLI installs without a full restart.
- Serve read-only plugin UI assets with traversal checks.
- Persist per-agent plugin tool enable flags and hot-sync the harness
  denylist so disables take effect on the next turn (no full reload).
- Add a tool catalog and plugin market UI plus a tool settings API.
- Ship demo plugins: ui-card, server-status, bilibili-anime.
- Update i18n bundles and API docs.

Co-Authored-By: CodeBuddy <noreply@codebuddy.ai>
@jubaoliang
jubaoliang merged commit 22bf41b into develop Aug 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants