ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это 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 { RequestType } from '@vscode/copilot-api';
import { Raw } from '@vscode/prompt-tsx';
import { ChatCompletionItem, ChatContext, ChatPromptReference, ChatRequest, ChatRequestTurn, ChatResponseMarkdownPart, ChatResponseReferencePart, ChatResponseTurn, ChatResponseWarningPart, ChatVariableLevel, Disposable, DynamicChatParticipantProps, Location, MarkdownString, Position, Progress, Range, TextDocument, TextEditor, ThemeIcon, chat, commands, l10n } from 'vscode';
import { IAuthenticationService } from
IAuthenticationChatUpgradeService
ChatFetchResponseType ChatLocation
ICAPIClientService
IEndpointProvider
RemoteAgentChatEndpoint
IVSCodeExtensionContext
IGitService getGitHubRepoInfoFromContext toGithubNwo
IGithubRepositoryService
IIgnoreService
ILogService
ICopilotReference
Response
ITabsAndEditorsService
IWorkspaceService
DeferredPromise
DisposableStore IDisposable
path
generateUuid
IInstantiationService
ChatResponseReferencePart2 Uri
ICopilotChatResult ICopilotChatResultIn
IPromptVariablesService
IUserFeedbackService
name
avatar_url
owner_login
owner_avatar_url
description
slug
editor_context
agents IAgent
agentRegistrations
key
web
IFileReference ISelectionReference IGitHubRepositoryReference
type
data
language
content
is_implicit
id
type
data
start line col
end line col
content
is_implicit
id
type
data
type
name
ownerLogin
id
id
disposables
refreshRemoteAgentsP
enabledSkillsPromise Set
logService ILogService
endpointProvider IEndpointProvider
capiClientService ICAPIClientService
promptVariablesService IPromptVariablesService
workspaceService IWorkspaceService
tabsAndEditorsService ITabsAndEditorsService
ignoreService IIgnoreService
gitService IGitService
githubRepositoryService IGithubRepositoryService
vscodeExtensionContext IVSCodeExtensionContext
authenticationService IAuthenticationService
userFeedbackService IUserFeedbackService
instantiationService IInstantiationService
authenticationChatUpgradeService IAuthenticationChatUpgradeService
disposables agentRegistrationsagent agent
disposablesauthenticationService
disposables
refreshRemoteAgentsP
refreshRemoteAgentsP
refreshRemoteAgentsP refreshRemoteAgentsP
existingAgents agentRegistrations
authToken authenticationServiceanyGitHubSessionaccessToken
authToken
logService
existingAgents
logService
agentRegistrations
ex
logService
response capiClientService
method
headers
Authorization
type RequestTypeRemoteAgent
text response
newAgents IAgent
newAgents IAgentsResponsetextagents
newAgents
e
text
logService
agent newAgents
existingAgentsagentslug
agentRegistrationsagentslug agent
e
logServicee
item existingAgents
agentRegistrationsitem
agentRegistrationsitem
agent
agent
key
vscodeExtensionContextglobalStatekey vscodeExtensionContextworkspaceStatekey
agent isGlobal
memento isGlobal vscodeExtensionContextglobalState vscodeExtensionContextworkspaceState
memento
agentData IAgent Disposable
store
participantId
slug agentDataslug
description agentDatadescription l10n
dynamicProps DynamicChatParticipantProps
name slug
description
publisherName agentDataowner_login
fullName agentDataname
hasShownImplicitContextAuthorizationForSession
agent storechatparticipantId dynamicProps request context responseStream token ICopilotChatResult
sessionId context
responseId
modelMessageId
metadata ICopilotChatResult Record
sessionId
modelMessageId
responseId
agentId participantId
command requestcommand
accessToken
requestacceptedConfirmationData
data requestacceptedConfirmationData
dataurl
slug requestpromptl10n
commands Uridataurl
responseStreaml10n
metadata satisfies ICopilotChatResult
datahasAcknowledgedImplicitReferences
slug requestpromptl10n
responseStreaml10n
metadata satisfies ICopilotChatResult
dataauthPermissionPrompted
request authenticationChatUpgradeServiceresponseStream request contexthistory
metadatacommand requestcommand
accessToken authenticationService silent accessToken
accessToken
responseStreaml10n
metadata satisfies ICopilotChatResult
agentDataslug
accessToken authenticationServicepermissiveGitHubSessionaccessToken
accessToken
authenticationServiceisMinimalMode
responseStreaml10n
responseStream
title l10n
command
arguments revealSetting key
authenticationChatUpgradeService
responseStream
request
l10n
metadata satisfies ICopilotChatResult
accessToken
accessToken authenticationServiceanyGitHubSessionaccessToken
selectedEndpoint endpointProviderrequest
endpoint instantiationServiceRemoteAgentChatEndpoint
model_picker_enabled
is_chat_default
vendor selectedEndpointmodelProvider
billing selectedEndpointisPremium selectedEndpointmultiplier is_premium selectedEndpointisPremium multiplier selectedEndpointmultiplier restricted_to selectedEndpointrestrictedToSkus
is_chat_fallback
capabilities
supports tool_calls selectedEndpointsupportsToolCalls vision selectedEndpointsupportsVision streaming
type
tokenizer selectedEndpointtokenizer
family selectedEndpointfamily
id selectedEndpointmodel
name selectedEndpointname
version selectedEndpointversion
agentData type RequestTypeRemoteAgentChat slug agentDataslug type RequestTypeRemoteAgentChat
resolved promptVariablesServicerequestprompt requestreferences
copilotReferences
copilot_skills slug request
hasIgnoredFiles
result requestreferences slug
hasIgnoredFiles resulthasIgnoredFiles
resultclientReferences
copilotReferencesresultclientReferences
ref resultvscodeReferences
responseStreamref
ex
ex exmessage
responseStreaml10n
metadata satisfies ICopilotChatResult
errorDetails message exmessage
metadata
reportedReferences
agentReferences ICopilotReference
confirmations request
reportedProgress ProgressChatResponseWarningPart ChatResponseReferencePart2
pendingProgress resolvedMessage deferred DeferredPromise
hadCopilotErrorsOrConfirmations
response endpoint
participantId context
role RawChatRoleUser
content requestacceptedConfirmationDatalength requestrejectedConfirmationDatalength
type RawChatCompletionContentPartKindText text resolvedmessage
copilotReferenceslength copilot_references copilotReferences
confirmationslength copilot_confirmations confirmations
result _ delta
deltacopilotReferences
reference ICopilotReference parentReference ICopilotReference
url reference referenceurl referencedata referencedataurl referencedata referencedatahtml_url
url url
reportedReferencesurl
icon ChatResponseReferencePart
parsed url
parsedhostname
icon
icon
reportedProgress
reportedProgress Uriurl icon
responseStreamUriurl icon
reportedReferencesurl parentReference reference
referencemetadata
icon referencemetadatadisplay_icon Urireferencemetadatadisplay_icon
value referencemetadatadisplay_url Urireferencemetadatadisplay_url referencemetadatadisplay_name
reportedProgress
reportedProgress value icon
responseStreamvalue icon
reportedReferencesreferencemetadatadisplay_url referencemetadatadisplay_name parentReference reference
reference deltacopilotReferences
referencedataresults
referencedataresultsr
r reference
referencedatatype
agentReferencesreference
referencetype
referencedata referencedata referencedataurl referencemetadata
reference
progress ProgressChatResponseWarningPart ChatResponseReferencePart resolvedMessage
pendingProgressdeferredpendingProgressresolvedMessage
reportedProgress progress
deferred
pendingProgress deferred resolvedMessage
deferredp
delta_deprecatedCopilotFunctionCalls
call delta_deprecatedCopilotFunctionCalls
callname
data query callarguments
responseStreaml10n dataquery progress progress l10n dataquery
ex
data query scopingQuery callarguments
responseStreaml10n datascopingQuery dataquery progress
progress l10n dataquery datascopingQuery
ex
deltacopilotErrors responseStreamwarning
hadCopilotErrorsOrConfirmations
error deltacopilotErrors
reportedProgress
reportedProgress errormessage
responseStreamerrormessage
deltacopilotConfirmation
hadCopilotErrorsOrConfirmations
confirm deltacopilotConfirmation
responseStreamconfirmtitle confirmmessage confirmconfirmation
deltatext
pendingProgressdeferredpendingProgressresolvedMessage
md deltatext
mdsupportHtml
responseStreammd
token
ChatLocationPanel
secretKey accessToken
copilot_thread_id sessionId
copilot_skills copilot_skills
messageSource
metadata reportedReferences agentReferences
responsetype ChatFetchResponseTypeSuccess hasIgnoredFiles
responseStream
responsetype ChatFetchResponseTypeSuccess
logService
responsereason
errorDetails message
metadata
responsetype ChatFetchResponseTypeAgentUnauthorized
url responseauthorizationUrl
editorContext agentDataeditor_context l10n slug
responseStream
l10n
editorContext
l10n
message
args slug urlhostname
comment
url responseauthorizationUrl
l10n l10n
metadata nextQuestion prompt requestprompt participant participantId command requestcommand satisfies ICopilotChatResult
responsetype ChatFetchResponseTypeAgentFailedDependency
errorDetails message l10n responsereason
metadata
responsetype ChatFetchResponseTypeUnknown hadCopilotErrorsOrConfirmations
errorDetails message responsereason
metadata
slug agentDataeditor_context hasShownImplicitContextAuthorizationForSession
responseStream
l10n
l10n
message
args slug
comment
hasAcknowledgedImplicitReferences
l10n l10n
hasShownImplicitContextAuthorizationForSession
metadata satisfies ICopilotChatResult
e
logService
metadata
agenticonPath agentData UriagentDataavatar_url
slug
agentparticipantVariableProvider
triggerCharacters
provider
query token
items
itemsi
item iname value iinsertText level ChatVariableLevelFull description idescription
itemcommand icommand
itemdetail idescription
item
store
agente userFeedbackServicee participantId
store
variables ChatPromptReference slug
clientReferences IPlatformReference
vscodeReferences
variableName
value Uri Location
Location Uri
hasIgnoredFiles
hasSentImplicitSelectionReference
document TextDocument range Range
filename pathdocumenturi
content documentrange
ignoreServicedocumenturi
hasIgnoredFiles
content
filename
content
Buffercontent
content
content
uri Uri
repository gitServiceuri
baseUri repository repositoryrootUri workspaceServiceuri
baseUri pathbaseUri uri pathuripath
document TextDocument variableName isImplicit
clientReferences
type
data
language documentlanguageId
content document
is_implicit isImplicit
id documenturi
vscodeReferencesvariableName
variableName value documenturi
documenturi
activeTextEditor TextEditor variableName reportReference isImplicit
selectionStart activeTextEditorselectionstartline
selection activeTextEditorselectionisEmpty selectionStart selectionStart activeTextEditorselection
clientReferences
type
data
start line selectionstartline col selectionstartcharacter
end line selectionendline col selectionendcharacter
content activeTextEditordocument selection
is_implicit isImplicit
id activeTextEditordocumenturi
reportReference
vscodeReferencesvariableName
variableName value activeTextEditordocumenturi selection
activeTextEditordocumenturi selection
slug
activeTextEditor tabsAndEditorsService
activeTextEditor variablesv vid
activeTextEditordocument
activeTextEditor
hasSentImplicitSelectionReference
variable variables
variablevalue
textDocument workspaceServicevariablevalue
textDocument variablename
variablename
activeTextEditor tabsAndEditorsService
activeTextEditor
l10n message comment
hasSentImplicitSelectionReference
activeTextEditor variablename
variablename tabsAndEditorsServiceactiveTextEditor
tabsAndEditorsServiceactiveTextEditordocument variablename
gitServiceisInitialized
gitService
repositories gitServicerepositories
repository repositories
repoId repositoryid
repoId
repo githubRepositoryServicerepoIdorg repoIdrepo
clientReferences
type
id repoId
data
type
name repoIdrepo
ownerLogin repoIdorg
id repoid
ex
ex exmessage
authenticationService silent
logServiceex
clientReferences vscodeReferences hasIgnoredFiles
authToken
enabledSkillsPromise
enabledSkillsPromise capiClientService
method
headers
Authorization
type RequestTypeListSkills
response response
json jsonacc Set skill slug accskillslug
enabledSkillsPromise
agent request ChatRequest copilot_skills
agent
skills
variable requestreferences
variablename
skillsvariablename
copilot_skills skills
copilot_skills
authToken authenticationServiceanyGitHubSessionaccessToken
authToken
skills authToken
name insertText description kind command
skill skillsskillkind
request ChatRequest
confirmations
requestacceptedConfirmationDatac state confirmation c
requestrejectedConfirmationDatac state confirmation c
confirmations
agentId context ChatContext RawChatMessage
result RawChatMessage
h contexthistory
hparticipant agentId
h
result
role RawChatRoleUser
content type RawChatCompletionContentPartKindText text hprompt
h
copilot_references hresultmetadata
content hresponser
r
rvaluevalue
r
rcontent
r r
result
role RawChatRoleAssistant
content type RawChatCompletionContentPartKindText text content
copilot_references copilot_references
result
context ChatContext
sessionId
h contexthistory
h
maybeSessionId hresult ICopilotChatResultInmetadatasessionId
maybeSessionId
sessionId maybeSessionId
sessionId