@@ -96,10 +96,7 @@ import {
9696 withProgress ,
9797} from "./commandRunner" ;
9898import { CodeQlStatusBarHandler } from "./status-bar" ;
99- import {
100- handleDownloadPacks ,
101- handleInstallPackDependencies ,
102- } from "./packaging" ;
99+ import { getPackagingCommands } from "./packaging" ;
103100import { HistoryItemLabelProvider } from "./query-history/history-item-label-provider" ;
104101import { EvalLogViewer } from "./eval-log-viewer" ;
105102import { SummaryLanguageSupport } from "./log-insights/summary-language-support" ;
@@ -815,6 +812,9 @@ async function activateWithInstalledDistribution(
815812 ...variantAnalysisManager . getCommands ( ) ,
816813 ...databaseUI . getCommands ( ) ,
817814 ...dbModule . getCommands ( ) ,
815+ ...getPackagingCommands ( {
816+ cliServer,
817+ } ) ,
818818 ...evalLogViewer . getCommands ( ) ,
819819 } ;
820820
@@ -906,28 +906,6 @@ async function activateWithInstalledDistribution(
906906 } ) ,
907907 ) ;
908908
909- ctx . subscriptions . push (
910- commandRunnerWithProgress (
911- "codeQL.installPackDependencies" ,
912- async ( progress : ProgressCallback ) =>
913- await handleInstallPackDependencies ( cliServer , progress ) ,
914- {
915- title : "Installing pack dependencies" ,
916- } ,
917- ) ,
918- ) ;
919-
920- ctx . subscriptions . push (
921- commandRunnerWithProgress (
922- "codeQL.downloadPacks" ,
923- async ( progress : ProgressCallback ) =>
924- await handleDownloadPacks ( cliServer , progress ) ,
925- {
926- title : "Downloading packs" ,
927- } ,
928- ) ,
929- ) ;
930-
931909 ctx . subscriptions . push (
932910 commandRunner ( "codeQL.showLogs" , async ( ) => {
933911 extLogger . show ( ) ;
0 commit comments