Skip to main content

getThreadFileChangesSummary

plugin.thread.getThreadFileChangesSummary(threadId: string): Promise<ThreadFileChangesSummaryResponse>

Retrieves file changes summary for ChangesSummaryPanel. Returns data in the format: { title, changes, files }

Parameters

ParameterTypeRequiredDescription
threadIdstringYesThe thread ID

Returns

Promise<ThreadFileChangesSummaryResponse> — A promise that resolves with the file changes summary

Example

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.thread.getThreadFileChangesSummary('threadId');
console.log(result);