userMessageUtilities
Variable: userMessageUtilities
const userMessageUtilities: {
clear: () => void;
getCurrent: () => FlatUserMessage | undefined;
getCurrentFile: () => string | undefined;
getMentionedAgents: () => any[];
getMentionedFiles: () => string[];
getMentionedFolders: () => string[];
getMentionedMCPs: () => string[];
getMessageId: () => string | undefined;
getProcessingConfig: () => AgentProcessingConfig;
getRemixPrompt: () => string | undefined;
getSelection: () => string | undefined;
getSessionData: (key: string) => any;
getText: () => string;
getThreadId: () => string | undefined;
getTimestamp: () => string | undefined;
getUploadedImages: () => any[];
hasMessage: () => boolean;
isProcessingEnabled: (type:
| "processMentionedMCPs"
| "processRemixPrompt"
| "processMentionedFiles"
| "processMentionedAgents") => boolean;
setSessionData: (key: string, value: any) => void;
updateProcessingConfig: (config: any) => void;
};
Defined in: packages/codeboltjs/src/modules/user-message-utilities.ts:11
User message utilities for accessing current user message and context