@opensumi/ide-components 3.3.4-next-1725949351.0 → 3.3.4-next-1726129502.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 +3 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -6126,7 +6126,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
6126
6126
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6127
6127
|
|
|
6128
6128
|
"use strict";
|
|
6129
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.
|
|
6129
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Mimes = void 0;\nexports.Mimes = Object.freeze({\n text: 'text/plain',\n binary: 'application/octet-stream',\n unknown: 'application/unknown',\n markdown: 'text/markdown',\n latex: 'text/latex',\n uriList: 'text/uri-list',\n});\n//# sourceMappingURL=mime.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/mime.js?");
|
|
6130
6130
|
|
|
6131
6131
|
/***/ }),
|
|
6132
6132
|
|
|
@@ -6346,7 +6346,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n//#
|
|
|
6346
6346
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6347
6347
|
|
|
6348
6348
|
"use strict";
|
|
6349
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ChatAgentViewServiceToken = exports.ChatServiceToken = exports.IntelligentCompletionsRegistryToken = exports.TerminalRegistryToken = exports.
|
|
6349
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ChatAgentViewServiceToken = exports.ChatServiceToken = exports.IntelligentCompletionsRegistryToken = exports.TerminalRegistryToken = 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 || (exports.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.TerminalRegistryToken = Symbol('TerminalRegistryToken');\nexports.IntelligentCompletionsRegistryToken = Symbol('IntelligentCompletionsRegistryToken');\nexports.ChatServiceToken = Symbol('ChatServiceToken');\nexports.ChatAgentViewServiceToken = Symbol('ChatAgentViewServiceToken');\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/index.js?");
|
|
6350
6350
|
|
|
6351
6351
|
/***/ }),
|
|
6352
6352
|
|
|
@@ -6357,7 +6357,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
6357
6357
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6358
6358
|
|
|
6359
6359
|
"use strict";
|
|
6360
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.IAIReporter = exports.MergeConflictEditorMode = exports.ActionTypeEnum = exports.ActionSourceEnum = exports.AISerivceType = exports.AI_REPORTER_NAME = void 0;\nexports.AI_REPORTER_NAME = 'AI';\nvar AISerivceType;\n(function (AISerivceType) {\n AISerivceType[\"Chat\"] = \"chat\";\n AISerivceType[\"InlineChat\"] = \"inlineChat\";\n AISerivceType[\"CodeAction\"] = \"codeAction\";\n AISerivceType[\"InlineChatInput\"] = \"inlineChatInput\";\n AISerivceType[\"CustomReplay\"] = \"customReplay\";\n AISerivceType[\"Completion\"] = \"completion\";\n AISerivceType[\"Agent\"] = \"agent\";\n AISerivceType[\"MergeConflict\"] = \"mergeConflict\";\n AISerivceType[\"Rename\"] = \"rename\";\n AISerivceType[\"TerminalAICommand\"] = \"terminalAICommand\";\n
|
|
6360
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.IAIReporter = exports.MergeConflictEditorMode = exports.ActionTypeEnum = exports.ActionSourceEnum = exports.AISerivceType = exports.AI_REPORTER_NAME = void 0;\nexports.AI_REPORTER_NAME = 'AI';\nvar AISerivceType;\n(function (AISerivceType) {\n AISerivceType[\"Chat\"] = \"chat\";\n AISerivceType[\"InlineChat\"] = \"inlineChat\";\n AISerivceType[\"CodeAction\"] = \"codeAction\";\n AISerivceType[\"InlineChatInput\"] = \"inlineChatInput\";\n AISerivceType[\"CustomReplay\"] = \"customReplay\";\n AISerivceType[\"Completion\"] = \"completion\";\n AISerivceType[\"Agent\"] = \"agent\";\n AISerivceType[\"MergeConflict\"] = \"mergeConflict\";\n AISerivceType[\"Rename\"] = \"rename\";\n AISerivceType[\"TerminalAICommand\"] = \"terminalAICommand\";\n})(AISerivceType = exports.AISerivceType || (exports.AISerivceType = {}));\nvar ActionSourceEnum;\n(function (ActionSourceEnum) {\n // 聊天面板\n ActionSourceEnum[\"Chat\"] = \"chat\";\n // 编辑器内联 Chat\n ActionSourceEnum[\"InlineChat\"] = \"inlineChat\";\n // 编辑器内联 ChatInput\n ActionSourceEnum[\"InlineChatInput\"] = \"inlineChatInput\";\n // 编辑器内 Action\n ActionSourceEnum[\"CodeAction\"] = \"codeAction\";\n // 终端\n ActionSourceEnum[\"Terminal\"] = \"terminal\";\n // 下拉补全 | 自动补全\n ActionSourceEnum[\"Completion\"] = \"completion\";\n})(ActionSourceEnum = exports.ActionSourceEnum || (exports.ActionSourceEnum = {}));\nvar ActionTypeEnum;\n(function (ActionTypeEnum) {\n // 自动补全\n ActionTypeEnum[\"Completion\"] = \"completion\";\n // 下拉补全\n ActionTypeEnum[\"DropdownCompletion\"] = \"dropdownCompletion\";\n // ai重命名\n ActionTypeEnum[\"Rename\"] = \"rename\";\n // Chat面板 插入代码\n ActionTypeEnum[\"ChatInsertCode\"] = \"chatInsertCode\";\n // Chat面板 复制代码\n ActionTypeEnum[\"ChatCopyCode\"] = \"chatCopyCode\";\n // Chat面板 欢迎语的Action\n ActionTypeEnum[\"Welcome\"] = \"welcome\";\n // Chat面板 回复消息的Action\n ActionTypeEnum[\"Followup\"] = \"followup\";\n // 发送消息\n ActionTypeEnum[\"Send\"] = \"send\";\n // 生成代码后的行动点:全部采纳\n ActionTypeEnum[\"Accept\"] = \"accept\";\n // 生成代码后的行动点:单模块采纳\n ActionTypeEnum[\"lineAccept\"] = \"lineAccept\";\n // 生成代码后的行动点:全部拒绝\n ActionTypeEnum[\"Discard\"] = \"discard\";\n // 生成代码后的行动点:全部拒绝\n ActionTypeEnum[\"LineDiscard\"] = \"lineDiscard\";\n // 生成代码后的行动点:重新生成\n ActionTypeEnum[\"Regenerate\"] = \"regenerate\";\n // 包含业务自定义的Action\n})(ActionTypeEnum = exports.ActionTypeEnum || (exports.ActionTypeEnum = {}));\nvar MergeConflictEditorMode;\n(function (MergeConflictEditorMode) {\n MergeConflictEditorMode[\"3way\"] = \"3way\";\n MergeConflictEditorMode[\"traditional\"] = \"traditional\";\n})(MergeConflictEditorMode = exports.MergeConflictEditorMode || (exports.MergeConflictEditorMode = {}));\nexports.IAIReporter = Symbol('IAIReporter');\n//# sourceMappingURL=reporter.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/reporter.js?");
|
|
6361
6361
|
|
|
6362
6362
|
/***/ }),
|
|
6363
6363
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-components",
|
|
3
|
-
"version": "3.3.4-next-
|
|
3
|
+
"version": "3.3.4-next-1726129502.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.3.4-next-
|
|
20
|
-
"@opensumi/ide-utils": "3.3.4-next-
|
|
19
|
+
"@opensumi/ide-core-common": "3.3.4-next-1726129502.0",
|
|
20
|
+
"@opensumi/ide-utils": "3.3.4-next-1726129502.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.3.4-next-
|
|
41
|
+
"@opensumi/ide-dev-tool": "3.3.4-next-1726129502.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": "415e18aa12f343377bd4014c21e4ac33fcd93bd4"
|
|
47
47
|
}
|