File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
packages/cli/src/utils/preflight Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 44 * Silently downloads dependencies in the background on first CLI run:
55 * 1. @coana-tech/cli
66 * 2. @cyclonedx/cdxgen
7- * 3. @socketbin/cli-ai
8- * 4. Python + socketsecurity (socket-python-cli)
7+ * 3. Python + socketsecurity (socket-python-cli)
98 *
109 * Downloads are staggered sequentially to avoid resource contention.
1110 * This runs asynchronously and never blocks the main CLI execution.
@@ -50,7 +49,7 @@ export function runPreflightDownloads(): void {
5049 void ( async ( ) => {
5150 try {
5251 // Stagger downloads sequentially to avoid resource contention.
53- // Order: coana → cdxgen → cli-ai → Python → socketsecurity.
52+ // Order: coana → cdxgen → Python → socketsecurity.
5453
5554 // 1. @coana-tech/cli preflight.
5655 const coanaVersion = ENV . INLINED_SOCKET_CLI_COANA_VERSION
@@ -74,18 +73,7 @@ export function runPreflightDownloads(): void {
7473 } )
7574 }
7675
77- // 3. @socketbin/cli-ai preflight.
78- const cliAiVersion = ENV . INLINED_SOCKET_CLI_AI_VERSION
79- const cliAiSpec = `@socketbin/cli-ai@^${ cliAiVersion } `
80- if ( ! isPackageCached ( cliAiSpec ) ) {
81- await downloadPackage ( {
82- package : cliAiSpec ,
83- binaryName : 'cli-ai' ,
84- force : false ,
85- } )
86- }
87-
88- // 4. Python + socketsecurity (socket-python-cli) preflight.
76+ // 3. Python + socketsecurity (socket-python-cli) preflight.
8977 const pythonBin = await ensurePython ( )
9078 await ensureSocketCli ( pythonBin )
9179 } catch { }
You can’t perform that action at this time.
0 commit comments