feat: Add ConsoleMode configuration to runtime settings

- Introduce ConsoleMode parameter in the Start function to allow configuration based on the provided runtime settings.
- Enhance runtime initialization by incorporating the new ConsoleMode option from the configuration.
This commit is contained in:
Max 2025-04-04 18:26:35 +08:00
parent f2882c3cbb
commit c59e12434a

View file

@ -30,6 +30,7 @@ func Start(cfg config.Config) error {
ContextTimeout: cfg.Runtime.ContextTimeout,
Import: cfg.Runtime.Import,
Debug: debug,
ConsoleMode: cfg.Mode,
}
// Read the tsconfig.json