cef4db9a87
- Replace resolvePathInWorkspace with simple resolvePath (no boundary check) - Remove UWF_BUILTIN_ALLOW_SHELL env gate from run_command - Update tests accordingly Per review: sandbox was false security with shell=true, and path restrictions are unnecessary for a trusted agent environment.
7 lines
201 B
TypeScript
7 lines
201 B
TypeScript
import { resolve } from "node:path";
|
|
|
|
/** Resolve a path relative to the working directory. */
|
|
export function resolvePath(cwd: string, inputPath: string): string {
|
|
return resolve(cwd, inputPath);
|
|
}
|