편집자 노트

插件模板

A minimal TypeScript DeepSeek Harness plugin bundle. It prints hello world when Harness loads it.

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.

dsh-plugin-template

English | 中文

A minimal TypeScript DeepSeek Harness plugin bundle. It prints hello world when Harness loads it.

Start from a fork

git clone https://github.com/YOUR-USER/dsh-plugin-template.git
cd dsh-plugin-template

pnpm install
pnpm run check
dsh plugin --profile hello add .
dsh --profile hello --dump-config | grep dsh-plugin-template
dsh --profile hello

A successful run includes this line in the Harness output:

[dsh-plugin-template] hello world

For development, edit src/index.ts, run pnpm run build, then restart the profile. The generated lib/ directory is included in the package so direct Git installs can load the built JavaScript entry.

If you rename the package, keep these values in sync:

  • package.jsonname
  • src/index.tsname
  • cordis.patch.yml → both id and name

Remove it with:

dsh plugin --profile hello remove dsh-plugin-template

The whole plugin

package.json       # declares the dsh.bundle patch and built entry
src/index.ts       # TypeScript Cordis plugin entry
lib/index.js       # generated Harness entry
cordis.patch.yml   # registers the package in a profile
tsconfig.json      # TypeScript type-checking configuration
pnpm-lock.yaml     # locked development dependencies

package.json is the only manifest Harness needs: dsh.bundle.patch makes the package an installable profile bundle. cordis.patch.yml inserts the plugin row, and src/index.ts is compiled to the ordinary Cordis name/apply entry point. This template uses TypeScript and tsdown, but intentionally has no React Client bundle, Remote contract, or test framework. Add those only when the plugin actually needs them.

Discoverability

Add the GitHub topic dsh-plugin to your fork. The topic is repository metadata, not a file in the repository:

gh api --method PUT repos/YOUR-USER/dsh-plugin-template/topics \
  -H 'Accept: application/vnd.github+json' \
  -f 'names[]=dsh-plugin'

License

MIT

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.