plugin-list

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Plugin List

插件列表

Return the current inventory of installed plugins.
返回当前已安装插件的清单。

How to use

使用方法

Step 1 — Fetch installed plugins

步骤1 — 获取已安装插件

python
from dashboard.backend.sdk_client import evo

plugins = evo.get("/api/plugins")
Response is a JSON array of
{id, name, version, status, tier, installed_at, source_url}
.
python
from dashboard.backend.sdk_client import evo

plugins = evo.get("/api/plugins")
响应结果为包含
{id, name, version, status, tier, installed_at, source_url}
的JSON数组。

Step 2 — (Optional) Cross-check marketplace for updates

步骤2 —(可选)交叉检查插件市场以获取更新信息

If user hints at "desatualizados" / "outdated" / "updates":
python
marketplace = evo.get("/api/plugins/marketplace")
Match installed vs marketplace by
id
; flag when
installed.version < marketplace.version
(semver).
如果用户提到“desatualizados”/“outdated”/“updates”(过时/更新):
python
marketplace = evo.get("/api/plugins/marketplace")
通过
id
匹配已安装插件与插件市场中的插件;当
installed.version < marketplace.version
(语义化版本)时标记为可更新。

Step 3 — Render compact markdown table

步骤3 — 渲染简洁的Markdown表格

| slug | name | version | status | update? |
|------|------|---------|--------|---------|
| pm-essentials | PM Essentials | 1.0.0 | active | — |
| int-pipedrive | Pipedrive Suite | 0.4.1 | active | 0.5.0 |
Order by
name
ascending. Hide columns user didn't ask for.
Close with a one-line summary: total installed, N with updates, N broken (
status=broken
= manifest SHA mismatch, suggest
plugin-health
).
| slug | name | version | status | update? |
|------|------|---------|--------|---------|
| pm-essentials | PM Essentials | 1.0.0 | active | — |
| int-pipedrive | Pipedrive Suite | 0.4.1 | active | 0.5.0 |
name
升序排列。隐藏用户未询问的列。
结尾添加一行总结:已安装插件总数、可更新插件数量、故障插件数量(
status=broken
表示清单SHA不匹配,建议使用
plugin-health
工具)。

Error handling

错误处理

  • Empty
    []
    — say plainly no plugins installed, offer
    plugin-marketplace
    .
  • HTTP 5xx — verify the dashboard backend is running; don't invent data.
  • 响应为空数组
    []
    — 直接说明未安装任何插件,并推荐使用
    plugin-marketplace
  • HTTP 5xx错误 — 确认仪表盘后端是否运行;请勿编造数据。

Notes for the agent

代理注意事项

  • Omit
    source_url
    from output unless asked — long and noisy.
  • If
    status
    is
    routine_activation_pending
    , surface explicitly — scheduler offline during install, restart needed.
  • 除非用户要求,否则不要输出
    source_url
    — 该内容冗长且干扰阅读。
  • 如果
    status
    routine_activation_pending
    ,需明确指出 — 安装期间调度程序离线,需要重启。