Files
pikasTech-unidesk/scripts/src/ssh-remote-tools.ts
T
Codex 3a17d3b9fd fix: harden Windows trans helpers
Resolve #1691 by preserving argv boundaries, adding bounded native rg and wc/skill query support, surfacing WSL-to-Windows hints, and splitting the oversized SSH module and embedded remote scripts.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-10 13:13:03 +02:00

10 lines
391 B
TypeScript

import { readFileSync } from "node:fs";
function loadRemoteTool(name: string): string {
return readFileSync(new URL(`./ssh-remote-tools/${name}`, import.meta.url), "utf8");
}
export const remoteApplyPatchSource = loadRemoteTool("apply-patch-v1.sh");
export const remoteGlobSource = loadRemoteTool("glob.py");
export const remoteSkillDiscoverSource = loadRemoteTool("skill-discover.py");