index.ts 1001 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * TypeScript client SDK for the DeepSeek Harness runtime: spawn the
  3. * same-version `dsh --profile sdk` runtime as a subprocess and drive agent
  4. * turns over stdio JSON-RPC. `DeepSeekHarness` is the high-level run API;
  5. * `HarnessClient` is the lower-level protocol client. A pure library — it
  6. * registers nothing on a Cordis context; named profiles and ordered patch
  7. * files customize the runtime process it spawns.
  8. *
  9. * @module @deepseek-ai/dsh-sdk-client
  10. */
  11. export { DeepSeekHarness, HarnessSession } from './api.ts'
  12. export type { RunOptions } from './api.ts'
  13. export {
  14. HarnessClient,
  15. RequestTimeoutError,
  16. SdkProtocolError,
  17. TransportClosedError,
  18. } from './client.ts'
  19. export type { NotificationSubscription } from './client.ts'
  20. export { JsonRpcResponseError } from '@deepseek-ai/dsh-sdk-protocol'
  21. export type {
  22. ContentBlock,
  23. SdkPromptContentBlock,
  24. DeepSeekHarnessOptions,
  25. HarnessClientOptions,
  26. HarnessNotification,
  27. NotificationFilter,
  28. RunResult,
  29. } from './types.ts'