@opensumi/ide-extension 3.8.3-next-1741752385.0 → 3.8.3-next-1741763229.0

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.
Files changed (2) hide show
  1. package/lib/worker-host.js +49 -7
  2. package/package.json +35 -35
@@ -51525,7 +51525,7 @@ class LengthFieldBasedFrameDecoder {
51525
51525
  if (this.buffers.byteLength > 0) {
51526
51526
  hasMoreData = true;
51527
51527
  // 异步继续处理,避免阻塞
51528
- await new Promise((resolve) => setImmediate(resolve));
51528
+ await new Promise((resolve) => (0, ide_core_common_1.setImmediate)(resolve));
51529
51529
  iterations = 0; // 重置迭代计数器
51530
51530
  }
51531
51531
  } while (hasMoreData);
@@ -62387,6 +62387,47 @@ exports.chartsPurple = (0, utils_1.registerColor)('charts.purple', { dark: '#B18
62387
62387
 
62388
62388
  /***/ }),
62389
62389
 
62390
+ /***/ "../theme/lib/common/color-tokens/chatColors.js":
62391
+ /*!******************************************************!*\
62392
+ !*** ../theme/lib/common/color-tokens/chatColors.js ***!
62393
+ \******************************************************/
62394
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
62395
+
62396
+ "use strict";
62397
+
62398
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
62399
+ exports.chatEditedFileForeground = exports.chatAvatarForeground = exports.chatAvatarBackground = exports.chatSlashCommandForeground = exports.chatSlashCommandBackground = exports.chatRequestBackground = exports.chatRequestBorder = void 0;
62400
+ const color_1 = __webpack_require__(/*! ../color */ "../theme/lib/common/color.js");
62401
+ const utils_1 = __webpack_require__(/*! ../utils */ "../theme/lib/common/utils.js");
62402
+ const badge_1 = __webpack_require__(/*! ./badge */ "../theme/lib/common/color-tokens/badge.js");
62403
+ const base_1 = __webpack_require__(/*! ./base */ "../theme/lib/common/color-tokens/base.js");
62404
+ const editor_1 = __webpack_require__(/*! ./editor */ "../theme/lib/common/color-tokens/editor.js");
62405
+ exports.chatRequestBorder = (0, utils_1.registerColor)('chat.requestBorder', {
62406
+ dark: new color_1.Color(new color_1.RGBA(255, 255, 255, 0.1)),
62407
+ light: new color_1.Color(new color_1.RGBA(0, 0, 0, 0.1)),
62408
+ hcDark: base_1.contrastBorder,
62409
+ hcLight: base_1.contrastBorder,
62410
+ }, 'The border color of a chat request.');
62411
+ exports.chatRequestBackground = (0, utils_1.registerColor)('chat.requestBackground', {
62412
+ dark: (0, utils_1.transparent)(editor_1.editorBackground, 0.62),
62413
+ light: (0, utils_1.transparent)(editor_1.editorBackground, 0.62),
62414
+ hcDark: editor_1.editorWidgetBackground,
62415
+ hcLight: null,
62416
+ }, 'The background color of a chat request.');
62417
+ exports.chatSlashCommandBackground = (0, utils_1.registerColor)('chat.slashCommandBackground', { dark: '#34414b8f', light: '#d2ecff99', hcDark: color_1.Color.white, hcLight: badge_1.badgeBackground }, 'The background color of a chat slash command.');
62418
+ exports.chatSlashCommandForeground = (0, utils_1.registerColor)('chat.slashCommandForeground', { dark: '#40A6FF', light: '#306CA2', hcDark: color_1.Color.black, hcLight: badge_1.badgeForeground }, 'The foreground color of a chat slash command.');
62419
+ exports.chatAvatarBackground = (0, utils_1.registerColor)('chat.avatarBackground', { dark: '#1f1f1f', light: '#f2f2f2', hcDark: color_1.Color.black, hcLight: color_1.Color.white }, 'The background color of a chat avatar.');
62420
+ exports.chatAvatarForeground = (0, utils_1.registerColor)('chat.avatarForeground', { dark: base_1.foreground, light: base_1.foreground, hcDark: base_1.foreground, hcLight: base_1.foreground }, 'The foreground color of a chat avatar.');
62421
+ exports.chatEditedFileForeground = (0, utils_1.registerColor)('chat.editedFileForeground', {
62422
+ light: '#895503',
62423
+ dark: '#E2C08D',
62424
+ hcDark: '#E2C08D',
62425
+ hcLight: '#895503',
62426
+ }, 'The foreground color of a chat edited file in the edited file list.');
62427
+ //# sourceMappingURL=chatColors.js.map
62428
+
62429
+ /***/ }),
62430
+
62390
62431
  /***/ "../theme/lib/common/color-tokens/checkbox.js":
