ssw
|
ef1d2fb08d
|
auto(9ffa0cdb9ebf): session end @ 2026-06-19T17:08:00 (+1f)
|
2026-06-19 17:08:00 +08:00 |
|
ssw
|
63eecc2684
|
auto(9ffa0cdb9ebf): session end @ 2026-06-19T13:07:41 (+1f)
|
2026-06-19 13:07:42 +08:00 |
|
Claude
|
d3b54bf116
|
jnpf-browser-automation v2.1: 修 8 个 v2 fill 方法 + replace_form_data
修 #X1-X8 (2026-06-17 v2 实战):
- _fill_color_picker: 用 .jnpf-color-picker .ant-color-picker__trigger (源码证实)
- _fill_slider_rail: 改用 .jnpf-slider .ant-slider-handle
- _fill_tree_select: 改用 .jnpf-tree-select .ant-select-selector
- _fill_file_input: uploadFile 改用 vue-simple-uploader button click + file_chooser
- _fill_relation_form_popup: 改用 .common-container .ant-select-selector
- _fill_user_select_popup: 改用 .select-tag-list .ant-btn (button mode) + .ant-select-selector
- _fill_organize_select_popup: 同上
- _fill_editor_input: 改用 tinymce API setContent
- modal close: 加 Escape 关闭残留 popover + 优化 .ant-modal-footer .ant-btn-primary 兜底
- user-end goto: 加 .ant-table-tbody 30s wait_for_selector
修 #X6 根因: drag inject 会丢控件 + label/field/type 不匹配
- 改 _replace_form_data_via_api 完整用 GENITEM_TEMPLATES + controls_config 重建
formData.fields (20 个) + columnData.columnList (20 个) + PUT 回 form
- 100% 保证 widget type + label + vModel 对齐 controls_config
- 之前 18/20 修复到 20/20, 18 fields 修复后入库 20 fields (实测 tddCtrl700699)
e2e 实测结果 (v2.1):
- form 阶段: 20/20 inject ok + 20/20 columnList ok + save ok + patch ok
- release/mount: ok
- user_end_fill: 阻断在 tdd app 404 (CLAUDE.md §2.5 已知问题, 非 skill 责任)
- 验证: form 入库 20 fields 完全匹配 controls_config (颜色=colorPicker, 部门=treeSelect 等)
- 切换 workSystem 兜底也失败 (formDesigner 在 tdd backend, form 存到 tdd, 跨 app 复杂)
结论: v2 skill 100% 工作在 form 创建管线 (create → columnList → save → patch → release → mount),
user-end 渲染受 JNPF tdd 404 阻塞但 skill 端到端结构完整
|
2026-06-17 21:16:12 +08:00 |
|
ssw
|
4d8cecb426
|
auto(9ffa0cdb9ebf): session end @ 2026-06-17T19:43:22 (+1f)
|
2026-06-17 19:43:22 +08:00 |
|
Claude
|
bb2ebd6dbd
|
jnpf-browser-automation v2: 扩 10 → 20 控件 (10 v2 新增)
新增 10 控件: colorPicker/rate/slider/treeSelect/uploadImg/uploadFile/
relationForm/userSelect/organizeSelect/editor
- build_controls.py: 加 10 控件定义 + 10 fillMethod 映射
- e2e_r3_v2_engine.py: 加 10 GenItem 模板 (1600 行) + 9 fill 方法
(file_input 统一处理 uploadImg+uploadFile)
- _fill_one_field_user_end: dispatcher 加 10 个 fillMethod 分支
- OPTION_CONTROLS: 加 treeSelect (修 options 绑定)
- 3 处 page.goto 加 domcontentloaded + 60s timeout
- e2e_r3_v2.py OUT_DIR r10 → r20
- SKILL.md: 20 控件矩阵 + 19 fillMethod 速查
e2e 实跑验证被 env timeout 阻塞 (nginx 冷启动慢), 代码静态检查全通过
- 20 控件 GenItem 模板齐全
- 19 fillMethod dispatcher 覆盖
- 17 fill 方法实现 (8 v1 + 9 v2)
|
2026-06-17 19:14:35 +08:00 |
|
ssw
|
4f9a464625
|
auto(a17f98b34161): session end @ 2026-06-17T17:49:21 (+1f)
|
2026-06-17 17:49:21 +08:00 |
|
ssw
|
7dfbed55c4
|
auto(a17f98b34161): session end @ 2026-06-17T17:33:24 (+1f)
|
2026-06-17 17:33:24 +08:00 |
|
ssw
|
d3ff72d10d
|
auto(a17f98b34161): session end @ 2026-06-17T17:24:32 (+1f)
|
2026-06-17 17:24:33 +08:00 |
|
 sswandClaude
|
e2078869d0
|
fix(jnpf-browser-automation): inject options 从 controls_config 兜底 (designer 丢失修复)
Task 17 review fix: designer-side inject 时 Vue reactive 失败,
6 个 field 的 options 在 formData 里丢失. patch 之前只看已有 options.
新增 inject_options_from_config:
- 按 field.__vModel__ 在 controls_config.json 找对应 ctrl
- 如果 field 是 OPTION_CONTROLS 且 options 为空, 从 configSchema.options 注入
- 转换 {label, value} → {fullName, id} (JSON string, 兼容 FieLdsModel.java:231)
预期 #53-#55 修复, e2e 33/33.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 15:37:52 +08:00 |
|
 sswandClaude
|
38db037669
|
fix(jnpf-browser-automation): options 必须 JSON string (FieLdsModel.java:231)
关键修复: 后端 FieLdsModel.java:231 private String options;
之前 patch 写 array, Jackson 反序列化失败导致 user-end 看不到 options.
修复: options 写入前 json.dumps() 序列化为字符串.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 15:25:50 +08:00 |
|
 sswandClaude
|
535245d924
|
fix(jnpf-browser-automation): REST API patch options (绕开 prod build Vue 注入)
Vue reactive 在 prod build 不可用. 改走 REST API 修补:
新增 _patch_options_via_api(form_id) (05.5 步):
- GET /api/visualdev/Base/{id} 取 formData JSON
- 遍历 fields, transform {label,value} → {fullName,id}
- 设 props.label='fullName'/value='id'/cascader children
- PUT 回写
预期 #53/54/55 修复, e2e 33/33.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 15:16:18 +08:00 |
|
 sswandClaude
|
8d5a1cd0ef
|
fix(jnpf-browser-automation): 盲点 #53-#55 options 绑定 (useDynamic.ts 规则)
源码依据:
- useDynamic.ts:148 addSelectItem() 用 {fullName, id}
- useDynamic.ts:90-91 props.value='id', props.label='fullName'
- DataProperties.vue:137-138 右面板读 element.fullName/id
- RSelect.vue:15 :field-names='activeData.props'
修复:
1. GENITEM_TEMPLATES select/radio/checkbox/cascader 加 props={label,value}
2. drag 后调 _transform_options_to_jnpf_shape:
- {label, value} → {fullName, id} (recursive cascader children)
- props.label='fullName', props.value='id', cascader 加 props.children
- 走 Vue reactive (回退兜底: 生产 build 不可用则 skip)
预期: #53/54/55 修复, e2e 33/33
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 15:04:04 +08:00 |
|
 sswandClaude
|
7098d15915
|
fix(jnpf-browser-automation): checkbox 读 fillOptionTexts OR fillValue (review fix)
Final review 找到的 false positive:
- config 用 fillValue: [紧急, 重要]
- engine 读 fillOptionTexts (没人填)
- 结果: 循环空数组 = no-op, 但 user_end_fill 报 ok
修: 同时接受 fillOptionTexts (新) 和 fillValue (旧/兼容)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 14:30:45 +08:00 |
|
 sswandClaude
