diff options
| author | Castor Regex <[email protected]> | 2025-08-24 09:26:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-24 09:26:22 -0500 |
| commit | 1ff70eeef8f3d685f4e21964fbfeefe1662bfeaa (patch) | |
| tree | 771464394d3a54950c4c7c270664473dac6317de | |
| parent | 0739c5d4d59bce1446c4d4242ab2fac9edbd3dd0 (diff) | |
fix(startup): remove erroneous startup command
| -rw-r--r-- | packages/cli/src/gemini.tsx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/cli/src/gemini.tsx b/packages/cli/src/gemini.tsx index 8b244f00..b285a5af 100644 --- a/packages/cli/src/gemini.tsx +++ b/packages/cli/src/gemini.tsx @@ -4,7 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -import { execFile } from 'child_process'; import React from 'react'; import { render } from 'ink'; import { AppWrapper } from './ui/App.js'; @@ -134,9 +133,6 @@ ${reason.stack}` } export async function main() { - if (!process.env['SANDBOX']) { - console.log("regex --output 'startup'"); - } setupUnhandledRejectionHandler(); const workspaceRoot = process.cwd(); const settings = loadSettings(workspaceRoot); @@ -163,21 +159,6 @@ export async function main() { argv, ); - // Immediately run regex --stats with the new session ID - const command = '/home/jcarr/go/bin/regex'; - const args = ['--stats', sessionId, '{}']; - execFile(command, args, (error, stdout, stderr) => { - if (error) { - // Using console.error might be noisy, but it's good for debugging. - // This will appear in the gemini-cli debug log if it's enabled. - console.error(`[startup-stats] execFile error: ${error.message}`); - return; - } - if (stderr) { - console.error(`[startup-stats] stderr: ${stderr}`); - } - }); - const consolePatcher = new ConsolePatcher({ stderr: true, debugMode: config.getDebugMode(), |
