@opensumi/ide-extension 3.8.2-next-1741622293.0 → 3.8.3-next-1741661270.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 +8 -6
- package/package.json +35 -35
package/lib/worker-host.js
CHANGED
|
@@ -59018,6 +59018,8 @@ var AINativeSettingSectionsId;
|
|
|
59018
59018
|
* Language model API keys
|
|
59019
59019
|
*/
|
|
59020
59020
|
AINativeSettingSectionsId["LLMModelSelection"] = "ai.native.llm.model.selection";
|
|
59021
|
+
AINativeSettingSectionsId["ContextWindow"] = "ai.native.llm.contextWindow";
|
|
59022
|
+
AINativeSettingSectionsId["MaxTokens"] = "ai.native.llm.maxTokens";
|
|
59021
59023
|
AINativeSettingSectionsId["ModelID"] = "ai.native.llm.model.id";
|
|
59022
59024
|
AINativeSettingSectionsId["DeepseekApiKey"] = "ai.native.deepseek.apiKey";
|
|
59023
59025
|
AINativeSettingSectionsId["AnthropicApiKey"] = "ai.native.anthropic.apiKey";
|
|
@@ -65946,7 +65948,7 @@ Color.transparent = new Color(new RGBA(0, 0, 0, 0));
|
|
|
65946
65948
|
CSS.formatHex = formatHex;
|
|
65947
65949
|
/**
|
|
65948
65950
|
* Formats the color as #RRGGBBAA
|
|
65949
|
-
* If 'compact' is set, colors without
|
|
65951
|
+
* If 'compact' is set, colors without transparancy will be printed as #RRGGBB
|
|
65950
65952
|
*/
|
|
65951
65953
|
function formatHexA(color, compact = false) {
|
|
65952
65954
|
if (compact && color.rgba.a === 1) {
|
|
@@ -66422,22 +66424,22 @@ exports.TokenStyle = TokenStyle;
|
|
|
66422
66424
|
})(TokenStyle || (exports.TokenStyle = TokenStyle = {}));
|
|
66423
66425
|
const noMatch = (_scope) => -1;
|
|
66424
66426
|
exports.noMatch = noMatch;
|
|
66425
|
-
function nameMatcher(
|
|
66427
|
+
function nameMatcher(identifers, scope) {
|
|
66426
66428
|
function findInIdents(s, lastIndent) {
|
|
66427
66429
|
for (let i = lastIndent - 1; i >= 0; i--) {
|
|
66428
|
-
if (scopesAreMatching(s,
|
|
66430
|
+
if (scopesAreMatching(s, identifers[i])) {
|
|
66429
66431
|
return i;
|
|
66430
66432
|
}
|
|
66431
66433
|
}
|
|
66432
66434
|
return -1;
|
|
66433
66435
|
}
|
|
66434
|
-
if (scope.length <
|
|
66436
|
+
if (scope.length < identifers.length) {
|
|
66435
66437
|
return -1;
|
|
66436
66438
|
}
|
|
66437
66439
|
let lastScopeIndex = scope.length - 1;
|
|
66438
|
-
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--],
|
|
66440
|
+
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], identifers.length);
|
|
66439
66441
|
if (lastIdentifierIndex >= 0) {
|
|
66440
|
-
const score = (lastIdentifierIndex + 1) * 0x10000 +
|
|
66442
|
+
const score = (lastIdentifierIndex + 1) * 0x10000 + identifers[lastIdentifierIndex].length;
|
|
66441
66443
|
while (lastScopeIndex >= 0) {
|
|
66442
66444
|
lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], lastIdentifierIndex);
|
|
66443
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
|
+
"version": "3.8.3-next-1741661270.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.
|
|
27
|
-
"@opensumi/ide-core-browser": "3.8.
|
|
28
|
-
"@opensumi/ide-core-node": "3.8.
|
|
29
|
-
"@opensumi/ide-debug": "3.8.
|
|
30
|
-
"@opensumi/ide-file-search": "3.8.
|
|
31
|
-
"@opensumi/ide-file-service": "3.8.
|
|
32
|
-
"@opensumi/ide-logs": "3.8.
|
|
33
|
-
"@opensumi/ide-markdown": "3.8.
|
|
34
|
-
"@opensumi/ide-task": "3.8.
|
|
35
|
-
"@opensumi/ide-terminal-next": "3.8.
|
|
36
|
-
"@opensumi/ide-utils": "3.8.
|
|
37
|
-
"@opensumi/ide-webview": "3.8.
|
|
26
|
+
"@opensumi/ide-connection": "3.8.3-next-1741661270.0",
|
|
27
|
+
"@opensumi/ide-core-browser": "3.8.3-next-1741661270.0",
|
|
28
|
+
"@opensumi/ide-core-node": "3.8.3-next-1741661270.0",
|
|
29
|
+
"@opensumi/ide-debug": "3.8.3-next-1741661270.0",
|
|
30
|
+
"@opensumi/ide-file-search": "3.8.3-next-1741661270.0",
|
|
31
|
+
"@opensumi/ide-file-service": "3.8.3-next-1741661270.0",
|
|
32
|
+
"@opensumi/ide-logs": "3.8.3-next-1741661270.0",
|
|
33
|
+
"@opensumi/ide-markdown": "3.8.3-next-1741661270.0",
|
|
34
|
+
"@opensumi/ide-task": "3.8.3-next-1741661270.0",
|
|
35
|
+
"@opensumi/ide-terminal-next": "3.8.3-next-1741661270.0",
|
|
36
|
+
"@opensumi/ide-utils": "3.8.3-next-1741661270.0",
|
|
37
|
+
"@opensumi/ide-webview": "3.8.3-next-1741661270.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.
|
|
49
|
-
"@opensumi/ide-comments": "3.8.
|
|
50
|
-
"@opensumi/ide-components": "3.8.
|
|
48
|
+
"@opensumi/ide-ai-native": "3.8.3-next-1741661270.0",
|
|
49
|
+
"@opensumi/ide-comments": "3.8.3-next-1741661270.0",
|
|
50
|
+
"@opensumi/ide-components": "3.8.3-next-1741661270.0",
|
|
51
51
|
"@opensumi/ide-core-browser": "workspace:*",
|
|
52
|
-
"@opensumi/ide-core-common": "3.8.
|
|
53
|
-
"@opensumi/ide-decoration": "3.8.
|
|
54
|
-
"@opensumi/ide-dev-tool": "3.8.
|
|
55
|
-
"@opensumi/ide-editor": "3.8.
|
|
56
|
-
"@opensumi/ide-extension-storage": "3.8.
|
|
57
|
-
"@opensumi/ide-file-tree-next": "3.8.
|
|
58
|
-
"@opensumi/ide-i18n": "3.8.
|
|
59
|
-
"@opensumi/ide-main-layout": "3.8.
|
|
60
|
-
"@opensumi/ide-monaco": "3.8.
|
|
61
|
-
"@opensumi/ide-output": "3.8.
|
|
62
|
-
"@opensumi/ide-overlay": "3.8.
|
|
63
|
-
"@opensumi/ide-quick-open": "3.8.
|
|
64
|
-
"@opensumi/ide-scm": "3.8.
|
|
65
|
-
"@opensumi/ide-testing": "3.8.
|
|
66
|
-
"@opensumi/ide-theme": "3.8.
|
|
67
|
-
"@opensumi/ide-toolbar": "3.8.
|
|
68
|
-
"@opensumi/ide-workspace": "3.8.
|
|
69
|
-
"@opensumi/ide-workspace-edit": "3.8.
|
|
52
|
+
"@opensumi/ide-core-common": "3.8.3-next-1741661270.0",
|
|
53
|
+
"@opensumi/ide-decoration": "3.8.3-next-1741661270.0",
|
|
54
|
+
"@opensumi/ide-dev-tool": "3.8.3-next-1741661270.0",
|
|
55
|
+
"@opensumi/ide-editor": "3.8.3-next-1741661270.0",
|
|
56
|
+
"@opensumi/ide-extension-storage": "3.8.3-next-1741661270.0",
|
|
57
|
+
"@opensumi/ide-file-tree-next": "3.8.3-next-1741661270.0",
|
|
58
|
+
"@opensumi/ide-i18n": "3.8.3-next-1741661270.0",
|
|
59
|
+
"@opensumi/ide-main-layout": "3.8.3-next-1741661270.0",
|
|
60
|
+
"@opensumi/ide-monaco": "3.8.3-next-1741661270.0",
|
|
61
|
+
"@opensumi/ide-output": "3.8.3-next-1741661270.0",
|
|
62
|
+
"@opensumi/ide-overlay": "3.8.3-next-1741661270.0",
|
|
63
|
+
"@opensumi/ide-quick-open": "3.8.3-next-1741661270.0",
|
|
64
|
+
"@opensumi/ide-scm": "3.8.3-next-1741661270.0",
|
|
65
|
+
"@opensumi/ide-testing": "3.8.3-next-1741661270.0",
|
|
66
|
+
"@opensumi/ide-theme": "3.8.3-next-1741661270.0",
|
|
67
|
+
"@opensumi/ide-toolbar": "3.8.3-next-1741661270.0",
|
|
68
|
+
"@opensumi/ide-workspace": "3.8.3-next-1741661270.0",
|
|
69
|
+
"@opensumi/ide-workspace-edit": "3.8.3-next-1741661270.0"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "9608238d7c4e5d4b66a7e43c7468c140d085dceb"
|
|
72
72
|
}
|