feat(app-server): expose live thread proxy runtime

This commit is contained in:
Felipe Coury
2026-07-06 16:42:58 -03:00
parent 70d4255207
commit 532be8ddb8
32 changed files with 899 additions and 5 deletions
@@ -283,6 +283,27 @@
],
"type": "object"
},
"ThreadNetworkProxyRuntime": {
"description": "Live managed-proxy details for a thread running on the app-server host.",
"properties": {
"httpAddr": {
"type": "string"
},
"mitm": {
"description": "Whether the proxy intercepts TLS with a managed certificate authority.",
"type": "boolean"
},
"socksAddr": {
"type": "string"
}
},
"required": [
"httpAddr",
"mitm",
"socksAddr"
],
"type": "object"
},
"ThreadSettings": {
"properties": {
"activePermissionProfile": {
@@ -366,6 +387,17 @@
}
},
"properties": {
"networkProxy": {
"anyOf": [
{
"$ref": "#/definitions/ThreadNetworkProxyRuntime"
},
{
"type": "null"
}
],
"description": "Latest live managed-proxy runtime, or `null` when the proxy is inactive."
},
"threadId": {
"type": "string"
},