@@ -718,16 +718,16 @@ function NewApiKeyDialog({
718718 { presets ? (
719719 < RadioGroup value = { presetId } onValueChange = { setPresetId } className = "space-y-4" >
720720 < PresetOptions presets = { presets } ids = { [ "FULL_ACCESS" ] } className = "grid" />
721- < PresetGroup
722- title = "Trigger and operate tasks"
723- presets = { presets }
724- ids = { [ "TRIGGER_ONLY" , "TASK_OPERATOR" ] }
725- />
726- < PresetGroup
727- title = "Environment capabilities"
728- presets = { presets }
729- ids = { [ "ENVIRONMENT_OBSERVER" , "ENVIRONMENT_OPERATOR" ] }
730- />
721+ < PresetGroup
722+ title = "Trigger and operate tasks"
723+ presets = { presets }
724+ ids = { [ "TRIGGER_ONLY" , "TASK_OPERATOR" ] }
725+ />
726+ < PresetGroup
727+ title = "Environment capabilities"
728+ presets = { presets }
729+ ids = { [ "ENVIRONMENT_OBSERVER" , "ENVIRONMENT_OPERATOR" ] }
730+ />
731731 < PresetGroup
732732 title = "Deployment and configuration"
733733 presets = { presets }
@@ -762,7 +762,12 @@ function NewApiKeyDialog({
762762 ? "Pick at least one task, or switch to all tasks."
763763 : "" ;
764764 return (
765- < span className = { cn ( "min-w-0 truncate text-xs" , error ? "text-error" : "text-text-dimmed" ) } >
765+ < span
766+ className = { cn (
767+ "min-w-0 truncate text-xs" ,
768+ error ? "text-error" : "text-text-dimmed"
769+ ) }
770+ >
766771 { error ?? hint }
767772 </ span >
768773 ) ;
@@ -1024,9 +1029,7 @@ function ApiKeyScopePanel({
10241029 const level = detail . admin ? 4 : cap ? cap [ 0 ] : 0 ;
10251030 const rawScopes = cap ?. [ 1 ] ;
10261031 const tone : ScopeTone = SCOPE_LEVEL_TONES [ level ] ?? "none" ;
1027- const rows = rawScopes ?. flatMap ( ( raw ) =>
1028- expandScopeString ( raw , scoped , selectedTasks )
1029- ) ;
1032+ const rows = rawScopes ?. flatMap ( ( raw ) => expandScopeString ( raw , scoped , selectedTasks ) ) ;
10301033
10311034 return (
10321035 < li key = { key } className = "border-t border-grid-dimmed py-2.5 first:border-t-0" >
@@ -1037,8 +1040,8 @@ function ApiKeyScopePanel({
10371040 tone === "read"
10381041 ? "bg-blue-500"
10391042 : tone === "write"
1040- ? "bg-amber-500"
1041- : "bg-charcoal-600"
1043+ ? "bg-amber-500"
1044+ : "bg-charcoal-600"
10421045 ) }
10431046 />
10441047 < span
@@ -1063,8 +1066,8 @@ function ApiKeyScopePanel({
10631066 row . startsWith ( "…" )
10641067 ? "text-text-dimmed"
10651068 : tone === "read"
1066- ? "text-blue-400/80"
1067- : "text-amber-400/80"
1069+ ? "text-blue-400/80"
1070+ : "text-amber-400/80"
10681071 ) }
10691072 >
10701073 { row }
0 commit comments