openma-ai/deepseek-harness-typescript-sdk ↗★ 2
@openma/deepseek-harness-sdk
TypeScript SDK for DeepSeek Harness (dsh): run AI agent turns in a runtime subprocess over newline-delimited JSON-RPC stdio — the DeepSeekHarness high-level turns API and the lower-level HarnessClient, mirroring the official Python SDK
AI 분석
核心用途是提供高低级 API 以在 JS/TS 项目中集成 DSH。适合需要在 Node.js 环境中调用和控制 DSH 智能体的开发者。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
Install
npm install @openma/deepseek-harness-sdk
Quick start
import { DeepSeekHarness } from '@openma/deepseek-harness-sdk'
await using harness = new DeepSeekHarness()
const result = await harness.run('Say hi.')
console.log(result.finalResponse)
DeepSeekHarness keeps its lazily started runtime subprocess for reuse across calls. Use it with await using, as above, or call close() explicitly when finished so the child is always reaped.