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 assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { getCopilotConfigSlashCommandItems, isCopilotConfigSlashCommand, resolveCopilotConfigSlashCommandOnSend } from '../../common/copilotConfigSlashCommands.js';
suite('copilotConfigSlashCommands', () => {
ensureNoDisposablesAreLeakedInTestSuite();
suite('getCopilotConfigSlashCommandItems', () => {
test('empty prefix returns permission and mode items with labels and actions', () =>
items
byLabel itemsi ilabel i
assertbyLabelinsertText
assertbyLabelapplyConfig autoApprove
assertbyLabelapplyConfig autoApprove
assertbyLabelinsertText
assertbyLabelapplyConfig mode
assertbyLabelapplyConfig mode
prompt byLabel
assertpromptinsertText
assertpromptapplyConfig mode
assertpromptargumentHint
commands i icommand
assertcommands
assertlength
commands i icommand
assertcommands
inAutopilot mode i ilabel
assertinAutopilot
notAutopilot mode i ilabel
assertnotAutopilot
inPlan mode i ilabel
assertinPlan
bypassing autoApprove i ilabel
assertbypassing
notBypassing autoApprove i ilabel
assertnotBypassing
assert applyConfig autoApprove strippedPrompt
assert applyConfig mode strippedPrompt
assert applyConfig mode strippedPrompt
assert applyConfig mode strippedPrompt
assert
assert
assert
assert
assert
assert