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
+2 -4
View File
@@ -12,8 +12,7 @@ import type {
import type {
ConversationSubagentActivity,
ConversationMessage,
ConversationToolActivity,
WorkMode
ConversationToolActivity
} from '../../shared/assistant-contracts'
export type RuntimeApprovalRequest = {
@@ -139,10 +138,9 @@ export type RemoteRecoveredTool = ConversationToolActivity & {
export type RemoteRecoveredSubagent =
ConversationSubagentActivity
export type AgentExecutionRequest = Omit<AgentRequest, 'workMode'> & {
export type AgentExecutionRequest = AgentRequest & {
/** Resolved Main-side workspace, never taken from the current UI selection. */
executionWorkspace?: string
workMode?: WorkMode
images?: AgentImage[]
imageContextNotice?: ConversationMessage['imageContextNotice']
/** Main-process-only recursion guard for direct-model programming delegation. */