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

Function createAttachmentMessage

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

Source from the content-addressed store, hash-verified

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