Это 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{BasePromptElementProps,PromptElement,PromptSizing,UserMessage}from'@vscode/prompt-tsx';importtype{NotebookEditor,TextEditor}from'vscode';import{NotebookDocumentSnapshot}from'../../../../platform/editing/common/notebookDocumentSnapshot';import{IIgnoreService}from'../../../../platform/ignore/common/ignoreService';import{IAlternativeNotebookContentService}from'../../../../platform/notebook/common/alternativeContent'
props
@ _ignoreService
@ _tabsAndEditorsService
@ _alternativeNotebookContentService
@ _workspaceService
@ _promptEndpoint
props
state sizing
editor
editor
editor
notebookEditor
notebookEditor
notebookEditor
editor
ranges editor
editor
isIgnored
isIgnored
path
ranges
rangesrange
pathrange range
editor
editor
notebook editor
cellIndex notebook editor notebookindex
notebook cellIndex cellIndex
format
notebook format
isIgnored
isIgnored
path
editor
altDocument formatnotebook
cell notebookcellIndex
ranges editorrange
start altDocumentcell range
end altDocumentcell range
start end
rangesrange
pathrange range
editor
notebookRanges editor
format
editor format
isIgnored
isIgnored
path
notebookRanges
altDocument formateditor
ranges notebookRangesrange
cell editorrange
lastLine cellcell
start altDocumentcell
end altDocumentcell lastLine
start end
rangesrange
pathrange range
<CodeBlockcode={document.getText(range)}languageId={document.languageId}uri={document.uri}references={[newPromptReference({ uri:document.uri, range })]}/>
<br/>
<br/>
</>
)
)
}
</UserMessage>
</>
)
;
}
async
renderActiveNotebookCellEditor
(
:
TextEditor
)
{
if
(
.
document
.
uri
.
scheme
!==
Schemas
.
vscodeNotebookCell
)
{
return
;
}
const
=
findNotebook
(
.
document
.
uri
,
this
.
_workspaceService
.
notebookDocuments
)
;
const
=
&&
findCell
(
.
document
.
uri
,
)
?.
;
if
(
!
||
typeof
===
'undefined'
||
<
0
)
{
return
;
}
const
=
this
.
_alternativeNotebookContentService
.
getFormat
(
this
.
_promptEndpoint
)
;
const
document
=
NotebookDocumentSnapshot
.
create
(
,
)
;
const
=
await
this
.
_ignoreService
.
isCopilotIgnored
(
document
.
uri
)
;
if
(
)
{
return
<ignoredFilesvalue={[document.uri]}/>
;
}
if
(
document
.
getText
(
)
.
trim
(
)
.
length
===
0
)
{
// The document is empty or contains only whitespace
<CodeBlockcode={document.getText(range)}languageId={document.languageId}uri={document.uri}references={[newPromptReference({ uri:document.uri, range })]}/>
<br/>
<br/>
</>
)
)
}
</UserMessage>
</>
)
;
}
async
renderActiveNotebookEditor
(
:
NotebookEditor
)
{
const
=
.
visibleRanges
;
const
=
this
.
_alternativeNotebookContentService
.
getFormat
(
this
.
_promptEndpoint
)
;
const
document
=
NotebookDocumentSnapshot
.
create
(
.
notebook
,
)
;
const
=
await
this
.
_ignoreService
.
isCopilotIgnored
(
document
.
uri
)
;
if
(
)
{
return
<ignoredFilesvalue={[document.uri]}/>
;
}
if
(
document
.
getText
(
)
.
trim
(
)
.
length
===
0
)
{
// The document is empty or contains only whitespace
<CodeBlockcode={document.getText(range)}languageId={document.languageId}uri={document.uri}references={[newPromptReference({ uri:document.uri, range })]}/>