feat: organize project conversations and add coding teacher side chat

This commit is contained in:
brother7 committed 2026-09-22 12:30:26 +08:00
1 parent 2f82b9f79c
commit 9242a40d87
45 files changed
+2987 -1137

No files matched your search

+4
View File
@@ -30,6 +30,7 @@ import {
findNianCodeDeepLinkUrl,
NIANCODE_APP_PROTOCOL,
queueCloudAgentLink,
queueTeacherPreviewRevision,
parseNianCodeDeepLinkUrl,
} from './app-deep-link';
import { installMediaPermissionHandler } from './media-permissions';
@@ -359,6 +360,9 @@ function handleAppDeepLinkActivation(rawUrl: string): boolean {
if (deepLink.type === 'cloud-agent') {
queueCloudAgentLink(deepLink.slug);
mainWindow?.webContents.send('cloud-agent-link');
} else if (deepLink.type === 'teacher-preview') {
queueTeacherPreviewRevision(deepLink.draftRevision);
mainWindow?.webContents.send('navigate', '/coding-teacher-preview?draftRevision=' + deepLink.draftRevision);
} else {
logger.info(`Received Makelore app link: type=${deepLink.type}, request_id=${deepLink.requestId}`);
}