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 { ChatInputRequestPurpose } from '../../../common/meta/agentChatInputRequestMeta.js';
import { ChatInputAnswerState, ChatInputAnswerValueKind, ChatInputQuestionKind, ChatInputResponseKind, type ChatInputAnswer } from '../../../common/state/sessionState.js';
import { answerStrings, buildUserInputRequest, emptyUserInputResponse, userInputResponseFromAnswers } from '../../../node/codex/codexUserInputMapper.js';
import type { ToolRequestUserInputQuestion } from '../../../node/codex/protocol/generated/v2/ToolRequestUserInputQuestion.js'
selectQuestion ToolRequestUserInputQuestion
id header question isOther isSecret
options label description label description
textQuestion ToolRequestUserInputQuestion
id header question isOther isSecret options
assert selectQuestion textQuestion
id
_meta purpose ChatInputRequestPurposeAskUser
questions
kind ChatInputQuestionKindSingleSelect
id title message required
options id label description id label description
allowFreeformInput
kind ChatInputQuestionKindText id title message required
answers Record ChatInputAnswer
q1 state ChatInputAnswerStateSubmitted value kind ChatInputAnswerValueKindSelected value
q2 state ChatInputAnswerStateSubmitted value kind ChatInputAnswerValueKindText value
assert
selectQuestion textQuestion ChatInputResponseKindAccept answers
answers q1 answers q2 answers
answers Record ChatInputAnswer
q1 state ChatInputAnswerStateSkipped
assert
declined selectQuestion ChatInputResponseKindDecline answers
skipped selectQuestion ChatInputResponseKindAccept answers
missing textQuestion ChatInputResponseKindAccept
none selectQuestion textQuestion
declined answers q1 answers
skipped answers q1 answers
missing answers q2 answers
none answers q1 answers q2 answers
accept ChatInputResponseKindAccept
submitted value ExtractChatInputAnswer value ChatInputAnswer state ChatInputAnswerStateSubmitted value
assert
text kind ChatInputAnswerValueKindText value accept
kind ChatInputAnswerValueKindNumber value accept
kind ChatInputAnswerValueKindBoolean value accept
selectedFreeform kind ChatInputAnswerValueKindSelected value freeformValues accept
selectedMany kind ChatInputAnswerValueKindSelectedMany value freeformValues accept
text
selectedFreeform
selectedMany