feat: DSH 悬浮窗 v0.1.0 — 原生置顶小窗 + 会话镜像 + 抓屏隐身

- shell: WinForms + WebView2 原生壳(无边框/置顶/固定位置/锁定尺寸/全屏/自适应缩放/截图排除)
- shell/ui.html: 自适应界面(工具栏、会话镜像区、底部聊天框、轮/步/tok/s/MTOK/缓存命中/上下文状态条、外观设置)
- lib/host.js: DSH 插件 Host 半(endpoint 写入、SSE 会话与指标快照、float_window Agent 工具)
- tools: WebView2 SDK 拉取、BOM 修复、Host 冒烟测试
- README: 架构、实测结论(WDA_EXCLUDEFROMCAPTURE、玻璃模式、DPI、WebView2 加载)
This commit is contained in:
2026-09-27 14:02:58 +08:00
commit 8e4a648465
12 changed files with 1850 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# runtime / build artifacts
.cache/
.runtime/
node_modules/
*.log
# WebView2 SDK 由 tools/setup-webview2.ps1 拉取,不入库
shell/lib/*.dll
# 个人状态(位置/命令/心跳)不入库
window.json
command.json
alive.json
endpoint.json
# Windows
Thumbs.db
desktop.ini