mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-23 02:45:38 -06:00
fix(windows): launch npm-installed native session CLIs (#122334)
* fix(windows): resolve runnable npm launchers * fix(windows): preserve npm shim argv in terminal sessions
This commit is contained in:
committed by
GitHub
parent
c37023ff96
commit
a5420dfd91
@@ -262,6 +262,21 @@ describe("detectChangedScope Windows routing", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("routes node-host executable resolution and native coverage to Windows", () => {
|
||||
for (const executablePath of [
|
||||
"src/plugin-sdk/node-host.ts",
|
||||
"src/plugin-sdk/node-host.test.ts",
|
||||
"src/process/terminal-pty.test.ts",
|
||||
"src/tui/tui.ts",
|
||||
"src/tui/tui.resolve-codex-bin.test.ts",
|
||||
]) {
|
||||
expect(detectChangedScope([executablePath]), executablePath).toMatchObject({
|
||||
runNode: true,
|
||||
runWindows: true,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
it("routes explicit memory extra-file owners and native coverage to Windows", () => {
|
||||
for (const memoryPath of [
|
||||
"packages/memory-host-sdk/src/host/explicit-extra-markdown.ts",
|
||||
|
||||
Reference in New Issue
Block a user