CroissanTTs/dsh-harness-jarvis 预览 preview

CroissanTTs/dsh-harness-jarvis

贾维斯是常驻桌面的悬浮窗助手,也是一只有状态的桌面宠物:DSH 弹出权限审批时,悬浮窗立刻出现卡片,一键允许 / 拒绝 / 总是允许(此工作区),与主窗口竞答、先到者生效;任何时候按 ⌃⌥J 就能唤出输入条和他对话,对话记录内嵌面板;启动时他还会出声打招呼。他的本体是一颗随状态呼吸的粒子光球——思考、说话、等你拍板各有动效,拖到屏幕边缘就融进墙里收起,要用时一碰涨回球形。

catalog descriptioncatalog 简介 / catalog description:贾维斯 · 常驻桌面的悬浮窗桌面助手 / 桌面宠物 —— DSH Desktop 的粒子光球:快速审批权限、⌃⌥J 快速对话。A floating-window desktop assistant & desktop pet for DSH Desktop.

Project Overview项目介绍

dsh-harness-jarvis, branded as "Jarvis," is a DSH-Desktop-only floating-window assistant and stateful desktop pet that ships exclusively for macOS 14 and above. When DSH raises a permission prompt, the plugin surfaces an approval card with one-click Allow, Deny, or Always Allow (this workspace), racing the main DSH window so whichever side the user answers first wins. A global hotkey of Control-Option-J summons a quick input bar for chatting with Jarvis, with conversation history embedded directly inside the floating panel. At launch the orb greets the user through edge-tts, and hovering the particle orb mutes audio.

A typical workflow begins by cloning the repository, running npm ci and npm run build, then executing (cd macos && ./build.sh) to compile the Swift 6 panel. The user then merges a link:/absolute/path/to/dsh-harness-jarvis dependency into the target DSH profile's package.json and adds dsh-harness-jarvis to dsh.profile.bundles, finally resolving it with pnpm install inside the profile directory. After restarting DSH the floating Metal particle orb appears, the hotkey expands the input bar, and subsequent permission prompts trigger the inline approval card. Provider and model can be left blank to let the plugin auto-select the first available combination. It targets macOS developers who want approvals answered without leaving their current focus.

Hard service dependencies are tools, userQuestions, and jobs, while agentLoop, llm, systemPrompt, webServer, and settings are optional and degrade gracefully when absent, meaning the panel simply loses its communication channel without webServer. The native panel is Metal-based, requires Xcode or Command Line Tools with a Swift 6 toolchain, and demands Node.js 22.18+ for the host. Approval logs, diagnostics, and voice caches persist locally under ~/.dsh/jarvis with no cloud storage, but the configured model provider still receives conversation context and built-in edge-tts transmits spoken text to Microsoft's speech service. The plugin avoids dangerous permissions, uses Carbon RegisterEventHotKey instead of accessibility hooks, and currently records no microphone audio. MIT-licensed at version 0.7.1, voice input and prebuilt binaries are not yet shipped, and no formal security review or device-level acceptance has been completed.

dsh-harness-jarvis(贾维斯)是面向 DSH Desktop 的常驻桌面助手兼桌面宠物,仅支持 macOS 14+。它在 DSH 弹出权限审批时显示悬浮审批卡片,提供"允许 / 拒绝 / 总是允许(此工作区)"一键操作,与主窗口竞答先到者生效;随时按下 ⌃⌥J 唤出输入条与贾维斯对话,对话记录内嵌面板;启动时还会通过 edge-tts 出声打招呼,悬停光球可静音。

典型工作流为:安装并构建后,在 DSH profile 的 package.json 中以 link: 依赖方式引入并在 dsh.profile.bundles 中启用,于 profile 目录执行 pnpm install 解析;重启 DSH 即可看到悬浮粒子光球,按快捷键展开对话,下次权限审批时直接点击卡片作答。可在 DSH 设置页或 profile 覆盖中指定 provider 与 model,留空时插件自动选用首个可用提供方与模型。目标用户为希望审批不离开当前焦点、并愿意为桌面助手投入配置成本的 macOS 开发者。

