(root: string, agentDir: string)
| 19 | } |
| 20 | |
| 21 | function setConfigEnv(root: string, agentDir: string): void { |
| 22 | process.env.HOME = root; |
| 23 | process.env.PI_CODING_AGENT_DIR = agentDir; |
| 24 | process.env.XDG_CONFIG_HOME = join(root, ".config"); |
| 25 | } |
| 26 | |
| 27 | class MockPrompts implements PromptIO { |
| 28 | readonly messages: string[] = []; |