@opensumi/ide-components 3.7.2-next-1739859371.0 → 3.7.2-next-1740013940.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/dist/index.js
CHANGED
|
@@ -7176,7 +7176,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
7176
7176
|
/***/ ((__unused_webpack_module, exports) => {
|
|
7177
7177
|
|
|
7178
7178
|
"use strict";
|
|
7179
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AI_NATIVE_SETTING_GROUP_TITLE = exports.AI_NATIVE_SETTING_GROUP_ID = exports.AINativeSettingSectionsId = void 0;\nvar AINativeSettingSectionsId;\n(function (AINativeSettingSectionsId) {\n /**\n * inline diff preview mode\n */\n AINativeSettingSectionsId[\"InlineDiffPreviewMode\"] = \"ai.native.inlineDiff.preview.mode\";\n AINativeSettingSectionsId[\"InlineChatAutoVisible\"] = \"ai.native.inlineChat.auto.visible\";\n AINativeSettingSectionsId[\"InlineChatCodeActionEnabled\"] = \"ai.native.inlineChat.codeAction.enabled\";\n AINativeSettingSectionsId[\"InterfaceQuickNavigationEnabled\"] = \"ai.native.interface.quickNavigation.enabled\";\n AINativeSettingSectionsId[\"ChatVisibleType\"] = \"ai.native.chat.visible.type\";\n /**\n * Whether to enable prompt engineering, some LLM models may not perform well on prompt engineering.\n */\n AINativeSettingSectionsId[\"IntelligentCompletionsPromptEngineeringEnabled\"] = \"ai.native.intelligentCompletions.promptEngineering.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsDebounceTime\"] = \"ai.native.intelligentCompletions.debounceTime\";\n AINativeSettingSectionsId[\"IntelligentCompletionsCacheEnabled\"] = \"ai.native.intelligentCompletions.cache.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsAlwaysVisible\"] = \"ai.native.intelligentCompletions.alwaysVisible\";\n /**\n * Code edits settings\n */\n AINativeSettingSectionsId[\"CodeEditsLintErrors\"] = \"ai.native.codeEdits.lintErrors\";\n AINativeSettingSectionsId[\"CodeEditsLineChange\"] = \"ai.native.codeEdits.lineChange\";\n AINativeSettingSectionsId[\"CodeEditsTyping\"] = \"ai.native.codeEdits.typing\";\n})(AINativeSettingSectionsId || (exports.AINativeSettingSectionsId = AINativeSettingSectionsId = {}));\nexports.AI_NATIVE_SETTING_GROUP_ID = 'AI-Native';\nexports.AI_NATIVE_SETTING_GROUP_TITLE = 'AI Native';\n//# sourceMappingURL=ai-native.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/settings/ai-native.js?");
|
|
7179
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AI_NATIVE_SETTING_GROUP_TITLE = exports.AI_NATIVE_SETTING_GROUP_ID = exports.AINativeSettingSectionsId = void 0;\nvar AINativeSettingSectionsId;\n(function (AINativeSettingSectionsId) {\n /**\n * inline diff preview mode\n */\n AINativeSettingSectionsId[\"InlineDiffPreviewMode\"] = \"ai.native.inlineDiff.preview.mode\";\n AINativeSettingSectionsId[\"InlineChatAutoVisible\"] = \"ai.native.inlineChat.auto.visible\";\n AINativeSettingSectionsId[\"InlineChatCodeActionEnabled\"] = \"ai.native.inlineChat.codeAction.enabled\";\n AINativeSettingSectionsId[\"InterfaceQuickNavigationEnabled\"] = \"ai.native.interface.quickNavigation.enabled\";\n AINativeSettingSectionsId[\"ChatVisibleType\"] = \"ai.native.chat.visible.type\";\n /**\n * Whether to enable prompt engineering, some LLM models may not perform well on prompt engineering.\n */\n AINativeSettingSectionsId[\"IntelligentCompletionsPromptEngineeringEnabled\"] = \"ai.native.intelligentCompletions.promptEngineering.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsDebounceTime\"] = \"ai.native.intelligentCompletions.debounceTime\";\n AINativeSettingSectionsId[\"IntelligentCompletionsCacheEnabled\"] = \"ai.native.intelligentCompletions.cache.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsAlwaysVisible\"] = \"ai.native.intelligentCompletions.alwaysVisible\";\n /**\n * Code edits settings\n */\n AINativeSettingSectionsId[\"CodeEditsLintErrors\"] = \"ai.native.codeEdits.lintErrors\";\n AINativeSettingSectionsId[\"CodeEditsLineChange\"] = \"ai.native.codeEdits.lineChange\";\n /**\n * Language model API keys\n */\n AINativeSettingSectionsId[\"LLMModelSelection\"] = \"ai.native.llm.model.selection\";\n AINativeSettingSectionsId[\"DeepseekApiKey\"] = \"ai.native.deepseek.apiKey\";\n AINativeSettingSectionsId[\"AnthropicApiKey\"] = \"ai.native.anthropic.apiKey\";\n AINativeSettingSectionsId[\"OpenaiApiKey\"] = \"ai.native.openai.apiKey\";\n AINativeSettingSectionsId[\"OpenaiBaseURL\"] = \"ai.native.openai.baseURL\";\n /**\n * MCP Server configurations\n */\n AINativeSettingSectionsId[\"MCPServers\"] = \"ai.native.mcp.servers\";\n AINativeSettingSectionsId[\"CodeEditsTyping\"] = \"ai.native.codeEdits.typing\";\n})(AINativeSettingSectionsId || (exports.AINativeSettingSectionsId = AINativeSettingSectionsId = {}));\nexports.AI_NATIVE_SETTING_GROUP_ID = 'AI-Native';\nexports.AI_NATIVE_SETTING_GROUP_TITLE = 'AI Native';\n//# sourceMappingURL=ai-native.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/settings/ai-native.js?");
|
|
7180
7180
|
|
|
7181
7181
|
/***/ }),
|
|
7182
7182
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { HistoryNavigator } from '@opensumi/monaco-editor-core/esm/vs/base/common/history';
|
|
2
|
+
import { HistoryNavigator, IHistory } from '@opensumi/monaco-editor-core/esm/vs/base/common/history';
|
|
3
3
|
import { IInputBaseProps } from './Input';
|
|
4
4
|
export interface HistoryInputBoxProp extends IInputBaseProps {
|
|
5
|
-
history?: string
|
|
5
|
+
history?: IHistory<string>;
|
|
6
6
|
onReady?: (api: IHistoryInputBoxHandler) => void;
|
|
7
7
|
}
|
|
8
8
|
export interface IHistoryInputBoxHandler {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HistoryInputBox.d.ts","sourceRoot":"","sources":["../../src/input/HistoryInputBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;
|
|
1
|
+
{"version":3,"file":"HistoryInputBox.d.ts","sourceRoot":"","sources":["../../src/input/HistoryInputBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,yDAAyD,CAAC;AAErG,OAAO,EAAE,eAAe,EAAS,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAE1D,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,MAAM,EAAE,CAAC;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACrC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC;IACvE,OAAO,CAAC,QAAQ,CAA0B;IACnC,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAClC,UAAU,EAAE,mBAAmB,CAAC;IAEvC,SAAgB,KAAK,EAAE;QACrB,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;IAEK,iBAAiB;IAwBjB,YAAY,MAAO,MAAM,UAI9B;IAEK,UAAU,QAAO,MAAM,EAAE,CAAsD;IAE/E,aAAa,aAclB;IAEK,iBAAiB,QAAO,IAAI,CAcjC;IAEK,YAAY,QAAO,IAAI,CAE5B;IAEK,eAAe,QAAO,MAAM,GAAG,IAAI,CAWxC;IAEK,gBAAgB,QAAO,MAAM,GAAG,IAAI,CACmC;IAEvE,YAAY,QAAO,MAAM,GAAG,IAAI,CAA2E;IAE3G,aAAa,MAAO,MAAM,UAU/B;IAEF,OAAO,CAAC,SAAS,CAMf;IAEF,OAAO,CAAC,KAAK,CAIX;IAEK,MAAM;CAYd"}
|
|
@@ -81,7 +81,7 @@ class HistoryInputBox extends react_1.default.Component {
|
|
|
81
81
|
componentDidMount() {
|
|
82
82
|
var _a;
|
|
83
83
|
const { history, onReady } = this.props;
|
|
84
|
-
this.history = new history_1.HistoryNavigator(history || [], 100);
|
|
84
|
+
this.history = new history_1.HistoryNavigator(history || new Set([]), 100);
|
|
85
85
|
this.inputProps = { ...this.props };
|
|
86
86
|
delete this.inputProps.onReady;
|
|
87
87
|
this.setState({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HistoryInputBox.js","sourceRoot":"","sources":["../../src/input/HistoryInputBox.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,
|
|
1
|
+
{"version":3,"file":"HistoryInputBox.js","sourceRoot":"","sources":["../../src/input/HistoryInputBox.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,qFAAqG;AAErG,mCAAiD;AAkBjD,MAAa,eAAgB,SAAQ,eAAK,CAAC,SAA8B;IAAzE;;QACU,aAAQ,GAAG,eAAK,CAAC,SAAS,EAAO,CAAC;QAgCnC,iBAAY,GAAG,CAAC,CAAS,EAAE,EAAE;YAClC,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,eAAe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AE,IAAI,CAAC,aAAa;gBACjC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;gBACzC,KAAK,EAAE,IAAI,CAAC,KAAK;aAClB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IA0FM,MAAM;QACX,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC;QACvD,OAAO,CACL,8BAAC,aAAK,IACJ,GAAG,EAAE,IAAI,CAAC,QAAQ,KACd,IAAI,CAAC,UAAU,EACnB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,KAAK,EAAE,UAAU,GACjB,CACH,CAAC;IACJ,CAAC;CACF;AArID,0CAqIC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-components",
|
|
3
|
-
"version": "3.7.2-next-
|
|
3
|
+
"version": "3.7.2-next-1740013940.0",
|
|
4
4
|
"description": "@opensumi/ide-components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@ant-design/icons": "^4.6.4",
|
|
19
|
-
"@opensumi/ide-core-common": "3.7.2-next-
|
|
20
|
-
"@opensumi/ide-utils": "3.7.2-next-
|
|
19
|
+
"@opensumi/ide-core-common": "3.7.2-next-1740013940.0",
|
|
20
|
+
"@opensumi/ide-utils": "3.7.2-next-1740013940.0",
|
|
21
21
|
"@opensumi/react-custom-scrollbars-2": "^4.3.4",
|
|
22
22
|
"@rc-component/mini-decimal": "^1.0.1",
|
|
23
23
|
"fuzzy": "^0.1.3",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"react-window": "^1.8.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@opensumi/ide-dev-tool": "3.7.2-next-
|
|
41
|
+
"@opensumi/ide-dev-tool": "3.7.2-next-1740013940.0",
|
|
42
42
|
"@types/marked": "^4.0.7",
|
|
43
43
|
"@types/react-window": "^1.8.5",
|
|
44
44
|
"prop-types": "^15.8.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "8f306f097b8c20d2c7d41fb44412a4c608f49ddb"
|
|
47
47
|
}
|