full diff

link.jetbridge.provider

jetbridge.link +1 −1
From
bafyreihll3rodiym4yh6thmx6w5ul7zspv2r6rzkuysnbfanplkhj3bslq indexed 2026-11-22 10:30 UTC View this version
To
bafyreibvzlxah46xdevgnlop7otpde67nzjpj4fdslkaqdbfg45r3nkdge indexed 2026-11-23 07:23 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "link.jetbridge.provider:body.protocol", sort: "knownValues", old_value: "[\"jetbridge+frp/2\"]", new_value: "[\"jetbridge+frp-v2\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "link.jetbridge.provider:body.protocol", sort: "knownValues", old_value: "[\"jetbridge+frp/2\"]", new_value: "[\"jetbridge+frp-v2\"]" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "limits": {
55 "properties": {
66 "maxHostnames": {
77 "description": "Most hostnames one client may serve at once.",
88 "minimum": 1,
99 "type": "integer"
1010 },
1111 "trafficCap": {
1212 "description": "Caps on one Client's traffic, each over a rolling period. Left out when there is no cap. If a Client's traffic goes over any cap during its period, the Client must expect the Provider to throttle or cut its connections.",
1313 "items": {
1414 "ref": "#trafficCap",
1515 "type": "ref"
1616 },
1717 "maxLength": 14,
1818 "minLength": 0,
1919 "type": "array"
2020 }
2121 },
2222 "type": "object"
2323 },
2424 "main": {
2525 "description": "A provider's offer of ingress to other people's services over TLS. Lives in the provider's repo. The repo's DID identifies the provider.",
2626 "key": "literal:self",
2727 "record": {
2828 "properties": {
2929 "activePolicies": {
3030 "description": "The link.jetbridge.policy records a Client may accept, in the Provider's order of preference. A Client must accept one of them.",
3131 "items": {
3232 "ref": "com.atproto.repo.strongRef",
3333 "type": "ref"
3434 },
3535 "maxLength": 16,
3636 "minLength": 1,
3737 "type": "array"
3838 },
3939 "admission": {
4040 "description": "Who may open a tunnel: open (anyone), approval (Clients with an unexpired link.jetbridge.approval record) or closed (by out-of-band invitation only).",
4141 "knownValues": [
4242 "open",
4343 "approval",
4444 "closed"
4545 ],
4646 "maxLength": 32,
4747 "type": "string"
4848 },
4949 "createdAt": {
5050 "format": "datetime",
5151 "type": "string"
5252 },
5353 "ingress": {
5454 "description": "IPv4 and IPv6 addresses that clients write to their A and AAAA records.",
5555 "items": {
5656 "maxLength": 45,
5757 "type": "string"
5858 },
5959 "maxLength": 32,
6060 "minLength": 1,
6161 "type": "array"
6262 },
6363 "limits": {
6464 "description": "Default limits for every Client.",
6565 "ref": "#limits",
6666 "type": "ref"
6767 },
6868 "operator": {
6969 "description": "The atproto account of whoever runs this Provider.",
7070 "format": "did",
7171 "type": "string"
7272 },
7373 "ports": {
7474 "description": "TCP ports, besides 443, on which visitors reach Clients' hostnames over TLS.",
7575 "items": {
7676 "maximum": 65535,
7777 "minimum": 1,
7878 "type": "integer"
7979 },
8080 "maxLength": 32,
8181 "type": "array"
8282 },
8383 "protocol": {
8484 "description": "The protocol version this Provider accepts.",
8585 "knownValues": [
86 "jetbridge+frp/2"
86 "jetbridge+frp-v2"
8787 ],
8888 "maxLength": 64,
8989 "type": "string"
9090 },
9191 "version": {
9292 "description": "The Jetbridge release this Provider runs.",
9393 "maxLength": 64,
9494 "type": "string"
9595 }
9696 },
9797 "required": [
9898 "protocol",
9999 "ingress",
100100 "admission",
101101 "activePolicies",
102102 "createdAt"
103103 ],
104104 "type": "object"
105105 },
106106 "type": "record"
107107 },
108108 "trafficCap": {
109109 "description": "A cap on the traffic of all of one Client's hostnames together, in one direction, over a rolling period.",
110110 "properties": {
111111 "bytes": {
112112 "description": "The most bytes the Client may send in this direction during the period.",
113113 "minimum": 1,
114114 "type": "integer"
115115 },
116116 "direction": {
117117 "description": "ingress: bytes from visitors to the Client via the Provider. egress: bytes from the Client to visitors via the Provider.",
118118 "enum": [
119119 "ingress",
120120 "egress"
121121 ],
122122 "maxLength": 16,
123123 "type": "string"
124124 },
125125 "timespan": {
126126 "description": "The length of the rolling period the Provider will limit over.",
127127 "knownValues": [
128128 "1s",
129129 "1h",
130130 "6h",
131131 "1d",
132132 "7d",
133133 "30d",
134134 "365d"
135135 ],
136136 "maxLength": 16,
137137 "type": "string"
138138 }
139139 },
140140 "required": [
141141 "direction",
142142 "bytes",
143143 "timespan"
144144 ],
145145 "type": "object"
146146 }
147147 },
148148 "id": "link.jetbridge.provider",
149149 "lexicon": 1
150150}

Compare other versions