@lvce-editor/main-area-worker 9.72.0 → 9.72.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1560,7 +1560,7 @@ const invoke$2 = async (command, ...args) => {
1560
1560
  return state$2.rpc.invoke(command, ...args);
1561
1561
  };
1562
1562
 
1563
- const cacheName = 'lvce0main-area-tabs';
1563
+ const cacheName = 'lvce-main-area-tabs';
1564
1564
  const cacheDuration = 90 * 24 * 60 * 60 * 1000;
1565
1565
  const maxClosedTabs = 20;
1566
1566
  const pendingOperations = new Map();
@@ -3935,6 +3935,7 @@ const SplitEditorGroupButton = 'EditorGroupActionButton SplitEditorGroupButton';
3935
3935
  const MaskIconPreview = 'MaskIcon MaskIconPreview';
3936
3936
  const MaskIconCircleFilled = 'MaskIcon MaskIconCircleFilled';
3937
3937
  const MaskIconClose = 'MaskIcon MaskIconClose';
3938
+ const MaskIconDebugAlt2 = 'MaskIcon MaskIconDebugAlt2';
3938
3939
  const MaskIconExtensions = 'MaskIcon MaskIconExtensions';
3939
3940
  const MaskIconRecordKey = 'MaskIcon MaskIconRecordKey';
3940
3941
  const MaskIconSearch = 'MaskIcon MaskIconSearch';
@@ -4417,6 +4418,7 @@ const renderTabActions = (isDirty, tabIndex, groupIndex) => {
4417
4418
 
4418
4419
  const ExtensionDetailScheme = 'extension-detail://';
4419
4420
  const KeyBindingsUri = 'app://keybindings';
4421
+ const ProcessExplorerScheme = 'process-explorer://';
4420
4422
  const RunningExtensionsScheme = 'running-extensions://';
4421
4423
  const SearchEditorScheme = 'search-editor://';
4422
4424
  const SettingsScheme = 'settings://';
@@ -4442,6 +4444,9 @@ const renderTabIcon = tab => {
4442
4444
  if (tab.uri === KeyBindingsUri) {
4443
4445
  return renderMaskIcon(MaskIconRecordKey);
4444
4446
  }
4447
+ if (tab.uri?.startsWith(ProcessExplorerScheme)) {
4448
+ return renderMaskIcon(MaskIconDebugAlt2);
4449
+ }
4445
4450
  if (tab.uri?.startsWith(ExtensionDetailScheme)) {
4446
4451
  return renderMaskIcon(MaskIconExtensions);
4447
4452
  }
@@ -7124,7 +7129,7 @@ const newFile = async state => {
7124
7129
  newState: latestState
7125
7130
  } = get$1(uid);
7126
7131
  const readyState = handleViewletReady(latestState, actualEditorUid, title);
7127
- return readyState;
7132
+ return focus(readyState);
7128
7133
  };
7129
7134
 
7130
7135
  const handleHeaderDoubleClick = async (state, className, groupIndexRaw) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-area-worker",
3
- "version": "9.72.0",
3
+ "version": "9.72.2",
4
4
  "description": "Main Area Worker",
5
5
  "repository": {
6
6
  "type": "git",