MCPcopy
hub / github.com/codeaashu/claude-code / createAttachmentMessage

Function createAttachmentMessage

src/utils/attachments.ts:3201–3210  ·  view source on GitHub ↗
(
  attachment: Attachment,
)

Source from the content-addressed store, hash-verified

3199}
3200
3201export function createAttachmentMessage(
3202 attachment: Attachment,
3203): AttachmentMessage {
3204 return {
3205 attachment,
3206 type: 'attachment',
3207 uuid: randomUUID(),
3208 timestamp: new Date().toISOString(),
3209 }
3210}
3211
3212function getTodoReminderTurnCounts(messages: Message[]): {
3213 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