DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
/**
* dsh-tauri-experimental — turn 级工作区变更记录(只读展示)。
*
* 每个 Agent turn 在私有 Git 快照仓(`$DSH_HOME/<feature>/workspaces/<hash>.git`)记录
* before / after 两个快照、算出逐文件 `+N -M` 并写入每会话账本;客户端在 turn 进行期间用
* 输入框上方的提示条展示当前读数。对用户仓库全程只读(HEAD / 分支 / index / stash 零污染)。
*
* 宿主服务只声明两代内核都提供的服务:webServer(路由)、sessions(会话查找)、
* agents(turn 事件源)、connection(路由工具读 `ctx.connection` 判定连接信任边界;
* 该服务必须进 inject,否则 cordis 在请求期抛 `cannot get property without inject`)。
*/
import { PLUGIN_ID } from './shared/constants'
export const name = PLUGIN_ID
export const inject = ['webServer', 'sessions', 'agents', 'connection']
export { apply } from './host/apply'