依赖与限制:硬依赖 tools、userQuestions、jobs 服务,agentLoop、llm、systemPrompt、webServer、settings 按可用性降级;面板基于 Metal 与 Swift 6 工具链,需 Node.js 22.18+,原生面板仅 macOS 14+。审批记录、日志与语音缓存默认存于本机 ~/.dsh/jarvis,所配置模型服务会收到对话上下文,内置 edge-tts 会将播报文本发往 Microsoft 语音服务。MIT 许可,0.7.1 助手版,语音输入与预编译分发尚未完成,安全审查与真机验收尚未完成。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:CroissanTTs/dsh-harness-jarvis

把 CroissanTTs/dsh-harness-jarvis 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-harness-jarvis · 贾维斯

English | 中文

version for DSH Desktop macOS License

贾维斯是常驻桌面的悬浮窗助手,也是一只有状态的桌面宠物:DSH 弹出权限审批时,悬浮窗立刻出现卡片,一键允许 / 拒绝 / 总是允许(此工作区),与主窗口竞答、先到者生效;任何时候按 ⌃⌥J 就能唤出输入条和他对话,对话记录内嵌面板;启动时他还会出声打招呼。他的本体是一颗随状态呼吸的粒子光球——思考、说话、等你拍板各有动效,拖到屏幕边缘就融进墙里收起,要用时一碰涨回球形。

贾维斯光球状态动效:待机、等待、思考、说话、需要你处理

当前 0.7.1 是"助手版":上面这些能力开箱即用;完整的贾维斯愿景在路线图中继续推进。

贾维斯能做什么

  • 🔔 权限审批:DSH 弹出权限请求 → 悬浮窗出现审批卡片,**允许 / 拒绝 / 总是允许(此工作区)**一键作答;面板与 DSH 主窗口竞答,先到者生效,不必切回主窗口。审批出现在哪,就在哪处理。
  • ⌨️ 悬浮式对话:全局快捷键 ⌃⌥J(默认,可在面板设置中修改)随时唤出快速输入条,和贾维斯直接聊;对话记录内嵌面板,随点随看。一个快捷键,历史随手可及。
  • 🔊 语音问候:启动时贾维斯出声打招呼,问候语与发音人可配置,悬停光球可静音。一段可配置、可静音的开机问候。
  • ✨ 桌面形象:Metal 粒子光球——五种状态动效、贴边融变、悬停唤醒,像一只安静的桌面宠物待在屏幕角落。一半是状态灯,一半是陪伴。

下面这段动图是一次完整交互:⌃⌥J 展开输入条、打字发送、贾维斯思考并口播、审批卡片一键允许。

完整交互演示:展开输入条、打字、发送、思考与播报、审批一键允许

光球与设计稿

贾维斯的本体是一颗 Metal 粒子光球:六边形核心,向外两次扩散成环,粒子在环间呼吸。空闲时安静悬浮,思考、说话、等待决策、出错各有一套动效;把它拖到屏幕边缘,光球会"融"进墙里,变成一条贴边的扁条,要用时一碰又涨回球形。

  • 交互式设计稿(克隆仓库后本地打开即可看动效):
  • 动图由仓库内同款粒子模拟直接渲染,截图由 Snapshotter 生成——均为演示数据,不含真实会话。

空闲悬浮动图 等待决策的心跳提醒动图

空闲悬浮 · 等待你拍板时的"咚-咚"心跳提醒

贴边融变动图:融进墙角成 L 形扁条,再涨回球形 审批卡片与工作区预设

贴边融变收纳 · 审批卡片与工作区预设

安装

当前提供源码安装。面板需要 macOS 14+ 与 Swift 6 工具链(Xcode 或 Command Line Tools);宿主建议 Node.js 22.18+。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-tang-governance 下一个 Next dsh-comfyui-node-development →