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

Function goalQueuePath

apps/kimi-code/src/tui/goal-queue-store.ts:133–139  ·  view source on GitHub ↗
(session: GoalQueueSession)

Source from the content-addressed store, hash-verified

131}
132
133function goalQueuePath(session: GoalQueueSession): string {
134 const sessionDir = session.summary?.sessionDir;
135 if (sessionDir === undefined || sessionDir.trim().length === 0) {
136 throw new Error(`Session ${session.id} does not expose a session directory`);
137 }
138 return join(sessionDir, GOAL_QUEUE_FILE);
139}
140
141async function readQueueFile(session: GoalQueueSession): Promise<GoalQueueFile> {
142 const filePath = goalQueuePath(session);

Callers 3

readQueueFileFunction · 0.85
writeQueueFileFunction · 0.85
withQueueMutationLockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected