跳到主内容

dsh-web-star 使用指南

在 DSH 网页客户端侧边栏底部加入指向 webdsh 仓库的「Star on GitHub」按钮,并显示当前 star 数。

本文为派生内容(基于 wiki / faq / compatibility_json 自动组装),非 AI 即时创作。

本文由本站基于该插件已收录的字段自动派生(wiki / faq / compatibility_json / readme),非 AI 即时创作。每节末尾标源字段。

快速上手

webdsh

— 源: plugin_wiki.wiki_content

安装与验证

dsh plugin --profile web add github:futrime/webdsh#path:packages/dsh-web-star

复制以上命令在 DSH Web Profile 内运行。安装完成后在「插件列表」启用即可。

— 源: plugins.install

关键要点

  • ⚡ Nothing to run. No server, no install, no local Node — the harness boots in the page.
  • 🖥️ Real Node, real Python. npm install and pip install both work, and the terminal and the agent share one container.
  • 🧩 Real plugins. Install from npm, a tarball, GitHub, or a path — from the browser.
  • 📦 Real dsh. The published @deepseek-ai/* packages, unmodified: 114 of 129 rows compose exactly as dsh web composes them.
  • 🔒 Yours. Files, sessions and keys live in your browser's storage. Nothing is uploaded.

— 源: plugin_wiki.readme_zh (fallback readme_raw)

常见问题

安装后需要额外配置吗?

不需要。该插件没有配置项,安装后即在侧边栏底部显示「Star on GitHub」入口。

star 数显示不出来怎么办?

插件会请求 GitHub 公开接口拉取 star 数;离线、被限流或浏览器拦截时会静默失败,链接本身仍可正常点击。

star 数会一直请求 GitHub 吗?

不会。星数拉取一次后会缓存在浏览器本地存储 24 小时,期间不会重复请求。

数据会上传到第三方吗?

不会。插件只调用 GitHub 公开接口读取 star 数,星数缓存仅保存在本地浏览器中,不会上传。

这个插件会让 AI 模型看到什么不同吗?

不会。它只渲染侧边栏 UI,不向模型注入系统提示或新增工具。

能改成指向其他仓库吗?

不能。仓库地址 futrime/webdsh 在源码中写死,该插件就是为 webdsh 发行版准备的"请点赞"入口。

侧边栏收窄成窄栏时按钮变成什么样?

文字和星数自动隐藏,只保留一个 36 像素的圆形图标,与 Settings 等其他侧边栏底部按钮样式保持一致。

想隐藏这个按钮怎么卸载?

在 DSH 客户端的 Settings → Plugins 中找到该插件并禁用或移除,下次刷新页面后即不再显示。

— 源: plugin_wiki.faq_json

兼容性

  • DSH: 0.1.0-rc.7+
  • Node: >=22

— 源: plugin_wiki.compatibility_json

踩坑提醒

安装前请审阅上游仓库;本指南基于已收录字段自动派生,可能滞后于最新版本。如发现与官方文档冲突,请以上游为准。

— 来源:通用规则