feat: unify execution and add workspace file imports

Remove Ask/Execute modes and general product tool approvals so requests use the selected runtime, enabled capabilities, and execution account permissions. Migrate retired application metadata while preserving user content.

Retire the Results page while retaining conversation images and stored artifacts. Add local and remote workspace file imports, timestamps and sorting, improve image discovery and saving, and refine workspace navigation and supervision responsiveness. Include the accompanying web-search changes, tests, probes, and product documentation.

Remote imports require an updated Agent. Existing artifacts are not automatically copied into project directories. Validation evidence and outstanding failures remain documented in feature progress files; no full test suite or real-model calls were rerun for this commit.

Release note: Run requests without switching work modes, import files into a selected local or remote workspace folder, sort workspace files by date, and keep using conversation images after removal of the Results page.
This commit is contained in:
mesalogo
2026-10-04 20:02:59 +08:00
parent 0cd5da33f4
commit 56ebd40bd8
374 changed files with 7075 additions and 6224 deletions
+1 -10
View File
@@ -1,6 +1,5 @@
import { contextBridge, ipcRenderer, webUtils } from 'electron'
import {
type ApprovalDecision,
type AgentEvent,
type AgentQuestionAnswer,
type AgentRequest,
@@ -321,15 +320,6 @@ const desktopApi: DesktopApi = {
cancel: async (requestId: string) => {
await ipcRenderer.invoke(ipcChannels.agentCancel, requestId)
},
respondApproval: async (
approvalId: string,
decision: ApprovalDecision
) => {
await ipcRenderer.invoke(ipcChannels.agentApprovalRespond, {
approvalId,
decision
})
},
respondQuestion: async (
questionId: string,
answers?: AgentQuestionAnswer[]
@@ -1230,6 +1220,7 @@ const desktopApi: DesktopApi = {
}
},
workspace: {
importFiles: (projectId, path) => ipcRenderer.invoke(ipcChannels.workspaceImportFiles, { projectId, path }),
manage: (projectId, action) => ipcRenderer.invoke(ipcChannels.workspaceManage, { projectId, action }),
getFileDiff: (projectId: string, path: string) =>
ipcRenderer.invoke(ipcChannels.workspaceFileDiff, {