Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

Merge: resolve import conflict between review (#2269) and subagent (#2263)

MagicLizi8fe482da6c47
diff --cc apps/desktop/src/main/maker-ipc/register.ts
index 30d90bbd2d,a8235058b8..87ec025597
--- a/apps/desktop/src/main/maker-ipc/register.ts
+++ b/apps/desktop/src/main/maker-ipc/register.ts
@@@ -181,46 -179,14 +181,54 @@@ import
import { invalidateWorkersByLeadSingleFlight } from '../localDb/ipc/orcaWorkerListSingleFlight.js';
import { messageToCamel } from '../localDb/mapper.js';
import { visibleMessageTextForConversationSearch } from '../localDb/conversationSearch.pure.js';
+import { buildReviewPrompt } from '../reviewer/reviewPrompt.js';
+import {
+ listReviewHistoricalAttachments,
+ loadReviewEvidence,
+ readReviewContextFingerprint,
+ reviewWorkspaceFingerprintIsCurrent,
+ resolveReviewArtifactPath,
+ SensitiveReviewPathError,
+} from '../reviewer/reviewEvidence.js';
+import {
+ authorizeReviewExplicitArtifacts,
+ ReviewArtifactAuthorizationError,
+ type ReviewArtifactConfirmationItem,
+} from '../reviewer/reviewArtifactAuthorization.js';
+import { buildReviewArtifactConfirmationDialog } from '../reviewer/reviewArtifactDialog.js';
+import {
+ cleanupOrphanedReviewArtifactSnapshots,
+ prepareStableReviewArtifactSnapshots,
+} from '../reviewer/reviewArtifactSnapshot.js';
+import { fingerprintReviewArtifacts } from '../reviewer/reviewArtifactFingerprint.js';
+import { enforceReviewCreateOptions } from '../reviewer/reviewSessionPolicy.js';
+import { reviewSourceIdentityMatches } from '../reviewer/reviewSourceIdentity.js';
+import { buildReviewSessionTitle } from '../reviewer/reviewSessionTitle.js';
+import {
+ readReviewRunFromAgentMeta,
+ type ReviewRunMeta,
+ type ReviewRunOwner,
+} from '../../shared/reviewRun.js';
+import {
+ createRetryableReviewStartup,
+ hasReviewOwnerProcessEnded,
+ shouldFailInterruptedReview,
+} from '../reviewer/reviewRunRecovery.js';
+import { startReviewOwnerLiveness } from '../reviewer/reviewOwnerLiveness.js';
+import {
+ discardInvalidReviewSourceLease,
+ listPersistedReviewSourceLeases,
+ releaseReviewSourceLease,
+ tryAcquireReviewSourceLease,
+} from '../reviewer/reviewSourceLease.js';
+ import { persistSubagentTaskUpdate } from '../localDb/subagentRuns.js';
+ import { broadcastSubagentRunsChanged } from '../localDb/ipc/subagentRuns.js';
+ import {
+ captureSubagentObservationGeneration,
+ clearSubagentObservationRewindState,
+ enqueueSubagentObservationWrite,
+ noteSubagentObservationTurnStarted,
+ } from '../subagentObservationRewindFence.js';
import {
applyAgentSwitchToSessionRow,
applyAgentSwitchResumeFallbackAtomically,