Skip to content

App does not start #9

@Thomvis

Description

@Thomvis

When I launch CodeLooper (version 0.9.0), it seems like nothing is happening. Launching it from terminal gives me this:

Logging system bootstrapped to console with min level debug.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Supervision : [CodeLooper] CursorInstanceStateManager initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Lifecycle : [CodeLooper] CursorAppLifecycleManager initialized for owner.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Intervention : [CodeLooper] CursorInterventionEngine initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Supervision : [CodeLooper] CursorMonitor initialized with all components.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Lifecycle : [CodeLooper] Workspace notification observers set up for Cursor.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Lifecycle : [CodeLooper] Found existing Cursor instance (PID: \(app.processIdentifier)) on scan.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Supervision : [CodeLooper] Instance launched: PID 30921
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Lifecycle : [CodeLooper] Cursor instance launched (PID: \(pid)). Manager processed launch.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.StatusBar : [CodeLooper] AppIconStateController initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AIAnalysis : [CodeLooper] WindowAIDiagnosticsManager initialized
2025-06-07T16:43:43+0200 info me.steipete.codelooper.StatusBar : [CodeLooper] MenuBarIconManager initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Application finished launching.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Initializing essential services...
2025-06-07T16:43:43+0200 info me.steipete.codelooper.appLifecycle : [CodeLooper] Automatic update checks enabled
2025-06-07T16:43:43+0200 info me.steipete.codelooper.appLifecycle : [CodeLooper] SparkleUpdaterManager: SPUStandardUpdaterController initialized with self as delegates.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.appLifecycle : [CodeLooper] SparkleUpdaterManager initialized. Updater controller lazy initialization triggered.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] SparkleUpdaterManager initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] UpdaterViewModel initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] CursorMonitor shared instance already initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Setting up settings coordinator
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Settings : [CodeLooper] Settings coordinator initialized
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Settings functionality is ready
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] MainSettingsCoordinator initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.App : [CodeLooper] WindowManager initialized.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.App : [CodeLooper] showDebugMenu changed to: false. Updating menu bar.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.App : [CodeLooper] Checking accessibility permissions...
2025-06-07T16:43:43+0200 info me.steipete.codelooper.App : [CodeLooper] Accessibility permissions already granted.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] WindowManager initialized with sessionLogger and delegate.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Essential services initialization complete.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Utilities : [CodeLooper] Synchronizing login item status - preference: false, actual system state: false
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Utilities : [CodeLooper] Login item status already in sync
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Setting up dock visibility
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Updating dock visibility to: false
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Dock visibility preference changed to: false
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Updating dock visibility to: false
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Applying CodeLooper brand tint globally
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Global CodeLooper tint configured successfully
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Setting up notification observers
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Application startup completed successfully
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Setting up supervision
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Global monitoring is enabled, will start monitoring when Cursor instances are detected
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Global monitoring preference changed to: true
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Handling window restoration and first launch
2025-06-07T16:43:43+0200 info me.steipete.codelooper.App : [CodeLooper] Checking for other running instances... (PID: 46673)
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Global monitoring enabled - monitoring will start when Cursor instances are detected
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Enabled AI live watching for all existing windows after supervision toggle
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Supervision : [CodeLooper] Monitored apps list became non-empty. Starting monitoring loop.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Supervision : [CodeLooper] Starting monitoring loop...
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Supervision : [CodeLooper] Monitoring task started successfully.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Rules : [CodeLooper] StopAfter25LoopsRule initialized
2025-06-07T16:43:43+0200 info me.steipete.codelooper.Rules : [CodeLooper] RuleExecutor initialized
2025-06-07T16:43:43+0200 info me.steipete.codelooper.JSHook : [CodeLooper] 🚀 Initializing JSHook Service
2025-06-07T16:43:43+0200 info me.steipete.codelooper.AIAnalysis : [CodeLooper] Live watching disabled for window: docker-compose.yml — oneshot.site. Timer stopped.
2025-06-07T16:43:43+0200 info me.steipete.codelooper.JSHook : [CodeLooper] 🔍 Starting initial port probe...
2025-06-07T16:43:43+0200 info me.steipete.codelooper.JSHook : [CodeLooper] 🔍 Prepared 10 ports for use
2025-06-07T16:43:43+0200 info me.steipete.codelooper.JSHook : [CodeLooper] ✅ Initial probe complete. Available ports: 10
2025-06-07T16:43:44+0200 warning me.steipete.codelooper.AppDelegate : [CodeLooper] Another instance of CodeLooper is already running. Terminating this instance.
2025-06-07T16:43:44+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Application is terminating
2025-06-07T16:43:44+0200 info me.steipete.codelooper.Supervision : [CodeLooper] Stopping monitoring loop...
2025-06-07T16:43:44+0200 info me.steipete.codelooper.AppDelegate : [CodeLooper] Application termination cleanup completed

A restart might fix it (haven't tried). If my system is in a state where CodeLooper cannot work, an alert would be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions