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

Initial implementation of AI quick fixes in the Monaco editor #127

Closed
wants to merge 66 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
c2dbfd6
feat: add simple ai integration
eneufeld May 10, 2024
bb1a0ee
add comments and renaming
eneufeld Jun 6, 2024
6578246
feat: refactor modelprovider
sdirix Jun 10, 2024
9b03609
add tree view
eneufeld Jun 11, 2024
03bdd87
improve tree rendering
eneufeld Jun 17, 2024
595e7ce
feat: implement language-model-registry
sdirix Jun 19, 2024
e4245be
feat: introduce chat service and chat models
sdirix Jun 24, 2024
8e8c81a
chore: rename ai-chat to ai-chat-ui
sdirix Jun 25, 2024
9967cc7
chore: rename ai-agent to ai-chat
sdirix Jun 25, 2024
d6f3cdd
fix: make sure response-model events are fired on update
sdirix Jun 25, 2024
04a9b3a
improve tree rendering
eneufeld Jun 26, 2024
0df9903
add promptservice
eneufeld Jun 27, 2024
0842037
add prompt preference
eneufeld Jun 28, 2024
095d28f
add markdown renderer
eneufeld Jul 2, 2024
044de33
chore: add ParsedChatRequest interfaces
sdirix Jul 5, 2024
3a1816e
add command chat response
eneufeld Jul 9, 2024
9e307dd
Introduce environment variable to override connexion settings (#13936)
rschnekenbu Jul 18, 2024
a4bf86f
tab selected should be adjacent when closing last one. (#13912)
rschnekenbu Jul 18, 2024
cd27a42
Improve styling of chat window
planger Jul 17, 2024
ed576b5
upgrade ws to 8.17.1 and jsdom to 24.1.0 (#13903)
rschnekenbu Jul 18, 2024
1b1f257
Rename `ai-model-provider` to `ai-core`
planger Jul 19, 2024
18674dd
Refactor language model providers
planger Jul 19, 2024
13a537d
Add test for language model matching
planger Jul 19, 2024
a6f3fdf
Add missing rename
planger Jul 21, 2024
10f3ff4
Bug fix: "core.saveAll" command shall only save dirty widgets (#13942)
KR155E Jul 22, 2024
7cbfc7a
Prevent tooltip if no caption is provided and add caption for setting…
haydar-metin Jul 23, 2024
1a08090
[vscode] Implement stubbed API for activeStackFrame API (#13900)
rschnekenbu Jul 25, 2024
3ffc717
Add border and fix indentation for editable markdown cell (#13947)
dhuebner Jul 25, 2024
a860dcd
Add Agent interface and adapt prompt service
eneufeld Jul 22, 2024
3fba2f6
Translation update for version 1.52.0 (#13953)
github-actions[bot] Jul 25, 2024
73d4b04
Add DebugSessionOptions.testRun (#13939)
tsmaeder Jul 25, 2024
fe4cd14
[chore] downgrade jsdom to 22.1.0 (#13944)
rschnekenbu Jul 25, 2024
cad1b1b
Bump API version to 1.91.1 (#13955)
rschnekenbu Jul 25, 2024
71c839e
docs: updated changelog for 1.52.0
sgraband Jul 25, 2024
14c2911
core: update re-exports for 1.52.0
sgraband Jul 25, 2024
266fa0b
v1.52.0
sgraband Jul 25, 2024
b1de0bc
Improve OpenAI language model provider
planger Jul 23, 2024
6c59713
feat: output LanguageModel interactions
sdirix Jul 25, 2024
26f2b41
feat: add support for generic command-part-renderer handling
eneufeld Jul 25, 2024
dd74bab
Add initial parsing support (#103)
eneufeld Jul 29, 2024
3d42885
38: add a settings entry to specify the prompt templates folder
CamilleLetavernier Jul 29, 2024
4e2ffaa
38: Add Prompt Template Editor
jfaltermeier Jul 29, 2024
eba0c15
38: minor changes to the prompt template folder settings
jfaltermeier Jul 29, 2024
a94ab8e
38: add a service interface for dealing with customizations
jfaltermeier Jul 29, 2024
6e9691b
Add initial AI Settings view (#42) (#104)
AlexandraBuzila Jul 29, 2024
1d5ff10
Merge remote-tracking branch 'origin/feat/ai-chat' into issues/38-merge
CamilleLetavernier Jul 29, 2024
f846808
38: add settings UI placeholders for Agents and Prompt Templates
CamilleLetavernier Jul 29, 2024
5368ee7
38: add mock templates to default agent
CamilleLetavernier Jul 29, 2024
eda9e3c
38: implement frontend customization service
jfaltermeier Jul 29, 2024
666ae13
Merge pull request #105 from eclipsesource/issues/38
CamilleLetavernier Jul 29, 2024
20739ea
fix: move agent prompt collection into dedicated service
eneufeld Jul 30, 2024
6b65664
fix: move collection of prompts from agent to frontend contribution
eneufeld Jul 30, 2024
565954e
Select language models for agents (#111)
tortmayr Jul 30, 2024
a590eee
GH-40 Initial Agent View and Communication History
ndoschek Jul 29, 2024
21912a4
feat: ai based code completion
eneufeld Jul 30, 2024
3ca368d
Create initial version of terminal command agent (#115)
planger Jul 30, 2024
4c037ea
Adapt to API LanguageModelSelector change
planger Jul 30, 2024
543c7c5
38: Review and adapt prompt templates
CamilleLetavernier Jul 30, 2024
4dfa2b1
fix: initialize language model select UI on startup
AlexandraBuzila Jul 30, 2024
89b45f1
Add code response part renderer (#107)
haydar-metin Jul 30, 2024
ba3bf65
Add initial support for variable resolution from user input (#108)
martin-fleck-at Jul 30, 2024
07a5f95
Resolve variables in prompt templates (#116)
martin-fleck-at Jul 30, 2024
698c310
Introduce basic Llamafile support
sgraband Jul 30, 2024
9b1fce4
Merge remote-tracking branch 'upstream/master' into feat/ai-chat
sdirix Jul 31, 2024
d470041
Allow to select Agent in Chat
tortmayr Jul 31, 2024
2f79bd5
Merge pull request #121 from eclipsesource/feat/ai-chat-agent-selection
tortmayr Jul 31, 2024
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 .theia/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.formatOnSave": false,
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"[typescript]": {
"editor.tabSize": 4
Expand Down
33 changes: 26 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,32 @@

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

<!-- ## not yet released

<a name="breaking_changes_not_yet_released">[Breaking Changes:](#breaking_changes_not_yet_released)</a>

-->

## 1.50.0 - 06/27/2024
## 1.52.0 - 07/25/2024

- [application-package] bumped the default supported API from `1.90.2` to `1.91.1` [#13955](https://github.com/eclipse-theia/theia/pull/13955) - Contributed on behalf of STMicroelectronics
- [cli] added logging to download:plugins script [#13905](https://github.com/eclipse-theia/theia/pull/13905) - Contributed on behalf of STMicroelectronics
- [core] bug fix: "core.saveAll" command only saved dirty widgets [#13942](https://github.com/eclipse-theia/theia/pull/13942)
- [core] downgrade jsdom to 22.1.0 [#13944](https://github.com/eclipse-theia/theia/pull/13944)
- [core] fixed reload for remote feature and added option to the electron window to change URL on reload [#13891](https://github.com/eclipse-theia/theia/pull/13891)
- [core] improved implementation around widget management [#13818](https://github.com/eclipse-theia/theia/pull/13818)
- [core] introduced `FRONTEND_CONNECTION_TIMEOUT` environment variable to override application connection settings [#13936](https://github.com/eclipse-theia/theia/pull/13936) - Contributed on behalf of STMicroelectronics
- [core] made sure UI loaded when minimized [#13887](https://github.com/eclipse-theia/theia/pull/13887) - Contributed on behalf of STMicroelectronics
- [core] prevented the rendering of the tab bar tooltip if no caption was provided [#13945](https://github.com/eclipse-theia/theia/pull/13945)
- [core] tab selected should be adjacent when closing the last one [#13912](https://github.com/eclipse-theia/theia/pull/13912) - Contributed on behalf of STMicroelectronics
- [core] upgraded ws to 8.18.0 [#13903](https://github.com/eclipse-theia/theia/pull/13903)
- [debug] added DebugSessionOptions.testRun [#13939](https://github.com/eclipse-theia/theia/pull/13939) - Contributed on behalf of STMicroelectronics
- [debug] implemented activeStackItem and related change event in debug namespace [#13900](https://github.com/eclipse-theia/theia/pull/13900) - Contributed on behalf of STMicroelectronics
- [filesystem] fixed FileResource not adding event listener to the disposable collection [#13880](https://github.com/eclipse-theia/theia/pull/13880)
- [notebook] changed cell type when selecting markdown as a code cell's language [#13933](https://github.com/eclipse-theia/theia/pull/13933)
- [notebook] made Notebook preferences registration substitutable [#13926](https://github.com/eclipse-theia/theia/pull/13926)
- [ovsx-client] fixed plugin version comparison [#13907](https://github.com/eclipse-theia/theia/pull/13907)
- [plugin-ext] codicon color and URI support to TerminalOptions [#13413](https://github.com/eclipse-theia/theia/pull/13413)
- [plugin-ext] used relative paths for ctx.importScripts() [#13854](https://github.com/eclipse-theia/theia/pull/13854)
- [preferences] refactored preference tree layouting [#13819](https://github.com/eclipse-theia/theia/pull/13819)
- [terminal] added support for 256 truecolor [#13853](https://github.com/eclipse-theia/theia/pull/13853)
- [workflows] updated Mac OS version to 14 in CI [#13908](https://github.com/eclipse-theia/theia/pull/13908)

## 1.51.0 - 06/27/2024

- [application-manager] updated logic to load correct messaging module in browser-only mode [#13827](https://github.com/eclipse-theia/theia/pull/13827)
- [application-package] bumped the default supported API from `1.89.1` to `1.90.2` [#13849](https://github.com/eclipse-theia/theia/pull/13849) - Contributed on behalf of STMicroelectronics
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.51.0",
"version": "1.52.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.51.0",
"@theia/ffmpeg": "1.51.0",
"@theia/native-webpack-plugin": "1.51.0",
"@theia/application-package": "1.52.0",
"@theia/ffmpeg": "1.52.0",
"@theia/native-webpack-plugin": "1.52.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.51.0",
"@theia/ext-scripts": "1.52.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.51.0",
"version": "1.52.0",
"description": "Theia application package API.",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -29,7 +29,7 @@
"watch": "theiaext watch"
},
"dependencies": {
"@theia/request": "1.51.0",
"@theia/request": "1.52.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.51.0"
"@theia/ext-scripts": "1.52.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.90.2';
export const DEFAULT_SUPPORTED_API_VERSION = '1.91.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.51.0",
"version": "1.52.0",
"description": "Theia CLI.",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -32,12 +32,12 @@
"clean": "theiaext clean"
},
"dependencies": {
"@theia/application-manager": "1.51.0",
"@theia/application-package": "1.51.0",
"@theia/ffmpeg": "1.51.0",
"@theia/localization-manager": "1.51.0",
"@theia/ovsx-client": "1.51.0",
"@theia/request": "1.51.0",
"@theia/application-manager": "1.52.0",
"@theia/application-package": "1.52.0",
"@theia/ffmpeg": "1.52.0",
"@theia/localization-manager": "1.52.0",
"@theia/ovsx-client": "1.52.0",
"@theia/request": "1.52.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.51.0",
"version": "1.52.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.51.0",
"version": "1.52.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.51.0"
"@theia/ext-scripts": "1.52.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.51.0",
"version": "1.52.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.51.0",
"version": "1.52.0",
"description": "Theia Open-VSX Client",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -29,7 +29,7 @@
"watch": "theiaext watch"
},
"dependencies": {
"@theia/request": "1.51.0",
"@theia/request": "1.52.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.51.0",
"version": "1.52.0",
"description": "Custom ESLint rules for developing Theia extensions and applications",
"main": "index.js",
"scripts": {
"prepare": "tsc -b"
},
"dependencies": {
"@theia/core": "1.51.0",
"@theia/ext-scripts": "1.51.0",
"@theia/re-exports": "1.51.0",
"@theia/core": "1.52.0",
"@theia/ext-scripts": "1.52.0",
"@theia/re-exports": "1.52.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.51.0",
"version": "1.52.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.51.0",
"version": "1.52.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.51.0",
"version": "1.52.0",
"description": "Theia Proxy-Aware Request Service",
"publishConfig": {
"access": "public"
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.51.0",
"version": "1.52.0",
"description": "Theia - Example code to demonstrate Theia API Provider Extensions",
"dependencies": {
"@theia/core": "1.51.0",
"@theia/plugin-ext": "1.51.0",
"@theia/plugin-ext-headless": "1.51.0"
"@theia/core": "1.52.0",
"@theia/plugin-ext": "1.52.0",
"@theia/plugin-ext-headless": "1.52.0"
},
"theiaExtensions": [
{
Expand Down Expand Up @@ -37,6 +37,6 @@
"clean": "theiaext clean"
},
"devDependencies": {
"@theia/ext-scripts": "1.51.0"
"@theia/ext-scripts": "1.52.0"
}
}
26 changes: 13 additions & 13 deletions examples/api-samples/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"private": true,
"name": "@theia/api-samples",
"version": "1.51.0",
"version": "1.52.0",
"description": "Theia - Example code to demonstrate Theia API",
"dependencies": {
"@theia/core": "1.51.0",
"@theia/file-search": "1.51.0",
"@theia/filesystem": "1.51.0",
"@theia/monaco": "1.51.0",
"@theia/core": "1.52.0",
"@theia/file-search": "1.52.0",
"@theia/filesystem": "1.52.0",
"@theia/monaco": "1.52.0",
"@theia/monaco-editor-core": "1.83.101",
"@theia/output": "1.51.0",
"@theia/ovsx-client": "1.51.0",
"@theia/search-in-workspace": "1.51.0",
"@theia/test": "1.51.0",
"@theia/toolbar": "1.51.0",
"@theia/vsx-registry": "1.51.0",
"@theia/workspace": "1.51.0"
"@theia/output": "1.52.0",
"@theia/ovsx-client": "1.52.0",
"@theia/search-in-workspace": "1.52.0",
"@theia/test": "1.52.0",
"@theia/toolbar": "1.52.0",
"@theia/vsx-registry": "1.52.0",
"@theia/workspace": "1.52.0"
},
"theiaExtensions": [
{
Expand Down Expand Up @@ -57,6 +57,6 @@
"clean": "theiaext clean"
},
"devDependencies": {
"@theia/ext-scripts": "1.51.0"
"@theia/ext-scripts": "1.52.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.51.0",
"version": "1.52.0",
"description": "Theia API tests",
"dependencies": {
"@theia/core": "1.51.0"
"@theia/core": "1.52.0"
},
"license": "EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0",
"repository": {
Expand Down
Loading
Loading