257 lines
4.7 KiB
JSON
257 lines
4.7 KiB
JSON
{
|
||
"manifest_version": 1,
|
||
"name": "macos-desktop-control",
|
||
"summary": "操作 macOS 桌面与应用界面:读无障碍元素树、点击按钮/菜单、填输入框、发文本与组合键、按窗口截图",
|
||
"tier": 1,
|
||
"status": "stable",
|
||
"version": "f7a6763",
|
||
"source": {
|
||
"path": "skills/macos-desktop-control",
|
||
"commit": "f7a6763",
|
||
"describe": "f7a6763",
|
||
"dirty": false,
|
||
"packed_at": "2026-10-02T01:30:42.335Z"
|
||
},
|
||
"platforms": [
|
||
"darwin"
|
||
],
|
||
"entry": {
|
||
"path": "scripts/desktop-ctl.sh"
|
||
},
|
||
"commands": [
|
||
"check",
|
||
"apps",
|
||
"front",
|
||
"windows",
|
||
"tree",
|
||
"find",
|
||
"get",
|
||
"shot",
|
||
"ocr",
|
||
"focus",
|
||
"press",
|
||
"set",
|
||
"menu",
|
||
"type",
|
||
"key",
|
||
"win-state",
|
||
"win-place",
|
||
"win-screen",
|
||
"win-fullscreen",
|
||
"win-minimize",
|
||
"win-unminimize",
|
||
"click",
|
||
"drag",
|
||
"scroll",
|
||
"space-list",
|
||
"space-goto",
|
||
"space-move",
|
||
"volume",
|
||
"media",
|
||
"brightness",
|
||
"clipboard",
|
||
"wifi",
|
||
"screen-list",
|
||
"input-source"
|
||
],
|
||
"errors": [
|
||
"usage",
|
||
"deps",
|
||
"platform",
|
||
"auth",
|
||
"notfound",
|
||
"conflict",
|
||
"blocked",
|
||
"timeout",
|
||
"external",
|
||
"internal"
|
||
],
|
||
"aliases": [
|
||
"desktop-ctl"
|
||
],
|
||
"admin": [],
|
||
"depends_on": [],
|
||
"requires": [
|
||
{
|
||
"kind": "binary",
|
||
"name": "swiftc",
|
||
"install": "xcode-select --install(Command Line Tools)",
|
||
"check": "swiftc --version",
|
||
"note": "截图/窗口原语的小工具需要编译;已编译过就不再需要"
|
||
},
|
||
{
|
||
"kind": "binary",
|
||
"name": "shasum",
|
||
"install": "macOS 自带(perl)",
|
||
"check": "shasum --version"
|
||
}
|
||
],
|
||
"config": [],
|
||
"external_imports": [],
|
||
"contract": {
|
||
"version": 1,
|
||
"skill": "macos-desktop-control",
|
||
"tier": 1,
|
||
"platforms": [
|
||
"darwin"
|
||
],
|
||
"commands": {
|
||
"apps": {
|
||
"destructive": false
|
||
},
|
||
"brightness": {
|
||
"destructive": true
|
||
},
|
||
"check": {
|
||
"destructive": false
|
||
},
|
||
"click": {
|
||
"destructive": true
|
||
},
|
||
"clipboard": {
|
||
"destructive": true
|
||
},
|
||
"drag": {
|
||
"destructive": true
|
||
},
|
||
"find": {
|
||
"destructive": false
|
||
},
|
||
"focus": {
|
||
"destructive": false
|
||
},
|
||
"front": {
|
||
"destructive": false
|
||
},
|
||
"get": {
|
||
"destructive": false
|
||
},
|
||
"input-source": {
|
||
"destructive": true
|
||
},
|
||
"key": {
|
||
"destructive": true
|
||
},
|
||
"media": {
|
||
"destructive": true
|
||
},
|
||
"menu": {
|
||
"destructive": true
|
||
},
|
||
"ocr": {
|
||
"destructive": false
|
||
},
|
||
"press": {
|
||
"destructive": true
|
||
},
|
||
"screen-list": {
|
||
"destructive": false
|
||
},
|
||
"scroll": {
|
||
"destructive": true
|
||
},
|
||
"set": {
|
||
"destructive": true
|
||
},
|
||
"shot": {
|
||
"destructive": false
|
||
},
|
||
"space-goto": {
|
||
"destructive": true
|
||
},
|
||
"space-list": {
|
||
"destructive": false
|
||
},
|
||
"space-move": {
|
||
"destructive": true
|
||
},
|
||
"tree": {
|
||
"destructive": false
|
||
},
|
||
"type": {
|
||
"destructive": true
|
||
},
|
||
"volume": {
|
||
"destructive": true
|
||
},
|
||
"wifi": {
|
||
"destructive": true
|
||
},
|
||
"win-fullscreen": {
|
||
"destructive": true
|
||
},
|
||
"win-minimize": {
|
||
"destructive": true
|
||
},
|
||
"win-place": {
|
||
"destructive": true
|
||
},
|
||
"win-screen": {
|
||
"destructive": true
|
||
},
|
||
"win-state": {
|
||
"destructive": false
|
||
},
|
||
"win-unminimize": {
|
||
"destructive": true
|
||
},
|
||
"windows": {
|
||
"destructive": false
|
||
}
|
||
},
|
||
"errors": [
|
||
"auth",
|
||
"blocked",
|
||
"conflict",
|
||
"deps",
|
||
"external",
|
||
"internal",
|
||
"notfound",
|
||
"platform",
|
||
"timeout",
|
||
"usage"
|
||
],
|
||
"aliases": [
|
||
"desktop-ctl"
|
||
],
|
||
"adminAliases": []
|
||
},
|
||
"files": [
|
||
{
|
||
"path": "REFERENCE.md",
|
||
"bytes": 35774,
|
||
"sha256": "62f1daf1602dc924"
|
||
},
|
||
{
|
||
"path": "SKILL.md",
|
||
"bytes": 6906,
|
||
"sha256": "37960b69f6ca1435"
|
||
},
|
||
{
|
||
"path": "VERSION",
|
||
"bytes": 6,
|
||
"sha256": "80447316529fc620"
|
||
},
|
||
{
|
||
"path": "contract.lock.json",
|
||
"bytes": 2056,
|
||
"sha256": "936e1b4f3dc8aaca"
|
||
},
|
||
{
|
||
"path": "interface.json",
|
||
"bytes": 5102,
|
||
"sha256": "be5d4ef553f02f5e"
|
||
},
|
||
{
|
||
"path": "scripts/desktop-ctl.sh",
|
||
"bytes": 7574,
|
||
"sha256": "22827dc8cd5e4831"
|
||
}
|
||
],
|
||
"leak_scan": {
|
||
"errors": 0,
|
||
"warnings": 0,
|
||
"findings": []
|
||
}
|
||
}
|