plugin-list
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePlugin 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")响应结果为包含的JSON数组。
{id, name, version, status, tier, installed_at, source_url}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 ; flag when (semver).
idinstalled.version < marketplace.version如果用户提到“desatualizados”/“outdated”/“updates”(过时/更新):
python
marketplace = evo.get("/api/plugins/marketplace")通过匹配已安装插件与插件市场中的插件;当(语义化版本)时标记为可更新。
idinstalled.version < marketplace.versionStep 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 ascending. Hide columns user didn't ask for.
nameClose with a one-line summary: total installed, N with updates, N broken ( = manifest SHA mismatch, suggest ).
status=brokenplugin-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结尾添加一行总结:已安装插件总数、可更新插件数量、故障插件数量(表示清单SHA不匹配,建议使用工具)。
status=brokenplugin-healthError 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 from output unless asked — long and noisy.
source_url - If is
status, surface explicitly — scheduler offline during install, restart needed.routine_activation_pending
- 除非用户要求,否则不要输出— 该内容冗长且干扰阅读。
source_url - 如果为
status,需明确指出 — 安装期间调度程序离线,需要重启。routine_activation_pending