index.ts 753 B

1234567891011121314151617181920
  1. /**
  2. * CPython subprocess code runtime for the DeepSeek Harness code-execution seam.
  3. *
  4. * This layer of the package ships the versionless fd-3 wire protocol between the
  5. * Node host and the CPython subprocess; the `PythonCodeRuntime` implementation
  6. * that drives a `python3 -I` process over it lands on top of this seam. The
  7. * protocol's host-side codec and hostile-frame validators are re-exported so the
  8. * runtime and its tests share one wire vocabulary.
  9. * @module @deepseek-ai/dsh-code-runtime-python
  10. */
  11. export type { BootMessage, ChildToHost, ReplyMessage } from './protocol.ts'
  12. export {
  13. checkDoneValue,
  14. encodeJsonPlain,
  15. hasNonLosslessNumber,
  16. hasUnsafeIntegerToken,
  17. logTruncationMarker,
  18. validateChildFrame,
  19. } from './protocol.ts'