@@ -5,6 +5,7 @@ export const EXPERIMENT_IDS = {
55 IMAGE_GENERATION : "imageGeneration" ,
66 RUN_SLASH_COMMAND : "runSlashCommand" ,
77 CUSTOM_TOOLS : "customTools" ,
8+ PARALLEL_TOOL_EXECUTION : "parallelToolExecution" ,
89} as const satisfies Record < string , ExperimentId >
910
1011type _AssertExperimentIds = AssertEqual < Equals < ExperimentId , Values < typeof EXPERIMENT_IDS > > >
@@ -13,13 +14,17 @@ type ExperimentKey = Keys<typeof EXPERIMENT_IDS>
1314
1415interface ExperimentConfig {
1516 enabled : boolean
17+ /** Defaults to true; set to false to hide from the Settings panel. */
18+ showInSettings ?: boolean
1619}
1720
1821export const experimentConfigsMap : Record < ExperimentKey , ExperimentConfig > = {
1922 PREVENT_FOCUS_DISRUPTION : { enabled : false } ,
2023 IMAGE_GENERATION : { enabled : false } ,
2124 RUN_SLASH_COMMAND : { enabled : false } ,
2225 CUSTOM_TOOLS : { enabled : false } ,
26+ // TODO: add i18n keys (settings:experimental.PARALLEL_TOOL_EXECUTION.name/.description) in the same PR that sets showInSettings: true
27+ PARALLEL_TOOL_EXECUTION : { enabled : false , showInSettings : false } ,
2328}
2429
2530export const experimentDefault = Object . fromEntries (
0 commit comments