Skip to content

Commit 84f2f60

Browse files
Revert "add sf vm ssh (#107)" (#110)
This reverts commit 85577a2.
1 parent 6a532ca commit 84f2f60

5 files changed

Lines changed: 1 addition & 190 deletions

File tree

deno.lock

Lines changed: 0 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"test": "deno test --allow-all"
99
},
1010
"dependencies": {
11-
"@alphahydrae/exec": "^1.1.0",
1211
"@commander-js/extra-typings": "^12.1.0",
1312
"@inkjs/ui": "^2.0.0",
1413
"@inquirer/prompts": "^5.1.2",
@@ -37,7 +36,6 @@
3736
"prettier": "^3.5.3",
3837
"react": "^18.3.1",
3938
"semver": "^7.6.3",
40-
"shescape": "^2.1.1",
4139
"tiny-invariant": "^1.3.3",
4240
"tweetnacl": "^1.0.3",
4341
"tweetnacl-util": "^0.15.1",

src/helpers/urls.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ const apiPaths: Record<string, Path<IdParams | never>> = {
4545

4646
vms_instances_list: "/v0/vms/instances",
4747
vms_logs_list: "/v0/vms/logs",
48-
vms_replace: "/v0/vms/replace",
4948
vms_script_post: "/v0/vms/script",
5049
vms_script_get: "/v0/vms/script",
51-
vms_ssh_get: "/v0/vms/ssh",
50+
vms_replace: "/v0/vms/replace",
5251
};
5352

5453
export async function getWebAppUrl<T extends TokenParams | never>(

src/lib/ssh.ts

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

src/lib/vm.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
} from "../helpers/errors.ts";
1515
import { getApiUrl } from "../helpers/urls.ts";
1616
import { isFeatureEnabled } from "./posthog.ts";
17-
import { registerSsh } from "./ssh.ts";
1817

1918
type VMInstance = {
2019
id: string;
@@ -35,8 +34,6 @@ export async function registerVM(program: Command) {
3534
.aliases(["v", "vms"])
3635
.description("Manage virtual machines");
3736

38-
registerSsh(vm);
39-
4037
vm.command("list")
4138
.description("List all virtual machines")
4239
.action(async () => {

0 commit comments

Comments
 (0)