편집자 노트

dsh-mock

Deterministic mock LLM adapter for DeepSeek Harness

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

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

🧪 dsh-mock

⚠️ Unstable release: dsh-mock@0.1.0 is available for early testing. The command, API, and UI surface may change before a stable release.

📦 Install

Add the plugin to the DSH web profile with one command:

dsh plugin --profile web add dsh-mock@0.1.0

Or install the npm package directly:

npm install dsh-mock@0.1.0

This is an external Cordis plugin. It registers the internal per-turn provider route mock with the mock model and routes accepted /mock run and /mock replay commands through the public AgentLoop request waterfall. The route is deliberately omitted from the advertised model catalog, so the normal model selector remains unchanged; only the slash command activates it. The plugin also registers mock in the public slash-command catalog, and its command handler queues the exact line as a normal AgentLoop follow-up. The adapter emits ordinary model chunks; the host AgentLoop and ToolRuntime execute and record the actual calls.

Replay is read-only and in-memory. A relative path is resolved against the current session's absolute session.header.cwd; when that value is missing, relative paths are rejected. Absolute paths are accepted for read-only input, and the plugin never creates, copies, rewrites, renames, or deletes a replay source. --overwrite-wait-time-ms changes only explicit waits in the detached canonical plan.

The plugin emits ephemeral mock/status events for a host UI bridge. The bridge should render a compact status row above the existing composer and leave normal DSH tool/result/error cards authoritative.

REPOSITORY SIGNALS

보안 및 설치 증거

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

출처 추적 가능

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

라이선스

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

유지보수 활동

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

설치 증거

정확한 npm 버전, 무결성 해시, bundle 검사 결과가 등록되었습니다.

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

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