Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): release v3.3.2 #4001

Merged
merged 4 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "3.3.1"
"version": "3.3.2"
}
2 changes: 1 addition & 1 deletion packages/addons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-addons",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-ai-native",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Autowired, INJECTOR_TOKEN, Injectable, Injector } from '@opensumi/di';
import { AINativeConfigService, IAIInlineChatService, PreferenceService } from '@opensumi/ide-core-browser';
import { AIActionItem } from '@opensumi/ide-core-browser/lib/components/ai-native/index';
import {
AIInlineChatContentWidgetId,
AINativeSettingSectionsId,
Expand Down Expand Up @@ -249,14 +248,17 @@ export class InlineChatHandler extends Disposable {
type: AISerivceType.InlineChat,
source,
runByCodeAction: source === 'codeAction',
actionSource: ActionSourceEnum.InlineChat,
actionSource: source === 'codeAction' ? ActionSourceEnum.CodeAction : ActionSourceEnum.InlineChat,
actionType: action.name,
});
return relationId;
},
execute: handler.execute ? handler.execute!.bind(this, monacoEditor, this.cancelIndicator.token) : undefined,
providerPreview: previewer(),
action,
extraData: {
actionSource: source === 'codeAction' ? ActionSourceEnum.CodeAction : ActionSourceEnum.InlineChat,
actionType: action.name,
},
});
}),
);
Expand All @@ -278,8 +280,7 @@ export class InlineChatHandler extends Disposable {
message: value,
type: AISerivceType.InlineChatInput,
source: 'input',
actionSource: ActionSourceEnum.InlineChat,
actionType: ActionTypeEnum.Send,
actionSource: ActionSourceEnum.InlineChatInput,
});
return relationId;
},
Expand All @@ -291,6 +292,10 @@ export class InlineChatHandler extends Disposable {
handler.providePreviewStrategy && strategy === ERunStrategy.PREVIEW
? handler.providePreviewStrategy.bind(this, monacoEditor, value, this.cancelIndicator.token)
: undefined,
extraData: {
actionSource: ActionSourceEnum.InlineChatInput,
actionType: strategy,
},
});
}),
);
Expand Down Expand Up @@ -508,7 +513,6 @@ export class InlineChatHandler extends Disposable {
isDrop: false,
code: modifyContent,
originCode: originContent,
actionSource: ActionSourceEnum.InlineChat,
actionType: ActionTypeEnum.Accept,
});
runWhenIdle(() => {
Expand All @@ -522,7 +526,6 @@ export class InlineChatHandler extends Disposable {
isReceive: false,
code: modifyContent,
originCode: originContent,
actionSource: ActionSourceEnum.InlineChat,
actionType: ActionTypeEnum.Discard,
});
runWhenIdle(() => {
Expand All @@ -536,7 +539,6 @@ export class InlineChatHandler extends Disposable {
isReceive: false,
code: modifyContent,
originCode: originContent,
actionSource: ActionSourceEnum.InlineChat,
actionType: ActionTypeEnum.Regenerate,
});
this.handleDiffPreviewStrategy({
Expand Down Expand Up @@ -570,9 +572,12 @@ export class InlineChatHandler extends Disposable {
reporterFn: () => string;
execute?: () => MaybePromise<void>;
providerPreview?: () => MaybePromise<ChatResponse | InlineChatController>;
action?: AIActionItem;
extraData?: {
actionSource: string;
actionType: string;
};
}) {
const { monacoEditor, reporterFn, execute, providerPreview, action } = params;
const { monacoEditor, reporterFn, execute, providerPreview, extraData } = params;
const selection = monacoEditor.getSelection();
if (!selection) {
this.logger.error('No selection found, aborting inline chat action.');
Expand All @@ -597,8 +602,8 @@ export class InlineChatHandler extends Disposable {
crossSelection,
relationId,
isRetry: false,
actionSource: ActionSourceEnum.InlineChat,
actionType: action?.name,
actionSource: extraData?.actionSource,
actionType: extraData?.actionType,
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/collaboration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-collaboration",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/comments/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-comments",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-components",
"version": "3.3.1",
"version": "3.3.2",
"description": "@opensumi/ide-components",
"license": "MIT",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/connection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-connection",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-core-browser",
"version": "3.3.1",
"version": "3.3.2",
"description": "@opensumi/ide-core-browser",
"files": [
"lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-core-common",
"version": "3.3.1",
"version": "3.3.2",
"description": "@opensumi/ide-core-common",
"files": [
"lib",
Expand Down
2 changes: 2 additions & 0 deletions packages/core-common/src/types/ai-native/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export enum ActionSourceEnum {
Chat = 'chat',
// 编辑器内联 Chat
InlineChat = 'inlineChat',
// 编辑器内联 ChatInput
InlineChatInput = 'inlineChatInput',
// 编辑器内 Action
CodeAction = 'codeAction',
// 终端
Expand Down
2 changes: 1 addition & 1 deletion packages/core-electron-main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-core-electron-main",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"browser-preload"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-core-node",
"version": "3.3.1",
"version": "3.3.2",
"description": "@opensumi/ide-core-node",
"files": [
"lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/debug/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-debug",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/decoration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-decoration",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/design/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-design",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-editor",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-electron-basic",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-explorer",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/express-file-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-express-file-server",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-extension-manager",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-storage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-extension-storage",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-extension",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"hosted"
Expand Down
2 changes: 1 addition & 1 deletion packages/file-scheme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-file-scheme",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/file-search/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-file-search",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/file-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-file-service",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/file-tree-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-file-tree-next",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-i18n",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/keymaps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-keymaps",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/logs-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-logs",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/main-layout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-main-layout",
"version": "3.3.1",
"version": "3.3.2",
"description": "@opensumi/ide-main-layout",
"files": [
"lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/markdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-markdown",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/markers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-markers",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/menu-bar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-menu-bar",
"version": "3.3.1",
"version": "3.3.2",
"description": "@opensumi/ide-menu-bar",
"files": [
"lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco-enhance/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-monaco-enhance",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-monaco",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src",
Expand Down
2 changes: 1 addition & 1 deletion packages/opened-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-opened-editor",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/outline/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opensumi/ide-outline",
"version": "3.3.1",
"version": "3.3.2",
"files": [
"lib",
"src"
Expand Down
Loading
Loading