mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
15 lines
505 B
JavaScript
15 lines
505 B
JavaScript
#!/usr/bin/env node
|
|
/** Private entry owned by the Python single-file runtime packaging. */
|
|
|
|
const selectorName = 'DSH_SUBPROCESS_RUNNER'
|
|
const selection = process.env[selectorName]
|
|
|
|
if (selection === undefined) {
|
|
const { runCli } = await import('@deepseek-ai/dsh/lib/bin.js')
|
|
await runCli()
|
|
} else {
|
|
Reflect.deleteProperty(process.env, selectorName)
|
|
const { runSelectedSubprocessRunner } = await import('@deepseek-ai/dsh-subprocess-local/runner')
|
|
await runSelectedSubprocessRunner(selection)
|
|
}
|