Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

impl: support for Toolbox 2.7#135

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fioan89 merged 25 commits intomainfromimpl-support-for-tbx-2.7
Jul 7, 2025
Merged

Conversation

@fioan89
Copy link
Collaborator

@fioan89fioan89 commentedJun 23, 2025
edited
Loading

Things that were changed or added to TBX 2.7:

Support for Proxy Authentication

The new API introduced in TBX 2.7, and HTTP proxy authentication works flawlessly. However, SOCKS5 proxy authentication does not appear to be properly supported in the current TBX implementation.

While users can configure a SOCKS5 proxy with basic authentication, Toolbox fails to authenticate successfully. Coder uses OkHttp as the HTTP client, which in turn delegates SOCKS5 authentication to the JVM (java.net.SocksSocketImpl). We can configure a java.net.Authenticator with the credentials exposed by the new TBX API. However, since the Authenticator is set globally, doing so would affect all plugins — including TBX itself — which may not be desirable.

Customizable messages while loading the workspaces

The new TBX 2.7 API allows us to change the message displayed while loading the workspaces from "Loading environments" to "Loading workspaces"

UI pages with customizable titles
Support for custom aliases in the URI handling protocol

With the new TBX API we can update the title of a UI pagewithout recreating the page and using hacks to force TBXto update the internal state.
We still need to switch from the coder setup page back to the main screenonce the coder cli and the rest api poller is initialized.
Similar with the initial setup page we can use the new TBX API toupdate the title of the uri handling page without recreating it and usinghacks to force TBX to update the internal state.
TBX 2.7 API prioritizes connection status to the remote TBX agent overthe workspace status. This would mean that a running workspace would belisted as disconnected instead of ready. This is confusing as it onlyhappens for running workspaces and on top of that we also have a greenbadge that is rendered by TBX when the agent connection is established.
A new API was added to allow proxy authentication
The new TBX 2.7 API allows us to change the message displayedwhile loading the workspaces from "Loading environments" to"Loading workspaces"
The new TBX 2.7 api exposes basic auth credentials for proxy.
The new API introduced in TBX 2.7, and HTTP proxy authentication works flawlessly. However,SOCKS5 proxy authentication does not appear to be properly supported in the current TBXimplementation.While users can configure a SOCKS5 proxy with basic authentication, Toolbox fails toauthenticate successfully. Coder uses OkHttp as the HTTP client, which in turn delegatesSOCKS5 authentication to the JVM (java.net.SocksSocketImpl). We can configure a java.net.Authenticator with the credentials exposed by the new TBX API. However, since theAuthenticator is set globally, doing so would affect all plugins — including TBX itself —which may not be desirable.
Introduces support for Toolbox 2.7
@fioan89fioan89 marked this pull request as ready for reviewJune 27, 2025 22:02
Toolbox 2.7 came with small upgrades for kotlin, coroutines andthe serialization library. This PR stays in sync.
A new Toolbox 2.7 build is available with newer API
The IDE resolution can start before the workspace are polledand the remote provider is initialized. This commit waits forthe first poll to run before continuing to installing and launchingthe IDE. Otherwise, Toolbox will raise an error that the env. does not exist.
With the new API we don't need to generate a new page with a new title (the deployment URL)so we can remove the existing workaround that triggered a redraw of the new UI page.
Toolbox 2.7 provides support plugin aliasing in the URIas part ofhttps://youtrack.jetbrains.com/issue/TBX-14481
Toolbox 2.7 allows the ide to open paths (via uri handling) on the remote thatwere not previously a proper IDEA project.There is a minor issue that I raised inhttps://youtrack.jetbrains.com/issue/TBX-14952/ withpaths that point out to folders or files that do not exist. In this case, TBX pops up a dialogsaying "Connecting to remote host..."  and it stays like that forever.
In previous TBX versions (2.6 and before) there was no progress while establishing the SSHconnection, which is why we added a custom "SSHing" label with a circular progress bar whileconnecting to the SSH. While providing feedback tohttps://youtrack.jetbrains.com/issue/TBX-14925 I've noticed that TBX no longer renders "SSHing..", instead we have a "Connecting" label. This is apparently a new feature introduced in TBX 2.7.
The URI handling logic is now able to switch from a different provider screenback to Coder's main screen.
A short 2–3 second delay occurs while initializing the REST client, resolving the CLI, and generating the SSH config—during this time, there was no visual feedback indicating activity.
@fioan89fioan89 merged commit1a2212b intomainJul 7, 2025
5 checks passed
@fioan89fioan89 deleted the impl-support-for-tbx-2.7 branchJuly 7, 2025 19:02
@matifali
Copy link
Member

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@matifalimatifalimatifali approved these changes

@f0sself0sself0ssel approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@fioan89@matifali@f0ssel

[8]ページ先頭

©2009-2025 Movatter.jp