Skip to content

Commit

Permalink
Merge branch 'eclipse-theia:master' into dhuebner/notebook-split-cell
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuebner authored Oct 7, 2024
2 parents 43ae859 + b388d4c commit bbc6e7b
Show file tree
Hide file tree
Showing 150 changed files with 1,813 additions and 1,078 deletions.
49 changes: 41 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,47 @@

- [Previous Changelogs](https://github.com/eclipse-theia/theia/tree/master/doc/changelogs/)

<!-- ## Unreleased
- [plugin] move stubbed API TerminalShellIntegration into main API [#14168](https://github.com/eclipse-theia/theia/pull/14168) - Contributed on behalf of STMicroelectronics
- [plugin] support evolution on proposed API extensionAny [#14199](https://github.com/eclipse-theia/theia/pull/14199) - Contributed on behalf of STMicroelectronics
<a name="breaking_changes_1.54.0">[Breaking Changes:](#breaking_changes_1.54.0)</a> -->
- [core] Updated AuthenticationService to handle multiple accounts per provider [#14149](https://github.com/eclipse-theia/theia/pull/14149) - Contributed on behalf of STMicroelectronics
- [ai] Add toolbar actions on chat nodes [#14181](https://github.com/eclipse-theia/theia/pull/14181) - Contributed on behalf of STMicroelectronics
## 1.54.0 - 09/26/2024

- [ai] add Theia AI LLM Support [Experimental] [#14048](https://github.com/eclipse-theia/theia/pull/14048)
- [ai] adapted default LLM for Theia AI to gpt-4o [#14165](https://github.com/eclipse-theia/theia/pull/14165)
- [ai] add enable state of agent to preferences [#14206](https://github.com/eclipse-theia/theia/pull/14206)
- [ai] chore: polished AI code completion [#14192](https://github.com/eclipse-theia/theia/pull/14192)
- [ai] consistently named agents and added tags [#14182](https://github.com/eclipse-theia/theia/pull/14182)
- [ai] feat: added toolbar actions for chat nodes [#14181](https://github.com/eclipse-theia/theia/pull/14181) - Contributed on behalf of STMicroelectronics
- [ai] feat: show variables and functions on AI agent configuration [#14177](https://github.com/eclipse-theia/theia/pull/14177)
- [ai] feat: supported models served via OpenAI API [#14172](https://github.com/eclipse-theia/theia/pull/14172)
- [ai] fixed ai-settings retrieval [#14221](https://github.com/eclipse-theia/theia/pull/14221)
- [ai] fixed enablement of AI support [#14166](https://github.com/eclipse-theia/theia/pull/14166)
- [ai] improved prompt of workspace agent [#14159](https://github.com/eclipse-theia/theia/pull/14159)
- [ai] refined AI settings [#14202](https://github.com/eclipse-theia/theia/pull/14202)
- [ai] refined experimental message for AI features [#14187](https://github.com/eclipse-theia/theia/pull/14187)
- [ai] removed type duplication for kind property [#14207](https://github.com/eclipse-theia/theia/pull/14207)
- [ai] consistent prompt ids [#14162](https://github.com/eclipse-theia/theia/pull/14162)
- [ai] fix: disabled an agent also disabled its UIContribution [#14184](https://github.com/eclipse-theia/theia/pull/14184)
- [application-package] bumped API version to 1.93.1 [#14224](https://github.com/eclipse-theia/theia/pull/14224) - Contributed on behalf of STMicroelectronics
- [core] fixed selection of contributed menu action argument adapters [#14132](https://github.com/eclipse-theia/theia/pull/14132) - Contributed on behalf of STMicroelectronics
- [core] supported proxy env variable for schema catalog download [#14130](https://github.com/eclipse-theia/theia/pull/14130)
- [core] supported workbench.editorAssociations preference [#14139](https://github.com/eclipse-theia/theia/pull/14139)
- [editor] aligned active text and notebook editor more towards vscode [#14190](https://github.com/eclipse-theia/theia/pull/14190)
- [filesystem] fixed FileResource sometimes sending contents change event during writing [#14043](https://github.com/eclipse-theia/theia/pull/14043) - Contributed on behalf of Toro Cloud
- [notebook] focused notebook cell container correctly [#14175](https://github.com/eclipse-theia/theia/pull/14175)
- [notebook] fixed notebook context selection [#14179](https://github.com/eclipse-theia/theia/pull/14179)
- [notebook] made the cell editor border grey when not focused [#14195](https://github.com/eclipse-theia/theia/pull/14195)
- [plugin] removed stub tag from TerminalOptions#color [#14171](https://github.com/eclipse-theia/theia/pull/14171)
- [plugin] moved stubbed API TerminalShellIntegration into main API [#14168](https://github.com/eclipse-theia/theia/pull/14168) - Contributed on behalf of STMicroelectronics
- [plugin] supported evolution on proposed API extensionAny [#14199](https://github.com/eclipse-theia/theia/pull/14199) - Contributed on behalf of STMicroelectronics
- [plugin] updated TreeView reveal options to be readonly [#14198](https://github.com/eclipse-theia/theia/pull/14198) - Contributed on behalf of STMicroelectronics
- [plugin-ext] properly supported executeDocumentSymbolProvider command [#14173](https://github.com/eclipse-theia/theia/pull/14173)
- [plugin-ext] fixed leak in tabs-main.ts [#14186](https://github.com/eclipse-theia/theia/pull/14186)
- [preferences] expanded plugin preferences on scroll correctly [#14170](https://github.com/eclipse-theia/theia/pull/14170)
- [test] supported TestMessage stack traces [#14154](https://github.com/eclipse-theia/theia/pull/14154) - Contributed on behalf of STMicroelectronics
- [workspace] handled only the user workspace security settings [#14147](https://github.com/eclipse-theia/theia/pull/14147)

<a name="breaking_changes_1.54.0">[Breaking Changes:](#breaking_changes_1.54.0)</a>

- [ai] added toolbar actions on chat nodes [#14181](https://github.com/eclipse-theia/theia/pull/14181) - Contributed on behalf of STMicroelectronics
- [core] updated AuthenticationService to handle multiple accounts per provider [#14149](https://github.com/eclipse-theia/theia/pull/14149) - Contributed on behalf of STMicroelectronics

## 1.53.0 - 08/29/2024

Expand Down
10 changes: 5 additions & 5 deletions dev-packages/application-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/application-manager",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia application manager API.",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -33,9 +33,9 @@
"@babel/plugin-transform-classes": "^7.10.0",
"@babel/plugin-transform-runtime": "^7.10.0",
"@babel/preset-env": "^7.10.0",
"@theia/application-package": "1.53.0",
"@theia/ffmpeg": "1.53.0",
"@theia/native-webpack-plugin": "1.53.0",
"@theia/application-package": "1.54.0",
"@theia/ffmpeg": "1.54.0",
"@theia/native-webpack-plugin": "1.54.0",
"@types/fs-extra": "^4.0.2",
"@types/semver": "^7.5.0",
"babel-loader": "^8.2.2",
Expand Down Expand Up @@ -74,7 +74,7 @@
}
},
"devDependencies": {
"@theia/ext-scripts": "1.53.0",
"@theia/ext-scripts": "1.54.0",
"@types/node-abi": "*"
},
"nyc": {
Expand Down
6 changes: 3 additions & 3 deletions dev-packages/application-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/application-package",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia application package API.",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -29,7 +29,7 @@
"watch": "theiaext watch"
},
"dependencies": {
"@theia/request": "1.53.0",
"@theia/request": "1.54.0",
"@types/fs-extra": "^4.0.2",
"@types/semver": "^7.5.0",
"@types/write-json-file": "^2.2.1",
Expand All @@ -43,7 +43,7 @@
"write-json-file": "^2.2.0"
},
"devDependencies": {
"@theia/ext-scripts": "1.53.0"
"@theia/ext-scripts": "1.54.0"
},
"nyc": {
"extends": "../../configs/nyc.json"
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/application-package/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
* The default supported API version the framework supports.
* The version should be in the format `x.y.z`.
*/
export const DEFAULT_SUPPORTED_API_VERSION = '1.92.2';
export const DEFAULT_SUPPORTED_API_VERSION = '1.93.1';
14 changes: 7 additions & 7 deletions dev-packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/cli",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia CLI.",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -32,12 +32,12 @@
"clean": "theiaext clean"
},
"dependencies": {
"@theia/application-manager": "1.53.0",
"@theia/application-package": "1.53.0",
"@theia/ffmpeg": "1.53.0",
"@theia/localization-manager": "1.53.0",
"@theia/ovsx-client": "1.53.0",
"@theia/request": "1.53.0",
"@theia/application-manager": "1.54.0",
"@theia/application-package": "1.54.0",
"@theia/ffmpeg": "1.54.0",
"@theia/localization-manager": "1.54.0",
"@theia/ovsx-client": "1.54.0",
"@theia/request": "1.54.0",
"@types/chai": "^4.2.7",
"@types/mocha": "^10.0.0",
"@types/node-fetch": "^2.5.7",
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/ffmpeg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/ffmpeg",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia FFMPEG reader utility.",
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions dev-packages/localization-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/localization-manager",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia localization manager API.",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -40,7 +40,7 @@
"typescript": "~5.4.5"
},
"devDependencies": {
"@theia/ext-scripts": "1.53.0"
"@theia/ext-scripts": "1.54.0"
},
"nyc": {
"extends": "../../configs/nyc.json"
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/native-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/native-webpack-plugin",
"version": "1.53.0",
"version": "1.54.0",
"description": "Webpack Plugin for native dependencies of Theia.",
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions dev-packages/ovsx-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/ovsx-client",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia Open-VSX Client",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -29,7 +29,7 @@
"watch": "theiaext watch"
},
"dependencies": {
"@theia/request": "1.53.0",
"@theia/request": "1.54.0",
"limiter": "^2.1.0",
"semver": "^7.5.4",
"tslib": "^2.6.2"
Expand Down
8 changes: 4 additions & 4 deletions dev-packages/private-eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"private": true,
"name": "@theia/eslint-plugin",
"version": "1.53.0",
"version": "1.54.0",
"description": "Custom ESLint rules for developing Theia extensions and applications",
"main": "index.js",
"scripts": {
"prepare": "tsc -b"
},
"dependencies": {
"@theia/core": "1.53.0",
"@theia/ext-scripts": "1.53.0",
"@theia/re-exports": "1.53.0",
"@theia/core": "1.54.0",
"@theia/ext-scripts": "1.54.0",
"@theia/re-exports": "1.54.0",
"js-levenshtein": "^1.1.6"
}
}
2 changes: 1 addition & 1 deletion dev-packages/private-ext-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@theia/ext-scripts",
"version": "1.53.0",
"version": "1.54.0",
"license": "EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0",
"description": "NPM scripts for Theia packages.",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/private-re-exports/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@theia/re-exports",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia re-export helper functions and scripts.",
"main": "lib/index.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/request/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theia/request",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia Proxy-Aware Request Service",
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions doc/Plugin-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ For headless plugins, "Main-Ext" pattern is very similar, except that there is o

![Communication between Theia and Plugin API for Headless Plugins](./images/headless-plugin-diagram.svg)

As the lifecycle of a plugin starts inside its process on the `Ext` side, anything that the plugin needs from Theia (e.g. state, command execution, access to services) has to be invoked over RCP via an implementation on the `Main` side.
As the lifecycle of a plugin starts inside its process on the `Ext` side, anything that the plugin needs from Theia (e.g. state, command execution, access to services) has to be invoked over RPC via an implementation on the `Main` side.
In the inverse direction, the same is true for code that runs on the `Main` side and that needs something from the plugin side (e.g. changing plugin state after a user input).
It needs to be invoked over RCP via an implementation on the `Ext` side.
It needs to be invoked over RPC via an implementation on the `Ext` side.
Therefore, `Main` and `Ext` interfaces usually come in pairs (e.g. [LanguagesExt](https://github.com/eclipse-theia/theia/blob/541b300adc029ab1dd729da1ca49179ace1447b2/packages/plugin-ext/src/common/plugin-api-rpc.ts#L1401) and [LanguagesMain](https://github.com/eclipse-theia/theia/blob/541b300adc029ab1dd729da1ca49179ace1447b2/packages/plugin-ext/src/common/plugin-api-rpc.ts#L1474)).

To communicate with each other, the implementation of each side of the API - `Main` and `Ext` - has an RPC proxy of its corresponding counterpart.
Expand Down Expand Up @@ -160,9 +160,9 @@ export function createAPIFactory(

### Adding new Ext and Main interfaces with implementations

`Ext` and `Main` interfaces only contain the functions called over RCP.
`Ext` and `Main` interfaces only contain the functions called over RPC.
Further functions are just part of the implementations.
Functions to be called over RCP must start with `$`, e.g. `$executeStuff`.
Functions to be called over RPC must start with `$`, e.g. `$executeStuff`.

- Define `Ext` and `Main` interfaces in [plugin-ext/src/common/plugin-api-rpc.ts](https://github.com/eclipse-theia/theia/blob/master/packages/plugin-ext/src/common/plugin-api-rpc.ts).
The interfaces should be suffixed with `Ext` and `Main` correspondingly (e.g. `LanguagesMain` and `LanguagesExt`).
Expand Down
10 changes: 5 additions & 5 deletions examples/api-provider-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"private": true,
"name": "@theia/api-provider-sample",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia - Example code to demonstrate Theia API Provider Extensions",
"dependencies": {
"@theia/core": "1.53.0",
"@theia/plugin-ext": "1.53.0",
"@theia/plugin-ext-headless": "1.53.0"
"@theia/core": "1.54.0",
"@theia/plugin-ext": "1.54.0",
"@theia/plugin-ext-headless": "1.54.0"
},
"theiaExtensions": [
{
Expand Down Expand Up @@ -37,6 +37,6 @@
"clean": "theiaext clean"
},
"devDependencies": {
"@theia/ext-scripts": "1.53.0"
"@theia/ext-scripts": "1.54.0"
}
}
28 changes: 14 additions & 14 deletions examples/api-samples/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"private": true,
"name": "@theia/api-samples",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia - Example code to demonstrate Theia API",
"dependencies": {
"@theia/ai-chat-ui": "1.53.0",
"@theia/core": "1.53.0",
"@theia/file-search": "1.53.0",
"@theia/filesystem": "1.53.0",
"@theia/monaco": "1.53.0",
"@theia/ai-chat-ui": "1.54.0",
"@theia/core": "1.54.0",
"@theia/file-search": "1.54.0",
"@theia/filesystem": "1.54.0",
"@theia/monaco": "1.54.0",
"@theia/monaco-editor-core": "1.83.101",
"@theia/output": "1.53.0",
"@theia/ovsx-client": "1.53.0",
"@theia/search-in-workspace": "1.53.0",
"@theia/test": "1.53.0",
"@theia/toolbar": "1.53.0",
"@theia/vsx-registry": "1.53.0",
"@theia/workspace": "1.53.0"
"@theia/output": "1.54.0",
"@theia/ovsx-client": "1.54.0",
"@theia/search-in-workspace": "1.54.0",
"@theia/test": "1.54.0",
"@theia/toolbar": "1.54.0",
"@theia/vsx-registry": "1.54.0",
"@theia/workspace": "1.54.0"
},
"theiaExtensions": [
{
Expand Down Expand Up @@ -58,6 +58,6 @@
"clean": "theiaext clean"
},
"devDependencies": {
"@theia/ext-scripts": "1.53.0"
"@theia/ext-scripts": "1.54.0"
}
}
4 changes: 2 additions & 2 deletions examples/api-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@theia/api-tests",
"version": "1.53.0",
"version": "1.54.0",
"description": "Theia API tests",
"dependencies": {
"@theia/core": "1.53.0"
"@theia/core": "1.54.0"
},
"license": "EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0",
"repository": {
Expand Down
Loading

0 comments on commit bbc6e7b

Please sign in to comment.