@qing3a/flow-rpa-app 0.5.7 → 0.5.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qing3a/flow-rpa-app",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "engines": { "node": ">=20" },
5
5
  "type": "module",
6
6
  "description": "flow-rpa 应用壳(原 app crate):MCP server + CLI",
@@ -26,9 +26,11 @@
26
26
  "typecheck": "tsc --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@qing3a/flow-rpa-engine": "^0.5.7",
29
+ "@qing3a/flow-rpa-engine": "^0.5.8",
30
30
  "@modelcontextprotocol/sdk": "^1.30.0",
31
31
  "zod": "^4.4.3"
32
32
  }
33
33
  }
34
34
 
35
+
36
+
@@ -1,7 +1,7 @@
1
1
  <!-- 由 docs/SKILL-ENGINE.md 构建生成(M11c D-K1),勿手改;改 docs 真源后重跑 pnpm build -->
2
2
  # 引擎级 skill:flow-rpa 本地 RPA 引擎(契约版)
3
3
 
4
- > 状态:**定稿**(2026-08-29 按 0.5.7 实现校对:14 工具签名核对(T015 resume_run 新增)、暂停-恢复语义、节流参数同步、D3 角色说明)
4
+ > 状态:**定稿**(2026-08-29 按 0.5.8 实现校对:14 工具签名核对(T015 resume_run 新增)、暂停-恢复语义、薪资加密标注(T017 P1-1)、标题过滤 matchText(T017 P1-2)、节流参数同步、D3 角色说明)
5
5
  > 用途:挂载在 npm 包内作为「引擎级 skill」的唯一真源(ARCHITECTURE #10),安装时同步/链接到 Agent 平台的 skills 目录。
6
6
  > 分工:本 skill 只讲「怎么调引擎」;业务编排(何时调、调哪个流程)在业务级 skill(外部/平台分发)。
7
7
 
@@ -148,6 +148,8 @@ Agent 按自己被赋予的角色调用,超出裁剪集的工具会报「工
148
148
  - extract 步骤:`field`(字段标签)、`count`(命中数)、`saved`(是否落盘本地明细)
149
149
  - `selectorHit`:实际生效的选择器(页面改版排查用)
150
150
  - paused 记录额外字段:`pausedAt`(暂停时刻)、`pauseReason`(login/env_check/paused)、`resumeStepIndex`(resume 起点)
151
+ - **薪资加密(T017 P1-1)**:BOSS 薪资为字体加密字符(PUA 私用区 `\uE000-\uF8FF`,如 `\uE02E\uE02F-\uE02E\uF9K` 渲染为 "13-16K")——提取内容**保留原始加密字符**(不再删除),步骤记录 `salaryEncrypted: true` 标注「薪资加密」;**不要当作乱码/提取失败**,解码字体映射不在引擎红线内(独立决策项)
152
+ - **标题过滤(T017 P1-2)**:click 步骤可用 `matchText: "{keyword}"`(region 寻址时跳过标题不含关键词的卡片——BOSS 搜索混入推荐位场景);表达式引擎内部为 `region:<标签> >> [match:<文本>] >> <n>`,index 作用于过滤后集合,凑够 limit 或列表耗尽自然终止
151
153
 
152
154
  **失败处理**
153
155
  - `索引越界`:循环内列表耗尽,**正常终止不是错误**,流程仍为 done
@@ -2,7 +2,7 @@
2
2
  "id": "boss_search_jobs",
3
3
  "name": "BOSS 搜索职位(求职者端)",
4
4
  "platform": "boss",
5
- "version": 11,
5
+ "version": 12,
6
6
  "trigger": { "mode": "manual" },
7
7
  "inputs": [
8
8
  { "name": "keyword", "required": true, "description": "搜索关键词(职位名,如 产品经理)" },
@@ -49,7 +49,7 @@
49
49
  {
50
50
  "id": "click_candidate",
51
51
  "type": "click",
52
- "params": { "region": "列表区", "index": "{i}" },
52
+ "params": { "region": "列表区", "index": "{i}", "matchText": "{keyword}" },
53
53
  "verify": { "waitSelector": ".job-detail-box", "textContains": "职位描述", "timeoutMs": 15000 }
54
54
  },
55
55
  {