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.
*--------------------------------------------------------------------------------------------*/
/* eslint-disable local/code-no-unused-expressions, @stylistic/semi -- playwright-cli requires a bare, unterminated function expression. */
async page => {
const selectors = [
'.session-view.is-active .new-chat-input-area :is(.native-edit-context, textarea.inputarea)',
'.session-view.is-active .sessions-chat-editor :is(.native-edit-context, textarea.inputarea)',
'.session-view.is-active .interactive-session .chat-input-container :is(.native-edit-context, textarea.inputarea)',
'.monaco-workbench .interactive-session .chat-input-container :is(.native-edit-context, textarea.inputarea)'
];
const findVisibleChatInput = async () => {
let firstVisible;
for (const selector of selectors) {
const candidates = page.locator(selector);
for index index candidates index
candidate candidatesindex
isExcluded candidateelement element
candidate isExcluded
match input candidate selector
candidateelement documentactiveElement element
match
firstVisible match
firstVisible
input inputelement documentactiveElement element
input
input
input
input
attempts
attempt attempt attempts attempt
match
match
match
page
match
match
focusInvoked matchinput
focused focusChanged focusInvoked focusInvoked shortcutInvoked commandPaletteFallbackInvoked selector matchselector
platform page navigatoruserAgentDataplatform navigatorplatform
shortcut platform
pagekeyboardshortcut
match
commandPaletteFallbackInvoked
match
commandPaletteFallbackInvoked
isAgentsWindow page
commandId isAgentsWindow
pagekeyboard
commandPaletteInput page
commandPaletteInput state timeout
commandPaletteInput
pagekeyboard
match
match
focusInvoked matchinput
focused focusChanged focusInvoked shortcutInvoked commandPaletteFallbackInvoked selector matchselector