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

pull new updates #1

Merged
merged 441 commits into from
Oct 26, 2024
Merged

pull new updates #1

merged 441 commits into from
Oct 26, 2024

Conversation

dorateq
Copy link
Owner

@dorateq dorateq commented Oct 26, 2024

What it does

How to test

Follow-ups

Review checklist

Reminder for reviewers

rschnekenbu and others added 30 commits April 24, 2024 16:34
fixes #13481

contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <rschnekenburger@eclipsesource.com>
* fixes clear cell outputs command and improves toolbar creation

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fix output mime type change

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fix change presentation somtimes firing on old output

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* removed console logs

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* removed additional forgotten console.log

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
#13643)

Workaround for #13638

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
…ty (#13632)

contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <rschnekenburger@eclipsesource.com>
Contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <rschnekenburger@eclipsesource.com>
Co-authored-by: jfaltermeier <jfaltermeier@eclipsesource.com>
Enhances the ElectronMainApplication to optionally render a splash
screen until the frontend is ready.

The splash screen can be configured via the application config object
"theia.frontend.config.electron.splashScreenOptions". Mandatory is the
option "content" which specifies a relative path from the application
root to the content of the splash screen. Optionally "width", "height",
"minDuration" and "maxDuration" can be handed over too.

Configures the Electron example application to show a Theia logo splash
screen.

Implements #13410

Contributed on behalf of Pragmatiqu IT GmbH
Contributed on behalf of STMicroelectronics
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Also includes code to consider sessions which are not created, but
restored from storage at registration time

Fixes #13599
Partial fix for #12821

Contributed on behalof of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Allows downstream to customize the frontend lifecycle behavior of the TerminalFrontendContribution class.

Signed-off-by: Leo Zhu <yifu.zhu@microchip.com>
* Added additional css to notebook ooutput webviews

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* renamed symbol to be more descriptive

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
* fixed storing of the notebook-outlineview state data

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed is function and URI handling

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* improved is method for NotebookCellOutlineNode

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
* aligned commands to vscodes commands
this makes more keybindings available.
Also implements to notbookOutputInputFocused context key

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed type and forgotten dispose of emitter

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed lint

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
* main toolbar adjusting to maximum size by putting items in to a context menu

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed memory leak

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed issues with max and min hidden items

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed lint

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed when incresing width of notebook

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Contributed on behalf of ST Microelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Instead of using tags to refer to a version of an action
(e.g. `actions/checkout@v3`), we now use its commit sha.

The problem with tags is that they are mutable and can be
changed to point to a different commit. This opens a vector
for supply chain attacks.

For one action, the user account had been renamed from
'nick-invision' to 'nick-fields' which caused a redirect
when resolving the action with the old username.
This is potentially dangerous when the account name gets
claimed again, so we now use the new user name
to refer to the action.

Increases the version of the create-pull-request action
from v4 to v6 to have matching versions of the action across
workflows.

Contributed on behalf of STMicroelectronics

Signed-off-by: Olaf Lessenich <olessenich@eclipsesource.com>
Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Updates the Electron dependency to ^28.2.8 which is also used in VS
Code.

Additional changes:
 - update electron-mocha to ^12.3.0 to fix the Electron smoke test
 - adds a workaround for a type clash in rebuild.ts
* added basics for drag image renderers and improved basic drag image slightly

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fix lint

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* reiew chages

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
* Fail tests if selected repo is undefined
* Fix handling selected repository
* Wait more robustly for dismissal of widgets via escape.

Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
Co-authored-by: Thomas Mäder <t.s.maeder@gmail.com>
msujew and others added 29 commits October 8, 2024 10:29
#14262)

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
* basic single backlayer webview

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* allow interacting with outputs

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* output presentation change and more smaller improvements

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* output height fixes

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* output height calculation

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* collapsing outputs

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed ouptut presentation change

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* removed testing console logs

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed interacting with cells regardless of position focusing it

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed some errors when closing a notebook

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* improved renderer failing

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed issue with cell height changes

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fixed outputs when reopening  notebook editors

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

* fix iframe height

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
* Update rimraf to 5

fixed #14272

Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
* Allow to order and clear AI History view

fixed #14183

Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
* Orchestrator logs its own requests

- add data field to request
- add option to turn off default logging
- extracted getJsonOfText
- add docu for getTextOfResponse

fixed #14252

Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
* added cell tag and status bar item support for notebooks

---------

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Fixes #14279

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
* fix cell focus on shift+enter, only update cell height when changed

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
With this change, we enable more easily customizing the LLM settings, such as `temperature`, for the LLM requests in a chat agent.

Contributed on behalf of STMicroelectronics
* General improvements of margins and paddings
* Give code a nicer border and more space
* Replace aggressive buttons for code parts with more subtle icons
* Format tool call result more nicely

Contributed on behalf of STMicroelectronics
…her (#14303)

Fixes #13957

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Fixes #14141

Newer versions have an issue with headless mode.
Also fixes test flakiness with the new version.

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Fixes #14258, #14259

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Adds the preference 'ai-features.codeCompletion.excludedFileExtensions'
to filter code completion requests before they are delegated to the
AICodeInlineCompletionsProvider.

fixed #14313

Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
Fixes #14280

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Support llm execution via llamafiles.

- The configured llamafiles are stored in the preferences
- As a user you have to provide:
  - a custom modelname
  - the file uri to the llamafile
  - the port to run the llama.cpp server on
- Llamafiles can be started and stopped via Theia commands
- The llamafile output is send to a new output channel <mymodel>-llamafile

The current implementation does not support tools/functions so that
agents like the workspace-agent don't work well with models provided
via llamafiles.

fixes #14286
Signed-off-by: Olaf Lessenich <olessenich@eclipsesource.com>
…tor changed (#14321)

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
The configuration for custom OpenAI models now allows specifying a
unique 'apiKey' for each model, or reusing the global OpenAI API key.

fixes #14288
This adds support for custom agents which are basically a custom
system prompt with additional metadata (id, name and description).
This features allows to add very specific agents without coding.
All features, like variable and functions are supported.
…4328)

* Notebook: Escaping code completion pop-up disables cell edit mode

* Added some more tests
Fixes #14335

contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
@dorateq dorateq merged commit 01b82a9 into dorateq:master Oct 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.