← 返回列表
D

dsh-access-gate

v0.5.0 · 2 天前发布

DSH plugin: password gate for remote (non-loopback) /api access (passwordless by default), unblock the loopback-pinned privileged endpoints, restore everything on uninstall, and give the local 127.0.0.1 user the native OS folder picker for workspace selec

dshdsh-plugindeepseek-harnessdeepseek-harness-pluginauthgateremote-access公网认证typescript

README

# dsh-access-gate **DSH 远程访问认证门禁 · Remote access authentication gate for DeepSeek Harness** [English](#english) · [中文](#中文) `dsh plugin --profile web add dsh-access-gate`
# dsh-access-gate(中文) DSH(DeepSeek Harness)远程访问认证门禁插件:解决"经 nginx 公网域名转发访问时,`/api/*` 全部 403"的问题 —— 认证通过后所有被浏览器信任护栏拦截的接口(含 `settings.*`、`credentials.*` 等 loopback 钉死的特权接口)全部可用;本机 `127.0.0.1` 访问不受影响;卸载插件一切还原,零残留、不污染用户配置。 同时是 [dsh-lan-access](https://github.com/Leon0555/dsh-lan-access) 的**完整替代品**(0.0.0.0 绑定 + `crypto.randomUUID` polyfill + 远程认证 + 本机原生目录选择,一个包全包)。 ## 功能 | 功能 | 说明 | |---|---| | 🔐 远程认证门禁 | 配置密码后,除本机直连外的访问(公网域名 / 局域网 IP / 同机 nginx 反代)需密码登录(HttpOnly Cookie,默认 7 天有效) | | 🔓 默认无密码 | 未配置密码时远程直接放行(等价纯 lan-access),配置密码即启用门禁,设置界面实时生效、无需重启 | | 🗂 本机原生目录选择 | 本机添加工作
查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-access-gate
Repo
git+https://github.com/bamboostrip/dsh-access-gate.git
Engines
{"node":">=22"}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-workspace"],"platform":"web"}}