3a17d3b9fd
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>
10 lines
391 B
TypeScript
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");
|