Remove pre-1.0 audit and protected request scaffolding

This commit is contained in:
npc0-hue
2026-08-20 23:42:02 +08:00
parent 40b35b05c7
commit a7e2e4c6c0
130 changed files with 526 additions and 3767 deletions
@@ -317,20 +317,7 @@
"payloadSchemaRef": { "$ref": "#/$defs/relativeJsonRef" },
"resultSchemaRef": { "$ref": "#/$defs/relativeJsonRef" },
"timeoutSeconds": { "type": "integer", "minimum": 1, "maximum": 3600 },
"maxPayloadBytes": { "type": "integer", "minimum": 1, "maximum": 65536 },
"protectedRequest": { "$ref": "#/$defs/gameClientBridgeProtectedRequest" }
}
},
"gameClientBridgeProtectedRequest": {
"type": "object",
"required": ["kind", "transportKey", "targetKey", "textField", "maxTextBytes"],
"additionalProperties": false,
"properties": {
"kind": { "enum": ["sql", "rcon", "program"] },
"transportKey": { "$ref": "#/$defs/logicalKey" },
"targetKey": { "$ref": "#/$defs/logicalKey" },
"textField": { "type": "string", "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,79}$" },
"maxTextBytes": { "type": "integer", "minimum": 1, "maximum": 16384 }
"maxPayloadBytes": { "type": "integer", "minimum": 1, "maximum": 65536 }
}
},
"gameClientBridgeSnapshot": {
@@ -412,25 +399,12 @@
},
"gameClientBridgeLogProjectionPresence": {
"type": "object",
"required": ["timestampField", "activeWindowSeconds", "announcement"],
"required": ["timestampField", "activeWindowSeconds"],
"additionalProperties": false,
"properties": {
"timestampField": { "type": "string", "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,79}$" },
"activeWindowSeconds": { "type": "integer", "minimum": 1, "maximum": 31536000 },
"activityTarget": { "$ref": "#/$defs/gameClientBridgeLogProjectionTarget" },
"announcement": { "$ref": "#/$defs/gameClientBridgeLogProjectionAnnouncement" }
}
},
"gameClientBridgeLogProjectionAnnouncement": {
"type": "object",
"required": ["profileKey", "commandType", "textField", "newTextTemplate", "returningTextTemplate"],
"additionalProperties": false,
"properties": {
"profileKey": { "$ref": "#/$defs/logicalKey" },
"commandType": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$" },
"textField": { "type": "string", "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,79}$" },
"newTextTemplate": { "type": "string", "minLength": 1, "maxLength": 4096 },
"returningTextTemplate": { "type": "string", "minLength": 1, "maxLength": 4096 }
"activityTarget": { "$ref": "#/$defs/gameClientBridgeLogProjectionTarget" }
}
},
"gameClientBridgeDataPack": {
@@ -480,7 +454,7 @@
"key": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$" },
"title": { "type": "string", "minLength": 1, "maxLength": 80 },
"permission": { "$ref": "#/$defs/pluginPermission" },
"approvalLevel": { "enum": ["operator", "platform-admin"] },
"approvalLevel": { "enum": ["none", "operator", "platform-admin"] },
"kind": { "enum": ["rcon", "sqlite-mutation"] },
"transportKey": { "$ref": "#/$defs/logicalKey" },
"targetKey": { "$ref": "#/$defs/logicalKey" },
@@ -552,7 +526,6 @@
"remote.run.logs.transfer",
"remote.run.rcon.command",
"remote.run.protected.sql",
"remote.run.protected.rcon",
"remote.run.program.command",
"client-manager.deploy",
"client-manager.control",