MCPcopy
hub / github.com/claude-code-best/claude-code / saveTaskSummary

Function saveTaskSummary

src/utils/sessionStorage.ts:2720–2727  ·  view source on GitHub ↗
(sessionId: UUID, summary: string)

Source from the content-addressed store, hash-verified

2718 * recent one from the tail.
2719 */
2720export function saveTaskSummary(sessionId: UUID, summary: string): void {
2721 appendEntryToFile(getTranscriptPathForSession(sessionId), {
2722 type: 'task-summary',
2723 summary,
2724 sessionId,
2725 timestamp: new Date().toISOString(),
2726 })
2727}
2728
2729export async function saveTag(sessionId: UUID, tag: string, fullPath?: string) {
2730 // Fall back to computed path if fullPath is not provided

Callers

nothing calls this directly

Calls 2

appendEntryToFileFunction · 0.85

Tested by

no test coverage detected