Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/** Command that cancels the active/preparing dictation session. */
const
CANCEL_DICTATION_COMMAND
=
'workbench.action.chat.cancelSpeechToText'
;
/** Command that tears down an active Voice Mode session. */
const
VOICE_DISCONNECT_COMMAND
=
'agentsVoice.disconnect'
;
/** Command that opens the Voice Mode settings; the affordance that used to live behind the toolbar gear. */
const
VOICE_OPEN_SETTINGS_COMMAND
=
'agentsVoice.openSettings'
;
/** Command that opens the Settings editor. */
const
OPEN_SETTINGS_COMMAND
=
'workbench.action.openSettings'
;
/** Narrows the Settings editor to dictation settings. */
const
DICTATION_SETTINGS_QUERY
=
'dictation'
;
/** Command that shows the Voice Mode onboarding card again. */
export
const
SHOW_VOICE_MODE_ONBOARDING_COMMAND
=
'agentsVoice.showOnboarding'
;
/** Setting that enables dictation; toggled off by "Disable". */
const
DICTATION_ENABLED_SETTING
=
'dictation.enabled'
;
/** Setting that enables Voice Mode; toggled off by "Disable". */
const
VOICE_ENABLED_SETTING
=
'agents.voice.enabled'
;
/** Setting that shows the live voice transcript overlay; toggled from the menu. */
const
VOICE_SHOW_TRANSCRIPT_SETTING
=
'agents.voice.showTranscript'
;
/**
* "Select Microphone" entry shared by every dictation / Voice Mode mic button
* context menu. Opens the picker shared by both features.
*/
function
createSelectMicrophoneAction
(
:
)
:
{
return
toAction
(
{
:
SELECT_MICROPHONE_COMMAND
,
:
localize
(
'mic.selectMicrophone'
,
"Select Microphone"
)
,
run
:
(
)
=>
.
executeCommand
(
SELECT_MICROPHONE_COMMAND
)
,
}
)
;
}
/**
* "Disable" entry for dictation. Cancels any active/preparing dictation first so
* disabling the setting doesn't leave the microphone capturing while the toolbar
* affordance disappears, then turns off the feature setting.
*/
function
createDisableDictationAction
(
:
,
:
)
:
{
return
toAction
(
{
:
'chat.dictation.disable'
,
:
localize
(
'dictation.disable'
,
"Disable"
)
,
run
:
async
(
)
=>
{
await
.
executeCommand
(
CANCEL_DICTATION_COMMAND
)
;
await
.
updateValue
(
DICTATION_ENABLED_SETTING
,
false
)
;
}
,
}
)
;
}
function
createShowDictationOnboardingAction
(
:
)
:
{
return
toAction
(
{
:
SHOW_DICTATION_ONBOARDING_COMMAND
,
:
localize
(
'dictation.showIntroduction'
,
"Show Introduction"
)
,
run
:
(
)
=>
.
executeCommand
(
SHOW_DICTATION_ONBOARDING_COMMAND
)
,
}
)
;
}
/**
* Checkable "Microphone Button" entry mirroring the action bar visibility toggles:
* checked while the button is shown, unchecking it hides the button. Hiding only
* removes the toolbar affordance — dictation can still be launched with its
* Cmd/Ctrl+I shortcut, and the button can be restored from Settings.
*/
function
createToggleButtonAction
(
:
,
:
.
|
.
,
:
string
,
:
string
)
:
{
const
=
.
getValue<boolean>
(
)
!==
false
;
return
toAction
(
{
,
,
:
,
run
:
(
)
=>
.
updateValue
(
,
!
)
,
}
)
;
}
/**
* "Disable" entry for Voice Mode. Tears down any active session first so disabling
* the setting doesn't leave the microphone capturing while the toolbar
* affordance disappears, then turns off the feature setting.
*/
function
createDisableVoiceModeAction
(
:
,
:
)
:
{
return
toAction
(
{
:
'chat.voiceMode.disable'
,
:
localize
(
'voiceMode.disable'
,
"Disable"
)
,
run
:
async
(
)
=>
{
await
.
executeCommand
(
VOICE_DISCONNECT_COMMAND
)
;
await
.
updateValue
(
VOICE_ENABLED_SETTING
,
false
)
;
}
,
}
)
;
}
/**
* Actions for the dictation mic button context menu. Keybinding and feature
* disabling are grouped separately from configuration and onboarding.
*/
export
function
getDictationContextMenuActions
(
:
,
:
,
:
,
:
string
)
:
[
]
{
return
.
join
(
[
createConfigureKeybindingAction
(
,
,
)
,
createToggleButtonAction
(
,
.
,
'chat.dictation.toggleButton'
,
localize
(
'dictation.microphoneButton'
,
"Microphone Button"
)
)
,
createDisableDictationAction
(
,
)
,
]
,
[
createDictationSettingsAction
(
)
,
createConfigureInstructionsAction
(
,
CONFIGURE_DICTATION_INSTRUCTIONS_ACTION_ID
,
localize
(
'dictation.configureInstructions'
,
"Configure Instructions"
)
)
,
createShowDictationOnboardingAction
(
)
,
createSelectMicrophoneAction
(
)
,
]
,
)
;
}
/**
* "Settings" entry. Opens the Voice Mode settings — the affordance
* that used to live behind the toolbar gear button.
*/
function
createVoiceModeSettingsAction
(
:
)
:
{
return
toAction
(
{
:
VOICE_OPEN_SETTINGS_COMMAND
,
:
localize
(
'voiceMode.openSettings'
,
"Open Settings"
)
,
run
:
(
)
=>
.
executeCommand
(
VOICE_OPEN_SETTINGS_COMMAND
)
,
}
)
;
}
function
createDictationSettingsAction
(
:
)
:
{
return
toAction
(
{
:
'chat.dictation.openSettings'
,
:
localize
(
'dictation.openSettings'
,
"Open Settings"
)
,
run
:
(
)
=>
.
executeCommand
(
OPEN_SETTINGS_COMMAND
,
{
:
DICTATION_SETTINGS_QUERY
}
)
,
}
)
;
}
function
createShowVoiceModeOnboardingAction
(
:
)
:
{
return
toAction
(
{
:
SHOW_VOICE_MODE_ONBOARDING_COMMAND
,
:
localize
(
'voiceMode.showIntroduction'
,
"Show Introduction"
)
,
run
:
(
)
=>
.
executeCommand
(
SHOW_VOICE_MODE_ONBOARDING_COMMAND
)
,
}
)
;
}
function
createConfigureInstructionsAction
(
:
,
:
string
,
:
string
)
:
{
return
toAction
(
{
:
,
,
run
:
(
)
=>
.
executeCommand
(
)
,
}
)
;
}
/**
* Checkable "Show Transcript" entry: a quick per-session toggle for the live
* voice transcript overlay. Reflects and flips `agents.voice.showTranscript`,
* which also serves as the user's default preference.
*/
function
createToggleTranscriptAction
(
:
)
:
{
const
=
.
getValue<boolean>
(
VOICE_SHOW_TRANSCRIPT_SETTING
)
===
true
;
return
toAction
(
{
:
'chat.voiceMode.toggleTranscript'
,
:
localize
(
'voiceMode.showTranscript'
,
"Show Transcript"
)
,
:
,
run
:
(
)
=>
.
updateValue
(
VOICE_SHOW_TRANSCRIPT_SETTING
,
!
)
,
}
)
;
}
/**
* Actions for the Voice Mode mic button context menu. Keybinding and feature
* disabling are grouped separately from configuration and onboarding.
*/
export
function
getVoiceModeContextMenuActions
(
:
,
:
,
:
,
:
string
)
:
[
]
{
return
.
join
(
[
createConfigureKeybindingAction
(
,
,
)
,
createToggleButtonAction
(
,
.
,
'chat.voiceMode.toggleButton'
,
localize
(
'voiceMode.button'
,
"Voice Mode Button"
)
)
,
createToggleTranscriptAction
(
)
,
createDisableVoiceModeAction
(
,
)
,
]
,
[
createVoiceModeSettingsAction
(
)
,
createConfigureInstructionsAction
(
,
CONFIGURE_VOICE_INSTRUCTIONS_ACTION_ID
,
localize
(
'voiceMode.configureInstructions'
,
"Configure Instructions"
)
)
,
createShowVoiceModeOnboardingAction
(
)
,
createSelectMicrophoneAction
(
)
,
]
,
)
;
}
/**
* Wire a right-click context menu onto a mic button. Stops the event before it
* reaches the toolbar's generic context-menu handler so the mic-specific menu is
* shown instead. Works for both `MenuEntryActionViewItem` containers and the
* Agents-window custom mic `<div>`s.
*/