Skip to content

Commit 2dedda6

Browse files
committed
🏷️ 仓库改名 deepseek-harness-lan:统一项目内名称与补丁文件名
1 parent 1eff30c commit 2dedda6

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2026 dsh-lan contributors
3+
Copyright (c) 2026 deepseek-harness-lan contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🐾 dsh-lan
1+
# 🐾 deepseek-harness-lan
22

33
> Run [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web UI on your home LAN — bind a specific IP, trust it, and open it from any device.
44
> 让 DeepSeek Harness 的 Web UI 在局域网里跑起来——从 Windows / 手机 / 平板直接打开。
@@ -63,17 +63,17 @@ pnpm install
6363
> pnpm install
6464
> ```
6565
66-
#### ③ 克隆 dsh-lan 并打补丁
66+
#### ③ 克隆 deepseek-harness-lan 并打补丁
6767
6868
```bash
69-
git clone https://github.com/oitsukiii/dsh-lan.git
70-
cd dsh-lan
69+
git clone https://github.com/oitsukiii/deepseek-harness-lan.git
70+
cd deepseek-harness-lan
7171
./apply.sh /path/to/deepseek-harness
7272
```
7373
7474
`apply.sh` 自动完成:版本校验 → 检查能否干净应用 → 打补丁 → 补装构建依赖 `unrun`。看到 **`✓ 补丁应用完成`** 即成功。
7575

76-
> 💡 **目录无关**`dsh-lan``deepseek-harness` 可以放在任意目录(任意组合)——脚本自动定位自身 patch、按参数定位 dsh 仓库,无硬编码路径。三种运行方式任选:传 dsh 路径参数、`cd` 到 dsh 目录再跑、或把 dsh-lan 放在 dsh 旁边。
76+
> 💡 **目录无关**`deepseek-harness-lan``deepseek-harness` 可以放在任意目录(任意组合)——脚本自动定位自身 patch、按参数定位 dsh 仓库,无硬编码路径。三种运行方式任选:传 dsh 路径参数、`cd` 到 dsh 目录再跑、或把 deepseek-harness-lan 放在 dsh 旁边。
7777
7878
#### ④ 重新构建前端
7979

@@ -159,7 +159,7 @@ http://127.0.0.1:3080
159159
| 方案 | 改源码 | 电脑 | 手机/平板 | 官方升级 |
160160
|---|---|---|---|---|
161161
| **SSH 隧道**(本方案) | ❌ 零改动 || ⚠️ 每台设备配隧道 | 直接 `git pull`,无感 |
162-
| **dsh-lan 补丁**(主方案) | ✅ 4 处最小 diff || ✅ 直接开网址 | 需重新打补丁 |
162+
| **deepseek-harness-lan 补丁**(主方案) | ✅ 4 处最小 diff || ✅ 直接开网址 | 需重新打补丁 |
163163

164164
### 为什么 nginx 反代不行
165165

@@ -311,7 +311,7 @@ A: 官方**有意**禁了通配符绑定,短期内不太可能放开;但绑
311311

312312
| 文件 | 解决 |
313313
|---|---|
314-
| `patches/dsh-lan.patch` | 全部 4 处改动的统一 diff(git apply 直接用) |
314+
| `patches/deepseek-harness-lan.patch` | 全部 4 处改动的统一 diff(git apply 直接用) |
315315

316316
## 🤝 贡献
317317

apply.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# dsh-lan — apply the LAN-access patches to a local deepseek-harness checkout.
3+
# deepseek-harness-lan — apply the LAN-access patches to a local deepseek-harness checkout.
44
#
55
# Usage:
66
# ./apply.sh /path/to/deepseek-harness
@@ -60,7 +60,7 @@ else
6060
ok "[1/4] 版本校验通过: dsh $dsh_version ($dsh_commit) 与补丁目标一致"
6161
fi
6262

63-
PATCH="$PATCH_DIR/patches/dsh-lan.patch"
63+
PATCH="$PATCH_DIR/patches/deepseek-harness-lan.patch"
6464

6565
# ---- 3. already applied? ----
6666
if grep -q "Local patch: crypto.randomUUID" "$DSH_DIR/apps/web/src/main.ts" 2>/dev/null; then
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# dsh-lan patch
1+
# deepseek-harness-lan patch
22
# Target: deepseek-harness 0.1.0-rc.5 (commit 47f9438)
33
# What: allow binding the dsh web UI to a specific LAN IP + trust it
44
# (4 files: webserver host schema, web-app CLI, web entry polyfill,
55
# client-connection privileged-method trust)
6-
# Apply: git apply dsh-lan.patch (or use ../apply.sh)
7-
# Revert: git apply -R dsh-lan.patch (or use ../revert.sh)
6+
# Apply: git apply deepseek-harness-lan.patch (or use ../apply.sh)
7+
# Revert: git apply -R deepseek-harness-lan.patch (or use ../revert.sh)
88
#
99
diff --git a/apps/web/src/main.ts b/apps/web/src/main.ts
1010
index feb85db..765a496 100644

revert.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# dsh-lan — revert the LAN-access patches from a local deepseek-harness checkout.
3+
# deepseek-harness-lan — revert the LAN-access patches from a local deepseek-harness checkout.
44
#
55
# Usage:
66
# ./revert.sh /path/to/deepseek-harness
@@ -22,7 +22,7 @@ info() { echo -e "${C_CYAN}ℹ${C_RESET} $*"; }
2222

2323
PATCH_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2424
DSH_DIR="${1:-$PWD}"
25-
PATCH="$PATCH_DIR/patches/dsh-lan.patch"
25+
PATCH="$PATCH_DIR/patches/deepseek-harness-lan.patch"
2626

2727
# Target version this patch set was written and verified against.
2828
EXPECT_VERSION="0.1.0-rc.5"

0 commit comments

Comments
 (0)