codsh
Identified★ 6/ship takes one sentence to verified code. Terminal coding agent for DeepSeek and any compatible endpoint.
Site · Gallery · npm · English | 中文
npm:
codsh-cli· command:codsh
codsh is an autonomous terminal coding agent for DeepSeek — and any OpenAI-compatible endpoint — built directly on the DeepSeek Harness (dsh). Not a fork.
Its flagship feature, /ship, turns a one-sentence idea into fully verified code through an autonomous 7-stage engineering pipeline, with a built-in live task flow panorama across terminal and browser.
Want to see what it builds? Visit the gallery for real projects, screenshots, and playable results. Every project was built from a one-sentence request, with just one round of interaction and the recommended answer selected for every question.
Install
npm install -g @deepseek-ai/dsh codsh-cli
export DEEPSEEK_API_KEY="your-api-key"
codsh
Common flags:
codsh -p "task"— Run a non-interactive task directlycodsh --continue— Continue the last sessioncodsh --resume <id>— Resume a specific sessioncodsh update— Update launcher and profile runtime
/ship: One Sentence to Verified Code
/ship let long diffs open in a pager instead of scrolling past
/ship automates the complete engineering workflow from idea to delivery:
- Pre-flight — Checks git working tree state and creates an isolated
ship/<slug>branch. - Wayfinder — Clarifies core goals, constraints, and trade-offs.
- Grill — Interactive design interview with smart, recommended defaults.
- Spec (Gate 1) — Formulates user stories, public seams, and explicit Out of Scope boundaries.
- Tickets (Gate 2) — Decomposes work into vertical slices structured as an explicit dependency DAG.
- Landing — Dispatches tickets into parallel Git worktrees for TDD implementation and continuous integration.
- Done — Verifies acceptance criteria, ensures zero repo regressions, and merges back cleanly.
Live Task Flow Panorama
- Live TTY Teaser: Pinned status row showing real-time ticket counts (
待认领 n · 已认领 n · 已关闭 n), in-flight parallel landing worktrees, and the Web flowchart URL. - ASCII DAG Overlay (
Ctrl+G): Instant fullscreen terminal visualization of task dependencies and claim states. - Local Web Flowchart: Interactive React Flow map (
127.0.0.1:<port>) with decision context, recorded Q&As, and landing tickets.
Autonomous Resilience
- Automated Conflict Resolution: Git merge conflicts (including lockfiles and renames) are autonomously resolved by agent sub-tasks with validation retries.
- Pause & Resume:
Ctrl+Csafely pauses coordination; running a bare/shipresumes unfinished work from where it left off.
The surface
Designed for high-efficiency, keyboard-driven terminal development:
- Clean Terminal UI: Full-screen alternate buffer; input stays pinned at the bottom; restores your shell cleanly on exit.
- Foldable Reasoning: Streaming thoughts collapse into a single line (
Ctrl+Oor click to expand/collapse). - Subagent Matrix: Background and parallel subagents run in isolated views (
Ctrl+Hto list, click/enter to inspect,Escto return). - Timeline Navigation: Jump between dialogue turns (
Shift+←/→,/jump) or branch off from an earlier turn (/rewind). - Shortcuts & Controls:
Shift+Tab: Toggle plan modeCtrl+Q: Queue input while the agent is runningCtrl+C: Interrupt current executionCtrl+V: Paste images directly from clipboard/view,/diff,/copy: Inspect files, uncommitted changes, or code blocks in a dedicated pager
Third-party endpoints
Connect to any OpenAI-compatible gateway in $DSH_HOME/settings.yaml (default ~/.dsh/settings.yaml):
llm-pi-ai:
providers:
acme-gateway:
displayName: Acme Gateway
apiKeyEnv: ACME_GATEWAY_API_KEY
api: openai-completions
baseURL: https://gateway.acme.example/v1
compat:
thinkingFormat: deepseek
supportsDeveloperRole: false
maxTokensField: max_tokens
models:
- id: acme-large
contextWindow: 65536
maxTokens: 4096
Switch and persist default model:
/model acme-gateway/acme-large
API keys resolve in order: specified environment variable → $DSH_HOME/.credentials.yaml → <cwd>/.env → $DSH_HOME/.env.
How it works
codsh is a zero-dependency launcher that finds your local dsh, registers codsh-bundle into a code profile, and boots dsh --profile code.
To run directly via dsh:
dsh plugin --profile code add codsh-bundle
dsh --profile code
Terminals
| Tier | Terminals | Support Level | |---|---|---| | First-class | iTerm2, Terminal.app, VS Code, tmux, Windows Terminal + WSL | Release-blocking compatibility | | Second-class | Ghostty, kitty, Alacritty, Warp | Fully supported; regressions handled as bugs | | Best-effort | Native Windows (pwsh) | Basic TTY support; persistent PTY unavailable |
Supports Kitty keyboard protocol, focus reporting, OSC 11 color detection, and terminal image rendering where available.
Development
See CONTRIBUTING.md.
pnpm run dev # Start local development surface
pnpm test # Run unit tests
pnpm run typecheck # TypeScript typecheck
pnpm run test:e2e # Run E2E tests
Feedback
Bugs, feature requests, or migrating from Claude Code / Cursor? Open an issue or join the Discussions.
License
Comments
Loading…
Similar plugins
by agi-fans
A focused, keyboard-first DeepSeek coding agent built on the plugin architecture of DeepSeek Harness and inspired by the interaction quality of oh-my-pi.
★ 32
MIT
TypeScript
Sep 12, 2026
dsh plugin --profile web add @agi-fans/oh-my-dshby orriduck
A small, session-aware terminal UI for DeepSeek Harness
★ 3
MIT
TypeScript
Aug 13, 2026
dsh plugin --profile web add dsh-tuiby NinjaSln-labs
DeepSeek Harness 插件:Cursor-as-subagent 提供方——一次本地 @cursor/sdk one-shot 运行、摘要优先结果、可无人值守的 Profile Bundle
★ 0
↓ 353/wk
MIT
TypeScript
Sep 5, 2026
dsh plugin --profile web add dsh-subagent-cursorby Hilbert-beinghappy
Off-transcript clarification Host plugin for DeepSeek Harness
★ 4
MIT
TypeScript
Aug 23, 2026
dsh plugin --profile web add dsh-plugin-clarifyby Hilbert-beinghappy
Auxiliary inference usage, limits, and cancellation runtime for official DeepSeek Harness plugins
★ 3
MIT
TypeScript
Aug 23, 2026
dsh plugin --profile web add dsh-plugin-auxiliary-runtimeby NOirBRight
Codex-app-style sidebar for a DeepSeek Harness 主会话
★ 0
TypeScript
Sep 3, 2026
dsh plugin --profile web add dsh-codex-sidebar