dsh-record-replay
让 DeepSeek Harness 通过演示录制 macOS 桌面工作流并转成智能体技能(open-record-replay 技能 + orr_* 工具)。
humblebanana
@humblebanana
⬇ 1
★ 6
main
安装
dsh plugin --profile web add github:humblebanana/dsh-record-replay
需要可复现安装时,可在仓库后追加 #commit 固定提交。
让 DeepSeek Harness 通过演示录制 macOS 桌面工作流并转成智能体技能(open-record-replay 技能 + orr_* 工具)。
该插件未提供要点说明,请参考仓库 README。
computer-usedeepseek-harnessdsh-pluginmacosrecord-replay
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/humblebanana/dsh-record-replay |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 6 |
| 最近推送 | 2026-08-13 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-03),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-record-replay
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.
## Install
Build the package and add it to a profile as a bundle:
```bash
git clone https://github.com//dsh-record-replay.git
cd dsh-record-replay
pnpm install
pnpm build
pnpm pack # produces dsh-record-replay-0.1.0.tgz
dsh plugin --profile web add ./dsh-record-replay-0.1.0.tgz
```
`dsh plugin add` records the package in the profile's `package.json`
dependencies and `dsh.profile.bundles`, and the harness heals the
`profiles/node_modules` fallback so the bundle resolves. The shipped
`cordis.patch.yml` mounts a neutral row; point it at your checkout by overlaying
the row from your profile's `cordis.patch.yml`:
```yaml
- id: record-replay
config:
repoRoot: '/absolute/path/to/open-record-replay'
runsOut: 'runs'
skillInputsOut: 'skill-inputs'
```
The profile patch file is hot-reloaded, so the running GUI picks the plugin up
without a restart. Restart the Harness if you are not on a live profile.
## Configuration
| Key | Default | Meaning |
|---|---|---|
| `cliPath` | env `ORR_CLI_PATH` | Explicit path to `bin/orr.js`. Overrides `repoRoot`. |
| `repoRoot` | env `ORR_REPO_ROOT` | Path to an open-record-replay checkout; the CLI is `/bin/orr.js`. |
| `runsOut` | `runs` | Workspace-relative recordings directory. |
| `skillInputsOut` | `skill-inputs` | Workspace-relative skill-input packages directory. |
The CLI runs with the session workspace as its working directory, so recordings
and skill packages land where the agent's filesystem tools can read them.
## Tools
| Tool | CLI mapping | Purpose |
|---|---|---|
| `orr_permissions_check` | `permissions check` | Verify Accessibility / Input Monitoring before recording. |
| `orr_record_start` | `record start` | Begin capturing the user's demonstration. |
| `orr_record_stop` | `record stop` | Finalize the session after the user finishes. |
| `orr_session_events` | `session events` | Read the evidence stream (`events.jsonl`), capped at `limit` events. |
| `orr_session_validate` | `session validate-recording` | Check the recording against the official contract. |
| `orr_skill_prepare` | `skill prepare` | Build the evidence package for the host skill creator. |
| `orr_skill_create` | — (built-in) | **Built-in skill creation fallback.** Generates a SKILL.md skeleton from a recorded session following the [Anthropic skills spec](https://github.com/anthropics/skills) (kebab-case name + description frontmatter, progressive-disclosure body, `evals/evals.json`), validates agent-authored drafts, and installs to `~/.agents/skills//`. Prefer a host-native Skill Creator when one exists; this is the fallback. |
## Development
```bash
pnpm install
node scripts/link-dsh.mjs # links @deepseek-ai/* from a DSH checkout/harness
pnpm build # tsc
pnpm test # vitest
pnpm validate # build + test
```
Tests assert the registration contract and exercise the CLI runner through a
stubbed subprocess service; `node scripts/link-dsh.mjs --path ` points the
`@deepseek-ai` scope at an explicit DSH checkout.
## License
MIT — see [LICENSE](./LICENSE).
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。