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 { DisposableStore } from '../../../../base/common/lifecycle.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { NullLogService } from '../../../log/common/log.js';
import { feedbackAnnotationEntryMeta, FEEDBACK_ANNOTATION_META_KEY, readFeedbackAnnotationEntryAuthor, type IFeedbackAnnotationMeta } from '../../common/meta/agentFeedbackAnnotations.js';
import { ActionType } from '../../common/state/protocol/common/actions.js';
import { Annotation, AnnotationsState, SessionStatus SessionSummary buildChatUri buildDefaultChatUri
buildAnnotationsUri
AgentHostStateManager
AgentServerToolHost
addCommentToolName
applyFeedbackTool
deleteCommentsToolName
feedbackServerToolDefinitions
feedbackServerToolGroup
feedbackToolRequiresConfirmation
listCommentsToolName
replyToCommentToolName
resolveCommentsToolName
viewUnreviewedCommentsToolName
sessionResource
fileUri
id state resolved text kind pendingAgentReveal Annotation
id
origin session sessionResource
resource fileUri
range start line character end line character
resolved
entries id text
_meta kind state sessionResource pendingAgentReveal pendingAgentReveal
annotations Annotation AnnotationsState
annotations
thread
threadentries
threadentries
id text _meta
id text _meta
id text
outcome thread sessionResource listCommentsToolName
comment outcomeresultcomments
assert kind commentkind author commentauthor replies commentreplies
kind
author
replies
author text
author text
author text
orphan Annotation
id
origin session sessionResource
resource fileUri
range start line character end line character
resolved
entries id text
_meta kind state sessionResource
assertorphan sessionResource listCommentsToolName resultcomments
outcome sessionResource addCommentToolName
resourceUri fileUri
range startLineNumber startColumn endLineNumber endColumn
text
assertoutcomeresult
assertoutcomeactionslength
action outcomeactions
assertactiontype ActionTypeAnnotationsSet
set action Extract action type ActionTypeAnnotationsSet
assertsetannotationrange start line character end line character
assertsetannotationentrieslength
assertsetannotationentriestext
assertsetannotation_meta kind state sessionResource
state
outcome state sessionResource listCommentsToolName
assertoutcomeactionslength
assertoutcomeresult
comments
id
resourceUri fileUri
range startLineNumber startColumn endLineNumber endColumn
text
kind
author
resolved
note
state
outcome state sessionResource listCommentsToolName includeResolved
assert
outcomeresultcommentscomment id commentid
assert
sessionResource listCommentsToolName includeResolved
state
outcome state sessionResource replyToCommentToolName commentId text
action outcomeactions Extract outcomeactions type ActionTypeAnnotationsEntrySet
assert
actionType actiontype
annotationId actionannotationId
entryText actionentrytext
entryAuthor actionentry
comment outcomeresultcomment
actionType ActionTypeAnnotationsEntrySet
annotationId
entryText
entryAuthor
comment
id
resourceUri fileUri
range startLineNumber startColumn endLineNumber endColumn
text
kind
author
resolved
replies author text
state
assert
state sessionResource replyToCommentToolName commentId text
assert
state sessionResource replyToCommentToolName commentId text
state
outcome state sessionResource deleteCommentsToolName commentIds
assertoutcomeactions type ActionTypeAnnotationsRemoved annotationId
parsed outcomeresult
assertparseddeletedCommentIds
assertparsednotFoundCommentIds
assertparsedremainingComments
state
outcome state sessionResource resolveCommentsToolName commentIds
assertoutcomeactionslength
set outcomeactions Extract outcomeactions type ActionTypeAnnotationsSet
assertsettype ActionTypeAnnotationsSet
assertsetannotationresolved
assertsetannotation_meta kind state sessionResource
parsed outcomeresult
assertparsedupdatedCommentIds
assertparsedresolved
state
outcome state sessionResource resolveCommentsToolName commentIds resolved
set outcomeactions Extract outcomeactions type ActionTypeAnnotationsSet
assertsetannotationresolved
assertsetannotation_meta kind state sessionResource
assert sessionResource
state
outcome state sessionResource listCommentsToolName
assertoutcomeresultnote
state
outcome state sessionResource listCommentsToolName
assert
outcomeresultnote
state
outcome state sessionResource viewUnreviewedCommentsToolName
clearedIds outcomeactionsa a Extract a type ActionTypeAnnotationsSet annotationid
clearedFlags outcomeactionsa a Extract a type ActionTypeAnnotationsSet annotation_meta pendingAgentReveal
assert
returnedIds outcomeresultcommentsc id cid
clearedIds
flagsCleared clearedFlagsmeta metapendingAgentReveal
returnedIds
clearedIds
flagsCleared
state
outcome state sessionResource viewUnreviewedCommentsToolName
submitted outcomeactionsaction
annotation action Extract action type ActionTypeAnnotationsSet annotation
meta annotation_meta IFeedbackAnnotationMeta
id annotationid
kind metakind
state metastate
sessionResource metasessionResource
pendingAgentReveal metapendingAgentReveal
assert
returnedIds outcomeresultcommentscomment id commentid
submitted
returnedIds
submitted
id kind state sessionResource pendingAgentReveal
id kind state sessionResource pendingAgentReveal
assert
view viewUnreviewedCommentsToolName
list listCommentsToolName
add addCommentToolName
reply replyToCommentToolName
del deleteCommentsToolName
resolve resolveCommentsToolName
view
list
add
reply
del
resolve
assert sessionResource addCommentToolName resourceUri fileUri text
assert sessionResource addCommentToolName resourceUri range text
foreign Annotation
id
origin session sessionResource
resource fileUri
range start line character end line character
resolved
entries id text
state foreign
listed state sessionResource listCommentsToolName
deleted state sessionResource deleteCommentsToolName commentIds
resolved state sessionResource resolveCommentsToolName commentIds
assert
state sessionResource replyToCommentToolName commentId text
assert
listedIds listedresultcommentsc id cid
deleteActions deletedactions
deleteNotFound deletedresultnotFoundCommentIds
resolveActions resolvedactions
resolveNotFound resolvedresultnotFoundCommentIds
listedIds
deleteActions
deleteNotFound
resolveActions
resolveNotFound
disposables DisposableStore
manager AgentHostStateManager
host AgentServerToolHost
SessionSummary
resource sessionResource
provider
title
status SessionStatusIdle
createdAt
modifiedAt
disposables
manager disposables
host manager feedbackServerToolGroup
disposables
hostsessionResource addCommentToolName
resourceUri fileUri
range startLineNumber startColumn endLineNumber endColumn
text
snapshot managersessionResource
state snapshotstate AnnotationsState
assertstateannotationslength
assertstateannotationsentriestext
annotationsUri sessionResource
managerannotationsUri
type ActionTypeAnnotationsSet
annotation
hostsessionResource replyToCommentToolName
commentId
text
state managerannotationsUristate AnnotationsState
assertstateannotationsentriesentry entrytext
chatUri sessionResource
hostchatUri addCommentToolName
resourceUri fileUri
range startLineNumber startColumn endLineNumber endColumn
text
assertmanagerchatUri
state managersessionResourcestate AnnotationsState
assertstateannotationslength
meta stateannotations_meta sessionResource
assert
text stateannotationsentriestext
sessionResource metasessionResource
text
sessionResource
annotationsUri sessionResource
managerannotationsUri
type ActionTypeAnnotationsSet
annotation
result hostsessionResource viewUnreviewedCommentsToolName
state managerannotationsUristate AnnotationsState
meta stateannotations_meta IFeedbackAnnotationMeta
assert
returnedIds resultcommentscomment id commentid
state metastate
returnedIds
state
manager
hostsessionResource
state managersessionResource
assertstateserverTools feedbackServerToolDefinitions
actionTypes
disposablesmanagerenvelope actionTypesenvelopeactiontype
hostsessionResource
assertactionTypes
assert
view hostviewUnreviewedCommentsToolName
list hostlistCommentsToolName
host
view
list
annotationsUri sessionResource
chatUri sessionResource
defaultChatUri sessionResource
empty hostdefaultChatUri viewUnreviewedCommentsToolName
managerannotationsUri
type ActionTypeAnnotationsSet
annotation
acceptedOnly hostdefaultChatUri viewUnreviewedCommentsToolName
managerannotationsUri
type ActionTypeAnnotationsSet
annotation
created hostdefaultChatUri viewUnreviewedCommentsToolName
peerChat hostchatUri viewUnreviewedCommentsToolName
hostdefaultChatUri viewUnreviewedCommentsToolName
delivered hostdefaultChatUri viewUnreviewedCommentsToolName
managerannotationsUri
type ActionTypeAnnotationsSet
annotation
pendingSelection hostdefaultChatUri viewUnreviewedCommentsToolName
assert
empty
acceptedOnly
created
peerChat
delivered
pendingSelection
empty
acceptedOnly
created
peerChat
delivered
pendingSelection