ssw 080bd6bfbe fix(dacli): form create --ai 路径 searchList 漏 __config__ 包装 (BS-新60)
## 根因
dacli form create --ai / --table 路径下, buildSearchListEntry 函数只填顶层 21 个字段,
没补 __config__ 包装. 但 web 端 ListHeader/transform.ts:43 访问 data.__config__.jnpfKey 时
无防护, 触发 TypeError.

## 修复
buildSearchListEntry 函数返回值加 __config__ 包装 (与 buildColumnListEntry 对齐):
jnpfKey / tag / tagIcon / label / showLabel / visibility / tableName / formId 等

## 验证
- 1. dacli form create --ai 跑通
- 2. 提取 searchList[0] has __config__=True
- 3. 批量修复 14 个 dos form 的 searchList (SQL)
- 4. Playwright 实测: imageRepository/dataset/pipeline 0 错误
- 5. TC-C: PASS

## 盲点
BS-新60 (form create searchList __config__ 包装)
2026-07-06 20:21:32 +08:00
S
Description
dacli CLI — JNPF 平台 AI 驱动开发工具 (TS 版 v0.7)
3.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 99.4%
Shell 0.4%
Python 0.2%