Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/**
* Resolves the icon of a shell launch config if this will use the default profile
*/
resolveIcon
(
:
,
:
)
:
void
;
resolveShellLaunchConfig
(
:
,
:
)
:
Promise
<
void
>
;
getDefaultProfile
(
:
)
:
Promise
<
>
;
getDefaultShell
(
:
)
:
Promise
<
string
>
;
getDefaultShellArgs
(
:
)
:
Promise
<
<
string
>>
;
getDefaultIcon
(
)
:
&
;
getEnvironment
(
:
string
|
undefined
)
:
Promise
<
>
;
}
export
interface
IRegisterContributedProfileArgs
{
:
string
;
:
string
;
:
string
;
:
;
?
:
string
;
}
export
const
=
createDecorator<ITerminalProfileService>
(
'terminalProfileService'
)
;
export
interface
ITerminalProfileService
{
readonly
:
undefined
;
readonly
:
[
]
;
readonly
:
[
]
;
readonly
:
Promise
<
void
>
;
getPlatformKey
(
)
:
Promise
<
string
>
;
refreshAvailableProfiles
(
)
:
void
;
getDefaultProfileName
(
)
:
string
|
undefined
;
getDefaultProfile
(
?
:
)
:
|
undefined
;
readonly
:
<
[
]
>
;
getContributedDefaultProfile
(
:
)
:
Promise
<
|
undefined
>
;
registerContributedProfile
(
:
)
:
Promise
<
void
>
;
registerInternalContributedProfile
(
:
)
:
;
getContributedProfileProvider
(
:
string
,
:
string
)
:
|
undefined
;
registerTerminalProfileProvider
(
:
string
,
:
string
,
:
)
:
;
/**
* Overrides the default contributed terminal profile. When set,
* {@link getContributedDefaultProfile} returns the matching profile
* regardless of the user's configuration. Dispose the returned
* disposable to remove the override.
*/
overrideDefaultProfile
(
:
string
,
:
string
)
:
;
}
export
interface
ITerminalProfileProvider
{
createContributedTerminalProfile
(
:
)
:
Promise
<
void
>
;
}
export
interface
IShellLaunchConfigResolveOptions
{
:
string
|
undefined
;
:
;
?
:
boolean
;
?
:
boolean
;
}
export
type
FontWeight
=
'normal'
|
'bold'
|
number
;
export
interface
ITerminalProfiles
{
:
{
[
:
string
]
:
}
;
:
{
[
:
string
]
:
}
;
:
{
[
:
string
]
:
}
;
}
export
type
ConfirmOnKill
=
'never'
|
'always'
|
'editor'
|
'panel'
;
export
type
ConfirmOnExit
=
'never'
|
'always'
|
'hasChildProcesses'
;
export
interface
ICompleteTerminalConfiguration
{
'terminal.integrated.env.windows'
:
;
'terminal.integrated.env.osx'
:
;
'terminal.integrated.env.linux'
:
;
'terminal.integrated.cwd'
:
string
;
'terminal.integrated.detectLocale'
:
'auto'
|
'off'
|
'on'
;
}
export
interface
ITerminalConfiguration
{
:
{
:
string
|
null
;
:
string
|
null
;
:
string
|
null
;
}
;
:
{
:
string
|
null
;
:
string
|
null
;
:
string
|
null
;
}
;
:
{
:
string
[
]
;
:
string
[
]
;
:
string
[
]
;
}
;
:
;
:
{
:
string
|
null
;
:
string
|
null
;
:
string
|
null
;
}
;
:
boolean
;
:
boolean
;
:
boolean
;
:
boolean
;
:
'auto'
|
'on'
|
'off'
;
:
'default'
|
'copyPaste'
|
'paste'
|
'selectWord'
|
'nothing'
;
:
'default'
|
'paste'
;
:
boolean
;
:
boolean
;
:
'block'
|
'underline'
|
'line'
;
:
'outline'
|
'block'
|
'underline'
|
'line'
|
'none'
;
:
number
;
:
boolean
;
:
number
;
:
string
;
:
;
:
;
:
number
;
:
number
;
:
number
;
:
boolean
;
:
number
;
:
number
;
:
number
;
:
'auto'
|
'off'
|
'on'
;
:
number
;
:
string
[
]
;
:
boolean
;
:
boolean
;
:
string
;
:
;
:
;
:
boolean
;
:
{
:
{
[
:
string
]
:
string
}
;
:
{
[
:
string
]
:
string
}
;
:
{
[
:
string
]
:
string
}
;
}
;
:
boolean
;
:
boolean
;
:
'workspaceRoot'
|
'initial'
|
'inherited'
;
?
:
boolean
;
:
string
;
:
'off'
|
'on'
|
'notRemote'
;
:
string
[
]
;
:
'6'
|
'11'
;
:
boolean
;
:
{
:
boolean
;
:
'never'
|
'singleTerminal'
|
'singleGroup'
;
:
'always'
|
'singleTerminal'
|
'singleTerminalOrNarrow'
|
'singleGroup'
|
'never'
;
:
'left'
|
'right'
;
:
'singleClick'
|
'doubleClick'
;
:
string
;
:
string
;
:
string
;
:
boolean
;
}
;
:
number
;
:
;
:
boolean
;
:
'onExit'
|
'onExitAndWindowClose'
|
'never'
;
:
string
[
]
;
?
:
{
:
boolean
;
:
'both'
|
'gutter'
|
'overviewRuler'
|
'never'
;
}
;
:
boolean
;
:
boolean
;
:
boolean
;
:
boolean
;
:
boolean
;
:
boolean
;
?
:
{
:
boolean
;
:
string
;
:
string
[
]
;
}
;
:
boolean
;
}
export
interface
ITerminalFont
{
:
string
;
:
number
;
:
number
;
:
number
;
?
:
number
;
?
:
number
;
}
export
interface
IRemoteTerminalAttachTarget
{
:
number
;
:
number
;
:
string
;
:
;
:
string
;
:
string
;
:
string
;
:
boolean
;
:
URI
|
{
:
URI
;
:
URI
}
|
{
:
string
;
?
:
{
:
string
}
}
|
undefined
;
:
string
|
undefined
;
:
|
undefined
;
:
string
;
?
:
[
]
;
}
export
interface
IBeforeProcessDataEvent
{
/**
* The data of the event, this can be modified by the event listener to change what gets sent
* to the terminal.
*/
:
string
;
}
export
interface
IDefaultShellAndArgsRequest
{
:
boolean
;
callback
:
(
:
string
,
:
string
[
]
|
string
|
undefined
)
=>
void
;
}
/** Read-only process information that can apply to detached terminals. */
export
interface
ITerminalProcessInfo
{
readonly
:
;
readonly
:
Promise
<
void
>
;
readonly
:
number
|
undefined
;
readonly
:
string
|
undefined
;
readonly
:
|
undefined
;
readonly
:
string
|
undefined
;
readonly
:
string
;
readonly
:
|
undefined
;
readonly
:
number
|
undefined
;
readonly
:
boolean
;
readonly
:
boolean
;
readonly
:
boolean
;
readonly
:
|
undefined
;
readonly
:
;
readonly
:
string
;
readonly
:
|
undefined
;
}
export
const
=
(
:
|
)
:
is
=>
typeof
(
as
)
.
===
'function'
;
export
interface
ITerminalProcessManager
extends
IDisposable
,
{
readonly
:
|
undefined
;
readonly
:
number
;
readonly
:
<
void
>
;
readonly
:
<
void
>
;
readonly
:
<
>
;
readonly
:
<
>
;
readonly
:
<
>
;
readonly
:
<
void
>
;
readonly
:
<
>
;
readonly
:
<
>
;
readonly
:
<
number
|
undefined
>
;
readonly
:
<
>
;
dispose
(
?
:
boolean
)
:
void
;
detachFromProcess
(
?
:
boolean
)
:
Promise
<
void
>
;
createProcess
(
:
,
:
number
,
:
number
)
:
Promise
<
|
|
undefined
>
;
relaunch
(
:
,
:
number
,
:
number
,
:
boolean
)
:
Promise
<
|
|
undefined
>
;
write
(
:
string
)
:
Promise
<
void
>
;
sendSignal
(
:
string
)
:
Promise
<
void
>
;
setDimensions
(
:
number
,
:
number
,
?
:
undefined
,
?
:
number
,
?
:
number
)
:
Promise
<
void
>
;
setDimensions
(
:
number
,
:
number
,
:
false
,
?
:
number
,
?
:
number
)
:
Promise
<
void
>
;
setDimensions
(
:
number
,
:
number
,
:
true
,
?
:
number
,
?
:
number
)
:
void
;
clearBuffer
(
)
:
Promise
<
void
>
;
setUnicodeVersion
(
:
'6'
|
'11'
)
:
Promise
<
void
>
;
setNextCommandId
(
:
string
,
:
string
)
:
Promise
<
void
>
;
acknowledgeDataEvent
(
:
number
)
:
void
;
processBinary
(
:
string
)
:
void
;
refreshProperty<Textends ProcessPropertyType>
(
:
T
)
:
Promise
<
[
T
]
>
;
updateProperty<Textends ProcessPropertyType>
(
:
T
,
:
[
T
]
)
:
Promise
<
void
>
;
getBackendOS
(
)
:
Promise
<
>
;
freePortKillProcess
(
:
string
)
:
Promise
<
void
>
;
}
export
const
enum
{
// The process has not been initialized yet.
=
1
,
// The process is currently launching, the process is marked as launching
// for a short duration after being created and is helpful to indicate
// whether the process died as a result of bad shell and args.
=
2
,
// The process is running normally.
=
3
,
// The process was killed during launch, likely as a result of bad shell and
// args.
=
4
,
// The process was killed by the user (the event originated from VS Code).
=
5
,
// The process was killed by itself, for example the shell crashed or `exit`
// was run.
=
6
}
export
interface
ITerminalProcessExtHostProxy
extends
IDisposable
{
readonly
:
number
;
emitData
(
:
string
)
:
void
;
emitProcessProperty
(
:
)
:
void
;
emitReady
(
:
number
,
:
string
,
:
|
undefined
)
:
void
;
emitExit
(
:
number
|
undefined
)
:
void
;
readonly
:
<
string
>
;
readonly
:
<
string
>
;
readonly
:
<
{
:
number
;
:
number
}
>
;
readonly
:
<
number
>
;
readonly
:
<
boolean
>
;
readonly
:
<
void
>
;
readonly
:
<
void
>
;
}
export
interface
IStartExtensionTerminalRequest
{
:
;
:
number
;
:
number
;
callback
:
(
:
|
undefined
)
=>
void
;
}
export
interface
ITerminalStatus
{
/** An internal string ID used to identify the status. */
:
string
;
/**
* The severity of the status, this defines both the color and how likely the status is to be
* the "primary status".
*/
:
;
/**
* An icon representing the status, if this is not specified it will not show up on the terminal
* tab and will use the generic `info` icon when hovering.
*/
?
:
;
/**
* What to show for this status in the terminal's hover.
*/
?
:
string
|
undefined
;
/**
* What to show for this status in the terminal's hover when details are toggled.
*/
?
:
string
|
undefined
;
/**
* Actions to expose on hover.
*/
?
:
[
]
;
}
export
interface
ITerminalStatusHoverAction
{
:
string
;
:
string
;
run
:
(
)
=>
void
;
}
/**
* Context for actions taken on terminal instances.
*/
"A title template string for the terminal tab. Supports variables like $\{sequence}, $\{process}, $\{cwd}, etc. Overrides the default terminal.integrated.tabs.title setting for terminals created with this profile."