mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
section 6: Phase 6: Launch a multi-run from the TUI (/multirun)
This commit is contained in:
1 parent
e63f756c32
commit
0aaa2bd3d6
6 files changed
+590
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user