|
36485be438
|
docs(jnpf-browser-automation): 10 控件 selector 速查 (v2 引擎验证)
基于 Task 10 e2e 实测:
- FormDesigner 端 7 个 selector
- 用户端 3 个公共 selector
- 10 控件 fill selector (按 label 收窄)
- 8 种 fillMethod 速查
- 4 已知限制 (#53-#56)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 14:22:09 +08:00 |
|
 sswandClaude
|
4f4ae78f47
|
docs(jnpf-browser-automation): SKILL.md 加 v2 入口 + 10 控件矩阵
- v2 入口段: build_controls + e2e_r3_v2.py 一键跑 10 控件
- 10 控件矩阵段: jnpfKey × schema × fillMethod × 状态表
- 当前 29/33 (88%), 4 已知限制 (select/radio/cascader options 绑定)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 14:19:37 +08:00 |
|
ssw
|
25c8397b7c
|
fix(jnpf-browser-automation): 盲点 44-52 修 engine (drag + save + dacli + selector)
|
2026-06-17 14:13:18 +08:00 |
|
 sswandClaude
|
c2380b11d9
|
fix(jnpf-browser-automation): 盲点 #43 token 注入 — 先 goto 再 setItem
e2e_r3_v2.py: page 在 about:blank 时 localStorage SecurityError.
修复: 先 page.goto('http://nginx/') 拿真实 origin, 注入 token, 再回 about:blank.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 14:11:56 +08:00 |
|
 sswandClaude
|
ff01663325
|
feat(jnpf-browser-automation): e2e_r3_v2.py 入口脚本
- 读 controls_config.json (默认或 sys.argv[1])
- init Playwright + 注入 dacli token
- 创建 ControlEngine + run_all
- 写 summary.json
- 返回 exit code 0/1 (基于 fail 数)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:24:39 +08:00 |
|
 sswandClaude
|
22a493ab8d
|
feat(jnpf-browser-automation): 8 种 fillMethod 实现 (用户端)
- _fill_press_sequentially: input/textarea/inputNumber
- _fill_select_option: 下拉
- _fill_click_radio: 单选
- _fill_click_checkbox: 多选
- _fill_click_switch: 开关 (检查 ant-switch-checked class)
- _fill_date_picker: 日期 (today+1 自动算)
- _fill_time_picker: 时间
- _fill_cascader: 级联 (逐级 panel)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:21:42 +08:00 |
|
 sswandClaude
|
ba101e9c90
|
feat(jnpf-browser-automation): user_end fill+assert 骨架 + url 反查
- _user_end_fill_all_and_assert: navigate → 新增 modal → 循环 fill → 提交 → list assert
- _get_user_url: 从 dacli menu list --json 反查 urlAddress
- _fill_one_field_user_end: placeholder (Task 8 填充 8 种 fillMethod)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:19:40 +08:00 |
|
 sswandClaude
|
30b7423190
|
feat(jnpf-browser-automation): release+mount 步骤加 _add_result 调用
Code review: 让 release/mount 步骤在 summary 里可见, 便于 Task 10/11 e2e 排查盲点.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:17:29 +08:00 |
|
 sswandClaude
|
c26aab7638
|
feat(jnpf-browser-automation): release + mount 走 dacli subprocess
- _release_and_mount: 用 npx tsx 调 dacli form release + menu create
- 比浏览器层快 (避免 Actions/Release 端点的 JS 拖拽交互)
- 失败也不 abort, 留给 Task 10 e2e 暴露盲点
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:15:30 +08:00 |
|
 sswandClaude
|
91b109f027
|
feat(jnpf-browser-automation): columnList 勾选 + 保存 + form_id 反查
- _add_all_to_column_list: 复用 key-discoveries #3 隐藏 div 复选框
(基于 label 文本匹配, 不是序号 — 10 控件自动按 label 找)
- _save_form: 点保存 + 轮询 modal 关 (复用 e2e_r3.py 9 步)
- _get_form_id: 用 dacli token 反查 (复用 e2e_r3.py 11 步)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:12:32 +08:00 |
|
 sswandClaude
|
4b490d5a8b
|
fix(jnpf-browser-automation): 修正 root selector .form-generator → .jnpf-basic-generator
Code review CRITICAL: 原选择器在 JNPF 源码中不存在 (grep 0 hit),
正确选择器在 FormGenerator.vue:957 (root div class).
之前会导致所有 10 控件 inject 失败 → engine 整链路 abort.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:09:27 +08:00 |
|
 sswandClaude
|
a3995e3658
|
feat(jnpf-browser-automation): _inject_widgets (Vue reactive 注入 10 控件)
- GENITEM_TEMPLATES: 10 控件最小结构 (抄 web/.../componentMap.ts)
- _inject_widgets: 通过 Vue 3 __vueParentComponent.setupState.state.drawingList
1 次 evaluate 替代 30×10=300 次 mouse drag
- schema 字段 (options/format) 合并到 GenItem
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:04:48 +08:00 |
|
 sswandClaude
|
01a1996b8e
|
feat(jnpf-browser-automation): 复用 e2e_r3.py 1-4 步 login + create form
- _login_and_open_designer: 登录 + formDesigner + 新建/表单 → jnpf-full-modal
- _create_form_with_name: 填表名+编码+分类+数据连接 → 返回 form_name
- _fill_input_by_label: 辅助方法 (复用 e2e_r3.py 写法)
- _select_dropdown: 辅助方法 (复用 e2e_r3.py 写法)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 13:01:06 +08:00 |
|
 sswandClaude
|
d1a3765882
|
refactor(jnpf-browser-automation): 移除 _drag_count YAGNI (用 inject 不用 drag)
Code review Important #5: 累加偏移不再需要, 引擎已用 Vue reactive 注入
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 12:59:36 +08:00 |
|
 sswandClaude
|
a9b4ed4ac5
|
feat(jnpf-browser-automation): engine 骨架 + config 加载 + run_all 框架
- ControlEngine 类 + 8 步 run_all 框架
- _load_config 读 controls_config.json
- 9 placeholder 方法 (NotImplementedError)
- _drag_count 占位 (备用, 实际用 inject)
- assert len(controls) >= 10 允许扩展 (修 review M-5)
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 12:56:56 +08:00 |
|
 sswandClaude
|
120d07d889
|
fix(jnpf-browser-automation): guard USER_END_MAP 缺条目 — clear error msg
Code review I-1: prevent silent KeyError when adding 11th control.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 12:54:15 +08:00 |
|
ssw
|
4889c4a7ba
|
feat(jnpf-browser-automation): build_controls.py 注入模式 (10 控件 base)
|
2026-06-17 12:50:16 +08:00 |
|
 sswandClaude
|
c27c931d33
|
plan(jnpf-browser-automation): 修订 — 注入模式 (不调 AI 端点, Vue reactive)
重大修订 (用户关键 insight):
- Task 1: build_controls.py 不调 /api/visualdev/ai/form 端点
改为参考其结构 + 直接抄 componentMap.ts 写 10 控件最小结构
- Task 5: _inject_widgets() 用 Vue 3 reactive 改 generatorRef.setupState.state.drawingList
替代 30x10=300 次 mouse drag (1 次 evaluate 完成)
- Task 9: 取消 (options/format 已集成进 GenItem 通过 build_controls.py)
净效果: 跳过 ~5min 拖拽时间, 利用前端校验/序列化
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 12:47:47 +08:00 |
|
 sswandClaude
|
b3e1cfd7b7
|
plan(jnpf-browser-automation): 10 控件端到端扩展实现计划
16 个 task:
1. bootstrap_controls.py + AI 建表 base
2. 手工补完 controls_config.json
3. 引擎骨架 + config 加载
4. login + create form (复用 e2e_r3.py)
5. drag + 配字段 + jnpfKey 映射
6. columnList + save + form_id
7. release + mount (dacli subprocess)
8. user_end fill + assert 骨架
9. 控件特定 schema 配置 (select/date/cascader)
10. 8 种 fillMethod
11. e2e_r3_v2.py 入口
12. 端到端跑 + debug.html
13. 修盲点循环
14. SUMMARY_R10.md
15. SKILL.md 更新
16. key-discoveries selector 速查
预估 ~5h, 频繁 commit
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 12:36:35 +08:00 |
|
 sswandClaude
|
471bda8fa5
|
spec(jnpf-browser-automation): 10 控件端到端扩展设计 v1
- 选型 Top 10 基于 web 源码 componentMap.ts 39 控件
- 架构: 控件配置 JSON + 通用引擎 (e2e_r3_v2_engine.py)
- 失败处理: 收集所有失败, 不 abort
- dacli 加速 fallback 用于发布+挂菜单
- 测试数据按类型生成 (日期 today+1, 数字 100 等)
- 一次 form 含 10 字段, 跑 1 次端到端
- 预估 ~5h
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 12:21:36 +08:00 |
|
 sswandClaude
|
319bcdc703
|
skill(jnpf-browser-automation): 把 /tmp 依赖脚本复制到 skill 内部 (scripts/) 并替换路径引用
依赖文件 (e2e_r3.py / e2e_r3_data.py / regression_test.py) 从 /tmp/ 复制到
.claude/skills/jnpf-browser-automation/scripts/ 防止重启丢失.
更新 SKILL.md + references + examples 中所有路径:
- /tmp/e2e_r3.py → /home/ubuntu/ccWorkDir/.claude/skills/jnpf-browser-automation/scripts/e2e_r3.py
- /tmp/e2e_r3_data.py → scripts/e2e_r3_data.py
- /tmp/regression_test.py → scripts/regression_test.py
scripts/ 目录可执行, 可直接 python3 scripts/e2e_r3.py 运行.
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 06:36:39 +08:00 |
|
 sswandClaude
|
3029f7e2aa
|
skill: jnpf-browser-automation (Layer 1 浏览器兜底 + Layer 2 dacli 加速 + Layer 3 双层验证)
基于 2026-06-16 tdd r3 端到端 100% 浏览器跑通的经验, 建此 skill.
覆盖 7 个 jnpf 6.2.0 formDesigner 关键发现 (drag/press_sequentially/隐藏复选框/token 注入/反查 urlAddress/双入口/确 定按钮),
提供 8 步完整浏览器工作流 (e2e_r3.py) + 用户端数据添加 (e2e_r3_data.py) + 回归测试模板.
3 个 references:
- key-discoveries.md (315 行): 7 发现详解 + 源码追溯
- dual-validation.md (144 行): 实操 + 源码双层验证矩阵
- examples/regression-test.md (195 行): 5 个已知 form 回归测试
实测 5 个 form 回归: 3 PASS / 2 FAIL (dacliFix02 已删, dacliVerify3 老版本 columnList=0 暴露盲点).
Co-Authored-By: Claude <[email protected]>
|
2026-06-17 06:28:33 +08:00 |
|
ssw
|
53102cc5b1
|
v18: 6 进阶组件 helper + 5 working form 索引 写入 ssw-e2e-test/SKILL.md
SKILL.md 🎯 v17 JNPF 浏览器验证标准库 段更新:
- API 速查卡加 6 进阶 (v18+):
* fillDateRangeByLabel (区间日期)
* toggleSwitchByLabel (开关 on/off/toggle)
* selectRadioByLabel (radio group)
* checkCheckboxByLabel (checkbox group)
* selectTreeByLabel (treeSelect 按节点文字)
* uploadFileByLabel (文件上传)
- 验证记录: 4 spec 累计 16/22 PASS
- 组件覆盖: 12 类核心 (JNPF 39 中的 31%)
- 5 working form 索引表: mega form (243206fad) + 9 个组件测试 form
- 用法: crudOnForm() helper 加 try/catch 跳过不存在的字段, 探查用 page.evaluate 抽控件类型
后续 (v18+ 留):
- 装饰类 8 组件 (alert/button/card/divider/link/signature/tableGrid/billRule) 按需
- switch / cascader / timePicker / rate / slider / colorPicker / editor (helper 已写, 无 form)
|
2026-06-15 18:02:22 +08:00 |
|
ssw
|
54b3e01d13
|
v18: 6 进阶组件 helper Python 镜像 (form.py + __init__.py)
镜像 TS 版 6 新 helper:
- fillDateRangeByLabel (dateRange picker)
- toggleSwitchByLabel (开关 on/off/toggle, aria-checked 检测)
- selectRadioByLabel (radio group 按 index)
- checkCheckboxByLabel (checkbox group 按 index)
- selectTreeByLabel (treeSelect 按节点文字)
- uploadFileByLabel (file upload via set_input_files)
Python lib form.py: 147 → 280 行 (+133)
__init__.py: 40 → 46 行 (+6 exports)
typecheck 干净 (ast.parse OK)
|
2026-06-15 18:00:35 +08:00 |
|
ssw
|
a502419b8f
|
v17: JNPF 标准库用法写入相关技能 (标注仅 jnpf 平台有效)
ssw-e2e-test/SKILL.md (+191 行, 744 → 935):
- 新增 "⚠️ 平台专用声明" (顶部, 红字)
- 新增 "🎯 v17 JNPF 浏览器验证标准库" 段 (前置依赖后, playwright 模式前):
* 双语言实现: TS (dacli/tests/e2e/_helpers/) + Python (scripts/lib/)
* API 速查卡 (15 个核心 API 一图览)
* 端到端示例 (3 步 CRUD, 13 行 TS + 13 行 Python)
* 验证记录 (8/8 PASS in 42.5s + 42.8s)
* jnpf 6.2.0 关键契约 (selectors 常量摘要)
* JNPF 路由规则: 功能表单 /model/<enCode> vs 流程 workFlow/...
* 查 model/X 菜单 API 正确用法 (ModuleBySystem 不是 ModuleTree)
* 已废弃/将替换 清单
ssw-test.md (+18 行):
- "🎯 v17 JNPF 标准库" 段
- 强调仅 JNPF 平台有效
- 引用 ssw-e2e-test/SKILL.md 详细段
- 列核心 API 快速入口
ssw-h5dev-flow.md (阶段 5 E2E 测试行):
- 改推荐用 v17 标准库
- 标注仅 JNPF 平台有效
memory/jnpf-browser-verification-stdlib.md (上轮已加, 本轮不动)
后续 (留 v18+):
- 用 lib 重写 jnpf_browser_e2e.py 简化 (-50%)
- JNPF 浏览器验证标准库 (TS+Python) 持续补充
|
2026-06-15 16:06:41 +08:00 |
|
ssw
|
b791a109c7
|
v17: JNPF 浏览器验证标准库 Python 镜像 (ssw-e2e-test/scripts/lib/)
跟 dacli/tests/e2e/_helpers/ 一一对应 (TS 已 v17 提交), API 对齐:
- selectors.py: SEL/formItemByLabel/rowAction (147 行)
- wait.py: waitSpaReady/waitTableReady/waitFormModalReady/waitModalClose/waitRowCountChange
- nav.py: clickMenu/expandCategory (精确匹配 + SPA 路由触发)
- form.py: fillByLabel/selectByLabel/fillDateByLabel/fillTextareaByLabel/
fillNumberByLabel/saveModal/closeModal
- table.py: countRows/findRow/clickRowAction/getTotalText/getTotalCount/clickAdd
- modal.py: waitOpen/waitClose/getErrors/isOpen/getTitle
- __init__.py: 聚合导出, camelCase API 与 TS 版一致
Python 528 行, TS 800 行 (TS 多 ~50% 因为类型注解 + 显式 interface)
用法 (Python 脚本):
from lib import clickMenu, fillByLabel, saveModal, countRows, clickAdd
用法 (TypeScript spec):
import { clickMenu, fillByLabel, ... } from './_helpers'
后续 (留待 v18+):
- 用新库重写 jnpf_browser_e2e.py / jnpf_client.py (去重)
- ssw-e2e-test/SKILL.md 加 "标准库" 段 + 示例
|
2026-06-15 13:55:47 +08:00 |
|
ssw
|
fee91b6ccc
|
v16: 迁移 playwright-cli → playwright Node.js 包 + AI wrapper
playwright-cli (2026-06-15 @playwright/cli 废弃):
- init.js / init.sh 移除 @playwright/cli 安装+软链步骤
- npm install -g playwright (Node.js 包) 替代 @playwright/cli
- 本地 5 行 wrapper .claude/hooks/playwright-ai-cli.js 复刻 @playwright/cli
(用 playwright-core/lib/tools/cli-client/program 入口, 零额外依赖)
- /usr/local/bin/playwright → 软链到 wrapper
- 标准 test/codegen 走 npx playwright (npm bin 仍可用)
文档/命令:
- CLAUDE.md, ssw-test.md, ssw-h5dev-flow.md, ssw-e2e-test/SKILL.md,
troubleshooting, api-test 全部 playwright-cli → playwright
- auto-push-on-stop.sh JUNK_PATTERNS 加 .playwright/ 目录过滤
验证 (per 用户"注意验证有效性"):
- node init.js / bash init.sh 幂等通过 (再跑也 OK)
- playwright --version 返 1.60.0
- playwright -s=smoke open/snapshot/click/close 全部工作
- snapshot YAML 输出含 ref (e1/e2/e3), AI 可直接用
- 标准 CLI 仍可达: npx playwright --version
|
2026-06-15 11:56:39 +08:00 |
|
ssw
|
c9878c25ab
|
fix(skill): design-jnpf-execute SKILL.md 摘要协议与子代理 prompt 对齐 (5 BS ID)
Batch B spec review 发现的 1 处不一致: SKILL.md 摘要协议用 2 BS 简写,
subagent-prompts.md/dispatch-1form.md 用 5 BS 完整格式. 改为完整格式以保持一致.
|
2026-06-14 20:33:00 +08:00 |
|
ssw
|
b3e935ebc6
|
feat(ssw-h5dev-flow): 阶段 2.5 lint 关卡 + 阶段 4 dispatch 改写 (v0.9)
|
2026-06-14 20:30:43 +08:00 |
|
ssw
|
56052a7a2a
|
feat(ssw-h5dev-flow): plan.html 加已决事项段模板
|
2026-06-14 20:13:44 +08:00 |
|
ssw
|
550824e5b7
|
feat(skill): design-jnpf-execute 加批量 dispatch 模式章节
|
2026-06-14 20:12:28 +08:00 |
|
ssw
|
a141e976e0
|
feat(skill): dispatch-1form.md 可抄范例
|
2026-06-14 20:11:31 +08:00 |
|
ssw
|
0039490c03
|
feat(skill): anti-blindspots.md 5 必查表
|
2026-06-14 20:10:07 +08:00 |
|
ssw
|
579619bf15
|
feat(skill): subagent-prompts.md 模板
|
2026-06-14 20:09:29 +08:00 |
|
ssw
|
2aa0a04564
|
feat(skill): design-jnpf-execute 主 SKILL.md (调度器)
|
2026-06-14 20:08:09 +08:00 |
|
ssw
|
65817ae22c
|
auto(a17f98b34161): session end @ 2026-06-14T18:31:35 (+3f)
|
2026-06-14 18:31:35 +08:00 |
|
ssw
|
a742b7d65c
|
auto(a17f98b34161): session end @ 2026-06-14T17:37:11 (+20f)
|
2026-06-14 17:37:12 +08:00 |
|