index.ts 842 B

12345678910111213141516171819202122232425
  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-jsonrpc`) 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. SdkRunStatus,
  18. SessionEventNotification,
  19. SessionStatusNotification,
  20. SessionPromptParams,
  21. SessionPromptResult,
  22. SubagentFinishedNotification,
  23. SubagentStartedNotification,
  24. } from './types.ts'