mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-12 04:01:20 +00:00
fix(subprocess): keep native runner private
This commit is contained in:
+5
-1
@@ -25,7 +25,11 @@ function readVersion(): string {
|
||||
|
||||
if (process.argv[2] === PACKAGED_RUNNER_ARG) {
|
||||
process.argv.splice(2, 1)
|
||||
await import('@deepseek-ai/dsh-subprocess-local/spawn-runner')
|
||||
const runnerEntry = new URL(
|
||||
'./lib/spawn-runner.js',
|
||||
import.meta.resolve('@deepseek-ai/dsh-subprocess-local/package.json'),
|
||||
)
|
||||
await import(runnerEntry.href)
|
||||
} else {
|
||||
const invocation = parseDshArgs(process.argv.slice(2), readVersion())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user