Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5736f49

Browse files
committed
feat: replace vscodeipc with vscodessh
The VS Code extension has been refactored to use VS Code Remote SSH instead of using the private API. This changes the structure to continue using SSH, but output network information periodically to a file.
1 parent a4ca8ff commit 5736f49

File tree

8 files changed

+310
-649
lines changed

8 files changed

+310
-649
lines changed

cli/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func Core() []*cobra.Command {
9797
update(),
9898
users(),
9999
versionCmd(),
100-
vscodeipcCmd(),
100+
vscodeSSH(),
101101
workspaceAgent(),
102102
}
103103
}

cli/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func getWorkspaceAndAgent(ctx context.Context, cmd *cobra.Command, client *coder
256256
)
257257
if shuffle {
258258
res, err := client.Workspaces(ctx, codersdk.WorkspaceFilter{
259-
Owner: codersdk.Me,
259+
Owner: userID,
260260
})
261261
if err != nil {
262262
return codersdk.Workspace{}, codersdk.WorkspaceAgent{}, err

cli/vscodeipc.go

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)