fix: restore composer overlay integration
Cross-platform packages / Validate source (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s

This commit is contained in:
mesalogo
2026-10-08 23:49:19 +08:00
parent adb58d9200
commit 69f64df279
4 changed files with 22 additions and 14 deletions
+5 -2
View File
@@ -9168,8 +9168,11 @@ export class AssistantDatabase {
}
listSupervisionResults(limit = 20, target?: SupervisionTarget, resultId?: string) {
const owner = target?.type === 'conversation' ? this.getConversation(target.conversationId)
: target?.type === 'task' ? this.getTask(target.taskId) : undefined
const owner = target?.type === 'conversation'
? this.requireDatabase().prepare('SELECT project_id AS projectId FROM conversations WHERE id = ?').get(target.conversationId) as { projectId: string | null } | undefined
: target?.type === 'task'
? this.requireDatabase().prepare('SELECT project_id AS projectId FROM tasks WHERE id = ?').get(target.taskId) as { projectId: string | null } | undefined
: undefined
const sourceType = target?.type ?? null
const sourceId = target?.type === 'conversation' ? target.conversationId : target?.taskId ?? null
return this.requireDatabase().prepare(`SELECT id, run_id AS runId, summary,
+1
View File
@@ -7090,6 +7090,7 @@ export function registerIpcHandlers(
assertTrustedSender(event, window)
const request = supervisionSuggestionListRequestSchema.parse(input ?? {})
if ((await applicationSettingsStore?.get())?.heartbeatEnabled !== true) return []
if (!supervisionPorts) return []
return await (await supervisionDatabase.supervisionSuggestions()).list(request.status, request.limit, request.offset)
})
registerHandler(ipcChannels.supervisionSuggestionAction, async (event, input: unknown) => {