MCPcopy Create free account
hub / github.com/agent-tower/core / createCursorEntry

Function createCursorEntry

packages/shared/src/log-adapter.ts:243–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241 type: LogType.Tool,
242 title: getToolTitle(entry),
243 content: entry.content,
244 ...(typeof entry.contentOmitted === 'number' ? { contentOmitted: entry.contentOmitted } : {}),
245 isCollapsed: entry.metadata?.status === 'success',
246 tool: {
247 action: entry.metadata?.action,
248 name: entry.metadata?.toolName,
249 id: entry.metadata?.toolId,
250 kind: entry.metadata?.toolKind,
251 status: entry.metadata?.status,
252 content: entry.metadata?.toolContent,

Callers 1

useNormalizedLogsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected