v0.2.0 — Interactive Chat Agent
v0.2.0 — Interactive Chat Agent
Adds a Claude Code-style interactive coding agent to the DeepSeek Harness.
New: deepseek-harness chat
Start an interactive coding session powered by DeepSeek V4:
export DEEPSEEK_API_KEY="sk-..."
deepseek-harness chatFeatures:
- Streaming REPL with real-time tool execution display
- 8 tools: read_file, write_file, edit_file, search_content, search_files, run_command, list_directory, delete_file
- Tiered safety: direct execution for reads/edits, approval-gated for destructive ops
- Session persistence via SQLite with resume support
- Cost tracking per session (
/cost) - Subagent dispatch for parallel task execution
- Slash commands: /help, /model, /cost, /list, /exit
Adversarial Hardening
- 652 adversarial tests across 17 modules
- 25 bugs fixed, including 3 critical security vulnerabilities:
- Path traversal bypass in file tools
- Shell command injection in search_content and search_files
- Various NaN/Infinity, stale state, and type confusion bugs
- 886 total tests, 0 failures
Install
git clone https://github.com/tylerbuilds/deepseek-harness.git
cd deepseek-harness
git checkout v0.2.0
npm ci && npm run build && npm run install:local -- --forceRequirements
- Node.js >= 24
- DeepSeek API key (https://platform.deepseek.com/api_keys)