MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / taskOutputFile

Function taskOutputFile

apps/vis/server/src/lib/task-store.ts:36–41  ·  view source on GitHub ↗
(agentDir: string, taskId: string)

Source from the content-addressed store, hash-verified

34}
35
36function taskOutputFile(agentDir: string, taskId: string): string {
37 if (!VALID_TASK_ID.test(taskId)) {
38 throw new Error(`Invalid task id: "${taskId}"`);
39 }
40 return join(tasksDirOf(agentDir), taskId, 'output.log');
41}
42
43/**
44 * Enumerate all persisted background tasks for a session, normalized to the

Callers 2

taskOutputSizeBytesFunction · 0.70
readTaskOutputFunction · 0.70

Calls 1

tasksDirOfFunction · 0.70

Tested by

no test coverage detected