Remove pre-1.0 bridge governance scaffolding

This commit is contained in:
npc0-hue
2026-08-21 09:46:25 +08:00
parent da6c8d607e
commit b5a366e30d
42 changed files with 520 additions and 1066 deletions
@@ -21,9 +21,29 @@
],
"createFormSchema": "schemas/create-form.schema.json",
"createFields": [
{ "key": "serverName", "label": "服务器名称", "type": "text", "required": true, "configKey": "motd" },
{ "key": "gamePort", "label": "游戏端口", "type": "port", "required": true, "defaultValue": "25565", "configKey": "serverPort" },
{ "key": "rconPort", "label": "RCON 端口", "type": "port", "required": true, "defaultValue": "25575", "configKey": "rconPort" }
{
"key": "serverName",
"label": "服务器名称",
"type": "text",
"required": true,
"configKey": "motd"
},
{
"key": "gamePort",
"label": "游戏端口",
"type": "port",
"required": true,
"defaultValue": "25565",
"configKey": "serverPort"
},
{
"key": "rconPort",
"label": "RCON 端口",
"type": "port",
"required": true,
"defaultValue": "25575",
"configKey": "rconPort"
}
]
},
"capabilities": [
@@ -99,18 +119,46 @@
"status": "actions/status.json"
},
"assetFiles": [
{ "path": "actions/install.json", "mode": 384 },
{ "path": "actions/start.json", "mode": 384 },
{ "path": "actions/stop.json", "mode": 384 },
{ "path": "actions/restart.json", "mode": 384 },
{ "path": "actions/status.json", "mode": 384 },
{ "path": "bin/install-server", "mode": 448 },
{ "path": "bin/game-server", "mode": 448 }
{
"path": "actions/install.json",
"mode": 384
},
{
"path": "actions/start.json",
"mode": 384
},
{
"path": "actions/stop.json",
"mode": 384
},
{
"path": "actions/restart.json",
"mode": 384
},
{
"path": "actions/status.json",
"mode": 384
},
{
"path": "bin/install-server",
"mode": 448
},
{
"path": "bin/game-server",
"mode": 448
}
],
"productionLifecycle": {
"operations": ["install", "enable", "disable", "upgrade", "rollback", "retire", "dependency-check"],
"dependencyPolicy": "required",
"approvalRequired": ["disable", "rollback", "retire"]
"operations": [
"install",
"enable",
"disable",
"upgrade",
"rollback",
"retire",
"dependency-check"
],
"dependencyPolicy": "required"
},
"pages": [
{
@@ -153,20 +201,92 @@
"fileWorkspace": {
"defaultDirectoryKey": "minecraft-config",
"directories": [
{ "key": "minecraft-config", "label": "服务器配置", "scope": "config" },
{ "key": "minecraft-logs", "label": "日志文件", "scope": "logs" }
{
"key": "minecraft-config",
"label": "服务器配置",
"scope": "config"
},
{
"key": "minecraft-logs",
"label": "日志文件",
"scope": "logs"
}
],
"files": [
{ "key": "server-properties", "directoryKey": "minecraft-config", "label": "server.properties", "kind": "config", "editable": true },
{ "key": "ops-json", "directoryKey": "minecraft-config", "label": "ops.json", "kind": "config", "editable": true },
{ "key": "whitelist-json", "directoryKey": "minecraft-config", "label": "whitelist.json", "kind": "config", "editable": true },
{ "key": "minecraft-latest-log", "directoryKey": "minecraft-logs", "label": "latest.log", "kind": "log", "streamKey": "minecraft.latest" }
{
"key": "server-properties",
"directoryKey": "minecraft-config",
"label": "server.properties",
"kind": "config",
"editable": true
},
{
"key": "ops-json",
"directoryKey": "minecraft-config",
"label": "ops.json",
"kind": "config",
"editable": true
},
{
"key": "whitelist-json",
"directoryKey": "minecraft-config",
"label": "whitelist.json",
"kind": "config",
"editable": true
},
{
"key": "minecraft-latest-log",
"directoryKey": "minecraft-logs",
"label": "latest.log",
"kind": "log",
"streamKey": "minecraft.latest"
}
],
"configFields": [
{ "key": "motd", "fileKey": "server-properties", "configKey": "motd", "label": "服务器名称", "description": "显示在 Minecraft 服务器列表中的 MOTD。", "control": "text", "defaultValue": "Minecraft Server", "restartImpact": "restart-required" },
{ "key": "server-port", "fileKey": "server-properties", "configKey": "server-port", "label": "游戏端口", "description": "Minecraft Java 客户端连接端口。", "control": "port", "minimum": 1, "maximum": 65535, "defaultValue": "25565", "restartImpact": "restart-required" },
{ "key": "max-players", "fileKey": "server-properties", "configKey": "max-players", "label": "最大玩家数", "description": "允许同时进入服务器的玩家上限。", "control": "number", "minimum": 1, "maximum": 200, "defaultValue": "20", "restartImpact": "restart-required" },
{ "key": "online-mode", "fileKey": "server-properties", "configKey": "online-mode", "label": "正版验证", "description": "是否启用 Mojang 在线身份验证。", "control": "boolean", "defaultValue": "true", "restartImpact": "restart-required" }
{
"key": "motd",
"fileKey": "server-properties",
"configKey": "motd",
"label": "服务器名称",
"description": "显示在 Minecraft 服务器列表中的 MOTD。",
"control": "text",
"defaultValue": "Minecraft Server",
"restartImpact": "restart-required"
},
{
"key": "server-port",
"fileKey": "server-properties",
"configKey": "server-port",
"label": "游戏端口",
"description": "Minecraft Java 客户端连接端口。",
"control": "port",
"minimum": 1,
"maximum": 65535,
"defaultValue": "25565",
"restartImpact": "restart-required"
},
{
"key": "max-players",
"fileKey": "server-properties",
"configKey": "max-players",
"label": "最大玩家数",
"description": "允许同时进入服务器的玩家上限。",
"control": "number",
"minimum": 1,
"maximum": 200,
"defaultValue": "20",
"restartImpact": "restart-required"
},
{
"key": "online-mode",
"fileKey": "server-properties",
"configKey": "online-mode",
"label": "正版验证",
"description": "是否启用 Mojang 在线身份验证。",
"control": "boolean",
"defaultValue": "true",
"restartImpact": "restart-required"
}
]
},
"ai": {