Editor.Ai.Storage
ClassManage AI chat history and sessions.
Example
// Editor.Ai.Storage manages persistent AI chat data across plugin sessions.
// The chat id is an arbitrary string the plugin uses to scope its own
// chats — pick any stable id (here a reverse-DNS plugin namespace).
// Use deleteChat() to clean up an entry when it is no longer needed.
const chatId = 'com.myPlugin.draft-chat';
Editor.Ai.Storage.deleteChat(chatId);
console.log('Deleted AI chat entry:', chatId);