index.ts 902 B

123456789101112131415161718192021222324252627
  1. /**
  2. * Shared wire protocol for the DeepSeek Harness SDK runtime: the
  3. * newline-delimited JSON-RPC stdio transport plus the named request, result,
  4. * and notification types both wire ends speak. The runtime server plugin
  5. * (`@deepseek-ai/dsh-sdk-jsonrpc-server`) serves this protocol; SDK clients
  6. * (`@deepseek-ai/dsh-sdk-client`, the Python SDK) drive it.
  7. *
  8. * @module @deepseek-ai/dsh-sdk-protocol
  9. */
  10. export { JsonRpcLineTransport, JsonRpcResponseError } from './transport.ts'
  11. export type { JsonRpcTransportPeer } from './transport.ts'
  12. export type {
  13. HarnessSdkNotificationMap,
  14. HarnessSdkRequestMap,
  15. InitializeParams,
  16. InitializeResult,
  17. SdkEncodedImageBlock,
  18. SdkPromptContentBlock,
  19. SdkRunStatus,
  20. SessionEventNotification,
  21. SessionStatusNotification,
  22. SessionPromptParams,
  23. SessionPromptResult,
  24. SubagentFinishedNotification,
  25. SubagentStartedNotification,
  26. } from './types.ts'