feat(cli): add coder open vscode (#11191)

Fixes #7667
This commit is contained in:
Mathias Fredriksson
2024-01-02 20:46:18 +02:00
committed by GitHub
parent 099be249a7
commit df3c310379
26 changed files with 1123 additions and 292 deletions
+3 -1
View File
@@ -421,6 +421,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/me/manifest \
```json
{
"agent_id": "string",
"agent_name": "string",
"apps": [
{
"command": "string",
@@ -532,7 +533,8 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/me/manifest \
}
],
"vscode_port_proxy_uri": "string",
"workspace_id": "string"
"workspace_id": "string",
"workspace_name": "string"
}
```
+5 -1
View File
@@ -186,6 +186,7 @@
```json
{
"agent_id": "string",
"agent_name": "string",
"apps": [
{
"command": "string",
@@ -297,7 +298,8 @@
}
],
"vscode_port_proxy_uri": "string",
"workspace_id": "string"
"workspace_id": "string",
"workspace_name": "string"
}
```
@@ -306,6 +308,7 @@
| Name | Type | Required | Restrictions | Description |
| ---------------------------- | ------------------------------------------------------------------------------------------------- | -------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `agent_id` | string | false | | |
| `agent_name` | string | false | | |
| `apps` | array of [codersdk.WorkspaceApp](#codersdkworkspaceapp) | false | | |
| `derp_force_websockets` | boolean | false | | |
| `derpmap` | [tailcfg.DERPMap](#tailcfgderpmap) | false | | |
@@ -320,6 +323,7 @@
| `scripts` | array of [codersdk.WorkspaceAgentScript](#codersdkworkspaceagentscript) | false | | |
| `vscode_port_proxy_uri` | string | false | | |
| `workspace_id` | string | false | | |
| `workspace_name` | string | false | | |
## agentsdk.Metadata