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 * as vscode from 'vscode';
import { l10n } from 'vscode';
import {
AgentTask,
AgentTaskArtifact,
AgentTaskBranchResourceData,
AgentTaskCreatePullRequestResponse,
AgentTaskCreateRequest,
AgentTaskGetResponse,
AgentTaskGitHubResourceData,
AgentTaskListEventsResponse,
AgentTaskListResponse,
AgentTaskSessionEvent,
AgentTaskSteerRequest,
RequestType,
} from '@vscode/copilot-api';
import { IAuthenticationService } from '../../../platform/authentication/common/authentication';
import { ICAPIClientService } from '../../../platform/endpoint/common/capiClient';
import GithubRepoId
IOctoKitService
ILogService
ICloudBackendInstrumentation
ITaskApiClient
ListTaskEventsOptions
ListTasksOptions
CloudDelegationResult
CloudAgentBackend
CloudSessionData
CreateCloudSessionParams
PullArtifactRef
TaskContent
extractTitle
ReadonlySet
slug
task AgentTask
collaborators task AgentTask agent_collaborators TaskAgentCollaborator agent_collaborators
collaboratorsc cslug cslug
task AgentTask AgentTaskArtifact data AgentTaskGitHubResourceData
taskartifacts
a a AgentTaskArtifact data AgentTaskGitHubResourceData
aprovider
atype
adata AgentTaskGitHubResourceDatatype
task AgentTask AgentTaskArtifact data AgentTaskBranchResourceData
taskartifacts
a a AgentTaskArtifact data AgentTaskBranchResourceData
aprovider
atype
adata AgentTaskBranchResourceDatahead_ref
htmlUrl owner name host
htmlUrl
hostname pathname htmlUrl
match pathname
match
owner match name match host hostname
task AgentTask PullArtifactRef
pullArtifact task
pullArtifact
globalId pullArtifactdataglobal_id
databaseId pullArtifactdataid
headRef taskdatahead_ref
task AgentTask
repoIdentity owner name
owner repo baseRef headRef
taskstate taskstate
task
branch task
branch
repo repoIdentity taskhtml_url
repo
owner repoowner repo reponame baseRef branchdatabase_ref headRef branchdatahead_ref
_taskApiClient ITaskApiClient
_logService ILogService
_octoKitService IOctoKitService
_instrumentation ICloudBackendInstrumentation
params CreateCloudSessionParams CloudDelegationResult
request AgentTaskCreateRequest
prompt paramsprompt
event_content paramsprompt
problem_statement paramsproblemStatement
base_ref paramsbaseRef
create_pull_request
event_type
paramsheadRef head_ref paramsheadRef
paramscustomAgent custom_agent paramscustomAgent
paramsmodel model paramsmodel
paramspartnerAgentId agent_id paramspartnerAgentId
createStart Date
task AgentTask
task _taskApiClientparamsowner paramsrepo request
e
_instrumentation Date createStart e
e
_instrumentation Date createStart
taskId taskid
taskUrl taskhtml_url
title taskname paramsprompt paramsproblemStatement paramstitle
sessionId taskid
repoIds GithubRepoId isAgentWorkspace CloudSessionData
listOpts ListTasksOptions per_page
tasksWithRepo task AgentTask repo CloudSessionData
isAgentWorkspace repoIds repoIdslength
response _taskApiClientlistOpts
task responsetasks
tasksWithRepo task repo
creatorId
creatorId
_logService
repoListOpts ListTasksOptions listOpts creator_id creatorId
responses
repoIds repo
r _taskApiClientrepoorg reporepo repoListOpts
repo owner repoorg name reporepo host repohost response r
e
_logService
_instrumentation e
repo owner repoorg name reporepo host repohost response tasks AgentTask satisfies AgentTaskListResponse
repo response responses
task responsetasks
tasksWithRepo task repo
repoByIdCache
resolveRepo task AgentTask listRepo CloudSessionData CloudSessionData
known listRepo taskhtml_url
known
known
repoId taskrepositoryid
repoId
pending repoByIdCacherepoId
pending
pending _octoKitServicerepoId e
_logService
repoByIdCacherepoId pending
pending
tasksWithRepo
task taskarchived_at task
task repo CloudSessionData
resolvedRepo task repo
taskId taskid
title taskname
state taskstate
createdAt taskcreated_at
completedAt taskstate taskupdated_at taskcreated_at
pullArtifact task
diffRefs task resolvedRepo
repo resolvedRepo
user _octoKitService
userid
e
_logService
taskId TaskContent
task _taskApiClienttaskId
task
turns
pullArtifact task
e
_logService
_instrumentation e
taskId AgentTaskSessionEvent
perPage
events AgentTaskSessionEvent
page page
response _taskApiClienttaskId per_page perPage page
batch responseevents
eventsbatch
batchlength batchlength perPage responsetotal eventslength responsetotal
events
e
_logService
_instrumentation e
events
taskId since turnCount updatedAt token vscodeCancellationToken TaskContent
startTime Date
Date startTime tokenisCancellationRequested
task _taskApiClienttaskId
turnCount tasksessionslength
updatedAtChanged sinceupdatedAt taskupdated_at taskupdated_at sinceupdatedAt
latestTurnState tasksessionsturnCount state
latestTurnSettled latestTurnState latestTurnState latestTurnState latestTurnState latestTurnState
turnCount sinceturnCount updatedAtChanged latestTurnSettled
sinceturnCount turnCount
createdAtMs taskcreated_at Datetaskcreated_at
_instrumentationNumbercreatedAtMs Math Date createdAtMs
task
turns
pullArtifact task
e
_logService
_instrumentation e
resolve resolve
taskId prompt
_taskApiClienttaskId content prompt type
_instrumentation
e
_logService
_instrumentation e
task AgentTaskGetResponse AgentTaskCreatePullRequestResponse
repo task
repo
l10n
_taskApiClientrepoowner reponame taskid
e
_instrumentation e
e
task AgentTaskGetResponse owner name
fromUrl taskhtml_url
fromUrl
fromUrl
repoId taskrepository id id
repoId
resolved _octoKitServicerepoId createIfNone detail l10n
resolved
resolved
_logService
message status action
message
name
_capiClientService ICAPIClientService
_authService IAuthenticationService
_logService ILogService
Record
session _authService silent
token sessionaccessToken
token
l10n
Authorization Accept
method
action AgentTaskRequestAction
opts owner repo taskId body searchParams Record
headers
init method headers Record body method headers
optsbody
initheaders
initbody optsbody
response _capiClientServiceinit
type RequestTypeAgentTask
action
optsowner owner optsowner
optsrepo repo optsrepo
optstaskId taskId optstaskId
optssearchParams searchParams optssearchParams
responseok
body
body response
_logService
l10n responsestatus responsestatusText responsestatus action
responsestatus responsestatus
response
owner repo request AgentTaskCreateRequest AgentTask
task owner repo body request
task
l10n
task
owner repo options ListTasksOptions AgentTaskListResponse
response
owner repo searchParams options
response tasks
options ListTasksOptions AgentTaskListResponse
response searchParams options
response tasks
taskId AgentTaskGetResponse
task taskId
task
l10n
task
taskId options ListTaskEventsOptions AgentTaskListEventsResponse
response
taskId searchParams options
response events total
taskId request AgentTaskSteerRequest
taskId body request
owner repo taskId AgentTaskCreatePullRequestResponse
result owner repo taskId
result
l10n
result
_owner _repo taskId AgentTask
task taskId
task
l10n
task
_owner _repo taskId AgentTask
task taskId
task
l10n
task
opts ListTasksOptions ListTaskEventsOptions Record
opts
result Record
key value Objectopts
value value
resultkey value
Objectresultlength result