62391
62432
  /*!****************************************************!*\
62392
62433
  !*** ../theme/lib/common/color-tokens/checkbox.js ***!
@@ -64210,6 +64251,7 @@ tslib_1.__exportStar(__webpack_require__(/*! ./minimap */ "../theme/lib/common/c
64210
64251
  tslib_1.__exportStar(__webpack_require__(/*! ./testing */ "../theme/lib/common/color-tokens/testing.js"), exports);
64211
64252
  tslib_1.__exportStar(__webpack_require__(/*! ./design */ "../theme/lib/common/color-tokens/design.js"), exports);
64212
64253
  tslib_1.__exportStar(__webpack_require__(/*! ./ai-native */ "../theme/lib/common/color-tokens/ai-native.js"), exports);
64254
+ tslib_1.__exportStar(__webpack_require__(/*! ./chatColors */ "../theme/lib/common/color-tokens/chatColors.js"), exports);
64213
64255
  tslib_1.__exportStar(__webpack_require__(/*! ./custom */ "../theme/lib/common/color-tokens/custom/index.js"), exports);
64214
64256
  //# sourceMappingURL=index.js.map
64215
64257
 
@@ -65948,7 +65990,7 @@ Color.transparent = new Color(new RGBA(0, 0, 0, 0));
65948
65990
  CSS.formatHex = formatHex;
65949
65991
  /**
65950
65992
  * Formats the color as #RRGGBBAA
65951
- * If 'compact' is set, colors without transparancy will be printed as #RRGGBB
65993
+ * If 'compact' is set, colors without transparency will be printed as #RRGGBB
65952
65994
  */
65953
65995
  function formatHexA(color, compact = false) {
65954
65996
  if (compact && color.rgba.a === 1) {
@@ -66424,22 +66466,22 @@ exports.TokenStyle = TokenStyle;
66424
66466
  })(TokenStyle || (exports.TokenStyle = TokenStyle = {}));
66425
66467
  const noMatch = (_scope) => -1;
66426
66468
  exports.noMatch = noMatch;
66427
- function nameMatcher(identifers, scope) {
66469
+ function nameMatcher(identifiers, scope) {
66428
66470
  function findInIdents(s, lastIndent) {
66429
66471
  for (let i = lastIndent - 1; i >= 0; i--) {
66430
- if (scopesAreMatching(s, identifers[i])) {
66472
+ if (scopesAreMatching(s, identifiers[i])) {
66431
66473
  return i;
66432
66474
  }
66433
66475
  }
66434
66476
  return -1;
66435
66477
  }
66436
- if (scope.length < identifers.length) {
66478
+ if (scope.length < identifiers.length) {
66437
66479
  return -1;
66438
66480
  }
66439
66481
  let lastScopeIndex = scope.length - 1;
66440
- let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], identifers.length);
66482
+ let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], identifiers.length);
66441
66483
  if (lastIdentifierIndex >= 0) {
66442
- const score = (lastIdentifierIndex + 1) * 0x10000 + identifers[lastIdentifierIndex].length;
66484
+ const score = (lastIdentifierIndex + 1) * 0x10000 + identifiers[lastIdentifierIndex].length;
66443
66485
  while (lastScopeIndex >= 0) {
66444
66486
  lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], lastIdentifierIndex);
