MCPcopy Create free account
hub / github.com/ConardLi/easy-agent / getTaskOutputPath

Function getTaskOutputPath

step/step20.js:166–173  ·  view source on GitHub ↗
(sessionId, agentId)

Source from the content-addressed store, hash-verified

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

Callers 2

mainFunction · 0.90
ensureTaskOutputFileFunction · 0.70

Calls 2

encodeSegmentFunction · 0.85
getProjectsRootFunction · 0.70

Tested by

no test coverage detected