soolaugust / deepseek-harness-cli

목록에 있음

Interactive terminal agent (fork of DeepSeek Harness): Claude Code-style REPL — full-screen UI, markdown rendering, session stats, permission cycling, custom OpenAI-compatible providers.

master모델도구세션 소스 보기

설치

pnpm dsh cli

이 명령은 GitHub 저장소 주소에서 생성됩니다. 실행 전에 업스트림 README와 소스를 검토하고 재현성이 필요하면 release 또는 commit을 고정하세요.

README

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

GitHub에서 보기 ↗
커밋 6b4b427동기화 2026. 8. 17.

dsh cli — interactive terminal agent

English | 中文

dsh cli is an interactive terminal agent, forked from DeepSeek Harness with a CLI focus: a Claude Code-style coding experience in your terminal — full-screen UI, streaming output, tool cards, session history, and permission controls, with no browser needed.

Under the hood it is DeepSeek Harness's plugin architecture (everything is a plugin), but this repository only cares about and polishes the single dsh cli interaction path.

Features

  • Claude Code-style interaction: full-screen alternate screen, input bar pinned to the bottom, up/down arrow history navigation (including cross-session persistent history)
  • Markdown terminal rendering: bold, italic, code, lists, and headings rendered with terminal styles
  • Tool card folding: adjacent tool calls merge into one line, expand with Ctrl+O
  • Session stats bar: turns/steps, LLM time, first-token latency, throughput, cache hit rate, input/output tokens
  • Permission badge: Shift+Tab cycles read-only → workspace-write → danger-full-access, with danger-full-access shown as "bypass permissions"
  • Custom provider: point to any OpenAI-compatible endpoint (e.g. mify), with both model routing and web_search configurable
  • Session resume: reopening dsh cli continues the last session, switch with /session
  • Hot-reload development: pnpm dsh:dev (node --watch) auto-restarts on source changes

Demo

dsh cli interactive terminal

Quick start

Requires Node.js ≥ 22.

# from source
git clone https://github.com/soolaugust/deepseek-harness-cli.git
cd deepseek-harness-cli
pnpm install
pnpm run build
pnpm dsh cli

From npm:

npx @deepseek-ai/dsh cli

The first launch creates/resumes a session; type text and press Enter to send, and model output renders streaming above the input bar.

Usage

ActionEffect
Type text + EnterSend to the agent
/ History navigation (cross-session persistent)
Shift+TabCycle permission preset
Ctrl+OExpand/collapse tool group
Ctrl+CCancel current turn while running; quit at the prompt
/exit /help /clear /session /model /permissionSlash commands

Full instructions in the CLI guide.

Configuring a custom provider

Point ~/.dsh/settings.yaml at any OpenAI-compatible endpoint (e.g. mify, OpenRouter); both model routing and web_search are configurable. See CLI guide · Using a custom model provider.

Development

pnpm dsh:dev          # auto-restart on source changes (hot-reload development)
pnpm run test         # unit tests
pnpm run typecheck    # type checks

Inherited from DeepSeek Harness

This repository is a fork of DeepSeek Harness focused on its dsh cli interactive terminal capability. The full multi-profile architecture, Web UI, SDK, and more remain in the upstream repository.

License

MIT

프로젝트 파일 및 신호

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

플러그인 매니페스트감지됨
테스트감지됨
기여 가이드감지됨
문서감지됨
예제감지됨

저장소 정보

언어
TypeScript
라이선스
MIT
최신 릴리스
dsh-v0.1.0
마지막 업데이트
2026. 8. 17. AM 7:15

신중하게 설치하기

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