@guanzhu.me/xbot-cli 0.10.2 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/native/win32-x64/xbot-cli.exe +0 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ xbot-cli 通过影刀客户端内置通道管理应用、编辑流程、运行
|
|
|
20
20
|
- **安全的写入边界。** `--dry-run` 离线预览,`--expect-app` 断言当前应用,高风险操作必须显式 `--yes`。
|
|
21
21
|
- **浏览器自动化。** `xbot-cli web` 提供“打开页面 → 快照 → 操作元素”的短命令循环,同时返回支持操作的影刀 Python;`web browser list` 查询插件安装与浏览器注册信息,`--browser <id>` 指定目标,打开网页时可自动启动目标浏览器;`web xpath <ref...>` 生成单元素或相似元素 XPath。
|
|
22
22
|
- **安装环境自动发现。** 支持识别非默认影刀安装目录,诊断失败时显示实际后端路径和针对性修复建议。
|
|
23
|
+
- **Windows 自动化。** `win32 list --title "咚咚"` 搜索窗口并表格显示 PID/HWND;`win32 activate` 按注册表和最大数字版本目录定位本机影刀 DLL,激活显式指定的进程。`win32 snapshot` 展示树并保存快照,`inspect/click/fill/type/press/check/select/scroll` 等命令通过 UIA 校验和操作实时控件,动作后返回新树;缺少 Pattern 时不自动回退物理点击。
|
|
23
24
|
- **开放平台 Open API。** `oapi` 一条命令保存 AccessKey,token 自动刷新;应用、机器人、调度、日志、队列、企业账号全覆盖。
|
|
24
25
|
- **内置 Agent Skill。** `xbot-cli install --skills` 同时安装 `xbot-app-dev` 和 `xbot-development-standards`,包含应用/指令集开发规范、Web/Windows 修复辅助和排障指南。
|
|
25
26
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guanzhu.me/xbot-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Agent-friendly CLI for ShadowBot RPA applications, flows, tasks and browser automation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "wn0x00",
|
|
@@ -45,6 +45,8 @@
|
|
|
45
45
|
"test": "cargo test --locked && npm run test:npm && npm run test:skill",
|
|
46
46
|
"test:npm": "node --test --test-concurrency=1 tests/npm/*.test.cjs",
|
|
47
47
|
"test:skill": "node --test tests/skill/*.test.cjs",
|
|
48
|
+
"test:win32-live": "python -X utf8 tests/win32_actions_live.py native/win32-x64/xbot-cli.exe",
|
|
49
|
+
"test:win32-faults": "python -X utf8 tests/win32_actions_faults.py native/win32-x64/xbot-cli.exe",
|
|
48
50
|
"test:package": "node scripts/test-package.cjs",
|
|
49
51
|
"release:version": "node scripts/set-version.cjs",
|
|
50
52
|
"prepack": "npm run build && node scripts/check-package.cjs"
|