DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Model Account Login — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

dsh-model-account-login

Model Account Login

适用于 ChatGPT、Claude 及其他 llm-pi-ai 登录流程的持久化 DSH 模型账户授权界面

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:hongbaiqi/dsh-model-account-login#10298a6328d71fc1b6300e72b4b46c3136e0828a
README兼容性版本

兼容性与来源证明

Model Account Login 以 dsh-model-account-login 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/4

版本

0.1.0stable
2026/9/4

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/3
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 security-access 分类下经过校验的插件。

Doctor@linxin666/dsh-doctorDSH 配置档案的事务性救援模式,配备受监督的启动器、隔离的恢复容器、确定性修复、健康监控以及本地 Web 恢复控制台Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Auto Reviewdsh-auto-review针对 DeepSeek Harness 审批请求的第二模型 AI 自动审查:只读审查子代理在审批应答链上决定允许或拒绝,并采用故障关闭回退机制和完整的会话日志审计。

README

dsh-model-account-login

Persistent model-account authorization UI for DeepSeek Harness (DSH) — sign in to ChatGPT, Claude, and other llm-pi-ai login flows once, and keep the session alive across restarts.

中文说明见下文 中文。

What it does

DSH core ships an authorization seam (@deepseek-ai/dsh-authorization) plus credential storage, but no built-in UI for interactive provider login flows (device codes, external URLs, text/secret/select prompts). This package adds that missing piece:

  • Host half (lib/host.js) — bridges the official authorization service to a package-private JSON-RPC channel (/model-account-login), tracks every login attempt in an AttemptRegistry (notices, prompts, cancellation, settle states), and persists results through credentials / settings.
  • Web Client half (lib/client.js) — registers a Settings → Model Accounts section (settings.section slot). Each login flow renders as a card showing signed-in / route-enabled state with actions: login, re-login, sign-out, enable/disable route. An in-flight attempt expands an inline panel with the shared state machine: notices, external URL, device code, prompts (text / secret / select), submit and cancel.

Install

This is a Cordis composition plugin. Mount it into your DSH host composition with the bundled patch:

# cordis.patch.yml (bundled)
- insert:
    - id: model-account-authorization
      name: '@deepseek-ai/dsh-authorization'
      inject: [credentials]

    - id: model-account-login
      name: 'dsh-model-account-login'
      inject: [authorization, credentials, settings, connection]

The Web Client entry is declared through package.json → dsh.client and joins the Web module graph automatically once the host row is mounted.

Requirements

  • Node.js >= 20
  • A DSH deployment providing these peer services:
    • @deepseek-ai/cordis ^4.0.1
    • @deepseek-ai/dsh-authorization ^0.1.1-rc.2
    • @deepseek-ai/dsh-credentials ^0.1.1-rc.2
    • @deepseek-ai/dsh-settings ^0.1.1-rc.2
    • @deepseek-ai/dsh-client-connection / dsh-client-runtime / dsh-client-ui-settings ^0.1.1-rc.2
    • react ^18.2.0

Repository layout

lib/
  host.js       Host plugin: RPC bridge + attempt lifecycle
  client.js     Web client: settings.section UI (React)
  protocol.js   Shared RPC protocol, view types, validators
  state.js      AttemptRegistry state machine
  *.d.ts        Type declarations for all of the above
cordis.patch.yml  Composition patch for mounting

Note: this repository currently ships the built artifacts of the plugin (compiled JS + type declarations). The TypeScript sources are not yet published; contributions that help reconstruct them are welcome — see AGENTS.md.

Protocol at a glance

Client → Host calls go over the /model-account-login channel as lossless JSON, returning RpcResult<T> ({ ok: true, value } / { ok: false, error }). Key view types (see lib/protocol.d.ts):

  • OverviewView — all known flows, their methods, inFlight / signedIn / routeEnabled flags
  • AttemptView — one login attempt: status (running | authorized | cancelled | failed), notices, current prompt, error
  • PromptView — text / secret / select prompt descriptions

Credentials are stored under the llm-pi-ai credential scope; settings under the llm-pi-ai namespace.

License

MIT © 2026 hongbaiqi


中文

dsh-model-account-login 是 DeepSeek Harness(DSH)的模型账号登录插件:为 ChatGPT、Claude 等 llm-pi-ai 登录流程提供持久化的授权界面。

  • Host 端:把官方 authorization 服务桥接到包内私有 RPC 通道,管理每次登录尝试的状态机(通知、设备码、交互提示、取消、成败落定),并通过 credentials / settings 持久化登录结果。
  • Web 端:在设置页注册「模型账号」面板,每个登录流程一张卡片,显示已登录 / 路由启用状态,支持登录、重新登录、退出、启停路由;进行中的登录会展开内联面板,展示通知、外部链接、设备码和输入提示。

安装

用随包附带的 cordis.patch.yml 把插件挂进 DSH 的 host 组合(composition)即可,Web 客户端会随模块图自动加载。要求 Node.js >= 20 及上文列出的 peer 依赖。

说明

本仓库当前发布的是编译产物(JS + 类型声明),TypeScript 源码尚未公开,欢迎贡献重建。

许可证:MIT © 2026 hongbaiqi