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
+5 -5
View File
@@ -25,7 +25,7 @@ export const builtinModelTools = [
name: 'workspace_rg',
displayName: '搜索工作区',
description:
'使用内置 ripgrep 原生参数搜索或列出文件;Ask 限于工作区只读搜索,Execute 使用当前账号权限,长输出可分页续读。',
'使用内置 ripgrep 原生参数搜索或列出文件,使用当前账号权限,长输出可分页续读。',
access: 'read',
group: 'filesystem'
},
@@ -128,7 +128,7 @@ export const builtinModelTools = [
name: 'subagent_delegate',
displayName: '编程 Subagent',
description:
'将聚焦任务委派给同一模型连接,继承当前工作模式和工作区;长输出可分页续读。',
'将聚焦任务委派给同一模型连接,继承当前工作区和可用能力;长输出可分页续读。',
access: 'read',
group: 'programming'
}
@@ -139,21 +139,21 @@ export const builtinModelToolGroups = [
id: 'filesystem',
name: '工作区文件',
description:
'搜索和分页读取工作区文件;Execute 模式还可通过补丁新增、修改或删除文件。',
'搜索和分页读取工作区文件,通过补丁新增、修改或删除文件。',
tools: builtinModelTools.filter((tool) => tool.group === 'filesystem')
},
{
id: 'web',
name: '联网搜索',
description:
'启用后,直连模型可在 Ask 和 Execute 模式搜索并读取公开网页。',
'启用后,直连模型可搜索并读取公开网页。',
tools: builtinModelTools.filter((tool) => tool.group === 'web')
},
{
id: 'programming',
name: '开发工具',
description:
'直连模型可运行项目命令,或将聚焦的开发任务委派给继承当前模式的 Subagent。',
'直连模型可运行项目命令,或将聚焦的开发任务委派给使用相同工作区和可用能力的 Subagent。',
tools: builtinModelTools.filter((tool) => tool.group === 'programming')
}
] as const