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");
