Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
There was an error applying your original patch, and it was corrected:
<br/>
{
.
map
(
=>
<Tagname='correctedEdit'attrs={{ file: h.file}}>
{
.
healing
}
</Tag>
)
}
<br/>
</>
}
{
.
length
>
0
&&
<>
The following files were successfully edited:
<br/>
{
.
join
(
'\n'
)
}
<br/>
</>
}
{
.
length
>
0
&&
<>
{
.
join
(
'\n'
)
}
{
this
.
props
.
model
&&
modelNeedsStrongReplaceStringHint
(
this
.
props
.
model
)
&&
<>
<br />
<br/>
{
}
</>
}
</>
}
{
.
length
>
0
&&
.
map
(
=>
{
return
<>
The edit to
{
.
file
}
was applied successfully.
<br/>
The edit resulted in the following lint errors:
<br/>
{
.
diagnostics
}
</>
;
}
)
}
</>
)
;
}
private
async
getNewDiagnostics
(
:
IEditedFile
)
:
Promise
<
Diagnostic
[
]
>
{
await
timeout
(
this
.
props
.
diagnosticsTimeout
??
1000
)
;
const
=
.
existingDiagnostics
||
[
]
;
const
:
Diagnostic
[
]
=
[
]
;
for
(
const
of
this
.
languageDiagnosticsService
.
getDiagnostics
(
.
uri
)
)
{
if
(
.
severity
!==
DiagnosticSeverity
.
Error
&&
.
severity
!==
DiagnosticSeverity
.
Warning
)
{
continue
;
}
// Won't help if edit caused lines to move around, but better than nothing
const
=
.
some
(
=>
.
message
===
.
message
&&
.
range
.
start
.
line
===
.
range
.
start
.
line
&&
.
range
.
start
.
character
===
.
range
.
start
.
character
&&
.
range
.
end
.
line
===
.
range
.
end
.
line
&&
.
range
.
end
.
character
===
.
range
.
end
.
character
)
;
if
(
!
)
{
.
push
(
)
;
}
}
return
;
}
private
async
sendEditFileResultTelemetry
(
:
number
,
:
number
)
{
const
=
this
.
props
.
model
&&
(
await
this
.
endpointProvider
.
getChatEndpoint
(
this
.
props
.
model
)
)
.
model
;
/* __GDPR__
"editFileResult.diagnostics" : {
"owner": "roblourens",
"comment": "Tracks whether new diagnostics were found after editing files",
"requestId": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The id of the current request turn." },
"toolName": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The name of the tool that performed the edit" },
"model": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The model that invoked the tool" },
"totalNewDiagnostics": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "comment": "Total number of new diagnostics found across all files" },
"filesWithNewDiagnostics": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "comment": "Number of files that had new diagnostics" },
"totalFilesEdited": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "comment": "Total number of files that were edited" }
}
*/