Models & Providers

dsh-console

2421873411a-rgb/dsh-console · ★ 1

2421873411a-rgb

DeepSeek Harness console: manage Harness / pet / DSH port / frp tunnel / quota

README body is shown in Chinese.

Repository is no longer available (checked 2026-10-31). This entry is retained for tracking and cannot be installed.

License
Unknown
Added
2026-08-16
Maintenance
active
Install kind
github
Manifest status
Not verified
Manifest path
-
Manifest checked
2026-08-19
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

README

Source README · body: zh · Read Chinese README

Table of contents
  1. 界面预览
  2. 功能
  3. 目录
  4. 编译
  5. 使用前准备
  6. 隐私说明

一个 Windows 桌面小工具:一键管理 DeepSeek Harness 全家桶 —— 启动/关闭 Harness、桌宠、DSH Web 端口、frp 隧道,并实时查看 GO 套餐 / DeepSeek 余额。

属于 DeepSeek Harness 生态工具,话题:dsh-plugin

界面预览

DSH 控制台

功能

  • 一键启动/关闭:DeepSeek Harness(Chrome App)、桌宠、DSH Web(端口 3080)、frp 隧道
  • 状态展示:绿色=运行中,白色=停止,带状态点
  • 套餐/余额查询:
    • OpenCode Go:滚动 / 周 / 月用量
    • DeepSeek 官网:余额
    • 支持在设置里切换查询源、修改 API Key
  • 窗口行为:点 —(最小化) 保留在任务栏;点 ✕ / Alt+F4 隐藏到系统托盘(程序不退出,托盘图标可恢复窗口)
  • 系统托盘:菜单"打开控制台 / 退出",托盘左键点击恢复窗口
  • 状态异步刷新,不卡 UI

目录

  • src/DSHConsole.cs - WPF 主程序(C#,.NET Framework 4,可用 csc 编译)
  • pet/dsh-pet-watchdog.ps1 - 桌宠守护脚本
  • tunnel/frpc.example.toml - frp 隧道示例配置
  • assets/ - DSH 官方字标

编译

Windows 自带 .NET Framework 编译器:

csc /nologo /target:winexe /codepage:65001 /out:DSH控制台.exe ^
  /r:System.dll /r:System.Drawing.dll /r:System.Management.dll /r:System.Web.Extensions.dll /r:System.Windows.Forms.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationFramework.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationCore.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\WindowsBase.dll ^
  /r:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Xaml.dll ^
  src\DSHConsole.cs

使用前准备

  1. pet/dsh-pet.exe 已随仓库提供(Windows 编译版)
  2. 把 frpc 放到 tunnel/,并复制 frpc.example.toml 为 frpc.toml 填好你的服务器
  3. API Key 放在 ~/.dsh/.credentials.yaml:
    OPENCODE_GO_API_KEY: sk-...
    DEEPSEEK_API_KEY: sk-...
    

隐私说明

  • 本仓库不含任何真实 API Key / 服务器地址 / 个人路径
  • 实际运行路径通过 Environment / 程序所在目录动态解析