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 -9
View File
@@ -189,7 +189,6 @@ async function runModelBridgeHelper(
'protocol',
'model',
'supports-image-input',
'work-mode',
'shared-sessions',
'runtime-id',
'continue-entrypoint',
@@ -199,8 +198,7 @@ async function runModelBridgeHelper(
'socket-path',
'protocol',
'model',
'supports-image-input',
'work-mode'
'supports-image-input'
])
const protocol = options.protocol
if (
@@ -214,10 +212,6 @@ async function runModelBridgeHelper(
if (imageInput !== 'true' && imageInput !== 'false') {
throw new Error('Invalid model bridge image-input option')
}
const workMode = options['work-mode']
if (workMode !== 'ask' && workMode !== 'execute') {
throw new Error('Invalid model bridge work-mode option')
}
if (options['shared-sessions'] !== undefined && options['shared-sessions'] !== 'true') {
throw new Error('Invalid model bridge shared-sessions option')
}
@@ -225,7 +219,7 @@ async function runModelBridgeHelper(
requireOptions(options, ['continue-entrypoint'])
return runContinueAcpHelper({
socketPath: options['socket-path']!, protocol, model: options.model!,
supportsImageInput: imageInput === 'true', workMode,
supportsImageInput: imageInput === 'true',
sharedSessions: options['shared-sessions'] === 'true', entrypoint: options['continue-entrypoint']!
})
}
@@ -239,7 +233,6 @@ async function runModelBridgeHelper(
protocol: protocol as ModelBridgeProtocol,
model: options.model!,
supportsImageInput: imageInput === 'true',
workMode,
...(options['shared-sessions'] === 'true' ? { sharedSessions: true } : {}),
opencodeEntrypoint: options['opencode-entrypoint']!
})