@opensumi/ide-components 3.7.1-next-1736846464.0 → 3.7.1-next-1737364617.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/dist/index.js +3 -3
  2. package/package.json +5 -5
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 || (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 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
 
@@ -7286,7 +7286,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n//#
7286
7286
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7287
7287
 
7288
7288
  "use strict";
7289
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ECodeEditsSourceTyping = exports.ChatAgentViewServiceToken = exports.ChatServiceToken = exports.IntelligentCompletionsRegistryToken = exports.TerminalRegistryToken = exports.ProblemFixRegistryToken = exports.RenameCandidatesProviderRegistryToken = exports.ResolveConflictRegistryToken = exports.ChatRenderRegistryToken = exports.ChatFeatureRegistryToken = exports.InlineChatFeatureRegistryToken = exports.CancelResponse = exports.ErrorResponse = exports.ReplyResponse = exports.AIBackSerivcePath = exports.AIBackSerivceToken = exports.ECompletionType = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\ntslib_1.__exportStar(__webpack_require__(/*! ./reporter */ \"../core-common/lib/types/ai-native/reporter.js\"), exports);\nvar ECompletionType;\n(function (ECompletionType) {\n /**\n * 行补全\n */\n ECompletionType[ECompletionType[\"Line\"] = 0] = \"Line\";\n /**\n * 片段补全\n */\n ECompletionType[ECompletionType[\"Snippet\"] = 1] = \"Snippet\";\n /**\n * 块补全\n */\n ECompletionType[ECompletionType[\"Block\"] = 2] = \"Block\";\n})(ECompletionType || (exports.ECompletionType = ECompletionType = {}));\nexports.AIBackSerivceToken = Symbol('AIBackSerivceToken');\nexports.AIBackSerivcePath = 'AIBackSerivcePath';\nclass ReplyResponse {\n get message() {\n return this._message;\n }\n constructor(_message) {\n this._message = _message;\n }\n static is(response) {\n return response instanceof ReplyResponse || (typeof response === 'object' && response.message !== undefined);\n }\n extractCodeContent() {\n const regex = /```\\w*([\\s\\S]+?)\\s*```/;\n const match = regex.exec(this.message);\n return match ? match[1].trim() : this.message.trim();\n }\n updateMessage(msg) {\n this._message = msg;\n }\n}\nexports.ReplyResponse = ReplyResponse;\nclass ErrorResponse {\n constructor(error, message) {\n this.error = error;\n this.message = message;\n }\n static is(response) {\n return response instanceof ErrorResponse || (typeof response === 'object' && response.error !== undefined);\n }\n}\nexports.ErrorResponse = ErrorResponse;\nclass CancelResponse {\n constructor(message) {\n this.message = message;\n this.cancellation = true;\n }\n static is(response) {\n return response instanceof CancelResponse || (typeof response === 'object' && response.cancellation !== undefined);\n }\n}\nexports.CancelResponse = CancelResponse;\n/**\n * DI Token\n */\nexports.InlineChatFeatureRegistryToken = Symbol('InlineChatFeatureRegistryToken');\nexports.ChatFeatureRegistryToken = Symbol('ChatFeatureRegistryToken');\nexports.ChatRenderRegistryToken = Symbol('ChatRenderRegistryToken');\nexports.ResolveConflictRegistryToken = Symbol('ResolveConflictRegistryToken');\nexports.RenameCandidatesProviderRegistryToken = Symbol('RenameCandidatesProviderRegistryToken');\nexports.ProblemFixRegistryToken = Symbol('ProblemFixRegistryToken');\nexports.TerminalRegistryToken = Symbol('TerminalRegistryToken');\nexports.IntelligentCompletionsRegistryToken = Symbol('IntelligentCompletionsRegistryToken');\nexports.ChatServiceToken = Symbol('ChatServiceToken');\nexports.ChatAgentViewServiceToken = Symbol('ChatAgentViewServiceToken');\n// ## Code Edits start ##\nvar ECodeEditsSourceTyping;\n(function (ECodeEditsSourceTyping) {\n ECodeEditsSourceTyping[\"LinterErrors\"] = \"lint_errors\";\n ECodeEditsSourceTyping[\"LineChange\"] = \"line_change\";\n})(ECodeEditsSourceTyping || (exports.ECodeEditsSourceTyping = ECodeEditsSourceTyping = {}));\n// ## Code Edits ends ##\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/index.js?");
7289
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ECodeEditsSourceTyping = exports.ChatAgentViewServiceToken = exports.ChatServiceToken = exports.IntelligentCompletionsRegistryToken = exports.TerminalRegistryToken = exports.ProblemFixRegistryToken = exports.RenameCandidatesProviderRegistryToken = exports.ResolveConflictRegistryToken = exports.ChatRenderRegistryToken = exports.ChatFeatureRegistryToken = exports.InlineChatFeatureRegistryToken = exports.CancelResponse = exports.ErrorResponse = exports.ReplyResponse = exports.AIBackSerivcePath = exports.AIBackSerivceToken = exports.ECompletionType = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\ntslib_1.__exportStar(__webpack_require__(/*! ./reporter */ \"../core-common/lib/types/ai-native/reporter.js\"), exports);\nvar ECompletionType;\n(function (ECompletionType) {\n /**\n * 行补全\n */\n ECompletionType[ECompletionType[\"Line\"] = 0] = \"Line\";\n /**\n * 片段补全\n */\n ECompletionType[ECompletionType[\"Snippet\"] = 1] = \"Snippet\";\n /**\n * 块补全\n */\n ECompletionType[ECompletionType[\"Block\"] = 2] = \"Block\";\n})(ECompletionType || (exports.ECompletionType = ECompletionType = {}));\nexports.AIBackSerivceToken = Symbol('AIBackSerivceToken');\nexports.AIBackSerivcePath = 'AIBackSerivcePath';\nclass ReplyResponse {\n get message() {\n return this._message;\n }\n constructor(_message) {\n this._message = _message;\n }\n static is(response) {\n return response instanceof ReplyResponse || (typeof response === 'object' && response.message !== undefined);\n }\n extractCodeContent() {\n const regex = /```\\w*([\\s\\S]+?)\\s*```/;\n const match = regex.exec(this.message);\n return match ? match[1].trim() : this.message.trim();\n }\n updateMessage(msg) {\n this._message = msg;\n }\n}\nexports.ReplyResponse = ReplyResponse;\nclass ErrorResponse {\n constructor(error, message) {\n this.error = error;\n this.message = message;\n }\n static is(response) {\n return response instanceof ErrorResponse || (typeof response === 'object' && response.error !== undefined);\n }\n}\nexports.ErrorResponse = ErrorResponse;\nclass CancelResponse {\n constructor(message) {\n this.message = message;\n this.cancellation = true;\n }\n static is(response) {\n return response instanceof CancelResponse || (typeof response === 'object' && response.cancellation !== undefined);\n }\n}\nexports.CancelResponse = CancelResponse;\n/**\n * DI Token\n */\nexports.InlineChatFeatureRegistryToken = Symbol('InlineChatFeatureRegistryToken');\nexports.ChatFeatureRegistryToken = Symbol('ChatFeatureRegistryToken');\nexports.ChatRenderRegistryToken = Symbol('ChatRenderRegistryToken');\nexports.ResolveConflictRegistryToken = Symbol('ResolveConflictRegistryToken');\nexports.RenameCandidatesProviderRegistryToken = Symbol('RenameCandidatesProviderRegistryToken');\nexports.ProblemFixRegistryToken = Symbol('ProblemFixRegistryToken');\nexports.TerminalRegistryToken = Symbol('TerminalRegistryToken');\nexports.IntelligentCompletionsRegistryToken = Symbol('IntelligentCompletionsRegistryToken');\nexports.ChatServiceToken = Symbol('ChatServiceToken');\nexports.ChatAgentViewServiceToken = Symbol('ChatAgentViewServiceToken');\n// ## Code Edits start ##\nvar ECodeEditsSourceTyping;\n(function (ECodeEditsSourceTyping) {\n ECodeEditsSourceTyping[\"LinterErrors\"] = \"lint_errors\";\n ECodeEditsSourceTyping[\"LineChange\"] = \"line_change\";\n ECodeEditsSourceTyping[\"Typing\"] = \"typing\";\n})(ECodeEditsSourceTyping || (exports.ECodeEditsSourceTyping = ECodeEditsSourceTyping = {}));\n// ## Code Edits ends ##\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/index.js?");
7290
7290
 
7291
7291
  /***/ }),
7292
7292
 
@@ -7374,7 +7374,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
7374
7374
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7375
7375
 
7376
7376
  "use strict";
7377
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.RecursiveWatcherBackend = exports.VSCFileChangeType = exports.FileChangeType = exports.FileChangeEvent = exports.FileChange = void 0;\nconst ide_utils_1 = __webpack_require__(/*! @opensumi/ide-utils */ \"../utils/lib/index.js\");\nvar FileChange;\n(function (FileChange) {\n function isUpdated(change, uri) {\n return change.type === FileChangeType.UPDATED && uri.toString() === change.uri;\n }\n FileChange.isUpdated = isUpdated;\n function isAdded(change, uri) {\n return change.type === FileChangeType.ADDED && uri.toString() === change.uri;\n }\n FileChange.isAdded = isAdded;\n function isDeleted(change, uri) {\n return change.type === FileChangeType.DELETED && ide_utils_1.URI.file(change.uri).isEqualOrParent(uri);\n }\n FileChange.isDeleted = isDeleted;\n function isAffected(change, uri) {\n return isDeleted(change, uri) || uri.toString() === change.uri;\n }\n FileChange.isAffected = isAffected;\n function isChanged(change, uri) {\n return !isDeleted(change, uri) && uri.toString() === change.uri;\n }\n FileChange.isChanged = isChanged;\n})(FileChange || (exports.FileChange = FileChange = {}));\nvar FileChangeEvent;\n(function (FileChangeEvent) {\n function isUpdated(event, uri) {\n return event.some((change) => FileChange.isUpdated(change, uri));\n }\n FileChangeEvent.isUpdated = isUpdated;\n function isAdded(event, uri) {\n return event.some((change) => FileChange.isAdded(change, uri));\n }\n FileChangeEvent.isAdded = isAdded;\n function isDeleted(event, uri) {\n return event.some((change) => FileChange.isDeleted(change, uri));\n }\n FileChangeEvent.isDeleted = isDeleted;\n function isAffected(event, uri) {\n return event.some((change) => FileChange.isAffected(change, uri));\n }\n FileChangeEvent.isAffected = isAffected;\n function isChanged(event, uri) {\n return !isDeleted(event, uri) && event.some((change) => FileChange.isChanged(change, uri));\n }\n FileChangeEvent.isChanged = isChanged;\n})(FileChangeEvent || (exports.FileChangeEvent = FileChangeEvent = {}));\nvar FileChangeType;\n(function (FileChangeType) {\n FileChangeType[FileChangeType[\"UPDATED\"] = 0] = \"UPDATED\";\n FileChangeType[FileChangeType[\"ADDED\"] = 1] = \"ADDED\";\n FileChangeType[FileChangeType[\"DELETED\"] = 2] = \"DELETED\";\n})(FileChangeType || (exports.FileChangeType = FileChangeType = {}));\nvar VSCFileChangeType;\n(function (VSCFileChangeType) {\n /**\n * The contents or metadata of a file have changed.\n */\n VSCFileChangeType[VSCFileChangeType[\"Changed\"] = 1] = \"Changed\";\n /**\n * A file has been created.\n */\n VSCFileChangeType[VSCFileChangeType[\"Created\"] = 2] = \"Created\";\n /**\n * A file has been deleted.\n */\n VSCFileChangeType[VSCFileChangeType[\"Deleted\"] = 3] = \"Deleted\";\n})(VSCFileChangeType || (exports.VSCFileChangeType = VSCFileChangeType = {}));\nvar RecursiveWatcherBackend;\n(function (RecursiveWatcherBackend) {\n RecursiveWatcherBackend[\"NSFW\"] = \"nsfw\";\n RecursiveWatcherBackend[\"PARCEL\"] = \"parcel\";\n})(RecursiveWatcherBackend || (exports.RecursiveWatcherBackend = RecursiveWatcherBackend = {}));\n//# sourceMappingURL=file-watch.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/file-watch.js?");
7377
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.VSCFileChangeType = exports.FileChangeType = exports.FileChangeEvent = exports.FileChange = void 0;\nconst ide_utils_1 = __webpack_require__(/*! @opensumi/ide-utils */ \"../utils/lib/index.js\");\nvar FileChange;\n(function (FileChange) {\n function isUpdated(change, uri) {\n return change.type === FileChangeType.UPDATED && uri.toString() === change.uri;\n }\n FileChange.isUpdated = isUpdated;\n function isAdded(change, uri) {\n return change.type === FileChangeType.ADDED && uri.toString() === change.uri;\n }\n FileChange.isAdded = isAdded;\n function isDeleted(change, uri) {\n return change.type === FileChangeType.DELETED && ide_utils_1.URI.file(change.uri).isEqualOrParent(uri);\n }\n FileChange.isDeleted = isDeleted;\n function isAffected(change, uri) {\n return isDeleted(change, uri) || uri.toString() === change.uri;\n }\n FileChange.isAffected = isAffected;\n function isChanged(change, uri) {\n return !isDeleted(change, uri) && uri.toString() === change.uri;\n }\n FileChange.isChanged = isChanged;\n})(FileChange || (exports.FileChange = FileChange = {}));\nvar FileChangeEvent;\n(function (FileChangeEvent) {\n function isUpdated(event, uri) {\n return event.some((change) => FileChange.isUpdated(change, uri));\n }\n FileChangeEvent.isUpdated = isUpdated;\n function isAdded(event, uri) {\n return event.some((change) => FileChange.isAdded(change, uri));\n }\n FileChangeEvent.isAdded = isAdded;\n function isDeleted(event, uri) {\n return event.some((change) => FileChange.isDeleted(change, uri));\n }\n FileChangeEvent.isDeleted = isDeleted;\n function isAffected(event, uri) {\n return event.some((change) => FileChange.isAffected(change, uri));\n }\n FileChangeEvent.isAffected = isAffected;\n function isChanged(event, uri) {\n return !isDeleted(event, uri) && event.some((change) => FileChange.isChanged(change, uri));\n }\n FileChangeEvent.isChanged = isChanged;\n})(FileChangeEvent || (exports.FileChangeEvent = FileChangeEvent = {}));\nvar FileChangeType;\n(function (FileChangeType) {\n FileChangeType[FileChangeType[\"UPDATED\"] = 0] = \"UPDATED\";\n FileChangeType[FileChangeType[\"ADDED\"] = 1] = \"ADDED\";\n FileChangeType[FileChangeType[\"DELETED\"] = 2] = \"DELETED\";\n})(FileChangeType || (exports.FileChangeType = FileChangeType = {}));\nvar VSCFileChangeType;\n(function (VSCFileChangeType) {\n /**\n * The contents or metadata of a file have changed.\n */\n VSCFileChangeType[VSCFileChangeType[\"Changed\"] = 1] = \"Changed\";\n /**\n * A file has been created.\n */\n VSCFileChangeType[VSCFileChangeType[\"Created\"] = 2] = \"Created\";\n /**\n * A file has been deleted.\n */\n VSCFileChangeType[VSCFileChangeType[\"Deleted\"] = 3] = \"Deleted\";\n})(VSCFileChangeType || (exports.VSCFileChangeType = VSCFileChangeType = {}));\n//# sourceMappingURL=file-watch.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/file-watch.js?");
7378
7378
 
7379
7379
  /***/ }),
7380
7380
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-components",
3
- "version": "3.7.1-next-1736846464.0",
3
+ "version": "3.7.1-next-1737364617.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.1-next-1736846464.0",
20
- "@opensumi/ide-utils": "3.7.1-next-1736846464.0",
19
+ "@opensumi/ide-core-common": "3.7.1-next-1737364617.0",
20
+ "@opensumi/ide-utils": "3.7.1-next-1737364617.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.1-next-1736846464.0",
41
+ "@opensumi/ide-dev-tool": "3.7.1-next-1737364617.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": "4b9a76cf2a118fc2b2bf49bf5b042a8d0f4cc0b6"
46
+ "gitHead": "54bc272ac04f5cf93da7f7f1794f79f510c39685"
47
47
  }