* Add Agent Manager * Basic Mock UP * Fix Comand naming Ctrl+P Uses Category to group * Move the UI in views * Agent Manager Landing Page * Fix attachment buig * Change Session Name for multi run to incoporate groupSlug * First running UI * Fix Max Model Multi Run * Rework Agent Group detection * ignore false positives with ' ' in it * Simplify Logic * remove unused dropdowns * Clean up * Update Changelog
14 lines
463 B
TypeScript
14 lines
463 B
TypeScript
import type { VSCodeAPI } from '../../../ui/src/lib/api/types';
|
|
import { executeVSCodeCommand } from './bridge';
|
|
|
|
export const createVSCodeActionsAPI = (): VSCodeAPI => ({
|
|
async executeCommand(command: string, ...args: unknown[]): Promise<unknown> {
|
|
const result = await executeVSCodeCommand(command, args);
|
|
return result.result;
|
|
},
|
|
|
|
async openAgentManager(): Promise<void> {
|
|
await executeVSCodeCommand('openchamber.openAgentManager');
|
|
},
|
|
});
|