Skip to content

Commit 1c5bd66

Browse files
committed
feat: add BatchDiffApproval component for multi-file diff application
- Introduced a new component `BatchDiffApproval` to handle the approval of batch changes across multiple files. - Integrated the `BatchDiffApproval` component into `ChatRow` to display batch diff requests. - Updated experimental settings to include a toggle for multi-file apply diff functionality. - Enhanced localization files to support new strings related to batch changes in multiple languages. - Updated tests to cover the new multi-file apply diff feature.
1 parent 395f55b commit 1c5bd66

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2412
-166
lines changed

packages/types/src/experiment.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ import type { Keys, Equals, AssertEqual } from "./type-fu.js"
66
* ExperimentId
77
*/
88

9-
export const experimentIds = [
10-
"powerSteering",
11-
"marketplace",
12-
"concurrentFileReads",
13-
"disableCompletionCommand",
14-
] as const
9+
export const experimentIds = ["powerSteering", "concurrentFileReads", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"] as const
1510

1611
export const experimentIdsSchema = z.enum(experimentIds)
1712

@@ -26,6 +21,7 @@ export const experimentsSchema = z.object({
2621
marketplace: z.boolean(),
2722
concurrentFileReads: z.boolean(),
2823
disableCompletionCommand: z.boolean(),
24+
multiFileApplyDiff: z.boolean(),
2925
})
3026

3127
export type Experiments = z.infer<typeof experimentsSchema>

0 commit comments

Comments
 (0)