deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:kolawong/dsh-plugin-auth-webserver
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Native Web Authentication & Login plugin for DeepSeek Harness (DSH). Give your self-hosted server deployment a DSH-styled Web Login Page, Cookie Sessions, Basic Auth fallback, Web UI Settings Card, and Web Crypto Polyfill.
🌐 English | 简体中文
/api/auth.logout endpoint and Web UI logout button.HTTP Basic Auth headers for CLI tools, curl, and automated API clients.upgrade) channels.Host and Origin headers for authenticated sessions, eliminating HTTP 403 Forbidden errors when accessing privileged RPC endpoints (settings.describe, agentPreset.*) via public IP.window.crypto.randomUUID() in HTML <head> for non-HTTPS and direct IP environments, preventing client-side runtime crashes.mkdir -p ~/.dsh/plugins/dsh-plugin-auth-webserver
cd ~/.dsh/plugins/dsh-plugin-auth-webserver
git clone https://github.com/kolawong/dsh-plugin-auth-webserver.git .
Edit ~/.dsh/profiles/web/cordis.patch.yml:
- id: webserver
disabled: true
- insert:
- id: webserver-auth
name: '@custom/dsh-plugin-auth-webserver'
inject:
- webStartup
config:
host: '0.0.0.0'
port: !!js ctx.webStartup.port ?? 3080
username: 'admin'
password: 'your_secure_password'
# If managed via systemd:
systemctl restart deepseek-harness
# Or launch directly via CLI:
dsh web --port 3080
Open your browser at http://your-server-ip:3080 to experience the new DSH-themed login page.
| Option | Type | Default | Description |
|---|---|---|---|
host |
string |
'0.0.0.0' |
Listening network interface (0.0.0.0 or 127.0.0.1). |
port |
number |
3080 |
Port for the HTTP/WebSocket server. |
username |
string |
'admin' |
Authentication username. |
password |
string |
'' |
Authentication password (leave empty to disable authentication). |
realm |
string |
'DeepSeek Harness Authentication' |
Realm string used for fallback Basic Auth. |
POST /api/auth.login — Authenticate and receive a session cookie ({ username, password }).POST /api/auth.logout — Invalidate current session and clear cookie.GET /api/auth.get — Retrieve current username and realm configuration.POST /api/auth.update — Live update credentials and persist to profile configuration.MIT License © 2026 kola
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。