ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IFigExecuteExternals } from '../../execute';
import {
GeneratorContext,
haveContextForGenerator,
runCachedGenerator,
} from './helpers';
export async function getScriptSuggestions(
generator: Fig.Generator,
context: GeneratorContext,
defaultTimeout: number = 5000,
executeExternals: IFigExecuteExternals
): Promise<Fig.Suggestion[] | undefined> {
const { script, postProcess, splitOn } generator
script
context
isDangerous tokenArray currentWorkingDirectory environmentVariables context
commandToRun
script script
tokenArray
script
commandToRun
executeCommandInput FigExecuteCommandInput
commandToRun
executeCommandInput
command commandToRun
args commandToRun
cwd currentWorkingDirectory
env environmentVariables
executeCommandInput
cwd currentWorkingDirectory
commandToRun
timeout Math
defaultTimeout
generatorscriptTimeout
executeCommandInputtimeout
stdout
generator
context
executeExternalsexecuteCommandInput timeout
generatorcachecacheKey executeCommandInput
result FigSuggestion
splitOn
result stdout stdoutsplitOn
postProcess
result stdout tokenArray
result result
item item item itemname
resultitem
item
type name item insertValue item isDangerous
item type itemtype
e
e