(sessionId, agentId)
| 164 | } |
| 165 | |
| 166 | export function getTaskOutputPath(sessionId, agentId) { |
| 167 | return path.join( |
| 168 | getProjectsRoot(), |
| 169 | encodeSegment(sessionId || "default"), |
| 170 | "tasks", |
| 171 | encodeSegment(agentId) + ".output", |
| 172 | ); |
| 173 | } |
| 174 | |
| 175 | export async function ensureTaskOutputFile(sessionId, agentId) { |
| 176 | const filePath = getTaskOutputPath(sessionId, agentId); |
no test coverage detected