perf: optimize app startup and background lifecycles
This commit is contained in:
@@ -18,6 +18,9 @@ const validInvokeChannels = [
|
||||
'opencode:stop',
|
||||
'opencode:restart',
|
||||
'opencode:health',
|
||||
'lifecycle:activity',
|
||||
'lifecycle:lease',
|
||||
'learning:closePlayer',
|
||||
'shell:openExternal',
|
||||
'shell:showItemInFolder',
|
||||
'shell:openPath',
|
||||
@@ -31,6 +34,7 @@ const validInvokeChannels = [
|
||||
'app:platform',
|
||||
'app:quit',
|
||||
'app:relaunch',
|
||||
'app:performance',
|
||||
'app:request',
|
||||
'window:minimize',
|
||||
'window:maximize',
|
||||
@@ -93,6 +97,9 @@ const validEventChannels = [
|
||||
'agent-browser:show',
|
||||
'agent-browser:state',
|
||||
'auth:session-changed',
|
||||
'lifecycle:pause',
|
||||
'lifecycle:sleep',
|
||||
'release-job:status',
|
||||
'learning:runtime-event',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user