跳到正文

humblebanana/dsh-record-replay

70最近提交 2026年8月13日

dsh-record-replay DSH 插件

该插件注册了 open-record-replay 技能和六个面向模型的 orr_* 工具,使代理能够学习用户演示的桌面工作流:录制用户的 macOS 操作、验证证据,并将其打包供宿主代理的原生技能创建器使用。

如何安装 dsh-record-replay DSH 插件

dsh plugin --profile web add ./dsh-record-replay-0.1.0.tgz

复制不会执行命令。安装 dsh-record-replay DSH 插件前请核对仓库和版本。

dsh-record-replay DSH 插件数据来源

dsh-record-replay DSH 插件快照日期:2026年8月16日

discovered

dsh-record-replay DSH 插件能做什么

  • 录制前检查 macOS 辅助功能/输入监控权限(orr_permissions_check)。
  • 开始和停止录制用户桌面工作流(orr_record_start, orr_record_stop)。
  • 读取录制的事件流(orr_session_events),可配置事件数量上限。
  • 根据官方合约验证录制内容(orr_session_validate)。
  • 为宿主技能创建器准备证据包(orr_skill_prepare)。
  • 提供内置技能创建回退机制,生成 SKILL.md 骨架并安装到 ~/.agents/skills/(orr_skill_create)。

dsh-record-replay DSH 插件适合哪些场景

  • 录制用户演示的 macOS 工作流,供代理学习。
  • 在打包为技能前验证录制会话的完整性。
  • 将录制的工作流打包为技能输入目录,供宿主技能创建器使用。
  • 使用内置技能创建回退,从录制会话生成技能。
  • 将用户演示的桌面工作流集成到自主代理管线中。

dsh-record-replay DSH 插件适合谁

  • 使用 DeepSeek Harness 构建代理的开发者,需要从用户演示中学习。
  • 希望录制 macOS 桌面工作流并将其转换为可复用代理技能的用户。

dsh-record-replay DSH 插件的限制

  • 仅支持 macOS(需要 Xcode Command Line Tools 支持原生 Swift 录制器)。
  • 需要 Node.js >= 22.19 和 DeepSeek Harness 环境。
  • 需要 open-record-replay 仓库并手动配置 CLI 路径或仓库根目录。
  • 内置技能创建为回退方案,宿主原生技能创建器可用时优先使用。

dsh-record-replay DSH 插件的仓库 README 摘录

以下文字摘自 dsh-record-replay DSH 插件的上游仓库 humblebanana/dsh-record-replay 的 README,版权归原作者,仅作引用。

A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin that turns the [Open Record/Replay](https://github.com/humblebanana/open-record-replay) macOS workflow recorder into first-class harness capabilities. It registers the **`open-record-replay` skill** and **six model-facing `orr_*` tools**, so an agent can learn a user-demonstrated desktop workflow: record the user's real macOS actions, validate the evidence, and package it for the host agent's native skill creator. ```text user demonstrates a workflow -> orr_record_start (capture session.json + events.jsonl) -> orr_record_stop (finalize) -> orr_session_validate (check the evidence against the contract) -> orr_session_events (read what the user actually did) -> orr_skill_prepare (package a skill-input directory) -> host skill creator ``` ## Requirements - macOS (the recorder's native backend is Swift; it needs Xcode Command Line Tools). - Node.js `>= 22.19` (the Harness runtime). - A DeepSeek Harness installation. - An [open-record-replay](https://github.com/humblebanana/open-record-replay) checkout whose `bin/orr.js` the plugin invokes. ##

阅读完整 README仓库许可: MIT

dsh-record-replay DSH 插件常见问题

如何安装 dsh-record-replay?

克隆仓库,依次执行 `pnpm install`、`pnpm build` 和 `pnpm pack`,再运行 `dsh plugin --profile web add ./dsh-record-replay-0.1.0.tgz` 将其添加到你的 profile 中。如果 profile 处于运行状态,Harness 会自动热加载该插件。

这个插件有哪些依赖?

需要 macOS 及 Xcode Command Line Tools、Node.js >= 22.19、DeepSeek Harness 环境,以及 open-record-replay 项目的克隆。插件会调用该项目的 `bin/orr.js`。

如何配置 open-record-replay 的路径?

可以设置 `cliPath` 或 `repoRoot` 配置项,或使用环境变量 `ORR_CLI_PATH` 或 `ORR_REPO_ROOT`。路径在 profile 的 `cordis.patch.yml` 中 `record-replay` 行指定。

能在 Windows 或 Linux 上运行吗?

不行,该插件仅支持 macOS,因为 Open Record/Replay 录制器使用 Swift 并需要 macOS 的辅助功能/输入监控权限。

录制时遇到权限错误怎么办?

使用 `orr_permissions_check` 工具检查辅助功能和输入监控权限。如果权限缺失,请在系统偏好设置 > 安全性与隐私 > 隐私中授予相应权限。