Это 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{ Codicon, getAllCodicons }from'../../../base/common/codicons.js';import{ IJSONSchema, IJSONSchemaMap }from'../../../base/common/jsonSchema.js';import{ OperatingSystem, Platform, PlatformToString }from'../../../base/common/platform.js';import{ localize }from'../../../nls.js';import{ ConfigurationScope, Extensions, IConfigurationNode, IConfigurationRegistry }from'../../configuration/common/configurationRegistry.js';import{ Registry }from'../../registry/common/platform.js';import IExtensionTerminalProfile ITerminalProfile TerminalSettingId
createProfileSchemaEnums
terminalColorSchema IJSONSchema
type
terminalIconSchema IJSONSchema
type
icon iconid
markdownEnumDescriptions icon
terminalProfileBaseProperties IJSONSchemaMap
args
description
type
items
type
icon
description
terminalIconSchema
color
description
terminalColorSchema
env
markdownDescription
type
additionalProperties
type
terminalProfileSchema IJSONSchema
type
required
properties
path
description
type
items
type
overrideName
description
type
terminalProfileBaseProperties
terminalAutomationProfileSchema IJSONSchema
type
required
properties
path
description
type
items
type
terminalProfileBaseProperties
platform PlatformLinux PlatformMac PlatformWindows
key platform PlatformLinux platform PlatformMac
key
comment
platform
key
terminalPlatformConfiguration IConfigurationNode
id
order
title
type
properties
TerminalSettingIdAutomationProfileLinux
restricted
markdownDescription
type
type
terminalAutomationProfileSchema
defaultSnippets
body
path
icon
TerminalSettingIdAutomationProfileMacOs
restricted
markdownDescription
type
type
terminalAutomationProfileSchema
defaultSnippets
body
path
icon
TerminalSettingIdAutomationProfileWindows
restricted
markdownDescription
type
type
terminalAutomationProfileSchema
defaultSnippets
body
path
icon
TerminalSettingIdAgentHostProfileLinux
restricted
markdownDescription
type
type
type
terminalAutomationProfileSchema
defaultSnippets
body
path
icon
TerminalSettingIdAgentHostProfileMacOs
restricted
markdownDescription
type
type
type
terminalAutomationProfileSchema
defaultSnippets
body
path
icon
TerminalSettingIdAgentHostProfileWindows
restricted
markdownDescription
type
type
type
terminalAutomationProfileSchema
defaultSnippets
body
path
icon
TerminalSettingIdProfilesWindows
restricted
markdownDescription PlatformWindows
type
source
icon CodiconterminalPowershellid
path
args
icon CodiconterminalCmdid
source
icon CodiconterminalGitBashid
additionalProperties
type
required
properties
source
description
terminalProfileBaseProperties
type
required
properties
extensionIdentifier
description
type
id
description
type
title
description
type
terminalProfileBaseProperties
type
terminalProfileSchema
TerminalSettingIdProfilesMacOs
restricted
markdownDescription PlatformMac
type
path
args
icon CodiconterminalBashid
path
args
path
args
path
icon CodiconterminalTmuxid
path
icon CodiconterminalPowershellid
additionalProperties
type
required
properties
extensionIdentifier
description
type
id
description
type
title
description
type
terminalProfileBaseProperties
type
terminalProfileSchema
TerminalSettingIdProfilesLinux
restricted
markdownDescription PlatformLinux
type
path
icon CodiconterminalBashid
path
path
path
icon CodiconterminalTmuxid
path
icon CodiconterminalPowershellid
additionalProperties
type
required
properties
extensionIdentifier
description
type
id
description
type
title
description
type
terminalProfileBaseProperties
type
terminalProfileSchema
TerminalSettingIdUseWslProfiles
description
type
TerminalSettingIdInheritEnv
scope ConfigurationScope
description
type
TerminalSettingIdPersistentSessionScrollback
scope ConfigurationScope
markdownDescription
type
TerminalSettingIdShowLinkHover
scope ConfigurationScope
description
type
TerminalSettingIdIgnoreProcessNames
markdownDescription
type
items
type
uniqueItems
RegistryExtensionsConfigurationterminalPlatformConfiguration
defaultProfilesConfiguration IConfigurationNode
detectedProfiles os OperatingSystem profiles ITerminalProfile extensionContributedProfiles IExtensionTerminalProfile
registry RegistryExtensionsConfiguration
profileEnum
detectedProfiles
profileEnum detectedProfilesprofiles extensionContributedProfiles
oldDefaultProfilesConfiguration defaultProfilesConfiguration
defaultProfilesConfiguration
id
order
title
type
properties
TerminalSettingIdDefaultProfileLinux
restricted
markdownDescription
type
detectedProfilesos OperatingSystemLinux profileEnumvalues
markdownEnumDescriptions detectedProfilesos OperatingSystemLinux profileEnummarkdownDescriptions
TerminalSettingIdDefaultProfileMacOs
restricted
markdownDescription
type
detectedProfilesos OperatingSystemMacintosh profileEnumvalues
markdownEnumDescriptions detectedProfilesos OperatingSystemMacintosh profileEnummarkdownDescriptions
TerminalSettingIdDefaultProfileWindows
restricted
markdownDescription
type
detectedProfilesos OperatingSystemWindows profileEnumvalues
markdownEnumDescriptions detectedProfilesos OperatingSystemWindows profileEnummarkdownDescriptions
registry add defaultProfilesConfiguration remove oldDefaultProfilesConfiguration oldDefaultProfilesConfiguration
'An optional set of arguments to run the shell executable with.'
)
,
:
'array'
,
:
{
:
'string'
}
}
,
:
{
:
localize
(
'terminalProfile.icon'
,
'A codicon ID to associate with the terminal icon.'
)
,
...
}
,
:
{
:
localize
(
'terminalProfile.color'
,
'A theme color ID to associate with the terminal icon.'
)
,
...
}
,
:
{
:
localize
(
'terminalProfile.env'
,
"An object with environment variables that will be added to the terminal profile process. Set to `null` to delete environment variables from the base environment."
)
,
:
'object'
,
:
{
:
[
'string'
,
'null'
]
}
,
default
:
{
}
}
}
;
const
:
=
{
:
'object'
,
:
[
'path'
]
,
:
{
:
{
:
localize
(
'terminalProfile.path'
,
'A single path to a shell executable or an array of paths that will be used as fallbacks when one fails.'
)
,
:
[
'string'
,
'array'
]
,
:
{
:
'string'
}
}
,
:
{
:
localize
(
'terminalProfile.overrideName'
,
'Whether or not to replace the dynamic terminal title that detects what program is running with the static profile name.'
)
,
:
'boolean'
}
,
...
}
}
;
const
:
=
{
:
'object'
,
:
[
'path'
]
,
:
{
:
{
:
localize
(
'terminalAutomationProfile.path'
,
'A path to a shell executable.'
)
,
:
[
'string'
]
,
:
{
:
'string'
}
}
,
...
}
}
;
function
createTerminalProfileMarkdownDescription
(
:
.
|
.
|
.
)
:
string
{
const
=
===
.
?
'linux'
:
===
.
?
'osx'
:
'windows'
;
return
localize
(
{
:
'terminal.integrated.profile'
,
:
[
'{0} is the platform, {1} is a code block, {2} and {3} are a link start and end'
]
}
,
"A set of terminal profile customizations for {0} which allows adding, removing or changing how terminals are launched. Profiles are made up of a mandatory path, optional arguments and other presentation options.\n\nTo override an existing profile use its profile name as the key, for example:\n\n{1}\n\n{2}Read more about configuring profiles{3}."
"The terminal profile to use on Linux for automation-related terminal usage like tasks and debug."
)
,
:
[
'object'
,
'null'
]
,
default
:
null
,
'anyOf'
:
[
{
:
'null'
}
,
]
,
:
[
{
:
{
:
'${1}'
,
:
'${2}'
}
}
]
}
,
[
.
]
:
{
:
true
,
:
localize
(
'terminal.integrated.automationProfile.osx'
,
"The terminal profile to use on macOS for automation-related terminal usage like tasks and debug."
)
,
:
[
'object'
,
'null'
]
,
default
:
null
,
'anyOf'
:
[
{
:
'null'
}
,
]
,
:
[
{
:
{
:
'${1}'
,
:
'${2}'
}
}
]
}
,
[
.
]
:
{
:
true
,
:
localize
(
'terminal.integrated.automationProfile.windows'
,
"The terminal profile to use for automation-related terminal usage like tasks and debug. This setting will currently be ignored if {0} (now deprecated) is set."
,
'`terminal.integrated.automationShell.windows`'
)
,
:
[
'object'
,
'null'
]
,
default
:
null
,
'anyOf'
:
[
{
:
'null'
}
,
]
,
:
[
{
:
{
:
'${1}'
,
:
'${2}'
}
}
]
}
,
[
.
]
:
{
:
true
,
:
localize
(
'terminal.integrated.agentHostProfile.linux'
,
"The terminal profile to use on Linux for agent host terminals, including shells launched by AI agent tools. Accepts either a profile name from {0} or an inline profile object. When unset, falls back to {1}. Currently applies to the local agent host. Only the executable `path` is honored today; `args` and `env` from the profile are ignored. Remote agent hosts need remote-side shell configuration because local resolved paths may be invalid on the remote."
,
'`#terminal.integrated.profiles.linux#`'
,
'`#terminal.integrated.defaultProfile.linux#`'
)
,
:
[
'string'
,
'object'
,
'null'
]
,
default
:
null
,
'anyOf'
:
[
{
:
'null'
}
,
{
:
'string'
}
,
]
,
:
[
{
:
{
:
'${1}'
,
:
'${2}'
}
}
]
}
,
[
.
]
:
{
:
true
,
:
localize
(
'terminal.integrated.agentHostProfile.osx'
,
"The terminal profile to use on macOS for agent host terminals, including shells launched by AI agent tools. Accepts either a profile name from {0} or an inline profile object. When unset, falls back to {1}. Currently applies to the local agent host. Only the executable `path` is honored today; `args` and `env` from the profile are ignored. Remote agent hosts need remote-side shell configuration because local resolved paths may be invalid on the remote."
,
'`#terminal.integrated.profiles.osx#`'
,
'`#terminal.integrated.defaultProfile.osx#`'
)
,
:
[
'string'
,
'object'
,
'null'
]
,
default
:
null
,
'anyOf'
:
[
{
:
'null'
}
,
{
:
'string'
}
,
]
,
:
[
{
:
{
:
'${1}'
,
:
'${2}'
}
}
]
}
,
[
.
]
:
{
:
true
,
:
localize
(
'terminal.integrated.agentHostProfile.windows'
,
"The terminal profile to use on Windows for agent host terminals, including shells launched by AI agent tools. Accepts either a profile name from {0} or an inline profile object. When unset, falls back to {1}. Currently applies to the local agent host. Only the executable `path` is honored today; `args` and `env` from the profile are ignored. Remote agent hosts need remote-side shell configuration because local resolved paths may be invalid on the remote."
,
'`#terminal.integrated.profiles.windows#`'
,
'`#terminal.integrated.defaultProfile.windows#`'
)
,
:
[
'string'
,
'object'
,
'null'
]
,
default
:
null
,
'anyOf'
:
[
{
:
'null'
}
,
{
:
'string'
}
,
]
,
:
[
{
:
{
:
'${1}'
,
:
'${2}'
}
}
]
}
,
[
.
]
:
{
:
true
,
:
createTerminalProfileMarkdownDescription
(
.
)
,
:
'object'
,
default
:
{
'PowerShell'
:
{
:
'PowerShell'
,
:
.
.
,
}
,
'Command Prompt'
:
{
:
[
'${env:windir}\\Sysnative\\cmd.exe'
,
'${env:windir}\\System32\\cmd.exe'
]
,
:
[
]
,
:
.
.
,
}
,
'Git Bash'
:
{
:
'Git Bash'
,
:
.
.
,
}
}
,
:
{
'anyOf'
:
[
{
:
'object'
,
:
[
'source'
]
,
:
{
:
{
:
localize
(
'terminalProfile.windowsSource'
,
'A profile source that will auto detect the paths to the shell. Note that non-standard executable locations are not supported and must be created manually in a new profile.'
)
,
enum
:
[
'PowerShell'
,
'Git Bash'
]
}
,
...
}
}
,
{
:
'object'
,
:
[
'extensionIdentifier'
,
'id'
,
'title'
]
,
:
{
:
{
:
localize
(
'terminalProfile.windowsExtensionIdentifier'
,
'The extension that contributed this profile.'
)
,
:
'string'
}
,
:
{
:
localize
(
'terminalProfile.windowsExtensionId'
,
'The id of the extension terminal'
)
,
:
'string'
}
,
:
{
:
localize
(
'terminalProfile.windowsExtensionTitle'
,
'The name of the extension terminal'
)
,
:
'string'
}
,
...
}
}
,
{
:
'null'
}
,
]
}
}
,
[
.
]
:
{
:
true
,
:
createTerminalProfileMarkdownDescription
(
.
)
,
:
'object'
,
default
:
{
'bash'
:
{
:
'bash'
,
:
[
'-l'
]
,
:
.
.
}
,
'zsh'
:
{
:
'zsh'
,
:
[
'-l'
]
}
,
'fish'
:
{
:
'fish'
,
:
[
'-l'
]
}
,
'tmux'
:
{
:
'tmux'
,
:
.
.
}
,
'pwsh'
:
{
:
'pwsh'
,
:
.
.
}
}
,
:
{
'anyOf'
:
[
{
:
'object'
,
:
[
'extensionIdentifier'
,
'id'
,
'title'
]
,
:
{
:
{
:
localize
(
'terminalProfile.osxExtensionIdentifier'
,
'The extension that contributed this profile.'
)
,
:
'string'
}
,
:
{
:
localize
(
'terminalProfile.osxExtensionId'
,
'The id of the extension terminal'
)
,
:
'string'
}
,
:
{
:
localize
(
'terminalProfile.osxExtensionTitle'
,
'The name of the extension terminal'
)
,
:
'string'
}
,
...
}
}
,
{
:
'null'
}
,
]
}
}
,
[
.
]
:
{
:
true
,
:
createTerminalProfileMarkdownDescription
(
.
)
,
:
'object'
,
default
:
{
'bash'
:
{
:
'bash'
,
:
.
.
}
,
'zsh'
:
{
:
'zsh'
}
,
'fish'
:
{
:
'fish'
}
,
'tmux'
:
{
:
'tmux'
,
:
.
.
}
,
'pwsh'
:
{
:
'pwsh'
,
:
.
.
}
}
,
:
{
'anyOf'
:
[
{
:
'object'
,
:
[
'extensionIdentifier'
,
'id'
,
'title'
]
,
:
{
:
{
:
localize
(
'terminalProfile.linuxExtensionIdentifier'
,
'The extension that contributed this profile.'
)
,
:
'string'
}
,
:
{
:
localize
(
'terminalProfile.linuxExtensionId'
,
'The id of the extension terminal'
)
,
:
'string'
}
,
:
{
:
localize
(
'terminalProfile.linuxExtensionTitle'
,
'The name of the extension terminal'
)
,
:
'string'
}
,
...
}
}
,
{
:
'null'
}
,
]
}
}
,
[
.
]
:
{
:
localize
(
'terminal.integrated.useWslProfiles'
,
'Controls whether or not WSL distros are shown in the terminal dropdown'
)
,
:
'boolean'
,
default
:
true
}
,
[
.
]
:
{
:
.
APPLICATION
,
:
localize
(
'terminal.integrated.inheritEnv'
,
"Whether new shells should inherit their environment from VS Code, which may source a login shell to ensure $PATH and other development variables are initialized. This has no effect on Windows."
)
,
:
'boolean'
,
default
:
true
}
,
[
.
]
:
{
:
.
APPLICATION
,
:
localize
(
'terminal.integrated.persistentSessionScrollback'
,
"Controls the maximum amount of lines that will be restored when reconnecting to a persistent terminal session. Increasing this will restore more lines of scrollback at the cost of more memory and increase the time it takes to connect to terminals on start up. This setting requires a restart to take effect and should be set to a value less than or equal to `#terminal.integrated.scrollback#`."
)
,
:
'number'
,
default
:
100
}
,
[
.
]
:
{
:
.
APPLICATION
,
:
localize
(
'terminal.integrated.showLinkHover'
,
"Whether to show hovers for links in the terminal output."
)
,
:
'boolean'
,
default
:
true
}
,
[
.
]
:
{
:
localize
(
'terminal.integrated.confirmIgnoreProcesses'
,
"A set of process names to ignore when using the {0} setting."
,
'`#terminal.integrated.confirmOnKill#`'
)
,
:
'array'
,
:
{
:
'string'
,
:
true
}
,
default
:
[
// Popular prompt programs, these should not count as child processes
'starship'
,
'oh-my-posh'
,
// Git bash may runs a subprocess of itself (bin\bash.exe -> usr\bin\bash.exe)
'bash'
,
'zsh'
,
]
}
}
}
;
/**
* Registers terminal configurations required by shared process and remote server.
*/