An agent harness for spec-driven development.
0

Configure Feed

Select the types of activity you want to include in your feed.

charter / src / paths.ts
407 B 13 lines
1import path from "node:path"; 2 3export function charterStateDir(projectRoot: string): string { 4 return path.join(projectRoot, ".spec", "state"); 5} 6 7export function charterStatePath(projectRoot: string, filename: string): string { 8 return path.join(charterStateDir(projectRoot), filename); 9} 10 11export function toPosixPath(filePath: string): string { 12 return filePath.split(path.sep).join(path.posix.sep); 13}