AITabby/dockyard-dsh 预览 preview

AITabby/dockyard-dsh

Plugin插件 Native原生 ⭐ 78 MIT Models & Routing模型与路由

这是DeepSeek Harness的macOS专属原生账户池与提供者插件。

Project Overview项目介绍

Dockyard DSH is a native plugin built exclusively for DeepSeek Harness (DSH), focused on multi-provider account pooling and native model request routing. It currently integrates support for five major LLM providers: OpenAI Codex, Google Antigravity (Gemini), xAI Grok, Anthropic Claude, and developer tools platform Cursor. It imports existing accounts via official browser OAuth flows or reads pre-existing login sessions from local official clients or CLIs. All requests are routed directly through the provider's native API endpoints, so it does not require users to deploy or run a separate proxy gateway.

This plugin is designed for DSH users who hold multiple accounts across different LLM providers. All management operations are handled via the built-in /dockyard command set directly inside running DSH sessions. A common workflow starts with either scanning for existing local login sessions or adding a new account via official OAuth authorization in the system browser. Users can then select an account routing policy from four available options: manual selection, sticky session, round-robin, and failover, and view up-to-date model lists and live quota status from each connected provider.

Dockyard DSH is released under the open-source MIT license, and is currently in developer preview. For macOS users, a pre-built universal architecture DMG is available that bundles the full DSH runtime, so no existing local installation of Node.js or DSH is required to run it. Users who already have a working DSH and Node.js setup can install the plugin with a single one-line npx command that handles all setup automatically. The Windows executable is already built but not yet uploaded for public release, and some providers require manual configuration of OAuth client credentials that are not bundled in this repository.

Dockyard DSH 是专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是提供统一的多提供商账号池管理与原生模型请求路由。它目前支持 Codex、Antigravity (Google Gemini)、Grok、Claude、Cursor 五个主流大模型提供商,通过官方浏览器 OAuth 授权或读取本机已有的官方客户端/CLI 登录态导入账号,不需要额外部署独立代理网关。

该插件面向拥有多个大模型提供商账号的 DSH 用户,可在 DSH 内通过 /dockyard 系列命令完成全流程账号和 provider 管理操作。典型工作流是先扫描本机已有的官方登录态,或通过官方浏览器页面完成 OAuth 授权添加新账号,再设置手动选择、粘性会话、轮询、故障转移四种账号池路由策略,实时读取各提供商的模型目录、额度状态信息。

该插件采用 MIT 许可开源,目前已发布 macOS 通用架构 DMG 安装包,自带完整 DSH 运行时,双击即可启动,无需额外安装 Node.js 或 DSH。已安装 DSH 和 Node.js 的用户可通过一条 npx 命令自动完成安装。当前处于开发预览阶段,Windows 版本已完成构建待上传,部分提供商需要额外配置 OAuth 客户端信息,仓库不内置凭证。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:AITabby/dockyard-dsh

把 AITabby/dockyard-dsh 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Dockyard DSH

A native account-pool and provider plugin for DeepSeek Harness (dsh).

中文 · English

Current status / 当前状态: Developer preview · macOS DMG available · Windows EXE built; upload in progress.

中文

Dockyard DSH 是什么

Dockyard DSH 把多个官方 OAuth / 官方客户端会话接入 DeepSeek Harness,提供一个统一的账号池、模型目录、额度状态和 provider-native 请求入口。它是 DSH 的原生 bundle/plugin,不需要另起一个代理网关,也不把 provider 逻辑塞进 DSH 核心。

当前包含的 provider 模块:

  • Codex — 官方浏览器 OAuth、CLI fallback 和原生 Responses 请求链路。
  • Antigravity — Google 官方浏览器 OAuth、官方本机会话、实时模型目录、额度/credits 和原生 Gemini SSE 请求链路。
  • Grok — xAI 官方浏览器 OAuth、CLI fallback、实时模型目录、官方 Build credits 周期和 provider-native streaming 请求。额度读取使用官方 /billing?format=credits(转发 GetGrokCreditsConfig);若上游只返回周期,剩余值保持未知。
  • Claude — Claude 官方浏览器 OAuth(支持带 state 的手动回调地址/授权码)、CLI fallback 与原生请求适配。
  • Cursor — Cursor 官方浏览器登录轮询、CLI fallback 与原生请求适配。

如果对应的官方客户端、CLI 或 OAuth 源没有安装、没有登录,Dockyard 会返回明确的 unavailable/degraded 状态;不会用硬编码的账号、模型、版本、套餐或额度伪造可用结果。

主要功能

  • 在 DSH 内使用 /dockyard 命令管理账号和 provider。
  • 点击“登录添加账号”直接打开 provider 官方浏览器授权页,选择账号并安全导入账号池;provider 不可用时保留 CLI fallback。
  • 扫描本机已有的官方登录态;扫描和新增账号是两个独立操作,已有账号不会被“新增”静默重复导入。
  • 支持手动选择、sticky session、round-robin 和 failover 账号池策略。
  • 读取 provider 返回的实时模型目录、推理档位、套餐和额度窗口。
  • 所有命令、模型选择和 LLM 生成都读取同一个 Dockyard runtime,不维护第二套账号池或额度缓存。

平台支持:macOS 已发布,Windows 构建完成

当前 0.1.2 版本正在整理;macOS DMG 已提供,Windows EXE 已完成构建,待上传到 v0.1.2 Release。

macOS 完整功能依赖以下原生能力:

  • 凭据存储使用 macOS Keychain 和 Swift helper。
  • 浏览器 OAuth 由 DSH GUI 打开 provider 官方授权页面,并使用 PKCE、state 校验和 loopback/manual-code 回调;CLI fallback 才使用官方 CLI。
  • 扫描模式仍可读取 Cursor、Antigravity 等 provider 的 macOS 官方桌面端或本机 CLI 会话状态。

Windows 版本已完成 EXE 构建,待上传到 v0.1.2 Release;上传完成后再进行发布页下载验证。

macOS 独立应用与 DMG

如果不想手动安装 Node.js、pnpm 或 DSH,可以直接下载自带完整运行时的 macOS 通用 DMG:

下载最新 Dockyard DSH DMG

也可以在 Mac 上自行构建:

./apps/macos/build-dmg.sh

DMG 内置 Node.js、DSH CLI、完整 web profile 和 Dockyard 插件;双击 App 即可运行,不需要另外安装 Node.js、pnpm 或 DSH。它会在原生 WebKit 窗口中显示内置的 DSH Web profile;OAuth 授权页会交给系统默认浏览器打开。当前构建包含 Apple Silicon 和 Intel 两个架构。详细说明见 apps/macos/README.md。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev zat-dsh-engine 下一个 Next Martty →