Repository navigation
Feat/terminal application - #365
Open
Ahmedwaleed22 wants to merge 7 commits into
Open
Ahmedwaleed22 wants to merge 7 commits into
Ahmedwaleed22 wants to merge 7 commits into
Conversation
…projects A global install inside project containers now records one global in-projects instance. The global Applications page lists it as installed, project creation installs every such application into the new project, and uninstalling the record uninstalls each project's copy.
…ject containers A web route required scopes to be exactly ["project"]. An application whose global install lands as a project copy in every project (globallyInstalledInsideContainers) only ever produces project instances, which is all the gateway routes to, so it may now list global as well. A global install into a dedicated container still cannot declare web.
…tion The built-in terminal was a core WebSocket wrapping lxc exec, with no keepalive, reconnect or session persistence, and its header showed the host path of the workspace. It is now applications/terminal. A small service inside the project container owns one shell per chat and serves the xterm page through the application's web route; the shell outlives its connection, so the page reconnects to the same shell while the drawer is open and recent output is replayed. The header shows the container path (/workspace). To keep the pane where it was, extensions get remote.ui.registerDrawer: a resizable pane docked beside the chat, with the header, toggle, resize handle and remembered width owned by Remote. The core /ws/terminal socket, the terminal pane and its hooks, and the frontend's xterm dependencies are removed. Projects have no terminal until the application is installed.
Ahmedwaleed22
marked this pull request as ready for review
October 10, 2026 23:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Migrating Terminal to a Terminal application.
Why
Not all users need Terminal to be installed on their projects. The current Terminal implementation is running on the root server, which is very risky.
Fixes #359
How
Migrated Terminal to an application using Xterm.js with the ability to reconnect when disconnected.
Introduced drawers to be used for the terminal menu and other applications.
Looking to migrate the scheduled apps menu to a drawer too.
Touched Layers