dshbase

插件目录 / Automation / dsh-record-replay

dsh-record-replay

未验证 humblebanana

✓ 持续维护 基于 5 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

11Stars
0Forks
0未关闭 issue
TypeScript语言
2026-08-13最近推送
跨平台平台

功能简介

通过演示录制macOS桌面工作流并转为技能

我们的评价
未验证 — 尚未实测

通过演示录制macOS桌面工作流并转为技能 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-record-replay

A DeepSeek Harness plugin that
turns the 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.

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
    checkout whose bin/orr.js the plugin invokes.

Install

Build the package and add it to a profile as a bundle:

git clone https://github.com/<you>/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:

- 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 <repoRoot>/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 (kebab-case name + description frontmatter, progressive-disclosure body, evals/evals.json), validates agent-authored drafts, and installs to ~/.agents/skills/<name>/. Prefer a host-native Skill Creator when one exists; this is the fallback.

Development

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 <dir> points the
@deepseek-ai scope at an explicit DSH checkout.

License

MIT — see LICENSE.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-record-replay」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:humblebanana/dsh-record-replay

Headless(CLI)profile:

dsh plugin --profile headless add github:humblebanana/dsh-record-replay

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending
备注:验证: install-fail (0.1.0-rc.6) 浏览全部待验证失败 →

使用场景

自动化一项重复工作——调度、串联任务或响应事件——不用你亲手启动。

适合谁

有周期性工作、想 cron 式无人值守而非手动触发的人。

二次开发建议

触发器和任务模板是缝——加事件驱动或文件监听触发,以及更丰富的流程编排。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Automation 里更多

浏览全部 7795 个插件 →