66445
66487
  if (lastIdentifierIndex === -1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-extension",
3
- "version": "3.8.3-next-1741752385.0",
3
+ "version": "3.8.3-next-1741763229.0",
4
4
  "files": [
5
5
  "lib",
6
6
  "hosted"
@@ -23,18 +23,18 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@opensumi/events": "^1.0.0",
26
- "@opensumi/ide-connection": "3.8.3-next-1741752385.0",
27
- "@opensumi/ide-core-browser": "3.8.3-next-1741752385.0",
28
- "@opensumi/ide-core-node": "3.8.3-next-1741752385.0",
29
- "@opensumi/ide-debug": "3.8.3-next-1741752385.0",
30
- "@opensumi/ide-file-search": "3.8.3-next-1741752385.0",
31
- "@opensumi/ide-file-service": "3.8.3-next-1741752385.0",
32
- "@opensumi/ide-logs": "3.8.3-next-1741752385.0",
33
- "@opensumi/ide-markdown": "3.8.3-next-1741752385.0",
34
- "@opensumi/ide-task": "3.8.3-next-1741752385.0",
35
- "@opensumi/ide-terminal-next": "3.8.3-next-1741752385.0",
36
- "@opensumi/ide-utils": "3.8.3-next-1741752385.0",
37
- "@opensumi/ide-webview": "3.8.3-next-1741752385.0",
26
+ "@opensumi/ide-connection": "3.8.3-next-1741763229.0",
27
+ "@opensumi/ide-core-browser": "3.8.3-next-1741763229.0",
28
+ "@opensumi/ide-core-node": "3.8.3-next-1741763229.0",
29
+ "@opensumi/ide-debug": "3.8.3-next-1741763229.0",
30
+ "@opensumi/ide-file-search": "3.8.3-next-1741763229.0",
31
+ "@opensumi/ide-file-service": "3.8.3-next-1741763229.0",
32
+ "@opensumi/ide-logs": "3.8.3-next-1741763229.0",
33
+ "@opensumi/ide-markdown": "3.8.3-next-1741763229.0",
34
+ "@opensumi/ide-task": "3.8.3-next-1741763229.0",
35
+ "@opensumi/ide-terminal-next": "3.8.3-next-1741763229.0",
36
+ "@opensumi/ide-utils": "3.8.3-next-1741763229.0",
37
+ "@opensumi/ide-webview": "3.8.3-next-1741763229.0",
38
38
  "address": "^1.1.2",
39
39
  "glob-to-regexp": "0.4.1",
40
40
  "is-running": "^2.1.0",
@@ -45,28 +45,28 @@
45
45
  "v8-inspect-profiler": "^0.1.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@opensumi/ide-ai-native": "3.8.3-next-1741752385.0",
49
- "@opensumi/ide-comments": "3.8.3-next-1741752385.0",
50
- "@opensumi/ide-components": "3.8.3-next-1741752385.0",
48
+ "@opensumi/ide-ai-native": "3.8.3-next-1741763229.0",
49
+ "@opensumi/ide-comments": "3.8.3-next-1741763229.0",
50
+ "@opensumi/ide-components": "3.8.3-next-1741763229.0",
51
51
  "@opensumi/ide-core-browser": "workspace:*",
52
- "@opensumi/ide-core-common": "3.8.3-next-1741752385.0",
53
- "@opensumi/ide-decoration": "3.8.3-next-1741752385.0",
54
- "@opensumi/ide-dev-tool": "3.8.3-next-1741752385.0",
55
- "@opensumi/ide-editor": "3.8.3-next-1741752385.0",
56
- "@opensumi/ide-extension-storage": "3.8.3-next-1741752385.0",
57
- "@opensumi/ide-file-tree-next": "3.8.3-next-1741752385.0",
58
- "@opensumi/ide-i18n": "3.8.3-next-1741752385.0",
59
- "@opensumi/ide-main-layout": "3.8.3-next-1741752385.0",
60
- "@opensumi/ide-monaco": "3.8.3-next-1741752385.0",
61
- "@opensumi/ide-output": "3.8.3-next-1741752385.0",
62
- "@opensumi/ide-overlay": "3.8.3-next-1741752385.0",
63
- "@opensumi/ide-quick-open": "3.8.3-next-1741752385.0",
64
- "@opensumi/ide-scm": "3.8.3-next-1741752385.0",
65
- "@opensumi/ide-testing": "3.8.3-next-1741752385.0",
66
- "@opensumi/ide-theme": "3.8.3-next-1741752385.0",
67
- "@opensumi/ide-toolbar": "3.8.3-next-1741752385.0",
68
- "@opensumi/ide-workspace": "3.8.3-next-1741752385.0",
69
- "@opensumi/ide-workspace-edit": "3.8.3-next-1741752385.0"
52
+ "@opensumi/ide-core-common": "3.8.3-next-1741763229.0",
53
+ "@opensumi/ide-decoration": "3.8.3-next-1741763229.0",
54
+ "@opensumi/ide-dev-tool": "3.8.3-next-1741763229.0",
55
+ "@opensumi/ide-editor": "3.8.3-next-1741763229.0",
56
+ "@opensumi/ide-extension-storage": "3.8.3-next-1741763229.0",
57
+ "@opensumi/ide-file-tree-next": "3.8.3-next-1741763229.0",
58
+ "@opensumi/ide-i18n": "3.8.3-next-1741763229.0",
59
+ "@opensumi/ide-main-layout": "3.8.3-next-1741763229.0",
60
+ "@opensumi/ide-monaco": "3.8.3-next-1741763229.0",
61
+ "@opensumi/ide-output": "3.8.3-next-1741763229.0",
62
+ "@opensumi/ide-overlay": "3.8.3-next-1741763229.0",
63
+ "@opensumi/ide-quick-open": "3.8.3-next-1741763229.0",
64
+ "@opensumi/ide-scm": "3.8.3-next-1741763229.0",
65
+ "@opensumi/ide-testing": "3.8.3-next-1741763229.0",
66
+ "@opensumi/ide-theme": "3.8.3-next-1741763229.0",
67
+ "@opensumi/ide-toolbar": "3.8.3-next-1741763229.0",
68
+ "@opensumi/ide-workspace": "3.8.3-next-1741763229.0",
69
+ "@opensumi/ide-workspace-edit": "3.8.3-next-1741763229.0"
70
70
  },
71
- "gitHead": "e1329714e555d8149d12fcedbedff58013fd5e55"
71
+ "gitHead": "b265c900a53044dbed72a22e7a59361feecab7d4"
72
72
  }