LYiHub/pub-dsh-privacy-router

No repository description was reported by the source.

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

在同一个 DeepSeek Harness 对话中,根据本地隐私检查结果自动选择本地模型或云端模型。敏感和不确定请求留在本地;只有判定为 public 的纯文本请求会进入经过重建的云端白名单上下文。本仓库只发布 Host 侧路由,不包含 Web UI 实现或 DSH 源码补丁。 本插件与 Local AI Discovery Server 配套使用。发现服务运行在提供本地推理的主机上,通过 mDNS / DNS-SD 广播 OpenAI-compatible API 的主机、端口、基础路径、模型列表路径和认证要求;DSH 侧的本地发现集成将其注册为 local-ai- Provider,本插件再将该 Provider 作为受信任的本地 A 路由。 Local AI Discovery Server 只负责 local-ai.tcp.local. 服务广播,不负责模型推理或 API 代理。本仓库也不包含 mDNS 发现客户端,需要由 DSH 的本地 Provider 集成消费该广播。 B 在官方 DSH 的默认配置下只能收到: 在兼容的 Harness fork 中开启 recordSessionEvents 后,白名单上下文还可以包含此前已经通过检查并发送给 B 的纯文本用户消息,以及对应的 B 纯文本回复。 B 不会收到本地处理的对话、项目系统提示词、本地文件结果或本地工具定义。若 B 仍返回工具调用,插件会终止该请求,避免云端触发本地工具。启用内部事件记录时,每次实际云端调用前写入的 privacy-router/cloud-dispatch 只保存消息 ID 和角色,不会再复制消息正文。 本地分类器可以查看最近的既有会话文本,并以 cloudSafe 标记区分可发送和仅限本地的上下文。默认配置不批准历史消息进入云端,因此依赖“继续”“那个”等上文指代的请求会保守地留在 A;开启兼容事件记录后,引用此前公开云端对话的请求才可以继续走 B。上下文投影与本轮文本共用 maxPromptBytes,超出部分从最旧消息开始省略并明确标记为已截断。 本仓库采用 DSH 官方 bundle 结构:package.json 声明 dsh.bundle,cordis.patch.yml 负责挂载 Host 插件。源码是可直接运行的 JavaScript,不需要安装时构建。 从 GitHub 安装:…

LYiHub/pub-dsh-privacy-router on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-30T16:36:55.836Z

Inside the original README — Document outline
  1. DSH Privacy Router
  2. 工作方式
  3. 配套项目
  4. 云端数据边界
  5. 安装
  6. 配置
  7. UI 展示构想
  8. UI 集成限制
  9. 安全说明
  10. 验证
  11. License

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

The source does not provide a repository description. Read the project README before evaluating it.

Repository facts

Owner
LYiHub
Primary language
JavaScript
Stars
143
Forks
28
Open issues + pull requests
1
License
MIT
Archived
No
Default branch
main
Created
2026-09-11T03:20:17.000Z
Last push
2026-09-11T08:05:22.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-09-18T06:40:01.475Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

affaan-m/ECC

react/react

trekhleb/javascript-algorithms

CyC2018/CS-Notes

DietrichGebert/ponytail

Snailclimb/JavaGuide