MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / createAttachmentMessage

Function createAttachmentMessage

source code/utils/attachments.ts:3203–3212  ·  view source on GitHub ↗
(
  attachment: Attachment,
)

Source from the content-addressed store, hash-verified

3201}
3202
3203export function createAttachmentMessage(
3204 attachment: Attachment,
3205): AttachmentMessage {
3206 return {
3207 attachment,
3208 type: 'attachment',
3209 uuid: randomUUID(),
3210 timestamp: new Date().toISOString(),
3211 }
3212}
3213
3214function getTodoReminderTurnCounts(messages: Message[]): {
3215 turnsSinceLastTodoWrite: number

Callers 15

queryLoopFunction · 0.85
runAgentFunction · 0.85
getAttachmentMessagesFunction · 0.85
processHookJSONOutputFunction · 0.85
executeHooksFunction · 0.85
executeFunctionHookFunction · 0.85
processSessionStartHooksFunction · 0.85
processSetupHooksFunction · 0.85
processUserInputFunction · 0.85
execPromptHookFunction · 0.85
execAgentHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected