Skip to content

Commit 4cef200

Browse files
committed
feat(sync)!: replace per-entity sync RPC with TeamConfigRecord blobs
Cloud sync now exchanges opaque TeamConfigRecord envelopes (kind + ciphertext payload) instead of typed Host/SshKey/Identity/KnownHost/PortForward message sets. BREAKING CHANGE: SyncConfigResponse drops hostSet/sshKeySet/etc. in favor of records; UpdateConfigRequest/Response use team_id + TeamConfigRecord only. Existing sync clients and termium-be must upgrade together with this proto.
1 parent 8ac3345 commit 4cef200

19 files changed

Lines changed: 1145 additions & 724 deletions
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "sync/v1/config_body.proto",
5+
"version": "version not set"
6+
},
7+
"consumes": [
8+
"application/json"
9+
],
10+
"produces": [
11+
"application/json"
12+
],
13+
"paths": {},
14+
"definitions": {
15+
"protobufAny": {
16+
"type": "object",
17+
"properties": {
18+
"@type": {
19+
"type": "string"
20+
}
21+
},
22+
"additionalProperties": {}
23+
},
24+
"rpcStatus": {
25+
"type": "object",
26+
"properties": {
27+
"code": {
28+
"type": "integer",
29+
"format": "int32"
30+
},
31+
"message": {
32+
"type": "string"
33+
},
34+
"details": {
35+
"type": "array",
36+
"items": {
37+
"type": "object",
38+
"$ref": "#/definitions/protobufAny"
39+
}
40+
}
41+
}
42+
}
43+
}
44+
}

0 commit comments

Comments
 (0)