feat: add AgentAPI using DRPC (#10811)

Co-authored-by: Spike Curtis <spike@coder.com>
This commit is contained in:
Dean Sheather
2023-12-18 22:53:28 +10:00
committed by GitHub
co-authored by Spike Curtis
parent eb781751b8
commit e46431078c
42 changed files with 4413 additions and 1035 deletions
+22
View File
@@ -5269,6 +5269,28 @@ const docTemplate = `{
}
}
},
"/workspaceagents/me/rpc": {
"get": {
"security": [
{
"CoderSessionToken": []
}
],
"tags": [
"Agents"
],
"summary": "Workspace agent RPC API",
"operationId": "workspace-agent-rpc-api",
"responses": {
"101": {
"description": "Switching Protocols"
}
},
"x-apidocgen": {
"skip": true
}
}
},
"/workspaceagents/me/startup": {
"post": {
"security": [
+20
View File
@@ -4633,6 +4633,26 @@
}
}
},
"/workspaceagents/me/rpc": {
"get": {
"security": [
{
"CoderSessionToken": []
}
],
"tags": ["Agents"],
"summary": "Workspace agent RPC API",
"operationId": "workspace-agent-rpc-api",
"responses": {
"101": {
"description": "Switching Protocols"
}
},
"x-apidocgen": {
"skip": true
}
}
},
"/workspaceagents/me/startup": {
"post": {
"security": [