humblebanana / dsh-record-replay

목록에 있음

DeepSeek Harness record macOS desktop workflows by demonstration and turn them into agent skills (open-record-replay skill + orr_* tools)

main도구스킬 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:humblebanana/dsh-record-replay

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 32d06f7동기화 2026. 8. 18.

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

KeyDefaultMeaning
cliPathenv ORR_CLI_PATHExplicit path to bin/orr.js. Overrides repoRoot.
repoRootenv ORR_REPO_ROOTPath to an open-record-replay checkout; the CLI is <repoRoot>/bin/orr.js.
runsOutrunsWorkspace-relative recordings directory.
skillInputsOutskill-inputsWorkspace-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

ToolCLI mappingPurpose
orr_permissions_checkpermissions checkVerify Accessibility / Input Monitoring before recording.
orr_record_startrecord startBegin capturing the user's demonstration.
orr_record_stoprecord stopFinalize the session after the user finishes.
orr_session_eventssession eventsRead the evidence stream (events.jsonl), capped at limit events.
orr_session_validatesession validate-recordingCheck the recording against the official contract.
orr_skill_prepareskill prepareBuild 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.

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨
보안 정책감지됨
기여 가이드감지됨
문서감지됨

저장소 정보

언어
TypeScript
라이선스
MIT
마지막 업데이트
2026. 8. 13. 오후 4:06

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.