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

Function toSnapshot

apps/kimi-code/src/tui/goal-queue-store.ts:201–203  ·  view source on GitHub ↗
(file: GoalQueueFile)

Source from the content-addressed store, hash-verified

199}
200
201function toSnapshot(file: GoalQueueFile): GoalQueueSnapshot {
202 return { goals: file.goals };
203}
204
205function normalizeObjective(value: string): string {
206 const objective = value.trim();

Callers 6

readGoalQueueFunction · 0.85
appendGoalQueueItemFunction · 0.85
updateGoalQueueItemFunction · 0.85
removeGoalQueueItemFunction · 0.85
restoreGoalQueueItemFunction · 0.85
moveGoalQueueItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected