section 6: Phase 6: Launch a multi-run from the TUI (/multirun)

This commit is contained in:
Chris Scott committed 2026-10-07 18:33:03 -04:00
1 parent e63f756c32
commit 0aaa2bd3d6
6 files changed
+590 -3

No files matched your search

+10
View File
@@ -16,6 +16,7 @@ import { pushPhaseProgress, importProgress } from './move-progress.js'
import { warmRepoProxy } from './repo-proxy.js'
import type { MoveProgress } from './move-progress.js'
import { runGoalCommand } from './tui-goal.js'
import { runMultiRunCommand } from './tui-multi-run.js'
import type { GoalStore } from './goal-store.js'
import type { RemoteContext } from './remote-context.js'
@@ -52,6 +53,15 @@ export async function setupOcm(context: Context, setMoveProgress: MoveProgressSe
slash: { name: 'goal', arguments: true },
run: (input) => runGoalCommand(context, { remote: features.remote, store: features.goals }, input),
},
{
id: 'ocm.multirun',
title: 'Multi-run',
description: 'Run one prompt across several models on OpenCode Manager',
group: 'OpenCode Manager',
palette: true,
slash: { name: 'multirun', arguments: true },
run: (input) => runMultiRunCommand(context, { remote: features.remote }, input),
},
],
}))
return null