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 { Emitter } from '../../../../../base/common/event.js';
import { ISettableObservable, observableValue } from '../../../../../base/common/observable.js';
import { URI } from '../../../../../base/common/uri.js';
import { IRange, Range } from '../../../../../editor/common/core/range.js';
import { mock } from '../../../../../base/test/common/mock.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import { generateUuid
IActiveSession
ISessionsService
ICodeReviewService ICodeReviewSuggestion IPRReviewComment IPRReviewState PRReviewStateKind
IAgentFeedbackContext
AgentFeedbackKind AgentFeedbackState IAgentFeedback IAgentFeedbackService
AgentFeedbackPRReviewSeederContribution
store
session
fileA
pullRequest owner repo uri
feedbackItems IAgentFeedback
loaded
onDidChangeFeedback Emitter sessionResource feedbackItems IAgentFeedback
prReviewState ISettableObservableIPRReviewState
activeSession ISettableObservableIActiveSession
id line body IPRReviewComment
id pullRequest uri fileA range line line body author
comments IPRReviewComment incompletePullRequests pullRequest
prReviewState kind PRReviewStateKindLoaded comments incompletePullRequests
sourceId prNumber state AgentFeedbackState text
feedbackItems
i ikind AgentFeedbackKindPRReview
i sourceId isourcePRReviewCommentId prNumber isourcePullRequest state istate text itext
providerId IActiveSession
override resource session
override providerId providerId
feedbackItems
loaded
onDidChangeFeedback store
prReviewState kind PRReviewStateKindNone
activeSession
feedbackService
override onDidChangeFeedback onDidChangeFeedbackevent
override _sessionResource loaded
override _sessionResource IAgentFeedback feedbackItems
override sessionResource resourceUri range IRange text _suggestion ICodeReviewSuggestion _context IAgentFeedbackContext sourcePRReviewCommentId _kind AgentFeedbackKind state AgentFeedbackState AgentFeedbackStateAccepted sourcePullRequest IAgentFeedback IAgentFeedback
feedback IAgentFeedback id text resourceUri range sessionResource kind AgentFeedbackKindPRReview sourcePRReviewCommentId sourcePullRequest state
feedbackItemsfeedback
onDidChangeFeedback sessionResource feedbackItems
feedback
override _sessionResource feedbackId
idx feedbackItemsi iid feedbackId
idx
feedbackItemsidx
onDidChangeFeedback sessionResource session feedbackItems
override _sessionResource feedbackId newText
idx feedbackItemsi iid feedbackId
idx
feedbackItemsidx feedbackItemsidx text newText
onDidChangeFeedback sessionResource session feedbackItems
override _sessionResource feedbackId sourcePullRequest IAgentFeedback
idx feedbackItemsi iid feedbackId
idx
feedbackItemsidx feedbackItemsidx sourcePullRequest
onDidChangeFeedback sessionResource session feedbackItems
codeReviewService
override _sessionResource prReviewState
sessionsService
override activeSession activeSession
store feedbackService codeReviewService sessionsService
assert
sourceId prNumber state AgentFeedbackStateCreated text
sourceId prNumber state AgentFeedbackStateCreated text
assertm msourceId
assert
sourceId prNumber state AgentFeedbackStateCreated text
feedbackItems feedbackItems state AgentFeedbackStateAccepted
assert
sourceId prNumber state AgentFeedbackStateAccepted text
assertm msourceId
feedbackItems feedbackItems state AgentFeedbackStateAccepted
assert
sourceId prNumber state AgentFeedbackStateAccepted text
feedbackItems
id text resourceUri fileA range sessionResource session kind AgentFeedbackKindPRReview sourcePRReviewCommentId state AgentFeedbackStateCreated
id text resourceUri fileA range sessionResource session kind AgentFeedbackKindPRReview sourcePRReviewCommentId state AgentFeedbackStateCreated
assertm msourceId
loaded
assert
loaded
onDidChangeFeedback sessionResource session feedbackItems
assertm msourceId
activeSession
assert
feedbackItems
id
text
resourceUri fileA
range
sessionResource session
kind AgentFeedbackKindPRReview
sourcePRReviewCommentId
state AgentFeedbackStateCreated
assert
sourceId prNumber state AgentFeedbackStateCreated text
feedbackItems
id
text
resourceUri fileA
range
sessionResource session
kind AgentFeedbackKindPRReview
sourcePRReviewCommentId
state AgentFeedbackStateCreated
assert
feedbackItems
id text resourceUri fileA range sessionResource session kind AgentFeedbackKindPRReview sourcePRReviewCommentId sourcePullRequest pullRequest state AgentFeedbackStateCreated
id text resourceUri fileA range sessionResource session kind AgentFeedbackKindPRReview sourcePRReviewCommentId sourcePullRequest pullRequest state AgentFeedbackStateCreated
id text resourceUri fileA range sessionResource session kind AgentFeedbackKindPRReview sourcePRReviewCommentId sourcePullRequest pullRequest state AgentFeedbackStateCreated
incompletePullRequest pullRequest uri
feedbackItems feedbackItems sourcePullRequest incompletePullRequest
incompletePullRequest
assertmirror mirrorsourceId