fix(subprocess): keep native runner private
This commit is contained in:
1 parent
678cfdfdb4
commit
cf6f25d283
10 files changed
+25
-31
No files matched your search
+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