MCPcopy Create free account
hub / github.com/codeaashu/claude-code / teamMemSavedPart

Function teamMemSavedPart

src/components/messages/teamMemSaved.ts:10–19  ·  view source on GitHub ↗
(
  message: SystemMemorySavedMessage,
)

Source from the content-addressed store, hash-verified

8 * when feature('TEAMMEM') is true.
9 */
10export function teamMemSavedPart(
11 message: SystemMemorySavedMessage,
12): { segment: string; count: number } | null {
13 const count = message.teamCount ?? 0
14 if (count === 0) return null
15 return {
16 segment: `${count} team ${count === 1 ? 'memory' : 'memories'}`,
17 count,
18 }
19}
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected