@opensumi/ide-components 3.8.3-next-1745805174.0 → 3.8.3-next-1745835516.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 +1 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -7616,7 +7616,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n//#
7616
7616
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7617
7617
 
7618
7618
  "use strict";
7619
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ECodeEditsSourceTyping = exports.CoreMessgaeRoleMap = 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');\nexports.CoreMessgaeRoleMap = {\n system: 0 /* ChatMessageRole.System */,\n user: 1 /* ChatMessageRole.User */,\n tool: 3 /* ChatMessageRole.Function */,\n assistant: 2 /* ChatMessageRole.Assistant */,\n};\n// ## Code Edits start ##\nvar ECodeEditsSourceTyping;\n(function (ECodeEditsSourceTyping) {\n ECodeEditsSourceTyping[\"LinterErrors\"] = \"lint_errors\";\n ECodeEditsSourceTyping[\"LineChange\"] = \"line_change\";\n ECodeEditsSourceTyping[\"Typing\"] = \"typing\";\n // 主动触发\n ECodeEditsSourceTyping[\"Trigger\"] = \"trigger\";\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?");
7619
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ECodeEditsSourceTyping = exports.CoreMessgaeRoleMap = exports.ChatAgentViewServiceToken = exports.ChatServiceToken = exports.MCPConfigServiceToken = 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.MCPConfigServiceToken = Symbol('MCPConfigServiceToken');\nexports.ChatServiceToken = Symbol('ChatServiceToken');\nexports.ChatAgentViewServiceToken = Symbol('ChatAgentViewServiceToken');\nexports.CoreMessgaeRoleMap = {\n system: 0 /* ChatMessageRole.System */,\n user: 1 /* ChatMessageRole.User */,\n tool: 3 /* ChatMessageRole.Function */,\n assistant: 2 /* ChatMessageRole.Assistant */,\n};\n// ## Code Edits start ##\nvar ECodeEditsSourceTyping;\n(function (ECodeEditsSourceTyping) {\n ECodeEditsSourceTyping[\"LinterErrors\"] = \"lint_errors\";\n ECodeEditsSourceTyping[\"LineChange\"] = \"line_change\";\n ECodeEditsSourceTyping[\"Typing\"] = \"typing\";\n // 主动触发\n ECodeEditsSourceTyping[\"Trigger\"] = \"trigger\";\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?");
7620
7620
 
7621
7621
  /***/ }),
7622
7622
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-components",
3
- "version": "3.8.3-next-1745805174.0",
3
+ "version": "3.8.3-next-1745835516.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.8.3-next-1745805174.0",
20
- "@opensumi/ide-utils": "3.8.3-next-1745805174.0",
19
+ "@opensumi/ide-core-common": "3.8.3-next-1745835516.0",
20
+ "@opensumi/ide-utils": "3.8.3-next-1745835516.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",
@@ -39,10 +39,10 @@
39
39
  "react-window": "^1.8.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@opensumi/ide-dev-tool": "3.8.3-next-1745805174.0",
42
+ "@opensumi/ide-dev-tool": "3.8.3-next-1745835516.0",
43
43
  "@types/marked": "^4.0.7",
44
44
  "@types/react-window": "^1.8.5",
45
45
  "prop-types": "^15.8.1"
46
46
  },
47
- "gitHead": "877aa8409727e39b0f8e992766b9bca893ba769c"
47
+ "gitHead": "935414b8d4f60dc14ade02717aafd3a562f8cb4d"
48
48
  }