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 assert from 'assert';
import type Anthropic from '@anthropic-ai/sdk';
import type { CCAModel } from '@vscode/copilot-api';
import { CancellationToken, CancellationTokenSource } from '../../../../base/common/cancellation.js';
import { Event } from '../../../../base/common/event.js';
import type { DisposableStore } from '../../../../base/common/lifecycle.js';
import { URI } from '../../../../base/common/uri.js';
import { ensureNoDisposablesAreLeakedInTestSuite
NullLogService
buildUncommittedChangesetUri
SessionStatus withSessionGitState
IAgentHostGitService IBranch IDefaultBranch
AgentHostCommitOperationHandler
createTestGitHubEndpointService
AgentHostStateManager
CopilotApiError
ProtocolError
ChangesSummary
IAgentHostChangesetService IPersistedChangesetMetadata IRestoredChangesetDiffs StaticChangesetKind
IAgentHostAuthenticationService
_serviceBrand
calls
uncommitted
diffs ISessionFileDiff
after uri content uri
diff added removed
IDefaultBranch name startPoint
IBranch
IBranch
IBranch
calls
uncommitted
_workingDirectory message
calls
uncommitted
ISessionFileDiff
calls
diffs
ISessionFileDiff
_serviceBrand
calls token request ICopilotUtilityChatCompletionRequest options ICopilotApiServiceRequestOptions
response
error Error
_githubToken request AnthropicMessageCreateParamsStreaming _options ICopilotApiServiceRequestOptions AsyncGeneratorAnthropicMessageStreamEvent
_githubToken request AnthropicMessageCreateParamsNonStreaming _options ICopilotApiServiceRequestOptions AnthropicMessage
AsyncGeneratorAnthropicMessageStreamEvent AnthropicMessage
githubToken
body
options ICopilotApiServiceRequestOptions
Response
AnthropicMessageTokensCount
CCAModel
restrictedTelemetryEnabled trackingId telemetryEndpoint
githubToken request ICopilotUtilityChatCompletionRequest options ICopilotApiServiceRequestOptions
calls token githubToken request options
error
error
response
_serviceBrand
calls
_session _kind StaticChangesetKind _diffs ISessionFileDiff
_sessionUri _metadata IPersistedChangesetMetadata IRestoredChangesetDiffs
_sessionUri _diffs IRestoredChangesetDiffs
_sessionUri _metadata IPersistedChangesetMetadata IRestoredChangesetDiffs
_sessionUri _summary ChangesSummary
_sessionUri Record
_sessionUri _metadata Record ChangesSummary
session calls
session calls
session calls
_session
_session
session calls
_session _turnId
_session _originalTurnId _modifiedTurnId
_session _turnId
_session _turnId
_session
token IAgentHostAuthenticationService
_serviceBrand
onDidChangeAuthToken EventNone
token
disposables PickDisposableStore gitService TestGitService copilotApiService TestCopilotApiService changesets TestChangesetService options onCommittedError Error handler AgentHostCommitOperationHandler session committedSessions
stateManager disposables
session
committedSessions
stateManager
resource session
provider
title
status SessionStatusIdle
createdAt
modifiedAt
workingDirectories
stateManagersession
branchName
uncommittedChanges
handler sessionKey stateManagersessionKey sessionKey
committedSessionssessionKey
changesetscalls
optionsonCommittedError
optionsonCommittedError
gitService copilotApiService
session
committedSessions
disposables
gitService
copilotApiService
changesets
handler session committedSessions disposables gitService copilotApiService changesets
result handler channel session operationId AgentHostCommitOperationHandler CancellationTokenNone
assert
message resultmessage
gitCalls gitServicecalls
completion copilotApiServicecallscall token calltoken fileIncluded callrequestmessagesmessage messagecontent
changesetCalls changesetscalls
committedSessions
message markdown
gitCalls
completion token fileIncluded
changesetCalls
committedSessions
gitService
gitServiceuncommitted
copilotApiService
changesets
handler session disposables gitService copilotApiService changesets
result handler channel session operationId AgentHostCommitOperationHandler CancellationTokenNone
assert message resultmessage gitCalls gitServicecalls completionCalls copilotApiServicecallslength changesetCalls changesetscalls
message markdown
gitCalls
completionCalls
changesetCalls
gitService
copilotApiService
changesets
handler session committedSessions disposables gitService copilotApiService changesets onCommittedError
result handler channel session operationId AgentHostCommitOperationHandler CancellationTokenNone
assert
message resultmessage
gitCalls gitServicecalls
changesetCalls changesetscalls
committedSessions
message markdown
gitCalls
changesetCalls
committedSessions
gitService
copilotApiService
changesets
handler session disposables gitService copilotApiService changesets
cts disposables
cts
assert
handler channel session operationId AgentHostCommitOperationHandler ctstoken
assert gitCalls gitServicecalls completionCalls copilotApiServicecallslength changesetCalls changesetscalls
gitCalls
completionCalls
changesetCalls
gitService
copilotApiService
copilotApiServiceerror
type
error type message
request_id
changesets
handler session committedSessions disposables gitService copilotApiService changesets
err ProtocolError
handler channel session operationId AgentHostCommitOperationHandler CancellationTokenNone
error
err error ProtocolError
assert
code errcode
data errdata
gitCalls gitServicecalls
completionCalls copilotApiServicecallslength
changesetCalls changesetscalls
committedSessions
code
data
gitCalls
completionCalls
changesetCalls
committedSessions
gitService
copilotApiService
copilotApiServiceerror
changesets
handler session committedSessions disposables gitService copilotApiService changesets
err ProtocolError
handler channel session operationId AgentHostCommitOperationHandler CancellationTokenNone
error
err error ProtocolError
assert
code errcode
data errdata
gitCalls gitServicecalls
completionCalls copilotApiServicecallslength
changesetCalls changesetscalls
committedSessions
code
data
gitCalls
completionCalls
changesetCalls
committedSessions