feat(commands): multi-select ordered command pipeline with step reordering and single-pass composition (AI-05, AI-07)
This commit is contained in:
parent
f49acf0105
commit
10af20a0ad
157 changed files with 29455 additions and 913 deletions
|
|
@ -140,4 +140,20 @@ export function registerVoiceConversationHandlers(credentials: CloudCredentials
|
|||
return ipcError(ErrorCode.ConversationLLMFailed, msg)
|
||||
}
|
||||
})
|
||||
|
||||
const replayChannel =
|
||||
(IPC_CHANNELS.VOICE_CONVERSATION as Record<string, string>).REPLAY_MESSAGE ??
|
||||
'voiceConversation:replayMessage'
|
||||
ipcMain.handle(
|
||||
replayChannel,
|
||||
async (_event, params?: { messageId?: string; text?: string } | string) => {
|
||||
try {
|
||||
await getVoiceConversationService().replayMessage(params)
|
||||
return ipcSuccess(undefined)
|
||||
} catch (err) {
|
||||
const msg = err instanceof Error ? err.message : String(err)
|
||||
return ipcError(ErrorCode.ConversationLLMFailed, msg)
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue