@opensumi/ide-core-common 3.4.5-next-1729826189.0 → 3.4.5-next-1730085105.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.
@@ -1,6 +1,6 @@
1
1
  import { ECodeEditsSourceTyping } from './index';
2
2
  export declare const AI_REPORTER_NAME = "AI";
3
- export declare enum AISerivceType {
3
+ export declare enum AIServiceType {
4
4
  Chat = "chat",
5
5
  InlineChat = "inlineChat",
6
6
  CodeAction = "codeAction",
@@ -40,7 +40,7 @@ export declare enum ActionTypeEnum {
40
40
  HoverFix = "hoverFix"
41
41
  }
42
42
  export interface CommonLogInfo {
43
- msgType: AISerivceType | string;
43
+ msgType: AIServiceType | string;
44
44
  relationId: string;
45
45
  replytime: number;
46
46
  success: boolean;
@@ -127,21 +127,21 @@ export interface CodeEditsRT extends Partial<CommonLogInfo> {
127
127
  discard?: boolean;
128
128
  }
129
129
  export type ReportInfo = Partial<CommonLogInfo> | ({
130
- type: AISerivceType.Completion;
130
+ type: AIServiceType.Completion;
131
131
  } & CompletionRT) | ({
132
- type: AISerivceType.MergeConflict;
132
+ type: AIServiceType.MergeConflict;
133
133
  } & MergeConflictRT) | ({
134
- type: AISerivceType.Rename;
134
+ type: AIServiceType.Rename;
135
135
  } & RenameRT) | ({
136
- type: AISerivceType.InlineChat;
136
+ type: AIServiceType.InlineChat;
137
137
  } & InlineChatRT) | ({
138
- type: AISerivceType.InlineChatInput;
138
+ type: AIServiceType.InlineChatInput;
139
139
  } & InlineChatRT) | ({
140
- type: AISerivceType.Chat;
140
+ type: AIServiceType.Chat;
141
141
  } & ChatRT) | ({
142
- type: AISerivceType.Agent;
142
+ type: AIServiceType.Agent;
143
143
  } & ChatRT) | ({
144
- type: AISerivceType.CodeEdits;
144
+ type: AIServiceType.CodeEdits;
145
145
  } & CodeEditsRT);
146
146
  export declare const IAIReporter: unique symbol;
147
147
  export interface IAIReporter {
@@ -1,22 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IAIReporter = exports.MergeConflictEditorMode = exports.ActionTypeEnum = exports.ActionSourceEnum = exports.AISerivceType = exports.AI_REPORTER_NAME = void 0;
3
+ exports.IAIReporter = exports.MergeConflictEditorMode = exports.ActionTypeEnum = exports.ActionSourceEnum = exports.AIServiceType = exports.AI_REPORTER_NAME = void 0;
4
4
  exports.AI_REPORTER_NAME = 'AI';
5
- var AISerivceType;
6
- (function (AISerivceType) {
7
- AISerivceType["Chat"] = "chat";
8
- AISerivceType["InlineChat"] = "inlineChat";
9
- AISerivceType["CodeAction"] = "codeAction";
10
- AISerivceType["InlineChatInput"] = "inlineChatInput";
11
- AISerivceType["CustomReplay"] = "customReplay";
12
- AISerivceType["Completion"] = "completion";
13
- AISerivceType["Agent"] = "agent";
14
- AISerivceType["MergeConflict"] = "mergeConflict";
15
- AISerivceType["Rename"] = "rename";
16
- AISerivceType["TerminalAICommand"] = "terminalAICommand";
17
- AISerivceType["ProblemFix"] = "problemFix";
18
- AISerivceType["CodeEdits"] = "codeEdits";
19
- })(AISerivceType = exports.AISerivceType || (exports.AISerivceType = {}));
5
+ var AIServiceType;
6
+ (function (AIServiceType) {
7
+ AIServiceType["Chat"] = "chat";
8
+ AIServiceType["InlineChat"] = "inlineChat";
9
+ AIServiceType["CodeAction"] = "codeAction";
10
+ AIServiceType["InlineChatInput"] = "inlineChatInput";
11
+ AIServiceType["CustomReplay"] = "customReplay";
12
+ AIServiceType["Completion"] = "completion";
13
+ AIServiceType["Agent"] = "agent";
14
+ AIServiceType["MergeConflict"] = "mergeConflict";
15
+ AIServiceType["Rename"] = "rename";
16
+ AIServiceType["TerminalAICommand"] = "terminalAICommand";
17
+ AIServiceType["ProblemFix"] = "problemFix";
18
+ AIServiceType["CodeEdits"] = "codeEdits";
19
+ })(AIServiceType = exports.AIServiceType || (exports.AIServiceType = {}));
20
20
  var ActionSourceEnum;
21
21
  (function (ActionSourceEnum) {
22
22
  // 聊天面板
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-core-common",
3
- "version": "3.4.5-next-1729826189.0",
3
+ "version": "3.4.5-next-1730085105.0",
4
4
  "description": "@opensumi/ide-core-common",
5
5
  "files": [
6
6
  "lib",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@opensumi/di": "^1.8.0",
22
22
  "@opensumi/events": "^1.0.0",
23
- "@opensumi/ide-utils": "3.4.5-next-1729826189.0"
23
+ "@opensumi/ide-utils": "3.4.5-next-1730085105.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@opensumi/ide-dev-tool": "3.4.5-next-1729826189.0"
26
+ "@opensumi/ide-dev-tool": "3.4.5-next-1730085105.0"
27
27
  },
28
- "gitHead": "19e3e7d437e19da79a5c8c253a83b58a6b10cd76"
28
+ "gitHead": "05cad6ce00c6e253f074d94fd87845d4bb38158a"
29
29
  }
@@ -2,7 +2,7 @@ import { ECodeEditsSourceTyping } from './index';
2
2
 
3
3
  export const AI_REPORTER_NAME = 'AI';
4
4
 
5
- export enum AISerivceType {
5
+ export enum AIServiceType {
6
6
  Chat = 'chat',
7
7
  InlineChat = 'inlineChat',
8
8
  CodeAction = 'codeAction',
@@ -67,7 +67,7 @@ export enum ActionTypeEnum {
67
67
  }
68
68
 
69
69
  export interface CommonLogInfo {
70
- msgType: AISerivceType | string;
70
+ msgType: AIServiceType | string;
71
71
  relationId: string;
72
72
  replytime: number;
73
73
  success: boolean;
@@ -184,14 +184,14 @@ export interface CodeEditsRT extends Partial<CommonLogInfo> {
184
184
 
185
185
  export type ReportInfo =
186
186
  | Partial<CommonLogInfo>
187
- | ({ type: AISerivceType.Completion } & CompletionRT)
188
- | ({ type: AISerivceType.MergeConflict } & MergeConflictRT)
189
- | ({ type: AISerivceType.Rename } & RenameRT)
190
- | ({ type: AISerivceType.InlineChat } & InlineChatRT)
191
- | ({ type: AISerivceType.InlineChatInput } & InlineChatRT)
192
- | ({ type: AISerivceType.Chat } & ChatRT)
193
- | ({ type: AISerivceType.Agent } & ChatRT)
194
- | ({ type: AISerivceType.CodeEdits } & CodeEditsRT);
187
+ | ({ type: AIServiceType.Completion } & CompletionRT)
188
+ | ({ type: AIServiceType.MergeConflict } & MergeConflictRT)
189
+ | ({ type: AIServiceType.Rename } & RenameRT)
190
+ | ({ type: AIServiceType.InlineChat } & InlineChatRT)
191
+ | ({ type: AIServiceType.InlineChatInput } & InlineChatRT)
192
+ | ({ type: AIServiceType.Chat } & ChatRT)
193
+ | ({ type: AIServiceType.Agent } & ChatRT)
194
+ | ({ type: AIServiceType.CodeEdits } & CodeEditsRT);
195
195
 
196
196
  export const IAIReporter = Symbol('IAIReporter');
197
197