openma-ai/deepseek-harness-typescript-sdk2

@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 智能体的开发者。

パッケージ
@openma/deepseek-harness-sdk
バージョン
0.0.2-beta.0
ライセンス
MIT
最終更新
2026/08/13

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.