Skip to content

[Feature] 希望 TUI /plugins 面板能统一管理 plugin(安装/卸载) / Support unified plugin management in TUI /plugins panel (install/remove) #193

Open

Description

@stevenjj33

问题

mcode plugin add 这个 CLI 命令藏得有点深,所有文档都不提。第三方 plugin 装起来不方便——必须退到 shell 跑命令,不能在 TUI /plugins 面板里直接统一管理(安装/卸载)。

建议

TUI /plugins 面板覆盖所有 marketplace 的 install / uninstall / enable / disable,跨市场统一管理。

验收

TUI /plugins 能跨 marketplace 装、卸、启、停 plugin。


Problem

The mcode plugin add CLI command is buried deep — no docs mention it. Installing third-party plugins is inconvenient: users must drop to the shell, since the TUI /plugins panel can't manage them directly (install / remove).

Proposal

TUI /plugins panel should cover install / uninstall / enable / disable across all marketplaces, so users can manage plugins uniformly.

Acceptance

TUI /plugins can install, remove, enable, and disable plugins across marketplaces.

Activity

  1. hetaoBackend commented on Sep 19, 2026

    @hetaoBackend
    Collaborator

    核对了当前公开主分支 81b666a,这个反馈里既有文档可发现性问题,也有尚未覆盖的功能范围。

    已有能力:/plugins 面板已经提供官方目录插件的安装,以及官方/本地已安装插件的启停和移除。Tab 切换 All / Installed / Official / Local,Enter 安装可用插件,Space 启停,Delete / Ctrl+D 移除,Ctrl+R 刷新。注意搜索非空时 Delete / Ctrl+D 会编辑搜索;先按 Esc 清空,再重新选中插件后移除。官方操作需要 MiniMax 登录。面板实现

    实际限制:目前只支持 official 和 local 两种来源,并不是任意 marketplace。mcode plugin add <name>@official 从官方目录安装;它不接受 GitHub URL / 本地路径。mcode plugin marketplace 也只有 list / upgrade,没有注册第三方市场的入口。运行时虽有 GitHub 导入器,CLI/TUI 尚未暴露该导入流程。命令注册

    当前本地插件的用法是:运行 mcode plugin marketplace list 找到当前 profile 的 local 目录,将单个兼容插件包放入其直接子目录,再刷新面板。被发现的插件即视为已安装,可启停和移除。mcode plugin add <name>@local 会返回 LOCAL_PLUGIN_INSTALL_UNSUPPORTED,不能用于导入;移除会删除本地安装目录,需恢复时应保留独立源副本。

    文档缺失确实存在,已提交 #198,补齐命令、快捷键、本地插件流程和这些边界。本地构建 CLI 的合成插件生命周期实测及现有 14 项面板/应用测试通过;这不代表你安装的发行版或线上官方安装流程已验证。

    “在 TUI 内添加第三方来源并跨市场统一装、卸、启、停”仍保留在本 issue 跟踪,文档 PR 不会关闭它。后续需要明确第三方市场格式与来源身份、同名插件的区分、导入入口,以及安装后状态/移除/重新安装的一致性,不能只给现有列表加一个按钮。

    方便补充 mcode --version、使用的终端,以及希望接入的 marketplace 链接或具体插件吗?如果你遇到的是官方/已发现本地插件也无法操作,请同时描述所在页签和具体步骤,便于区分版本/交互问题与第三方来源缺口。

  2. stevenjj33 commented on Sep 19, 2026

    @stevenjj33
    Author

    环境

    • mcode --version:0.4.12(npm @minimax-ai/code@0.4.12)
    • Terminal:macOS Terminal(zsh)
    • macOS:27.0

    想接入的

    • Registry:https://github.com/MiniMax-AI/MiniMax-Code-Plugins(MiniMax-AI 官方 community registry,目前 CLI 没把它当数据源去拉)
    • 具体插件:https://github.com/MiniMax-AI/MiniMax-Code-Plugins/tree/main/plugins/weekbin/octopus-meme-maker

    官方/已发现本地插件的操作
    没有遇到问题。mcode plugin list 里 lark@official / pdf@official / obsidian@local 都显示 enabled,没出现 UI 或交互报错。具体 enable / disable / remove 我没逐一手测,但从源码看(packages/tui/src/tui/features/plugin/manager.ts)enable / disable / remove / install / refresh 的 callback 都齐全。这次 issue 是纯粹的"第三方源没接入",不是版本或交互问题。

  3. added
    enhancementNew feature or request
    needs-triageAwaiting maintainer assessment
    cliStandalone mcode: TUI, headless, ACP and source builds/tooling
    and removed on Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliStandalone mcode: TUI, headless, ACP and source builds/toolingenhancementNew feature or requestneeds-triageAwaiting maintainer assessment

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions