{ "$schema": "../../manifests/game-plugin.manifest.schema.json", "id": "game.example", "name": "Example Server", "description": "Development game management plugin for local registry and lifecycle testing.", "version": "0.1.0", "kind": "game-plugin", "tags": [ "example", "development" ], "server": { "type": "example", "displayName": "Example Server", "supportedOS": [ "windows", "linux", "darwin" ], "createFormSchema": "schemas/create-form.schema.json" }, "capabilities": [ "process.install", "process.start", "process.stop", "process.restart", "process.status", "config.write", "files.list", "files.read", "files.patch", "logs.read", "artifacts.read", "artifacts.write", "ai.invoke" ], "bridge": { "actions": [ "server.instances.read", "jobs.dispatch", "logs.query", "artifacts.open", "files.request", "plugin-lifecycle.request", "ai.invoke" ] }, "permissions": [ "server.create", "server.read", "server.lifecycle", "server.files.read", "server.files.write", "server.logs.read", "server.artifacts.read", "server.artifacts.write", "ai.invoke" ], "actions": { "install": "actions/install.json", "start": "actions/start.json", "stop": "actions/stop.json", "restart": "actions/restart.json", "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 } ], "productionLifecycle": { "operations": [ "install", "enable", "disable", "upgrade", "rollback", "retire", "dependency-check" ], "dependencyPolicy": "optional" }, "pages": [ { "key": "overview", "title": "概览", "path": "/overview", "bundleKey": "dev-game-plugin", "bundleVersion": "1.0.0", "bundleIntegritySha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", "permissions": [ "server.read" ], "bridgeActions": [ "server.instances.read" ] }, { "key": "config", "title": "配置", "path": "/config", "bundleKey": "dev-game-plugin", "bundleVersion": "1.0.0", "bundleIntegritySha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", "permissions": [ "server.files.read", "server.files.write", "ai.invoke" ], "bridgeActions": [ "files.request", "ai.invoke" ] }, { "key": "logs", "title": "日志", "path": "/logs", "bundleKey": "dev-game-plugin", "bundleVersion": "1.0.0", "bundleIntegritySha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", "permissions": [ "server.logs.read", "ai.invoke" ], "bridgeActions": [ "logs.query", "ai.invoke" ] } ], "ai": { "purposes": [ "config.suggest", "logs.diagnose" ], "mediation": "platform" } }