@opensumi/ide-extension 3.8.3-next-1741747748.0 → 3.8.3-next-1741752385.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.
- package/lib/worker-host.js +7 -49
- package/package.json +35 -35
package/lib/worker-host.js
CHANGED
|
@@ -51525,7 +51525,7 @@ class LengthFieldBasedFrameDecoder {
|
|
|
51525
51525
|
if (this.buffers.byteLength > 0) {
|
|
51526
51526
|
hasMoreData = true;
|
|
51527
51527
|
// 异步继续处理,避免阻塞
|
|
51528
|
-
await new Promise((resolve) =>
|
|
51528
|
+
await new Promise((resolve) => setImmediate(resolve));
|
|
51529
51529
|
iterations = 0; // 重置迭代计数器
|
|
51530
51530
|
}
|
|
51531
51531
|
} while (hasMoreData);
|
|
@@ -62387,47 +62387,6 @@ 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
|
-
|
|
62431
62390
|
/***/ "../theme/lib/common/color-tokens/checkbox.js":
|
|
62432
62391
|
/*!****************************************************!*\
|
|
62433
62392
|
!*** ../theme/lib/common/color-tokens/checkbox.js ***!
|
|
@@ -64251,7 +64210,6 @@ tslib_1.__exportStar(__webpack_require__(/*! ./minimap */ "../theme/lib/common/c
|
|
|
64251
64210
|
tslib_1.__exportStar(__webpack_require__(/*! ./testing */ "../theme/lib/common/color-tokens/testing.js"), exports);
|
|
64252
64211
|
tslib_1.__exportStar(__webpack_require__(/*! ./design */ "../theme/lib/common/color-tokens/design.js"), exports);
|
|
64253
64212
|
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);
|
|
64255
64213
|
tslib_1.__exportStar(__webpack_require__(/*! ./custom */ "../theme/lib/common/color-tokens/custom/index.js"), exports);
|
|
64256
64214
|
//# sourceMappingURL=index.js.map
|
|
64257
64215
|
|
|
@@ -65990,7 +65948,7 @@ Color.transparent = new Color(new RGBA(0, 0, 0, 0));
|
|
|
65990
65948
|
CSS.formatHex = formatHex;
|
|
65991
65949
|
/**
|
|
65992
65950
|
* Formats the color as #RRGGBBAA
|
|
65993
|
-
* If 'compact' is set, colors without
|
|
65951
|
+
* If 'compact' is set, colors without transparancy will be printed as #RRGGBB
|
|
65994
65952
|
*/
|
|
65995
65953
|
function formatHexA(color, compact = false) {
|
|
65996
65954
|
if (compact && color.rgba.a === 1) {
|
|
@@ -66466,22 +66424,22 @@ exports.TokenStyle = TokenStyle;
|
|
|
66466
66424
|
})(TokenStyle || (exports.TokenStyle = TokenStyle = {}));
|
|
66467
66425
|
const noMatch = (_scope) => -1;
|
|
66468
66426
|
exports.noMatch = noMatch;
|
|
66469
|
-
function nameMatcher(
|
|
66427
|
+
function nameMatcher(identifers, scope) {
|
|
66470
66428
|
function findInIdents(s, lastIndent) {
|
|
66471
66429
|
for (let i = lastIndent - 1; i >= 0; i--) {
|
|
66472
|
-
if (scopesAreMatching(s,
|
|
66430
|
+
if (scopesAreMatching(s, identifers[i])) {
|
|
66473
66431
|
return i;
|
|
66474
66432
|
}
|
|
66475
66433
|
}
|
|
66476
66434
|
return -1;
|
|
66477
66435
|
}
|
|
66478
|
-
if (scope.length <
|
|
66436
|
+
if (scope.length < identifers.length) {
|
|
66479
66437
|
return -1;
|
|
66480
66438
|
}
|
|
66481
66439
|
let lastScopeIndex = scope.length - 1;
|
|
66482
|
-
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--],
|
|
66440
|
+
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], identifers.length);
|
|
66483
66441
|
if (lastIdentifierIndex >= 0) {
|
|
66484
|
-
const score = (lastIdentifierIndex + 1) * 0x10000 +
|
|
66442
|
+
const score = (lastIdentifierIndex + 1) * 0x10000 + identifers[lastIdentifierIndex].length;
|
|
66485
66443
|
while (lastScopeIndex >= 0) {
|
|
66486
66444
|
lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], lastIdentifierIndex);
|
|
66487
66445
|
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-
|
|
3
|
+
"version": "3.8.3-next-1741752385.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-
|
|
27
|
-
"@opensumi/ide-core-browser": "3.8.3-next-
|
|
28
|
-
"@opensumi/ide-core-node": "3.8.3-next-
|
|
29
|
-
"@opensumi/ide-debug": "3.8.3-next-
|
|
30
|
-
"@opensumi/ide-file-search": "3.8.3-next-
|
|
31
|
-
"@opensumi/ide-file-service": "3.8.3-next-
|
|
32
|
-
"@opensumi/ide-logs": "3.8.3-next-
|
|
33
|
-
"@opensumi/ide-markdown": "3.8.3-next-
|
|
34
|
-
"@opensumi/ide-task": "3.8.3-next-
|
|
35
|
-
"@opensumi/ide-terminal-next": "3.8.3-next-
|
|
36
|
-
"@opensumi/ide-utils": "3.8.3-next-
|
|
37
|
-
"@opensumi/ide-webview": "3.8.3-next-
|
|
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",
|
|
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-
|
|
49
|
-
"@opensumi/ide-comments": "3.8.3-next-
|
|
50
|
-
"@opensumi/ide-components": "3.8.3-next-
|
|
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",
|
|
51
51
|
"@opensumi/ide-core-browser": "workspace:*",
|
|
52
|
-
"@opensumi/ide-core-common": "3.8.3-next-
|
|
53
|
-
"@opensumi/ide-decoration": "3.8.3-next-
|
|
54
|
-
"@opensumi/ide-dev-tool": "3.8.3-next-
|
|
55
|
-
"@opensumi/ide-editor": "3.8.3-next-
|
|
56
|
-
"@opensumi/ide-extension-storage": "3.8.3-next-
|
|
57
|
-
"@opensumi/ide-file-tree-next": "3.8.3-next-
|
|
58
|
-
"@opensumi/ide-i18n": "3.8.3-next-
|
|
59
|
-
"@opensumi/ide-main-layout": "3.8.3-next-
|
|
60
|
-
"@opensumi/ide-monaco": "3.8.3-next-
|
|
61
|
-
"@opensumi/ide-output": "3.8.3-next-
|
|
62
|
-
"@opensumi/ide-overlay": "3.8.3-next-
|
|
63
|
-
"@opensumi/ide-quick-open": "3.8.3-next-
|
|
64
|
-
"@opensumi/ide-scm": "3.8.3-next-
|
|
65
|
-
"@opensumi/ide-testing": "3.8.3-next-
|
|
66
|
-
"@opensumi/ide-theme": "3.8.3-next-
|
|
67
|
-
"@opensumi/ide-toolbar": "3.8.3-next-
|
|
68
|
-
"@opensumi/ide-workspace": "3.8.3-next-
|
|
69
|
-
"@opensumi/ide-workspace-edit": "3.8.3-next-
|
|
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"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "e1329714e555d8149d12fcedbedff58013fd5e55"
|
|
72
72
|
}
|