feat: show runtime checklists and support remote Continue
Display native OpenCode and Continue checklists alongside scheduled tasks, preserving request ownership, explicit clears and saved progress. Bundle both remote runtimes and support managed Continue installation, model routing, cancellation and restart continuation. Validation: real local and Linux remote model checks, full Electron remote Continue flows, typecheck and lint passed. Full suite: 4707 passed, 67 skipped, one OpenCode compaction failure passed targeted rerun. Release note: Display native execution checklists above conversations and support managed remote Continue projects with saved progress and cancellation recovery.
This commit is contained in:
+7
-5
@@ -674,11 +674,13 @@ if (hasSingleInstanceLock) {
|
||||
await settingsStore.getResolvedSettings(),
|
||||
selection
|
||||
),
|
||||
resolveModelProfile: async (selection) =>
|
||||
applyRuntimeSelection(
|
||||
resolveModelProfile: async (selection) => {
|
||||
const resolved = applyRuntimeSelection(
|
||||
await settingsStore.getResolvedSettings(),
|
||||
selection
|
||||
).settings.opencodeModelProfile
|
||||
).settings
|
||||
return selection.provider === 'continue' ? resolved.continueModelProfile : resolved.opencodeModelProfile
|
||||
}
|
||||
})
|
||||
await startupManagedRemoteExecutionServices.initialize()
|
||||
managedRemoteExecutionServices =
|
||||
@@ -1081,10 +1083,10 @@ if (hasSingleInstanceLock) {
|
||||
selection
|
||||
)
|
||||
if (executionSpace?.kind === 'ssh') {
|
||||
const profile = resolved.settings.opencodeModelProfile
|
||||
const profile = selection.provider === 'continue' ? resolved.settings.continueModelProfile : resolved.settings.opencodeModelProfile
|
||||
if (profile === undefined) {
|
||||
throw new Error(
|
||||
'托管远程 OpenCode 需要选择一个可用的文本模型配置'
|
||||
'托管远程 Runtime 需要选择一个可用的文本模型配置'
|
||||
)
|
||||
}
|
||||
return await startupManagedRemoteExecutionServices.createRuntime({
|
||||
|
||||
Reference in New Issue
Block a user