@guanzhu.me/xbot-cli 0.10.3 → 0.11.2

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 CHANGED
@@ -20,8 +20,9 @@ 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` 自动适配 x86 企业微信,其他目标按架构调用本机影刀组件,支持 Windows x64 上的 x86/x64 应用。`win32 snapshot` 展示树并保存快照,`inspect/click/fill/type/press/check/select/scroll` 等命令校验和操作实时控件;click 默认物理点击,`--method invoke` 可选,结果返回实际方法和坐标,动作后返回新树。
23
24
  - **开放平台 Open API。** `oapi` 一条命令保存 AccessKey,token 自动刷新;应用、机器人、调度、日志、队列、企业账号全覆盖。
24
- - **内置 Agent Skill。** `xbot-cli install --skills` 同时安装 `xbot-app-dev` 和 `xbot-development-standards`,包含应用/指令集开发规范、Web/Windows 修复辅助和排障指南。
25
+ - **内置 Agent Skill。** `xbot-cli install --skills` 同时安装 `xbot-app-dev` 和 `xbot-development-standards`,包含应用/指令集开发规范、故障前置分析、临时测试恢复及 Web/Windows 修复辅助;按仅运行、开发和维护任务读取对应资料。
25
26
 
26
27
  ## 安装
27
28
 
@@ -130,6 +131,7 @@ xbot-cli oapi job logs <jobUuid> --json
130
131
 
131
132
  ## 文档
132
133
 
134
+ - [0.11.2 更新说明](docs/updates/2026-11-20-windows-skills.md):32 位目标激活、企微适配、默认物理点击、快照修复与 Skill 维护优化
133
135
  - [0.9.3 更新说明](docs/updates/2026-11-05-flow-parameters.md):不受 MCP 六类型白名单限制的流程参数写入、类型查询和使用文档
134
136
  - [0.9.2 更新说明](docs/updates/2026-11-05-browser-development-standards.md):浏览器列表、指定浏览器、自动启动及指令集/应用开发规范 Skill
135
137
  - [0.9.1 更新说明](docs/updates/2026-10-30-web-python-xpath.md):Web Python、XPath、安装环境发现及验证范围
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanzhu.me/xbot-cli",
3
- "version": "0.10.3",
3
+ "version": "0.11.2",
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,12 @@
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",
50
+ "test:win32-activation": "python -X utf8 tests/win32_activation_live.py native/win32-x64/xbot-cli.exe",
51
+ "test:win32-misc": "python -X utf8 tests/win32_wxwork_activation_live.py native/win32-x64/xbot-cli.exe",
52
+ "test:win32-wework": "python -X utf8 tests/win32_wework_builtin_live.py native/win32-x64/xbot-cli.exe",
53
+ "test:win32-collect": "python -X utf8 tests/win32_snapshot_collect.py",
48
54
  "test:package": "node scripts/test-package.cjs",
49
55
  "release:version": "node scripts/set-version.cjs",
50
56
  "prepack": "npm run build && node scripts/check-package.cjs"